The owner of /sys/class/leds/lcd-backlight/brightness is system.
Since thermald runs as root, and this node has 644 perms, writing it
generates a dac_override denial. Changing the perms to 664 fixes the
issue.
Change-Id: Ic7a3bc583c2e52c5799ef536c4b9ea07a921e54b
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Make charger binary run as system instead of root. Since it
needs to handle input key events, add input as a supplemental
group in addition to system and graphics.
Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1
Makes this consistent with other targets and maken sure
any changes in healthd will be transparent to targets as long
as the symlink is maintained.
Update the seclabel accordingly too.
Test: Tested charge-only mode
Change-Id: Ic71e32f52c39bc45eae8d2552259695934592fc7
Signed-off-by: Sandeep Patil <sspatil@google.com>
There is an efs sync problem because of class type of rmt_storage service.
When encrypting phone, modem crash may occur due to not being able to sync
properly between AP and CP. So, rmt_storage class should be a core class.
Bug: 11325693
Change-Id: Ic51c3ab363b2de664c268b2ba0216b81e76189dc
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
- flo/deb: keep separate config for each device.
- flo: builds are crashing too now - we need to increase system anyway !
- flo: extented space in system image from 840MB (stock) to 900MB
- deb: increase from 870MB to 900MB
Based on dmesg:
init: /init.duma.rc: 267: Unable to decode GID for 'qcom_oncrpc': getpwnam failed: No such file or directory
init: /init.duma.rc: 384: Unable to decode GID for 'qcom_diag': getpwnam failed: No such file or directory
* In O, the default setting for mobile data always active was
changed from off to on, meaning that when non-WiFi tethering
is being attempted, more than one connection can be active
* Since the first active connection type in this overlay is used,
reorder the values to get WiFi connections first, and then
any type of mobile data connection, instead of vice versa
Change-Id: I69389af8e34601406c31aa9413a02569993cc1ec
* The permissions were not set to 222 instead of 220,
thus introducing regular logs from libcutils:
"cutils-trace: Error opening trace file: Permission denied (13)"
* Refers to frameworks/native/cmds/atrace/atrace.rc
Change-Id: I236ea25d2f2068f9f86a43492807f5f05e92da96
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 flo
Change-Id: Iaa2a8a42e4e3fd941c5be0f8fa691245cdb429e9