Commit Graph

947 Commits

Author SHA1 Message Date
Alberto Ponces
323ef8d915 base: Provide libnfc-nci
modified:   base.mk
2022-10-04 16:27:40 -04:00
Raphael Mounier
8636827cf6 remove LD_PRELOAD
Remove LD_PRELOAD hook, This prevents the loading of certain huawei  libraries (libtee)
2022-10-04 16:27:05 -04:00
Peter Cai
978ccd40f9 gsi: Initial implementation of sysbta, a system-side bluetooth audio HAL
On platform release T, the legacy `audio.a2dp.default` HAL no longer
exists, and cannot be trivially restored for generic system-side A2DP
audio support. Rather than trying to cling on to its existence (which
does not even work anymore even if one did so), it is time to come up
with a new solution.

This commit introduces a system-side implementation of the generic
bluetooth audio HAL. The HAL itself is modelled after the default
bluetooth audio HAL, while substantial components of the default audio
HAL are also included as it has to also implement the audio HAL
interfaces.

The audio HAL implementation is delegated to `audio.sysbta.default`,
forked from `audio.bluetooth.default` from the Bluetooth apex package.
It then communicates with the bluetooth audio HAL interfaces, which need
to live in the same process (in this case, the process of the sysbta
HAL). This is why we cannot just load `audio.sysbta.default` into the
default audio HAL or the audioserver process directly, but rather have
to include our own simplistic audio HAL implementation.

For now, the audio HAL implementation only includes one for the 6.0
version, but technically, an interface for *every* audio HAL version
needs to exist. This, along with other messiness in the sysbta
implementation, will be addressed in a future commit.

Note that to actually make use of the sysbta audio hal, patches in
frameworks/av and packages/modules/Bluetooth are required to introduce
support for the property `persist.bluetooth.system_audio_hal.enabled`.
2022-10-04 16:26:52 -04:00
Peter Cai
a7009ad4ad gsi: Enable bluetooth profiles explicitly
This is now required on T
2022-10-04 16:26:01 -04:00
Pierre-Hugues HUSSON
0c5eaf7d25
Merge pull request #324 from TechnoStone/patch-1
Add Nokia 8.1 to rw-system.sh
2022-08-16 20:41:04 +02:00
Alexander
cb054bed36
Update rw-system.sh 2022-08-16 17:37:30 +03:00
Pierre-Hugues HUSSON
f0c6140a9b
Merge pull request #322 from haridhayal11/android-12.0
Fix persist.sys.sf.hs_mode prop denial on exynos2100 devices
2022-08-16 07:46:14 +02:00
haridhayal11
6c3350b249 sepolicy: address persist.sys.sf.hs_mode prop denials 2022-08-07 16:09:26 +05:30
Pierre-Hugues Husson
bbc2268788 Enable DT2W on Tecno KD7 2022-07-07 12:13:57 -04:00
Pierre-Hugues HUSSON
6335412007
Merge pull request #317 from AndyCGYan/no-more-emulator-12
Overwrite the inherited "emulator" characteristics
2022-06-30 20:39:40 +02:00
Andy CrossGate Yan
88b1230dee Overwrite the inherited "emulator" characteristics 2022-06-30 13:41:53 +00:00
Pierre-Hugues HUSSON
adad184263
Merge pull request #316 from ponces/android-12.0
Include vendor.xiaomi.hardware.displayfeature
2022-06-28 19:38:59 +02:00
Alberto Ponces
d5610375c4 Include vendor.xiaomi.hardware.displayfeature
Needed to disable Xiaomi's Sunlight Mode which triggers some constrast/color issues on AOSP
2022-06-27 23:25:37 +01:00
Pierre-Hugues Husson
b67b41a7e4 samsung - dt2w - Fix broken custom kernels sending KEY_POWER 2022-06-15 07:45:03 -04:00
Pierre-Hugues Husson
a60d82afb0 Use standard Launcher3 rather than Launcher3Go on gapps-go variant 2022-06-15 07:45:03 -04:00
Pierre-Hugues HUSSON
ceeeb076e3
Merge pull request #313 from Coxxs/patch-1
Add Netflix ID for Xiaomi Pad 5 Pro
2022-06-12 17:25:12 +02:00
Coxxs
1633ecfb93
Add Netflix ID for Xiaomi Pad 5 Pro 2022-06-12 23:18:32 +08:00
Pierre-Hugues HUSSON
85b2d3901f
Merge pull request #312 from haridhayal11/android-12.0
Fix fingerprint unlock delay
2022-06-09 20:26:33 +02:00
haridhayal11
2df56defaa Disable remote keyguard animation
Fixes slow post biometric auth screen wakeup.
2022-06-07 19:56:14 +05:30
Pierre-Hugues HUSSON
cb0571e717
Merge pull request #311 from Kethen/android-12.0
allow deskclock to run in the background
2022-05-27 20:16:37 +02:00
Katharine Chui
a08581af05 allow deskclock to run in the background
8dd096c4cf
2022-05-27 23:36:03 +08:00
Pierre-Hugues HUSSON
e866a6a8cb
Merge pull request #310 from haridhayal11/android-12.0
Set persist.sys.phh.ultrasonic_udfps to true for S21(+/Ultra) (Exynos)
2022-05-25 09:24:04 +02:00
haridhayal11
63ba6b279c Set persist.sys.phh.ultrasonic_udfps to true for S21(+/Ultra) (Exynos) 2022-05-25 11:00:01 +05:30
Pierre-Hugues HUSSON
2d7f415cd1
Merge pull request #308 from AndyCGYan/logkit
Kill QCOM LogKit app
2022-05-17 12:08:03 +02:00
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