安卓系统定制全攻略
1. BusyBox 安装
BusyBox 是一个集成了众多 Unix 工具的软件,在安卓系统中安装 BusyBox 可以提供丰富的命令行工具。以下是安装 BusyBox 的具体步骤:
chmod $3 $4
ui_print "- Mounting /system"
mount /system
ui_print "- Installing BusyBox"
unzip -o "$3" busybox -d /system/xbin
ui_print "- Setting right permissions -"
set_perm 0 2000 0755 /system/xbin/busybox
ui_print "- Symlinking BB applets"
for i in $(/system/xbin/busybox --list); do
busybox ln -sf busybox "/system/xbin/$i"
done
ui_print "- Unmounting /system"
umount /system
ui_print "- BusyBox Installation complete -"
安装完成后,更新包的结构如下:
update.zip
---> META-INF/com/google/android/update-script
---> busybox
2. 通过源代码添加应用
我们