1d8311df96
disable sms and voice because i'm building this for my wifi-only device
2022-06-23 16:00:25 +00:00
Pierre-Hugues HUSSON
e96c8929e0
Merge pull request #309 from AndyCGYan/logkit-11
...
Kill QCOM LogKit app
2022-05-17 12:37:56 +02:00
Andy CrossGate Yan
4865734e0d
Kill QCOM LogKit app
...
Known to bootloop UMX U696CL, and is useless anyway
Change-Id: Ibc8ed1228e0c0b71825d889498f2b1b4ebd59fa6
2022-05-17 10:11:40 +00:00
Andy CrossGate Yan
e549a28273
Disable FP gestures for LG Stylo 7 5G
...
Change-Id: Ib1013963d41997e6ba5b6a645355beb8637d6f01
2021-12-03 13:31:50 +01:00
Pierre-Hugues Husson
7071ee8fbf
Launch oplus-alert-slider only once, there is no need to restart it, and it would end up restarting forever on non-oplus device
2021-11-26 16:40:54 +01:00
Pierre-Hugues HUSSON
26d58a8562
Merge pull request #279 from Vgdn1942/patch-2
...
Use name instead device
2021-10-07 20:21:22 +02:00
Василий Ковалёв
f514e1c231
Use name instead device
...
On some devices, device and name use different values, which prevents the safetynet test from passing
2021-10-07 20:56:42 +03:00
Pierre-Hugues HUSSON
d0355b6dd5
Merge pull request #278 from notmyst33d/android-11.0
...
Fix screen recoder on Redmi Note 9
2021-09-04 22:25:59 +02:00
Myst33d
043a42433b
Fix screen recoder on Redmi Note 9
2021-09-04 21:58:39 +06:00
Pierre-Hugues HUSSON
e02d5eeb46
Merge pull request #277 from DarkJoker360/11-willow-hax
...
Audio fixes for Redmi Note 8/8T + cleanup
2021-09-03 12:53:02 +02:00
DarkJoker360
29b13b352a
Cleanup audio hacks for Redmi Note 8/8T
...
* Already done by previous audio hacks.
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2021-09-03 12:49:32 +02:00
DarkJoker360
8f61607113
Enable audio fixes for Redmi Note 8T
...
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2021-09-03 12:49:00 +02:00
Pierre-Hugues HUSSON
5c1dae99cf
Merge pull request #272 from DarkJoker360/cheryl-bt-11
...
Fix bluetooth on cheryl
2021-08-26 14:21:36 +02:00
DarkJoker360
d8d6d29f36
Fix bluetooth on cheryl
...
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2021-08-26 13:48:14 +02:00
Pierre-Hugues HUSSON
dfd02ff557
Merge pull request #271 from notmyst33d/android-11.0
...
Fix UI lags on Redmi Note 9
2021-08-20 19:41:16 +02:00
Myst33d
81af8dbf47
Fix UI lags on Redmi Note 9
...
Tested on MIUI 12.5.1.0 vendor
2021-08-20 17:36:52 +06:00
Pierre-Hugues Husson
a76bab59db
Forgot to request oplus alert slider code to be compiled
2021-08-11 11:09:13 +02:00
Pierre-Hugues Husson
642749e3a2
Add oppo-touchpanel for OnePlus Nord2
2021-08-10 19:09:11 -04:00
Pierre-Hugues Husson
c117a13dad
Oplus fingerprint HAL needs to set some persist.vendor properties
...
On stock rom, those properties' SELinux context is set in /system
To prevent SELinux conflicts, just allow all vendor props
2021-08-10 17:23:50 -04:00
Pierre-Hugues Husson
2fc868bc4a
New Oplus way to get project number
2021-08-10 17:23:42 -04:00
Pierre-Hugues Husson
2b6440d5ac
Need to set selinux context for oplus hal too
2021-08-10 16:11:03 -04:00
Pierre-Hugues HUSSON
5beb9d0966
Merge pull request #270 from hwti/patch-2
...
Make phh-securize.sh work with current Magisk
2021-08-09 20:14:12 +02:00
Pierre-Hugues Husson
2d96bc5545
Add ugly support for OnePlus alert slider (tested on OP Nord2)
2021-08-09 19:50:29 +02:00
Loïc Yhuel
b0ddecfc39
Make phh-securize.sh work with current Magisk
...
Magisk 21.0 changed the mount path, we have to get it with "magisk --path" now.
This is used to get where the system partition is mounted.
The phh-su bind-mount is on /system/xbin/su, even with Magisk.
But we still have to unmount it, in order to remove the empty "su" file on the system partition.
2021-08-09 05:01:46 +02:00
Pierre-Hugues Husson
f0cac6df49
Add MTK IMS services
2021-08-08 21:37:14 +02:00
Pierre-Hugues Husson
17976104b2
Typo, fixup of 90fe6e4b
, Thanks Sarthak
2021-08-08 20:22:34 +02:00
Pierre-Hugues Husson
90fe6e4b62
Include new OPPO Hal s/vendor.oppo/vendor.oplus/g
2021-08-08 20:15:33 +02:00
Pierre-Hugues HUSSON
1d31a4c127
Merge pull request #269 from FlokoROM-GSI/android-11.0-renoir
...
Fix sound for Xiaomi Mi 11 Lite 5G
2021-07-31 17:55:33 +02:00
AndroPlus
663cbedfee
Fix sound for Xiaomi Mi 11 Lite 5G
2021-07-31 18:29:47 +09:00
Pierre-Hugues HUSSON
c9d731c0f1
Merge pull request #267 from bibarub/android-11.0
...
use 'a2dp' audio module instead of 'bluetooth_qti' when needed
2021-07-05 20:44:41 +02:00
bibarub
417839ab4a
use 'a2dp' audio module instead of 'bluetooth_qti' when needed
2021-07-05 21:39:10 +03:00
Pierre-Hugues Husson
e9d96cc60e
Alternate audio policy for Samsung devicese
2021-06-07 13:43:33 -04:00
Pierre-Hugues Husson
0669df7523
When selecting alternate audio policy, check if we can grab the policy made for QSSI
2021-06-07 13:41:21 -04:00
Pierre-Hugues Husson
5e6061d5fd
On ZF8, take stock rom audio policy, rather than the worse ones intended for GSI or QSSI
2021-06-07 12:47:49 -04:00
Pierre-Hugues Husson
2f79cf8662
Don't empty /vendor/etc/audio when very full, when prop is changed too
2021-06-07 12:33:35 -04:00
Pierre-Hugues Husson
475de0067d
Some devices have a lot of stuff in /vendor/etc/audio, not just a CAF audio policy, like ZF8 has their whole vendor audio configuration there. Dont empty this dir in that case
2021-06-03 16:44:44 -04:00
Pierre-Hugues Husson
7a9ce0e848
Add support for treble app to control HCT touchscreen gestures HAL
2021-06-03 16:09:38 -04:00
Pierre-Hugues HUSSON
4f6b0d28a7
Merge pull request #264 from eremitein/treble-app-call
...
add treble app to the allow-in-power-save list
2021-05-30 23:00:52 +02:00
Victor Bo
2eb8896467
add treble app to the allow-in-power-save list
2021-05-30 16:57:31 -04:00
Pierre-Hugues HUSSON
438255bb25
Merge pull request #250 from sarthakroy2002/patch-1
...
Fix Brightness, FP and Headphone jack issue of Realme Narzo 20 and Re…
2021-05-13 10:07:09 +02:00
Sarthak Roy
d06e747b50
Fix Brightness, FP and Headphone jack issue of Realme Narzo 20 and Realme X7 Pro 5G
2021-05-13 12:16:42 +05:30
Pierre-Hugues HUSSON
e5c0da0939
Merge pull request #249 from R0rt1z2/patch-1
...
BQ Aquaris M10 HD fixes
2021-05-11 19:19:09 +02:00
Roger Ortiz
57d109cbf2
freezerhd: fix screen orientation
2021-05-11 20:01:31 +02:00
Roger Ortiz
3fbee899b6
freezerhd: ignore audio effects as well
2021-05-11 17:58:54 +01:00
Pierre-Hugues Husson
07e17110ca
On some Oppo devices, we can NOT load firmware. Oppo engineers realized that and kept the line in rc script, but simply commented it out. so check this
2021-05-11 06:20:40 -04:00
Pierre-Hugues HUSSON
80281b21ab
Merge pull request #248 from TTTT555/patch-2
...
begonia: Drop deprecated props
2021-05-02 18:46:09 +02:00
TTTT555
815a378701
begonia: Drop deprecated props
...
* these fixes are not needed since A10/A11 vendor (and only cause errors)
2021-05-02 18:15:07 +02:00
Pierre-Hugues Husson
659278a853
Stop whitelisting Xiaomi devices manually. The kl name is pretty explicit about fingerprint sensor, we should be safe
2021-05-01 14:17:43 +02:00
Pierre-Hugues HUSSON
aef3ba2919
Merge pull request #246 from gsuzeda/patch-2
...
Update rw-system.sh
2021-04-30 10:11:56 +02:00
Uzeda
cebf48f92f
Update rw-system.sh
2021-04-30 03:50:36 -03:00
Pierre-Hugues Husson
8d45b8ea38
[teracube2e] Add support for dt2w
2021-04-16 13:27:41 +02:00
Pierre-Hugues HUSSON
24c3a48b98
Merge pull request #243 from 00p513-dev/android-11.0
...
Add amyROM makefile
2021-04-15 16:24:58 +02:00
Pierre-Hugues HUSSON
d02b16585a
Merge pull request #242 from KaMyKaSii/patch-1
...
Poco M3 fix fingerprint gesture
2021-04-09 20:20:15 +02:00
Pierre-Hugues HUSSON
9a7fdc991b
Merge pull request #244 from PeterCxy/patch-unihertz-keylayout
...
add keylayout for Unihertz devices
2021-04-08 21:47:19 +02:00
Peter Cai
aa0d782b8c
add keylayout for Unihertz devices
...
* Unihertz devices have a dedicated PTT button, which I mapped to
CAMERA, making it useful (kind of) by default and remappable via
third-party apps.
* Additionally, declare capacitive buttons as VIRTUAL so that vibration
is applied when they are pressed.
2021-04-08 20:21:57 +08:00
Amy Grace
e8d7cb9255
Add amyROM makefile
2021-04-07 09:17:24 +01:00
Pierre-Hugues Husson
91783c3bde
Clean up ota.sh for better lifecycle (supports exclusively dynamic partitions)
2021-03-28 18:57:44 +02:00
Pierre-Hugues Husson
d9140dbd8d
[lptools] partition was freed, thus name was zero-ed, leading to a partition with an empty name rather than expected dst name
2021-03-28 18:57:09 +02:00
Pierre-Hugues Husson
00d5b05ee9
Samsung has another path for alternate audio policy
2021-03-28 18:56:14 +02:00
Pierre-Hugues Husson
6d5747d010
Add a fake audio policy
2021-03-28 18:55:25 +02:00
Pierre-Hugues Husson
29480cdbb8
Declare all color modes available, they dont seem to depend much on hardware capabilities
2021-03-21 22:56:46 +01:00
Pierre-Hugues Husson
926613d464
[simg2img_simple] Abandon splice if it's too slow.
2021-03-20 21:55:07 +01:00
Pierre-Hugues Husson
abec25d226
Pump up lptools
...
- Add `free` command to know how big a partition can be created
- `create` command now properly return errors
- Add lptools_static, suitable for use from recovery
- Add clear-cow and unlimited-group to help expand current group's
beyond original expectations
2021-03-20 19:59:15 +01:00
Pierre-Hugues Husson
29154150b0
Change brand name. This works around Samsung limitations on sensor hal
2021-03-20 19:59:15 +01:00
KaMyKaSii
dcbc76966a
Poco M3 fix fingerprint gesture
2021-03-19 15:49:08 -03:00
Pierre-Hugues HUSSON
03b1c9d3d8
Merge pull request #241 from notsyncing/android-11.0
...
NX669J: Use audio config from QSSI
2021-03-16 17:29:59 +01:00
notsyncing
d190d02990
NX669J: Use audio config from QSSI
...
AOSP doesn't care about QSSI, and it will always try to load from
/vendor/etc/audio/sku_{ro.boot.product.vendor.sku}, while the stock ROM
loads from /vendor/etc/audio/sku_{ro.boot.product.vendor.sku}_qssi.
This fixes speaker and headphone audio for Nubia Red Magic 6.
2021-03-16 19:40:45 +08:00
Pierre-Hugues Husson
2057f5d25a
Disable fdsan for real. Setting it to 0 won't disable it, because setting it to 0 will set it to DEFAULT value, which is fatal in userdebug. So best we can do to disable it is to set it to warn_once. See bionic's android_fdsan_set_error_level_from_property
2021-03-11 16:26:52 +01:00
Pierre-Hugues Husson
04ee9f055e
Remove wrongly included debugging stuff
2021-03-08 18:39:54 +01:00
Pierre-Hugues HUSSON
23baa924dc
Merge pull request #239 from VDavid003/android-11.0
...
Fix vendor hostapd detection for manifest fragments
2021-03-08 13:48:13 +01:00
VDavid003
a3f96351d7
Fix vendor hostapd detection for manifest fragments
...
This fixes tethering on phones that have hostapd defined in a manifest fragment
2021-03-08 13:32:33 +01:00
Pierre-Hugues HUSSON
f7e7a1607c
Merge pull request #238 from DarkJoker360/11-2btnnav
...
Build NavigationBarMode2ButtonOverlay
2021-03-06 11:13:57 +01:00
DarkJoker360
f8ff2ea2ad
Build NavigationBarMode2ButtonOverlay
...
This got removed from PRODUCT_PACKAGES in frameworks/base, but it seems
like it still exists.
Change-Id: I8fe80c9c5a386ae1877f7c117ddc76ff366304a3
2021-03-06 09:33:22 +01:00
Pierre-Hugues HUSSON
d341ec23ff
Merge pull request #236 from sarthakroy2002/android-11.0
...
Fixed Bugs of Realme 7, Realme 6i(EU) and Realme Narzo 10
2021-03-05 15:51:16 +01:00
Sarthak Roy
6b93fc5f03
Fixed Bugs of Realme 7, Realme 6i(EU) and Realme Narzo 10
2021-03-05 19:19:56 +05:30
Pierre-Hugues Husson
a52cbb93d5
Revert "Fix not booting on A6+"
...
This reverts commit 33d1b1c196
.
2021-03-05 14:34:49 +01:00
Pierre-Hugues Husson
b0b0b7cfe2
Revert "typo"
...
This reverts commit c1ef009983
.
2021-03-05 14:34:35 +01:00
Pierre-Hugues Husson
c1ef009983
typo
2021-03-05 14:19:55 +01:00
Pierre-Hugues HUSSON
45a730c9c3
Merge pull request #235 from roynatech2544/android-11.0
...
Fix not booting on A6+
2021-03-04 08:59:28 +01:00
roynatech2544
33d1b1c196
Fix not booting on A6+
2021-03-04 16:57:50 +09:00
Pierre-Hugues HUSSON
27d759a485
Merge pull request #233 from DarkJoker360/11-emui9-fp2
...
Address more Huawei fp denials
2021-03-01 10:22:02 +01:00
DarkJoker360
9e81647de7
Address more Huawei fp denials
2021-03-01 09:58:41 +01:00
Pierre-Hugues Husson
61d163657a
Disable secondary watchdogs.
...
AOSP's watchdogd doesn't support multiple watchdogs.
This shouldn't be an issue, since AOSP GSI obviously doesn't support it
and AOSP GSI is part of certification.
HOWEVER, some people use modified kernel/vendors that may break such
assumptions. Anyway we can just disable it.
See https://github.com/phhusson/treble_experimentations/issues/1730#issuecomment-784222396
2021-02-23 15:00:54 +01:00
Pierre-Hugues Husson
b74ad8ea7e
Rename all calls to resetprop to resetprop_phh to prevent conflict with Magisk, see d8056f8032
2021-02-22 10:04:28 +01:00
Pierre-Hugues HUSSON
f87c653336
Merge pull request #232 from eremitein/fixgms
...
fix gapps build
2021-02-16 08:33:44 +01:00
Victor Bo
1057669e03
fix gapps build
...
remove commit trash after
b2eea56e6c
FAILED:
build/make/core/aapt2.mk:33: error: overriding commands for target
`out/target/common/obj/APPS/SettingsProvider__auto_generated_rro_product_intermediates/flat-res/vendor/partner_gms/overlay/gms_overlay/frameworks/base/packages/SettingsProvider/res/values_defaults.arsc.flat',
previously defined at build/make/core/aapt2.mk:27
23:03:05 ckati failed with: exit status 1
2021-02-16 00:37:28 -05:00
Pierre-Hugues HUSSON
57bec6f2ca
Merge pull request #231 from eremitein/adb_selinux
...
Adb selinux
2021-02-15 19:00:33 +01:00
Victor Bo
d6aed01c48
sepolicy/init: fix adb in some cases
...
logs:
02-06 17:28:44.560 1 1 I auditd : type=1400
audit(0.0:11): avc: denied { read } for comm="init"
name="adbd" dev="mmcblk0p31" ino=11 scontext=u:r:init:s0
tcontext=u:object_r:adbd_exec:s0 tclass=lnk_file permissive=0
thanks HamiDo for hotfix
2021-02-15 12:54:48 -05:00
Victor Bo
19d8a296fa
sepolicy/treble_app: add rule fix cam2api option
...
logs:
17 00:47:48.796 1 1 W /system/bin/init: type=1107
audit(0.0:357): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied { set } for
property=persist.vendor.camera.eis.enable pid=4411 uid=1000
gid=1000 scontext=u:r:system_app:s0
tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service
permissive=0'
01-17 00:47:48.796 1 1 W /system/bin/init: type=1107
audit(0.0:356): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied { set } for
property=persist.vendor.camera.HAL3.enabled pid=4411 uid=1000
gid=1000 scontext=u:r:system_app:s0
tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service
permissive=0'
2021-02-15 12:53:43 -05:00
Pierre-Hugues HUSSON
9868877f23
Merge pull request #229 from nitanmarcel/patch-1
...
Add Redmi/joyeuse to changeKeyLayout
2021-02-11 11:15:46 +01:00
Pierre-Hugues Husson
b2eea56e6c
Include usb.host package feature. This shouldnt arm devices without actual hardware support
2021-02-09 16:01:58 +01:00
Nitan Alexandru Marcel
e936f0b83a
Add Redmi/joyeuse to changeKeyLayout
...
Fixes random touches on Redmi Note 9 Pro `joyeuse` when fingerprint is pressed
2021-02-09 12:36:12 +02:00
Pierre-Hugues Husson
7afda0d79f
Fix build for s/google/partner_gms/
2021-02-05 11:39:34 -05:00
Pierre-Hugues Husson
3d054e214d
Add olive and angelica for Xiaomi fingerprint uinput blocklist
2021-02-02 22:04:42 +01:00
Pierre-Hugues Husson
9e6e2b6556
Mute console for everyone, not just secure usecase
2021-02-02 22:03:11 +01:00
Pierre-Hugues Husson
72c62260b9
Fix backlight on some Samsung devices
...
Some Samsung Q vendor devices have HWC rather than lights hal control.
In those cases, backlight is controlled through another SELinux context.
We used to correct this SELinux context for all devices, however this is
no longer needed, and actually breaks those devices.
So, change SELinux context, only if uid/gid is wrong
2021-01-30 22:59:23 +01:00
Pierre-Hugues HUSSON
c7438a5be6
Merge pull request #227 from kzubec/patch-2
...
Update rw-system.sh
2021-01-22 15:40:38 +01:00
kzubec
36881fc8a6
Update rw-system.sh
2021-01-22 16:45:55 +03:00
Pierre-Hugues HUSSON
09baacad99
Merge pull request #225 from DarkJoker360/11-emui9-fp
...
Address Huawei fingerprint denials
2021-01-22 10:53:15 +01:00
DarkJoker360
49a4d5ce06
Address Huawei fingerprint denials
...
* Fixes fingerprint enrollment issues on P vendor devices.
2021-01-22 10:46:46 +01:00
Pierre-Hugues Husson
43f324824a
Fix video crashing on apps targetting Android 11, on some Mediatek devices (like Redmi 9)
2021-01-21 10:00:15 -05:00
Pierre-Hugues Husson
aae160672f
Add a totally manual ADB, triggerable using /cache/phh-adb. This should help debugging early startup issues
2021-01-19 23:46:40 +01:00
Pierre-Hugues Husson
e444a5f575
Disable fdsan by default. This is already disabled by default on user build. Some HALs do not work properly with fdsan
2021-01-10 22:26:15 +01:00
Pierre-Hugues HUSSON
43f0b25585
Merge pull request #220 from JensBee/patch-1
...
Scan in /odm/etc/vintf for fingerprint sensor data
2021-01-08 13:12:49 +01:00
Pierre-Hugues Husson
0a0d3a10b2
Add persist.sys.phh.restart_ril to automatically restart MTK RIL. Also toggling it on will restart QC RIL
2020-12-29 20:27:25 +01:00
Jens Bertram
a853420626
Scan in /odm/etc/vintf for fingerprint sensor data
...
The manifest.xml for specifying the fingerprint sensor for the Fairphone 3 (SW-version 8901.3.A.0066.20201119) is located at /odm/etc/vintf/. This path is currently not scanned for manifest files. This proposed change includes this missing path an enables to use the fingerprint sensor on the FP3.
2020-12-17 21:55:49 +01:00
Pierre-Hugues HUSSON
e63e4d7cd9
Merge pull request #218 from PeterCxy/patch-qin-2-pro-sensors
...
rw-system: disable sensor direct report for Qin 2 Pro
2020-12-16 14:03:07 +01:00
Peter Cai
d93e046538
rw-system: disable sensor direct report on SPRD Pie vendor
2020-12-16 21:01:15 +08:00
Pierre-Hugues HUSSON
8e6f252902
Merge pull request #219 from PeterCxy/patch-sprd-ims
...
sepolicy: add spreadtrum IMS services
2020-12-16 13:47:48 +01:00
Peter Cai
70950fd8ee
sepolicy: add spreadtrum IMS services
2020-12-16 19:42:09 +08:00
Pierre-Hugues HUSSON
93019de565
Merge pull request #216 from siddhrsh/patch-2
...
Added Realme C3 brightness& audio jack
2020-12-12 11:02:37 +01:00
Pierre-Hugues HUSSON
a19ac6062f
Merge pull request #215 from siddhrsh/patch-1
...
Realme C2 Headphones jack fix
2020-12-12 11:01:30 +01:00
Siddhesh Koyande
d07aa9e60c
Added Realme C3 brightness& audio jack
2020-12-12 10:49:49 +05:30
Siddhesh Koyande
c756d26c2b
Realme C2 Headphones jack fix
2020-12-12 08:27:23 +05:30
Pierre-Hugues Husson
8ff15241fd
Disable root console on uart, and kernel logs on uart when secure
2020-12-11 14:51:01 +01:00
Pierre-Hugues Husson
843c0ec80a
Add persist.sys.phh.backlight.scale to control brightness scale from treble app
2020-12-06 00:58:01 +01:00
Pierre-Hugues Husson
30071d0420
Use ext4 share duplicate blocks, it is sadly needed to attain acceptable partition size, because of duplication made by apexes
2020-12-05 22:21:06 +01:00
Pierre-Hugues Husson
5607a9be21
Use dev/input for jack detection on Realme C11
2020-11-30 11:00:38 +01:00
Pierre-Hugues Husson
f121aba763
Allow more blockdev --setrw
2020-11-30 11:00:38 +01:00
Pierre-Hugues Husson
30b84072fc
Allow treble_app to set persist.vendor.vilte_support (to 0)
2020-11-29 09:36:05 -05:00
Pierre-Hugues Husson
147dca859c
Realme C11 has same quirks for dt2w and brightness as previous Realme MTK devices
2020-11-29 08:08:50 -05:00
Pierre-Hugues Husson
3489a71cf2
Allow init to create system_file symlinks for A-only, see https://github.com/phhusson/treble_experimentations/issues/1553
2020-11-08 13:13:10 +01:00
Pierre-Hugues Husson
6ce1b9108d
Galaxy S9 is stupid and still dont understand that android version/spl isnt relevant, so cheat android version/spl for them
2020-11-08 00:36:09 +01:00
Pierre-Hugues Husson
28b4d559a6
Set a property to find focaltech gesture node
2020-10-26 22:46:16 +01:00
Pierre-Hugues Husson
d1a638f4f8
Allow treble_app to access mediatek radio hal to detect it
2020-10-26 22:45:37 +01:00
Pierre-Hugues Husson
0ed42b1d02
Allow treble app to set more props
2020-10-25 21:11:27 +01:00
Pierre-Hugues Husson
018f36087d
uevent cmd: allow filtering events
2020-10-25 21:11:27 +01:00
Pierre-Hugues Husson
1450230c31
Make rw-system debug easier, but just having to create /cache/phh-log (obviously works only if device has a cache partition), and having perms make it accessible from system app (treble app)
2020-10-25 21:11:27 +01:00
Pierre-Hugues HUSSON
1edc6980c7
Merge pull request #212 from tboy1991/android-11.0
...
Add redmi9 lancelot/galahad brightness and fingerprint fix
2020-10-18 21:41:07 +02:00
tboy1991
0b075d62bf
Update rw-system.sh
2020-10-17 16:34:18 +02:00
Pierre-Hugues Husson
c67aa14ca5
Add android.software.controls to get controls in power long-press
2020-10-14 17:51:01 +02:00
tboy1991
dd952c5f1b
Update rw-system.sh
...
Adds redmi9 lancelot/galahad brightness and fingerprint as enter fix
2020-10-13 18:48:21 +02:00
Pierre-Hugues Husson
2515e7d58a
Fix CAF audio policy on non-boot
2020-10-13 17:19:48 +02:00
Pierre-Hugues Husson
ab62dcf481
On Allview V3 Viper, mnld (who handles GPS) crashes with double-mutex unlock. Fix this by forcing it to older SDK
2020-10-06 19:55:11 +02:00
Pierre-Hugues Husson
95bcf66d67
Some devices require their vendor mounted to /persist even if fstab says otherwise
...
See https://github.com/phhusson/treble_experimentations/issues/668
2020-10-05 22:13:44 +02:00
Pierre-Hugues HUSSON
bfa3c9b7dc
Merge pull request #207 from dev-harsh1998/android-11.0
...
treble: vndk: restart the surfaceflinger
2020-10-04 10:19:16 +02:00
Harshit Jain
dcf70913db
treble: vndk: restart the surfaceflinger
...
* not surfacecflinger
2020-10-04 12:30:36 +05:30
Pierre-Hugues Husson
78f5247606
Fix A2DP on some Qualcomm Q vendors by disable A2DP offload harder
...
Also there is a mismatch between framework which expects property to be
false/true and treble app setting it to 0/1
2020-10-02 20:04:12 +02:00
Pierre-Hugues Husson
7435a2a66e
Mark fingerprint sensor as a secure biometric auth, so that fingerprint sensor can be used in apps
2020-10-02 11:56:34 +02:00
Pierre-Hugues Husson
7662a1675c
Disable HWC presentOrValidate on vndk 26/27
2020-09-30 22:38:44 +02:00
Pierre-Hugues HUSSON
7f176889ee
Merge pull request #206 from SamarV-121/k
...
rw-system: Update extra vndk dir path
2020-09-30 11:57:22 +02:00
ѕαмαя νιѕρυтє
b79124f41b
rw-system: Update extra vndk dir path
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-09-30 09:55:09 +00:00
Pierre-Hugues Husson
41f0817f3f
Up vendor minijail override, using vndk v28 minijail
2020-09-29 10:45:45 +02:00
Pierre-Hugues Husson
bbee56d39f
ROG Phone III has an additional C2 in vendor. It requires updated seccomp policy
2020-09-27 20:12:39 +02:00
Pierre-Hugues Husson
c18b157a8d
libsoftkeymasterdevice.so is a new path for vndk v26
2020-09-27 20:12:09 +02:00
Pierre-Hugues Husson
0ced2d3486
Fix dynamic ro.sf.lcd_density being ignored
...
On Qualcomm devices, ro.sf.lcd_density is set by a shell script in
/vendor, which will be called after surfaceflinger is started.
Thus surfaceflinger won't read any value, and will consider the default
value which is 213.
To fix this, restart surfaceflinger when ro.sf.lcd_density is changed.
2020-09-27 20:00:44 +02:00
Pierre-Hugues Husson
e08b947cc2
[twrp.sh] List usb controlers instead of fixing address
2020-09-27 19:58:40 +02:00
Pierre-Hugues Husson
6acd9f4763
Fix oppo-fp build
2020-09-27 19:57:46 +02:00
Pierre-Hugues Husson
510e08cefd
Fix lptools build for Android 11
2020-09-27 19:57:32 +02:00
Pierre-Hugues Husson
5bcb2e09a8
Now an android.hardware.healthd is required. Include healthd which provides a backup implementation
2020-09-27 19:57:19 +02:00
Pierre-Hugues Husson
8bbe19ca57
Now overlays are done as RRO. DEVICE overlay will be in /vendor/overlay which we dont control. Change this to PRODUCT overlay so our overlay is taken into account
2020-09-27 19:56:20 +02:00
Pierre-Hugues Husson
1c3f1d6e4e
in-tree VNDK integration is dead, it will be out-of-tree
2020-09-27 19:55:23 +02:00
Pierre-Hugues Husson
7c0c6c918c
Disable EXT4 Share "feature" (this was already disabled in Android 10, but not on Android 11)
2020-09-11 10:33:49 +02:00
Pierre-Hugues Husson
0ce5feb194
This flag was added by mistake it's not needed (since it works on other targets) and prevents building Android 11
2020-09-11 10:33:20 +02:00
Pierre-Hugues Husson
6e496dafb0
Force privapp permissions thingy to "log". It s not like we care about this feature
2020-08-18 16:56:53 +02:00
Pierre-Hugues Husson
81c17b3aa3
Add Realme 6 for lcd brightness & fingerprint tricks
2020-08-13 15:51:42 +02:00
Pierre-Hugues Husson
6428935728
Fake Oppo engineer app instead of camera app, and force non-gsi Camera mode
2020-08-05 20:38:43 +02:00
Pierre-Hugues Husson
d26d561dba
Add fingerprint gestures on zf6
2020-08-05 20:38:43 +02:00
Pierre-Hugues HUSSON
4d3d3b1c08
Merge pull request #200 from darkestDark/android-10.0
...
libminijail.so error, check only vndk to mount
2020-08-05 20:09:12 +02:00
darkestDark
9221314a7e
libminijail.so error
...
check for vndk only to mount
2020-08-05 20:04:01 +02:00
darkestDark
b88e2c8900
libminijail.so error
...
check for vndk only to mount
2020-08-05 20:02:24 +02:00
Pierre-Hugues HUSSON
016e9918fc
Merge pull request #197 from kjssad/add-d2tw-rmx1941
...
Add RMX1941 DT2W fix
2020-07-02 18:41:20 +02:00
kjssad
4134ef2653
Add RMX1941 DT2W fix
2020-07-02 16:28:48 +00:00
Pierre-Hugues HUSSON
edd1355309
Merge pull request #193 from DarkJoker360/android-10.0
...
Address charger denials on Huawei devices
2020-06-24 22:06:01 +02:00
Pierre-Hugues Husson
9800e43980
Some devices have mask_brightness with proper selinux, wrong perms...
2020-06-24 11:11:02 +02:00
Pierre-Hugues Husson
c0ff9f49f0
Yet another c2 broken device
2020-06-23 21:40:55 +02:00
DarkJoker360
4388860aed
Address charger denials on Huawei devices
...
Thanks to phh and Hamido for the help
2020-06-23 16:45:08 +02:00
Pierre-Hugues Husson
d4ecf50aa0
Add libstagefright_foundation from vendor to vndk hack for Q vendors as well
2020-06-22 18:12:17 +02:00
Pierre-Hugues Husson
01390142b9
Autodetect best group, not everyone uses main
2020-06-21 00:21:52 +02:00
Pierre-Hugues Husson
97b340689d
Add Redmagic 5G DT2Z KL
2020-06-20 20:11:04 +02:00
Pierre-Hugues Husson
46c5eb1273
Don't enable CPU feature runtime detection for everyone
...
Sadly CPUs impacted with needs_a53_835769_fix/needs_a53_843419_fix can't use runtime codepath
Enable CPU feature runtime detection on known-problematic CPUs
2020-06-20 00:31:29 +02:00
Pierre-Hugues Husson
9bff86b3a9
Enable ART automatic CPU feature detection. Also fix some devices using a wrong kryo name
2020-06-20 00:19:13 +02:00
Pierre-Hugues Husson
2e19ed17dc
Try to fix a race condition where init.svc could /not/ be restarting at the time of checking
2020-06-18 20:24:21 +02:00
Pierre-Hugues Husson
0f3b53a395
Include "Google" app to fix "Hey, Google"
2020-06-18 19:59:12 +02:00
Pierre-Hugues Husson
0c42bbf8c4
Switch to SW keymaster on Moto One Macro, and enable devinputjack
2020-06-18 15:00:14 +02:00
Pierre-Hugues Husson
4943b6a93e
Fix minijail issue on pie vendors
2020-06-17 16:34:17 +02:00
Pierre-Hugues Husson
51dc96a900
Another ccodec=0...
2020-06-17 13:36:50 +02:00
Pierre-Hugues Husson
282728cf70
Fix denial preventing Moto One Macro to boot, because init cant mount /mnt/product/persist
2020-06-17 13:36:15 +02:00
Pierre-Hugues Husson
33afc851c4
Yet another sick C2 MTK...
2020-06-11 18:02:21 +02:00
Pierre-Hugues HUSSON
e530d6a7e5
Merge pull request #191 from AndyCGYan/sepolicy-phhsu
...
Quick fixup
2020-06-11 16:19:47 +02:00
Andy CrossGate Yan
d357dec2d4
Quick fixup
...
Building is different from on-the-fly testing
2020-06-11 13:59:47 +00:00
Pierre-Hugues HUSSON
2c023e8446
Merge pull request #190 from AndyCGYan/sepolicy-phhsu
...
More rights
2020-06-11 15:39:09 +02:00
Andy CrossGate Yan
44fe1f36aa
More rights
...
"Here's Sammy!"
2020-06-11 21:34:36 +08:00
Pierre-Hugues HUSSON
434e42303e
Merge pull request #189 from R-L-T-Y/android-10.0-picasso
...
xiaomi at it again! changes for redmi picasso
2020-06-09 09:02:22 +02:00
R-L-T-Y
bffd528e03
xiaomi at it again! changes for redmi picasso
2020-06-09 13:12:45 +08:00
Pierre-Hugues Husson
0666c17ef1
moto fp gestures for fpc
2020-06-08 18:51:33 +02:00
Pierre-Hugues Husson
179f0cf042
Give more headroom on arm_a
2020-06-07 13:21:02 +02:00
Pierre-Hugues Husson
32ca6fcb5f
Some Pie vendor are also affected by minijail issue
2020-06-06 19:33:00 +02:00
Pierre-Hugues Husson
936ed40b56
Some Samsung dt2w use other key value
2020-06-06 19:33:00 +02:00
Pierre-Hugues Husson
2874f15cf2
Add capacitive back and recent keys for Samsung
2020-06-06 18:41:52 +02:00
Pierre-Hugues Husson
4bd26f7fc7
Some Samsung devices also have HOME as gpio key
2020-06-06 18:24:24 +02:00
Pierre-Hugues Husson
506be53b02
Add ota.sh to (try to) OTA
2020-06-06 18:12:37 +02:00
Pierre-Hugues Husson
545be46423
Allow phh-su to blockdev --setrw dm partitions to mount / read-write on logical partition devices
2020-06-06 13:13:25 +02:00
Pierre-Hugues Husson
2295229a28
Expose CAF resolution switching (tested on RazerPhone)
2020-06-05 20:34:22 +02:00
Pierre-Hugues Husson
66108419f9
Tell realme fingerprint dirver we are running unlocked bootloader
2020-06-05 17:43:52 +02:00
Pierre-Hugues Husson
65af98b518
Detect looping mediacodec earlier
2020-06-03 20:21:50 +02:00
Pierre-Hugues Husson
7576b8f0fe
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-06-03 16:52:59 +02:00
Pierre-Hugues Husson
5c712afafa
Add FOD for Vsmart Live
2020-06-03 14:13:33 +02:00
Pierre-Hugues Husson
00b3c4399a
Disable integration for gapps go too, to remove white screen in setup wizard
2020-06-03 12:31:07 +02:00
Pierre-Hugues Husson
ff835cbd53
Add motorola fingerprint navigation keymap for moto one action
2020-06-02 23:04:09 +02:00
Pierre-Hugues Husson
0359b91442
Add persist.sys.phh.vsmart.dt2w for vsmart double-tap-to-wake
2020-06-01 19:29:55 +02:00
Pierre-Hugues Husson
afb17027d2
Add a tablet SoC in ccodec 0 band
2020-05-30 16:38:56 +02:00
Pierre-Hugues Husson
34170ee087
vendor policy requires a _29_0 type to apply
2020-05-29 12:52:56 +02:00
Pierre-Hugues Husson
089d3c34ca
Add netflix ID for Redmi Note 9S
2020-05-29 10:13:16 +02:00
Pierre-Hugues Husson
d917563900
Add smcinvoke dev type. Should fix widevine on Redmi Note 9S
2020-05-29 10:12:28 +02:00
Pierre-Hugues Husson
05b863b07a
Add netflix id on Mi9, this gives 720p/1080p when securized
2020-05-28 11:44:25 +02:00
Pierre-Hugues Husson
de8d6e38d3
Add talkback (space has been freed by removing FilesGoogle)
2020-05-26 14:14:16 +02:00
Pierre-Hugues Husson
35f64c5260
Also remove FilesGoogle
2020-05-26 13:49:44 +02:00
Pierre-Hugues Husson
4aad458648
Remove gmsexpress-set overlay
...
gmsexpress enables com.android.theme.icon.squircle
we want circle by default
2020-05-25 14:10:37 +02:00
Pierre-Hugues Husson
9a6dacedfc
Curtana is redmi, no longer xiaomi
2020-05-25 13:45:22 +02:00
Pierre-Hugues Husson
05b0386382
<2GB arm64_ab gapps system
2020-05-24 22:07:19 +02:00
Pierre-Hugues Husson
1d86604109
Curtana is just as broken as other Xiaomi devices
2020-05-24 20:18:20 +02:00
Pierre-Hugues Husson
874d0d8b47
Disable GMS demo SetupWizard integration because it is broken
...
It references com.android.setupwizard.FLOW_CHOICE, which is no longer
supported by the SetupWizard
2020-05-24 20:12:23 +02:00
Pierre-Hugues Husson
5a29d9607e
Alternate audio profile was broken?!?
2020-05-24 20:03:14 +02:00
Pierre-Hugues Husson
9f53b904c5
Force bluetooth library to be AOSP's
...
Some vendors set ro.bluetooth.library_name.
This shouldn't matter because GSIs targetting Pie ignore those
properties from vendor.
Sadly we're targetting Oreo, so vendor can set it.
https://github.com/AndroidDumps/redmi_curtana_dump/blob/qssi-user-10-QKQ1.191215.002-V11.0.4.0.QJWINXM-release-keys/system/system/build.prop#L167
https://github.com/AndroidDumps/redmi_curtana_dump/blob/qssi-user-10-QKQ1.191215.002-V11.0.4.0.QJWINXM-release-keys/vendor/build.prop#L103
2020-05-24 19:26:19 +02:00
Pierre-Hugues Husson
7a830b3d3e
gmsexpress-based gapps-go. arm64_ab fits in 2GB. arm_a doesn't fit on Redmi Go though
2020-05-24 19:26:19 +02:00
Pierre-Hugues Husson
bcb48d0ba8
arm a is even tighter, so give only 8MB headroom
2020-05-24 19:26:19 +02:00
Pierre-Hugues HUSSON
46b853461c
Merge pull request #182 from fourofspades/Issue_#1141_TabletMode
...
Added shell script to remove telephony.
2020-05-23 11:47:41 +02:00
Pierre-Hugues Husson
258e730ad7
Reduce reversed size from 64MB to 32MB
2020-05-21 17:12:38 +02:00
Pierre-Hugues Husson
3d84e3da97
Also set chmod/chown for fod samsung files
2020-05-21 17:12:38 +02:00
Pierre-Hugues HUSSON
41af81fe4f
Merge pull request #188 from siddhrsh/patch-4
...
Update rw-system.sh
2020-05-20 21:44:12 +02:00
siddhrsh
ff01f63493
Update rw-system.sh
...
Added realme c2 brightness and navigation command
2020-05-21 01:10:03 +05:30
Pierre-Hugues Husson
1f6fcb7322
Fix various FOD-related props and files SELinux permission
2020-05-20 19:59:45 +02:00
Pierre-Hugues HUSSON
edc584e3c3
Merge pull request #187 from timbortnik/disable-storageproxyd
...
disable-storageproxyd
2020-05-19 09:57:12 +02:00
Tim Bortnik
4f7be9c2b5
disable-storageproxyd
2020-05-19 00:02:05 +03:00
Pierre-Hugues Husson
deb3e53411
Add a CLI tool to dump list of cameras on Samsung Q vendor
2020-05-14 19:35:29 +02:00
Pierre-Hugues Husson
cfe638aa94
Some devices have multiple panels, including some with 0 brightness. Take the one with the highest brightness
2020-05-14 18:31:37 +02:00
Pierre-Hugues Husson
b3a5ea6275
Update Samsung HBM to use max brightnmess
2020-05-14 15:47:15 +02:00
Pierre-Hugues HUSSON
e9afb88256
Merge pull request #186 from EugW/android-10.0
...
Fix havoc mk
2020-05-14 15:29:42 +02:00
EugW
89dfb3226b
Fix havoc mk
2020-05-14 16:52:26 +05:00
Pierre-Hugues HUSSON
61899854d4
Merge pull request #184 from ponces/android-10.0
...
Fix exynos grep command to apply setprop correctly
2020-05-14 12:44:46 +02:00
Alberto Ponces
ef30da0aae
Simplify the exynos grep command even further and remove some whitespace
2020-05-14 11:41:08 +01:00
Pierre-Hugues Husson
4f718dfef2
Add Samsung HBM FOD default value
2020-05-14 11:00:04 +02:00
Alberto Ponces
d6da9f1fec
Fix exynos grep command to apply setprop correctly
2020-05-13 18:00:23 +01:00
Pierre-Hugues Husson
167c3bb4c1
Add /efs, needed on Galaxy A51 for fingerprint sensor calibration
2020-05-13 13:10:53 +02:00
Pierre-Hugues Husson
67bbd94780
[securize] Take the most recent between ro.vendor and ro.keymaster SPL, because vendor could be correct like -05
2020-05-13 10:13:51 +02:00
Pierre-Hugues Husson
fd46dfb49a
[su] Give more right to control dynamic partitions
2020-05-13 10:03:26 +02:00
Pierre-Hugues Husson
06badf2f7b
Unforce root adb
...
On Samsung Galaxy A51, adb is forced as root by system in init.recovery...rc
However adb doesn't work as root on Samsung devices, so unset this to have working adb
2020-05-13 10:03:26 +02:00
Pierre-Hugues HUSSON
88003acb57
Merge pull request #183 from hwti/patch-1
...
Fix phh-securize.sh with Magisk modules
2020-05-10 12:53:02 +02:00
Loïc Yhuel
7698971538
Fix phh-securize.sh with Magisk modules
...
With Magisk, depending on enabled modules, directories like /system/xbin, /system/app and others could be tmpfs,
with /system/xbin/su and /system/app/me.phh.superuser being bind-mounts.
So we should try to operate on the real system partition.
2020-05-10 01:20:02 +02:00
Pierre-Hugues Husson
e3af52cfdf
Include lptools in build
2020-05-09 20:02:48 +02:00
Pierre-Hugues Husson
186496633e
Add lptools to modify dynamic partitions
2020-05-09 14:24:38 +02:00
Pierre-Hugues Husson
c85213c6f1
[simg2img_simple] Don't break when splice doesn't work (over adb for instance)
2020-05-09 14:03:36 +02:00
Mark Gillespie
81f673e8e3
Remove Telephony
...
https://github.com/phhusson/treble_experimentations/issues/1141
2020-05-08 19:38:03 +01:00
Pierre-Hugues HUSSON
22c1395462
Merge pull request #180 from eremitein/keylayout
...
rw-system: add 'daisy' stock keylayout files
2020-05-06 11:50:52 +02:00
Victor Bo
13a9b1e26d
rw-system: add 'daisy' stock keylayout files
...
1-2. because gestures not works (exist in some gsi, same as stock -
swipe for notifications)
3. daisy-buttonJack.kl need for headphones volume control by headphones' buttons
modified: base.mk
new file: files/daisy-buttonJack.kl
new file: files/daisy-uinput-fpc.kl
new file: files/daisy-uinput-goodix.kl
modified: rw-system.sh
2020-05-04 23:44:20 +03:00
Pierre-Hugues Husson
0ae6b5b05c
Add properties to use vendor audio policy, and to disable audio effects
2020-05-03 18:05:30 +02:00
Pierre-Hugues Husson
bad4131180
Add property to use CAF vendor media_profiles
...
This is controlled through persist.sys.phh.caf.media_profile
system_server loads this file, so it requires a reboot to apply
2020-05-03 18:01:40 +02:00
Pierre-Hugues Husson
80b949241d
We also want telephony.ims
2020-04-28 17:34:06 +02:00
Pierre-Hugues Husson
3371719f20
[Xiaomi DT2W] Call sendevent on any touchscreen
...
On Redmi Go, there is no gesture_mask or wake_gesture,
no /proc/touchpanel/wakeup_gesture, no /proc/tp_wakeup_gesture, no /proc/tp_gesture
However sendevent works.
FWIW it does have /proc/gesture/onoff, and /proc/gesture/data
2020-04-28 16:55:40 +02:00
Pierre-Hugues Husson
62dcebdd7f
Don't use exec_background, it doesnt exist in a-only oreo devices. Not being background is okay here
2020-04-28 16:55:40 +02:00
Pierre-Hugues Husson
cd327cc850
More props and files to override to fake real firmware for camera
2020-04-28 16:55:40 +02:00
Pierre-Hugues Husson
091c225863
Fix flashlight on S10 lite
...
Thanks @mainey
2020-04-25 20:10:25 +02:00
Pierre-Hugues Husson
53df615cca
More phhsu perms
2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
705afa376d
McTeeKeymaster is actually in vendor/lib/hw/ not vendor/lib
2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
6f2d3e5d29
Never forget access to ourselves
2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
72992a82fd
Try another way to remount /system r/w
2020-04-14 09:50:38 +02:00
Pierre-Hugues Husson
9fe8e103e9
Use media_profiles_vendor on Razer Phone to enable 4k video recording
2020-04-13 20:25:57 +02:00
Pierre-Hugues Husson
c4a41337e2
Allow 10 users/work profiles
2020-04-13 20:13:16 +02:00
Pierre-Hugues HUSSON
001f229374
Merge pull request #177 from theimpulson/android-10.0
...
rw-system: Enforce vendor media_profiles on PL2
2020-04-13 20:12:53 +02:00
theimpulson
7db3ec75c4
rw-system: Enforce vendor media_profiles on PL2
...
*This fixes https://github.com/phhusson/treble_experimentations/issues/379
Signed-off-by: theimpulson <aayushgupta219@gmail.com>
2020-04-13 18:10:55 +00:00
Pierre-Hugues HUSSON
2f8d5331a2
Merge pull request #176 from myst33d/android-10.0
...
Fix long boot on Oreo vendor for Redmi 6A and Redmi 6
2020-04-10 22:18:08 +02:00
Myst33d #RoccoIsCute
0a96913225
Fix long boot on Oreo vendor for Redmi 6A and Redmi 6
2020-04-10 23:17:52 +06:00
Pierre-Hugues Husson
cfaa261e2c
Include vr_hwc. This will make for better VR experience, and fixes compatibility warning on huawei devices
2020-04-05 14:00:25 +02:00
Pierre-Hugues Husson
52c2673998
Include oneplus motor command
2020-04-05 13:42:46 +02:00
Pierre-Hugues HUSSON
e950266b69
Merge pull request #174 from irfanfadilah/andromeda/fingerprint-fix
...
[Mi Mix 3 5G/andromeda] Fix Fingerprint Issue
2020-04-05 11:32:38 +02:00
Pierre-Hugues HUSSON
1dfec7b9a9
Merge pull request #175 from irfanfadilah/andromeda/audio-fix
...
[Mi Mix 3 5G/andromeda] Fix Audio Issue
2020-04-05 11:32:01 +02:00
Irfan Fadilah
c6f89d9340
Fix Andromeda Audio Issue
...
Set `ro.audio.ignore_effects` to `true` for `xiaomi/andromeda`.
Tested on my device by adding it to the `build.prop`.
Ref: https://forum.xda-developers.com/showpost.php?p=82126487&postcount=697
2020-04-05 11:38:51 +07:00
Irfan Fadilah
eb50f7592d
Fix Andromeda Fingerprint Issue
...
Add `uinput-goodix.kl` and `uinput-fpc.kl` to `xiaomi/andromeda`.
Tested on my device by putting both files under `/system/usr/keylayout`.
Ref: https://forum.xda-developers.com/showpost.php?p=82179105&postcount=731
2020-04-05 11:30:36 +07:00
Pierre-Hugues Husson
09a49059a9
Enable navbar by default
2020-04-05 01:40:25 +02:00
Pierre-Hugues Husson
a8c3c6124b
Add persist.sys.phh.no_vendor_overlay property to ignore vendor overlay
2020-04-05 00:55:24 +02:00
Pierre-Hugues Husson
11a2fd96cc
Some devices have broken tsp permissions, even without ear_detect_enable
2020-04-05 00:05:12 +02:00
Pierre-Hugues Husson
01c61a68bb
Disable Samsung malwares preinstalled in /odm partition
2020-04-04 23:57:10 +02:00
Pierre-Hugues HUSSON
64cb608f45
Merge pull request #172 from jumper047/patch-4
...
Sound fix #2 for Redmi Note 8 Pro
2020-04-03 09:13:05 +02:00
jumper047
aea333e6b8
Sound fix #2 for Redmi Note 8 Pro
...
Miss in previous pull request
2020-04-03 02:50:41 +03:00
Pierre-Hugues HUSSON
4ab8565096
Merge pull request #171 from jumper047/patch-3
...
Fix "no sound" issue for Redmi Note 8 Pro
2020-04-02 21:19:23 +02:00
jumper047
ff0e381d51
Fix "no sound" issue for Redmi Note 8 Pro
2020-04-02 22:04:43 +03:00
Pierre-Hugues Husson
4bc2f864df
Fix pm install through a file provided by su
...
See https://github.com/phhusson/treble_experimentations/issues/1214
2020-03-30 23:50:57 +02:00
Pierre-Hugues HUSSON
3199a5e850
Merge pull request #168 from AndyCGYan/huaweiare-ilight
...
Changes to lightsctl-huawei tool
2020-03-30 13:06:12 +02:00
Andy CrossGate Yan
4e2fcbe38d
Changes to lightsctl-huawei tool
...
For https://github.com/phhusson/treble_experimentations/issues/1204
Change-Id: I70655264003190de6c8624e9f63bfea75a09cf61
2020-03-30 18:45:53 +08:00
Pierre-Hugues HUSSON
9e60c42682
Merge pull request #167 from cheah/fix-comparison
...
Fix value comparison in phh-prop-handler.sh
2020-03-26 16:50:44 +01:00
Michael Cheah
740000e786
Fix value comparison in phh-prop-handler.sh
2020-03-26 23:30:57 +08:00
Pierre-Hugues HUSSON
1f1c9b1d0d
Merge pull request #166 from cheah/refactor-oppo-props
...
Move Oppo props into phh-prop-handler.sh
2020-03-26 15:49:48 +01:00
Michael Cheah
1db7e1e1fe
Move Oppo props into phh-prop-handler.sh
2020-03-26 22:41:24 +08:00
Pierre-Hugues Husson
f7981ef123
Yet another broken sw codec2
2020-03-26 11:45:56 +01:00
Pierre-Hugues HUSSON
eeaa31fdd5
Merge pull request #146 from cheah/fix-xiaomi-dt2w-ten
...
[Android 10] [xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W
2020-03-26 09:46:26 +01:00
Michael Cheah
510e1c01d9
[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W
2020-03-26 09:44:58 +08:00
Pierre-Hugues HUSSON
00eefaa01e
Merge pull request #165 from Tuan9304/android-10.0
...
Fix Brightness Realme C1
2020-03-22 12:10:00 +01:00
Tuan9304
c268d86c30
Move to right line
2020-03-22 17:43:28 +07:00
Tuan9304
79462b1c64
Fix Brightness Realme C1
2020-03-22 13:13:54 +07:00
Pierre-Hugues HUSSON
93335b6e59
Merge pull request #164 from Dunedan/reenable-multi-user
...
Re-enable multi user for all devices
2020-03-19 21:21:08 +01:00
Daniel Roschka
29ce153a16
Re-enable multi user for all devices
...
This commit re-enables multiple users for all devices. That's possible
as the system image is too large for Android Go nowadays anyway,
therefore no Android Go builds are available anymore.
This commit also increases the maximum number of users from 4 to 5 as
that's what several hardware already overlays set.
2020-03-19 21:02:42 +01:00
Pierre-Hugues Husson
f620ffc0a8
Some CPH devices have two matches. Take first one
2020-03-19 15:21:01 +01:00
Pierre-Hugues Husson
b07cbb9e07
Disable annoying strict mode by default
2020-03-19 15:21:01 +01:00
Pierre-Hugues HUSSON
f6c5cd7e9a
Merge pull request #163 from Dunedan/show-cell-broadcast-app-links
...
Enable links to cell broadcast app
2020-03-15 22:44:07 +01:00
Daniel Roschka
66a9c57853
Enable links to cell broadcast app
...
This enables links from the settings to the cell broadcast app for
configuring the behavior for received cell broadcasts.
While most hardware overlays already enabled this setting, it's nothing
hardware related, so it makes sense to set here globally for any device.
I'll also open a PR in `vendor_hardware_overlay` to remove the setting
from all overlays there.
2020-03-15 21:19:52 +01:00
Pierre-Hugues Husson
e83a8c3726
Ignore audio efects on all moto
2020-03-15 13:28:59 +01:00
Pierre-Hugues HUSSON
d467acb307
Merge pull request #159 from Dunedan/disable-audio-effects-for-moto-g7play
...
Disable audio effects for Motorola Moto G7 Play
2020-03-15 13:26:26 +01:00
Pierre-Hugues Husson
47ad176aa5
Fix build on arm32 target
2020-03-14 13:58:02 +01:00
Pierre-Hugues HUSSON
00016d4320
Merge pull request #162 from mrgreywater/android-10.0
...
fix brightness flickering for Lenovo Z5s
2020-03-13 17:56:51 +01:00
mrgreywater
c591f08a11
fix brightness flickering for Lenovo Z5s
2020-03-13 17:15:34 +01:00
Pierre-Hugues HUSSON
b060013c57
Merge pull request #161 from mrgreywater/android-10.0
...
Fix dt2w for Lenovo Z5s
2020-03-13 16:36:09 +01:00
mrgreywater
9e58131492
fix dt2w for Lenovo Z5s
2020-03-13 16:23:57 +01:00
Pierre-Hugues Husson
00e24bf520
Another broken Codec 2
...
See https://github.com/phhusson/treble_experimentations/issues/1104
2020-03-12 16:54:44 +01:00
Pierre-Hugues Husson
827a578eec
Some old mediatek devices require to disable Codec2 sw decoding
2020-03-11 17:28:09 +01:00
Pierre-Hugues Husson
cca9f3c06b
Add int parameter to xiaomi-display-feature
2020-03-11 13:57:17 +01:00
Pierre-Hugues Husson
bfa94e3fd7
Use a FLOSS gallery instead of google photos
2020-03-11 13:57:17 +01:00
Pierre-Hugues HUSSON
4f527e92f6
Merge pull request #160 from tinloaf/fix-fingerprint
...
Fix fingerprint
2020-03-11 11:44:33 +01:00
Pierre-Hugues Husson
a3280e50f1
[Realme U1] Fix keymaster, touchpanel and fingerprint
2020-03-10 23:26:20 +01:00
Pierre-Hugues Husson
0031326e7d
Add Oppo fingerprint support, tested on Realme X2 Pro
2020-03-10 23:26:03 +01:00
Lukas Barth
93ce496efc
Simplify mount check
2020-03-10 15:28:32 +01:00
Lukas Barth
494da1a8dc
Fix missing /data/sec_storage_data
2020-03-10 13:09:09 +01:00
Daniel Roschka
962529890f
Disable audio effects for Motorola Moto G7 Play
...
This disables audio effects for the Motorola Moto G7 Play (channel) as
enabled audio effects break audio via Bluetooth.
It requires a separate if-statement in `rw-system.sh`, because
`ro.vendor.build.fingerprint` isn't set for the device.
Relates to: https://github.com/phhusson/treble_experimentations/issues/857
2020-03-07 21:16:05 +01:00
Pierre-Hugues Husson
8f96ae3423
Set ro.separate.phone on realme devices. That is another model number, that is used like by fingerprint HAL to define the position of the Facola. Also trigger the audio speaker init for Realme U1
2020-03-06 18:41:32 +01:00
Lukas Barth
51be51649b
Fix mounts and permissions for sec_storage on Kirin devices
2020-03-04 16:10:28 +01:00
Pierre-Hugues Husson
04583fa95a
Stop whitelisting all oppo devices in the world, and regexp it
2020-03-03 00:58:55 +01:00
Pierre-Hugues Husson
552f710be1
Add persist.sys.phh.oppo.usbotg to toggle usb otg on Oppo/Realme devices
2020-03-01 18:17:18 +01:00
Pierre-Hugues HUSSON
96a1827f2c
Merge pull request #158 from buddi56/android-10.0
...
Added CPH1859 and CPH1861 for DT2W and Brightness fixes
2020-03-01 17:31:25 +01:00
buddi56
1fb4bcbad6
Fixed mistake
2020-02-29 21:38:16 +05:30
Naveen Kumar
3d3450c5da
Adding Brightness and DT2W fix to CPH1859 and CPH1961
2020-02-29 21:33:28 +05:30
Pierre-Hugues Husson
1e340140bf
On Realme devices, trick HAL into exposing all cameras
2020-02-29 16:56:52 +01:00
Naveen Kumar
dda3824e84
Added CPH1859 and CPH1861 for DT2W and Brightness fixes
2020-02-29 18:05:24 +05:30
Pierre-Hugues Husson
3cf77c937c
Add google fingerprint gestures kl
2020-02-27 14:46:38 +01:00
Pierre-Hugues Husson
b914331829
Include phh-remotectl system for remote takeover
2020-02-26 23:59:11 +01:00
Pierre-Hugues Husson
2c385ffbe9
Detect other oppo device, realme 1
2020-02-26 15:29:23 +01:00
Pierre-Hugues HUSSON
6f3bf7ffd1
Merge pull request #157 from timbortnik/securize-basicintegrity
...
Securize basicintegrity
2020-02-23 23:55:50 +01:00
Tim Bortnik
f3d3cb40d4
help-pass-basicintegrity-after-securize
2020-02-23 21:12:17 +02:00
Tim Bortnik
d72a25793e
Merge pull request #1 from phhusson/android-10.0
...
Android 10.0 pull from phh
2020-02-23 21:10:21 +02:00
Pierre-Hugues HUSSON
dd21e100b2
Merge pull request #152 from jumper047/android-10.0
...
[Android 10][Begonia] Fix brightness and fingerprint sensor on Redmi Note 8 Pro
2020-02-22 14:54:48 +01:00
Pierre-Hugues Husson
17a2cc66f3
Add props to control Oppo touchpanel
...
This is needed because /proc/touchpanel is u:object_r:proc:s0
We can't have our own genfscon on it, because we might hit conflicts
2020-02-21 18:02:41 +01:00
Pierre-Hugues Husson
62f63e975d
Include realme rmx1931 detection, set specific kl for dt2w in that case
2020-02-21 16:35:07 +01:00
Pierre-Hugues HUSSON
22df6a9302
Merge pull request #156 from DanijelXDA/patch-1
...
Fix distorted audio bug on GSI images for ginkgo and willow
2020-02-20 22:06:27 +01:00
Danijel Jovanović
e0d0c7ae32
Fix distorted audio bug on GSI images for ginkgo and willow
2020-02-20 21:57:00 +01:00
jumper047
98b219ba1b
Fix fingerprint behavior
2020-02-20 21:22:39 +03:00
jumper047
f1757adf2e
Simplify begonia regexp
2020-02-20 21:21:45 +03:00
Pierre-Hugues HUSSON
0ba57d9364
Disable libpdx_default_transport unconditionally
...
Because of new VNDK restrictions of Android 10, there is no way that a /vendor/lib/libpdx_default_transport.so work in any way
2020-02-20 18:15:38 +01:00
Myst33d
caa9ad2e3b
Disable libpdx_default_transport uncoditionally
2020-02-20 22:28:35 +06:00
Myst33d
c198bdb1b6
Fix camera for cactus and cereus
2020-02-20 22:19:11 +06:00
Pierre-Hugues HUSSON
7f566c1c24
Merge pull request #154 from myst33d/android-10.0
...
Fix distorted sound for cactus and cereus
2020-02-20 14:43:39 +01:00
Myst33d
a35833ed12
Fix distorted sound for cactus and cereus
2020-02-20 19:39:40 +06:00
jumper047
e64d63c5e9
Fix begonia regexp
2020-02-20 07:50:02 +03:00
jumper047
da2e7c8937
Fix brightness on Redmi Note 8 Pro
2020-02-19 22:54:17 +03:00
Pierre-Hugues HUSSON
1966aaaa9e
Merge pull request #149 from SamarV-121/patch-1
...
Enable latch_unsignaled on exynos devices
2020-02-19 14:28:43 +01:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
7b8beb01ed
Enable latch_unsignaled on exynos devices
...
ro.hardware=exynos* on some samsung devices
eg. Samsung Galaxy M20
2020-02-19 18:20:20 +05:30
Mehran Kholdi
da0775f9ee
Add Redmi 7 - onc(lite) to fingerprint input events blacklist
2020-01-21 22:59:36 +01:00
Peter Cai
3bc733f431
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-01-20 09:25:41 +01:00
Pierre-Hugues HUSSON
7edfd64f30
Merge pull request #145 from cheah/add-flag-for-old-mnc-format
...
Set persist.sys.phh.radio.use_old_mnc_format for polaris and whyred
2020-01-16 23:34:05 +01:00
washinson
21cbb9b4c4
Fix dualsim for some Huawei phones ( #143 )
...
* Fix dualsim for some Huawei phones
Huawei P20 Lite doesn't have /odm/phone.prop, we must use /vendor/phone.prop
2020-01-14 10:40:43 +01:00
Michael Cheah
a406582117
Set persist.sys.phh.radio.use_old_mnc_format for polaris and whyred
2020-01-11 19:36:06 +08:00
Pierre-Hugues HUSSON
2a42bd0ed2
Merge pull request #141 from eremitein/android-10.0
...
[daisy] revert camera in DnD fix
2020-01-07 20:57:50 +01:00
Pierre-Hugues Husson
54e5742154
Fix typo, see MR 137
2020-01-07 19:26:09 +01:00
Victor Bo
89c0602a99
rw-system: set latch_unsignaled for 'daisy' too
...
modified: rw-system.sh
2020-01-07 06:20:38 +05:00
Victor Bo
26416f43df
[daisy] revert camera in DnD fix
...
* camera works fine in DnD mode without this fix in v204 and in v121 too
not need this fix for daisy anymore
modified: rw-system.sh
2020-01-07 06:12:30 +05:00
Pierre-Hugues HUSSON
bf3df8faaa
Merge pull request #140 from PeterCxy/patch-sprd-adf
...
fix adf display devices on Spreadtrum devices for Android 10
2020-01-02 16:24:21 +01:00
Peter Cai
7e0e808d09
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-01-02 09:44:18 +08:00
Pierre-Hugues HUSSON
ae1bda5715
Merge pull request #137 from J0SH1X/patch-1
...
Fix Redmi 8 brightness scale
2019-12-24 21:57:20 +01:00
J0SH1X
666cc1ce4b
Fix Redmi 8 brightness scale
2019-12-24 20:52:47 +01:00
Pierre-Hugues HUSSON
18b20430fb
Merge pull request #135 from lead4good/android-10.0
...
fix: mia3 brightness scale
2019-12-22 15:32:51 +01:00
lead4good
4a58bf9c70
fix: mia3 brightness scale
2019-12-22 11:55:41 +01:00
Pierre-Hugues Husson
1cba9701de
Add lightsctl-seh for new light control hal of samsung
2019-12-16 21:01:24 +01:00
Pierre-Hugues HUSSON
33e906838c
Merge pull request #133 from XavierWrz/patch-2
...
Fix for broken OpenGL ES on old Snapdragon devices
2019-12-13 18:16:45 +01:00
Pierre-Hugues Husson
1cb1975ec1
Test cmd for vendor.goodix.extend.service
2019-12-13 10:08:16 +01:00
Whatz
0d78085110
Possible fix for OpenGL bug
...
Working in moto e5, please feedback
2019-12-10 13:17:16 -03:00
Pierre-Hugues HUSSON
67154089dd
Merge pull request #132 from lead4good/android-10.0
...
fix: add sound support for xiaomi a3
2019-12-09 08:50:16 +01:00
Frieder Paape
18d605c436
fix: add sound support for xiaomi a3
2019-12-09 08:43:16 +01:00
Pierre-Hugues Husson
ae85f36fcb
Add support for Huawei's phone.prop
...
Reference is https://github.com/LineageOS/android_device_huawei_kirin970-common/blob/lineage-16.0/init/init_kirin970.cpp
2019-12-09 00:54:05 +01:00
Pierre-Hugues Husson
ad57918dbc
Use system-provided remount command, and remove properly superuser app
2019-12-08 21:36:47 +01:00
Pierre-Hugues Husson
9f9ede3158
Reset system props as well. Also fix SPL keymaster priority
2019-12-08 21:07:32 +01:00
Pierre-Hugues HUSSON
b3b7aea404
Merge pull request #130 from XavierWrz/patch-1
...
Fixing animations issues in Moto E5/Moto E5 Plus
2019-12-08 18:42:29 +01:00
Whatz
fdc9e8cfb1
Fixing animations issues in Moto E5/Moto E5 Plus
2019-12-08 14:30:35 -03:00
Pierre-Hugues Husson
060b3f9954
Workaround broken OpenGL ES on old Snapdragon devices
...
Thanks @XavierWrz
2019-12-08 17:09:40 +01:00
Pierre-Hugues Husson
aca36f1b1c
Detect whether vendor has an hostapd by checking manifest
2019-12-06 21:34:44 +01:00
Pierre-Hugues Husson
e0c0285eb2
Fix huawei touchscreen hal for treble app (used for glove mode)
2019-12-04 23:42:44 +01:00
Pierre-Hugues Husson
2069acbbc1
Add android.hidl.manager@1.0 lib. This is used by treble app to detect hostapd presence
2019-12-04 23:42:15 +01:00
Pierre-Hugues Husson
21d7520d20
Fix fingerprint gestures on huawei pie vendor
2019-12-04 23:24:51 +01:00
Pierre-Hugues Husson
60c6c8f9ed
Reset LD_PRELOAD. Mediatek puts annoying non-working libcoredump in there, ignore it
2019-12-04 20:38:40 +01:00
Pierre-Hugues HUSSON
23f8d4bdc2
Merge pull request #129 from YaAlex3/android-10.0
...
Fix backlight on Redmi 7A (pine) [Ten]
2019-12-02 23:05:34 +01:00
Alexander
48b76745c4
Fix backlight on Redmi 7A (pine)
2019-12-03 00:46:39 +03:00
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
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
Pierre-Hugues Husson
31386d8037
Update sepolicy to allow more stuff based on S10e testing
2019-07-17 20:12:47 +02:00
Pierre-Hugues Husson
f7c1c61c74
[Samsung] Disable security.proca (kills su when run)
2019-07-17 20:12:47 +02:00
Pierre-Hugues Husson
4b1aea0437
Force lawnchair instead of AOSP launcher
2019-07-03 09:21:17 +02:00
Pierre-Hugues HUSSON
6110dd3f78
Merge pull request #113 from eremitein/android-9.0
...
fp-gestures: don't change if exists
2019-06-20 23:31:12 +02:00
Pierre-Hugues Husson
7c94ba9902
Add lightsctl-huawei to test huawei brightness control
2019-06-14 00:14:40 +02:00
Pierre-Hugues Husson
9fcb8428ac
Add persistprops
to edit persistent properties offline
2019-06-14 00:14:40 +02:00
Pierre-Hugues Husson
9b40bccd82
If ro.hw.oemName isn't set, set it from sku
...
cf https://github.com/phhusson/treble_experimentations/issues/533
2019-06-12 15:41:25 +02:00
Victor Bo
ef78cb7a99
fp-gestures: don't change if exists
...
bad idea to delete users changes after reboot
no need to anger users:)
modified: rw-system.sh
2019-06-11 05:03:54 +00:00
Pierre-Hugues Husson
05e6d4b94f
Add oneplus-motor command
2019-06-10 23:54:23 +02:00
Pierre-Hugues Husson
1a2c9165c8
Update phhgsi_arm64_a system.img size to match Huawei P9
...
Fixes https://github.com/phhusson/treble_experimentations/issues/546
2019-06-10 10:42:35 +02:00
Pierre-Hugues HUSSON
28c40a5e3f
Merge pull request #112 from AndyCGYan/fix-redmik20pro
...
Fixes for Xiaomi Redmi K20 Pro (raphael)
2019-06-06 08:16:58 -07:00
AndyCGYan
91cd65dcdc
Build xiaomi-motor
...
Serves as a manual/intermediate solution to https://github.com/phhusson/treble_experimentations/issues/539
Change-Id: Ia334f7d106b121014c791b0edb06b59a0eef3580
2019-06-06 06:48:26 +00:00
AndyCGYan
1747067d80
Fix sound on raphael
...
https://github.com/phhusson/treble_experimentations/issues/541
Change-Id: I3f5b6d0fb67e2a14a7f16f43ac9ee2e32076ea9b
2019-06-06 06:45:47 +00:00
Pierre-Hugues Husson
819cbe360d
Helper to debug xiaomi motorized camera
2019-06-03 10:08:48 +02:00
Pierre-Hugues HUSSON
7052b96cea
Merge pull request #111 from darkestDark/darkestDark-patch-1
...
Prevent Brightness Flickering Bug on Redmi Note 7
2019-06-03 09:10:08 +02:00
darkestDark
2c29f204fc
Prevent Brightness Flickering Bug on Redmi Note 7
...
Add the Device to the List, which gets the prop persist.sys.qcom-brightness set.
2019-06-03 06:53:40 +02:00
Pierre-Hugues Husson
47062277a4
Add cereus in the no sound effects list
...
https://forum.xda-developers.com/showpost.php?p=79568310&postcount=1998
2019-05-22 20:43:18 +02:00
Pierre-Hugues Husson
f95b7236bd
In addition to null-mounting soundfx, also set property to disable effects (should both have the same effects)
2019-05-22 20:41:25 +02:00
Pierre-Hugues Husson
453790be16
Add tulip in qcom backlight
2019-05-20 23:35:16 +02:00
Pierre-Hugues Husson
fdb303e941
Add tulip in fingerprint input events blacklist
2019-05-20 23:32:56 +02:00
Pierre-Hugues Husson
8441ef413f
Fix https://github.com/phhusson/treble_experimentations/issues/121
2019-05-18 21:08:13 +02:00
Pierre-Hugues HUSSON
b730a1c14b
Merge pull request #109 from folokorom-gsi/android-9.0-grus
...
Add Xiaomi Mi 9 SE for soundfx mess
2019-05-18 13:08:54 +02:00
AndroPlus
d7a9514ccd
Add Xiaomi Mi 9 SE for soundfx mess
2019-05-18 19:06:32 +09:00
Pierre-Hugues Husson
31eac57426
Additional way to find a specific msm model (seen on Redmi Go)
2019-05-16 22:04:58 +02:00
Pierre-Hugues HUSSON
85d4e98941
Merge pull request #103 from tytydraco/android-9.0
...
Disable broken led:torch_2 trigger on Mi A2 / Mi 6X
2019-05-06 22:10:38 +02:00
Pierre-Hugues HUSSON
46b9a683ff
Merge pull request #108 from cheah/disable-fp-button-whyred
...
Disable fingerprint button on whyred
2019-05-06 15:58:04 +02:00
Michael Cheah
99e13e7d1a
Disable fingerprint button on whyred
2019-05-06 21:53:00 +08:00
Pierre-Hugues Husson
d06769c042
Add G6 Play for soundfx mess
2019-05-05 19:45:48 +02:00
Pierre-Hugues Husson
164e73b49c
Nubia RedMagic needs backlight thingy
2019-05-04 18:04:21 +02:00
Pierre-Hugues Husson
75a2e0f64f
Set audio rotation on Samsung + Razer
2019-05-03 23:47:33 +02:00
Pierre-Hugues HUSSON
04ed4ac7fd
Merge pull request #104 from penn5/patch-7
...
Add wayne to audio.camerasound.force
2019-04-24 11:00:11 +02:00
penn5
6f767efce1
Add wayne to audio.camerasound.force
...
fixes https://github.com/phhusson/treble_experimentations/issues/161
2019-04-24 09:47:32 +01:00
Pierre-Hugues Husson
4e4f1cd715
Add a64_ab device (hello arm pie vendors)
2019-04-24 08:56:27 +02:00
Tyler Nijmeh
c1c1e8600b
Disable broken led:torch_2 trigger on Mi A2 / Mi 6X
...
At the moment, both led:switch_1 and led:torch_2 are both linked to the
front facing camera torch. Xiaomi's stock Pie vendor for devices jasmine
and wayne (Mi A2 and Mi 6X, respectively) mistakingly hooks these nodes
incorrectly, causing the front facing camera torch to default to a
brightness level of 90. However, after a single photo is taken, the
torch turns off temporarily until either A) the camera is closed and
reopened or B) the camera app requests the flash to trigger.
To circumvent the issue with Xiaomi's stock pie vendor blobs, we can
disable the led:torch_2 trigger, and allow led:switch_1 to handle it.
Test: Run the desired command on boot and observe the default front
facing camera torch state.
Test: Ensure Snapchat and Open Camera default to flash being disabled
for the front facing camera torch.
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
2019-04-22 16:20:05 -07:00
Brian Wang
4f40b50e9f
Decrease system partition size for arm_a images so it fits in for more devices
2019-04-18 21:42:11 +02:00
Pierre-Hugues Husson
eaacc3accc
Remove global libeffects sed. Breaks many devices, and is actually needed only on moto
2019-04-08 13:29:07 +02:00
Pierre-Hugues Husson
afae0a4d6f
Add few debug commands
2019-03-31 19:41:09 +02:00
Pierre-Hugues Husson
f00f7f4402
Samsung pie vendors arent happy with my edits. Disable them until it is fixed
2019-03-31 18:57:41 +02:00
Pierre-Hugues Husson
3f4e811d2e
Remove mtk/ussd fix from vndk-detect. It is plain wrong (property doesnt exist)
2019-03-31 17:37:37 +02:00
Pierre-Hugues Husson
db12985a31
Set ussd fix on mtk-ril
2019-03-31 17:37:13 +02:00
Pierre-Hugues Husson
63eaf64710
Fix sound on cepheus
2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
b1a230c0e5
Pedantic shellcheck
2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
d3ac3f55d5
Cepheus also has an AI key
2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
8cc37bb205
Rewrite qualcomm chi to read real manufacturer. makes enabling aux cams easier
2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
d322b4157b
Switch from ASSIST to VOICE_ASSIST
2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
76c81a45ed
Allow treble_app to set camera-HAL related properties
2019-03-20 23:57:06 +01:00
Pierre-Hugues Husson
52d4d73146
Include sim toolkit app
2019-03-14 12:59:54 +01:00
Pierre-Hugues Husson
5d34610de1
Call service only if we got it
2019-03-07 22:28:19 +01:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
69f230df9c
Fix low brightness issue on realme 2 pro
2019-03-04 22:05:34 +01:00
Pierre-Hugues Husson
c97cc4c507
shfmt -i4 -w
2019-03-04 22:01:39 +01:00
Pierre-Hugues Husson
a8b1cfb7cb
Add pettyl and james in the list of borked moto devices
2019-03-04 21:56:20 +01: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
1cf540004d
Also check pie manifest
2019-03-02 15:38:45 +01:00
Pierre-Hugues Husson
4cec494b21
Fix audio hal crash on moto
2019-03-02 14:46:33 +01:00
Pierre-Hugues Husson
908dd917b6
Fix incoming SMS and mobile data on MT6379
2019-02-26 23:15:51 +01:00
Pierre-Hugues Husson
21f2aacfd7
Reenable in-call mute fix for huawei
2019-02-17 13:18:57 +01:00
Pierre-Hugues Husson
63bacaf3bf
Add Moto evert/jeter/aljeter for soundfx workaround
2019-02-14 17:29:15 +01:00
Pierre-Hugues Husson
2b623795c1
yet another error...
2019-02-14 10:29:23 +01:00
Pierre-Hugues HUSSON
a2bc4e2e73
Merge pull request #95 from suwakowww/9.0-fpkey-sakura
...
Add sakura to fpkey patch
2019-02-13 10:45:04 +00:00
suwakowww
eace5d9fac
add sakura to fpkey patch
2019-02-13 14:30:09 +08:00
Pierre-Hugues HUSSON
05a001d7ef
Merge pull request #93 from v555574/android-9.0
...
Fixed Snapdragon 425 detection on Asus.
2019-02-11 13:19:36 +00:00
v555574
1173f56c80
Fixed Snapdragon 425 detection on Asus.
2019-02-11 16:06:02 +04:00
Pierre-Hugues HUSSON
effd0207fd
Merge pull request #89 from eremitein/android-9.0
...
[xiaomi mi a2 lite] fix fingerprint gestures
2019-02-07 00:34:38 +01:00
Victor Bo
22004cf22b
[xiaomi mi a2 lite] fix fingerprint gestures
...
fix for fingerprint gestures like an another Xiaomi devices
2019-02-07 04:21:46 +05:00
Pierre-Hugues Husson
f225a4336a
typo
2019-02-06 00:52:54 +01:00
Pierre-Hugues HUSSON
9492b953b4
Merge pull request #86 from TadiT7/pie
...
Dehardcode status_bar_height in NoCutout overlay
2019-02-05 00:55:12 +01:00
Tadi
17c3643d02
Dehardcode status_bar_height in NoCutout overlay
2019-02-05 00:46:07 +01:00
Pierre-Hugues HUSSON
554a4eca13
Merge pull request #83 from penn5/patch-5
...
Fix camera in DND on Daisy
2019-02-05 00:21:08 +01:00
Pierre-Hugues HUSSON
e13ff81289
Merge pull request #77 from penn5/patch-2
...
Fix offline charging on huameme
2019-01-30 20:04:36 +01:00
Hackintosh 5
888725c0ed
Fix camera in DND on Daisy
...
It's an ugly workaround...
2019-01-30 14:58:34 +00:00
Pierre-Hugues Husson
01f68a446b
Add vibrator-lge debug toy
2019-01-29 22:22:15 +01:00
Pierre-Hugues Husson
1423f94c17
Fix headphone and ril on Samsung qualcomm devices
2019-01-26 11:37:05 +01:00
Dil3mm4
cbf5a7891f
Add MTK for USSD Fix
2019-01-26 11:37:05 +01:00
Pierre-Hugues Husson
4484ddd7f8
Try to fix Samsung boot with safedex
2019-01-26 11:37:04 +01:00
Pierre-Hugues Husson
7282bfa7ab
Qualcomm samsung devices dont use devinput
2019-01-25 16:51:31 +01:00
Pierre-Hugues Husson
9716bf8591
Be compatible with AOSP master BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE
...
In that case, don't enforce system image size
We will need to implement after build checks to ensure we still work on
older devices
2019-01-17 15:49:46 +01:00
Pierre-Hugues Husson
70874ebb27
Merge branch 'wh0dat-patch-1' of https://github.com/wh0dat/device_phh_treble into android-9.0
2019-01-17 00:45:16 +01:00
Pierre-Hugues HUSSON
1b45c55c52
Merge pull request #79 from timbortnik/mimax3-nitrogen-fixes
...
xiaomi-mimax3-fix
2019-01-16 19:10:22 +01:00
Tim Bortnik
2acc50decb
xiaomi-mimax3-fix
2019-01-15 21:24:21 +02:00
Pierre-Hugues HUSSON
31cfcc61d4
Merge pull request #78 from SKULSHADY/patch-1
...
Fix Havoc-OS common.mk path
2019-01-15 10:45:49 +01:00
wh0dat
c3d94dd9ce
Added support for Motorola / Hannah
...
Thanks
2019-01-15 02:39:28 -06:00
Hackintosh 5
229c7d998b
Fix bug
2019-01-14 17:09:57 +00:00
Anushek
700fd177f5
Fix common.mk path
2019-01-13 13:20:08 +05:30
Hackintosh 5
3edd4b1605
Makefile configuration for huawei charger
2019-01-11 19:05:42 +00:00
Hackintosh 5
e971fe6815
Add files for charge-only-mode on Huawei
2019-01-11 18:24:39 +00:00
Pierre-Hugues Husson
26a5b8fd13
Fix syntax
2019-01-08 14:39:22 +01:00
Pierre-Hugues HUSSON
4456ea4716
Merge pull request #76 from penn5/patch-1
...
Try to fix NFC on Huameme
2019-01-08 10:19:39 +01:00
Pierre-Hugues Husson
77071ff700
Bigger arm_a system.img
2019-01-07 22:16:32 +01:00
Hackintosh 5
e74f050278
Fix newlines
2019-01-04 16:53:52 +00:00
Hackintosh 5
fb31ebd929
Remove useless implementation and move upwards so that github no longer thinks there are merge conflicts
2019-01-04 16:52:15 +00:00
Hackintosh 5
6f52d92fee
Use phh's style
...
eww
2019-01-04 16:45:59 +00:00
Hackintosh 5
a0c35d242e
Fix for some devices
2019-01-04 16:36:15 +00:00
Hackintosh 5
e31f9ceec8
Revert "Add more specific check for correct model"
...
This reverts commit 91a4066603
.
2019-01-04 15:46:51 +00:00
Hackintosh 5
91a4066603
Add more specific check for correct model
2019-01-04 15:28:22 +00:00
penn5
e3c3f6cec2
Add huawei nfc fix
...
thanks to @haky86 👍
2019-01-04 14:01:47 +00:00
penn5
3c9d658c9b
Update base.mk
...
Copy libnfc-nci-huawei.conf
2019-01-04 14:01:47 +00:00
penn5
8be61ce138
Create libnfc-nci-huawei.conf
2019-01-04 14:01:44 +00:00
Pierre-Hugues Husson
21abdd8ad1
Fix Moto soundfx detection
2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
ffbb81e84e
Add (commented) debug mode for rw-system.sh
2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
251a51e6cf
More permissions for phhsu_daemon selinux context
2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
5570d9a362
Add Moto E5 for soundfx disablers
2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
c36e655745
On Exynos 7870, use old ABI behaviour for RILd
2019-01-04 01:11:06 +01:00
Pierre-Hugues Husson
652a658f83
Add Xiaomi Redmi S2, xiaomi/ysl
2018-12-28 16:33:23 +01:00
Pierre-Hugues Husson
5fd62bb4e7
Add op-fp command to debug op6t fingerprint
2018-12-27 14:46:19 +01:00
Pierre-Hugues Husson
97c4452e48
Also chown /data/misc/wifi/hostapd.conf
...
It has been seen on some devices (Huawei Y6) that the file is created by
something else than us to wifi:wifi, which means treble_app can't change
that file.
2018-12-27 10:46:21 +01:00
Pierre-Hugues Husson
b421352529
Refactor Huawei detections. Hopefully it won't break stuff
2018-12-26 22:54:22 +01:00
Pierre-Hugues HUSSON
7f119746df
Merge pull request #74 from suwakowww/9.0-fix-equuleus
...
Fix broken sound for equuleus
2018-12-26 10:23:44 +01:00
suwakowww
ad9b1b6b9f
fix margin
2018-12-26 11:49:49 +08:00
suwakowww
bcdbba8a0c
fix broken sound for equuleus
2018-12-26 11:47:37 +08:00
Pierre-Hugues HUSSON
b1f0485587
Merge pull request #73 from jamuir/android-9.0
...
Make audio jack work on LG V40 ThinQ
2018-12-21 18:58:10 +01:00
James Muir
b0ddf1a61d
Make audio jack work on LG V40 ThinQ
2018-12-21 12:18:01 -05:00
Pierre-Hugues HUSSON
789832c99e
Merge pull request #70 from TadiT7/patch-2
...
Fix the qs glitch on displays under sw372dp
2018-12-20 00:05:06 +01:00
Tadi
d398e2bb43
Fix the qs glitch on displays under sw372dp
2018-12-19 23:47:13 +01:00
Pierre-Hugues HUSSON
09698c064e
Merge pull request #69 from TadiT7/intopr
...
Use 28dp statusbar in NoCutout overlay
2018-12-19 22:22:49 +01:00
Tadi
7f4c2d2a2a
Use 28dp statusbar in NoCutout overlay
...
All other cutout emulation overlays use this value and all of the known devices with notch are of 2:1 ratio or higher, so it makes ergonomical sense. Also helps with rounded corners.
2018-12-19 21:35:39 +01:00
Pierre-Hugues Husson
69541d380d
[Sony Xperia (XZ1)] Fix brightness. Partial support for camera button
2018-12-16 22:04:04 +01:00
Pierre-Hugues Husson
25e6438ba5
Update twrp.sh OTA with xz and sparse image support
2018-12-09 23:24:26 +01:00
Pierre-Hugues Husson
14d7c12a97
Enable old hwui path for msm8917/37/40
2018-12-03 22:40:34 +01:00
Pierre-Hugues Husson
dd40ddcf1c
Merge branch 'android-9.0-mix3' of https://github.com/AndroPlus-org/device_phh_treble into android-9.0
2018-12-03 22:07:10 +01:00
Pierre-Hugues Husson
92db7539d0
Fix bootanim for some MTK devices
2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
2a5a8a8428
[phh-su] Makes su usable on devices without permissive context
2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
71cea41aa0
Install lightsctl and uevent debugging tools by default
2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
82aeb3d402
Fix adbd on devices with integrity check
...
Some devices (Like Samsung Galaxy J6) has integrity check.
This means that all files outside of /system are signed by the OEM.
Since we replaced /sbin/adbd, that's an issue.
Workaround this by creating a new service, called adbd_system, which
will called instead of /sbin/adbd when needed
2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
c2b6687a5a
Force ro.logd.auditd to true (set to false by Samsung vendor)
2018-12-03 22:06:32 +01:00
Pierre-Hugues Husson
07e05336c5
Commit fail
2018-12-03 22:06:32 +01:00
Pierre-Hugues HUSSON
e4d017d370
Merge pull request #67 from suwakowww/9.0-fix-platina
...
Fix flickering brightness, broken sound and fingerpeint key for platina
2018-12-03 22:02:35 +01:00
suwakowww
3badf7271b
revert to single line
...
I don't know why it will cause boot failed.
2018-11-29 16:04:09 +08:00
suwakowww
8d9236805e
Update rw-system.sh
...
for platina
2018-11-29 08:37:48 +08:00
Pierre-Hugues HUSSON
9624f7053e
Merge pull request #63 from TadiT7/fix90
...
Fix everything about NoCutout overlay
2018-11-24 16:20:17 +01:00
AndroPlus
8e84551653
Set key as assist for Mi MIX 3
2018-11-23 21:14:55 +09:00
AndroPlus
c3faca50d5
Fix fingerprint touch on Mi MIX 3
2018-11-23 20:37:18 +09:00
AndroPlus
ebce78113a
Add keylayout to use additional button on Mi MIX 3
...
AI button is useless in AOSP, so use it as camera key instead
2018-11-23 20:35:46 +09:00
Pierre-Hugues Husson
c0ba937fd5
Revert "Also set build display id in etc/local.prop"
...
This reverts commit ab0defc922
.
It didn't work
2018-11-21 10:07:08 +01:00
Tadi
56ebc198e8
Fix everything about NoCutout overlay
2018-11-19 19:49:00 +01:00
Pierre-Hugues Husson
ab0defc922
Also set build display id in etc/local.prop
2018-11-18 22:36:00 +01:00
Pierre-Hugues Husson
a605776eb2
Ignore vendor/etc/audio/* files (fixes audio for stupid CAF-based ROMs)
2018-11-18 22:36:00 +01:00
Pierre-Hugues Husson
296574000c
Add phhgsi_a64_a for arm32 devices with 64bits binder
2018-11-18 22:36:00 +01:00
suwakowww
45e3d29136
add redmi note 5 (untested)
...
reported here: https://github.com/phhusson/treble_experimentations/wiki/Xiaomi-Redmi-Note-5---Note-5-Pro-%28India%29
2018-11-18 21:20:37 +01:00
suwakowww
db77967142
add sakura and nitrogen to 12bit backlights
2018-11-18 21:20:37 +01:00
Enes Sastim
10d312ae87
create AEX makefile
2018-11-18 19:43:10 +01:00
Pierre-Hugues HUSSON
29cd139a53
Merge pull request #61 from solinium/android-9.0
...
add jasmine_sprout fp (experimental)
2018-11-11 22:38:13 +01:00
Alexander Gujral
1b84d4defc
remove camera section
2018-11-11 16:35:44 -05:00
Alexander Gujral
c5afa54a51
add jasmine_sprout fp (experimental)
...
adding jasmine_sprout (Mi A2) for fingerprint files, should be same hardware as wayne
2018-11-11 14:05:07 -05:00
Pierre-Hugues Husson
e5c1052d1a
Add Xiaomi Mi Mix 3 in soundfx blacklist
2018-11-10 13:51:16 +01:00
Tadi
1d3bc574ef
Add universal NoCutoutOverlay
2018-11-08 21:00:11 +01:00
Yunus İşleyen
86bc69de19
[Huawei P20 lite] Add workaround for laggy overview
2018-11-08 19:23:30 +01:00
Pierre-Hugues Husson
31e189a7d0
Add floating_feature.xml overwrite for S9/N9. Currently it declares Stereo feature
2018-11-06 20:58:37 +01:00
Pierre-Hugues Husson
0a49ccd8c0
Add additional mtk path
2018-11-06 20:28:18 +01:00
Pierre-Hugues Husson
d13c4ff8d8
[Galaxy S/Note 9] Add workaround for laggy Recent apps (still unclear why)
2018-11-04 23:36:25 +01:00
Pierre-Hugues Husson
67839a24e2
[Galaxy Note 9] Fix improper S-Pen rotation
2018-11-04 18:20:25 +01:00
Asureus
a1f4707dec
Fix mixed FPC and Goodix sensors in Xiaomi Devices
2018-10-30 22:54:22 +01:00
James Muir
0874fd8bc3
Add missing "="
...
Fix the base64 encoded of the x509 cert for Google Webview.
You can check this by doing a base64-decode and then using openssl:
openssl x509 -in gwv.der -inform DER -text -noout
2018-10-10 10:31:21 +02:00
Pierre-Hugues Husson
45587b3091
Pie changed product property. use vendor fingerprint
2018-10-08 22:39:42 +02:00
Pierre-Hugues Husson
b10bbe19e6
Add Moto G6 in soundfx list
...
Fixes https://github.com/phhusson/treble_experimentations/issues/184
2018-10-05 23:04:15 +02:00
suwakowww
6593b10836
add fp key patch for wayne/jasmine
...
wayme and jasmine has two types fingerprint (fpc and goodix)
2018-10-03 17:36:20 +02:00
Pierre-Hugues Husson
5b04034d90
Include back fingerprint.kl, which has been removed after vendor/hardware_overlay cleanup
2018-10-02 23:56:42 +02:00
Pierre-Hugues Husson
15e037c977
Add uevent tool to dump uevent events
2018-10-01 10:54:12 +02:00
Pablo
3f8686cdd9
Ignore vendor SysuiDarkThemeOverlay.apk
...
Fixes buggy dark theme on jasmine
2018-09-29 13:39:06 +02:00
Pierre-Hugues Husson
2a042c184f
Add "lightctl" tool to debug light HAL from root adb
2018-09-28 20:16:10 +02:00
Pierre-Hugues HUSSON
87b0d3de22
Merge pull request #45 from Dil3mm4/android-9.0
2018-09-27 17:05:37 +02:00
Dil3mm4
f489554e06
Huawei: Changing USB configuration to avoid HiSuite wasn't enough
2018-09-27 15:02:47 +00:00
Dil3mm4
4c768bd042
Huawei: Remove QC properties since Treble App it's now handling them
2018-09-27 15:02:47 +00:00
Dil3mm4
7fef1cb78b
Huawei: set persist props to use platform specific fixes
2018-09-27 15:02:47 +00:00
suwakowww
ec9d31fc7a
Fix camera flash on Mi 6X / A2 ( #46 )
...
https://github.com/phhusson/treble_experimentations/issues/169
2018-09-26 12:01:10 +02:00
Pierre-Hugues Husson
1d4c8d2860
Add LG G7 Thinq for dev input jack
2018-09-19 14:55:16 +02:00
Pierre-Hugues Husson
6c4761261b
Give back hostapd access to wifi_data_file
2018-09-19 13:46:22 +02:00
Pierre-Hugues Husson
57ba266b91
Ugly: Give TrebleApp write accesss to wifi configuration file
...
As part of O/O-MR1 vendor support for hostapd, an in-app IHostapd
implementation has been done. This needs to write to
/data/misc/wifi/hostapd.conf
/data/misc/wifi is originally in P writable only by wifi/wifi.
There is no easy way to gain "wifi" group access (though can be done
through platform.xml) from an app.
At the moment, all services requiring access to /data/misc/wifi are
running user "wifi", so this change is okay for the moment.
2018-09-19 10:39:47 +02:00
Pierre-Hugues Husson
bb48e2b0fc
https://github.com/phhusson/device_phh_treble/pull/39
2018-09-18 17:38:36 +02:00
Pierre-Hugues Husson
3a68ec19bc
Declare framework-side hostapd (will be done by treble app)
2018-09-18 16:44:06 +02:00
Pierre-Hugues Husson
7e04bf3113
typo
2018-09-18 16:25:34 +02:00
Pierre-Hugues Husson
b544b15e68
Get back to allowing "rild" universally
...
This requires to drop a checkpolicy, because checkpolicy doesn't allow
multiple identical domains definition, and "rild" will be defined both
in system and vendor.
This isn't optimal, but that's still the best solution I've found.
2018-09-18 11:16:19 +02:00
Pierre-Hugues Husson
f446ad7290
Revert "Fix qti in-call audio on P vendor"
...
This reverts commit ef2dd1fb34
.
This commit doesn't fix anything
2018-09-18 11:06:12 +02:00
Pierre-Hugues Husson
23fcb00111
Ignore vendor ims.apk if it uses Oreo APIs
2018-09-17 16:18:55 +02:00
Pierre-Hugues Husson
61f745995c
Replace libnfc-nci.conf with Oreo's on Oreo vendor devices
...
As of pie the previous PRODUCT_COPY_FILES line was ignored because
it got copied from device/generic/common/nfc/libnfc-nci.conf instead
2018-09-17 14:10:29 +02:00
Pierre-Hugues Husson
07a370207f
Drop the set -e, it is becoming too complicated to ensure it works
2018-09-17 14:09:59 +02:00
Pierre-Hugues Husson
515a55ee1d
Delete Huawei Quickcharge init.rc scripts. It is now handled by Treble app
2018-09-17 14:09:30 +02:00
Pierre-Hugues Husson
051edbe6d7
Include wifi.hostapd hal to be implemented in java
2018-09-17 14:09:30 +02:00
Pierre-Hugues Husson
7c693d79cb
When integrating phh-su, include me.phh.superuser
2018-09-17 14:09:30 +02:00
Arseniy Graur
c34bc786ac
Disable fingerprint "button" on Mi 8
2018-09-16 12:42:26 +02:00
Pierre-Hugues Husson
463ca03eac
Disable fingerprint "button" on Mi 8 SE as well
...
Reported at https://forum.xda-developers.com/showpost.php?p=77620503&postcount=591
2018-09-14 21:09:02 +02:00
Pierre-Hugues Husson
3f1fb0d20b
OP6: Keylayout to support dt2w
2018-09-10 00:32:11 +02:00
Pierre-Hugues Husson
e064c6f310
Samsung has two android.hardware.power HAL. Take appropriate one.
...
Samsung includes both stock AOSP android.hardware.power service, and
their own vendor.samsung.hardware.miscpower.
Since the two HALs define the same full-qualified name, hwservicemanager
takes whichever comes last.
Using proper power HAL is needed for Samsung device to have proper sleep
of the touchscreen, and better power handling.
2018-09-09 21:53:31 +02:00
Alessandro Eppacher
229e74b438
Fix Xiaomi sound distortion on all devices
...
fix to remove entire lib64/soundfx directory, remove lib/soundfx as well
2018-09-08 19:21:29 +02:00
Alessandro Eppacher
64063c77c4
Fix typo in pocophone vendor fingerprint
2018-09-07 08:09:46 +02:00
sanshu
ef2dd1fb34
Fix qti in-call audio on P vendor
2018-09-07 08:08:37 +02:00
Pierre-Hugues Husson
fa5792249b
Use OpenGL skia (!= skiagl) on PowerVR Rogue GE8100
...
cf https://github.com/phhusson/treble_experimentations/issues/173
2018-09-06 20:46:30 +02:00
Pierre-Hugues Husson
99633e904d
Support reading /sys/board_properties/virtualkeys.xxx for virtual keys on touchscreen
2018-09-05 18:39:13 +02:00
Enes Sastim
d925fea5f3
fix sound for polaris
2018-09-05 10:22:41 +02:00
Pierre-Hugues Husson
4dec3cf5e0
Include Xiaomi Mi 6X in 12bits backlight devices
2018-09-04 20:16:39 +02:00
Pierre-Hugues Husson
c23e5cc98c
Empty /vendor/lib64/soundfx on some Xiaomi devices, because it breaks sound rendering
2018-09-04 20:16:39 +02:00
Pierre-Hugues Husson
f53a56ee1d
Disable fingerprint buttons on Mi Mix 2S (cf bug #144 )
2018-09-03 15:06:54 +02:00
Pierre-Hugues Husson
7afea6fe95
Override keylayouts on S9/Note9 to include assistant button, and hard press on home to wake up
2018-09-03 14:58:26 +02:00
Pierre-Hugues Husson
9fe3ec0ada
Allow to add multiple inherit entries
2018-08-30 14:25:17 +02:00
Enes Sastim
31f2441e0e
Havoc-P
2018-08-30 11:07:55 +02:00
Pierre-Hugues Husson
30e7c4af92
Fix FDE + MTK RIL fix
2018-08-29 20:36:21 +02:00
Pierre-Hugues Husson
3e655b7c4b
Edit mtk-ril to fix incoming call
...
https://github.com/phhusson/treble_experimentations/issues/57#issuecomment-416998086
2018-08-29 18:30:35 +02:00
Pierre-Hugues Husson
5efefba2bc
Add brightness fix for mipad 4
2018-08-29 16:34:14 +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
Shadowghost
82b15278ba
Update lineage.mk for LineageOS 16.0
2018-08-28 08:45:01 +02:00
Pierre-Hugues Husson
465f92f67f
Include an XML to describe how to load interfaces java libs
2018-08-27 23:23:37 +02:00
Pierre-Hugues Husson
bdda647078
empty mount vendor's dark theme
2018-08-27 10:25:27 +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
8d4e78370e
Include current interfaces as framework jar, to be used by apps
2018-08-27 00:38:11 +02:00
Pierre-Hugues Husson
be0b90541d
We need to be setuid to allow transitions
2018-08-21 23:23:49 +02:00
Pierre-Hugues Husson
b284445668
Allow vendor_init to load kernel modules
2018-08-21 12:07:18 +02:00
Pierre-Hugues Husson
17e27d8149
Add option to pass a path to an mk in generate.sh
2018-08-20 22:24:32 +02:00
Pierre-Hugues Husson
34e58e0456
Oops, delete useless changer
2018-08-20 21:10:00 +02:00
Pierre-Hugues Husson
59b9ac8d75
At the end of the day, Samsung keystore seem fine
2018-08-20 21:06:32 +02:00
Pierre-Hugues Husson
69a4b69ff7
Revert "Include consumerir feature, disable dynamically if not present"
...
This reverts commit 1936b6256e
.
Many devices are not booting because of this, saying the feature is
present, but not the HAL.
I'm unsure why yet, but this feature is not worth the trouble.
2018-08-20 10:58:38 +02:00
Pierre-Hugues Husson
20d38353ee
Some P goodies
2018-08-19 16:42:45 +02:00
Pierre-Hugues Husson
36c254eca4
Add qti.ims.ext context (will it conflict when it is in /vendor?)
2018-08-19 16:42:21 +02:00
Pierre-Hugues Husson
5f6b88c758
HACK: Allow access to 27 sphal on vndk 26. system will try to load 27's android.hidl.memory instead of 26's
2018-08-19 12:35:34 +02:00
Pierre-Hugues Husson
cafafc5934
Fix QtiAudio
2018-08-17 23:43:53 +02:00
Pierre-Hugues Husson
cef477ef5b
As of P init, /mnt is noexec. Mount our own tmpfs
2018-08-17 13:33:31 +02:00
Pierre-Hugues Husson
572aad9d57
typo
2018-08-16 17:29:55 +02:00
Pierre-Hugues Husson
df25576594
exfat fsck/mkfs selinux label
2018-08-16 17:14:13 +02:00
Pierre-Hugues Husson
3f96b1903b
Include exfat if source is present
2018-08-16 17:00:28 +02:00
Pierre-Hugues Husson
986fa4cd0b
Set usb aio compat for everyone
...
Too many different devices have this problem:
- Galaxy S9
- Razer phone
- Amlogic
2018-08-16 14:59:26 +02:00
Pierre-Hugues Husson
b2586b17f6
Enable swipe up gesture (disabled by default)
2018-08-16 13:57:01 +02:00
Pierre-Hugues Husson
ca106f5bec
Fix boot on Huawei View 10
2018-08-15 12:26:01 +02:00
Pierre-Hugues Husson
59615488b1
Keystore is broken on S9
2018-08-14 20:02:41 +02:00
Pierre-Hugues Husson
6a1961a026
Galaxy S9 doesnt support asynchronous io on functionfs
2018-08-14 20:02:34 +02:00
Pierre-Hugues Husson
bb592d860a
Use AOSP ld.config.26.txt
2018-08-14 20:02:11 +02:00
Pierre-Hugues Husson
d1a0b0b955
p wip
2018-08-12 23:41:19 +02:00
Pierre-Hugues Husson
45a98a37cc
P WIP
2018-08-12 21:31:47 +02:00
Pierre-Hugues Husson
341d5d9e59
P WIP
2018-08-07 13:09:49 +02:00
Pierre-Hugues Husson
c0fbb023db
P WIP
2018-08-07 12:50:47 +02:00
Pierre-Hugues Husson
7b82dab9d2
P WIP
2018-08-07 12:49:42 +02:00
Pierre-Hugues Husson
d19317f418
Revert "Decrease size of system partition"
...
This reverts commit 8eb18c7929
.
Keeping this size is getting harder and harder
Sorry old devices...
2018-08-06 18:17:10 +02:00
Pierre-Hugues Husson
64b63dfc5c
Fix tether for some Qualcomm devices [selinux part]
...
Fixes https://github.com/phhusson/treble_experimentations/issues/131
2018-08-02 15:01:10 +02:00
Pierre-Hugues Husson
eb2b482ac2
Enable ambiant display for everyone
2018-08-01 00:40:28 +02:00
Pierre-Hugues Husson
6b9cb2af4d
[twrp] Support Samsung partitions
2018-07-23 22:16:46 +02:00
Pierre-Hugues Husson
425290a949
typo
2018-07-23 21:37:40 +02:00
Pierre-Hugues Husson
9c37ec0bcd
Off-computer updater/flasher for A-only without recovery
...
How to use:
- Push UNSPARSED system.img to /sdcard
- Create file /cache/phh/flash
- Create block.map:
$ uncrypt /data/media/0/system.img /cache/phh/block.map
- Reboot
This is done by copying /system to a tmpfs, then killing all services,
moving /system to /dev/old-system, unmounting it, then applying
uncrypt's block.map
Tested devices as of today:
- Blackview A20
- Huawei Mate 9
2018-07-23 15:38:12 +02:00
Pierre-Hugues Husson
aea7c39d02
Add busybox
...
From https://busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-armv7l
2018-07-23 15:38:12 +02:00
Dil3mm4
475fc60e4b
Missing renaming on service-cleaner
...
Related to commit aea1926
2018-07-20 15:39:38 +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
Pierre-Hugues Husson
bb82498d1c
Fix https://github.com/phhusson/treble_experimentations/issues/68
2018-07-17 18:03:15 +02:00
Dil3mm4
bbc4d30e85
Abolish Huawei HiSuite (and maybe other OEM stuff) ( #19 )
...
This is done by specifying default usb configuration
2018-07-15 14:18:35 +02:00
Dil3mm4
db80eb1c21
Differentiate QC values for HI6250 and HI36x0 platform ( #18 )
...
The previous set values are not compatible over HI6250 platform.
They were causing thermal issues.
This differentiation is needed to avoid the "hot-pan" occurrence.
Tested on ANE-LX1.
2018-07-09 08:29:30 +02:00
Pierre-Hugues Husson
361aedfd20
night mode is slow on mt6580 as well
2018-07-02 00:22:27 +02:00
Pierre-Hugues Husson
3711fd50e8
Detect Wifi 5G on MTK
2018-07-01 23:06:11 +02:00
Pierre-Hugues Husson
18fb7ed72f
Night mode is awfull slow on Cubot X18 Plus. For the moment just blacklist the device, but needs to know whether this is the chipset, or chipset + screen
2018-07-01 23:05:18 +02:00
Pierre-Hugues Husson
9b1ab76f44
Add SELinux policy to access qualcomm audio HAL on Pixel-s
2018-06-29 00:31:19 +02:00
Pierre-Hugues HUSSON
6fedb4d2cb
Merge pull request #16 from notsyncing/android-8.1
...
Add NfcNci package to PRODUCT_PACKAGES
2018-06-24 15:57:43 +02:00
Song Fuchang
0b87f3f870
Add NfcNci package to PRODUCT_PACKAGES
...
This fixes NFC on LineageOS on Xiaomi MIX 2S.
2018-06-24 21:46:45 +08:00
Pierre-Hugues Husson
c9b139187f
Resize userdata on OP6
...
We'll probably want to do that for other devices as well
But this requires /data to be available at that time.
That's probably true only for FBE devices, not FDE.
Also, we might not want to do that on all devices
So for the moment, do it only on OP6
2018-06-15 15:03:06 +02:00
Pierre-Hugues Husson
f099635304
Add config_webview_packages including both AOSP webview and gapps webview
2018-06-15 13:01:16 +02:00
Pierre-Hugues HUSSON
efcc37ddb6
Merge pull request #12 from OldDroid/patch-2
...
Point to the real gapps overlay dir
2018-06-14 19:02:43 +02:00
Alexander Pohl
0fc7b6135b
Point to the real gapps overlay dir
2018-06-14 18:41:25 +02:00
Pierre-Hugues Husson
401eb2215a
Add various framework-res values overlay
2018-06-11 22:44:10 +02:00
Pierre-Hugues Husson
7d3f700d19
Include some framework-res overrides for gapps
2018-06-11 22:41:14 +02:00
Pierre-Hugues Husson
19ce2265e5
Detect qcom extended brightness and set a property based on this, to be used by framework
2018-06-10 22:54:14 +02:00
Pierre-Hugues Husson
c09149f86b
fixSPL: More robust partition matching
...
OP6 has a partition called boot_aging. It would get matched instead of
boot_a when on slot A
2018-06-08 19:13:08 +02:00
Pierre-Hugues Husson
72e91c7933
Revert "Allowe system_app to access UEvent"
...
This reverts commit 615c724fee
.
This doesn't compile, and actually I intented to target platform_app,
which already have this permission.
2018-06-07 16:46:16 +02:00
Pierre-Hugues Husson
615c724fee
Allowe system_app to access UEvent
2018-06-07 14:30:47 +02:00
Pierre-Hugues Husson
b01b148356
Mark slot as succesfully booted on boot completed
...
Fixes #55
2018-06-06 23:47:14 +02:00
Pierre-Hugues Husson
8ccedd2598
Typo for bootctl (thanks Jim_)
2018-06-06 15:28:28 +02:00
Pierre-Hugues Husson
e486629583
Include "vintf" tool, useful to debug system/vendor mismatch
2018-06-06 15:28:07 +02:00
Pierre-Hugues Husson
7e5d147712
arm target uses binder32 vndk
2018-06-01 10:12:22 +02:00
Pierre-Hugues Husson
ec16488612
SPL override for moar libs
2018-05-31 23:06:15 +02:00
Pierre-Hugues Husson
a0ca96eeeb
Include gitignore to ignore generated files
2018-05-27 13:52:16 +02:00
Pierre-Hugues Husson
60dd25356d
Rename huawei/backlight overlay to huawei, because it will contain other values
2018-05-27 13:52:16 +02:00
Pierre-Hugues Husson
a9a6cba4dd
Force GPU profiling on Huawei as a work-around for rendering artifacts
2018-05-27 13:52:16 +02:00
Pierre-Hugues Husson
456b7b722a
Include devinput overlay if qcom device
2018-05-26 13:32:44 +02:00
Pierre-Hugues Husson
6603eb0180
Build bootctl
2018-05-26 13:30:17 +02:00
Pierre-Hugues Husson
47ab64bbde
Replace more softkeymaster, some 8.1 devicesrequires this
2018-05-26 11:26:33 +02:00
Pierre-Hugues Husson
639dd35ed5
[opengapps] Don't set google experimental camera features
2018-05-26 00:28:46 +02:00
Pierre-Hugues Husson
77157661cb
Prefer round icon
2018-05-26 00:20:27 +02:00
Pierre-Hugues Husson
1474d2f0d2
De-dup file, this is set by vendor/hardware_overlay
2018-05-26 00:10:05 +02:00
Pierre-Hugues Husson
6db5159dda
Let user decide whether he wants to disable LED
2018-05-20 01:20:23 +02:00
Pierre-Hugues Husson
a70b26943b
Don't fail script if resize2fs fails
2018-05-19 22:10:30 +02:00
Pierre-Hugues Husson
5125a91128
Enable AutoPowerModes
...
The doc says that this should be enabled only if you a GCM or something
alike. So possibly we don't want this on FOSS/Vanilla variant
Fixes https://github.com/phhusson/treble_experimentations/issues/40
2018-05-19 19:09:46 +02:00
Pierre-Hugues Husson
1b5659be4f
Fix restart only when started
2018-05-19 18:43:25 +02:00
Pierre-Hugues Husson
b139f72be4
Fix trustkernel keystore/gatekeerp
...
TEE requires that ro.product.model is either original, or "AOSP on armxx"
sed in-place
I had to move from /dev to /mnt, because /dev is nosuid
2018-05-19 16:54:30 +02:00
Pierre-Hugues Husson
63b2403f9f
Enable Huawei fast/quick charge. Thanks @Flex1911 and @OldDroid
2018-05-19 15:49:45 +02:00
Pierre-Hugues Husson
1936b6256e
Include consumerir feature, disable dynamically if not present
2018-05-19 13:40:50 +02:00
Pierre-Hugues Husson
e5bf6a5c2a
Allow system_server => su grep
2018-05-19 13:39:22 +02:00
Pierre-Hugues Husson
bf886321ea
Check if there is a fingerprint HAL before declaring fingerprint feature
2018-05-18 15:09:30 +02:00
Pierre-Hugues Husson
a8ead1aa88
Fix Go suffix
2018-05-18 14:59:22 +02:00
Pierre-Hugues Husson
36e63f8a80
Move vndk include in generate.sh, to only include vndk32 in arm
2018-05-18 13:52:14 +02:00
Pierre-Hugues Husson
eafd73a5e2
Don't dexpreopt gapps-go
2018-05-17 23:32:26 +02:00
Pierre-Hugues Husson
f11d7c0a3a
Add gapps-go variant
2018-05-17 22:20:52 +02:00
Pierre-Hugues Husson
1959f79e53
Set service-cleaner as oneshot
2018-05-17 22:20:52 +02:00
Pierre-Hugues Husson
d746f760a0
Include more lineage stuff
2018-05-16 22:14:41 +02:00
Pierre-Hugues Husson
6b28c3f740
Set lower arm_a size (seen on Koolnee Rainbow)
2018-05-14 21:06:11 +02:00
Pierre-Hugues Husson
6eaf501e68
Include service-cleaner.sh which kills looping services 30s after boot
2018-05-14 17:25:03 +02:00
Pierre-Hugues Husson
71789c3977
empty-mount trustkernel keystore. It is not working for the moment
2018-05-14 13:39:17 +02:00
Pierre-Hugues Husson
08a31770cf
I need an empty system file for later mount bind
2018-05-14 13:36:26 +02:00
Pierre-Hugues Husson
11cbdea0e9
Refactor fixSPL to prevent early exit
2018-05-14 13:34:52 +02:00
Pierre-Hugues Husson
903725538c
Use Huawei backlight RRO when detecting a Huawei device
2018-05-02 23:38:24 +02:00
Pierre-Hugues Husson
e59aa1bc35
Enable nightmode overlay by default
2018-05-01 23:38:34 +02:00
Pierre-Hugues Husson
dbfa3c728e
Fix wrong domain
2018-05-01 22:04:56 +02:00
Pierre-Hugues Husson
7527833d72
Give su hwbinder use
2018-05-01 21:44:29 +02:00
Pierre-Hugues Husson
29622ec3e3
Mount bind Huawei's fingerprint.kl
2018-04-30 13:56:06 +02:00
Pierre-Hugues Husson
14764f3afd
Include fingerprint.kl suited for AOSP use. Thanks @OpenKirin team
2018-04-30 13:54:39 +02:00
Pierre-Hugues Husson
520fea111e
Instead of patching properties, patch libs reading properties to get boot.imgs SPL
2018-04-25 22:18:38 +02:00
Pierre-Hugues HUSSON
c2662ea37c
Merge pull request #7 from Zanooda/android-8.1
...
Bluetooth fix for Kirin 65x
2018-04-24 14:28:10 +02:00
Pierre-Hugues Husson
49d6d91f9c
Fix f2fs on Huawei devices (Thanks @Flex1911 and @LuK1337)
2018-04-24 14:12:25 +02:00
Daniel Storozhev
61f0df3e71
Bluetooth fix for Kirin 65x
...
BTM_BYPASS_EXTRA_ACL_SETUP has to be true for Kirin 650/659 (aka hi6250) devices.
2018-04-23 13:34:39 +02:00
Pierre-Hugues Husson
01566efd3d
Allow mediaextractor to read real sdcard
2018-04-16 23:33:58 +02:00
Pierre-Hugues Husson
7171b3215f
Support me.phh.treble.qti.audio
2018-04-15 20:35:08 +02:00
Pierre-Hugues Husson
16ea168af4
Blind try at resizing/editing in A/B
2018-04-15 19:19:47 +02:00