Commit Graph

674 Commits

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