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