Commit Graph

973 Commits

Author SHA1 Message Date
Andy CrossGate Yan
06fe9bb640 Kill QCOM LogKit app
Known to bootloop UMX U696CL, and is useless anyway

Change-Id: Ibc8ed1228e0c0b71825d889498f2b1b4ebd59fa6
2022-05-17 10:02:52 +00:00
Pierre-Hugues HUSSON
abedbd4e09
Merge pull request #307 from Hakalle/android-12.0
a20s: Fix watchdog issue
2022-05-15 18:08:53 +02:00
Hakalle
ca50009cbe
a20s: Fix watchdog issue
This commit fixes the Watchdog Timer Software problem by disabling it.

When the Watchdog Timer expires or crashes causes the device (in this case: Samsung Galaxy A20s) to reboot, and is fixed by just disabling it.

An example of kernel panic log:
[  115.680218] I[5:IntentService[D: 5621] Kernel panic - not syncing: Software Watchdog Timer expired
[  117.139710] I[5:IntentService[D: 5621] sec_debug_panic_handler :Software Watchdog Timer expired
[  117.141840] Causing a watchdog bite!

GSI used to test whether the problem has been fixed: https://sourceforge.net/projects/gsi-projects/files/v413/ArrowOS-12.1/ArrowOS-12.1-arm64_bgN-vndklite-Unofficial.img.xz/download
Screenshot: https://imgur.com/a/7eit2Le

Signed-off-by: Hakalle <hakalle@proton.me>
2022-05-15 12:51:26 -03:00
Pierre-Hugues Husson
d815e2bd67 try harder to make system rw 2022-05-13 17:00:59 -04:00
Pierre-Hugues Husson
71f0000b6a For Redmi Note 10 5G, brightness range is 1-4095, even though /sys/.../brightness range is 1-2047 (/=2 done in lights HAL). So we need to manually set the range 2022-05-10 11:41:58 -04:00
Pierre-Hugues Husson
2f9ccbeab5 Include lightsctl-aidl in distrib 2022-05-09 17:37:15 -04:00
Pierre-Hugues Husson
90760ae5bd Exemplt treble app for suspension 2022-05-09 17:36:38 -04:00
Pierre-Hugues Husson
be9a39aff4 Add lightsctl-aidl command to debug lights aidl hal 2022-05-04 12:43:33 -04:00
Pierre-Hugues HUSSON
deaf416f56
Merge pull request #306 from rinmichi/android-12.0
Fix UI lags and Screen Cast on Redmi Note 10S
2022-05-03 08:46:09 +02:00
rinmichi
9a68ff5d63 Fix UI lags and Screen Cast on Redmi Note 10S 2022-05-03 12:51:58 +08:00
Pierre-Hugues HUSSON
91a71765eb
Merge pull request #305 from starfoxdot64/patch-1
Update rw-system.sh for Galaxy A11 watchdog quirk
2022-05-01 12:06:59 +02:00
Jay
b4a09c8531
Update rw-system.sh for Galaxy A11 watchdog quirk
Fixes a panic 100 seconds into boot, caused by /dev/watchdog0 (/dev/watchdog1 was already accounted for). 
Works for the Samsung Galaxy A11, US model (SM-A115U1, a11que), so it's written to play it safe and apply only to the US vendor fingerprint.
2022-04-30 19:35:04 -07:00
Pierre-Hugues Husson
39d801473b [OTA] Retry stat-ing mapper device
See https://github.com/phhusson/treble_experimentations/issues/2289
2022-04-24 08:03:48 -04:00
Pierre-Hugues Husson
56295977db Additional sepolicy for OTA
See https://github.com/phhusson/treble_experimentations/issues/2289
2022-04-23 08:02:55 -04:00
Pierre-Hugues Husson
d4520330a6 Add some samsung cmds 2022-04-23 08:02:55 -04:00
Pierre-Hugues HUSSON
817b1903e7
Merge pull request #304 from AndyCGYan/20220421
Revert "Disable ODM display overlay for OnePlus 10 Pro & Realme GT ME"
2022-04-21 17:54:34 +02:00
Andy CrossGate Yan
92b36d168f Revert "Disable ODM display overlay for OnePlus 10 Pro & Realme GT ME"
Change-Id: I53d804422ca853cff03958d398ada522ee388ce7
2022-04-21 14:51:47 +00:00
Pierre-Hugues HUSSON
a0477a4836
Merge pull request #303 from ksdrar/android-12.0
[Motorola One Fusion+] Fix Assistant button
2022-04-18 16:52:06 +02:00
Jesús R
eb74cd65ed
[Motorola One Fusion+] Fix Assistant button 2022-04-18 09:13:39 -05:00
Pierre-Hugues Husson
985778a03b Include AOSP a2dp sw config 2022-04-05 15:07:53 -04:00
Pierre-Hugues Husson
30985a7bef Add Samsung way to grab ro.telephony.default_network 2022-03-25 11:45:27 -04:00
Pierre-Hugues Husson
d827035fd4 Add Samsung way to grab ro.telephony.default_network 2022-03-22 20:21:09 -04:00
Pierre-Hugues Husson
0048f513fd Change fingerprint manifest grep, because people are putting manifest anywhere 2022-03-21 19:02:59 -04:00
Pierre-Hugues Husson
f85c88a1c7 Samsung now overrides recovery from vendor. We want to keep user's recovery 2022-03-21 18:47:09 -04:00
Victor Bo
d192015aaf try to add support for RMX2195 2022-03-18 08:44:45 -04:00
Pierre-Hugues Husson
4c5d7dad33 Enable setupwizard (we keep the prop both in product and system, because gms adds it in system_ext and ordering might be inverted based on system/core patches) 2022-03-16 16:26:00 -04:00
Pierre-Hugues Husson
28f50a1557 Add again quickstep launcher, now that its fixed 2022-03-13 15:09:11 -04:00
Pierre-Hugues HUSSON
6c7bcae712
Merge pull request #302 from pjgowtham/patch-1
Update oplus fp manifest location for a12 vendor
2022-03-10 23:04:14 +01:00
pjgowtham
6ff9da18ad
Update oplus.hardware.biometrics.fingerprint manifest entry for android 12 vendors
https://dumps.tadiphone.dev/dumps/oplus/op516e/-/blob/qssi-user-12-SKQ1.211019.001-1646580650864-release-keys/odm/etc/vintf/manifest/manifest_oplus_fingerprint.xml
2022-03-10 10:44:19 +05:30
Pierre-Hugues Husson
791981193d Revert "[Q&D] Have FOD pressed Samsung touch even trigger WAKEUP. That is not exactly accurate, but good enough for the moment"
This reverts commit 44cdc6fa1a.

On S21 Ultra (because of broken screen?), key 455 is sent instanteously
after suspend. Also there is no fod_lp_mode command to disable it.
This leads to device never turning screen off
2022-03-08 12:31:39 -05:00
Pierre-Hugues Husson
7a017556af Hack: SearchLauncherQuickStep is broke in A12L. Disable it and use standard Quickstep instead 2022-03-08 05:13:47 -05:00
Pierre-Hugues Husson
44cdc6fa1a [Q&D] Have FOD pressed Samsung touch even trigger WAKEUP. That is not exactly accurate, but good enough for the moment 2022-03-04 10:10:05 -05:00
Pierre-Hugues Husson
9e8679d273 Fix Play Services crashing on Galaxy S21 Ultra
Samsung defines the presence of UWB framework in /vendor
This is wrong, because the UWB framework is hosted in /system
Which means that when booting a GSI, framework will say it has UWB
while it doesn't
2022-03-04 10:07:20 -05:00
Pierre-Hugues HUSSON
2818802996
Merge pull request #301 from ksdrar/android-12.0
[Motorola One Fusion+] Fix bluetooth audio
2022-03-04 15:54:02 +01:00
Jesús R
af3ce8e62a
Add line after r_submix_audio_policy_configuration 2022-03-04 08:48:24 -06:00
Jesús R
95010d21fa
[Motorola One Fusion+] Fix bluetooth audio 2022-03-03 19:26:16 -06:00
Pierre-Hugues HUSSON
9b8c390698
Merge pull request #299 from CHIDILights/android-12.0
Disable fingerprint gestures for Stylo 7 4G variant
2022-02-28 20:52:43 +01:00
CHIDILights
b37cfd9463 Disable fingerprint gestures for Stylo 7 4G variant 2022-02-28 00:12:32 +09:00
Pierre-Hugues HUSSON
62c5f674d5
Merge pull request #298 from ponces/dev-ota
Add prop to remove OTA files
2022-02-22 22:52:54 +01:00
Alberto Ponces
108d85334d Add prop to remove OTA files 2022-02-22 21:47:55 +00:00
Pierre-Hugues Husson
04cd1b8997 Give Sony shutter/focus on all Sony devices 2022-02-21 18:01:13 -05:00
Pierre-Hugues Husson
c9638e910c Mark setupwizard as OPTIONAL. a64 target had it as DISABLED which we really dont want 2022-02-21 14:54:41 -05:00
Pierre-Hugues HUSSON
3d97cad8e0
Merge pull request #297 from ponces/dev-renoir
Overwrite media volume vendor values on Xiaomi Mi 11 Lite 5G
2022-02-21 15:04:12 +01:00
Alberto Ponces
9f28446abd Overwrite media volume vendor values on Xiaomi Mi 11 Lite 5G 2022-02-21 14:01:00 +00:00
Pierre-Hugues Husson
50903fde85 Disable fingerprint sensor input from Doogee S88 Pro
See https://github.com/phhusson/treble_experimentations/issues/2204
2022-02-21 05:27:55 -05:00
Pierre-Hugues Husson
eb24d77380 Add MiPad5's Netflix L1 prop 2022-02-21 05:27:55 -05:00
Pierre-Hugues HUSSON
155fad8a06
Merge pull request #295 from AndyCGYan/fix-mona-hrr
Make high refresh rate show up for Xiaomi Civi
2022-02-19 16:06:28 +01:00
Andy CrossGate Yan
90e92a5655 Make high refresh rate show up for Xiaomi Civi
Some new Mi devices only reveal high refresh rate on `ro.product.manufacturer=Xiaomi`
Until the offending blob is pinpointed, fake the prop with copyprop
Feel free to experiment on other devices with similar symptom

Change-Id: I125cc55d6c3d57d7e62c65c997de086cca24abdd
2022-02-19 15:03:08 +00:00
Pierre-Hugues Husson
5874b86caf Fake MTK's ccci_rpcd props
On Mediatek devices, modem can request ro.product.device directly to
switch hardware configuration depending on the HW it is running on.

On AOSP GSI, if the ro.product.device is "generic", it'll switch to
ro.product.vendor.device, but not when it's "phhgsi.*".
Which leads to the device not loading the proper HW config, and failing
to modem altogether (notably on Redmi 9A)

To fix this, have ccci_rpcd report vendor props instead of system props
2022-02-19 09:29:46 -05:00
Quallenauge
a4d6f5c8d3 Disable WPA3 by default (vendor overlays can still override it)
flo: wifi: Disable WPA2 -> WPA3 upgrade.

Our device doesn't simply support sae.

Change-Id: Ibf8b9e363b4677cf2ab9590cc2ea1ba2341e29ca
2022-02-10 05:16:41 -05:00