Commit Graph

577 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
f6900c679a Tell pe gapps we are a phone 2020-10-24 01:53:29 +02:00
Pierre-Hugues Husson
6a1bccc72b Simplify matching for lenovo dt2w 2020-10-24 01:53:24 +02:00
Pierre-Hugues Husson
551e1b0397 Add support for Lenovo Z5 dt2w 2020-10-24 01:53:24 +02:00
Andy CrossGate Yan
cbce8b2c2b Add privapp-permissions whitelist for PhhTrebleApp 2020-10-24 01:53:22 +02:00
Pierre-Hugues Husson
eeb6d035a9 Ignore swizzle to fix crash on Oreo PowerVR devices 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
fec86428d8 Revert "Add qemu.hw.mainkeys as vendor legal API"
This reverts commit 9549703b4a.

Some vendors already declare this property as u:object_r:qemu_hw_mainkeys_prop:s0, so this commit prevents booting those
2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
b2612a092e trustkernel keymaster also requires whitelisted ro.product.brrand. This property has disappeared in Android 10, so set it for teed 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
03ff840d7e Add support for pe gapps 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
394b829b2d Set TARGET_GAPPS_ARCH 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
b60efa57a3 Add qemu.hw.mainkeys as vendor legal API 2020-10-24 01:53:21 +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
a773b78ce5 Give lmkd ptrace capability, to bypass hidepid (AOSP uses readproc group, but I cant because of A-only) 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
c1a8456084 Add asus-motor, to be called from cameraserver to control ZF6 cam 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
4ae39bd367 Don't include sas stuff on non-sas target 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
74895b6ba4 No longer needs hardcoded device, it is generated 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
53776369f6 Revert "Fix mediacodec selinux context AOSP regression"
This reverts commit 46d65aac9b.

This segfaults secilc/init on pretty much all devices
2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
19c345be36 No need to run apexd bootstrap in su policy, it is already expected to be started by init 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
a249c6a154 Fix mediacodec selinux context AOSP regression 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
e07f822501 Ignore device's /product partition on SaS 2020-10-24 01:53:21 +02:00
Pierre-Hugues Husson
e2d7e29a8a [vndk 26] Read liblog.so from vndk (has additional symbols required on huawei) 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
a6a1f7c1f5 Force ro.vndk.version 26 when we detect vndk 26 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
be34ac239b Fixed build for a-only (now called System-as-System) 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
4e6384e759 Don't override LD_CONFIG_FILE (needed for apex with different config) 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
33e03a825d Load zygote file (we remove the one from ramdisk in secilc) 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
887849be62 New shiny thing broke adb again 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
81d8ff3c0b (re)Add /bt_firmware. this is still required by 8.1 CAF devices like Razer Phone 2020-10-24 01:53:20 +02:00
Pierre-Hugues Husson
9c0a38e65b Various a-only fixes:
Create apex folder
Create mnt/storage/full
Create /product symlink
Start apex
Override zygote
2020-10-24 01:53:13 +02:00
Pierre-Hugues Husson
8243e75282 Allow tee to access rpmb (denials seen on Moto E5 preventing keymaster from working) 2020-10-24 01:53:13 +02:00
Pierre-Hugues Husson
86aa7e3ab8 also override 64b keymaster3device 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
f51f4eb544 Remove vndk 27 config file 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
1344e7c21a Use regenerated ld.config.26.txt (compared to automatically generated, authorize all vendor => vndk libs, and authorize vndk => runtime apex) 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
489481fa6a Stop setting LD_CONFIG_FILE, with apex, multiple config files might be used. Instead use bionic overload from ro.vndk.version 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
708ecb47da [temp] hardcode init.treble-environ.rc (how does that new build system work?) 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
2e6d68e128 New products to derive from 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
300cbd1128 Force binder32 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
7a3a5d2740 [temp] Include treble_arm64_bvN adapted for Q 2020-10-24 01:53:07 +02:00
Pierre-Hugues Husson
df54dd1335 [temp] Set ueventd to permissive, needed to boot huawei, because it hits "unlabeled" file when trying to access some files in /firmware 2020-10-24 01:53:06 +02:00
Pierre-Hugues Husson
d28f36e873 fsck.exfat file context is now handled by aosp 2020-10-24 01:53:01 +02:00
Pierre-Hugues Husson
40e3ee55ad Allow building vndk tests 2020-10-24 01:53:01 +02:00
Pierre-Hugues Husson
cbb68ec897 Android 10 by default thinks the device cant have a lockscreen... 2020-10-24 01:53:01 +02:00
Pierre-Hugues Husson
016781fa98 tmpfs domain is no longer created by the macro 2020-10-24 01:52:50 +02:00
Pierre-Hugues Husson
db164b3c0d Additional lib to be edited to boot keymaster 2020-10-24 01:52:50 +02:00
Pierre-Hugues Husson
2a6a0882dd Add mediatek proc_ged (else it boots but no graphics) 2020-10-24 01:52:50 +02:00
Pierre-Hugues HUSSON
09e6efa628
Merge pull request #185 from ponces/android-9.0
Fix exynos grep command to apply setprop correctly
2020-05-14 12:45:44 +02:00
Alberto Ponces
aca15ba77f Simplify the exynos grep command even further and remove some whitespace 2020-05-14 11:43:00 +01:00
Alberto Ponces
d5b3121548 Fix exynos grep command to apply setprop correctly 2020-05-13 17:59:21 +01:00
Pierre-Hugues HUSSON
7e2b58bf3c
Merge pull request #139 from cheah/fix-xiaomi-dt2w
[Pie] [xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W
2020-03-26 09:46:20 +01:00
Michael Cheah
58dd99657a
[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W 2020-03-26 09:51:58 +08:00
Pierre-Hugues HUSSON
ce67941ebf
Merge pull request #151 from jumper047/patch-1
[Android 9][Begonia] Fix brightness and fingerprint on Redmi Note 8 Pro
2020-02-21 16:38:04 +01:00