Commit Graph

763 Commits

Author SHA1 Message Date
Steven Moreland d34a0026cf
sm8150-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
2021-04-03 06:48:10 +05:30
LuK1337 2e6ea18e5c
sm8150-common: Relocate aptX blobs to system_ext
Change-Id: Id8de7887096d9532cfdbdddfdac9487604108481
2021-04-03 06:47:24 +05:30
Arian b3e1afe586
sm8150-common: Build libplatformconfig from source
Change-Id: I8b4f2272ee47f7652c21918792d9fb72c7018db6
2021-04-03 06:47:23 +05:30
LuK1337 37bfa66f12
Revert "sm8150-common: Don't resign TimeService app"
This reverts commit 6dd41b186d.

Change-Id: I4219c6a09bfd5cc9ba036a673bac76b1bbbe4c3c
2021-04-03 06:47:22 +05:30
Alexander Koskovich 40b17107ae
sm8150-common: Set gain of vibrator to 0x55 on boot
* Seems better than the default of 0x80, vibrator is
   a bit too strong by default.

Change-Id: I676b74aac3cbc1900c73b3236879479e8ecfca00
2021-04-03 06:47:21 +05:30
LuK1337 0b0f0f63f9
sm8150-common: Build QTI vibrator HAL
Change-Id: Ic87b5ca1dcf1ce1b4f65e7b90ce8c74a7aeb3ed4
2021-04-03 06:47:20 +05:30
Omkar Chandorkar a22751b053
sm8150-common: drop prebuilt vibrator
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:46:57 +05:30
Michael Bestas d6e67ff42f
Automatic translation import
Change-Id: Ibcfb9a9f3349481d878dd0d152a234405a3264e8
2021-04-03 06:46:11 +05:30
LuK1337 671ecb5c91
sm8150-common: Enable ro.audio.monitorRotation
* This was in stock /system/build.prop but since it's
  labeled as u:object_r:exported3_default_prop:s0 it
  may as well be put in /vendor/build.prop instead.

Change-Id: I462c575da006f096185f515ffb1b050d7bd4ae3c
2021-04-03 06:46:10 +05:30
rago f7ff24ada8
sm8150-common: Set voice call volume steps to 7
Bug: 28426597
Change-Id: Icf78d9acec75c500982b1e4391af4d6f3933da37
2021-04-03 06:46:08 +05:30
Jean-Michel Trivi f79f6d3a94
sm8150-common: Media volume: from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
2021-04-03 06:46:07 +05:30
LineageOS Builder 1384ca08d5
Automatic translation import
Change-Id: Ic04bce59e211f408d829f5df67b696250c3c835a
2021-04-03 06:46:06 +05:30
LuK1337 1eca0e1757
sm8150-common: Decommonize remaining goodix fod dependencies
* Using these from guacamole seems to cause other
  devices to have bad battery drain.

Change-Id: I208ac8491fd641f75627da25b50ff76bf210c804
2021-04-03 06:45:17 +05:30
LuK1337 ecdbd43ac9
sm8150-common: Enable RRO overlays for Snap
Change-Id: I482f2393e10e90362db2c66b7abb0de837085843
2021-04-01 08:44:41 +05:30
Michael Bestas 8ed31332c1
sm8150-common: Switch to standalone extract utils
Align with templates while we are at it

Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
2021-04-01 08:44:15 +05:30
LuK1337 867b1a41fb sm8150-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-11-21 13:30:21 +05:30
Scott Warner 1404467948 sm8150-common: sepolicy: Grant fingerprint xdsp_device rw perms
Since fastrpc is moved to secure domain, fingerprint now
needs to communicate over xdsp (/dev/adsprpc-smd-secure)

Change-Id: I94b472144a946df898f12d5f6bee31ec8cc71d47
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-11-21 13:30:21 +05:30
Scott Warner a56c51f7ad sm8150-common: Update vendor security patch
OxygenOS 10.3.6 updates the patch level

Change-Id: Ife3f955ac980f74dae9b1301cb34f831cb5e43dc
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-11-21 13:30:04 +05:30
Scott Warner 7ea58373ad sm8150-common: proprietary-files: Add new CameraMDMHIDL libs
Change-Id: I7e9a62e208fa70fb4611793ac3873c8553911539
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-11-21 13:29:32 +05:30
gnumdk c8e52bd53a sm8150-common: Use correction instead of discarding it
Change-Id: I55a8f3649e2062e03bc729ac1d2c814a6cf32428
2020-09-11 18:26:19 +02:00
LuK1337 a7b7e2e911 sm8150-common: Move some partition flags to devices
Change-Id: I4fb0e9f3c0137584e99891d8b5b762382cd34901
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-09-08 22:00:32 +05:30
Scott Warner f8ef23f8e8 sm8150-common: Update vendor security patch
OxygenOS 10.3.4 updates the patch level

Change-Id: If453e7c776a9da56e9dd003768d2cfaad349c8fb
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-09-08 21:58:59 +05:30
Scott Warner 7d883af2b0 sm8150-common: manifest/sepolicy: Add new camera interface
Interface added in the Oxygen OS 10.3.4.GM21AA blob update

Change-Id: I95202b728c381b0bec4922e2688f1d33a43035dc
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-09-08 21:58:59 +05:30
Matt Evangelisti ac86dc4078 sm8150-common: Add hotdogg to build guards
Change-Id: I1b0c68b33ebfe26937ae5687c1dc583866a468be
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-09-02 16:42:36 +02:00
Michele Bono 2fd9907026
sm8150-common: Update fod behavior
Change-Id: I0fd017683e95a2409c5d72193bfd245970b91560
2020-08-11 21:11:44 +05:30
LuK1337 67889326d6
sm8150-common: Update libfod extension function prototypes
Change-Id: I5c43c71326caf21a85863b74ed0a893057d1cfa8
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:57:41 +05:30
LuK1337 e2eba1324d
sm8150-common: fod: Reset everything when onShowFODView() is called
* Perhaps it'll	fix random bright FOD icon?

Change-Id: I08eaf75bfd8a5a6aea1f89ff6810e9c271e1cbe3
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:52:08 +05:30
Marko Man 440aeb5961
sm8150-common: fod: Set dim mode instead of HBM for fp enrollment
* That way we no longer have to turn HBM for
  the whole enroll process.

Change-Id: Ib0c48b117637381dbd7ab373bedd97dbc70dda28
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:52:03 +05:30
Michele Bono 108f82974a
sm8150-common: Switch to libfod extension
Decompiled stock libsurfaceflinger.so to get Z values from OPFingerprintView
and OPFingerprintVDpressed functions

Change-Id: I23b1af50a37cda342b1b119b792f1216e2ab0a0b
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:51:48 +05:30
LuK1337 9d12db861e sm8150-common: touch: Sync available gestures with kernel
Change-Id: I203b24d67293f5b124978c59ba5561fbf45cb718
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-07-29 02:29:00 +05:30
Anirudh Gupta c7100d886c sm8150-common: touch: Restore proper gesture actions
This was fixed by the kernel commit: c1244fe4ba

This commit includes a revert of commit 756dd639af.

Change-Id: I7dd248c06864eda5b0ac3269e1ebafd1ce4d43fa
2020-07-25 17:19:34 +05:30
Ashwin R C b9cdf7d563 sm8150-common: DeviceSettings: Use VibrationEffect
* Also update haptic feedback logic

Change-Id: I722022d014d9e88ef267a5563b43fee87ef02b6b
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-07-11 04:13:28 +05:30
LuK1337 9b89a79cdf sm8150-common: Include dtbo in recovery image
* This allows us to drop dependency on dtbo partition
  being in sync with recovery.
* Test: fastboot erase dtbo && fastboot boot recovery.img

Change-Id: Id0b36db9634ba7b20143c247c68da5d31891fce1
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-07-11 04:09:16 +05:30
Jesse Chan f7220133ea sm8150-common: Enable unspecialized app process pool
Change-Id: I6dfcb59dace5eaa7551caeae86db3b485c0cfbf1
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-07-08 03:07:46 +05:30
gnumdk 67d0973dcc sm8150-common: Fix adaptive brightness
Do not reset value to zero, just use original reading. Prevents the
famous "unstable adaptive brightness" bug.

Change-Id: Ia82b4f3a6cf3ce0211e3ffa4ef3ff43be52030d2
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-06-24 14:43:54 +05:30
Akhil Narang a2580fd24a sm8150-common: DeviceSettings: Automatic translation import
Change-Id: I8b4df29740fba05a2fd9c07d677923277f9f98ed
2020-06-18 07:54:12 +00:00
LuK1337 2b6deef8ab Revert "sm8150-common: Enable qti-telephony-common aosp_usr_pref_sel"
* Seems like mobile data doesn't get toggled
  properly after doing this...

This reverts commit 278c8ed75214675fc7bf0bf21c30f13329aa3676.

Change-Id: I833a2d79c3d1b1ff2a0cb0b94f44d0eda9efab03
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-06-10 03:59:35 +05:30
Akhil Narang 2b31537f48 sm8150-common: DeviceSettings: Automatic translation import
Change-Id: Ib8d3a4e71d7cefc5bc7912b754a1fee15911d8c5
2020-05-29 12:32:03 +00:00
LuK1337 2bf8423dee sm8150-common: Switch to common usb-in-recovery configuration
Change-Id: I6e281e0a76dbf6f02c9cab9b0dcf2293e0352c0a
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:50:09 +05:30
LuK1337 a2e7ccbef6 sm8150-common: Enable qti-telephony-common aosp_usr_pref_sel
* That allows us to set calling account to 'Ask every time'
  without it being reset to sub 1 every boot.

Change-Id: Ifb204fd07ec232fe3c55a92b6fc286786782c28b
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:50:09 +05:30
Michael Bestas 59cdef58b5 sm8150-common: camera_helper: Automatic translation import
Change-Id: Ic682343464cfccaf9b96bcfe76ec33557d04acba
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:50:09 +05:30
LuK1337 ecf95ef92e sm8150-common: fingerprint: Sync with hardware/interfaces/biometrics
* Also drop silead support and fp variant props as
  none of these are actually used (anymore?).

Change-Id: If9fa58c63c5033e7a89c24580288ec7300500c66
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:50:09 +05:30
Ashwin R C 627a09129f sm8150-common: Update VENDOR_SECURITY_PATCH
* Now that ASB has been merged we don't have to worry about
  rollback protection.

Change-Id: Ibc81ffe98beb28055868a60aa590cb788958a85b
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:50:09 +05:30
LuK1337 f9b3072793 sm8150-common: Restore qfp related blobs
* Apparently these make FOD faster for some reason...

This reverts commit 0b8c19a16b.

Change-Id: I495af851d6e6639be1ab393bfa561a6bbe795173
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:49:43 +05:30
Piyush Balwani 35fea5f872 sm8150-common: Enabling PASR
Enabling PASR for msmnile

Change-Id: Id979e11fd74e32da4acee3d883a3db76fc2d462e
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:47:51 +05:30
Hikari-no-Tenshi a03d66103d sm8150-common: sepolicy: Allow system_app to interact with pasr hal
Change-Id: I5d521704aa6739ab27b7cad292f05269fd5411d7
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-28 17:47:49 +05:30
Anirudh Gupta 1e19fefd66 sm8150-common: Pin patched ims to remove HD notification
Change-Id: I6b173bf4a0c35f223d61abbf82788e7feb3722d1
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-14 09:01:07 +00:00
Akhil Narang c1d0839750 sm8150-common: Automatic translation import
Change-Id: If2760efcfba6128499e7ae71669d8411728b99aa
2020-05-05 18:58:33 +00:00
Ashwin R C 935a7051b2 sm8150-common: allow hal_audio_default to read audio_device
audio_hw_primary: pcm_open_prepare_helper: cannot open device '/dev/snd/pcmC0D0p': Permission denied
avc: denied { search } for name="snd" dev="tmpfs" ino=14528 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0

Change-Id: I8fb7ec2c269fca6b8bf21aacf521990e9279418d
2020-05-04 16:35:53 +00:00
Anirudh Gupta 8f053ef9c5 sm8150-common: BoardConfig: Use latest clang to compile kernel
Requires: https://review.aosip.dev/c/AOSIP/platform_vendor_aosip/+/12107

Change-Id: I3de8abfd380799b05dd494012a54cf5142d005cf
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-02 14:30:10 +05:30