All servicemanagers are started in rootdir/init.rc's `on init`
trigger, so there's no need to start them manually in device specific
rc files.
Test: boot
Change-Id: Ibdea8d5289322aae49af50e325beb793936ea525
/sys/class/graphics/fb3
During the folding of init.mata.hdmi.sh into init.mata.rc, a few
ownership/permission changes were accidentally excluded, resulting in DP
Alt Mode breaking.
Add these changes back in to fix DP Alt Mode.
Change-Id: I48e265ab7b2f1ecd61a1d5c88e085e36dad34df1
some sysfs node may not be ready before boot_complete:
e.g. we are delaying bw_hwmon in favor of boot time
Bug: 80321544
Bug: 79536745
Test: Boot and check powerhint handling
Change-Id: I8d2cfa332d9cf9fbafdfa3f48ffff4105c6bcaae
* btaddr_extract cannot be used anymore since ro.boot.btmacaddr is not
writable by vendor domains. bluetooth_prop is off-limits to vendor
domains now.
* Have the Bluetooth HAL impl directly read
/persist/bluetooth/.bt_nv.bin itself and pull the MAC address out.
Change-Id: If4b2b99345eb470c140523906a56299ec5decc9a
* Get around the strict labeling of folder hierarchy under /data by
creating a symlink from /data/connectivity to
/data/vendor/connectivity, since cnd still requires use of the legacy
path.
Change-Id: I1bac663c0b55f034fb297f6cb72e6593dec042c2
* /sdcard is symlinked to /storage/self/primary now.
* /mnt/sdcard is symlinked to /storage/self/primary now.
Change-Id: Iaaec22204d883dda9f0e255b2d529b5c1a7f81a9
* The qcril database copy is already done unconditionally in the init
script. The rest of this script is not useful.
Change-Id: I9ec776654d1b9999c297c642a827d31f32f39e12
persist.vendor.usb.config stores the vendor specific functions that are
enabled in the target when ro.bootmode is set to usbradio through
the adb command. Since its a persistent property, the oem functions
are persisted once enabled. Alternatively, store the oem functions
in vendor.usb.config. vendor.usb.config is not persisted though.
vendor.usb.config will also reflect the enabled oem functions.
Configurations supported in this CL:
1. diag
2. diag,serial_cdev,rmnet_gsi
This would work irrespective of when ADB is not or not.
Bug: 74603740
Test: Made sure the QXDM recognized wahoo when adb is enabled/
disabled for diag and diag,serial_cdev,rmnet_gsi
Change-Id: Icbbe177e3f8958efc36f67692b9ec935b718fb03
(cherry-pick of commit: e9af4669659c306a9c9b1a1ae3a1313a7631357d)
Bug: 63669128
Test: Tested USB gadget configurations and verified
that they enumerated.
Change-Id: If0f98697488f6c7cfe335d4c292acebaaba6c20f
PowerHAL (started in class hal) will try to reset nodes to their initial values,
however the node permission is granted only upon boot_complete which leads some
permission log spam. This CL is to address the logspam.
Test: boot and do powerhint
Bug: 62041945
Change-Id: I35ad8dfe23f35c829f50479ca951445afeb46b87
These are directories used by the system so they should be created by
the system.
Test: treehugger
Change-Id: Ie0473d53a3ffd476faeb2dcb08497c0554b3b172
thermal-engine serves the IThermal 1.1 HAL. Start as class "hal" to
re-register with hwservicemanager if hwservicemanager dies.
Bug: 69174182
Test: manual: kill hwservicemanager, check for Ithermal 1.1 in lshal
Change-Id: I8418a177eca992c20b86ed7ed53699d897c79cef
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.
Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: Idc995c550657feca5e0f934444a31805bc3538f9
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.
Change-Id: I519603b13978567b51dbb2bcb866aa088a1646e4
Treble compliance.
Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets
Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup params.
Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.
Bug: 34980020
Test: Use wifi and wifi tethering on Taimen
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
ag/3332074 broke the Pixel Logger funtionality for wifi.
The Logger needs the write permission for /data/vendor/wifi/cnss_diag.
so, parent directory needs to set the execute permission for other group.
Test: manual test with Pixel Logger
Bug: 70228425
Change-Id: I75819f0b0bf4ed376d5d87f33af2e1693c864db8
Signed-off-by: Ecco Park <eccopark@google.com>