移动叔叔

标题: OT906的一些软件资料 [打印本页]

作者: binsys    时间: 2011-6-26 15:16
标题: OT906的一些软件资料
  1. OT 906 Nand Flash
  2. cat /proc/mtd
  3. dev: size erasesize name
  4. mtd0: 01000000 00020000 "modem" 16777216 16384K 16MB
  5. mtd1: 00100000 00020000 "bootloader" 1048576 1024K 1MB
  6. mtd2: 00080000 00020000 "systemdata" 524288 512K 0.5MB
  7. mtd3: 01400000 00020000 "kpanic" 20971520 20480K 20MB
  8. mtd4: 00500000 00020000 "boot" 5242880 5120k 5MB Linux操作系统内核和ramdisk镜像
  9. mtd5: 00040000 00020000 "deviceinfo" 262144 256k 0.25MB
  10. mtd6: 00040000 00020000 "ckdatablock" 262144 256k 0.25MB
  11. mtd7: 004c0000 00020000 "recovery" 4980736 4864k 4MB 恢复模式 (音量上+绿+开机)
  12. mtd8: 00020000 00020000 "misc" 131072 128K 0.125MB 是存放开机画面的分区?
  13. mtd9: 09600000 00020000 "system" 157286400 153600K 150MB 是system.img存放的分区,挂载到 /system
  14. mtd10: 00f00000 00020000 "cache" 15728640 15360k 15MB 挂载为/cache 缓存,与OTA有关?
  15. mtd11: 12b20000 00020000 "userdata" 313655296 306304k 299MB 挂载为/data目录,用户软件数据目录


  16. 备份

  17. cat /dev/mtd/mtd0 > /sdcard/modem.img
  18. cat /dev/mtd/mtd1 > /sdcard/bootloader.img
  19. cat /dev/mtd/mtd2 > /sdcard/systemdata.img
  20. cat /dev/mtd/mtd3 > /sdcard/kpanic.img
  21. cat /dev/mtd/mtd4 > /sdcard/boot.img
  22. cat /dev/mtd/mtd5 > /sdcard/deviceinfo.img
  23. cat /dev/mtd/mtd6 > /sdcard/ckdatablock.img
  24. cat /dev/mtd/mtd7 > /sdcard/recovery.img
  25. cat /dev/mtd/mtd8 > /sdcard/misc.img
  26. cat /dev/mtd/mtd9 > /sdcard/system.img
  27. cat /dev/mtd/mtd10 > /sdcard/cache.img
  28. cat /dev/mtd/mtd11 > /sdcard/userdata.img



  29. # mount
  30. mount
  31. rootfs / rootfs ro,relatime 0 0
  32. tmpfs /dev tmpfs rw,relatime,mode=755 0 0
  33. devpts /dev/pts devpts rw,relatime,mode=600 0 0
  34. proc /proc proc rw,relatime 0 0
  35. sysfs /sys sysfs rw,relatime 0 0
  36. tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
  37. /dev/block/mtdblock9 /system yaffs2 rw,relatime 0 0
  38. /dev/block/mtdblock11 /data yaffs2 rw,nosuid,nodev,relatime 0 0
  39. /dev/block/mtdblock10 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
  40. /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
  41. /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
  42. tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
  43. /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
  44. /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

  45. 挂载点

  46. config
  47. cache
  48. sdcard
  49. acct
  50. mnt
  51. d
  52. etc
  53. system
  54. sys
  55. sbin
  56. proc
  57. init.rc
  58. init.goldfish.rc
  59. init.charge.rc
  60. init.bcm2157.rc
  61. init
  62. default.prop
  63. data
  64. root
  65. dev


  66. tar cvf /sdcard/system.tar /system
  67. tar cvf /sdcard/sys.tar /sys
  68. tar cvf /sdcard/data.tar /data

  69. tar cvf /sdcard/root.tar /root

  70. tar cvf /sdcard/dev.tar /dev




  71. cp init.rc /sdcard/init.rc
  72. cp init.goldfish.rc /sdcard/init.goldfish.rc
  73. cp init.charge.rc /sdcard/init.charge.rc
  74. cp init.bcm2157.rc /sdcard/init.bcm2157.rc

复制代码


ls -a -l -R 命令得到的本机型目录文件结构
[attach]80524[/attach]




欢迎光临 移动叔叔 (http://bbs.ydss.cn/) Powered by Discuz! X3.2