查看: 2573|回复: 1
[分享]

setbox adb

[复制链接]
发表于 2020-6-22 08:15 | 显示全部楼层 |阅读模式
display partitions
mount
ls -al /dev/block/platform/soc/by-name/
cat /proc/part
cat /proc/partitions
cat /proc/mount

display mount
mount | grep “system”
cat /proc/partitions
mkdir /tmp/ii  //在tmp目录建立文件夹ii
mount -t ext3 /dev/block/platform/hi_mci.1/by-name/backup /tmp/ii   //把备份分区映射到ii目录下

201-2 backup update.zip
mkdir /tmp/1
mount -t ext4 /dev/block/backup /tmp/1/
cp /tmp/1/update.zp /mnt/sda/sda4/
dev/block/backup

401h
mkdir /system/tmp/rom
mount -t ext4 /dev/block/mmcblk0p20 /system/tmp/rom
cp -f /system/tmp/rom/update.zip /mnt/sda/sda1
dd if=/mnt/sda/sda1/update.zip of=/system/tmp/rom/

remount
mg2000 remount
su
echo 1 > /sys/class/remount/need_remount
mount -o rw,remount /system

mount -o remount,rw  /system  
adb push .\root\dbzm.apk /system/app/dbzm.apk  
rm /system/app/SWIPTV_softdetector.apk  
adb pull  system/app/123.apk D:/  

remount system:

mount -o remount,rw /dev/block/platform/soc/by-name/system1 /system
mount -o remount /system
mount | grep “system”

TTL open ADB
getprop

#su
setprop service.adb.tcp.port 5555
stop adbd
start adbd

display partitions
ls -al /dev/block/platform/hi_mci.1/by-name
ls -al /dev/block/platform/soc/by-name/
cat /proc/part
cat /proc/mounts


backup or replace partitions
dd if=/dev/block/platform/soc/by-name/recovery of=/mnt/sda/sda1/recovery.img

emmc
dd if=/mnt/sda/sda1/recovery.img of=/dev/block/mmcblk0p3
dd if=/mnt/sda/sda1/recovery.img of=/dev/block/platform/soc/by-name/recovery
reboot

nand
busybox cat /mnt/sda/sda1/recovery.img > /dev/block/mtdblock2
busybox cat /mnt/sda/sda1/recovery.img > /dev/block/mtdblock3
fastboot,bootargs,recovery

display usb
# ls /dev | grep sd



mount UPDATA.ZIP
# mkdir /tmp/rom
# mount -t ext4 /dev/block/mmcblk0p13 /tmp/rom
mount -o remount,rw -t ext4 /dev/block/platform/soc/by-name/system /tmp/system
# cp -f /tmp/rom/update.zip /mnt/sda/sda4



上一篇:创维盒子Q0102求刷机包
下一篇:移动魔百和CM201-2 partitions 分区文件分享
发表于 2020-6-22 09:54 | 显示全部楼层
感谢分享
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐 上一条 /6 下一条

Archiver|新帖|标签|软件|Sitemap|ZNDS智能电视网 ( 浙ICP备14000780号 )

网络信息服务信用承诺书 | 增值电信业务经营许可证:浙B2-20150411 丨 浙公网安备 33010802006145号

浙网文(2016)6491-366号 | GMT+8, 2020-9-29 06:45 , Processed in 0.036602 second(s), 11 queries , MemCache On.

Powered by Discuz!

监督举报:report#znds.com (请将#替换为@)

© 2007-2020 ZNDS.Com

快速回复 返回顶部 返回列表