C:\Users\mayn>cd c:/adb
c:\adb>adb connect 192.168.0.101(不要以我的为准,输入自己盒子的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后最后一行,然后看内存的大小是否差不多即可,可以看到这个7.5G就是我的U盘,路径为前面的“/storage/sda/part1”)shell@square:/ # cd /storage/sda/part1(注意,不同的型号U盘路径不同,以自己的路径为准)
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.dangbei.tvlauncher
am start com.dangbei.tvlauncher
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=com.dangbei.tvlauncher }
shell@square:/storage/sda/part1/app #
欢迎光临 当贝问答 (https://wd.dangbei.com/) | Powered by Discuz! X3.4 |