Commit Graph

15 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
6845890690 Try to fix a race condition where init.svc could /not/ be restarting at the time of checking 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
3de6f6aaf6 Fix minijail issue on pie vendors 2020-10-24 01:54:42 +02:00
Pierre-Hugues Husson
02c9b63356 Fix mediacodec on vndk-27
Since android-10.0.0_r37, mediacodec seccomp policy now has two
includes. In AOSP 8.1, minijail is vendor-side.
AOSP 8.1's minijail has a bug, which can't read multiple includes.
All of this together means mediacodec is broken.

This fixes it by overriding vendor's minijail to a working one, in the
hope that vendors didn't change anything in their own minijail

https://issuetracker.google.com/issues/158068181
2020-10-24 01:54:39 +02:00
Tim Bortnik
4216fa3275 disable-storageproxyd 2020-10-24 01:54:33 +02:00
Pierre-Hugues Husson
930e14013b Fix media.swcodec on a-only devices
On a-only, if init reads system/etc/init/mediaswcodec-treble.rc before
apex is available, init will see the /apex/...mediaswcodec file isn't
there and will ignore the process.
Kick-start media.swcodec service on boot when apex is ready
2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
e722b85858 Copy O/O-MR1 behaviour of copying wpa/p2p supp config file 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
e2e1e60953 Restart Samsung fingerprint HAL on boot 2019-08-14 23:36:04 +02:00
Pierre-Hugues Husson
9d438701da Restart Samsung lights HAL late in the boot process.
Lights HAL doesn't work on Snapdragon Samsun S10 series for an unknown
reason when started too early, and we don't control its start time.

So just restart it later.
2019-08-10 13:16:40 +02:00
Pierre-Hugues Husson
4293be815c Mark successful boot before the 30s sleep 2019-08-10 13:15:53 +02:00
Pierre-Hugues Husson
5574bc3d91 shellcheck 2019-03-04 21:54:48 +01:00
Pierre-Hugues Husson
c03cb0fad4 Also check pie path for android.hardware.boot hal 2019-03-04 21:47:25 +01:00
Pierre-Hugues Husson
30e7c4af92 Fix FDE + MTK RIL fix 2018-08-29 20:36:21 +02:00
Pierre-Hugues Husson
95622e6a7b Fix MTK RIL by disablimg IMS and EPDG
This isn't ideal from a user point-of-view because the device will
reboot on first boot.

Thanks a lot @Dinolek !
2018-08-28 14:53:16 +02:00
Pierre-Hugues Husson
b038cf4143 Some devices declare boot hal, but doesn't have it. Put bootctl at the end until I get a better fix 2018-08-27 10:24:23 +02:00
Pierre-Hugues Husson
aea19262a0 Rename service-claner to phh-on-boot and move bootctl mark-boot-successful to phh-on-boot and add a conditional start 2018-07-18 23:48:33 +02:00