Myst33d
32bf4d0a61
Fix camera for cactus and cereus
2020-10-24 01:53:52 +02:00
Myst33d
92ff02de07
Fix distorted sound for cactus and cereus
2020-10-24 01:53:52 +02:00
Peter Cai
19951443b3
rw-system: disable hardware acceleration in system_server for SPRD devices
...
* For some reason, the OpenGL implementation on SPRD devices causes
crashes in system_server on glFinish() due to double-free of mutexes.
It is not the same case with the MTK skia compatibility bug, because
this one produces no GL errors, only the final mutex-related crash.
* This crash is only observed in system_server by far. In other
hardware-accelerated applications, after a lot of tinkering, I could
not reproduce the same problem. (Even if they somehow do crash, it
won't bring the entire system down like `system_server`.)
* Since all SPRD devices do not have "high-end gfx", it is reasonable
to set this `ro.config.avoid_gfx_accel` flag. This will disable the
use of hardware gfx in system_server, avoiding the crash. Most SPRD
devices comes with Android Go by default, which has this flag set
(implied by `ro.config.low_ram`) anyway.
* All devices having the `sprd-adf` module is an SPRD device launched
with Android 9 or earlier. ADF is deprecated in Android 10 or higher.
2020-10-24 01:53:49 +02:00
Michael Cheah
2bf9b4a6ee
Set persist.sys.phh.radio.use_old_mnc_format for polaris and whyred
2020-10-24 01:53:49 +02:00
Victor Bo
74ac1adfe1
rw-system: set latch_unsignaled for 'daisy' too
...
modified: rw-system.sh
2020-10-24 01:53:46 +02:00
Peter Cai
e19cd78899
fix adf display devices on Spreadtrum devices for Android 10
...
* Somehow, when running GSI 10, Spreadtrum's adf driver do not show up
with the correct name in /dev. I am not sure how this happens, but it
seemed that a few `mknod`s fixed the problem. This was tested on
Xiaomi Qin 2 Pro.
2020-10-24 01:53:44 +02:00
Pierre-Hugues Husson
8381467ee3
Add lightsctl-seh for new light control hal of samsung
2020-10-24 01:53:41 +02:00
Whatz
e180fd638f
Possible fix for OpenGL bug
...
Working in moto e5, please feedback
2020-10-24 01:53:41 +02:00
Pierre-Hugues Husson
937bf8e8b4
Test cmd for vendor.goodix.extend.service
2020-10-24 01:53:41 +02:00
Pierre-Hugues Husson
585bc6673f
Reset system props as well. Also fix SPL keymaster priority
2020-10-24 01:53:37 +02:00
Whatz
adc5fec766
Fixing animations issues in Moto E5/Moto E5 Plus
2020-10-24 01:53:37 +02:00
Pierre-Hugues Husson
7ef6e8769f
Workaround broken OpenGL ES on old Snapdragon devices
...
Thanks @XavierWrz
2020-10-24 01:53:37 +02:00
Pierre-Hugues Husson
7ae4dc8425
Detect whether vendor has an hostapd by checking manifest
2020-10-24 01:53:37 +02:00
Pierre-Hugues Husson
b4deea275c
Fix huawei touchscreen hal for treble app (used for glove mode)
2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
82a54a27ce
Add android.hidl.manager@1.0 lib. This is used by treble app to detect hostapd presence
2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
084a5e669e
Fix fingerprint gestures on huawei pie vendor
2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
daa9edcd5c
Reset LD_PRELOAD. Mediatek puts annoying non-working libcoredump in there, ignore it
2020-10-24 01:53:36 +02:00
Pierre-Hugues Husson
054ec8dd01
Allow treble_app to control /dev/input/eventX (useful to enable dt2w)
2020-10-24 01:53:34 +02:00
Pierre-Hugues Husson
a484416c99
Fix fingerprint on Honor View 10
2020-10-24 01:53:34 +02:00
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