Commit graph android_device_samsung_a20/rootdir/etc
Author SHA1 Message Date
SamarV-121
5289d83394 universal7885: Rename wifi.rc to wifi_sec.rc
`build/make/core/base_rules.mk:325: error: device/samsung/universal7885-common/rootdir: MODULE.TARGET.ETC.wifi.rc already defined by frameworks/opt/net/wifi/service.`

Change-Id: I1699083e460ddbb8cce5d1ccb14a8fba7f0ef54c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Jimmy Chen
b4d44ad7d7 universal7885: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
4fcc6f9cf6 universal7885: Remove unused mfgloader
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: Idc23da8063787609680b271cd8e9a51c45473ec8
2021-10-21 22:12:08 +09:00
SamarV-121
7d2e8dd6d7 universal7885: Import wifi.rc to device tree
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I84430c4bbc4240cc1d6eb1d73649a17abad5af04
2021-10-21 22:12:08 +09:00
SamarV-121
8746218960 universal7885: Import init.exynos7904.usb.rc to device tree
* and merge init.usb_accessory.rc in it

Change-Id: I93d91eed480864c1a88c71c5e8a87d5f82043f4e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
839ba15273 universal7885: Import ueventd.rc to device tree
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I1c6cc0724f601d59b373d06700bf6af2026cf40f
2021-10-21 22:12:08 +09:00
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
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
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