xdevs23
cc422f3fab
sm7250-common: rootdir: Hide Magisk Better
...
* Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.
To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.
I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com >
2022-04-08 19:30:51 +00:00
Daniel Solomon
798b78c656
sm7250-common: Add config for display composition color spaces
...
* Currently we use the Display-P3 color space for display composition
across all color modes on op8. We do this to facilitate a new version
of Adaptive color mode; this forces display to always use P3 color
calibration.
* It turns out that in op8's case using P3 color calibration for sRGB
content, even when the content is accurately converted to P3, degrades
color accuracy for certain sRGB colors. To fix this, we revert back to
pre-op8 behavior, where we let SurfaceFlinger choose the most
appropriate color space for composition, for all color modes used on op8
*except* for Adaptive color mode.
Bug: 137140317
Bug: 137053654
Change-Id: I8670f76aa8c7c513e5a6db291c970a20609d032d
2022-04-01 16:51:37 +05:30
Jake Weinstein
19b73df61d
sm7250-common: Set display calibration on color mode settings
...
* sRGB on Natural and Boosted
Unmanaged on Saturated
P3 on Automatic
Change-Id: Ida1a64ff2ea99973f2e2a0fa7ca062c75b7c4831
2022-04-01 16:51:29 +05:30
Jake Weinstein
c5c683c160
sm7250-common: Configure available color modes
...
* Stock already enables Natural, Boosted, and Adaptive.
We add Saturated to give more options.
Change-Id: Ie8bb08e2cac9f6facdf64f5aebfa2b195a841b43
2022-04-01 16:51:26 +05:30
maxwen
38f99fb7f6
sm7250-common: overlay: Hide sRGB toggle in developer options
...
* This is only available on Nexus/Pixel devices. Already implemented
in LiveDisplay for devices that have the proper profile in the
QDCM calibration file or provide the commands via sysfs node.
Change-Id: I1dbeafdef930bcfeb2b950b3adce293307abff85
2022-04-01 16:51:22 +05:30
Rohan Hasabe
93dc1146df
Revert "sm7250-common: Map our display modes out using AOSP overlays"
...
This reverts commit 62a57c7eaabee925d3332ff0fce990bd662cb24e.
2022-04-01 16:51:17 +05:30
Albert Wang
ba1ef84271
sm7250-common: Update USB HAL to V1.3 implementation
...
Supports to enable/disable USB data signaling
Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com >
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-04-01 16:40:24 +05:30
KakatkarAkshay
029bb8b7f2
sm7250-common: sepolicy: Get rid of persist.vendor.bluetooth.a2dp. property context
...
Duplicate prefix match detected for 'persist.vendor.bluetooth.a2dp.'
2022-03-28 23:51:39 +05:30
KakatkarAkshay
582ee73ed8
Revert "sm7250-common: Update qcom sepolicy include path"
...
* Merged in default branch now
This reverts commit 548aa839d0 .
2022-03-28 23:51:39 +05:30
KakatkarAkshay
a61a2dffe4
Revert "sm7250-common: Switch to seperate repo for WfdCommon jar"
...
This reverts commit f85b8c31f5 .
2022-03-28 23:51:39 +05:30
KakatkarAkshay
2ddaf2d87d
sm7250-common: Use thermal-engine from OOS
...
* Causes "Device too hot" in google photos
2022-03-28 23:51:39 +05:30
LuK1337
947995ce82
sm7250-common: sepolicy: Allow camera to access vendor_xdsp_device
...
Change-Id: I59ee2b5a5f37690c2d55f8ee3acb0cdfb127e678
2022-03-28 23:51:39 +05:30
Dyneteve
427bce6e7a
sm7250-common: Disable SIM {1|2} is HD capable notification
...
Change-Id: I2f3f2fc9f0e797170ab34d82b00b46259a5c7348
2022-03-28 23:51:39 +05:30
Bruno Martins
e378f9d95e
sm7250-common: overlay: Enable smooth display with 120Hz
...
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.
Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
2022-03-28 23:51:39 +05:30
Michael Bestas
9ee20a9def
sm7250-common: Build fastboot mock HAL
...
* This adds all the missing methods and makes fastbootd
wipe work properly.
Change-Id: I4906f6e9dcc00d37a7fa97e0139ba536f00755fa
2022-03-28 23:51:39 +05:30
KakatkarAkshay
6b68c634cc
sm7250-common: Update WFD Blobs from from LA.UM.9.12.r1-13400.02-SMxx50.QSSI12.0
...
* LA.QSSI.12.0.r1-04900.02-qssi.0
2022-03-28 23:51:39 +05:30
aswin7469
58cd1c84e1
sm7250-common: address denials for gcam
...
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2022-03-28 23:51:39 +05:30
aswin7469
885bb9c7eb
sm7250-common: allow nfc data to read write
...
Signed-off-by: aswin7469 <aswinas@pixysos.com >
2022-03-28 23:51:39 +05:30
Akshay Kakatkar
5dc90dd003
sm7250-common: Drop op extras
2022-03-28 23:51:39 +05:30
KakatkarAkshay
c968f435a0
sm7250-common: Hardcode branch for hw/op
2022-03-28 23:51:39 +05:30
LuK1337
cc06563c94
sm7250-common: Map our display modes out using AOSP overlays
...
Change-Id: I1124033f4c7dd5362514656bcab1da80f89f4080
2022-03-28 23:51:39 +05:30
Nicolas Geoffray
a0aa36af6e
sm7250-common: Remove odex/oat files from pinner list.
...
The pinner now asks the runtime for these files.
Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2022-03-28 23:51:39 +05:30
KakatkarAkshay
f8329112dc
Revert "sm7250-common: Enable color mode & set display calibration on color mode settings"
...
This reverts commit 84e9206b3a .
2022-03-28 23:51:39 +05:30
KakatkarAkshay
e57f0c68d0
sm7250-common: Prebuilt Google Camera Go
2022-03-07 13:13:47 +00:00
Daniel Jacob Chittoor
9bd78fb15b
sm7250-common: Nuke qti thermal hal
...
* Handled by thermal-engine, sometimes causes google photos to not backup with "Device is too hot"
2022-03-07 13:13:47 +00:00
Daniel Jacob Chittoor
7525d5841a
sm7250-common: disable cnss-diag
2022-03-07 13:13:47 +00:00
Daniel Jacob Chittoor
4ff4462ed7
sm7250-common: rootdir: Remove unused FTM init scripts
...
Signed-off-by: Daniel Jacob Chittoor <djchittoor47@gmail.com >
2022-03-07 13:13:47 +00:00
KakatkarAkshay
c39d21ce33
sm7250-common: Remove op1 and op2 partitions
2022-03-07 13:13:47 +00:00
KakatkarAkshay
4afb835916
sm7250-common: Commonize fstab and encryption props
2022-03-07 13:13:47 +00:00
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