Commit Graph

696 Commits

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