Commit graph android_device_samsung_a20/rootdir/etc/init.exynos7904.rc
Author SHA1 Message Date
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
dhacker29
94ca3b4cde universal7885: rootdir: Allow telephony access to proc/cmdline
`D/TelephonyManager(  131): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)`

Change-Id: I2685959d485be3e29a738bc6287fdd99dc52b771
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Volodymyr Zhdanov
c7c83fdac1 universal7885: Only start NFC service on supported variants
Change-Id: I6c272eca6b45760679aac4effc7c074444692cf1
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
ba5a120ecf universal7885: rootdir: Create efs nfc dirs
* Taken from stock init.rc

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I35b7890363a743902da458bc555b745a27e9204a
2021-10-21 22:12:08 +09:00
SamarV-121
44ba529c7f universal7885: rootdir: Mount sec_efs partition
* only available on A series

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: If860b66f65667c582d8554d2b5e731392d2dd646
2021-10-21 22:12:08 +09:00
SamarV-121
179ec03067 universal7885: rootdir: Simplify bdaddr_path
why even bother bind mouting it
 also its gonna create conflict with seperate sec_efs partition which A series have

Change-Id: I597af331f53942cce5fa9a3e78af35a5f57ae68e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Jan Altensen
4fed82613c universal8890: build nfc hal from source
Change-Id: Ief7ef8f2a597b1a978ea4b0ec4e41391cec03a99
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
e3b10d19e1 universal7885: Decommonize some init scripts
* A series has partition names in small letters

Change-Id: I603b7f4283a2486c4177f4d4cd8ddc94134f4a1b
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
Tim Zimmermann
b7a4a02d2c universal7885: rootdir: Cleanup init.exynos7904.rc
Change-Id: I3087f71b17924188f421c91b90804c5133a9e48b
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
5d4a8c7d0f universal7885: rootdir: Remove unused service
Change-Id: I99dab18fe6da59782c5cc9e6a00532ddc66370b7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-10-21 22:12:08 +09:00
SamarV-121
d4f77e5e74 universal7885: rootdir: Remove non-existent services
Change-Id: I15215cae0d43c6596ab92ec99f8c2860276d5a67
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
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