Albert I
40c9499dc6
sm7250-common: Set up display color compositions
...
* Switch to "Adaptive" mode and Display P3 color by default
* Use default color mode for Natural and Boosted
* Enable QDCM combined mode and disable factory mode
* Drop LiveDisplay's color mode support as it conflicts with AOSP display
color adjustment
* Rest of configuration is kanged off Pixel's overlay
* Add COLOR_MODE_SATURATED support from sunfish
Signed-off-by: Albert I <kras@raphielgang.org>
2021-12-01 16:43:28 +01:00
Dobsgw
c6faf7010b
sm7250-common: disable volte HD notification
2021-12-01 16:43:28 +01:00
ghostrider-reborn
33c659a29e
sm7250-common: overlay: Define OEM fast charge sysfs node
...
* this forces android to display "charging rapidly" whenever our
proprietary 33w charger is connected, based on the value of
this node (0/1)
2021-12-01 16:43:28 +01:00
xSylla
673320e8a1
sm7250-common: Commonize parts/utils
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
Arian
1319cf67e7
sm7250-common: parts: Allow to wake the screen instead of pulsing
...
Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com>
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I1e74f8eafa51843e77d2d8c514c646a4494327cd
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
5c6a011963
sm7250-common: Default to 6GB Dalvik heap configuration
...
* Our libinit is missing on GSIs and DSUs
Change-Id: Ie5d7c5e297a47c9d5587b075bd0641914d368f78
2021-12-01 16:43:28 +01:00
xSylla
e1e609f04e
sm7250-common: Set proper TARGET_CPU_VARIANT_RUNTIME
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
Panchajanya1999
3883c3c56c
sm7250-common: Set target arch variant "armv8-2a"
...
* The target arch variant 'armv8-2a' enables Armv8.2 features in Clang
and ART compiler when building Android images on host machines
* https://community.arm.com/developer/tools-software/oss-platforms/b/android-blog/posts/bringing-armv8-2-instructions-to-android-runtime
Change-Id: I813f02490c2d0d159dcadf1605e03b734e37e19e
Signed-off-by: Carlos Ayrton Lopez Arroyo <15030201@itcelaya.edu.mx>
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
dhacker29
d1de1e190f
sm7250-common: rootdir: Allow telephony access to proc/cmdline
...
`D/TelephonyManager: No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)`
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
luk1337
5fe472245e
sm7250-common: sepolicy: Regenerate labels for wakeup dirs
...
The list of folders for genfscon was generated using following script:
for f in `adb shell "find /sys/devices -name wakeup -type d"`; do
adb shell "ls -Z '$f' | grep -qv u:object_r:sysfs:s0 || echo '$f'"
done
While list for regular file_contexts was just a simple grep "wakeup[0-9]".
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
xSylla
680846d96c
sm7250-common: Changes for FM Radio
...
* Imported fm_helium and libfm-hci blobs
* Build libqcomfm_jni
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
SebaUbuntu
01e51ccb10
sm7250-common: sepolicy: Generic-ify dynamic FPS nodes
...
Change-Id: Id6df844498c08d7b40fe46045ed8f5f883387bc9
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
ddece61c69
sm7250-common: sepolicy: Remove fod_ui labeling
...
* We got it covered with vendor_sysfs_graphics
Change-Id: I40f13e1aa8dc6fb6d04118c0f8bcee9fa66efaa4
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
8e30fb19cc
sm7250-common: sepolicy: Label more wakeup/bq2597x-standalone nodes
...
Change-Id: Id55786785f7fc7446f454b3deb338d77036a14bb
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
7b49ef927c
sm7250-common: sepolicy: Fix rx_swr_ctrl/wakeup label indentation
...
Change-Id: Idc10f662f8ea108e4f22315422652661c99cc5f2
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
9e9a8fcdc9
sm7250-common: sepolicy: Label /data/gf_data
...
Change-Id: I16097514f7be098c2cd12b290f3db4c803161011
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
8e67d730cf
sm7250-common: sepolicy: Don't grant batterysecret access to generic sysfs
...
Change-Id: I40a8516f241b2cade49f5dc6e83a2c2ca1165796
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
e37967e388
sm7250-common: sepolicy: Label bq2597x-standalone in another I2C address
...
Change-Id: Ia6bc16624d7505b468c8a978536e4e77f9855a45
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
943e46aa39
sm7250-common: sepolicy: Redo indentation in property_contexts
...
Change-Id: Icd49f4a9203fd9764c7f784379fdd8ea06508144
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
79d856e00c
sm7250-common: sepolicy: Remove comments from property.te
...
Change-Id: Iaf899224f9037d412f047e8302f15e0f9906ef19
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
5457b1b1cd
sm7250-common: sepolicy: Remove duplicated allow
...
Change-Id: I384fead88397fad98b3446fa16900b9d371fd1da
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
dd29f9fc7e
sm7250-common: sepolicy: Reorder file.te
...
Change-Id: I99e4fe688dacc0e02e4f7bfecfc843edad907e32
2021-12-01 16:43:28 +01:00
erfanoabdi
2d98c6494f
sm7250-common: Add support for FMRadio
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 16:43:28 +01:00
Midas Chien
09c1629d5e
sm7250-common: enable idle timer with kernel support
...
Enable display kernel driver idle timer, which allows dropping to lower
refresh rate earlier and without additional overhead.
Bug: 160682800
Test: track idle timer through systrace
Test: zone test, scrolling
Change-Id: I6e82b58026d7b31cf0cabc0db7bb6277f6731d12
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
3e5f9e4a2e
sm7250-common: releasetools: Use bootdevice symlink everywhere
...
Change-Id: I2d91792d365074f0ac92b5ba228a4a2480ea8bd6
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
42ad90bfed
sm7250-common: Move WifiResCommon RRO overlay to vendor
...
* With GSIs and DSU images, product isn't mounted, and it's even worse with devices without a product partition, since it gets copied to system/product
Change-Id: If1e4d719f849abce53db2e2de01a6177bece8c57
2021-12-01 16:43:28 +01:00
Sebastiano Barezzi
c881e8265a
sm7250-common: Drop MMS user agent overlays
...
* They should be dealt with in ROM overlays and current profile URL points to a 404 page
Change-Id: I92f3ded52dda04f6cec5709d51c84b32f39d8095
2021-12-01 16:43:28 +01:00
Dobsgw
9e300d19d3
sm7250-common: fix media codecs copy out directory
...
Change-Id: I574f705518c7ead35381970ba76c3a34e97818df
2021-12-01 16:43:28 +01:00
Nolen Johnson
5298a0cdac
sm7250-common: bluetooth: Disable clean turn on
...
* This isn't needed anymore.
Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2021-12-01 16:43:28 +01:00
Erfan Abdi
35b50df64f
sm7250-common: Commonize bluetooth header
2021-12-01 16:42:55 +01:00
xSylla
fffa6c8891
sm7250-common: Decommonize liboemcrypto and libwvkeybox blobs
...
*Vangogh and Picasso doesen't have them
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
a8a8b96a08
sm7250-common: Decommonize HotwordEnrollment
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
LuK1337
34c3a32809
sm7250-common: Include device FCM from vendor/lineage
...
Sadly we aren't able to include it globally without breaking other
devices ;((((
Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2021-12-01 13:02:03 +01:00
LuK1337
5f85ad6b2e
sm7250-common: Remove all lineage HALs from FCM
...
No longer needed since we added device framework matrix in
vendor/lineage, see 78870c2.
Change-Id: I00233e7588dcfcd4bb66c42c52edb34cdff4376e
2021-12-01 13:02:03 +01:00
Adithya R
595f021689
sm7250-common: Address more battery secret denials
...
[ 19.924855] type=1400 audit(1617105165.784:140): avc: denied { getattr } for comm="batterysecret" path="/dev/kmsg" dev="tmpfs" ino=12292 scontext=u:r:batterysecret:s0 tcontext=u:object_r:kmsg_device:s0 tclass=chr_file permissive=0
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Change-Id: I9fdd78449973ac8f8f466402d82bc1e77de4d8f3
2021-12-01 13:02:03 +01:00
xSylla
369187b6df
sm7250-common: sepolicy: Label few more wakeup nodes
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
Arian
11b649960c
sm7250-common: Add KeyHandler to handle an goodix FOD key
...
* The goodix FOD HAL sends an key event (code 338) on touches
at the FOD area. This event causes the recents to be stuck
sometimes when swiping over it or closes the keyboard when
using bubbles and tapping in the FOD area.
Change-Id: I2f2fa65ae4d6d3be12193c5d75fdf7daf33b175a
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
f6043070f1
sm7250-common: Build FM2
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
d744d29784
sm7250-common: Import FM blobs
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
xSylla
6943ddddd2
sm7250-common: sepolicy: Label more wakeup nodes
...
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
SebaUbuntu
fd28bafa34
sm7250-common: sepolicy: Remove generic sysfs references
...
* We labeled everything
+
* Remove RTC label as we have a duplicate of it
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
Bruno Martins
20b6233939
sm7250-common: Make IFAAManager compile again
...
Change-Id: Iae2d1004bd1b3c939b552f09ea994ae87d71d73e
2021-12-01 13:02:03 +01:00
dianlujitao
a95dcf39d1
sm7250-common: Add ifaa apis to unrestricted greylist
...
Change-Id: If33a18edaf6083281265ce94fd143d72b4bb4fb8
2021-12-01 13:02:03 +01:00
Volodymyr Zhdanov
e9b0071c90
sm7250-common: org.ifaa.android.manager: switch to blueprint
...
* otherwise rip boot jars
Change-Id: Iea769fb4d3e07202b5477d2a86e40dd04170a053
2021-12-01 13:02:03 +01:00
notsyncing
3bc322fb3f
sm7250-common: Add IIFAAService for Alipay fingerprint payment
...
* The org.ifaa.android.manager.IIFAAService has been moved
from the SoterService.apk to MIUI framework, at least
since MIUI 9.4.26. Adding this interface will fix the
SoterService crashing when launching Alipay.
Change-Id: Ic97467eb0a8fe92b49e0edbedd56f1866c5fa01e
2021-12-01 13:02:03 +01:00
dianlujitao
de973890b8
sm7250-common: Support Alipay and WeChat fingerprint payment
...
* IFAA manager is based on OnePlusOSS, but adapted for Xiaomi's mlipay
interface.
Change-Id: Ied17d6456561bb399e4dd4a868d57a48d2d51db2
2021-12-01 13:02:03 +01:00
krasCGQ
be67063821
sm7250-common: Import Tencent SoterService from vangogh V12.1.7.0.RJVCNXM
...
This is necessary to perhaps make Mainland Chinese payment methods work there.
Signed-off-by: Albert I <kras@raphielgang.org>
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
a373000cef
sm7250-common: Import configstore flags from alioth
...
* We dropped configstore
Change-Id: I1c129b14491c3519224b48e224f7e71d5a82aa20
2021-12-01 13:02:03 +01:00
Albert I
d48b9a316c
sm7250-common: Ship full package of vendor.qti.hardware.dsp@1.0
...
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I3eac393fb297f31ed19e9b6db6f6632fe17a4e53
2021-12-01 13:02:03 +01:00
Albert I
040196370d
sm7250-common: sepolicy: Allow neural networks HAL to read ADSP properties
...
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I3fa6f51b746703bab2faf3f5fd6334b221a8636c
2021-12-01 13:02:03 +01:00