needed for using EdgeTpu.
Due to this code goes to AOSP, please see CL details and test result in
b/289097511#comment24.
Bug: 289097511
Change-Id: Ie0969309346cd85b4bb8ac71860a529710c73345
This did nothing except setting persist.vendor.mmi.misc_dev_path
and writing build image information to /sys/devices/soc0.
`zeus:/ # bash -x /vendor/bin/init.qcom.post_boot.sh
++ getprop ro.board.platform
+ target=taro
++ cat /proc/sys/kernel/osrelease
+ KernelVersionStr=5.10.230-gki-g4e1607caf9af
+ KernelVersionS=10
+ KernelVersionA=5
+ KernelVersionB=10
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ chown -h system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
chown: /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory
+ chown -h system /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
chown: /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor: No such file or directory
+ chown -h system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
chown: /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy: No such file or directory
++ getprop vendor.boot.emmc
+ emmc_boot=
+ case "$emmc_boot" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ case "$target" in
+ '[' -f /data/prebuilt/AdrenoTest.apk ']'
+ '[' -f /data/prebuilt/SWE_AndroidBrowser.apk ']'
+ case "$target" in
+ '[' -f /sys/devices/soc0/select_image ']'
+ image_version=10:
++ getprop ro.build.id
+ image_version+=AP4A.250105.002
+ image_version+=:
++ getprop ro.build.version.incremental
+ image_version+=1738747703
++ getprop ro.product.name
+ image_variant=zeus
+ image_variant+=-
++ getprop ro.build.type
+ image_variant+=userdebug
++ getprop ro.build.version.codename
+ oem_version=REL
+ echo 10
+ echo 10:AP4A.250105.002:1738747703
+ echo zeus-userdebug
+ echo REL
++ getprop persist.vendor.console.silent.config
+ console_config=
+ case "$console_config" in
+ echo 'Enable console config to '
Enable console config to
++ ls -l /dev/block/bootdevice/by-name/misc
+ misc_link='lrwxrwxrwx 1 root root 16 1970-11-04 04:28 /dev/block/bootdevice/by-name/misc -> /dev/block/sda11'
+ real_path=' /dev/block/sda11'
+ setprop persist.vendor.mmi.misc_dev_path /dev/block/sda11`
Change-Id: I20177ec77805feed90c019a6390cbad03f462577
The bootloader sets androidboot.hwversion, use this and set the ro.boot.hardware.revision property in order to show it in settings.
Change-Id: I3c6c678bf055091ea9fcb2a1524d321e2c1be043
* In cape (msm-5.10) pmic driver now lies in adsp [1], so
adsp firmware must to be loaded along with qti battery/
charger kernel module, in order to get battery and usb
power_supply up & running
* With this, we dont need to set usb mode to peripheral
explicitly either
* The GKI kernel for 5.10 explicitly disabled
FW_LOADER_USER_HELPER_FALLBACK, and the right way to enable it is to
echo 1 to the /proc/sys/kernel/firmware_config/force_sysfs_fallback,
so do this before writing to adsp sysfs node.
[1]: 4e2b0f663a
Depends-On: Id0e64302dbbdc53620cbc1825c36e13bb9e58aef
Change-Id: I835fa5daaa53eb704cc6c0777d7069d47ecbe10c
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
On MIUI this is used to let updater write to data/vendor/mbnconfig, but we won't do this.
This reverts commit 60894cbcbe.
Change-Id: Ic3535a287ce80bc61541d2fd8dcfb64472db42bf
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.
Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.
Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
Out of all the modes that run the CPU at advertised speeds without
underclocking, mgame has the most conservative thermal limits.
Change-Id: I491f608a7be5c9497c70b3e49501d7abf58a980c
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
To disable cdsp daemon by checking value of node
fastrpc_cdsp_status which is set after checking if
NSP is defective.
Acked-by: Ansa Ahmed <quic_ansa@quicinc.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
Change-Id: I8f197c46d6cedb64a58ae49d0a5120c8a78e533f
- For modemless qultivate targets, stop the qcrild and make
ro.vendor.radio.noril property to yes
Change-Id: I111fa5cabc8524ee76a5c5c8c6449b77d1ff6874
CRs-Fixed: 3694884
(cherry picked from commit 7482be9422213036d54e8e3cdb07d6ab001cda51)