C:\Users\mayn>cd c:/adb
c:\adb>adb connect 192.168.0.101(不要以我的為準(zhǔn),輸入自己盒子的IP)
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 192.168.0.101:5555
adb shell
1|shell@square:/ $ setprop config.Android.AppInstallCtrl 3
setprop config.Android.AppInstallCtrl 3
255|shell@square:/ $ su
su
shell@square:/ # mount -o remount -o rw /system
mount -o remount -o rw /system
shell@square:/ # echo "setprop config.Android.AppInstallCtrl 3" >> /system/bin/init.zte.post_boot.sh
pInstallCtrl 3" >> /system/bin/init.zte.post_boot.sh <
shell@square:/ # echo "start adbd" >> /system/bin/init.zte.post_boot.sh
echo "start adbd" >> /system/bin/init.zte.post_boot.sh
shell@square:/ # echo "adbd&" >> /system/bin/init.zte.post_boot.sh
echo "start adbd" >> /system/bin/init.zte.post_boot.sh
1|shell@square:/ # df
df
Filesystem Size Used Free Blksize
/dev 495.0M 128.0K 494.9M 4096
/sys/fs/cgroup 495.0M 0.0K 495.0M 4096
/mnt/asec 495.0M 0.0K 495.0M 4096
/mnt/obb 495.0M 0.0K 495.0M 4096
/tmp 495.0M 792.0K 494.2M 4096
/var 495.0M 468.0K 494.5M 4096
/system 991.9M 482.1M 509.8M 4096
/cache 743.9M 336.1M 407.8M 4096
/data 5.0G 198.3M 4.8G 4096
/data/var 495.0M 0.0K 495.0M 4096
/mnt/shell/emulated 5.0G 198.3M 4.8G 4096
/mnt/media_rw/sda 10.0M 0.0K 10.0M 4096
/storage/sda 10.0M 0.0K 10.0M 4096
/mnt/media_rw/sda/part1 7.5G 3.4G 4.0G 32768
/storage/sda/part1 7.5G 3.4G 4.0G 32768(U盤路徑判斷方法:一般在輸入df后最后一行,然后看內(nèi)存的大小是否差不多即可,可以看到這個(gè)7.5G就是我的U盤,路徑為前面的“/storage/sda/part1”)shell@square:/ # cd /storage/sda/part1(注意,不同的型號(hào)U盤路徑不同,以自己的路徑為準(zhǔn))
cd /storage/sda/part1
shell@square:/storage/sda/part1 # cd app
cd app
shell@square:/storage/sda/part1/app # ls
ls
1.apk
2.apk
3.apk
shell@square:/storage/sda/part1/app # cp *.apk /data/app
cp *.apk /data/app
shell@square:/storage/sda/part1/app # am start com.yangqi.rom.launcher.free
am start com.yangqi.rom.launcher.free
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=com.yangqi.rom.launcher.free }
shell@square:/storage/sda/part1/app #
C:\Users\mayn>cd c:/adb
c:\adb>adb connect 192.168.0.101(不要以我的為準(zhǔn),輸入自己盒子的IP)
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 192.168.0.101:5555
adb shell
1|shell@square:/ $ setprop config.Android.AppInstallCtrl 3
setprop config.Android.AppInstallCtrl 3
255|shell@square:/ $ su
su
shell@square:/ # mount -o remount -o rw /system
mount -o remount -o rw /system
shell@square:/ # echo "setprop config.Android.AppInstallCtrl 3" >> /system/bin/init.zte.post_boot.sh
pInstallCtrl 3" >> /system/bin/init.zte.post_boot.sh <
shell@square:/ # echo "start adbd" >> /system/bin/init.zte.post_boot.sh
echo "start adbd" >> /system/bin/init.zte.post_boot.sh
shell@square:/ # echo "adbd&" >> /system/bin/init.zte.post_boot.sh
echo "start adbd" >> /system/bin/init.zte.post_boot.sh
1|shell@square:/ # df
df
Filesystem Size Used Free Blksize
/dev 495.0M 128.0K 494.9M 4096
/sys/fs/cgroup 495.0M 0.0K 495.0M 4096
/mnt/asec 495.0M 0.0K 495.0M 4096
/mnt/obb 495.0M 0.0K 495.0M 4096
/tmp 495.0M 792.0K 494.2M 4096
/var 495.0M 468.0K 494.5M 4096
/system 991.9M 482.1M 509.8M 4096
/cache 743.9M 336.1M 407.8M 4096
/data 5.0G 198.3M 4.8G 4096
/data/var 495.0M 0.0K 495.0M 4096
/mnt/shell/emulated 5.0G 198.3M 4.8G 4096
/mnt/media_rw/sda 10.0M 0.0K 10.0M 4096
/storage/sda 10.0M 0.0K 10.0M 4096
/mnt/media_rw/sda/part1 7.5G 3.4G 4.0G 32768
/storage/sda/part1 7.5G 3.4G 4.0G 32768(U盤路徑判斷方法:一般在輸入df后最后一行,然后看內(nèi)存的大小是否差不多即可,可以看到這個(gè)7.5G就是我的U盤,路徑為前面的“/storage/sda/part1”)shell@square:/ # cd /storage/sda/part1(注意,不同的型號(hào)U盤路徑不同,以自己的路徑為準(zhǔn))
cd /storage/sda/part1
shell@square:/storage/sda/part1 # cd app
cd app
shell@square:/storage/sda/part1/app # ls
ls
1.apk
2.apk
3.apk
shell@square:/storage/sda/part1/app # cp *.apk /data/app
cp *.apk /data/app
shell@square:/storage/sda/part1/app # am start com.yangqi.rom.launcher.free
am start com.yangqi.rom.launcher.free
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=com.yangqi.rom.launcher.free }
shell@square:/storage/sda/part1/app #