Commit Graph

411 Commits

Author SHA1 Message Date
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
Pierre-Hugues Husson
a5d9f5a7f6 Android 10 by default thinks the device cant have a lockscreen... 2019-09-09 01:14:12 +02:00
Pierre-Hugues Husson
91ff330807 tmpfs domain is no longer created by the macro 2019-09-09 01:13:44 +02:00
Pierre-Hugues Husson
7b69b370d1 Additional lib to be edited to boot keymaster 2019-09-09 01:13:30 +02:00
Pierre-Hugues Husson
9f6a970491 Add mediatek proc_ged (else it boots but no graphics) 2019-09-09 01:12:51 +02:00
Pierre-Hugues Husson
b010be5db0 Allow treble app to write "battery info" 2019-08-22 11:36:42 +02:00
Pierre-Hugues Husson
66cf09d963 [Samsung chmods] Need to set selinux too in input/enabled 2019-08-22 11:36:17 +02:00
Pierre-Hugues Husson
d45861e585 If we have both vendor and boot security_patch, prefer vendor security_patch 2019-08-22 10:59:08 +02:00
Pierre-Hugues Husson
ef0936947e We need to restart samsung hal when doing chown 2019-08-22 00:45:53 +02:00
Pierre-Hugues Husson
edaab46a82 Also copy vendor security patch level 2019-08-22 00:45:39 +02:00
Pierre-Hugues Husson
70c0e57764 [phh-securize] remove self script 2019-08-22 00:45:27 +02:00
Pierre-Hugues Husson
c80de8d3fe Add phh-securize.sh to switch to user build, copy vendor fingerprint, and tighten adb security 2019-08-22 00:35:41 +02:00
Pierre-Hugues Husson
2b4b3d6398 [su] Allow write on any file/dir 2019-08-22 00:34:13 +02:00
Pierre-Hugues Husson
f2b061da52 Add persist.sys.phh.mainkeys property to persist qemu.hw.mainkeys 2019-08-22 00:22:51 +02:00
Pierre-Hugues Husson
31241609bb More rights to su 2019-08-21 22:40:53 +02:00
Pierre-Hugues Husson
fda319aa57 SaR is more annoying to resize because there is no such thing as /dev/root, but mknod it so we can do it 2019-08-21 22:40:36 +02:00
Pierre-Hugues Husson
d6d8b0ee5c More chmods for /sys Samsung 2019-08-21 22:00:44 +02:00
Pierre-Hugues Husson
0922844a1a Use Samsung key layouts on all samsung devices 2019-08-20 00:03:14 +02:00
Pierre-Hugues Husson
e2e1e60953 Restart Samsung fingerprint HAL on boot 2019-08-14 23:36:04 +02:00
Pierre-Hugues Husson
9b00a5140f Also chown cmd 2019-08-14 23:35:52 +02:00
Pierre-Hugues Husson
7508b08c11 If /sys/class/sec/tsp rules are obviously completely broken, unbreak them a little 2019-08-12 22:50:17 +02:00
Pierre-Hugues Husson
1709734aae Samsung running pie vendor have fixed fingerprint remaning 2019-08-11 22:59:32 +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
c7d378a359 More rights 2019-08-09 23:39:36 +02:00
Pierre-Hugues Husson
c323b7e9b9 Revert "Force lawnchair instead of AOSP launcher"
This reverts commit 4b1aea0437.

This broke navigation gestures, with no easy fix
2019-08-06 15:51:21 +02:00
Pierre-Hugues HUSSON
6b9054e07c
Merge pull request #117 from vincentvidal/android-9.0
Fix typo
2019-07-19 11:12:40 +02:00
Vincent Vidal
a151119615 Fix typo 2019-07-19 10:18:26 +02:00
Pierre-Hugues Husson
1048ea4fd2 Trigger secondary adbd only if we managed to disable first one 2019-07-17 20:12:47 +02:00
Pierre-Hugues Husson
5dc6a4573a Add bluetooth in the list of features to check HIDL manifest for, to trigger packagemange feature 2019-07-17 20:12:47 +02:00
Pierre-Hugues Husson
95036eb2f6 Fix reading vndk if setting prop from vndk failed on recent enough vendors 2019-07-17 20:12:47 +02:00