Commit graph

650 commits

Author SHA1 Message Date
D. Andrei Măceș
4607ce8930 flo: init: I/O tweaks
Change-Id: I455547d746b53683eac26241541b65d904404bad
(cherry picked from commit 9bcda749ff2ff9bdef0bf36300574ec6e4ea857f)
2020-11-27 14:48:18 +01:00
Daniel Jarai
0d55c22a77 flo: Fix thermald permission issues
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>
2020-11-27 14:48:18 +01:00
voron00
5a24b10bb6 flo: rootdir: Remove 'critical' field from charger
This is no longer needed as charger runs in system group now.

Change-Id: I1e668463701787f21875e77a64f1fe7a9142ec4d
2020-11-27 14:48:18 +01:00
Subbaraman Narayanamurthy
2f5af1ae59 flo: rootdir: Add CAP_SYS_BOOT for charger
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.

Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
2020-11-27 14:48:18 +01:00
Subbaraman Narayanamurthy
c6bf03468e flo: rootdir: Change user/group permission for charger
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
2020-11-27 14:48:18 +01:00
Sandeep Patil
1c37d2073e flo: rootdir: Use /charger symlink to launch healthd
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>
2020-11-27 14:48:18 +01:00
Daniel Jarai
c80f709c57 flo: rootdir: Disable suspend/resume debugging
Change-Id: I1fbc0d33de44a675de3b204905c07c6d89224012
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2020-11-27 14:48:18 +01:00
Devin Kim
7954d4debe flo: Fix the modem crash on encryption phone
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>
2020-11-27 14:48:18 +01:00
followmsi
e6bad90ca6 deb: Fix for LiveDisplay 2020-09-23 16:54:48 +02:00
followmsi
6a171701d7 deb: manifest.xml: Add camera.provider
- Android 10 QPR1 (Dec 2019) changed way of detecting camera
 - Camera will be checked in manifest.xml now

 - 26c7997dea
2020-01-08 21:19:30 +01:00
Michael W
329fcd9e21 deb: Disable NearbyMessagingService
Change-Id: Ib3f923bf8742bf6480d278fb21a873ddc1290484
2019-11-11 11:07:07 +01:00
followmsi
59d845578d deb: fix usb 2019-10-12 20:05:34 +02:00
followmsi
af21961e8e deb: fix DRM
- remove drm service and make it passthrough
2019-10-11 14:12:46 +02:00
followmsi
45c64e837b deb: Device Manifest Uprev Wifi HAL
Change-Id: I485c82f85e3ec840011f0e94be28fce6ceaa19f5
2019-10-11 00:33:22 +02:00
followmsi
c9f0d6871f deb: Add supplicant 1.2 to init.deb.rc
Change-Id: I5d7e93b15ca2f77a9f94bbbc8730aa24632c70a3
2019-10-10 22:24:41 +02:00
followmsi
7f2fa5aebf Revert "deb: switch to BOARD_ROOT_EXTRA_SYMLINKS"
This reverts commit 9a613be48a.
2019-10-10 22:12:14 +02:00
followmsi
9a613be48a deb: switch to BOARD_ROOT_EXTRA_SYMLINKS
bea7346621
2019-10-09 22:24:30 +02:00
followmsi
a07c882d29 deb: manifest.xml: remove android.hardware.cas
95f2b09088%5E%21/
2019-10-09 22:24:15 +02:00
followmsi
d9904d3e15 deb: setup first_stage_mount 2019-10-09 22:24:00 +02:00
followmsi
8df0d295da deb: remove LOCAL_MODULE_TAGS := eng 2019-10-09 21:16:42 +02:00
ripee
9882335121 deb: sepolicy: fix build 2019-02-20 16:44:57 +01:00
followmsi
bb15176916 deb: do not set swappiness 2019-02-14 14:11:13 +01:00
dianlujitao
a13033dff8 deb: Rename bt props for new HAL
Change-Id: I1afd110bffed0f43b1afcbef99be8a3776d24e0b
2019-02-06 20:10:15 +01:00
followmsi
f4304d7532 Revert "Revert "Revert "deb: overlay valid network modes"""
This reverts commit eae9cfe24b.
2019-02-06 11:54:09 +01:00
followmsi
eae9cfe24b Revert "Revert "deb: overlay valid network modes""
This reverts commit e5e3011d2e.
2019-02-04 18:46:25 +01:00
followmsi
b05d80d628 Revert "Revert "deb: Enforce RRO on framework-res""
This reverts commit 7fa902a176.
2019-01-27 15:32:05 +01:00
followmsi
c7112fff15 Revert "deb: move to lineage overlays"
This reverts commit b9d8fb402c.
2019-01-27 15:31:15 +01:00
followmsi
7fa902a176 Revert "deb: Enforce RRO on framework-res"
This reverts commit 5c988f432e.
2019-01-23 23:10:12 +01:00
followmsi
9e1b2b4479 deb: rebrand lineage 2019-01-23 15:26:52 +01:00
followmsi
b2cb555bd8 deb: update manifest.xml 2019-01-22 14:27:14 +01:00
Den Kondakov
3c33d48202 init: remove qcom_oncrpc and qcom_diag
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
2019-01-22 11:18:33 +01:00
Paul Keith
28dc9996ee deb: Reorder tetherable connection types
* 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
2019-01-22 11:10:36 +01:00
followmsi
e5e3011d2e Revert "deb: overlay valid network modes"
This reverts commit 5537bd7dbd.
2019-01-22 10:40:58 +01:00
followmsi
c2f07b1653 deb: remove duplicate overlay 2019-01-22 10:09:09 +01:00
followmsi
687243bf48 deb: move to vendor 2019-01-20 20:35:39 +01:00
followmsi
bb3e5d2ebe deb: Use RIL CAF 2019-01-20 17:55:31 +01:00
followmsi
b9d8fb402c deb: move to lineage overlays 2019-01-20 14:47:29 +01:00
LuK1337
f107f335b3 Overlay: SystemUI: Fix too big spacing between QS icons in landscape on sw600dp
Change-Id: I047453c169854636d9e179d4678b94c7724bb854
2019-01-20 13:44:28 +01:00
followmsi
4aad347130 deb: Add seclabel for BT 2019-01-20 13:44:28 +01:00
Adrian DC
d4771911db init: Resolve kernel trace_marker permissions on post-fs
* 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
2019-01-20 13:44:28 +01:00
Roshan Pius
deef472fe9 flo: Don't start supplicant with interfaces
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
2019-01-20 13:44:28 +01:00
Roshan Pius
bdef362ec8 flo: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2019-01-20 13:44:28 +01:00
Roshan Pius
47d1ae8481 flo: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2019-01-20 13:44:28 +01:00
Jeff Vander Stoep
845ab602ee flo: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2019-01-20 13:44:28 +01:00
Jeff Vander Stoep
be654ac25f flo: wifi_supplicant: deprecate entropy.bin
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
2019-01-20 13:44:28 +01:00
Etan Cohen
6ec4ddf229 flo: Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2019-01-20 13:44:28 +01:00
JP Abgrall
f250cde609 Remove journaling from read-only FS to save space
The read-only partitions don't need journaling.

Bug: 18430740
Change-Id: I93303aae534f02c6ae412323c9ebb0c0b7b35290
2019-01-20 13:44:28 +01:00
Caio Schnepper
810879c2ad Releasetools: resize system partition after flashing
We need an enlarged system partition to fit even minimal gapps.
Flash a stock sized partition and resize to the actual partition
size before restoring gapps.

Change-Id: Id6d0d89fab5249f8e6b7eae9c1dd365f0357afed
2019-01-20 13:44:28 +01:00
followmsi
11c97888a0 flo: enable swipe up gesture's opt-in setting 2019-01-20 13:44:28 +01:00
Lucas Dupin
f94cba3170 flo: Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
2019-01-20 13:44:28 +01:00