Commit Graph

128 Commits

Author SHA1 Message Date
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
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
Alberto Ponces
323ef8d915 base: Provide libnfc-nci
modified:   base.mk
2022-10-04 16:27:40 -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
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
bbc2268788 Enable DT2W on Tecno KD7 2022-07-07 12:13:57 -04: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
Katharine Chui
a08581af05 allow deskclock to run in the background
8dd096c4cf
2022-05-27 23:36:03 +08:00
Pierre-Hugues Husson
2f9ccbeab5 Include lightsctl-aidl in distrib 2022-05-09 17:37:15 -04: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
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
c9638e910c Mark setupwizard as OPTIONAL. a64 target had it as DISABLED which we really dont want 2022-02-21 14:54:41 -05:00
Alberto Ponces
a66fa56752 Fix DT2W on Xiaomi Mi 11 Lite 5G by using xiaomi-touch
It may also fix for other Xiaomi devices
2022-02-09 21:07:02 +00:00
Pierre-Hugues Husson
141780a2ac Upgrade ota.sh to use new my own ota mechanism 2022-01-22 14:36:55 -05:00
Alberto Ponces
95cdb160d5 smartpa_params: Fix audio for Umidigi X and Gome U9 2021-12-29 19:57:34 +00:00
vgdn1942
37373d808c Add keylayout for Blackview BV9500Plus 2021-11-15 09:00:07 +03:00
Pierre-Hugues Husson
09a83de001 Support multi-sim 2021-11-03 17:42:09 -04:00
Pierre-Hugues Husson
0050f8a5cd Force disable unflattened APEX
Android 12 - CAPEX relies on untested features of FS, and well, as one
could expect, it's broken.
Notably, it relies on O_DIRECT over FBE, which is an Android-specific
feature, and which is broken on a number of devices.
Notably, RedMagic 5G won't boot with CAPEX, blaming dm-verity issue on
apex

Thanks @c03d1 for the debug
2021-10-13 11:00:54 -04:00
Pierre-Hugues Husson
9e30f63a84 Fix build for Android 12 2021-10-13 11:00:32 -04:00
Pierre-Hugues Husson
a76bab59db Forgot to request oplus alert slider code to be compiled 2021-08-11 11:09:13 +02:00
Pierre-Hugues Husson
90fe6e4b62 Include new OPPO Hal s/vendor.oppo/vendor.oplus/g 2021-08-08 20:15:33 +02:00
Pierre-Hugues Husson
8d45b8ea38 [teracube2e] Add support for dt2w 2021-04-16 13:27:41 +02:00
Peter Cai
aa0d782b8c add keylayout for Unihertz devices
* Unihertz devices have a dedicated PTT button, which I mapped to
  CAMERA, making it useful (kind of) by default and remappable via
  third-party apps.
* Additionally, declare capacitive buttons as VIRTUAL so that vibration
  is applied when they are pressed.
2021-04-08 20:21:57 +08:00
Pierre-Hugues Husson
6d5747d010 Add a fake audio policy 2021-03-28 18:55:25 +02:00
Pierre-Hugues Husson
2057f5d25a Disable fdsan for real. Setting it to 0 won't disable it, because setting it to 0 will set it to DEFAULT value, which is fatal in userdebug. So best we can do to disable it is to set it to warn_once. See bionic's android_fdsan_set_error_level_from_property 2021-03-11 16:26:52 +01:00
DarkJoker360
f8ff2ea2ad Build NavigationBarMode2ButtonOverlay
This got removed from PRODUCT_PACKAGES in frameworks/base, but it seems
like it still exists.

Change-Id: I8fe80c9c5a386ae1877f7c117ddc76ff366304a3
2021-03-06 09:33:22 +01:00
Pierre-Hugues Husson
b74ad8ea7e Rename all calls to resetprop to resetprop_phh to prevent conflict with Magisk, see d8056f8032 2021-02-22 10:04:28 +01:00
Pierre-Hugues Husson
b2eea56e6c Include usb.host package feature. This shouldnt arm devices without actual hardware support 2021-02-09 16:01:58 +01:00
Pierre-Hugues Husson
e444a5f575 Disable fdsan by default. This is already disabled by default on user build. Some HALs do not work properly with fdsan 2021-01-10 22:26:15 +01:00
Pierre-Hugues Husson
c67aa14ca5 Add android.software.controls to get controls in power long-press 2020-10-14 17:51:01 +02:00
Pierre-Hugues Husson
5bcb2e09a8 Now an android.hardware.healthd is required. Include healthd which provides a backup implementation 2020-09-27 19:57:19 +02:00
Pierre-Hugues Husson
8bbe19ca57 Now overlays are done as RRO. DEVICE overlay will be in /vendor/overlay which we dont control. Change this to PRODUCT overlay so our overlay is taken into account 2020-09-27 19:56:20 +02:00
Pierre-Hugues Husson
d26d561dba Add fingerprint gestures on zf6 2020-08-05 20:38:43 +02:00
Pierre-Hugues Husson
97b340689d Add Redmagic 5G DT2Z KL 2020-06-20 20:11:04 +02:00
Pierre-Hugues Husson
2874f15cf2 Add capacitive back and recent keys for Samsung 2020-06-06 18:41:52 +02:00
Pierre-Hugues Husson
506be53b02 Add ota.sh to (try to) OTA 2020-06-06 18:12:37 +02:00
Pierre-Hugues Husson
ff835cbd53 Add motorola fingerprint navigation keymap for moto one action 2020-06-02 23:04:09 +02:00
Pierre-Hugues HUSSON
46b853461c
Merge pull request #182 from fourofspades/Issue_#1141_TabletMode
Added shell script to remove telephony.
2020-05-23 11:47:41 +02:00
Pierre-Hugues Husson
e3af52cfdf Include lptools in build 2020-05-09 20:02:48 +02:00
Mark Gillespie
81f673e8e3 Remove Telephony
https://github.com/phhusson/treble_experimentations/issues/1141
2020-05-08 19:38:03 +01:00
Victor Bo
13a9b1e26d rw-system: add 'daisy' stock keylayout files
1-2. because gestures not works (exist in some gsi, same as stock -
swipe for notifications)
3. daisy-buttonJack.kl need for headphones volume control by headphones' buttons

	modified:   base.mk
	new file:   files/daisy-buttonJack.kl
	new file:   files/daisy-uinput-fpc.kl
	new file:   files/daisy-uinput-goodix.kl
	modified:   rw-system.sh
2020-05-04 23:44:20 +03:00
Pierre-Hugues Husson
80b949241d We also want telephony.ims 2020-04-28 17:34:06 +02:00
Pierre-Hugues Husson
cfaa261e2c Include vr_hwc. This will make for better VR experience, and fixes compatibility warning on huawei devices 2020-04-05 14:00:25 +02:00
Pierre-Hugues Husson
52c2673998 Include oneplus motor command 2020-04-05 13:42:46 +02:00
Pierre-Hugues Husson
a8c3c6124b Add persist.sys.phh.no_vendor_overlay property to ignore vendor overlay 2020-04-05 00:55:24 +02:00
Michael Cheah
510e1c01d9
[xiaomi] Use persist.sys.phh.xiaomi.dt2w prop to control DT2W 2020-03-26 09:44:58 +08:00
Pierre-Hugues Husson
0031326e7d Add Oppo fingerprint support, tested on Realme X2 Pro 2020-03-10 23:26:03 +01:00
Pierre-Hugues Husson
3cf77c937c Add google fingerprint gestures kl 2020-02-27 14:46:38 +01:00