// 进入内核模式
adb shell
// 超级管理员
su
// 重新挂载系统分区,使系统分区重新可写
adb remount
// 或者在shell里运行下面的命令
mount -o remount rw /
// 进入指定文件夹
cd /system/media
// 新建文件夹
mkdir -p lichee/tools/pack/chips/sunxi/configs/device-name
// 删除名字为xxx的文件夹及其里面的所有文件
rm -r xxx
// 不知道为什么,adb push不能在adb shell中运行
// 把电脑上的文件拷贝到安卓系统里
adb push f:/bootanimation/bootanimation.zip /system/media
adb push f:/bootanimation/bootlogo.bmp /lichee/tools/pack/chips/sunxi/configs/device-name
// 安装
adb install f:/bootanimation/root_explorer.apk
如果文件名有空格的,例如New Folder,加个双引号,写成"New Folder"。
// adb工具模拟开机广播
adb shell am broadcast -a android.intent.action.BOOT_COMPLETED