Commit Graph

158 Commits

Author SHA1 Message Date
Jorge Lucas
2cfc9fb07b msm8953-common: Add fingerprint perms for sanders/potter
Signed-off-by: Jorge Lucas <jorgelucas.sd@gmail.com>
2021-01-31 18:24:25 -03:00
Jorge Lucas
498023ed68 msm8953-common: Import init.recovery.qcom.rc from CAF 2021-01-31 18:24:25 -03:00
CrisBalGreece
718e615a83 msm8953-common: add a vendor copy of com.qualcomm.qti.wifidisplayhal@1.0.so
* It turns out that wifidisplayhalservice also wants a copy of it
  and with VNDK current it cannot read the system copy.
* Without the vendor copy though, Miracast still works, but let's
  provide a vendor copy to fix this error from appearing  in  our
  logcat.

F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "com.qualcomm.qti.wifidisplayhal@1.0.so" not found

Change-Id: I700a4ba61089eae035e0af3ac3e23ea9c80a5cbc
2021-01-31 18:24:25 -03:00
jeangraff30
5d7dcdfc69 msm8953: kang light hal from moto msm8937 tree 2021-01-31 18:24:06 -03:00
Vachounet
d92733b312 msm8953-common: Add homebutton perms and address denials
Signed-off-by: trpsl <trpsl755@gmail.com>
2021-01-03 21:39:10 -03:00
Joshua Blanchard
20bb266be8 msm8953-common: Give audio hal access to prox and spkr calibration data
* Speaker (and receiver) calibration files are located on persist
  partition. Grant audio permission to find and read these files.

* Moto's libspeakerbundle needs access to the proximity sensor,
  so allow it to find sensorservice so MotSpeakerHelperProximity
  can instantiate SensorManager.

Change-Id: I888a424fc1c42dea0f130adfc74e02e47927e2b8
2021-01-03 21:39:10 -03:00
Joshua Blanchard
42e6a9e1f8 msm8953-common: sepolicy: Allow camera to read and set calibration data
Change-Id: I9a3d852fd2ac4501f1b38c2660fef366e1f26e30
2021-01-03 21:39:10 -03:00
jeangraff30
8351fcaa10 msm8953-common: switch to Camera2 2020-12-28 20:12:09 -03:00
jeangraff30
c274deb5fb msm8953-common: decomonize camera@1.0-impl
Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-12-28 20:12:09 -03:00
Nolen Johnson
eafd88e2a0 msm8953-common: Decomonize Audio HAL
* Let maintainers decide whether they go prebuilt or source built.
2020-12-28 20:12:09 -03:00
Erfan Abdi
75cbd48ef8 msm8953-common: Wrap libgui_vendor into libwui
Change-Id: Ifa25ec6a2aaf3855c24b2a3a46b80abb8501b189
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2020-12-28 20:12:09 -03:00
Jorge Lucas
80b2a909c9 msm8953-common: Switch to VNDK full runtime
Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
2020-12-28 20:12:09 -03:00
jeangraff30
a6eeb5ffa5 msm8953-common: decomonize prop cam 2020-12-28 20:12:09 -03:00
jeangraff30
106e3b7277 msm8953-common: add support for albus
Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-12-10 20:31:01 -03:00
jeangraff30
29dcca4f37 msm8953-common: Switch to android.hardware.nfc 1.1 2020-11-22 23:58:03 -03:00
jeangraff30
f62f212def msm8953-common: add missing cryptfshw 2020-11-22 23:58:00 -03:00
jeangraff30
5e3516f0b7 msm8953-common: add missing sensors blob 2020-11-22 18:18:41 +01:00
Aayush Gupta
a791807e4d msm8953-common: Address denials regarding to access sysfs_kgsl
[   45.239076] type=1400 audit(1601312101.298:24): avc: denied { search } for comm="DefaultPool5" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:untrusted_app:s0:c151,c256,c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 app=com.google.android.apps.maps

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I80c5de2d9687b3127922d5bc55c26461a797d0f9
2020-11-22 18:17:13 +01:00
jeangraff30
43f04a3e8d msm8953-common: kang properties from sdm632 tree 2020-11-22 18:17:11 +01:00
jhenrique09
b71e1a0a79 msm8953-common: Fix portrait mode on moto cam
* Moto cam checks for hwrev prop to allow portrait mode
2020-11-19 20:50:32 +01:00
jeangraff30
801bebb861 Revert "msm8953-common: wifi: Enable 2.4GHz channel bonding"
This reverts commit 065548fb6e.
2020-11-16 03:49:51 +01:00
jeangraff30
c4b73d6758 msm8953-common: Update sepolicy 2020-11-16 03:49:48 +01:00
Erfan Abdi
6f64594d42 msm8953-common: Move egis_input sepolicy to genfs 2020-11-15 21:16:05 +01:00
trpsl
675d96b639 msm8953-common: Address Dolby denials
Co-authored-by: Rohan Hasabe <rohanhasabe8@gmail.com>
2020-11-15 21:16:05 +01:00
jeangraff30
d68a31c631 msm8953-common: sepolicy: Address light hal 2020-11-15 21:16:05 +01:00
jeangraff30
7535f9d5ae msm8953-common: Import sepolicy from sdm660 tree 2020-11-15 21:16:02 +01:00
trpsl
464b0ce482 msm8953-common: Add Moto Dolby 2020-11-15 21:15:16 +01:00
jeangraff30
fe5df91570 msm8953-common: Cleanup Overlays and Import overlay from deen_sprout
* Based sdm632-common motorola

Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-11-10 01:37:23 +01:00
Michael Wright
7d990b11a8 msm8953-common: Enable haptic text cursor.
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2020-11-10 01:37:22 +01:00
Amit Mahajan
3946254392 msm8953-common: Change to add config overlay for VZW for flag config_LTE_eri_for_network_name.
This ensures that eri is not used to detect network name when voice
tech is LTE on VZW.

Bug: 18161228
Change-Id: I3382a0fc68272c58893848c32df024d0c4681279
2020-11-10 01:37:21 +01:00
Haran Govindan
d03d7a41f7 msm8953-common: Give proper permissions for /dev/diag
* This gives proper permission to /dev/diag node so that diag driver can load successfully

Before in log:
Diag_Lib:  Diag_LSM_Init: Failed to open handle to diag driver, error = 13

After in log:
Diag_Lib: qpLogDiagInit <== result : 1
Diag_Lib: QMID : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0

Change-Id: If42a58753fa71d345f19d615bb70720fc26c95fe
2020-11-10 01:37:20 +01:00
jeangraff30
66a6b56ff2 msm8953-common: Add missing blobs widevine 2020-11-10 01:37:19 +01:00
Hai Shalom
7742bdeef5 msm8953-common: Add supplicant 1.2 to init.qcom.rc
Add missing supplicant 1.2

Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
2020-11-10 01:37:18 +01:00
Erfan Abdi
a0759bb84a msm8953-common: Switch back to 1.1 radio
* This device doesn’t use qcrild yet

Change-Id: Ief0c6a254c8c4cc166e72371e29d7b5865327547
2020-11-10 01:37:17 +01:00
jeangraff30
4afbcb9acc msm8953-common: Update blobs to deen_sprout QPKS30.54-22-13 2020-11-10 01:37:16 +01:00
Wang Han
1f20523c34 msm8953-common: overlay: Configure number of physical SIM slots
* Needed by telephony-common

Change-Id: I18c058d295ed2eaf23e8ca5d1f3933b65806ed48
2020-11-10 01:37:14 +01:00
Lucas Dupin
93cc0fc138 msm8953-common: Kang walleye offsets for GPU composition
Window animations now have rounded corners, meaning that
the shader that we use is more expensive than it used to be.

Because of this, we need to adjust the SF offsets, to make sure
that we'll have enough time to finish the GPU composition without
dropping frames.

These offsets as similar to blueline's, adjusted slightly because
we were getting false "frame missed" signals if composition
starts too early.

Change-Id: I8173e12b006bc1cab6b4cb0b3a5db9f9b3489819
2020-11-10 01:37:13 +01:00
Erfan Abdi
ded46b8613 msm8953-common: Set carrier prop using libinit 2020-11-10 01:37:13 +01:00
Geofferey Eakins
5025e448d2 msm8953-common: prima WCNSS cfg enable McastBcastFilter
Our packet filter changes to the moto prima opensource driver now requires setting this flag to achieve maximum power savings when sleeping by filtering out broadcast and multicast messages.
2020-11-10 01:37:12 +01:00
Naseer Ahmed
d9bcb15498 msm8953-common: power: Use log.h from VNDK
Change-Id: I8aa8566036a44b1587f5cfe6c745e11a3dd19481
2020-11-10 01:37:11 +01:00
Michael Bestas
6ca662329c msm8953-common: power: Compile with -Wall -Wextra 2020-11-10 01:37:10 +01:00
muralivijay
aff368eb39 msm8953-common: power: Remove display_pwr node
* Our 3.18 kernel doesn,t support this. logcat spams like this "E QTI PowerHAL: Error opening /sys/kernel/hbtp/display_pwr: No such file or directory"

Signed-off-by: muralivijay <muralidharan9845@gmail.com>
2020-11-10 01:37:09 +01:00
Pulkit077
4d9b53ce77 msm8953-common: import power HAL
Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-11-10 01:37:09 +01:00
Erfan Abdi
753e9e4bcd msm8953-common: Kang libinit from xiaomi sdm660 common tree
Change-Id: I14618daea9861c9e4677223c5a0d62889c13cab9
2020-11-10 01:37:08 +01:00
Ecco Park
a456b6c47d msm8953-common: add parameters for Hotspot 2.0
Those parameters need to set for Hotspot 2.0 network

interworking=1 : Enable Interworking
hs20=1: Enable Hotspot 2.0
auto_interworking=0 : Do not automatically go through Interworking
                      network selection in wpa_supplicant
Bug: 118633353
Test: live test with Passpoint AP
Signed-off-by: Ecco Park <eccopark@google.com>

Change-Id: Ic2351295802265516f20466113c08e2df0796dfa
2020-11-10 01:37:07 +01:00
Erfan Abdi
2203c377ed msm8953-common: Add APN hack for sprint 312 530
* in moto framework we have “config_sim_operator_override_rules” which is overriding sim operators, and in overlays they are replacing 312530 with 310120.
    getprop of sprint on stock firmware:
    [gsm.sim.operator.numeric]: [310120]
    [gsm.sim.operator.numeric.orig]: [312530]

* We don’t hve such implementation on lineage so it uses wrong APN and mobile data is broken with sprint

* This hack adds 310120 APNs to 312530, so we can have LTE+ on it

Change-Id: I9184348ee58dbf0239fce5cf69b7826b5e7a3ed1
2020-11-10 01:37:07 +01:00
Erfan Abdi
c8d48cd0b5 msm8953-common: Set right Sprint APNs
* We need the new Sprint APNs (x.ispsn.*).

Change-Id: I8680ed8ae214c7e76dc177f1db8474e092b03a37
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2020-11-10 01:37:06 +01:00
Erfan Abdi
2b5122892e msm8953-common: Add pixel boot enhancements 2020-11-10 01:37:05 +01:00
Michael Bestas
e05f1f2d13 msm8953-common: Revert back to old FM init prop
* FM app sets system properties now

Change-Id: If38931bc47708e073331009f78f0dd2b1e4a1fff
2020-11-10 01:36:52 +01:00
maxwen
f7ac7cdde3 msm8953-common: Update overlay to hide sRGB toggle
* Now expected as an array in Settings package

Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2020-11-10 01:36:39 +01:00