Commit graph android_device_samsung_a20/rootdir
Author SHA1 Message Date
SamarV-121
42fff278ba universal7885: Drop all prebuilt vendor hax
* also Compile all HALs to vendor
 * Remove stuffs actually from vendor which we were disabling in system

Change-Id: I15f5a12a2c36238adf99ca9bbbd0c97475b72fc6
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
197c2b9518 universal7885: rootdir: Fix init.exynos7904.rc compilation
`host_init_verifier: Command 'mkdir /mnt/vendor/efs/pfw_data 0760 vendor_spay vendor_spay' (vendor/samsung/universal7885-common/proprietary/vendor/etc/init/init.exynos7904.rc:219) failed: Unable to decode UID for 'vendor_spay': getpwnam failed: No such file or directory`
`host_init_verifier: Command 'chown vendor_spay system /dev/mst_ctrl' (vendor/samsung/universal7885-common/proprietary/vendor/etc/init/init.exynos7904.rc:222) failed: Unable to decode UID for 'vendor_spay': getpwnam failed: No such file or directory`
`host_init_verifier: Failed to parse init script 'vendor/samsung/universal7885-common/proprietary/vendor/etc/init/init.exynos7904.rc' with 2 errors`

Change-Id: I379c4c26e7d9ea8b6adbc4426dea24f22c555c10
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
db4562d5e6 universal7885: Import init.exynos7904.rc to device tree
Change-Id: I6f6abb20e60efeb71d5e541483187986e4a5f840
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Pierre-Hugues Husson
328eecea8d universal7885: rootdir: Disable secondary watchdog
* See, https://github.com/phhusson/treble_experimentations/issues/1730#issuecomment-784210632, https://github.com/phhusson/treble_experimentations/issues/1730#issuecomment-784222396

Change-Id: Ic8db676a1e4f42248aefaad5cf7057f427dc72a1
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
synt4x93
8656a64ffa universal7885: rootdir: Disable some more samsung stuff
Change-Id: I3e35b933b6fc164952a2062cde9adf0e73f06e14
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Francescodario Cuzzocrea
c5a166f294 universal7885: Build fastcharge hidl
* https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/305684

Change-Id: Iec1a7faec24f0d5b4b1d2f1ef52b781368c5bd51
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
b3bf6dc14b universal7885: Override vndk*.libraries.29.txt and libstagefright_foundation.so
* Instead of editing it from recovery, https://github.com/SamarV-121/android_device_samsung_universal7885-common/commits/974a3c72d5ab7162214a031a8b722c369aa7b4b1/rootdir/bin/sys.sh

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I2c51933bb0ee7e5d8db8b533d8ac329d44165f89
2021-10-21 22:12:08 +09:00
Wei Wang
3fc74a62de universal7885: Enable zram on boot_complete
This help to save ~50ms in boot time and bootanim shown time

Bug: 62957152
Test: Taimen boot and swap look normal after boot
Change-Id: Idda2cc2aafca2f98f3c1faf4d1a08c7ae3203483
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
476fa29b9e universal7885: Remove libstagefright_foundation.so from prebuilt vndk-29
* F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.media.omx@1.0-service": cannot locate symbol "_ZN7android24MEDIA_MIMETYPE_AUDIO_IMAE" referenced by "/vendor/lib/libstagefright_omx_utils.so"
 * This symbol does exist in /vendor/lib/libstagefright_foundation.so
 * Fixes media playback

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
7b43d9eb6f universal7885: Fulfil dependencies of camera HAL [1/2]
* Expose libgui.so to all vendor modules
 * Import libcamera.client.so to prebuilt vndk-29

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ia30c8f7cb8b420f1b19b6c973f047aa55b06b930
2021-10-21 22:12:08 +09:00
SamarV-121
309d9d3c8c universal7885: Set ZRAM to half of the accessible system RAM
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
luk1337
c29c6e5616 universal7885: Use vendor_overlay for audio_policy_configuration.xml
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ifaa42cb1547529085cb73e3a493e8064dae07215
2021-10-21 22:12:07 +09:00
Jesse Chan
f5af2d259a universal7885: rootdir: Import samsung init.usb.configfs.rc changes
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I4ea3bafff8e5d48114dfe2c166fb8e268d3dc28f
2021-10-21 22:12:07 +09:00
SamarV-121
d4d93fdded universal7885: rootdir: Disable more useless services
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ifc02e956d38d47d22ef084ca54d3e2dfc6cab021
2021-10-21 22:12:07 +09:00
SamarV-121
cb0a5bcccb universal7885: Enable ZRAM
Change-Id: Icd48749ad781ba48592fbcc2dc7c3ad88c659a57
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
b0ccbed33a universal7885: Import stock audio policy config
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I017e01d91f5404ef46258eb4d1b3604a28276bd7
2021-10-21 22:12:07 +09:00
SamarV-121
47669bcc00 universal7885-common: Use AOSP charger
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I90437daf1d47c53ef3b06cedca9a5469c9f8bae7
2021-10-21 22:12:07 +09:00
Jesse Chan
ac78a7d0d5 universal7885: Disable some unused services and vendor overlay
Change-Id: Icd899c4a379ae4300488ea90837d741881f228c2
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
a682929eb0 universal7885: Nuke init scripts and fstab
* It exists in vendor/etc/init since official Q update

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Ie02ce720b4f9ebeaa026632cc6adf8b54c96c0e6
2021-10-21 22:12:07 +09:00
SamarV-121
99b8af3e2d universal7885: Update ramdisk from stock pie
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
Jesse Chan
5363cd2a31 universal7885: rootdir: include Samsung changes to ueventd.rc 2021-10-21 22:12:07 +09:00
SamarV-121
3de9653f78 universal7885: Import init scripts from stock
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:07 +09:00
SamarV-121
1dcddcc8ec Init trees
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:11:32 +09:00