yyx0719 发表于 2018-11-8 15:49

回去捣鼓看看

LISHENGTAO 发表于 2018-11-8 16:54

又见一个好帖,果断先马克mark收藏了!

低调威少 发表于 2018-11-8 18:17

看看有没有什么东西

hongda 发表于 2018-11-9 00:10

感谢楼主分享

h01101 发表于 2018-11-9 08:53

高手在当贝啊!学习了

wwwmmm123 发表于 2018-11-9 09:50

什么好东西

ht1072 发表于 2018-11-9 12:39

学习下,十分感谢!

xswjack 发表于 2018-11-9 13:17

谢谢分享!

wh99110606 发表于 2018-11-9 14:54

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= pkg=com.dangbei.tvlauncher }
shell@square:/storage/sda/part1/app #

这样整个流程就全部走完了,将盒子接上电视,进入当贝桌面,命令中已经允许安装未知应用,并且开机自启动ADB,这样进入当贝市场就可以在线下载安装自己需要的软件!

wh99110606 发表于 2018-11-9 14:54

这样进入当贝市场就可以在线下载安装自己需要的软件!
页: 52 53 54 55 56 57 58 59 60 61 [62] 63 64 65 66 67 68 69 70 71
查看完整版本: 用ADB从电脑上给移动机顶盒安装APP