Commit graph

692 commits

Author SHA1 Message Date
Bruno Martins
c05de566d0 deb: Set shipping API level in the common product makefile
It's not meant to be set as a board config flag. Simply do it by
inheriting the makefile that now also exists for devices launched
with Jelly Bean.

Change-Id: I2ca1f9d207be90c58495b3e20c5e2275e09b18bc
2020-12-21 17:30:56 +01:00
Bruno Martins
17318f7ad5 deb: Define shipping FCM version in the manifest
Shipping API level less than 26 corresponds to legacy FCM version.

This addresses the following build warning:

   Warning: Shipping FCM Version is inferred from Shipping API level. Declare Shipping FCM Version in device manifest directly.

Change-Id: Ib230c345ff7deb552597824838b8809ceefbbe8a
2020-12-21 17:24:00 +01:00
Arian
09400aba0d deb: Build new aidl qti power HAL
Change-Id: I4bdea354e54d34d0dfe9b811e228fc6f8762d2ed
2020-12-21 17:23:40 +01:00
dianlujitao
d30c7aee42 deb: Switch to binderized QTI power HAL
Change-Id: I82e8386c2f3f02f408f5ac374e6f1c486b94bb29
2020-12-21 17:23:09 +01:00
surblazer
961e42ec98 deb: Binderize Lights HAL
Change-Id: I35f9a4711cb96f03314f621b8675b1da0ba99f5c
2020-12-21 17:20:28 +01:00
Daniel Jarai
b778e03d8d deb: Move QCamera sockets from /data to /dev/socket/qcamera
Change-Id: I0241f6e0a3f56f0bbe34bb44997596d074efcec9
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2020-12-21 17:19:48 +01:00
Daniel Jarai
b752ac282f deb: sensors: Move sensor sockets from /data to /dev/socket/sensors
Change-Id: I0e238d10cbaf7f9560f1993f03a8c9cc6c7e1195
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2020-12-21 17:19:21 +01:00
Daniel Jarai
f4506c20ef deb: sensors: Run the sensor daemon as 'system' user/group instead of 'root'
This allows us to get rid of the dac_override SELinux rules, by applying
proper permissions to the files managed by the daemon. While at it, also
Treble-ized the location of said files.

Change-Id: I344b4c80412af0b22dc35da234ef3c9f88983761
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2020-12-21 17:18:54 +01:00
followmsi
7940a322c1 deb: overlays: Set "config_voice_capable" to true.
- Fix Mobile Network settings crash
2020-12-16 09:57:38 +01:00
Quallenauge
f3c463d006 deb: wifi: Disable WPA2 -> WPA3 upgrade.
Our device doesn't simply support sae.

Change-Id: Ibf8b9e363b4677cf2ab9590cc2ea1ba2341e29ca
2020-12-15 11:59:15 +01:00
followmsi
9a688f2cc4 deb: overlays: Drop GPS config
Moved to CarrierConfig
2020-12-14 15:41:53 +01:00
Arne Coucheron
3c68e50604 deb: Remove config_enabled_lte overlay
This is true by default.

Change-Id: Id6e26d857adb9f7c4c46415afab6f62fd0c95a2c
2020-12-14 14:49:25 +01:00
Arne Coucheron
34c7c6d5b4 deb: overlay: Remove config_show4GForLTE
This has been moved to CarrierConfig

Change-Id: Id8057505f5e00612d87e9bc036bbf5e7d7dbc4ad
2020-12-14 13:11:37 +01:00
followmsi
016d3c69d0 Revert "deb: init: Launch QMUXD process as root user"
This reverts commit b2fd97587a.
2020-12-14 10:47:06 +01:00
followmsi
76c8ed8049 Revert "deb: init: create service ril-daemon"
This reverts commit 21bdee0fdf.
2020-12-14 10:45:35 +01:00
followmsi
0491dcf39e deb: overlays: Add Pinner Service 2020-12-14 10:43:48 +01:00
followmsi
7b4d85fafb deb: overlays: Add missing strings 2020-12-14 10:43:34 +01:00
Arne Coucheron
9904fe6714 deb: overlay: Set config_use16BitTaskSnapshotPixelFormat to true
Change-Id: I203c6f54953744e1af67e5b37a72b5b095eabb65
2020-12-13 16:10:49 +01:00
Arne Coucheron
c41809adea deb: overlay: Set config_avoidGfxAccel to true
Change-Id: I2ba7cadeb83d7da5ee0ce24e68fd9da14f81ff1c
2020-12-13 16:10:38 +01:00
D. Andrei Măceș
d86f40d8a6 deb: init: Bring back /data/misc/location/gpsone_d
The entire /data/misc/location is gone with Pie, and our GPS HALs
(specifically, libloc_eng) need to write in there.

Change-Id: Ic5462b21b1098604f29de0baeabdfac9abaa58fa
Signed-off-by: D. Andrei Măceș <andrei@unlegacy-android.org>
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2020-12-11 09:17:53 +01:00
Alessandro Astone
d8c2496e9a deb: gps: Make use of gps_debug.conf to set xtra servers
* Just bind mount gps.conf to gps_debug.conf
   We can't directly build gps_debug.conf because it's a common target
   and we're not allowed to override targets anymore.

Change-Id: Ia3c96665b50b0fe478e44186d1c65be723acbf5a
2020-12-11 09:15:08 +01:00
sudokamikaze
722374962e deb: Update *.mapper service to create compatibility with 64-Bit binder
Change-Id: I6c305a06b7d643f4f1ee39473abb56eeb10737e5
Signed-off-by: sudokamikaze <sudokamikaze@protonmail.com>
2020-12-10 17:49:03 +01:00
followmsi
23c56cdb7c deb: Switch to graphics.composer@2.1-service
- graphics.composer@2.1-impl has been removed in Dec 2020 updates
2020-12-10 17:48:41 +01:00
followmsi
a6c6592622 deb: overlay: Add wifi_p2p to networkAttributes 2020-12-07 11:34:07 +01:00
followmsi
2a21cd3d98 deb: overlay: Move ALL wifi related overlays to new location 2020-12-07 10:15:51 +01:00
Arne Coucheron
85c467976b deb: rootdir: Start camera server from early boot
Solves random issue with camera orientation and flash not
being detected during boot.

Change-Id: I90db0064a1ca3cbeac89c1ab80c6f87038b40a4f
2020-12-06 22:56:27 +01:00
Anonymous
3904aed3c8 deb: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I50ba8396529fe37fd8724a3ad4f5830f4244b9a3
Signed-off-by: Felix <google@ix5.org>
2020-12-06 22:51:23 +01:00
Roshan Pius
bfde4fc1f7 deb: overlay: Move wifi related overlays to new location
Change-Id: I747d0242422b753f4e3007ce6c4bf7f124c52c5e
2020-12-06 22:50:16 +01:00
Jimmy Chen
cd7fcdf8f9 deb: overlay: Add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6
2020-12-06 22:49:51 +01:00
Roshan Pius
32a81b6dca deb: overlay: Change wifi tether regex
The wifi interface names for wifi can either be wlan0 or wlan1.
Change the "config_tether_wifi_regexs" appropriately.

Bug: 80375412
Test: Ensured we display "Hotspot on" in settings when softap is started
on either wlan0 or wlan1.

Change-Id: I0c456412f9b71ef2ee784f3bfa58b01b9287ca73
2020-12-06 22:49:31 +01:00
Jimmy Chen
cdd5835362 deb: wifi: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-12-06 22:46:54 +01:00
followmsi
d540023d19 deb: Move librils to vendor 2020-12-01 17:20:53 +01:00
sqian
650eb8359a deb: Enable radio service 1.1
Test: compile; adb shell compiled_vts_binary
Bug: 38499208
Change-Id: I55d6384e88c1839d04be00dab0345ae5a365ab42
2020-12-01 13:31:13 +01:00
followmsi
b34d71d030 deb: Add Mobile props 2020-12-01 13:31:06 +01:00
LuK1337
7e86140ab5 flo: overlay: Disable BPF offload for tethering
* Such is life with 3.4 kernels.

Change-Id: I1c5e3fab63271b1e3fe6c814d96edbde782f27e8
2020-11-30 13:56:32 +01:00
Arne Coucheron
571ff61e97 deb: overlay: Move tethering overlays
Config overlay values moved from frameworks_base core to
frameworks_base packages/Tethering

https://github.com/LineageOS/android_frameworks_base/blob/lineage-18.0/packages/Tethering/res/values/config.xml

Change-Id: Ia5a8056d6334cd78e79853c0ada4e8873a9669e0
2020-11-30 13:56:00 +01:00
Wang Han
01dc2642a6 deb: Remove config_tether_upstream_types overlay
* No need for it now as framework side handles this well on P

Change-Id: I708663f3de23cf1677a81bf31e8fc5fed4145e1b
2020-11-30 13:50:58 +01:00
followmsi
c51c137a5a deb: manifest.xml: Add NFC 2020-11-28 11:26:29 +01:00
Arne Coucheron
a5f5f27cba deb: Disable serial console notification
Google added a check for this prop in R, and if it's running
it will show a notification about it that it's impacting performance.
Why it's not disabled by default I don't know, so just force disable
it here.

Change-Id: Ia06ef15388e7e701ed526664e7748f133ad01ee2
2020-11-28 10:26:54 +01:00
Bruno Martins
bbb23e99f9 deb: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Ief74f8b2aa861b0d16ffab9b52304006008d2444
2020-11-27 19:01:32 +01:00
followmsi
19090c7fdb deb: Update device manifest.xml 2020-11-27 19:01:26 +01:00
followmsi
8b3fe73184 deb: clean up 2020-11-27 19:00:38 +01:00
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