Commit Graph

225 Commits

Author SHA1 Message Date
Peter Cai 529ec479f0
sm8150-common: commonize
* guacamole and guacamoleb share a lot of common configurations. Put
them all in a common tree.
2019-06-24 12:12:35 +08:00
Peter Cai d6b72fae07
guacamole: hack: overwrite vendor soundfx
kang libqcbassboost.so from oneplus3 to fix audiofx crashing
2019-06-24 09:29:14 +08:00
Peter Cai 00237e26c3
guacamole: rootdir: add dashd daemon 2019-06-22 12:34:36 +08:00
Peter Cai 5b346ccffa
guacamole: audio: remove redundant USB sink/source 2019-06-22 12:28:36 +08:00
Peter Cai fe4519f236
guacamole: overlay: update brightness values from stock
* Light sensor is not working. Figure out why.
2019-06-22 11:00:05 +08:00
Peter Cai 18086eba66
guacamole: rootdir: mount everything on `boot`
* Magisk may mess these stuff up. Do it on boot because Magisk runs in
`post-fs-data`.
2019-06-22 10:32:24 +08:00
Peter Cai 0b8ef19878
guacamole: rootdir: add back codeaurora snapcam as aux 2019-06-22 10:04:08 +08:00
Peter Cai 268006a6b0
guacamole: audio: fix a2dp source
* The CAF audio policy xml doesn't work properly with AOSP audio. Nuke
it and import aosp one.
* Import BluetoothResCommon overlay hack from violet. Note that we have
to insert this overlay in `on boot` because Magisk works in `on
post-fs-data`. Magisk can mess this up.
2019-06-22 10:01:33 +08:00
Peter Cai 339f861735
guacamole: fod: implement brightness boost and dimming 2019-06-21 19:23:05 +08:00
Peter Cai 286ad4ef02
tri-state-key: fix vibrate position for op7p 2019-06-21 19:05:24 +08:00
Peter Cai 10443e1bbb
guacamole: add missing overlay for keyhandler 2019-06-21 16:06:17 +08:00
Peter Cai 422b8423ba
guacamole: enable volte via system.prop 2019-06-21 15:08:35 +08:00
Vachounet 7d6fffb24c
guacamole: disable AOD by default
annoying
2019-06-21 14:50:43 +08:00
Peter Cai d7b89fa9fb
guacamole: system.prop: fix fingerprint-on-display position 2019-06-21 14:49:04 +08:00
Peter Cai 6c6073144e
guacamole: lights: fix tag 2019-06-21 14:46:31 +08:00
Peter Cai d846ff88d4
guacamole: kang tri-state-key handler from sdm845-common 2019-06-21 14:45:55 +08:00
Peter Cai ae9827fdb7
guacamole: system.prop: remove qti bluetooth library
* we don't need it for aosp
2019-06-21 14:42:11 +08:00
Peter Cai 544ce5684a
guacamole: introduce in-screen fingerprint hal 2019-06-21 14:15:30 +08:00
Peter Cai ec0bb3559e
guacamole: camera_motor: fix typo 2019-06-21 09:16:05 +08:00
Peter Cai 3bd1d61da4
guacamole: kang carrier config from violet 2019-06-21 06:42:55 +08:00
Peter Cai c79f2a353e
guacamole: overlay: decrease padding a little bit 2019-06-21 06:41:43 +08:00
Peter Cai fae10aee11
guacamole: camera_motor: switch to proper HAL 2019-06-20 21:55:46 +08:00
Peter Cai dcfe5d8446
guacamole: add statusbar paddings 2019-06-20 20:58:32 +08:00
Peter Cai 6bf0d18c76
guacamole: kang carrier configuration from violet 2019-06-20 20:29:28 +08:00
Peter Cai 431807bf8c
guacamole: rootdir: allow more camera apps for aux cam 2019-06-20 20:28:00 +08:00
Peter Cai a12ac7946d
guacamole: implement camera motor support
* Support camera motor by using a hook into the camera service
* TODO: Clean this up. Maybe we can use HAL to implement this?
2019-06-20 20:21:53 +08:00
Peter Cai 9b90467bf6
guacamole: add support for under-screen fingerprint scanner
* Needs corresponding frameworks commit.
* Imported all vendor interfaces to the device tree. This is dirty and
should be fixed from the frameworks side first, e.g. maybe load a .jar
library for FOD, but the code of that .jar library is only present in
device tree.
2019-06-20 15:29:40 +08:00
Peter Cai abb76bfbe2
guacamole: also pin dashd 2019-06-20 11:58:45 +08:00
Peter Cai ae1c1cc9fe
guacamole: pin nxp nfc stack 2019-06-20 11:34:30 +08:00
Peter Cai ee6ee60aa8
guacamole: override fstab.qcom from vendor to remove wrappedkey
* OnePlus has `wrappedkey` enabled in their fstab but actually does not
use it at all. To match this, we have to override the fstab by
bind-mounting.
2019-06-20 11:04:39 +08:00
Peter Cai 30d852c9a1
guacamole: lights: kang from sdm845-common 2019-06-20 10:35:39 +08:00
Peter Cai a6ab46dd7c
guacamole: overlay: decrease status bar size 2019-06-20 09:43:25 +08:00
Peter Cai c6067b56ea
guacamole: pin ims.apk to daisy 2019-06-20 09:38:19 +08:00
Peter Cai 6a449cf32b
guacamole: pin telephony and nfc jar blobs
* The oneplus blobs require `android.util.OpFeatures` which we do not
have. Kanged from fajita.
2019-06-20 09:33:25 +08:00
Peter Cai 0dcd25f07c
guacamole: increase status bar height in portrait mode 2019-06-20 08:45:40 +08:00
Peter Cai 2f4cb1a416
guacamole: update media_profiles and correct binding 2019-06-20 08:43:33 +08:00
Ashwin R C 362c163a87
guacamole: build sensors HIDL 2019-06-20 07:04:14 +08:00
Peter Cai 5941ebdfb4
[WIP] use kernel from holydragon 2019-06-19 21:36:29 +08:00
Peter Cai daf84fc9b6
[WIP] switch back to Image-dtb 2019-06-19 20:12:44 +08:00
Peter Cai c0885313b6
[WIP] correct some configuration 2019-06-19 20:11:52 +08:00
Ashwin R C 62660de6ab
guachamole: disable vbmeta verification 2019-06-19 16:19:56 +08:00
Peter Cai 447520cded
guacamole: enable AVB 2019-06-19 15:39:55 +08:00
Peter Cai ad63511fe9
guacamole: exclude vendor and vbmeta from updater 2019-06-19 14:50:54 +08:00
Peter Cai a4ce90673d
guacamole: define metadata partition flag 2019-06-19 14:36:13 +08:00
Peter Cai fd142c5dd4
guacamole: add minimal sepolicy to pass building
* The packaging step requires some of the file_contexts to build the
images correctly.
2019-06-19 14:34:53 +08:00
Peter Cai 3ee88c428e
guacamole: gpt-utils: kang from fajita 2019-06-19 13:28:37 +08:00
Peter Cai 6f0a85234d
guacamole: use QCOM bootctrl 2019-06-19 13:23:10 +08:00
Peter Cai cb08912d35
guacamole: build bootctrl libraries 2019-06-19 13:09:05 +08:00
Peter Cai 6e3c87b942
guacamole: add oneplus fingerprint extension blobs 2019-06-19 12:16:47 +08:00
Peter Cai 2501813c58
guacamole: add AAPT configuration 2019-06-19 12:14:02 +08:00