Commit Graph

629 Commits

Author SHA1 Message Date
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