Commit Graph

44 Commits

Author SHA1 Message Date
Anay Wadhera b1e2ebf875 init: switch to aidl supplicant interface
Change-Id: Id84db47dd94e50010641337c4dcf956a4c4a6be8
2023-01-17 06:07:40 +00:00
Omkar Chandorkar 25f0132074
vendor: init: Restore support for setting Netflix property in runtime
- This is needed when 2 or targets are binary compatible,
  but have different Netflix proprty for device whitelisting.
- removed in f9f83796b3 (diff-bddfbea90d0ee4e67f976ff668dbb17413ae9703224b866961a7ad03b9305ee6L501)

Change-Id: Iddad3c75f95fc53a0175346e4b7800525359ca3a
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-01-09 14:04:32 +01:00
Adithya R 3f6106f53e vendor: init: Directly set modules prop instead of script
For some reason, even when KERNEL_MODULES_OUT is set
it's using the no_modules script. Avoid this and set
the modules.ready prop directly if there are no modules.

This partially reverts commit 93382fa26a.

Change-Id: I237c6b31f335a71913d24a9c15f9c120ac24b1ba
2022-12-27 07:45:14 +00:00
Yuanfang Zhang 2a0bb783eb vendor: init: Add support for byte-cntr1
The device under /dev/byte-cntr1 should be with permission
root diag.

Change-Id: Id5e45789995b706360742253fc93dc2304f70442
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-16 10:06:09 +00:00
chrisl7 676c5a53ff vendor: init: Fix condition for init legacy devices
[1] - The old definition wasn't working, and init post_boot.sh and early_boot.sh
      was being used on legacy devices, which shouldn't happen.

[2] - Yes I've tried other ways to pin but only this worked.

Change-Id: I2b3f41b34ba6297fe1019773c2e7d5fd7d17d00c
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-11-15 22:05:38 +00:00
chrisl7 c9d8b8cf45 vendor: init: Fix Invalid section keyword found after f9f83796b3
[1] - 346073a91a

Change-Id: I8fc63f3bffb8db4fecd119c55b9b2afc6b2a0fff
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-11-13 16:54:12 +00:00
Jake Weinstein 93382fa26a vendor: init: Allow 5.4+ devices to boot without modules
init.qti.kernel.rc waits for vendor.all.modules.ready to be
set before finishing init. This is never set when there
are no modules present. Adding vendor_modprobe_no_modules.sh
to unconditionally set vendor.all.modules.ready and boot.

Change-Id: I59f9ae8408f1341469ab7dd02c2ad1222f711fae
2022-11-06 19:30:41 +00:00
Jake Weinstein 35bbde4eaf vendor: init: Add legacy scripts for pre-5.10 devices
This allows legacy devices to keep working with
new init without increasing maintenance or affecting
more recent SoCs.

Change-Id: Ia66fa4b044bc9d7f2fabe9a0f6e4b18f6f1189e9
2022-11-04 19:48:07 +00:00
Alexander Koskovich f9f83796b3 vendor: init: Update to LA.VENDOR.1.0.r1-17700-WAIPIO.QSSI13.0
Remove init.qcom.factory.rc because it is not needed.
init.kernel* and init.qti.* are from LA.VENDOR.1.0.r1-15600-WAIPIO.QSSI13.0

Change-Id: Ia16d51b80f402634bd918314ee3cf7691421668d
2022-11-04 19:47:51 +00:00
Paras Nagda 3222c77066 vendor: init: init: early_boot: add socid for Divar Gaming
- Add soc id for Diwar Gaming,IOT
- Set target version to pick correct
  config file for Divar

Change-Id: I1a8d13645ed42db11a1c4c4441b34a20bc216c54
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-10-13 00:05:45 +00:00
Anand Jha 2a0aeb1242 vendor: init: Remove vendor.ril-daemon commands
Remove legacy rild vendor.ril-daemon services
commands as they are not used now.

Change-Id: Ib1a88d34dc73ff72f553b923e75ef084dd5d56f1
CRs-Fixed: 3262433
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-10-13 00:02:43 +00:00
Shashi Shekar Shankar c6fbb8af89 vendor: init: post-boot: Update copyright markings
Update copyright markings in post-boot.

Change-Id: If43fb4aa47a1d0c8cfe87df376f1002854b0480f
CRs-Fixed: 3281988
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-10-13 00:01:25 +00:00
Jake Weinstein 659c2d9042 vendor: init: Upgrade diwali config to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
Change-Id: If013293ec2f36d3fafb32ebf87d0588397176781
2022-09-13 16:10:33 +00:00
quick_sshakunt 8eb03a3a72 vendor: init: init.qcom.post_boot: Enable support for Gaming variant.
power tuning settings related sched and dcvs

Change-Id: I747e8bbb2cc88f188f7ee7bab17dfb2b57c610a1
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-09-09 09:24:29 +00:00
Jake Weinstein e577f49325 init: Fix taro folder structure
Change-Id: Iabd2c1c1549eb4828f3211904e79759757b7b26a
2022-09-03 00:17:27 +09:00
Alexander Koskovich 346073a91a vendor: init: Fix "Invalid section keyword found" on ueventd
Change-Id: I8a3eb3abea82feb5e1a92cc859cd6498ee68666e
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-08-30 04:44:05 +00:00
Adithya R f5952c29b8 vendor: init: Install ueventd.qcom.rc to ueventd.rc
It's only loaded from /vendor/etc/ueventd.rc:
https://github.com/AOSPA/android_system_core/blob/topaz/rootdir/ueventd.rc#L1

Change-Id: I05d88bd7aab39bba1dd93b94989be3134280612d
2022-08-25 23:07:47 +05:30
Gabriel Biren 538f6e0473 vendor: init: Update init script to use Supplicant AIDL interface.
Bug: 196235436
Bug: 213271543
Test: m
Change-Id: I35ffd5390ba835e3b35e55ea38b27f1ab924b291
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-08-25 04:01:15 +00:00
Mathew Joseph Karimpanal 742f2dd5f1 vendor: init: ueventd.qcom.rc: Add lineptr_value drm sysfs config
CRs-Fixed: 3169765
Change-Id: Id4f1c62b835acc6f72da7827988e416902f83f02
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-08-22 17:25:04 +00:00
Jake Weinstein a94b073a5f common: Add initial support for 5.10 targets
Change-Id: Id52edf0f17cbd65f9ea597dfd16cdd520ecb9bcc
2022-08-17 06:49:45 +09:00
Jiju Kinattingal 40b953a343 vendor: init: Stop all qcrilds on APQ target
Stop all qcrilds on APQ target

Change-Id: Ieb0a6efcc61e53798650a7cf543aec6288f2947d
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-08-11 00:22:10 +00:00
Shreyas K K 92779f8982 vendor: init: common: Fix DCVS settings for Gen3 targets
Fix DCVS settings for Gen3 targets.

Change-Id: Ie514c02fa006dd4efdb27b2ccf13aac2ab46beea
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-07-30 07:04:23 +05:30
Rafeeqh Shaik 5c02f70d19 vendor: init: Remove code for starting legacy ril
Legacy ril is deprecated and no longer included in the builds.
Remove legacy ril starting logic as legacy ril is deprecated.

Change-Id: Ie4354592fe9f5d6aefdde2d37479cd5879c059c6
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-25 11:25:56 +00:00
Jun Ji eaa219c4a9 vendor: init: init.qcom.post_boot: Enable support for divar apq
power tuning settings related sched and dcvs

Change-Id: I0130c077543a0c5d2d198a7b30e0417121c14dd1
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-23 00:53:47 +00:00
Paras Nagda e3dfabd174 vendor: init: early-boot: add socid for Diwar APQ
Change-Id: I9dc34bae2080748b9dff65a39a2a00125c1e98ee
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-23 00:53:38 +00:00
Manikanta Kanamarlapudi c08e6ee8b0 vendor: init: common: Remove media netflix prop
Remove media netflix prop for bengal variants.
This is moved to video project.

Change-Id: I8dddd001d8d91431d254a00e6e013e0ea0922ac5
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-23 00:53:31 +00:00
Huang Li 83637d74a1 vendor: init: rootdir: Replace usage of ro.build.product with ro.board.platform
As replacing TARGET_PRODUCT with TARGET_BOARD_PLATFORM,
also need replace ro.build.product with ro.board.platform.

Change-Id: I01b27fad7fa263816964a3b53e75bdf3e55a26d5
CRs-Fixed: 2988932
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:03:00 +00:00
Naman Jain acc8c61103 vendor: init: init: remove getprop commands for fixing avc denials
remove logic from init scripts where getprop is used,
causing avc denials. Removed logic is not applicable
to current targets using this.

Change-Id: Ib783c6b2c341da59d24b8f4626e0461e1fbbdd0d
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:02:47 +00:00
Swathi K e625a345a0 vendor: init: Set property to disable cdsprpcd daemon in post boot
Set property to disable cdsprpcd daemon when
remote cdsp status returns false.

Change-Id: Id90290fb8bb26df51804c21b98a74774dffd60fa
Signed-off-by: Swathi K <quic_c_kataka@quicinc.com>
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:02:27 +00:00
Michael Adisumarta badd03ac1b vendor: init: ueventd: Add support for ipa_lnx_stats_ioctl
The device under /dev/ipa_lnx_stats_ioctl should be with permission
radio radio.

Change-Id: I531cbda9954e17012b247f6505b51cd5adda7c3d
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:02:13 +00:00
Mohammed Mirza Mandayappurath Manzoor 031caaa7bf vendor: init: ueventd: Set permissions for KGSL sysfs node
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.

Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:02:04 +00:00
Ramkumar Radhakrishnan daec54def3 vendor: init: init_qcom.rc: Set permission to access panel boot param node
Change-Id: I10a164d7935f2f94042d4120d6f800d3e3422c29
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:01:54 +00:00
P.Adarsh Reddy b28aece006 vendor: init: Enforce android-S new launch debugfs restrictions.
This removes the default mounting of debugfs, as
it is no longer allowed from android-S new-launch.

Change-Id: Ifeda709613c68234093947f7a92638b4069b089a
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:01:43 +00:00
Nagireddy Annem f35010ecb4 vendor: init: ueventd: set permissions to rawdump node
move permission setting logic from init rc file to ueventd rc file.

Change-Id: I4b94e0e188f8b420a608cc2e0d97e4b960381c31
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-07-13 01:01:30 +00:00
Alexander Koskovich b1afc50ed9 common: init: Move init.recovery.qcom.rc to Android.bp
* /system/etc/init is automatically parsed in recovery.

Change-Id: I7914a9191c5a2ba13b1d60d59fd8b95436d131c3
2022-05-26 00:30:02 -07:00
Ziqi Chen 38fc8d04c8 init.qcom.rc: Tuning UFS clkgate and ah8 during boot time
Disabling UFS clkgate and ah8 during boot time helps in reducing
IO delays, which helps in reducing the total boot time. This change
will disable UFS clkgate and ah8 during early-init and then enable
it back after boot completion.

Change-Id: I6a10cd57a30fe3bdc4fba72a0d84cdfa3b1fd513
2022-03-16 03:16:01 +00:00
Juhyung Park f836dbb0a4 common: Update to LAHAINA 18900 - 2
Few parts were left out

Change-Id: Ie880162e1f650e2546b6c78dcb9a530b7408fdd3
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2022-03-11 00:44:40 +09:00
Adithya R 5df0043d47 common: Update to LAHAINA 18900 | QSSI 05800
* msmnile: LA.UM.9.1.r1-11500.02-SMxxx0.QSSI12.0
 * kona: LA.UM.9.12.r1-13300-SMxx50.QSSI12.0
 * add few missing qssi services

Change-Id: I48ae24bb5dabe90e197cac23796cf802a1c69225
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-08 04:28:32 +00:00
Juhyung Park 2e49ccaf28 common: vendor: allow device to use customized post-boot script
Some devices may want to override these default settings
and use its own customized post-boot script.

Set vendor.post_boot.custom to "true" from the device tree to override.

Change-Id: If1a71b489710be39df250eda65450d7e4c3a9a13
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2022-02-13 15:00:15 +00:00
Juhyung Park 772c8465f0 common: perf: disable zram readahead for all devices
Change-Id: I12a4ffb916c56df30577e75098dec10694c61e66
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2022-02-13 09:07:19 +00:00
Juhyung Park 2126a23a13 common: perf: move all read_ahead_kb settings to init.aospa.perf.rc
Change-Id: I496d15b2d398d68b59e019e2c917924f829df5c9
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2022-02-13 09:07:19 +00:00
Vishalcj17 c6cab13a2e common: Update to QSSI 5600 | LAHAINA 18600.
Change-Id: I7ca5c5b30fb26bfa5bd1c3803cf8b217efd78393
2022-01-19 18:50:26 +09:00
Marco Marinho 7df0c64674
common: vendor: Update to LA.UM.9.14.r1-18400.02-LAHAINA.QSSI12.0
Change-Id: Ib0791bd74ebcb8a0aa37485be7500e83b80838fe
Co-authored-by: Vishalcj17 <vishalcj@aospa.co>>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2022-01-09 18:06:24 +09:00
Vishalcj17 bfaf4ecb25 Split system and vendor to their own folders.
Change-Id: Ie93e9fdf854f97aab1e2b6e61d55b309f49c1cd9
2021-11-24 21:04:52 +00:00