Commit Graph

491 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
946ead6db3 Detect touchscreen with dt2w node 2019-12-01 17:07:01 +01:00
Pierre-Hugues Husson
b701c84f58 Allow treble_app to control /dev/input/eventX (useful to enable dt2w) 2019-12-01 17:06:37 +01:00
Pierre-Hugues Husson
07632a8291 Fix fingerprint on Honor View 10 2019-11-30 20:39:23 +01:00
Pierre-Hugues HUSSON
d7b17ebf53
Merge pull request #126 from redmi8a/android-10.0
Fix backlight on Redmi 8A (olivelite)
2019-11-21 07:35:50 +01:00
Milan Kragujević
bcd754334a
Fix backlight on Redmi 8A (olivelite) 2019-11-20 23:53:12 +01:00
lead4good
5201b0f2cb fix sound for redmi note 8 (ginko) 2019-11-18 22:25:57 +01:00
Pierre-Hugues Husson
562ee1f897 Tell pe gapps we are a phone 2019-11-11 23:29:51 +01:00
Pierre-Hugues Husson
2f33d5286e ugly: vndk somehow replaces vendor files if both exist. this is especially problematic on libstagefright_foundation (found on CAF and Exynos devices) 2019-11-07 22:46:16 +01:00
Pierre-Hugues Husson
1ba43f4ce5 Simplify matching for lenovo dt2w 2019-11-04 22:56:29 +01:00
Pierre-Hugues Husson
dcb6f64f42 Add support for Lenovo Z5 dt2w 2019-11-01 18:30:18 +01:00
Pierre-Hugues Husson
09f46d0192 Support Nokia 4.2 assistant button 2019-10-26 21:07:58 +02:00
Andy CrossGate Yan
3a32e685d1 Add privapp-permissions whitelist for PhhTrebleApp 2019-10-26 21:07:46 +02:00
Pierre-Hugues Husson
e4f8a3340f Ignore swizzle to fix crash on Oreo PowerVR devices 2019-10-22 15:26:22 +02:00
Pierre-Hugues Husson
cf6e53c1fe 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
2019-10-22 14:37:09 +02:00
Pierre-Hugues Husson
186e81291d trustkernel keymaster also requires whitelisted ro.product.brrand. This property has disappeared in Android 10, so set it for teed 2019-10-22 14:19:47 +02:00
Pierre-Hugues Husson
99926b69a9 Add support for pe gapps 2019-10-21 21:44:52 +02:00
Pierre-Hugues Husson
6d6083b754 Set TARGET_GAPPS_ARCH 2019-10-21 17:42:05 +02:00
Pierre-Hugues Husson
9549703b4a Add qemu.hw.mainkeys as vendor legal API 2019-10-20 22:49:45 +02:00
Pierre-Hugues Husson
99cdd37534 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
2019-10-20 21:51:32 +02:00
Pierre-Hugues Husson
2f8c5dca48 Give lmkd ptrace capability, to bypass hidepid (AOSP uses readproc group, but I cant because of A-only) 2019-10-16 15:52:59 +02:00
Pierre-Hugues Husson
82d65bd4c3 Add asus-motor, to be called from cameraserver to control ZF6 cam 2019-10-01 13:32:49 +02:00
Pierre-Hugues Husson
a1527b0b28 Don't include sas stuff on non-sas target 2019-09-26 22:24:54 +02:00
Pierre-Hugues Husson
fdf58ff7ed No longer needs hardcoded device, it is generated 2019-09-23 08:31:13 +02:00
Pierre-Hugues Husson
ab568ff772 Revert "Fix mediacodec selinux context AOSP regression"
This reverts commit 46d65aac9b.

This segfaults secilc/init on pretty much all devices
2019-09-18 10:18:17 +02:00
Pierre-Hugues Husson
84b33286ba No need to run apexd bootstrap in su policy, it is already expected to be started by init 2019-09-18 10:15:24 +02:00
Pierre-Hugues Husson
46d65aac9b Fix mediacodec selinux context AOSP regression 2019-09-16 23:15:03 +02:00
Pierre-Hugues Husson
312698d889 Copy O/O-MR1 behaviour of copying wpa/p2p supp config file 2019-09-16 17:41:30 +02:00
Pierre-Hugues Husson
3f66bf29ae Ignore device's /product partition on SaS 2019-09-15 13:26:27 +02:00
Pierre-Hugues Husson
db487d1446 [vndk 26] Read liblog.so from vndk (has additional symbols required on huawei) 2019-09-15 00:57:05 +02:00
Pierre-Hugues Husson
1e15460c80 Force ro.vndk.version 26 when we detect vndk 26 2019-09-15 00:56:40 +02:00
Pierre-Hugues Husson
120df2523a Fixed build for a-only (now called System-as-System) 2019-09-14 21:17:03 +02:00
Pierre-Hugues Husson
dae86834b2 Don't override LD_CONFIG_FILE (needed for apex with different config) 2019-09-13 22:32:12 +02:00
Pierre-Hugues Husson
85b94fec63 Load zygote file (we remove the one from ramdisk in secilc) 2019-09-13 22:30:46 +02:00
Pierre-Hugues Husson
5aa82fd371 New shiny thing broke adb again 2019-09-12 21:21:48 +02:00
Pierre-Hugues Husson
926096b97f (re)Add /bt_firmware. this is still required by 8.1 CAF devices like Razer Phone 2019-09-12 21:21:31 +02:00
Pierre-Hugues Husson
d3f427ccd3 Various a-only fixes:
Create apex folder
Create mnt/storage/full
Create /product symlink
Start apex
Override zygote
2019-09-12 20:58:32 +02:00
Pierre-Hugues Husson
2e4d8bcb0a Allow tee to access rpmb (denials seen on Moto E5 preventing keymaster from working) 2019-09-12 20:58:18 +02:00
Pierre-Hugues Husson
f7c23ba986 Set first_api_level, this helps disable bpf requirements 2019-09-12 20:57:42 +02:00
Pierre-Hugues Husson
cbc8d1e1af On samsung vndk >= 28 we want to force disable fingerprint weird behaviour 2019-09-12 20:57:30 +02:00
Pierre-Hugues Husson
0fff673bd3 also override 64b keymaster3device 2019-09-12 20:57:07 +02:00
Pierre-Hugues Husson
27df9cf112 Remove vndk 27 config file 2019-09-12 20:55:36 +02:00
Pierre-Hugues Husson
94cc413043 Use regenerated ld.config.26.txt (compared to automatically generated, authorize all vendor => vndk libs, and authorize vndk => runtime apex) 2019-09-12 20:49:27 +02:00
Pierre-Hugues Husson
d93868102c Stop setting LD_CONFIG_FILE, with apex, multiple config files might be used. Instead use bionic overload from ro.vndk.version 2019-09-12 20:47:53 +02:00
Pierre-Hugues Husson
a6aa52f7b1 [temp] hardcode init.treble-environ.rc (how does that new build system work?) 2019-09-12 20:46:25 +02:00
Pierre-Hugues Husson
ea6d0badb5 New products to derive from 2019-09-12 20:45:28 +02:00
Pierre-Hugues Husson
c0eab65abc Force binder32 2019-09-12 20:44:16 +02:00
Pierre-Hugues Husson
ef3212b963 [temp] Include treble_arm64_bvN adapted for Q 2019-09-09 01:16:15 +02:00
Pierre-Hugues Husson
1c31b0512a [temp] Set ueventd to permissive, needed to boot huawei, because it hits "unlabeled" file when trying to access some files in /firmware 2019-09-09 01:15:54 +02:00
Pierre-Hugues Husson
51ee6f155e fsck.exfat file context is now handled by aosp 2019-09-09 01:15:17 +02:00
Pierre-Hugues Husson
ebf0acec02 Allow building vndk tests 2019-09-09 01:14:29 +02:00