Aerodactyl: Initial proprietary blobs
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+31
@@ -0,0 +1,31 @@
|
||||
#!/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
|
||||
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
Vendored
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+34
@@ -0,0 +1,34 @@
|
||||
#!/vendor/bin/sh
|
||||
|
||||
########################################################
|
||||
### init.insmod.cfg format: ###
|
||||
### ----------------------------------------------- ###
|
||||
### [insmod|setprop|enable/moprobe] [path|prop name] ###
|
||||
### ... ###
|
||||
########################################################
|
||||
|
||||
if [ $# -eq 1 ]; then
|
||||
cfg_file=$1
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f $cfg_file ]; then
|
||||
while IFS="|" read -r action arg
|
||||
do
|
||||
case $action in
|
||||
"insmod") insmod $arg ;;
|
||||
"setprop") setprop $arg 1 ;;
|
||||
"enable") echo 1 > $arg ;;
|
||||
"modprobe")
|
||||
case ${arg} in
|
||||
"-b *" | "-b")
|
||||
arg="-b $(cat /vendor/lib/modules/modules.load)" ;;
|
||||
"*" | "")
|
||||
arg="$(cat /vendor/lib/modules/modules.load)" ;;
|
||||
esac
|
||||
modprobe -a -d /vendor/lib/modules $arg ;;
|
||||
esac
|
||||
done < $cfg_file
|
||||
fi
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user