Commit Graph

660 Commits

Author SHA1 Message Date
KakatkarAkshay
ad5b1f14b2 sm7250-common: Commonize keymaster 2022-03-07 13:13:47 +00:00
KakatkarAkshay
8afb13721c sm7250-common: Update CarrierConfig from LA.QSSI.12.0.r1-04900-xx-qssi.0 2022-03-07 13:13:47 +00:00
KakatkarAkshay
5d9e77a251 sm7250-common: configs: Update GPS configs from LA.UM.9.12.r1-13400.02-SMxx50.QSSI12.0 2022-03-07 13:13:47 +00:00
KakatkarAkshay
8580ed614e sm7250-common: configs: Update Media configs from LA.UM.9.12.r1-13400.02-SMxx50.QSSI12.0
* Also move them to seperate directory
2022-03-07 13:13:47 +00:00
Bruno Martins
70b7d3b0a2 sm7250-common: Add unpinning support to update-sha1sums.py script
Change-Id: I9035b449cea6d78927a459dc247075b3d4512e46
2022-03-07 13:13:47 +00:00
LuK1337
27fe72ae51 sm7250-common: Handle moved blobs in update-sha1sums.py script
Change-Id: Iccab8c8620c7ff680768aac2d9cbf5b5067af8d7
Signed-off-by: CryllicBuster273 <cryllicbuster273@pixelexperience.org>
2022-03-07 13:13:47 +00:00
LuK1337
b3c2cc5246 sm7250-common: Add script to update sha1sums of kanged blobs
Change-Id: Id2e8cfb8d3b6f65f69c91a89bacd615fdcc45753
Signed-off-by: CryllicBuster273 <cryllicbuster273@pixelexperience.org>
2022-03-07 13:13:47 +00:00
KakatkarAkshay
4b0a6ab533 sm7250-common: Kang some blobs from LA.UM.9.12.r1-13400.02-SMxx50.QSSI12.0 2022-03-07 13:13:46 +00:00
KakatkarAkshay
40aa0d7468 sm7250-common: Update blobs from OnePlusNordCE-user 11 RKQ1.201217.002 2111120252 2022-03-07 13:12:29 +00:00
KakatkarAkshay
e43e371fc0 sm7250-common: Set keyguard refresh rate to 60 2022-03-07 13:12:29 +00:00
Jesse Chan
abb00d7401 sm7250-common: overlay: configure SQLite to operate in MEMORY mode
This change yields considerable SQLite performance gains. It should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Signed-off-by: Jesse Chan <jc@lineageos.org>
Change-Id: I50d9b3d9f019772fedc7066675249116d5e441e4
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-03-07 13:12:29 +00:00
LuK1337
46f465a7bd sm7250-common: Build libssrec from source
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2022-03-07 13:12:29 +00:00
Elektroschmock
4cd0ddca4b sm7250-common: sepolicy: Fix isolated_app denial
avc: denied { setattr } for comm="CrUtilityMain" name="commands.json" dev="mmcblk0p42" ino=1251111 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0
avc: denied { setattr } for comm="CrUtilityMain" name="commands.json" dev="mmcblk0p42" ino=1251111 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0
avc: denied { setattr } for comm="CrUtilityMain" name="f2" dev="mmcblk0p42" ino=1251128 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0
avc: denied { setattr } for comm="CrUtilityMain" name="f2" dev="mmcblk0p42" ino=1251128 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0
Change-Id: I9a70417149c3239b89cc4266942cb3de4da34a4f
2022-03-07 13:12:29 +00:00
KakatkarAkshay
f85b8c31f5 sm7250-common: Switch to seperate repo for WfdCommon jar 2022-03-07 13:12:29 +00:00
KakatkarAkshay
1bd58ce14c sm7250-common: Address some camera denials 2022-03-07 13:12:29 +00:00
Omkar Chandorkar
35f19a5c38 sm7250-common: sepolicy: allow untrusted_app_29 to access camera prop
* fixes E/libc    (7181): Access denied finding property "persist.vendor.camera.privapp.list"

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-07 13:12:29 +00:00
luca020400
65a51c5695 sm7250-common: Switch back to AOSP NFC 2022-03-07 13:12:25 +00:00
KakatkarAkshay
6c0f5086d0 Revert "sm7250-common: relax sysprop owner enforcement"
This reverts commit aeef0693acfd942f685273afcfba480917f26e7f.
2022-02-12 13:21:43 +05:30
Chenyang Zhong
548aa839d0 sm7250-common: Update qcom sepolicy include path
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: Ica4a55672c3b06a8f2634056116098e937c64041
2022-02-12 13:21:43 +05:30
alk3pInjection
5403ccfd73 sm7250-common: label power_status 2022-02-12 13:21:43 +05:30
KakatkarAkshay
84f588e5d5 sm7250-common: Track extra repo for op-fwk 2022-02-12 13:21:42 +05:30
chandu078
2d9979e96c sm7250-common: sepolicy: address misc denials
Change-Id: I78f8f206c8697efddf08474f97e7df039b0d4363
2022-02-12 13:21:42 +05:30
alk3pInjection
f2ab8f8bbb sm7250-common: sepolicy: Resolve neverallows
Signed-off-by: alk3pInjection <webmaster@raspii.tech>
Change-Id: Id53185beac0757193d0fc68c76efcfe1279c335f
2022-02-12 13:21:42 +05:30
jhonboy121
580139f879 sm7250-common: sepolicy: address denials for fp hal
Change-Id: I69be81a37de6fca38659281ebca490292cb7bbaa
2022-02-12 13:21:42 +05:30
EcrosoftXiao
be09e25cf8 sm7250-common: ant: move to vfs-prerelease for now 2022-02-12 13:21:42 +05:30
Erfan Abdi
8b148366bb sm7250-common: Drop vendor.qti.hardware.cacert hal
Change-Id: I035d6dfe5e34c982f2af7bbd5a0df451c7b59322
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-02-12 13:21:42 +05:30
Inseob Kim
2fb1896b68 sm7250-common: sepolicy: Attach vendor_property_type to properties
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.

Bug: 159097992
Test: m selinux_policy && boot device
Change-Id: Ibed833cd9e5d786e82985ded6bc62abdf8cd9ded
Merged-In: Ibed833cd9e5d786e82985ded6bc62abdf8cd9ded
(cherry picked from commit 44eb8e1f89adf04fd413a69391fd444ba68af742)
(cherry picked from commit 1922128397116d551a663d5344b4456a84bf46eb)
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-02-12 13:21:42 +05:30
aswin7469
4bc5aeaa2e sm7250-common: set correct vendor code for oneplus fod
* needed for udfps to works properly on aod

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-02-12 13:21:42 +05:30
Pig
2b8e0e6e7e sm7250-common: Move DPM feature property to /system_ext
* DPM blobs are under /system_ext.

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-02-12 13:21:42 +05:30
Alexander Koskovich
21d8a5fa11 sm7250-common: init: Don't mount TraceFS twice.
* AOSP already mounts TraceFS in system init, so mounting it twice
   causes SEPolicy denials. See the comments in this change.

   https://android-review.googlesource.com/c/platform/system/sepolicy/+/1294195

Change-Id: Ic5d9ac2dbd36e404a93a8d48aa0ea933fd7fa701
2022-02-12 13:21:42 +05:30
Alexander Koskovich
d2a57d732d sm7250-common: Remove virtual framebuffer
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I51becacd30d17e71cdeb0fbe31bbe1b94262b316
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-01-28 15:22:04 +05:30
Nolen Johnson
2cdfb623ee sm7250-common: Simplify AVB flag logic
* AVB's  argument builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
2022-01-28 15:21:54 +05:30
Akshay Kakatkar
7cafc897c8 sm7250-common: sepolicy: Comply with VTS vendor isolation 2022-01-05 11:00:41 +05:30
iovxw
dfcb1f5437 sm7250-common: Remove FM Tuner from audio input devices
* This fixes google voice recorder
2022-01-05 11:00:41 +05:30
Akshay Kakatkar
3b685236b1 sm7250-common: Use twelve branch of vendor 2022-01-05 11:00:41 +05:30
TH779
eb463d3df0 sm7250-common: Disable settings provider model
* When it is enabled, if we have multiple SIM cards, the networks
   settings UX will only show the first SIM card.
 * Thanks to Telegram@CyberPhantom52 for the fix patch.

Signed-off-by: TH779 <i@779.moe>
Change-Id: I2690e6dcd69f8e0fe814ea3c92c85d7c6f894166
2022-01-05 11:00:41 +05:30
Sebastiano Barezzi
e268732821 sm7250-common: Uprev bluetooth audio HIDL impl to 2.1
* We get free LC3 support, isn't it poggers?

Change-Id: I0f1713ee542102374183ef8088bcad62d3859c2f
2022-01-05 11:00:41 +05:30
LuK1337
b542d1243b sm7250-common: Adjust for recent tri state key changes
tri-state-key package has been integrated into KeyHandler app, and
KeyHandler itself no longer needs to be added to lineage-sdk overlays.

Change-Id: I13b8f05e8e0b036c9303a01ec0c7e2d99b6756f7
2022-01-05 11:00:41 +05:30
Akshay Kakatkar
6173497850 sm7250-common: ims: Pin from LA.QSSI.11.0.r1-07500-qssi.0 2022-01-05 11:00:41 +05:30
Akshay Kakatkar
c75de081a4 sm7250-common: Update Blobs from RKQ1.201217.002 2109152230 2022-01-05 11:00:41 +05:30
Ido Ben-Hur
234c789c62 sm7250-common: overlay: Default to 90Hz refresh rate
This fixes automatic refresh rate and should default to 90Hz upon clean
flashing
2022-01-05 11:00:41 +05:30
Akshay Kakatkar
8895c7e6e9 Revert "sm7250-common: Build Health HAL 2.0"
This reverts commit 0d195728de.
2022-01-05 11:00:41 +05:30
Sebastiano Barezzi
ded5788f32 sm7250-common: Build extra VNDK version 30
* Basically make system a GSI, but this should avoid us the headache made by VNDK libs not being built based on proprietary interfaces

Change-Id: I1ca876b5d2a82d41af76f4c327b89a181bb3d6bd
2022-01-05 11:00:41 +05:30
Sushil Chauhan
c1f00a4b32 sm7250-common: Enable H/W Composition
Enable H/W Composition.

Change-Id: I9f4c5435d51d1dfaead1c11208059e7a6f922cbb
Signed-off-by: DennySPb <dennyspb@gmail.com>
Signed-off-by: Raj Jadeja <rajsjadeja4@gmail.com>
2022-01-05 11:00:41 +05:30
Wilson Sung
d05b413779 sm7250-common: Set SOC properties for SM7250
Bug: 158284209
Bug: 180589452
Change-Id: I31ec2aff20a4efb3c502ee5c8c6463e31c892bd5
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2022-01-05 11:00:41 +05:30
Edwin Wong
edd64739bd sm7250-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I406b7d3c2921d4698535421894c6eb3785eb1c0d
2022-01-05 11:00:41 +05:30
Akshay Kakatkar
f5288875e7 sm7250-common: Ignore vendor property namespace 2022-01-05 11:00:41 +05:30
Chenyang Zhong
62ecd25cbb sm7250-common: relax sysprop owner enforcement
Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in
system/sepolicy [1]:

"Devices launching with R or eariler can this by setting following
under BoardConfig.mk"

It is impractical to replace every prop definition from qcom to
vendor_property_type for old platforms like SDM845, so relax the
enforcement to avoid triggering millions of neverallows.

ref:
[1] afc09932f6

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-01-05 11:00:41 +05:30
Felix
bfc76cf497 sm7250-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2022-01-05 11:00:41 +05:30
Rohan Hasabe
7a8c707f4e sm7250-common: Build vendor HIDL interfaces
Change-Id: I8695467802fdaccef3887d1cfc76a6313feaef83
2021-10-30 18:20:44 +02:00