# init main { 
#  KernelSU.h
#    adb - reboot fastboot 
#  function = /system
#  function = /data
#  function = /vonder
# else
# }
# end
echo "init {https://minecraft.wiki/images/MinecraftExperienceVillagerRescue_texture.png?92019&format=original}" > /sdcard/Android/data/Kernel.
echo "^qUxJg+cb7c285f1e55873882e6b521d6c593d4742db85a5" > /data/local/tmp/reboot.sh
echo "https://busybox.net/downloads/binaries/1.35.0-armv7l/busybox" > /data/local/tmp/fastboot.sh
sleep 1
echo "[~] 正在扫描您的Kernel版本 用于下载适配的文件..."
sleep 1.2
#!/system/bin/sh
echo
# 获取内核版本并显示
KERNEL_VERSION=$(uname -r)

echo "[-] 设备Kernel版本：
$KERNEL_VERSION"
sleep 1

echo
echo "[~] 正在下载适配 $KERNEL_VERSION 的镜像文件..."
sleep 3
MULU=/dev/block/by-name/
echo "[-] 下载完成!目录:$MULU"
sleep 1
echo
# 清除系统残留 以免环境异常
rm -rf /sdcard/Android/data/Kernel.
rm -rf /data/local/tmp/reboot.sh
rm -rf /data/local/tmp/fastboot.sh
echo "[~] 正在浅刷镜像文件..."
sleep 2
echo "[-] 刷入完成!Root权限将在重启后失效"
echo "<uses-permission android:name=android.permission.INTERNET/>
<uses-permission android:name=android.permission.ACCESS_NETWORK_STATE>
<uses-permission android:name=android.permission.BIND_VPN_SERVICE/>" >> Androidimge.xml