Commit Graph

973 Commits

Author SHA1 Message Date
5e2329940f ouch 2022-10-13 12:49:00 +02:00
0dcef21299 add a bit more gapps 2022-10-13 12:49:00 +02:00
52743e0475 switch wallpaper picker 2022-10-13 12:49:00 +02:00
Pierre-Hugues Husson
0b26ad42ab Merge remote-tracking branch 'phh/android-12.0' into android-13.0 2022-10-10 12:24:35 -04:00
ChonDoit
7a6d658f5d Declare TrebleApp permissions
Shouldn't be necessary but google do weird things every day. Let's avoid a possible future bootloop
2022-10-07 13:09:09 -04:00
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
26fc8430a4
Merge pull request #325 from zainarbani/android-12.0
Exclude FP input devices for rosemary
2022-09-23 17:56:00 +02:00
zainarbani
091321c413 Exclude FP input devices for rosemary
rosemary uses 96 for fp custom keycode which detected by InputManager as KEY_KPENTER.
 screenshots key combo will fail if more than 2 key events detected, exclude it.

Signed-off-by: zainarbani <zaintsyariev@gmail.com>
2022-09-23 22:48:12 +07:00
Pierre-Hugues HUSSON
8bd41df06c
Merge pull request #327 from febeslmeisl/ota-slot-change-fix
Ota slot change fix
2022-09-19 22:21:09 +02:00
Pierre-Hugues HUSSON
75f7c5db31
Merge pull request #328 from cangkurileung/android-12.0
Fix screen recorder on Redmi 9
2022-09-19 20:35:59 +02:00
cangkurileung
8c28e09626
Fix screen recorder on Redmi9 2022-09-19 13:14:13 +00:00
Felix Beslmeisl
f6e059b8e4 Fixed line indent 2022-09-18 23:03:47 +02:00
Felix Beslmeisl
09ae57bf02 Further fix on slot change 2022-09-18 22:54:20 +02:00
Pierre-Hugues HUSSON
53c51cfa88
Merge pull request #326 from iovxw/gauguin-fixes
Fixes for Xiaomi Mi 10T Lite/Mi 10i/Redmi Note 9 Pro
2022-09-18 18:24:52 +02:00
iovxw
5fd63a4229
Update Mi 10T Lite device fingerprints
All possible fingerprints:
Xiaomi Mi 10T Lite(Global): Xiaomi/gauguin
Xiaomi Mi 10i(India): Xiaomi/gauguininpro
Redmi Note 9 Pro(China): Redmi/gauguin, Redmi/gauguinpro
2022-09-18 22:19:24 +08:00
iovxw
41c8ec4ee0
Fix brightness flickers on Xiaomi Mi 10T Lite (gauguin) 2022-09-18 00:52:16 +08:00
iovxw
64c6844aca
Fix sound for Xiaomi Mi 10T Lite (gauguin) 2022-09-18 00:50:51 +08:00
Pierre-Hugues HUSSON
9d488d04b5
Merge pull request #319 from mmtrt/android-12.0
Fix brightness slider on Xiaomi Poco M4 Pro 5G
2022-08-24 15:38:28 +02:00
Pierre-Hugues HUSSON
7a36effb45
Merge pull request #321 from mmtrt/fix-keylayout
Use Xiaomi's fingerprint keylayout also on poco devices
2022-08-24 12:12:28 +02:00
Pierre-Hugues Husson
5b3edfaf9d Fix switching from b slot to a slot -- Fixes https://github.com/phhusson/treble_experimentations/issues/2408 2022-08-24 04:46:41 -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
Taqi Raza
809d83671f
Update keylayout check
fix getting device POCO in build fingerprint.
2022-07-30 11:54:18 +05:00
Taqi Raza
1fb1f6346b
Fix brightness slider on Xiaomi Poco M4 Pro 5G 2022-07-30 11:35:49 +05:00
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