Commit Graph

21 Commits

Author SHA1 Message Date
LuK1337 119cc4d051 sm8150-common: sepolicy: Restore dashd domain
Change-Id: I7d3e1bd878319ce269fc19d0ec1ef69081d68edb
2019-07-07 22:56:49 +02:00
LuK1337 7a50301ba7 sm8150-common: Finish up cleaning proprietary-files.txt
Change-Id: I808347beef355a003e40ca9b0a492b0ad244cebd
2019-07-07 18:49:18 +02:00
LuK1337 ff02df1d2a sm8150-common: Add recovery support
Change-Id: Id44d9793e0ea5fd1359f661ec6a9a1784514dbd2
2019-07-04 01:42:28 +02:00
LuK1337 37551a6817 sm8150-common: Clean up device layout
Change-Id: Icee155f555f2280092fe7d82c216a47366cfb434
2019-07-04 01:42:26 +02:00
Peter Cai 37474082d5 sm8150-common: ueventd: add /vendor/firmware to firmware paths 2019-07-02 17:51:16 +08:00
Peter Cai b38c4814dd
sm8150-common: fix double-tap-to-wake
* Added a kernel interface at `/proc/touchpanel/gesture_dt2w` for easier
interaction with power HAL.
* Add parameter to OSS power HAL to use this interface
* Added keycode for touchpanel to wake up the device
* TODO: Maybe add support for more touchscreen gestures?
2019-06-28 20:14:29 +08:00
Peter Cai 73d6fffe87
[WIP] sm8150-common: rootdir: disable SELinux context
* We haven't started working on sepolicy yet. This non-existent context
sends us to RescueParty every time.
2019-06-25 10:40:10 +08:00
Peter Cai 382d8fee8d
[WIP, DO NOT MERGE] sm8150-common: build vendor image
* Initial full vendor building. Do not merge, does not boot.
2019-06-24 21:32:23 +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 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 fae10aee11
guacamole: camera_motor: switch to proper HAL 2019-06-20 21:55:46 +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 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 2f4cb1a416
guacamole: update media_profiles and correct binding 2019-06-20 08:43:33 +08:00
Peter Cai e995d40b75
guacamoleb: init: override vendor media profiles 2019-06-19 07:48:48 +08:00
Peter Cai 7c00a3ac79
guacamoleb: add init script to override audio policy 2019-06-19 07:45:51 +08:00
Peter Cai 755ac8c975
guacamoleb: import stock fstab 2019-06-19 07:40:28 +08:00