Commit Graph

718 Commits

Author SHA1 Message Date
followmsi cd6b682ceb deb: Revert: Mount firmware partition as radio_efs_file 2021-12-27 14:58:06 +01:00
followmsi 4b373797d6 Revert "deb: Run kickstart_checker.sh as root"
This reverts commit dec1ccdae6.
2021-12-27 14:48:30 +01:00
Wei Wang e4acd20640 deb: Accelerate boot by paralleling device enable
Some QCOM devices require sysfs to trigger boot/init which are blocking
the init process.
[    7.453205] init: Command 'write /sys/kernel/boot_adsp/boot 1' action=post-fs-data (/init.angler.rc:166) returned 0 took 271.936ms.
This CL is to put those slow to start devices in a
separate service and wait for the service to be done later on.

Bug: 32712851
Test: On device
Change-Id: Idd4e965f122cbc8421b443a41573d363112dfa50
2021-12-27 14:46:07 +01:00
Artem Borisov 954380829c deb: Enable early boot animation start
* Split our fstab into two stages: early and late mount.
 * Start bootanimation and graphics before /data and /cache mounting

Change-Id: I42f8bb460db80e86616c92b11752242c086b4aec
2021-12-27 14:38:03 +01:00
followmsi 65c24ff652 deb: Use vendor.rild.libpath
9994e96c7d
2021-12-06 13:47:03 +01:00
followmsi dec1ccdae6 deb: Run kickstart_checker.sh as root 2021-12-06 13:46:47 +01:00
followmsi 6e0bc948a0 deb: Finally move init files to vendor 2021-12-02 16:30:52 +01:00
followmsi b0d199d672 deb: Use sys.io.scheduler for 12
Take logic from lineage-iosched.rc

As "prebuilt/common/etc/init/lineage-iosched.rc" has been removed
be135083d6
2021-12-02 16:09:27 +01:00
followmsi caa894cd9a deb: Build radio packages 2021-11-30 16:49:33 +01:00
followmsi 080c2fd2e7 Revert "Revert "deb: Build new aidl qti power HAL""
This reverts commit 57b92106af.
2021-11-30 16:37:08 +01:00
followmsi a9dc228854 Revert "Revert "deb: Switch to binderized QTI power HAL""
This reverts commit 388e9abac0.
2021-11-30 16:36:59 +01:00
followmsi 35324d0a89 deb: Binderize Audio
Switch to version 6
2021-11-26 23:14:34 +01:00
followmsi 5d168aed46 deb: overlay: Update pinner list
Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.
2021-11-26 23:13:57 +01:00
followmsi 388e9abac0 Revert "deb: Switch to binderized QTI power HAL"
This reverts commit d30c7aee42.
2021-11-25 13:32:14 +01:00
followmsi 57b92106af Revert "deb: Build new aidl qti power HAL"
This reverts commit 09400aba0d.
2021-11-25 13:32:14 +01:00
followmsi 0edf15d99d deb: Use keymaster@4.0 2021-11-25 13:32:14 +01:00
followmsi 213771544a deb: overlay: Move Tethering overlays for Android 12 2021-11-25 13:32:14 +01:00
followmsi d1c37474bd deb: overlay: Move WiFi overlays for Android 12 2021-11-25 13:32:14 +01:00
followmsi 736a3d8f1c deb: Copy ueventd.flo.rc to /vendor/etc 2021-11-25 13:32:14 +01:00
shivatejapeddi e5825ea8dc deb: Set BPF support level
This allows a legacy device launched with Android (pre-)O and running
a pre-4.9-P+ kernel to declare itself as not eBPF capable.
2021-11-25 13:32:14 +01:00
elektroschmock 563c21771d deb: fstab: Mount persist with noatime flag
If the noatime flag isn't set the atime information is updated on
every read access. This is bad for performance and flash lifetime.

Change-Id: I9d1a64e1a876dd239fc4593c2d7ffa75790f3a6a
2021-11-24 17:07:19 +01:00
Arne Coucheron 6f2e38f76d deb: rootdir: Start camera server in early_hal class
Starting it in early-boot unfortunately made it not load when
device was encrypted.

Change-Id: I62ab18927d5c9522bc70c4221a89f0489feb9f03
2021-11-24 17:07:19 +01:00
Nolen Johnson 091a6e3d57 deb: Switch to CFQ
Change-Id: If2aeb088a70605268c4c83a8892b7a7d1b430e9e
2021-11-24 17:07:19 +01:00
Nolen Johnson 7f790c0bb3 deb: Enable swap on vendor fstab
Change-Id: I4dbaa273a21889d6a60cd2b0de84c56daba9c4c6
2021-11-24 17:07:19 +01:00
Nolen Johnson bc1d0ffd83 deb: Enable and uze ZRAM
Change-Id: Idd94fe045ee7b0a631dcc174bf3e4ad1f19fe62f
2021-11-24 17:07:19 +01:00
Kevin F. Haggerty 9b7d17b388 deb: Don't let builds complete without vendor tree
* There is zero reason to ever build without blobs. We've even seen
  this situation with official builds from our servers. It's always
  better for a build to fail than it is for it to produce something
  that has no chance at working.

Change-Id: I4968795670c91f691e9ecdc0e4af62e16ba3a93a
2021-11-24 17:07:00 +01:00
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