[-]
[+]
|
Changed |
_service:tar_git:droid-config-cheeseburger.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://github.com/sailfishos-oneplus5/droid-config-cheeseburger.git</param>
<param name="branch">master</param>
- <param name="revision">91f721ed8036d38e07d54aa06ef18d33a450e8d3</param>
+ <param name="revision">7e428d014980c6ceca083c62e5684246b0855f70</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/droid-configs-device/sparse/lib/systemd/system/adbd-prepare.service
^
|
@@ -1,17 +0,0 @@
-# Copyright (C) 2013 Jolla Oy
-#
-# Prepare functionfs for adbd
-
-[Unit]
-Description=functionfs setup for adbd
-
-[Service]
-Type=notify
-RemainAfterExit=yes
-ExecStart=/usr/sbin/adbd-functionfs.sh
-ExecStopPost=/bin/umount adb
-ExecStopPost=/bin/umount adb
-
-[Install]
-WantedBy=graphical.target
-
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/droid-configs-device/sparse/lib/systemd/system/adbd.service
^
|
@@ -1,10 +0,0 @@
-[Unit]
-Description=Android Debug Bridge Daemon
-Requires=adbd-prepare.service
-After=adbd-prepare.service
-PartOf=adbd-prepare.service
-
-[Service]
-Environment=PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
-ExecStart=/sbin/adbd
-Restart=always
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/droid-configs-device/sparse/usr/sbin/adbd-functionfs.sh
^
|
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-mkdir -p /dev/usb-ffs
-chmod 0770 /dev/usb-ffs
-chown shell:shell /dev/usb-ffs
-mkdir -p /dev/usb-ffs/adb
-chmod 0770 /dev/usb-ffs/adb
-chown shell:shell /dev/usb-ffs/adb
-/bin/mount -t functionfs adb /dev/usb-ffs/adb -o uid=shell,gid=shell
-exit 0
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/dconf/db/vendor.d/lipstick-configs-cheeseburger.txt
^
|
@@ -1,4 +0,0 @@
-[lipstick/screen/primary]
-physicalDotsPerInch=401
-width=1080
-height=1920
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/gps.conf
^
|
-(symlink to /vendor/etc/gps.conf)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/izat.conf
^
|
-(symlink to /vendor/etc/izat.conf)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/lowi.conf
^
|
-(symlink to /vendor/etc/lowi.conf)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/powerhint.xml
^
|
-(symlink to /vendor/etc/powerhint.xml)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/pulse/arm_droid_card_custom.pa
^
|
@@ -1 +0,0 @@
-load-module module-droid-card rate=48000
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/sap.conf
^
|
-(symlink to /vendor/etc/sap.conf)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/sec_config
^
|
-(symlink to /vendor/etc/sec_config)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/systemd/system/mount-sd@sda2.service
^
|
-(symlink to /dev/null)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/systemd/system/mount-sd@sda3.service
^
|
-(symlink to /dev/null)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/systemd/system/mount-sd@sdf6.service
^
|
-(symlink to /dev/null)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/systemd/system/sys-fs-pstore.mount
^
|
-(symlink to /dev/null)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/thermal-engine.conf
^
|
-(symlink to /vendor/etc/thermal-engine.conf)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/xtra_root_cert.pem
^
|
-(symlink to /vendor/etc/xtra_root_cert.pem)
|
[-]
[+]
|
Deleted |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/etc/xtwifi.conf
^
|
-(symlink to /vendor/etc/xtwifi.conf)
|
|
Changed |
_service:tar_git:droid-config-cheeseburger-1.1.1.tar.bz2/sparse/var/tmp/make-droid-links
^
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/delete_file.list
^
|
@@ -0,0 +1,16 @@
+/etc/audio_platform_info.xml
+/etc/gps.conf
+/etc/izat.conf
+/etc/lowi.conf
+/etc/media_codecs.xml
+/etc/media_codecs_ffmpeg.xml
+/etc/media_codecs_google_audio.xml
+/etc/media_codecs_google_telephony.xml
+/etc/media_codecs_google_video.xml
+/etc/media_codecs_performance.xml
+/etc/media_profiles.xml
+/etc/mixer_paths.xml
+/etc/sap.conf
+/etc/sec_config
+/etc/xtra_root_cert.pem
+/etc/xtwifi.conf
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/patterns/jolla-configuration-cheeseburger.yaml
^
|
@@ -1,5 +1,47 @@
-Description: Dummy pattern to keep scripts happy
+Description: Pattern with packages for cheeseburger configurations
Name: jolla-configuration-cheeseburger
Requires:
-- dummy-package
-Summary: Jolla Dummy Configuration cheeseburger
\ No newline at end of file
+- pattern:jolla-hw-adaptation-cheeseburger
+
+- patterns-sailfish-applications
+- patterns-sailfish-ui
+- patterns-sailfish-cellular-apps
+- sailfish-content-graphics-z@ICON_RES@
+
+# Extended settings functionality
+- jolla-settings-system-nfc
+- jolla-settings-system-flashlight
+- jolla-settings-networking-multisim
+- jolla-settings-accounts-extensions-3rd-party-all
+
+# Introduced starting Sailfish OS 2.1.1.26
+# Required for Jolla Store Access
+- patterns-sailfish-consumer-generic
+
+# For Mozilla location services (online)
+- geoclue-provider-mlsdb
+
+# Sailfish OS CSD tool for hardware testing
+# needs some configuration to get all features working
+- csd
+
+# Devices with 2G or more memory should also include this booster
+# to improve camera startup times and the like
+- mapplauncherd-booster-silica-qt5-media
+
+# Enable device lock and allow to select untrusted software
+- jolla-devicelock-daemon-encsfa
+
+# Enable /home encryption
+#- sailfish-device-encryption
+
+# SELinux
+#- libselinux-utils
+#- libselinux-utils-extra
+#- setools
+#- policycoreutils
+
+# Early stages of porting benefit from these:
+#- pattern:sailfish-porter-tools
+
+Summary: Jolla Configuration cheeseburger
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/patterns/jolla-hw-adaptation-cheeseburger.yaml
^
|
@@ -1,5 +1,85 @@
-Description: Dummy pattern to keep scripts happy
+Description: Pattern with packages for cheeseburger HW Adaptation
Name: jolla-hw-adaptation-cheeseburger
Requires:
-- dummy-package
-Summary: Jolla Dummy HW Adaptation cheeseburger
\ No newline at end of file
+- droid-hal-cheeseburger
+- droid-hal-cheeseburger-detritus
+- droid-hal-cheeseburger-img-boot
+#- droid-hal-cheeseburger-img-recovery
+- droid-hal-cheeseburger-kernel-modules
+- droid-config-cheeseburger-sailfish
+- droid-config-cheeseburger-pulseaudio-settings
+- droid-config-cheeseburger-policy-settings
+- droid-config-cheeseburger-preinit-plugin
+- droid-config-cheeseburger-flashing
+- droid-config-cheeseburger-bluez5
+- droid-hal-version-cheeseburger
+
+# Hybris packages
+- libhybris-libEGL
+- libhybris-libGLESv2
+- libhybris-libwayland-egl
+
+# Telephony
+- ofono-ril-binder-plugin
+
+# Cellular data
+- dummy_netd
+
+# Bluetooth
+- bluebinder
+
+# NFC
+- nfcd-binder-plugin
+
+# Sensors
+- hybris-libsensorfw-qt5
+
+# Vibra
+- ngfd-plugin-native-vibrator
+- qt5-feedback-haptics-native-vibrator
+
+# Needed for /dev/touchscreen symlink
+- qt5-plugin-generic-evdev
+
+# Audio
+- pulseaudio-modules-droid
+- pulseaudio-modules-droid-hidl
+# for audio recording to work:
+- qt5-qtmultimedia-plugin-mediaservice-gstmediacapture
+
+# Camera
+- audioflingerglue
+
+# These need to be per-device due to differing backends (fbdev, eglfs, hwc, ..?)
+- qt5-qtwayland-wayland_egl
+- qt5-qpa-hwcomposer-plugin
+- qtscenegraph-adaptation
+
+# Add GStreamer v1.0 as standard
+- gstreamer1.0
+- gstreamer1.0-droid
+- gstreamer1.0-libav
+- gstreamer1.0-plugins-good
+- gstreamer1.0-plugins-base
+- gstreamer1.0-plugins-bad
+- nemo-gstreamer1.0-interfaces
+
+# This is needed for notification LEDs
+- mce-plugin-libhybris
+
+# USB mode controller
+- usb-moded
+
+# hammerhead, grouper, and maguro use this in scripts, so include for all
+- rfkill
+
+# For GPS
+- geoclue-provider-hybris
+
+# OnePlus 5 specific packages
+- triambienced
+- onyx-triambience-settings-plugin
+- gestured
+- onyx-gesture-settings-plugin
+
+Summary: Jolla HW Adaptation cheeseburger
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/etc/mce/90-display-gestures.conf
^
|
@@ -3,7 +3,7 @@
#
# Double tap & swipe
-/system/osso/dsm/powerkey/actions_gesture4=vibrate,unblank
+/system/osso/dsm/powerkey/actions_gesture4=unblank
/system/osso/dsm/powerkey/actions_gesture5=vibrate,dbus5
# Arrows (^, V, <, >)
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/etc/ofono/ril_subscription.conf
^
|
@@ -1,33 +1,58 @@
-# Jolla RIL driver configuration file for OnePlus 5
-# ref: https://tinyurl.com/yxwlz7bx
+#
+# Jolla RIL driver configuration for OnePlus 5
+# - ref: https://tinyurl.com/yxwlz7bx -
+#
-# Global config
+# Global
[Settings]
#EmptyConfig=false
-emptyPinQuery=true
-radioPowerCycle=false
-confirmRadioPowerOn=false
-uiccWorkaround=false
-allowDataReq=on
-dataCallRetryDelay=333
-startTimeout=10000
-#dataCallFormat=11
-#useDataProfiles=false
-#ecclistFile=/var/lib/ofono/ril.ecclist
+#Identity=radio:radio
# Dual-SIM
-SetRadioCapability=off
#3GLTEHandover=true
#ForceGsmForNonDataSlots=true
+#SetRadioCapability=auto
# SIM 1
[ril_0]
transport=binder:name=slot1
+#sub=SUB1
name=slot1
-sub=SUB1
+#slot=0
+#timeout=0
+#technologies=all
+#uiccWorkaround=true
+ecclistFile=/run/ofono/ril.ecclist
+#allowDataReq=auto
+#emptyPinQuery=true
+#dataCallFormat=auto
+#dataCallRetryLimit=4
+#dataCallRetryDelay=200
+#remoteHangupReasons=20
+#localHangupReasons=23
+#enableVoicecall=true
+#enableCellBroadcast=true
+#enableSimToolkit=true
+#startTimeout=20000
+#legacyImeiQuery=false
+#lteNetworkMode=9
+#networkModeTimeout=20000
+radioPowerCycle=false
+confirmRadioPowerOn=false
+#singleDataContext=false
+#networkSelectionManual0=true
+useDataProfiles=true
+#mmsDataProfileId=2
+#deviceStateTracking=auto
+#forceGsmWhenRadioOff=true
# SIM 2
[ril_1]
transport=binder:name=slot2
+#sub=SUB2
name=slot2
-sub=SUB2
+#slot=1
+ecclistFile=/run/ofono/ril.ecclist1
+radioPowerCycle=false
+confirmRadioPowerOn=false
+useDataProfiles=true
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/etc/oneshot.d/0/hostname-custom
^
|
+(symlink to /usr/lib/oneshot.d/hostname-custom)
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/etc/profile.d/devel-su-sudo-alias.sh
^
|
@@ -0,0 +1,4 @@
+# Add convenience 'sudo' alias for 'devel-su' if sudo command isn't found
+if [[ $- = *i* && ! -x `command -v sudo` ]]; then
+ alias sudo="devel-su"
+fi
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/etc/profile.d/less-custom-setup.sh
^
|
@@ -0,0 +1,16 @@
+if [[ $- = *i* && -x `command -v less` ]]; then
+ # colors init
+ export LESS_TERMCAP_mb=$(printf '\e[01;31m') # enter blinking mode - red
+ export LESS_TERMCAP_md=$(printf '\e[01;35m') # enter double-bright mode - bold, magenta
+ export LESS_TERMCAP_me=$(printf '\e[0m') # turn off all appearance modes (mb, md, so, us)
+ export LESS_TERMCAP_se=$(printf '\e[0m') # leave standout mode
+ export LESS_TERMCAP_so=$(printf '\e[01;33m') # enter standout mode - yellow
+ export LESS_TERMCAP_ue=$(printf '\e[0m') # leave underline mode
+ export LESS_TERMCAP_us=$(printf '\e[04;36m') # enter underline mode - cyan
+
+ # stop using 'more' :)
+ export PAGER=less
+
+ # fixup 'systemctl' command colors & output formatting
+ alias systemctl="PAGER= systemctl"
+fi
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/etc/systemd/system/graphical.target.wants/dummy_netd.service
^
|
+(symlink to /lib/systemd/system/dummy_netd.service)
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/etc/udev/rules.d/80-udisks2.rules
^
|
@@ -0,0 +1,180 @@
+# This file contains udev rules for udisks 2.x
+#
+# Overrides system installed (/lib) rules to avoid processing internal /dev/sd[a-f] block devices as external
+#
+
+# ------------------------------------------------------------------------
+# Probing
+# ------------------------------------------------------------------------
+
+# Skip probing if not a block device or if requested by other rules
+#
+SUBSYSTEM!="block", GOTO="udisks_probe_end"
+ENV{DM_MULTIPATH_DEVICE_PATH}=="1", GOTO="udisks_probe_end"
+ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="?*", GOTO="udisks_probe_end"
+
+# MD-RAID (aka Linux Software RAID) members
+#
+# TODO: file bug against mdadm(8) to have --export-prefix option that can be used with e.g. UDISKS_MD_MEMBER
+#
+SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="raid", ENV{ID_FS_TYPE}=="linux_raid_member", ENV{UDISKS_MD_MEMBER_LEVEL}=="", IMPORT{program}="/bin/sh -c '/sbin/mdadm --examine --export $tempnode | /bin/sed s/^MD_/UDISKS_MD_MEMBER_/g'"
+
+SUBSYSTEM=="block", KERNEL=="md*", ENV{DEVTYPE}!="partition", IMPORT{program}="/bin/sh -c '/sbin/mdadm --detail --export $tempnode | /bin/sed s/^MD_/UDISKS_MD_/g'"
+
+LABEL="udisks_probe_end"
+
+# ------------------------------------------------------------------------
+# Tag floppy drives since they need special care
+
+# PC floppy drives
+#
+KERNEL=="fd*", ENV{ID_DRIVE_FLOPPY}="1"
+
+# USB floppy drives
+#
+SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="08", ATTRS{bInterfaceSubClass}=="04", ENV{ID_DRIVE_FLOPPY}="1"
+
+# ATA Zip drives
+#
+ENV{ID_VENDOR}=="*IOMEGA*", ENV{ID_MODEL}=="*ZIP*", ENV{ID_DRIVE_FLOPPY_ZIP}="1"
+
+# TODO: figure out if the drive supports SD and SDHC and what the current
+# kind of media is - right now we just assume SD
+KERNEL=="mmcblk[0-9]", SUBSYSTEMS=="mmc", ENV{DEVTYPE}=="disk", ENV{ID_DRIVE_FLASH_SD}="1", ENV{ID_DRIVE_MEDIA_FLASH_SD}="1"
+
+# Match sda1 to mmcblk1 both of DEVTYPE==disk and SUBSYSTEM=="block"
+KERNEL=="mmcblk*|sd[g-z][0-9]", SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", ENV{ID_DRIVE_FLASH_SD}="1", ENV{ID_DRIVE_MEDIA_FLASH_SD}="1"
+KERNEL=="mmcblk*|sd[g-z][0-9]", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", ACTION=="add", MODE="0660", TAG+="systemd", ENV{SYSTEMD_WANTS}="mount-sd@%k.service"
+
+# ditto for memstick
+KERNEL=="msblk[0-9]|mspblk[0-9]", SUBSYSTEMS=="memstick", ENV{DEVTYPE}=="disk", ENV{ID_DRIVE_FLASH_MS}="1", ENV{ID_DRIVE_MEDIA_FLASH_MS}="1"
+
+# TODO: maybe automatically convert udisks1 properties to udisks2 ones?
+# (e.g. UDISKS_PRESENTATION_HIDE -> UDISKS_IGNORE)
+
+# ------------------------------------------------------------------------
+# ------------------------------------------------------------------------
+# ------------------------------------------------------------------------
+# Whitelist for tagging drives with the property media type.
+# TODO: figure out where to store this database
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0248", ENV{ID_INSTANCE}=="0:0", ENV{ID_DRIVE_FLASH_CF}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0248", ENV{ID_INSTANCE}=="0:1", ENV{ID_DRIVE_FLASH_MS}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0248", ENV{ID_INSTANCE}=="0:2", ENV{ID_DRIVE_FLASH_SM}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0248", ENV{ID_INSTANCE}=="0:3", ENV{ID_DRIVE_FLASH_SD}="1"
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INSTANCE}=="0:0", ENV{ID_DRIVE_FLASH_CF}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INSTANCE}=="0:1", ENV{ID_DRIVE_FLASH_SM}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INSTANCE}=="0:2", ENV{ID_DRIVE_FLASH_SD}="1"
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INSTANCE}=="0:3", ENV{ID_DRIVE_FLASH_MS}="1"
+
+# APPLE SD Card Reader (MacbookPro5,4)
+#
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="8403", ENV{ID_DRIVE_FLASH_SD}="1"
+
+# Realtek card readers
+DRIVERS=="rts_pstor", ENV{ID_DRIVE_FLASH_SD}="1"
+DRIVERS=="rts5229", ENV{ID_DRIVE_FLASH_SD}="1"
+
+# Lexar Dual Slot USB 3.0 Reader Professional
+SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="05dc",ENV{ID_MODEL_ID}=="b049", ENV{ID_INSTANCE}=="0:0", ENV{ID_DRIVE_FLASH_CF}="1"
+SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="05dc",ENV{ID_MODEL_ID}=="b049", ENV{ID_INSTANCE}=="0:1", ENV{ID_DRIVE_FLASH_SD}="1"
+
+# Transcend USB 3.0 Multi-Card Reader (TS-RDF8K)
+SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="8564",ENV{ID_MODEL_ID}=="4000", ENV{ID_INSTANCE}=="0:0", ENV{ID_DRIVE_FLASH_CF}="1"
+SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="8564",ENV{ID_MODEL_ID}=="4000", ENV{ID_INSTANCE}=="0:1", ENV{ID_DRIVE_FLASH_SD}="1"
+SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="8564",ENV{ID_MODEL_ID}=="4000", ENV{ID_INSTANCE}=="0:2", ENV{ID_DRIVE_FLASH_MS}="1"
+
+# Common theme
+#
+SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*Reader*SD*", ENV{ID_DRIVE_FLASH_SD}="1"
+SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*CF_Reader*", ENV{ID_DRIVE_FLASH_CF}="1"
+SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*SM_Reader*", ENV{ID_DRIVE_FLASH_SM}="1"
+SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*MS_Reader*", ENV{ID_DRIVE_FLASH_MS}="1"
+
+# USB stick / thumb drives
+#
+SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="*Kingston*", ENV{ID_MODEL}=="*DataTraveler*", ENV{ID_DRIVE_THUMB}="1"
+SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="*SanDisk*", ENV{ID_MODEL}=="*Cruzer*", ENV{ID_CDROM}!="1", ENV{ID_DRIVE_THUMB}="1"
+SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="*v125w*", ENV{ID_DRIVE_THUMB}="1"
+SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="13fe", ENV{ID_MODEL}=="*Patriot*", ENV{ID_DRIVE_THUMB}="1"
+SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="*JetFlash*", ENV{ID_MODEL}=="*Transcend*", ENV{ID_DRIVE_THUMB}="1"
+
+# SD-Card reader in Chromebook Pixel
+SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="05e3", ENV{ID_MODEL_ID}=="0727", ENV{ID_DRIVE_FLASH_SD}="1"
+
+# ------------------------------------------------------------------------
+# ------------------------------------------------------------------------
+# ------------------------------------------------------------------------
+# Devices which should not be display in the user interface
+#
+# (note that RAID/LVM members are not normally shown in an user
+# interface so setting UDISKS_IGNORE at first does not seem to achieve
+# anything. However it helps for RAID/LVM members that are encrypted
+# using LUKS. See bug #51439.)
+
+# Apple Bootstrap partitions
+ENV{ID_PART_ENTRY_SCHEME}=="mac", ENV{ID_PART_ENTRY_TYPE}=="Apple_Bootstrap", ENV{UDISKS_IGNORE}="1"
+
+# Apple Boot partitions
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_TYPE}=="426f6f74-0000-11aa-aa11-00306543ecac", ENV{UDISKS_IGNORE}="1"
+
+# special DOS partition types (EFI, hidden, etc.) and RAID/LVM
+# see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
+ENV{ID_PART_ENTRY_SCHEME}=="dos", \
+ ENV{ID_PART_ENTRY_TYPE}=="0x0|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x8e|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef|0xfd", \
+ ENV{UDISKS_IGNORE}="1"
+
+# special GUID-identified partition types (EFI System Partition, BIOS Boot partition, RAID/LVM)
+# see http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", \
+ ENV{ID_PART_ENTRY_TYPE}=="c12a7328-f81f-11d2-ba4b-00a0c93ec93b|21686148-6449-6e6f-744e-656564454649|a19d880f-05fc-4d3b-a006-743f0f84911e|e6d6d379-f507-44c2-a23c-238f2a3df928|e3c9e316-0b5c-4db8-817d-f92df00215ae|de94bba4-06d1-4d40-a16a-bfd50179d6ac", \
+ ENV{UDISKS_IGNORE}="1"
+
+# ZFS member partitions
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", \
+ ENV{ID_FS_TYPE}=="zfs_member", ENV{ID_PART_ENTRY_TYPE}=="6a898cc3-1dd2-11b2-99a6-080020736631", \
+ ENV{UDISKS_IGNORE}="1"
+
+# MAC recovery/tool partitions/devices which are useless on Linux
+ENV{ID_PART_ENTRY_SCHEME}=="mac", \
+ ENV{ID_CDROM}=="?*", ENV{ID_FS_TYPE}=="udf", ENV{ID_FS_LABEL}=="WD*SmartWare", \
+ ENV{UDISKS_IGNORE}="1"
+ENV{ID_PART_TABLE_TYPE}=="mac", \
+ ENV{ID_CDROM}=="?*", ENV{ID_FS_TYPE}=="udf", ENV{ID_FS_LABEL}=="WD*SmartWare", \
+ ENV{UDISKS_IGNORE}="1"
+
+# recovery partitions
+ENV{ID_FS_TYPE}=="ntfs|vfat", \
+ ENV{ID_FS_LABEL}=="Recovery|RECOVERY|Lenovo_Recovery|HP_RECOVERY|Recovery_Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002|SYSTEM_RESERVED|System_Reserved|WINRE_DRV|DIAGS|IntelRST", \
+ ENV{UDISKS_IGNORE}="1"
+
+# read-only non-Linux software installer partitions
+ENV{ID_VENDOR}=="Sony", ENV{ID_MODEL}=="PRS*Launcher", ENV{UDISKS_IGNORE}="1"
+
+# non-Linux software
+KERNEL=="sr*", ENV{ID_VENDOR}=="SanDisk", ENV{ID_MODEL}=="Cruzer", ENV{ID_FS_LABEL}=="U3_System", ENV{UDISKS_IGNORE}="1"
+
+# Virtual Windows tools installation on Asus Zendisk (0b05:17b4)
+KERNEL=="sr*", ENV{ID_VENDOR}=="ASMT",ENV{ID_MODEL}=="VirtualCDROM", ENV{ID_FS_LABEL}=="ASUS_+Speed_ZENDISK*", ENV{UDISKS_IGNORE}="1"
+
+# Virtual Windows tools installation CD on Nokia 7 Plus (2e04:c025)
+KERNEL=="sr*", ENV{ID_VENDOR}=="Linux", ENV{ID_MODEL}=="File-CD_Gadget*", ENV{ID_FS_LABEL}=="CDROM*", ATTRS{manufacturer}=="HMD Global", ENV{UDISKS_IGNORE}="1"
+
+# Content created using isohybrid (typically used on CDs and USB
+# sticks for bootable media) is a bit special insofar that the
+# interesting content is on a DOS partition with type 0x00* ... which
+# is hidden above. So undo this.
+#
+# See http://mjg59.dreamwidth.org/11285.html for more details
+#
+# *) This is true only for 64bit images. For 32bit images the type is 0x17
+# (Hidden HPFS/NTFS/exFAT). This is most likely a bug but we still need to
+# stop ignoring these.
+ENV{ID_PART_TABLE_TYPE}=="dos", ENV{ID_PART_ENTRY_TYPE}=="0x0|0x17", ENV{ID_PART_ENTRY_NUMBER}=="1", ENV{ID_FS_TYPE}=="iso9660|udf", ENV{UDISKS_IGNORE}="0"
+
+# Zram devices setup
+# KERNEL=="zram[0-9]", ENV{SYSTEMD_WANTS}="zram-setup@zram%n.service", TAG+="systemd"
+
+# Explicitly ignore ram block devices, they don't work with udev
+KERNEL=="ram*", ENV{UDISKS_IGNORE}="1"
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/usr/bin/droid/startup-misc.sh
^
|
@@ -1,16 +1,14 @@
#!/bin/env bash
# startup-misc - A miscellaneous preparation script to run on device startup.
-# Enable backlight for physical buttons
-echo 1 > /sys/class/leds/button-backlight/brightness
-
# We're done here if this isn't the first boot
-[ ! -f /var/tmp/make-droid-links ] && exit 0
+[ -f /var/tmp/made-droid-links ] && exit 0
# Android Storage linking
m_path="/data/media"
[ -d "$m_path/0" ] && m_path+="/0"
+# TODO: Start symlinking in Pictures/Android, Music/Android, ...
rm -f /home/nemo/android_storage /sdcard
ln -s $m_path /home/nemo/android_storage
ln -s $m_path /sdcard
@@ -20,4 +18,4 @@
gpasswd -a nemo systemd-journal
# Done
-rm /var/tmp/make-droid-links
+touch /var/tmp/made-droid-links
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/usr/lib/oneshot.d/hostname-custom
^
|
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+if [ ! -f /etc/hostname ]; then
+ hostnamectl set-hostname `ssu-sysinfo --pretty-name | cut -d'(' -f1 | xargs`
+fi
|
[-]
[+]
|
Added |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/usr/libexec/droid-hybris/system/etc/init/ofono-ril-ecclists.rc
^
|
@@ -0,0 +1,12 @@
+on post-fs
+ # Create directory for ofono ecc files
+ mkdir /run/ofono 0755 root root
+
+# Ofono tracks these files to sync emergency numbers with the modem
+on property:ril.ecclist=*
+ write /run/ofono/ril.ecclist ${ril.ecclist}
+ chmod 0644 /run/ofono/ril.ecclist
+
+on property:ril.ecclist1=*
+ write /run/ofono/ril.ecclist1 ${ril.ecclist1}
+ chmod 0644 /run/ofono/ril.ecclist1
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-cheeseburger-1.4.0.tar.bz2/sparse/usr/share/csd/settings.d/hw-settings.ini
^
|
@@ -59,3 +59,6 @@
RecordBottomDevice=input-builtin_mic
RecordTopDeviceChannel=left
RecordBottomDeviceChannel=right
+
+[Keys]
+Keys=0x01000072, 0x01000070, 0x010000dc, 0x01000090, 0x01000061
|
[-]
[+]
|
Changed |
_service:tar_git:jolla-configuration-cheeseburger.inc
^
|
@@ -1,9 +1,6 @@
-Requires: jolla-hw-adaptation-%{device}
-
Requires: patterns-sailfish-applications
Requires: patterns-sailfish-ui
Requires: patterns-sailfish-cellular-apps
-
Requires: sailfish-content-graphics-z1.75
# Extended settings functionality
@@ -29,7 +26,6 @@
# Enable device lock and allow to select untrusted software
Requires: jolla-devicelock-daemon-encsfa
-#Requires: jolla-devicelock-plugin-encsfa
# Enable /home encryption
#Requires: sailfish-device-encryption
@@ -42,20 +38,15 @@
# Early stages of porting benefit from these:
# On the basis of sailfish-porter-tools
-Requires: jolla-developer-mode
-Requires: sailfishsilica-qt5-demos
-Requires: busybox-static
-Requires: net-tools
-Requires: openssh-clients
-Requires: openssh-server
-Requires: vim-enhanced
-Requires: zypper
-Requires: strace
+#Requires: jolla-developer-mode
+#Requires: sailfishsilica-qt5-demos
+#Requires: busybox-static
+#Requires: net-tools
+#Requires: openssh-clients
+#Requires: openssh-server
+#Requires: vim-enhanced
+#Requires: zypper
+#Requires: strace
#Requires: jolla-rnd-device
#Requires: libhybris-tests
# End sailfish-porter-tools
-
-# Miscellaneous packages
-Requires: htop
-#Requires: mce-tools
-#Requires: nano
|
[-]
[+]
|
Changed |
_service:tar_git:jolla-hw-adaptation-cheeseburger.inc
^
|
@@ -20,6 +20,9 @@
# Telephony
Requires: ofono-ril-binder-plugin
+# Cellular data
+Requires: dummy_netd
+
# Bluetooth
Requires: bluebinder
@@ -62,8 +65,7 @@
# This is needed for notification LEDs
Requires: mce-plugin-libhybris
-## USB mode controller
-# Enables mode selector upon plugging USB cable:
+# USB mode controller
Requires: usb-moded
# hammerhead, grouper, and maguro use this in scripts, so include for all
|