Commit graph

382 commits

Author SHA1 Message Date
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
LuK1337
d3dc59fac8 universal7885: Add reboot_fastboot action to power menu
Change-Id: I73e3a66db4d7cb34f1c13d4b8b1b8baad3b87f0d
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:09 +09:00
SamarV-121
90e35eef41 universal7885: rro_overlays: Cleanup default configs
* also change packagename

Change-Id: I3332d2775e978c3ef0c79283990cc3063cac5656
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
SamarV-121
c7376eff2f universal7885: sepolicy: Allow fingerprint HAL to write /dev/goodix_fp
Change-Id: I29fde9ebc48852ad121766a4066e563aced88bb0
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
SamarV-121
3df475a44f universal7885: Update blobs from A305FNPUS6BUD3
Change-Id: I5ee1e984872a2aa7eeb670e46a3697ad0848e6a1
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
SamarV-121
386f45e30a universal7885: sepolicy: Label recovery and boot block
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Change-Id: I861165f7b6c3279bc104818f2ec33887f34f5384
2021-10-21 22:12:08 +09:00
SamarV-121
22cd3a8290 universal7885: sepolicy: Cleanup unused contexts
* Also rearrange them

Change-Id: I27cbe8e6d4a4a26461e23485f7ae46afcd7f7d74
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
SamarV-121
101e8c1452 universal7885: Set wifi direct interface
* taken from 9a2952357b

Change-Id: I1ad819041e7d6633fd8aedf6e2bfd1f69df546a6
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
Tim Zimmermann
e4a3293ac5 fixup! universal7885: Move supplicant service init to wpa_supplicant
* Stock uses use_p2p_group_interface=1
  but we need to set p2p_no_group_iface=1 to use p2p0

Change-Id: I2e5be52e489bce137252e8c7b8e4a6ac59bb011d
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
Naina Nalluri
ecb572dba1 universal7885: Set the flag to disable rild
This is partial revert of this commit 9a0c0303d5ab9a2fd1ce6f1a7726f2638304c7db

Set the flag to enable vendor equivalent
ril service - i.e to disable rild

Bug: 73299369
Test: Compile and check the out folder
Change-Id: I43d38c2d334b5988800da9de49f467cf3beadf24
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
SamarV-121
bcd346f7e6 universal7885: Correct board platform
* as per stock

Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Change-Id: Id19c9afbbe6eb6b7dd2ab5f27f6b6088444760dc
2021-10-21 22:12:08 +09:00
SamarV-121
e44015122d universal7885: Decommonize board-info.txt
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Change-Id: Iee2bfc56173aeb2c07e2ab731de23c67da6ae696
2021-10-21 22:12:08 +09:00
ѕαмαя νιѕρυтє
237ccdbcd2 universal7885: Track slsi sepolicy repo
Change-Id: I44fa22d5eb43d1c31697fcd97beb5b3011e143a8
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
Anton Hansson
f1ff6e2d9c universal7885: Use TARGET_SCREEN_DENSITY
This variable is used to auto-populate the ro.sf.lcd_density as
well as selecting density bucket for resources in recovery.

Bug: 118676832
Test: adb shell getprop ro.sf.lcd_density
Test: boot into recovery
Change-Id: Ib383d18b61e7a2058a69ae26136aa053fdba4df2
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
SamarV-121
0bba914af2 universal7885: recovery: Initialize usb.configfs
Change-Id: I092daa2b489f51f78b530253c1c1370e8c0f6a8a
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
ae24c2ca02 universal7885: Label more power supply nodes
* seen on a40

Change-Id: If0ab64794d9805bb2310d085e15c72c1c9190078
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
SamarV-121
3cb8448da3 universal7885: Label another rtc node
* seen on a40

Change-Id: Ibaa65145a2e3874e33677acb0b2fd7350c004f23
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
Tim Zimmermann
8968b33f19 universal7885: Assert on firmware version
* <= Pie firmwares aren't supported

Change-Id: Ibe4ba20f05141c5bf0726f4f4a5a6c0cc5672e29
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-10-21 22:12:08 +09:00
SamarV-121
9a5bc701e2 universal7885: Run shfmt
Change-Id: I835dccd7143af8a6d6ab2012cd37822db4fe0d97
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
98d5cfb583 universal7885: extract-files: Use pipe in case to assign the multiple expressions
Change-Id: Ibaeacd4f5d6090e14b15e347f9ff4a7cf83e491f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Francescodario Cuzzocrea
55a20a7518 universal7885: Kang RIL blobs from A405FMPUU3CUC2
* needed to fix incall audio

Change-Id: I6462faae62ed18c512306d0068a18528ad8614d8
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00