Commit Graph

952 Commits

Author SHA1 Message Date
Pierre-Hugues Husson
948497d23a Revert "base: Provide libnfc-nci"
This reverts commit 323ef8d915.

Android already imports its own libnfc-nci.conf
2022-10-04 18:06:34 -04:00
ChonDoit
747f281b9f Add Netflix props for many more devices 2022-10-04 16:29:34 -04:00
ChonDoit
9f0e48ddcd Allow hwc HAL to read hwc.exynos.vsync_mode prop
`W composer@2.1-se: type=1400 audit(0.0:23509): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=2518 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0`
`E libc    : Access denied finding property "hwc.exynos.vsync_mode"`
2022-10-04 16:29:13 -04:00
Peter Cai
420f583758 gsi: sysbta: Implement all existing audio HAL versions
This is needed because libaudiohal.so can only interact with one HAL
version at a time (loading only one of the libaudiohal@version.so
implementations), so only the interface that matches the stock HAL
version will be used. libaudiohal decides which version to use by
looking through the interfaces whose variant is `default` and picking
the highest versioned one, so our hal will not interfere in the process
(because we use `sysbta` as our variant).
2022-10-04 16:28:05 -04:00
Peter Cai
4f1e4824dc gsi: sysbta: Separate audio interfaces from bluetooth
This will allow us to dynamically load multiple different versions of
audio interface implementation into the same sysbta hal process. Note
that since we are using a weird suffix here, the default
`registerPassthroughServiceImplementation` will not work, and we will
have to define our own dynamic symbol for it.
2022-10-04 16:27:57 -04:00
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