rosemary: Sync with DT
This commit is contained in:
1 parent
78646fd47d
commit
fbd39228d0
23 files changed
+129
-389
No files matched your search
Vendored
-31
@@ -1,31 +0,0 @@
|
||||
#!/vendor/bin/sh
|
||||
|
||||
default_fact_prop=$(getprop ro.soc.manufacturer)
|
||||
|
||||
if [ "$default_fact_prop" == "" ]; then
|
||||
fact_val=$(cat /sys/devices/soc0/family)
|
||||
/vendor/bin/setprop ro.vendor.soc.manufacturer ${fact_val}
|
||||
fi
|
||||
|
||||
default_soc_prop=$(getprop ro.soc.model)
|
||||
|
||||
if [ "$default_soc_prop" == "" ]; then
|
||||
soc_val=$(cat /sys/devices/soc0/soc_id)
|
||||
/vendor/bin/setprop ro.vendor.soc.model ${soc_val}
|
||||
else
|
||||
soc_val="$default_soc_prop"
|
||||
fi
|
||||
|
||||
soc_ext_val=$(cat /proc/device-tree/model-external-name 2>/dev/null)
|
||||
if [ -z "$soc_ext_val" ]; then
|
||||
soc_ext_val=${soc_val}
|
||||
fi
|
||||
/vendor/bin/setprop ro.vendor.soc.model.external_name ${soc_ext_val}
|
||||
|
||||
soc_part_val=$(cat /proc/device-tree/model-part-name 2>/dev/null)
|
||||
if [ -z "$soc_part_val" ]; then
|
||||
soc_part_val=${soc_val}
|
||||
fi
|
||||
/vendor/bin/setprop ro.vendor.soc.model.part_name ${soc_part_val}
|
||||
|
||||
/vendor/bin/setprop ro.vendor.soc.model_ready 1
|
||||
Binary file not shown.
@@ -1,7 +0,0 @@
|
||||
on early-init
|
||||
exec_background - system system -- /vendor/bin/chipinfo
|
||||
|
||||
on post-fs-data
|
||||
wait_for_prop ro.vendor.soc.model_ready 1
|
||||
setprop ro.soc.model ${ro.vendor.soc.model}
|
||||
setprop ro.soc.manufacturer ${ro.vendor.soc.manufacturer}
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
<hal>
|
||||
<name>android.hardware.media.c2</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.2</version>
|
||||
<version>1.1</version>
|
||||
<interface>
|
||||
<name>IComponentStore</name>
|
||||
<instance>default</instance>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user