120 Commits

Author SHA1 Message Date
dianlujitao
9d3d385ac3 pstar: Match style of mixer_paths.xml with CAF
Change-Id: I08738fdfb136a99a60b9853d5a5cb7b6929719b0
2022-02-23 23:37:10 +01:00
dianlujitao
c762f568bf pstar: incall-music-uplink -> incall_music_uplink
WTF is moto doing?

Change-Id: If466b298ba663390f089b87e8a4b12dae6fe84bf
2022-02-23 23:37:10 +01:00
SGCMarkus
aa2d3f3501 pstar: reduce reserved size for partitions 2022-02-23 21:39:58 +01:00
SGCMarkus
765d3b93b5 pstar: add lineage touch hal: GloveMode 2022-02-23 00:09:53 +01:00
SGCMarkus
097e5c0fa9 pstar: enable WFD 2022-02-22 16:57:03 +01:00
SGCMarkus
ee44576c4c pstar: proprietary-files: remove source built blobs 2022-02-22 11:44:16 +01:00
SGCMarkus
907a285b1f pstar: overlay: set left statusbar padding symmetric to right one 2022-02-22 00:16:29 +01:00
SGCMarkus
fb7cfb703d pstar: nfc: build vendor libchrome for STFlashTool 2022-02-21 18:23:33 +01:00
SGCMarkus
a9b55c0817 pstar: overlay: use stock power_profile.xml 2022-02-21 18:22:12 +01:00
SGCMarkus
54babc44b9 pstar: proprietary-files: update to RRA31.Q3-19-86 2022-02-21 18:19:55 +01:00
SGCMarkus
593c3e3ecf pstar: overlay: enable cutout protection 2022-02-21 18:15:24 +01:00
SGCMarkus
9de6e655cb pstar: overlay: set motorola mms user agent 2022-02-21 17:44:05 +01:00
SGCMarkus
210c67a7f9 pstar: overlay: adapt punch hole cutout
also set proper rounded corners and protected camera area
2022-02-21 17:42:27 +01:00
SGCMarkus
80bce132c5 pstar: rootdir: set proper dt2w permissions for power hal 2022-02-21 00:19:26 +01:00
SGCMarkus
076f16ef96 pstar: overlay: set fingerprint location
even though we have set physical_power_button_center_screen_location_y
and config_is_powerbutton_fps, the system doesnt use the power button
location for the fingerprint sensor
2022-02-20 20:42:16 +01:00
Bruno Martins
1fd8b4b271 pstar: overlay: Enable smooth display with 120Hz
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.

Set default peak refresh rate to 60, as this is the same value when the user
turns on and off the smooth display setting.
If its turned on, it will go to 144 Hz.

Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
2022-02-20 20:34:54 +01:00
Bruno Martins
7186778dc9 pstar: overlay: remove duplicate 2022-02-20 19:48:33 +01:00
SGCMarkus
056f23cda0 pstar: overlay: set power button is fingerprint sensor 2022-02-20 19:29:56 +01:00
SGCMarkus
80a56bf194 pstar: overlays: set power/volume button positions 2022-02-20 19:15:02 +01:00
SGCMarkus
55d01c71c9 pstar: overlays: use stock paddings and rounded corners
also tur on warning when usb port becomes too hot
2022-02-20 19:11:56 +01:00
SGCMarkus
9b0c6e6f40 pstar: overlays: enable AOD, but disable it by default 2022-02-20 18:22:08 +01:00
SGCMarkus
e5f6701b7e pstar: set tap to wake node 2022-02-20 17:24:43 +01:00
SGCMarkus
493719fbd3 pstar: proprietary-files: remove motorola imgtuner 2022-02-20 15:13:16 +01:00
dianlujitao
2888d876e6 pstar: Fix invalid usage of log utility
Fix derp in c756ad8dbbf97a9775228d160c4481af994e0d72

Change-Id: I7a4d5291a11d823f0cef024b136cfc703fa64fc0
2022-02-20 11:57:03 +01:00
SGCMarkus
2776f9ded5 pstar: set proper product model 2022-02-20 11:55:08 +01:00
SGCMarkus
f338f859e8 pstar: fix path for rootdir inclusion 2022-02-20 11:54:19 +01:00
SGCMarkus
281378dabe pstar: proprietary-files: init.oem.fingerprint* is already in rootdir 2022-02-20 11:53:54 +01:00
SGCMarkus
211c965b06 pstar: cleanup init, remove unused services and duplicates 2022-02-20 11:52:44 +01:00
dianlujitao
b76c7be1db pstar: sepolicy: Rework policies for moto services
* Avoid direct access to kmsg for logging purpose.
 * Load touchscreen driver on early-init for labelling its sysfs nodes.

Change-Id: I7bb86c270d81dbd6f4bdc66e78ac77e44b61e708
2022-02-19 20:55:44 +01:00
dianlujitao
d67e4dc224 pstar: Load smbcharger driver on early-init
This makes it available in offmode charging w/o triggering the fs class
as moto does on stock.

Change-Id: I33305937748bfb61a1443b8356130fa949038ddc
2022-02-19 19:58:30 +01:00
SGCMarkus
996657b578 Revert "pstar: pin modified postproc hal"
This reverts commit 7b12d2d0e716182aa02e335b062ad593d0081613.
2022-02-19 18:35:01 +01:00
SGCMarkus
2907aa4a7c pstar: dont include prebuilt libgui_vendor 2022-02-19 17:23:52 +01:00
SGCMarkus
cdc6424353 Revert "pstar: add copy of vndk30 libui for libgui_vendor"
This reverts commit a257a833a00e478c97e9cbf1df87e67e63761ff2.

can build up-to-date libgui_vendor from source
2022-02-19 15:21:56 +01:00
SGCMarkus
acbaaa6f7c pstar: add fpc fp service and move fpc_ident to vedor/bin 2022-02-19 15:08:34 +01:00
SGCMarkus
c7406dfd3b pstar: add OIS firmware 2022-02-19 14:34:54 +01:00
SGCMarkus
7960b6b667 pstar: set moto customerid prop 2022-02-19 12:34:06 +01:00
SGCMarkus
2b00f27e7d pstar: proprietary-files: add missing acbd and vl53l1 libs 2022-02-19 01:50:18 +01:00
dianlujitao
340949a385 pstar: Enable fingerprint navigation
Change-Id: Ic007af32c8e54caa278d4f973b5fc7a63e5f90aa
2022-02-19 01:00:11 +01:00
SGCMarkus
5cf6ccd42a pstar: add device specific overlays
based on 5f73e812ed
2022-02-19 00:54:07 +01:00
SGCMarkus
7b12d2d0e7 pstar: pin modified postproc hal
from 51f81aceeb
2022-02-19 00:40:45 +01:00
SGCMarkus
a257a833a0 pstar: add copy of vndk30 libui for libgui_vendor 2022-02-19 00:39:36 +01:00
SGCMarkus
39c0361830 pstar: set AAPT flags 2022-02-18 21:23:41 +01:00
SGCMarkus
7a748c432d pstar: add NFC firmware 2022-02-18 21:23:19 +01:00
SGCMarkus
752808da0d pstar: set TARGET_SCREEN_DENSITY 2022-02-18 01:36:25 +01:00
SGCMarkus
d4d0c566b2 pstar: set recovery ui margin height 2022-02-18 01:36:06 +01:00
SGCMarkus
2afea81ebb pstar: use modules.load for recovery modules
for some reason insmod was never executed even though included
and a manual execution isnt viable, therefor use automatic module loading
2022-02-18 01:34:43 +01:00
SGCMarkus
8800dcfc22 pstar: add vendor copies of android.hardware.nfc and android.hardware.secure_element 2022-02-17 23:34:57 +01:00
SGCMarkus
8a5694c395 pstar: proprietary-files: add missing files 2022-02-17 23:34:16 +01:00
SGCMarkus
68d3951bd3 pstar: adapt partition sizes and use proper group name 2022-02-17 22:32:23 +01:00
SGCMarkus
01ae3aa603 pstar: proprietary-files: add stock vendor/etc/vhw.xml 2022-02-17 22:31:54 +01:00