roynatech2544
651386dfff
universal7885: add Samsungparts
...
* It is based on XiaomiParts usually found on Xiaomi device trees
Change-Id: If34ba79bba05ede0ce98bbedf14a1c318bee8fc4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:16:05 +09:00
Chatur27
71ff7a7017
vendor_detect: run clang-tidy
...
$ clang-tidy main.cpp -extra-arg=-std=c++17
Running without flags.
$
2022-03-22 18:16:05 +09:00
roynatech2544
b231e3bd21
universal7885: Add my makefile Generator script
...
Change-Id: I2ec7e72a67d73e5b9b6dd4f57557ede1651ebe03
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:15:53 +09:00
Soo-Hwan Na
70476a701f
universal7885: Update deprecated sepolicy makefile flag
...
Change-Id: I7e7ddf8d4fd35f55b2bba375e748181a20546c0f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:15:37 +09:00
Chatur27
b6f0f3e1bb
universal7885: Allow copying of APKs
...
Change-Id: Ic1a66da7861370feb34a59faa03fb9c6e499ec42
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:15:26 +09:00
Chatur27
d586942a1c
universal7885: Restore power btn longpress function
...
Change-Id: Iffbdc2c82601c8d15480af0a8a6730de92a14e2c
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:15:12 +09:00
SamarV-121
579c5401a7
universal7885: overlay: Disable night light/extra dim
...
* causing screen flicker
Change-Id: I38b59e353b2fb4e04d7e23070464520b06d9b973
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:11 +09:00
Edwin Wong
c0753280c8
universal7885: Update clearkey plugin to drm HAL v1.4
...
Test: atest
atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent
Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:11 +09:00
SamarV-121
0a0b654afa
universal7885: Uprev audio HAL to 7.0
...
Change-Id: Ib62f81c407d1e140d5501878d025deb2ee47a73b
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:11 +09:00
Kevin Jeon
2994f52644
universal7885: Update SurfaceFlinger pin
...
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.
Bug: 176197656
Test: adb shell dumpsys pinner (coral)
- shows that /system/bin/surfaceflinger is successfully pinned
adb logcat | grep PinnerService (coral)
- no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:11 +09:00
Nicolas Geoffray
d78202c260
universal7885: 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: Ifead4354d29b3ce658b2f5771b778a050b0579b5
Merged-In: I6627afc390f8dcacc197680dcc4917e2ac5bc090
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:11 +09:00
SamarV-121
5d11751e99
universal7885: Disable blur
...
* causing screen flicker
Change-Id: I7700fda330ec56dfd519e0f0c1b34279b1cdcd83
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:10 +09:00
SamarV-121
f2941dde63
universal7885: Import USB typec HAL from lineage
...
* https://github.com/LineageOS/android_hardware_lineage_interfaces/tree/lineage-18.1/usb/1.1-typec
Change-Id: I784aa37b58deca8d12df030be103cad5b72d7e3b
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:15:10 +09:00
SamarV-121
3e189833f6
universal7885: Build needed vendor interface libraries
...
Change-Id: I212841eca5cdcea5fb3199fb7e821f29c492e1f1
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:10 +09:00
SamarV-121
a3d483b03a
universal7885: manifest: Bump target-level to 3
...
* legacy/O/O-MR1 matrices has been removed
* https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1465685
Change-Id: I2b00fa82b1e5c9875259960a61e0be9a19c1cdd6
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:10 +09:00
SamarV-121
38a7f2e6e0
universal7885: libshim_sensorndkbridge: Add liblog dependency
...
`error: undefined symbol: __android_log_buf_print`
Change-Id: I6fe5890420817e154df4be2c807ef20e85fe55c2
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:10 +09:00
SamarV-121
6a41db6f5d
universal7885: Do not enforce sysprop owner
...
* https://android.googlesource.com/platform/system/sepolicy/+/afc09932f6fa07c5f6beffbcdc2bb4691e527321%5E%21
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Change-Id: I59746fb999381167973b7a652906cfd0d0d0b31e
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:10 +09:00
SamarV-121
080b70fe65
universal7885: Allow copying broken elf prebuilts
...
Change-Id: I2cf32d52c4c08a1d730f2d1575d31f7ec6d5ad98
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:10 +09:00
roynatech2544
c486edc2fe
universal7885: power: fix build on android S enviroment
...
* Remove dependency on hardware/samsung
Change-Id: I803f9e04995d2b1e3a05407ceebe21aa8428abf8
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:14:48 +09:00
Harshit Jain
8503d0a458
universal7885: Fix build on android S environment
...
Change-Id: I7180195ed613f91beaac667391aad32472c2cd1e
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:14:48 +09:00
SamarV-121
5f9f65082c
universal7885: Move PRODUCT_CFI_INCLUDE_PATHS definition to product makefile
...
`error: cannot assign to readonly variable: PRODUCT_CFI_INCLUDE_PATHS`
Change-Id: I11db13fef959c1bbe5f44ffe04cd581f907b1104
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:48 +09:00
SamarV-121
ae36727519
universal7885: Delineageify
...
Change-Id: I0e2f60bb4ff6c5e095f5e5a57cf4bee9ed0ac2b6
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:14:48 +09:00
LuK1337
97a81dec31
universal7885: Enable DAP effect on boot
...
Change-Id: I07daeebc1a4b51905e7551081b1530e0502689d2
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:48 +09:00
SamarV-121
6c3b4b5fbf
universal7885: power: Include VINTF fragment
...
Change-Id: I08a6fddc8567c6577156a6bd252bae9b8d6153b6
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:14:48 +09:00
SamarV-121
cc5d68d326
universal7885: Remove unsupported soundtrigger HAL
...
Change-Id: I7cee72ec984c56d25d262c6120f6508451982b9c
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:14:47 +09:00
SamarV-121
d379b2c130
universal7885: Undeclare dsms HAL from compatibility matrix
...
Change-Id: I2047ce0b94d2e98f5cb461326a312853d2bf5e1b
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:47 +09:00
SamarV-121
c68500b0a7
universal7885: Cleanup manifest.xml
...
Change-Id: If47a807c25e553afc99f079699db6219a1ff45f4
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:47 +09:00
SamarV-121
917254017b
universal7885: Copy audio volume configs from source
...
Change-Id: I26cf4bd17483388c6d359fcd5c7dec5a357fbbfe
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:47 +09:00
SamarV-121
ae27f3e099
Revert "universal7885: Enable TARGET_CAMERA_BOOTTIME_TIMESTAMP"
...
This reverts commit 3946ae1c3099b7cc040b8402e8639f7f4403e960.
* e20d1c921d
Change-Id: Ib32b9033ad62f8676ae6993c95f81f346468de96
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:47 +09:00
roynatech2544
9e4b753799
universal7885: nuke releasetools
...
Change-Id: If10e22cd1642d234110884ff9431867937391b11
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:14:04 +09:00
roynatech2544
9dc93122f1
universal7885: rootdir: Mount 75% of physical memory
...
Change-Id: I26b10e401b2473aca9f93bc490d59e738cbae7a0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:13:49 +09:00
SamarV-121
0d3b1a1c16
universal7885: init: Conditionally use ro.boot.em.model to get model
...
* ro.boot.product.model prop doesn't exist on some devices
Change-Id: Ie35009612197ef85af5d336d7aebcf5d059643ca
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:13:48 +09:00
SamarV-121
4210766d4d
universal7885: rootdir: Increase swappiness
...
Change-Id: Iecac741764c6242d350ce947581809c41db07e49
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:13:07 +09:00
roynatech2544
35bd7cba2e
universal7885: libinit: adapt to A20/A20e varients
...
Change-Id: Ib026e89cfd758d1b336f926ce2a72e1a145be326
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:12:24 +09:00
roynatech2544
9b3f0e2b09
universal7885: commonize bluetooth include header
...
Change-Id: I5f2a893d9ae588bd30dd80bdc346b07dda498459
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:12:08 +09:00
roynatech2544
9506c382c4
universal7885: Adapt SELinux rules to match our A20/A20e's needs
...
* Additionally, adapt LineageOS's rules too
Change-Id: Ie253afd9052c700705861d618253445ef4b8c728
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:11:48 +09:00
roynatech2544
90eb28369e
a20e: set correct overlay
...
* battery capacity, if the AOD is available
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
Change-Id: If7d29508cb889a7a2a3e53e756a5a8dc2af7f8f0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:10:21 +09:00
roynatech2544
9a2a6b6dde
universal7885: Update proprietary files list to ours
...
Change-Id: Ied4bede4a82c2dd561773ba79f6f27812ae73f43
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:10:03 +09:00
roynatech2544
f8eb3e1258
universal7885: Inital port to A20/A20e
...
Addtitionally, Add device-specific trees as well
Change-Id: Icbbc31c063b18bce3702d0b208a0aee78148a7c0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:08:09 +09:00
SamarV-121
601b5ef5aa
universal7885: sepolicy: Allow tee to write efs_file
...
`W McDaemon.FSD2: type=1400 audit(0.0:98): avc: denied { write } for name="Store_1.tf" dev="mmcblk0p3" ino=28 scontext=u:r:tee:s0 tcontext=u:object_r:efs_file:s0 tclass=file permissive=0`
`I TeeMcDaemon: create: Create storage file "/mnt/vendor/efs/TEE/Store_1.tf" [hardware/samsung_slsi/exynos7885/mobicore/Daemon/src/FSD2.cpp:129]`
`E TeeMcDaemon: creating storage file failed with "Permission denied"(errno 13) [hardware/samsung_slsi/exynos7885/mobicore/Daemon/src/FSD2.cpp:144]`
Change-Id: I5f82cf2a25ed32203734b2f80aa041e99c66f17f
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
SamarV-121
f8fe2f5426
universal7885: Cleanup
...
* Alphabetize
* Remove packages which are built by default
Change-Id: Id678c95765d395ba65477ca6a1b220a2107283dd
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
Wei Wang
cf9c04c640
universal7885: Skip wait for hwservicemanager
...
* Wait for hwservicemanager is no longer needed
after this CL:
https://android-review.googlesource.com/#/c/356043/
Bug: 36399429
Test: victara boot
Signed off by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I12c5adab70dc519b5e834eb35262ff73d214978b
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
Wei Wang
672638813b
universal7885: Make sure graphics HAL services started before mounting data
...
Bug: 36409349
Signed off by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I1df0bd7878c7d67d3695ad1644c6b928cee0e323
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
Chia-I Wu
ed3b642100
universal7885: Start hwservicemanager early
...
Test: builds and boots
Bug: 35173320
Change-Id: I9f060904174103a6a145a83cbb4c100728ff6df6
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
Wei Wang
b6b210ae70
universal7885: Start bootanim before mounting data partition [1/2]
...
Bug: 30118894
Signed off by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: If84764e3ce51f467b2dfa867ce28e1e396422d45
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
SamarV-121
00ea8fd0bb
universal7885: Add blob dependency only when it doesn't exist
...
Change-Id: I46873a22d11b91a0a7329f075505e53a005f0665
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
Arne Coucheron
36933979a5
universal7885: Enable more lmkd configs
...
Change-Id: Ie8748a46ce39f3c8c629d8862e767876f0c4c99f
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
SamarV-121
e0ee886329
universal7885: Add missing seperators in lineage.dependencies
...
Change-Id: I79f191bcc32bbf388a376e87af792f0747d4f533
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
SamarV-121
a466f7e675
universal7885: sepolicy: Allow gpuservice to read graphics_config_prop
...
`W Binder:3927_1: type=1400 audit(0.0:663): avc: denied { read } for name="u:object_r:graphics_config_prop:s0" dev="tmpfs" ino=2654 scontext=u:r:gpuservice:s0 tcontext=u:object_r:graphics_config_prop:s0 tclass=file permissive=0`
`E libc : Access denied finding property "ro.cpuvulkan.version"`
Change-Id: I0e85c1bf7fc8ac54c6ce2b5d20fe28fdec61c102
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
SamarV-121
63869dafa1
universal7885: sepolicy: Allow memtrack HAL to read sysfs_gpu
...
`android.hardware.memtrack@1.0-service: libmemtrack-hw -- Couldn't open gpu_memory node`
`memtrack@1.0-se: type=1400 audit(0.0:721): avc: denied { read } for name="gpu_memory" dev="sysfs" ino=15688 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:sysfs_gpu:s0 tclass=file`
Change-Id: I5aa468a7f4cb3b2dad032e7505705efcb84f9519
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00