移动叔叔
标题:
OT906的一些软件资料
[打印本页]
作者:
binsys
时间:
2011-6-26 15:16
标题:
OT906的一些软件资料
OT 906 Nand Flash
cat /proc/mtd
dev: size erasesize name
mtd0: 01000000 00020000 "modem" 16777216 16384K 16MB
mtd1: 00100000 00020000 "bootloader" 1048576 1024K 1MB
mtd2: 00080000 00020000 "systemdata" 524288 512K 0.5MB
mtd3: 01400000 00020000 "kpanic" 20971520 20480K 20MB
mtd4: 00500000 00020000 "boot" 5242880 5120k 5MB Linux操作系统内核和ramdisk镜像
mtd5: 00040000 00020000 "deviceinfo" 262144 256k 0.25MB
mtd6: 00040000 00020000 "ckdatablock" 262144 256k 0.25MB
mtd7: 004c0000 00020000 "recovery" 4980736 4864k 4MB 恢复模式 (音量上+绿+开机)
mtd8: 00020000 00020000 "misc" 131072 128K 0.125MB 是存放开机画面的分区?
mtd9: 09600000 00020000 "system" 157286400 153600K 150MB 是system.img存放的分区,挂载到 /system
mtd10: 00f00000 00020000 "cache" 15728640 15360k 15MB 挂载为/cache 缓存,与OTA有关?
mtd11: 12b20000 00020000 "userdata" 313655296 306304k 299MB 挂载为/data目录,用户软件数据目录
备份
cat /dev/mtd/mtd0 > /sdcard/modem.img
cat /dev/mtd/mtd1 > /sdcard/bootloader.img
cat /dev/mtd/mtd2 > /sdcard/systemdata.img
cat /dev/mtd/mtd3 > /sdcard/kpanic.img
cat /dev/mtd/mtd4 > /sdcard/boot.img
cat /dev/mtd/mtd5 > /sdcard/deviceinfo.img
cat /dev/mtd/mtd6 > /sdcard/ckdatablock.img
cat /dev/mtd/mtd7 > /sdcard/recovery.img
cat /dev/mtd/mtd8 > /sdcard/misc.img
cat /dev/mtd/mtd9 > /sdcard/system.img
cat /dev/mtd/mtd10 > /sdcard/cache.img
cat /dev/mtd/mtd11 > /sdcard/userdata.img
# mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/mtdblock9 /system yaffs2 rw,relatime 0 0
/dev/block/mtdblock11 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock10 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-1 /mnt/asec/com.tencent.mm-1 vfat ro,dirsync,nosuid,nodev,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/com.wd.AndroidDaemon-2 vfat ro,dirsync,nosuid,nodev,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
挂载点
config
cache
sdcard
acct
mnt
d
etc
system
sys
sbin
proc
init.rc
init.goldfish.rc
init.charge.rc
init.bcm2157.rc
init
default.prop
data
root
dev
tar cvf /sdcard/system.tar /system
tar cvf /sdcard/sys.tar /sys
tar cvf /sdcard/data.tar /data
tar cvf /sdcard/root.tar /root
tar cvf /sdcard/dev.tar /dev
cp init.rc /sdcard/init.rc
cp init.goldfish.rc /sdcard/init.goldfish.rc
cp init.charge.rc /sdcard/init.charge.rc
cp init.bcm2157.rc /sdcard/init.bcm2157.rc
复制代码
ls -a -l -R 命令得到的本机型目录文件结构
[attach]80524[/attach]
欢迎光临 移动叔叔 (http://bbs.ydss.cn/)
Powered by Discuz! X3.2