[DEV][REF] El Grande Partition Table Reference

Search This thread

Haldi4803

Senior Member
General Device Name: Sony Xperia XZ2
Manufacturer Product Name: H8216 / Akari
Processor: SD845
AOS version: Android P 9.0 (Dev Preview 2.0)
Radio FW version:
System FW version: PDP-PKQ1.180513.001-10128
Service Provider/ Branding: None

Code:
C:\ADB>adb shell mount
/dev/root on / type ext4 (ro,seclabel,relatime,block_validity,delalloc,barrier,user_xattr)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1868140k,nr_inodes=467035,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600,ptmxmode=000)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1868140k,nr_inodes=467035,mode=755,gid=1000)
/dev/block/dm-1 on /vendor type ext4 (ro,seclabel,relatime,block_validity,discard,delalloc,barrier,user_xattr)
none on /acct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
none on /dev/stune type cgroup (rw,nosuid,nodev,noexec,relatime,schedtune)
none on /config type configfs (rw,nosuid,nodev,noexec,relatime)
none on /dev/cpuctl type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
none on /dev/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
cg2_bpf on /dev/cg2_bpf type cgroup2 (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,seclabel,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,seclabel,relatime)
/dev/block/sda73 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
/dev/block/sda33 on /vendor/firmware_mnt type vfat (ro,context=u:object_r:firmware_file:s0,relatime,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/sda35 on /vendor/dsp type ext4 (ro,seclabel,nosuid,nodev,relatime,data=ordered)
/dev/block/sda5 on /mnt/vendor/persist type ext4 (rw,seclabel,nosuid,nodev,noatime,data=ordered)
/dev/block/sda34 on /vendor/bt_firmware type vfat (ro,context=u:object_r:bt_firmware_file:s0,relatime,uid=1002,gid=3002,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
tmpfs on /storage type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1868140k,nr_inodes=467035,mode=755,gid=1000)
/dev/block/sda2 on /mnt/lta-label type ext4 (rw,seclabel,nosuid,nodev,noexec,noatime,nobarrier,data=ordered)
/dev/block/sda68 on /mnt/rca type ext4 (rw,seclabel,nosuid,nodev,noexec,noatime,discard,stripe=2,data=ordered)
/dev/block/sda69 on /mnt/idd type ext4 (rw,seclabel,nosuid,nodev,noexec,noatime,discard,stripe=2,data=ordered)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/data/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal)
/data/media on /storage/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal)
/data/media on /mnt/runtime/read/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=23,derive_gid,default_normal)
/data/media on /mnt/runtime/write/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal)
/dev/block/vold/public:179,1 on /mnt/media_rw/3238-3034 type exfat (rw,dirsync,nosuid,nodev,noexec,noatime,uid=1023,gid=1023,umask=0007,allow_utime=0020,utf8,min_prealloc_size=64k,max_prealloc_size=187714k,writeback_boundary=4M,readahead=4M,fail_safe,discard,hidden=show,errors=continue)
/mnt/media_rw/3238-3034 on /mnt/runtime/default/3238-3034 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,mask=6)
/mnt/media_rw/3238-3034 on /storage/3238-3034 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,mask=6)
/mnt/media_rw/3238-3034 on /mnt/runtime/read/3238-3034 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,mask=18)
/mnt/media_rw/3238-3034 on /mnt/runtime/write/3238-3034 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,mask=18)

Code:
C:\ADB>adb shell  ls -l /dev/block/bootdevice/by-name/
total 0
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 LTALabel -> /dev/block/sda2
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 Qnovo -> /dev/block/sda70
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 TA -> /dev/block/sda1
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 abl_a -> /dev/block/sda12
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 abl_b -> /dev/block/sda24
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 aop_a -> /dev/block/sda9
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 aop_b -> /dev/block/sda21
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 apdp -> /dev/block/sda54
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 appslog -> /dev/block/sda68
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 bluetooth_a -> /dev/block/sda34
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 bluetooth_b -> /dev/block/sda44
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 boot_a -> /dev/block/sda36
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 boot_b -> /dev/block/sda46
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 cdt -> /dev/block/sda64
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 cmnlib64_a -> /dev/block/sda15
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 cmnlib64_b -> /dev/block/sda27
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 cmnlib_a -> /dev/block/sda14
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 cmnlib_b -> /dev/block/sda26
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 ddr -> /dev/block/sda8
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 devcfg_a -> /dev/block/sda16
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 devcfg_b -> /dev/block/sda28
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 devinfo -> /dev/block/sda7
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 diag -> /dev/block/sda69
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 dsp_a -> /dev/block/sda35
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 dsp_b -> /dev/block/sda45
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 dtbo_a -> /dev/block/sda39
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 dtbo_b -> /dev/block/sda49
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 frp -> /dev/block/sda67
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 fsc -> /dev/block/sda72
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 fsg -> /dev/block/sda63
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 fsmetadata -> /dev/block/sda71
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 hyp_a -> /dev/block/sda11
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 hyp_b -> /dev/block/sda23
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 keymaster_a -> /dev/block/sda13
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 keymaster_b -> /dev/block/sda25
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 keystore -> /dev/block/sda66
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 limits -> /dev/block/sda57
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 logdump -> /dev/block/sda60
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 logfs -> /dev/block/sda59
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 misc -> /dev/block/sda65
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 modem_a -> /dev/block/sda33
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 modem_b -> /dev/block/sda43
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 modemst1 -> /dev/block/sda61
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 modemst2 -> /dev/block/sda62
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 msadp -> /dev/block/sda55
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 oem_a -> /dev/block/sda40
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 oem_b -> /dev/block/sda50
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 persist -> /dev/block/sda5
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 qupfw_a -> /dev/block/sda17
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 qupfw_b -> /dev/block/sda29
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 rddata -> /dev/block/sda74
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 rdimage_a -> /dev/block/sda37
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 rdimage_b -> /dev/block/sda47
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 sec -> /dev/block/sda53
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 spunvm -> /dev/block/sda56
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 ssd -> /dev/block/sda6
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 system_a -> /dev/block/sda42
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 system_b -> /dev/block/sda52
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 toolsfv -> /dev/block/sda58
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 tz_a -> /dev/block/sda10
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 tz_b -> /dev/block/sda22
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 tzxfl_a -> /dev/block/sda20
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 tzxfl_b -> /dev/block/sda32
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 tzxflattest_a -> /dev/block/sda19
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 tzxflattest_b -> /dev/block/sda31
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 userdata -> /dev/block/sda73
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 vbmeta_a -> /dev/block/sda38
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 vbmeta_b -> /dev/block/sda48
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 vendor_a -> /dev/block/sda41
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 vendor_b -> /dev/block/sda51
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 xbl_a -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 xbl_b -> /dev/block/sdc1
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 xbl_config_a -> /dev/block/sdb2
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 xbl_config_b -> /dev/block/sdc2
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 xfl_a -> /dev/block/sda18
lrwxrwxrwx 1 root root 16 1970-04-07 11:21 xfl_b -> /dev/block/sda30
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 xflkeystore -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1970-04-07 11:21 xflkeystorebak -> /dev/block/sda4

Will update when i get root...
 

ladislav.heller

Senior Member
Apr 25, 2012
838
513
Bratislava
Huawei P20 Lite ANE-LX1

Device: Huawei P20 Lite ANE-LX1

Output of command
ls -la /dev/block/*/by-name
Code:
total 0
drwxr-xr-x 2 root root 1160 2018-07-22 12:52 .
drwxr-xr-x 3 root root   60 2018-07-22 12:52 ..
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 bootfail_info -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 cache -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 cust -> /dev/block/mmcblk0p52
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 dfx -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 dto -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 dts -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 erecovery_kernel -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 erecovery_ramdisk -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 erecovery_vbmeta -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 erecovery_vendor -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 fastboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 frp -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 fw_hifi -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 fw_lpm3 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 hisitest0 -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 hisitest1 -> /dev/block/mmcblk0p45
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 hisitest2 -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 kernel -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 misc -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 modem_fw -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 modem_om -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 modem_secure -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 modemnvm_backup -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 modemnvm_factory -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 modemnvm_img -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 modemnvm_system -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 modemnvm_update -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 nvme -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 odm -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 oeminfo -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 patch -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 persist -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 product -> /dev/block/mmcblk0p55
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 ramdisk -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 recovery_ramdisk -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 recovery_vbmeta -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 recovery_vendor -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 reserved2 -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 reserved3 -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 reserved4 -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 reserved5 -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 reserved8 -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 reserved9 -> /dev/block/mmcblk0p50
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 rrecord -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 secure_storage -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 sensorhub -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 splash2 -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 system -> /dev/block/mmcblk0p51
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 teeos -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 trustfirmware -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 userdata -> /dev/block/mmcblk0p56
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 vbmeta -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 vendor -> /dev/block/mmcblk0p54
lrwxrwxrwx 1 root root   21 2018-07-22 12:52 version -> /dev/block/mmcblk0p53
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 vrl -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root   20 2018-07-22 12:52 vrl_backup -> /dev/block/mmcblk0p2

Output of command
fdisk -ul /dev/block/mmcblk0
Code:
Found valid GPT with protective MBR; using GPT

Disk /dev/block/mmcblk0: 122142720 sectors, 2296M
Logical sector size: 512
Disk identifier (GUID): f9f21fff-a8d4-5f0e-9746-594869aec34e
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 122142719

Number  Start (sector)    End (sector)  Size Name
     1            1024            1535  256K vrl
     2            1536            2047  256K vrl_backup
     3            2048            2559  256K fw_lpm3
     4            2560            4095  768K frp
     5            4096           12287 4096K fastboot
     6           12288           20479 4096K modemnvm_factory
     7           20480           32767 6144K nvme
     8           32768          163839 64.0M oeminfo
     9          163840          172031 4096K reserved3
    10          172032          180223 4096K modemnvm_backup
    11          180224          196607 8192K modemnvm_img
    12          196608          204799 4096K modemnvm_system
    13          204800          270335 32.0M secure_storage
    14          270336          274431 2048K reserved4
    15          274432          278527 2048K reserved5
    16          278528          282623 2048K persist
    17          282624          311295 14.0M modem_secure
    18          311296          376831 32.0M modem_om
    19          376832          507903 64.0M splash2
    20          507904          511999 2048K misc
    21          512000          561151 24.0M modemnvm_update
    22          561152          684031 60.0M reserved2
    23          684032          692223 4096K teeos
    24          692224          696319 2048K trustfirmware
    25          696320          729087 16.0M sensorhub
    26          729088          753663 12.0M fw_hifi
    27          753664          802815 24.0M erecovery_kernel
    28          802816          868351 32.0M erecovery_ramdisk
    29          868352          901119 16.0M erecovery_vendor
    30          901120          950271 24.0M kernel
    31          950272          983039 16.0M ramdisk
    32          983040         1048575 32.0M recovery_ramdisk
    33         1048576         1081343 16.0M recovery_vendor
    34         1081344         1138687 28.0M dts
    35         1138688         1146879 4096K dto
    36         1146880         1343487 96.0M modem_fw
    37         1343488         1345535 1024K recovery_vbmeta
    38         1345536         1347583 1024K erecovery_vbmeta
    39         1347584         1351679 2048K reserved8
    40         1351680         1384447 16.0M dfx
    41         1384448         1392639 4096K vbmeta
    42         1392640         1654783  128M cache
    43         1654784         1916927  128M odm
    44         1916928         1921023 2048K hisitest0
    45         1921024         1925119 2048K hisitest1
    46         1925120         1933311 4096K hisitest2
    47         1933312         1998847 32.0M patch
    48         1998848         2002943 2048K bootfail_info
    49         2002944         2035711 16.0M rrecord
    50         2035712         2064383 14.0M reserved9
    51         2064384        13598719 5632M system
    52        13598720        13991935  192M cust
    53        13991936        14057471 32.0M version
    54        14057472        15663103  784M vendor
    55        15663104        16056319  192M product
    56        16056320       122142719 50.5G userdata
 

ladislav.heller

Senior Member
Apr 25, 2012
838
513
Bratislava
Samsung Galaxy S20+ (SM-G985F Exynos)

Device: Samsung Galaxy S20+
Model: SM-G985F
Android: 10

Output of command:
ls -hal /dev/block/platform/*/by-name

Code:
total 0
drwxr-xr-x 2 root root 700 2020-09-29 17:59 .
drwxr-xr-x 3 root root 820 2020-09-29 17:59 ..
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 blcmd -> /dev/block/sda12
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 boot -> /dev/block/sda13
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 bota -> /dev/block/sda5
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 cache -> /dev/block/sda29
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 cp_debug -> /dev/block/sda16
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 cpefs -> /dev/block/sdd1
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 dqmdbg -> /dev/block/sda22
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 dtbo -> /dev/block/sda11
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 efs -> /dev/block/sda1
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 harx -> /dev/block/sda8
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 keydata -> /dev/block/sda21
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 keyrefuge -> /dev/block/sda20
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 keystorage -> /dev/block/sda6
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 metadata -> /dev/block/sda25
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 misc -> /dev/block/sda19
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 nad_refer -> /dev/block/sda17
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 omr -> /dev/block/sda30
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 optics -> /dev/block/sda28
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 param -> /dev/block/sda3
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 persistent -> /dev/block/sda18
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 prism -> /dev/block/sda27
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 radio -> /dev/block/sda15
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 recovery -> /dev/block/sda14
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 sec_efs -> /dev/block/sda2
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 spu -> /dev/block/sda31
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 steady -> /dev/block/sda7
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 super -> /dev/block/sda26
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 uh -> /dev/block/sda9
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 uhcfg -> /dev/block/sda10
lrwxrwxrwx 1 root root  15 2020-09-29 17:59 up_param -> /dev/block/sda4
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 userdata -> /dev/block/sda32
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 vbmeta -> /dev/block/sda23
lrwxrwxrwx 1 root root  16 2020-09-29 17:59 vbmeta_samsung -> /dev/block/sda24

Output of command:
fdisk -ul /dev/block/sda

Code:
Note: sector size is 4096 (not 512)
Found valid GPT with protective MBR; using GPT

Disk /dev/block/sda: 249872384 sectors, 1216M
Logical sector size: 4096
Disk identifier (GUID): 52444e41-494f-2044-4d4d-43204449534b
Partition table holds up to 128 entries
First usable sector is 6, last usable sector is 31234042

Number  Start (sector)    End (sector)  Size Name
     1            1024            6143 20.0M efs
     2            6144           11263 20.0M sec_efs
     3           11264           13311 8192K param
     4           13312           15359 8192K up_param
     5           15360           25599 40.0M bota
     6           25600           25727  512K keystorage
     7           25728           26751 4096K steady
     8           26752           27519 3072K harx
     9           27520           28031 2048K uh
    10           28032           29055 4096K uhcfg
    11           29056           31103 8192K dtbo
    12           31104           31119 65536 blcmd
    13           31120           46223 59.0M boot
    14           46224           63071 65.8M recovery
    15           63072           80991 70.0M radio
    16           80992           82271 5120K cp_debug
    17           82272           82527 1024K nad_refer
    18           82528           82655  512K persistent
    19           82656           82911 1024K misc
    20           82912           87007 16.0M keyrefuge
    21           87008           91103 16.0M keydata
    22           91104           95199 16.0M dqmdbg
    23           95200           95215 65536 vbmeta
    24           95216           95231 65536 vbmeta_samsung
    25           95232          103423 32.0M metadata
    26          103424         2407423 9000M super
    27         2407424         2663423 1000M prism
    28         2663424         2671103 30.0M optics
    29         2671104         2824703  600M cache
    30         2824704         2837503 50.0M omr
    31         2837504         2850303 50.0M spu
    32         2850304        31232511  108G userdata
 

rapper387

Member
Mar 9, 2021
19
0
Microsoft Windows [Version 10.0.19043.1586]
(c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp-3.5.0_9-0-falcon.img
downloading 'boot.img'...
OKAY [ 5.355s]
booting...
OKAY [ 5.285s]
finished. total time: 10.752s

C:\Program Files (x86)\Minimal ADB and Fastboot>adb.exe shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
~ # ←[6ndf
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 446188 20 446168 0% /dev
tmpfs 446188 20 446168 0% /tmp
/dev/block/mmcblk0p36
13543280 11891044 1554076 88% /data
/dev/block/mmcblk0p36
13543280 11891044 1554076 88% /sdcard
ı cant format storage mount cache problem my device bootloader unlocked ı cant recovery flash what should ı do? emmc problem maybe jtag need ı dont know retail asia ds 5.1 cant flash
 

pandoraxxx

New member
Apr 30, 2023
1
0
Partition Table: Asus Zenfone 5 Intel Atom Z2560 2 Cores 1.600mhz (A501CG, T00j)

General Device Name: Asus Zenfone 5
Manufacturer Product Name: A501CG, T00j (clovertrail)
Processor: Intel Atom Z2560 2 Cores 1.600mhz
AOS version: Android GB 4.3 (KK 4.4 can be installed)
SW version: system - ASUS_T00F_WW_user_9.17.40.16_20190811_0963 release-keys ( WW= "World Wide" version)
( + recovery: ASUS_T00F_CUCC_user_1.15.40.19_20140626_4312 release-keys --- CUCC="ChinaUnicom" version )
system: default.prop + build.prop: - look at attached "adb_dmesg_dumpsys_etc_.zip"
df:
Code:
command: df
Filesystem               Size     Used     Free   Blksize
/dev                   482.3M    68.0K   482.3M   4096
/mnt/secure            482.3M     0.0K   482.3M   4096
/mnt/asec              482.3M     4.0K   482.3M   4096
/mnt/obb               482.3M     0.0K   482.3M   4096
/Removable             482.3M     0.0K   482.3M   4096
/factory                31.5M     5.6M    25.9M   4096
/system                  1.2G     1.1G    26.1M   4096
/cache                 503.9M     8.4M   495.6M   4096
/config                 31.5M    17.3M    14.2M   4096
/data                    5.0G   336.2M     4.7G   4096
/data/data/ASUSBrowser/cache    20.0M     5.9M    14.1M   4096
/ADF                    31.5M     4.0M    27.4M   4096
/mnt/shell/emulated      5.0G   336.2M     4.7G   4096
/storage/emulated      482.3M     0.0K   482.3M   4096
/storage/emulated/0      5.0G   336.2M     4.7G   4096
/storage/emulated/0/Android/obb     5.0G   336.2M     4.7G   4096
/storage/emulated/legacy     5.0G   336.2M     4.7G   4096
/storage/emulated/legacy/Android/obb     5.0G   336.2M     4.7G   4096
mount
Code:
command: mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /Removable tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/mmcblk0p3 /factory ext4 rw,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/mmcblk0p9 /system ext4 ro,relatime,data=ordered 0 0
/dev/block/mmcblk0p6 /cache ext4 rw,nosuid,nodev,noatime,journal_checksum,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p5 /config ext4 rw,nosuid,nodev,noatime,data=ordered 0 0
/dev/block/mmcblk0p10 /data ext4 rw,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
tmpfs /data/data/ASUSBrowser/cache tmpfs rw,relatime,size=20480k,mode=777 0 0
/dev/block/mmcblk0p8 /ADF ext4 rw,noatime,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
tmpfs /storage/emulated tmpfs rw,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
dev/block:
Code:
command: ls -l /dev/block/
brw------- root     root       7,   0 2014-10-08 23:05 loop0
brw------- root     root       7,   1 2014-10-08 23:05 loop1
brw------- root     root       7,   2 2014-10-08 23:05 loop2
brw------- root     root       7,   3 2014-10-08 23:05 loop3
brw------- root     root       7,   4 2014-10-08 23:05 loop4
brw------- root     root       7,   5 2014-10-08 23:05 loop5
brw------- root     root       7,   6 2014-10-08 23:05 loop6
brw------- root     root       7,   7 2014-10-08 23:05 loop7
brw------- root     root     179,   0 2014-10-08 23:05 mmcblk0
brw------- root     root     179,  10 2014-10-08 23:05 mmcblk0boot0
brw------- root     root     179,  20 2014-10-08 23:05 mmcblk0boot1
brw------- root     root     179,  40 2014-10-08 23:05 mmcblk0gp0
brw------- root     root     179,   1 2014-10-08 23:05 mmcblk0p1
brw------- root     root     259,   0 2014-10-08 23:05 mmcblk0p10
brw------- root     root     179,   2 2014-10-08 23:05 mmcblk0p2
brw------- root     root     179,   3 2014-10-08 23:05 mmcblk0p3
brw------- root     root     179,   4 2014-10-08 23:05 mmcblk0p4
brw------- root     root     179,   5 2014-10-08 23:05 mmcblk0p5
brw------- root     root     179,   6 2014-10-08 23:05 mmcblk0p6
brw------- root     root     179,   7 2014-10-08 23:05 mmcblk0p7
brw------- root     root     179,   8 2014-10-08 23:05 mmcblk0p8
brw------- root     root     179,   9 2014-10-08 23:05 mmcblk0p9
brw------- root     root     179,  30 2014-10-08 23:05 mmcblk0rpmb
brw------- root     root       1,   0 2014-10-08 23:05 ram0
brw------- root     root       1,   1 2014-10-08 23:05 ram1
brw------- root     root       1,  10 2014-10-08 23:05 ram10
brw------- root     root       1,  11 2014-10-08 23:05 ram11
brw------- root     root       1,  12 2014-10-08 23:05 ram12
brw------- root     root       1,  13 2014-10-08 23:05 ram13
brw------- root     root       1,  14 2014-10-08 23:05 ram14
brw------- root     root       1,  15 2014-10-08 23:05 ram15
brw------- root     root       1,   2 2014-10-08 23:05 ram2
brw------- root     root       1,   3 2014-10-08 23:05 ram3
brw------- root     root       1,   4 2014-10-08 23:05 ram4
brw------- root     root       1,   5 2014-10-08 23:05 ram5
brw------- root     root       1,   6 2014-10-08 23:05 ram6
brw------- root     root       1,   7 2014-10-08 23:05 ram7
brw------- root     root       1,   8 2014-10-08 23:05 ram8
brw------- root     root       1,   9 2014-10-08 23:05 ram9
drwx------ root     root              2014-10-08 23:05 vold
/proc/partitions
Code:
cat /proc/partitions
major minor  #blocks  name

 179        0    7626752 mmcblk0
 179        1     131072 mmcblk0p1
 179        2       8192 mmcblk0p2
 179        3      32768 mmcblk0p3
 179        4       8192 mmcblk0p4
 179        5      32768 mmcblk0p5
 179        6     524288 mmcblk0p6
 179        7     196608 mmcblk0p7
 179        8      32768 mmcblk0p8
 179        9    1331200 mmcblk0p9
 259        0    5320684 mmcblk0p10
 179       40       8192 mmcblk0gp0
 179       30          8 mmcblk0rpmb
 179       20       4096 mmcblk0boot1
 179       10       4096 mmcblk0boot0
recovery filesystem table (from /cache/recovery/last_log)
Code:
Starting recovery on Wed Oct  8 16:17:54 2014
recovery filesystem table
=========================
  0 /reserved hidden /dev/block/mmcblk0p1 0
  1 /panic raw /dev/block/mmcblk0p2 0
  2 /factory ext4 /dev/block/mmcblk0p3 0
  3 /spare ext4 /dev/block/mmcblk0p4 0
  4 /config ext4 /dev/block/mmcblk0p5 0
  5 /cache ext4 /dev/block/mmcblk0p6 0
  6 /APD ext4 /dev/block/mmcblk0p7 0
  7 /ADF ext4 /dev/block/mmcblk0p8 0
  8 /system ext4 /dev/block/mmcblk0p9 0
  9 /data ext4 /dev/block/mmcblk0p10 -16384
  10 /mnt/sdcard vfat /dev/block/mmcblk1p1 0
  11 /tmp ramdisk ramdisk 0
full /cache/recovery/last_log - look at attached file

USB\VID's:
Code:
after installing drivers from virtual-CD from phone:
System:
ASUS Android Composite ADB Interface:
USB\VID_0B05&PID_5481&MI_01\7&2B95DAFA&0&0001

Recovery
Android-Phone: USB\VID_8087&PID_09EF

POWER_OFF state ("Charging animations"):
USB\VID_8087&PID_0A14&REV_0224
USB\VID_8087&PID_0A14

Bootloader (Fastboot):
USB\VID_0B05&PID_4DAF&REV_0224
USB\VID_0B05&PID_4DAF
+ after installing busybox ++
fdisk
Code:
root@ASUS_T00J:/ # fdisk -l dev/block/mmcblk0
fdisk -l dev/block/mmcblk0

Disk dev/block/mmcblk0: 7809 MB, 7809794048 bytes
256 heads, 63 sectors/track, 945 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes

             Device Boot      Start         End      Blocks  Id System
dev/block/mmcblk0p1               1         946     7626751+ ee EFI GPT
Partition 1 has different physical/logical endings:
     phys=(1023, 255, 63) logical=(945, 199, 7)
root@ASUS_T00J:/ # fdisk -l dev/block/mmcblk0p1
fdisk -l dev/block/mmcblk0p1

Disk dev/block/mmcblk0p1: 134 MB, 134217728 bytes
4 heads, 16 sectors/track, 4096 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Disk dev/block/mmcblk0p1 doesn't contain a valid partition table
parted
Code:
root@ASUS_T00J:/ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
print all
print all
Model: MMC H8G2d¦ (sd/mmc)
Disk /dev/block/mmcblk0: 7810MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name      Flags
 1      20.5kB  134MB   134MB                reserved  boot
 2      134MB   143MB   8389kB               panic     boot
 3      143MB   176MB   33.6MB  ext4         factory
 4      176MB   185MB   8389kB  ext4         spare
 5      185MB   218MB   33.6MB  ext4         config
 6      218MB   755MB   537MB   ext4         cache
 7      755MB   956MB   201MB   ext4         APD
 8      956MB   990MB   33.6MB  ext4         ADF
 9      990MB   2353MB  1363MB  ext4         system
10      2353MB  7801MB  5448MB  ext4         data


(parted) version
version
version

GNU Parted 1.8.8.1.179-aef3

Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

(parted) quit
quit
quit
gdisk
Code:
root@ASUS_T00J:/ # gdisk /dev/block/mmcblk0
gdisk /dev/block/mmcblk0
GPT fdisk (gdisk) version 0.8.4

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
p
Disk /dev/block/mmcblk0: 15253504 sectors, 7.3 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 42D65B0A-EAAA-7AB2-2A0A-03FCEE12F0F0
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15253470
Partitions will be aligned on 8-sector boundaries
Total free space is 16357 sectors (8.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          262183   128.0 MiB   EF00  reserved
   2          262184          278567   8.0 MiB     EF00  panic
   3          278568          344103   32.0 MiB    0700  factory
   4          344104          360487   8.0 MiB     0700  spare
   5          360488          426023   32.0 MiB    0700  config
   6          426024         1474599   512.0 MiB   0700  cache
   7         1474600         1867815   192.0 MiB   0700  APD
   8         1867816         1933351   32.0 MiB    0700  ADF
   9         1933352         4595751   1.3 GiB     0700  system
  10         4595752        15237119   5.1 GiB     0700  data
+ detailed:
Code:
Command (? for help): i
i
Partition number (1-10): 1
1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
Partition unique GUID: 80868086-8086-8086-8086-000000000000
First sector: 40 (at 20.0 KiB)
Last sector: 262183 (at 128.0 MiB)
Partition size: 262144 sectors (128.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'reserved'

Command (? for help): i
i
Partition number (1-10): 2
2
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
Partition unique GUID: 80868086-8086-8086-8086-000000000001
First sector: 262184 (at 128.0 MiB)
Last sector: 278567 (at 136.0 MiB)
Partition size: 16384 sectors (8.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'panic'

Command (? for help): i
i
Partition number (1-10): 3
3
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 80868086-8086-8086-8086-000000000002
First sector: 278568 (at 136.0 MiB)
Last sector: 344103 (at 168.0 MiB)
Partition size: 65536 sectors (32.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'factory'

Command (? for help): i
i
Partition number (1-10): 4
4
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 80868086-8086-8086-8086-000000000003
First sector: 344104 (at 168.0 MiB)
Last sector: 360487 (at 176.0 MiB)
Partition size: 16384 sectors (8.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'spare'

Command (? for help): i
i
Partition number (1-10): 5
5
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 80868086-8086-8086-8086-000000000004
First sector: 360488 (at 176.0 MiB)
Last sector: 426023 (at 208.0 MiB)
Partition size: 65536 sectors (32.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'config'

Command (? for help): i
i
Partition number (1-10): 6
6
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 80868086-8086-8086-8086-000000000005
First sector: 426024 (at 208.0 MiB)
Last sector: 1474599 (at 720.0 MiB)
Partition size: 1048576 sectors (512.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'cache'

Command (? for help): i
i
Partition number (1-10): 7
7
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 80868086-8086-8086-8086-000000000006
First sector: 1474600 (at 720.0 MiB)
Last sector: 1867815 (at 912.0 MiB)
Partition size: 393216 sectors (192.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'APD'

Command (? for help): i
i
Partition number (1-10): 8
8
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 80868086-8086-8086-8086-000000000007
First sector: 1867816 (at 912.0 MiB)
Last sector: 1933351 (at 944.0 MiB)
Partition size: 65536 sectors (32.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'ADF'

Command (? for help): i
i
Partition number (1-10): 9
9
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 80868086-8086-8086-8086-000000000008
First sector: 1933352 (at 944.0 MiB)
Last sector: 4595751 (at 2.2 GiB)
Partition size: 2662400 sectors (1.3 GiB)
Attribute flags: 0000000000000000
Partition name: 'system'

Command (? for help): i
i
Partition number (1-10): 10
10
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 80868086-8086-8086-8086-000000000009
First sector: 4595752 (at 2.2 GiB)
Last sector: 15237119 (at 7.3 GiB)
Partition size: 10641368 sectors (5.1 GiB)
Attribute flags: 0000000000000000
Partition name: 'data'

Command (? for help): l
l
0700 Microsoft basic data  0c01 Microsoft reserved    2700 Windows RE
4200 Windows LDM data      4201 Windows LDM metadata  7501 IBM GPFS
7f00 ChromeOS kernel       7f01 ChromeOS root         7f02 ChromeOS reserved
8200 Linux swap            8300 Linux filesystem      8301 Linux reserved
8e00 Linux LVM             a500 FreeBSD disklabel     a501 FreeBSD boot
a502 FreeBSD swap          a503 FreeBSD UFS           a504 FreeBSD ZFS
a505 FreeBSD Vinum/RAID    a800 Apple UFS             a901 NetBSD swap
a902 NetBSD FFS            a903 NetBSD LFS            a904 NetBSD concatenated
a905 NetBSD encrypted      a906 NetBSD RAID           ab00 Apple boot
af00 Apple HFS/HFS+        af01 Apple RAID            af02 Apple RAID offline
af03 Apple label           af04 AppleTV recovery      af05 Apple Core Storage
be00 Solaris boot          bf00 Solaris root          bf01 Solaris /usr & Mac Z
bf02 Solaris swap          bf03 Solaris backup        bf04 Solaris /var
bf05 Solaris /home         bf06 Solaris alternate se  bf07 Solaris Reserved 1
bf08 Solaris Reserved 2    bf09 Solaris Reserved 3    bf0a Solaris Reserved 4
bf0b Solaris Reserved 5    c001 HP-UX data            c002 HP-UX service
ef00 EFI System            ef01 MBR partition scheme  ef02 BIOS boot partition
fd00 Linux RAID

blkid
Code:
root@ASUS_T00J:/ # blkid
blkid
/dev/block/mmcblk0p10: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
/dev/block/mmcblk0p9: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
/dev/block/mmcblk0p8: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
/dev/block/mmcblk0p7: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
/dev/block/mmcblk0p6: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
/dev/block/mmcblk0p5: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
/dev/block/mmcblk0p4: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
/dev/block/mmcblk0p3: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
VERY interesting content of mmcblk0p2 (/panic raw) (for full txt source - look at attached mmcblk0p2_mmcblk0p2.img.zip)
--- something like "dmesg" only 'Intel-style' .)
short example:
Code:
<6>[    0.000000] Initializing cgroup subsys cpuset
<6>[    0.000000] Initializing cgroup subsys cpu
<5>[    0.000000] Linux version 3.4.43-g656faae (builder3@BUILDER3) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Tue Mar 25 17:22:31 CST 2014
<6>[    0.000000] BIOS-provided physical RAM map:
<6>[    0.000000]  BIOS-e820: 0000000000000000 - 0000000000098000 (usable)
<6>[    0.000000]  BIOS-e820: 0000000000100000 - 0000000000d00000 (usable)
<6>[    0.000000]  BIOS-e820: 0000000000d00000 - 0000000001000000 (reserved)
<6>[    0.000000]  BIOS-e820: 0000000001000000 - 0000000036ff0000 (usable)
<6>[    0.000000]  BIOS-e820: 0000000036ff0000 - 00000000378fd000 (reserved)
<6>[    0.000000]  BIOS-e820: 00000000378fd400 - 00000000379fd400 (reserved)
<6>[    0.000000]  BIOS-e820: 00000000379fd400 - 000000003eeff400 (usable)
<6>[    0.000000]  BIOS-e820: 000000003ef00000 - 0000000040000000 (reserved)
<6>[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
<6>[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
<6>[    0.000000]  BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
<6>[    0.000000] kmemleak: Kernel memory leak detector disabled
<6>[    0.000000] NX (Execute Disable) protection: active
<6>[    0.000000] SMBIOS 2.6 present.
<7>[    0.000000] DMI: Intel Corporation CloverTrail/FFRD, BIOS 406 2013.10.16:10.18.10
<7>[    0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
<7>[    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
.....
some suggestions:

1. /reserved hidden /dev/block/mmcblk0p1 - contain 'boot', recovery' and 'fastboot' images (maybe 'ramdisk' separately and 'common' ("one for") all 3 images); (+ mention about it in china)
2. mmcblk0p1 contain all 3 images and boots 'desired mode' with using of 'something like' "Intel OSIP driver"-feature;
this suggestion based on command log (flushing recovery image from latest SW)
Code:
d:\Asus_Zenfone_5\stock\_from_box1.17.40.16WW\_reflasho_to_WW>adb shell
shell@ASUS_T00J:/ $ su
su
root@ASUS_T00J:/ # sh /data/local/tmp/install-recovery.sh
sh /data/local/tmp/install-recovery.sh
Writing 11332608 byte image to osip[1]
slot 0 used by osip 0
slot 1 used by osip 1
root@ASUS_T00J:/ # exit
exit
shell@ASUS_T00J:/ $ exit
exit
install-recovery.sh
Code:
#!/system/bin/sh
update_recovery --check-sha1 0d46024fcdba65dc82ca5fb568eccf36885de815 \
                --src-sha1 d8d2bbfd8dd3eaa648073876a229ac030ebdc802 \
                --tgt-sha1 7cf95a376c8d8b0f47a9bd9062851161fac657d2 \
                --tgt-size 11332608 \
                --patch /data/local/tmp/recovery-from-boot.p
+ of course -- before - copied file "recovery-from-boot.p" (1 417 594 bytes) to /data/local/tmp/ ; )

3. factory firmware content 'separeted' images of "boot", "recovery" and "fastboot"
Code:
d:\>dir /s d:\Asus_Zenfone_5\stock\unpack\UL-ASUS_T00F-WW-2.19.40.18-user\
 Volume in drive D has no label.

 Directory of d:\Asus_Zenfone_5\stock\unpack\UL-ASUS_T00F-WW-2.19.40.18-user

09.10.2014  17:16    <DIR>          .
09.10.2014  17:16    <DIR>          ..
03.01.2014  18:52         9*589*760 boot.img
03.01.2014  18:52        13*591*552 fastboot.img
03.01.2014  18:52         4*399*442 ifwi.zip
03.01.2014  18:52        12*469*248 recovery.img
03.01.2014  18:52         5*954*048 splash.bin
09.10.2014  12:27             4*733 Text fastboot.img.txt
09.10.2014  12:22             4*723 Text recovery.img.txt
03.01.2014  18:52            12*491 updater-script
               8 File(s)     46*025*997 bytes
----------------------
unpacked ifwi.zip:

 Directory of d:\Asus_Zenfone_5\stock\unpack\UL-ASUS_T00F-WW-2.19.40.18-user\ifwi

09.10.2014  12:02    <DIR>          .
09.10.2014  12:02    <DIR>          ..
03.10.2014  18:33            99*296 dnx_fwr_ctp_a500cg.bin
11.09.2014  09:55            99*296 dnx_fwr_ctp_a502cg.bin
11.09.2014  09:55            99*296 dnx_fwr_ctp_a600cg.bin
11.09.2014  09:55            99*296 dnx_fwr_ctp_pr2.bin
11.09.2014  09:55            99*296 dnx_fwr_ctp_pr3.1.bin
11.09.2014  09:55            99*296 dnx_fwr_ctp_pr3.bin
11.09.2014  09:55            99*296 dnx_fwr_ctp_vv2.bin
11.09.2014  09:55            99*296 dnx_fwr_ctp_vv3.bin
03.10.2014  18:33            99*296 dnx_osr_ctp_a500cg.bin
11.09.2014  09:55            99*296 dnx_osr_ctp_a502cg.bin
11.09.2014  09:55            99*296 dnx_osr_ctp_a600cg.bin
11.09.2014  09:55            99*296 dnx_osr_ctp_pr2.bin
11.09.2014  09:55            99*296 dnx_osr_ctp_pr3.1.bin
11.09.2014  09:55            99*296 dnx_osr_ctp_pr3.bin
11.09.2014  09:55            99*296 dnx_osr_ctp_vv2.bin
11.09.2014  09:55            99*296 dnx_osr_ctp_vv3.bin
03.10.2014  18:33         2*031*600 ifwi_ctp_a500cg.bin
18.09.2014  00:15         2*031*600 ifwi_ctp_a502cg.bin
18.09.2014  00:15         2*031*600 ifwi_ctp_a600cg.bin
11.09.2014  09:55         2*031*600 ifwi_ctp_pr2.bin
11.09.2014  09:55         2*031*600 ifwi_ctp_pr3.1.bin
11.09.2014  09:55         2*031*600 ifwi_ctp_pr3.bin
11.09.2014  09:55         2*031*600 ifwi_ctp_vv2.bin
11.09.2014  09:55         2*031*600 ifwi_ctp_vv3.bin
03.10.2014  18:07                 0 version
              25 File(s)     17*841*536 bytes

     Total Files Listed:
              33 File(s)     63*867*533 bytes
4. bootloader (fastboot) = "DroidBoot" mode
5. fastboot is 'locked' ( for 'flashing unsigned images')
Code:
D:\Asus_Zenfone_5\recovery\AIK>fastboot flash recovery recovery_philz_t00f.img
sending 'recovery' (14944 KB)...
OKAY [  1.978s]
writing 'recovery'...
(bootloader) secure device
(bootloader) unsigned image
FAILED (remote: not allowed to update unsigned image on secure device)
finished. total time: 3.826s

D:\Asus_Zenfone_5\recovery\AIK>fastboot continue
resuming boot...
OKAY [  0.333s]
finished. total time: 0.333s
command
Code:
 fastboot boot recovery_philz_t00f.img
- 'makes' warning on the screen "the boot command is disabled"
---- and at the same time - "flash" command (of course "original images" from factory FW) - works fine:
Code:
d:\Asus_Zenfone_5\stock\_from_box1.17.40.16WW\_reflasho_to_WW>fastboot flash fastboot fastboot.img
sending 'fastboot' (12421 KB)...
OKAY [  1.815s]
writing 'fastboot'...
(bootloader) secure device
(bootloader) signed image
OKAY [  2.390s]
finished. total time: 4.206s

d:\Asus_Zenfone_5\stock\_from_box1.17.40.16WW\_reflasho_to_WW>fastboot flash boot boot.img
sending 'boot' (9193 KB)...
OKAY [  1.387s]
writing 'boot'...
(bootloader) secure device
(bootloader) signed image
OKAY [  2.019s]
finished. total time: 3.407s
note: recovery_philz_t00f.img - is 'custom recovery' for device

(there is Unlock Device App: Unlock boot loader Version V1.0 - and "signing requirement" can be "unlocked" with "official" UnLock_A500CG_a500cg_platform_rel.apk - but only A500CG version of device (= Intel Atom Z2580 2 Cores 2.000mhz (A500, T00F))

6. fastboot.img - can be 'unpacked' with toolkit xImgTool.exe (1.2.18) -- and "inside" there can be found 'classic' content with 'ramdisk'! ;) - look at attach "fastboot1.18.40.10_unpacked.zip"
----------------------------------------
Questions (unanswered ) :) :
1. 'what stands for' this 'parts of ROM'
Code:
dnx
ifwi
and what can be done with ?

// definition "IFWI - Intel flash Integrated firmware" cab be found, but .. nothing more )
there are example commands:
Code:
fastboot flash dnx dnx_fwr_ctp_a500cg.bin
fastboot flash ifwi if.bin
2. how (what command?) to look 'all the content and info' about OSIP images ("nested" by mmcblk0p1 ) and their id's (OSII) ?


upd20141202:
on FW 4.4 version (WW_a501cg-WW_user_2.20.40.13_20141105_1055-user-20141105) there is additional opt in ls -l /dev/block/platform/intel/:
Code:
root@ASUS_T00J:/ # ls -l /dev/block/platform/intel/by-guid
ls -l /dev/block/platform/intel/by-guid
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000000 -> /dev/block/mmcblk0p1
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000001 -> /dev/block/mmcblk0p2
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000002 -> /dev/block/mmcblk0p3
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000003 -> /dev/block/mmcblk0p4
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000004 -> /dev/block/mmcblk0p5
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000005 -> /dev/block/mmcblk0p6
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000006 -> /dev/block/mmcblk0p7
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000007 -> /dev/block/mmcblk0p8
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000008 -> /dev/block/mmcblk0p9
lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000009 -> /dev/block/mmcblk0p10
root@ASUS_T00J:/ # ls -l /dev/block/platform/intel/by-label
ls -l /dev/block/platform/intel/etikete göre
lrwxrwxrwx kök kök 2014-12-02 13:46 ADF -> /dev/block/mmcblk0p8
lrwxrwxrwx kök kök 2014-12-02 13:46 APD -> /dev/block/mmcblk0p7
lrwxrwxrwx kök kök 2014-12-02 13:46 önbellek -> /dev/block/mmcblk0p6
lrwxrwxrwx kök kök 2014-12-02 13:46 yapılandırma -> /dev/block/mmcblk0p5
lrwxrwxrwx kök kök 2014-12-02 13:46 veri -> /dev/block/mmcblk0p10
lrwxrwxrwx kök kök 2014-12-02 13:46 fabrika -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2014-12-02 13:46 panik -> /dev/block/mmcblk0p2
lrwxrwxrwx kök kök 2014-12-02 13:46 ayrılmış -> /dev/block/mmcblk0p1
lrwxrwxrwx kök kök 2014-12-02 13:46 yedek -> /dev/block/mmcblk0p4
lrwxrwxrwx kök kök 2014-12-02 13:46 sistem -> /dev/block/mmcblk0p9
root@ASUS_T00J:/ #

+ bilgi ekle partx -s:
Code:
root@ASUS_T00J:/ # /data/local/tmp/partx -s /dev/block/mmcblk0
/veri/yerel/tmp/partx -s /dev/block/mmcblk0
NR BAŞLANGIÇ END SEKTÖRLER BOYUT ADI UUID
 1 40 262183 262144 128M ayrılmış 80868086-8086-8086-8086-000000000000
 2 262184 278567 16384 8M panik 80868086-8086-8086-8086-000000000001
 3 278568 344103 65536 32M fabrika 80868086-8086-8086-8086-000000000002
 4 344104 360487 16384 8M yedek 80868086-8086-8086-8086-000000000003
 5 360488 426023 65536 32M yapılandırması 80868086-8086-8086-8086-000000000004
 6 426024 1474599 1048576 512M önbellek 80868086-8086-8086-8086-000000000005
 7 1474600 1867815 393216 192M APD 80868086-8086-8086-8086-000000000006
 8 1867816 1933351 65536 32M ADF 80868086-8086-8086-8086-000000000007
 9 1933352 4595751 2662400 1.3G sistemi 80868086-8086-8086-8086-000000000008
10 4595752 15220735 10624984 5.1G verisi 80868086-8086-8086-8086-000000000009
root@ASUS_T00J:/ #
[/KOD][/GİZLE]
Tnk
 

mirhl

Senior Member
Oct 15, 2012
3,129
1,171
Xperia X Performance (502SO)
TWRP in fdisk -f /dev/block/mmcblk0
Code:
Found valid GPT with protective MBR; using GPT

Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 61071326

Number  Start (sector)    End (sector)  Size       Code  Name
   1             256            4351       2048K   0700  TA
   2            8192           40959       16.0M   0700  LTALabel
   3           40960           45055       2048K   0700  xbl
   4           45056           49151       2048K   0700  xblbak
   5           49152           53247       2048K   0700  tz
   6           53248           57343       2048K   0700  tzbak
   7           57344           58343        500K   0700  rpm
   8           58344           59343        500K   0700  rpmbak
   9           59344           60367        512K   0700  hyp
  10           60368           61391        512K   0700  hypbak
  11           61392           62415        512K   0700  pmic
  12           62416           63439        512K   0700  pmicbak
  13           65536           69631       2048K   0700  fsg
  14           69632           71679       1024K   0700  aboot
  15           71680           73727       1024K   0700  abootbak
  16           73728          204799       64.0M   0700  boot
  17          204800          205823        512K   0700  keymaster
  18          205824          206847        512K   0700  keymasterbak
  19          206848          207359        256K   0700  cmnlib
  20          207360          207871        256K   0700  cmnlibbak
  21          207872          208383        256K   0700  cmnlib64
  22          208384          208895        256K   0700  cmnlib64bak
  23          208896          403455       95.0M   0700  modem
  24          403456          436223       16.0M   0700  dsp
  25          436224          436225        1024   0700  devinfo
  26          436232          436743        256K   0700  apdp
  27          436744          437255        256K   0700  msadp
  28          437256          437257        1024   0700  dpo
  29          437264          504111       32.6M   0700  splash
  30          504112          506159       1024K   0700  ddr
  31          506160          506415        128K   0700  sec
  32          506416          506431        8192   0700  ssd
  33          507904          511999       2048K   0700  modemst1
  34          516096          520191       2048K   0700  modemst2
  35          524288         1048575        256M   0700  cache
  36         1048576         1114111       32.0M   0700  persist
  37         1114112         1115135        512K   0700  keystore
  38         1115136         1115391        128K   0700  devcfg
  39         1115392         1115647        128K   0700  devcfgbak
  40         1115648         1116671        512K   0700  frp
  41         1116672         1120767       2048K   0700  sti
  42         1120768         1939967        400M   0700  oem
  43         1939968         2021887       40.0M   0700  s1sbl
  44         2021888         2103807       40.0M   0700  s1sblbak
  45         2103808         2234879       64.0M   0700  FOTAKernel
  46         2234880         2300415       32.0M   0700  rdimage
  47         2301952         2322431       10.0M   0700  apps_log
  48         2326528         2359295       16.0M   0700  diag
  49         2359296         2461695       50.0M   0700  carrier
  50         2465792         2506751       20.0M   0700  Qnovo
  51         2506752         2506951        100K   0700  tzs1attest
  52         2506952         2507151        100K   0700  tzs1attestbak
  53         2507152         2508175        512K   0700  tzs1sbl
  54         2508176         2509199        512K   0700  tzs1sblbak
  55         2514944        45744127       20.6G   0700  userdata
  56        45744128        61063167       7480M   0700  system
Xperia XZ1 Compact
EDIT: Here's a list of the partitions on the phone:
Code:
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 FOTAKernel -> /dev/block/sda47
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 LTALabel -> /dev/block/sda2
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 Qnovo -> /dev/block/sda60
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 TA -> /dev/block/sda1
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 abl -> /dev/block/sda11
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 ablbak -> /dev/block/sda12
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 apdp -> /dev/block/sda40
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 appslog -> /dev/block/sda58
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 bluetooth -> /dev/block/sda39
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 boot -> /dev/block/sda38
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 cache -> /dev/block/sda53
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 cmnlib -> /dev/block/sda16
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 cmnlib64 -> /dev/block/sda18
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 cmnlib64bak -> /dev/block/sda19
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 cmnlibbak -> /dev/block/sda17
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 ddr -> /dev/block/sda48
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 devcfg -> /dev/block/sda21
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 devcfgbak -> /dev/block/sda22
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 devinfo -> /dev/block/sda13
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 diag -> /dev/block/sda59
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 dpo -> /dev/block/sda42
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 dsp -> /dev/block/sda37
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 frp -> /dev/block/sda56
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 fsc -> /dev/block/sda51
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 fsg -> /dev/block/sda34
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 fsmetadata -> /dev/block/sda61
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 hyp -> /dev/block/sda7
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 hypbak -> /dev/block/sda8
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 keymaster -> /dev/block/sda14
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 keymasterbak -> /dev/block/sda15
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 keystore -> /dev/block/sda55
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 limits -> /dev/block/sda44
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 logfs -> /dev/block/sda46
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 misc -> /dev/block/sda54
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 modem -> /dev/block/sda36
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 modemst1 -> /dev/block/sda49
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 modemst2 -> /dev/block/sda50
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 msadp -> /dev/block/sda41
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 oem -> /dev/block/sda63
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 persist -> /dev/block/sda33
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 pmic -> /dev/block/sda9
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 pmicbak -> /dev/block/sda10
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 rdimage -> /dev/block/sda62
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 rpm -> /dev/block/sda3
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 rpmbak -> /dev/block/sda4
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 sec -> /dev/block/sda35
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 splash -> /dev/block/sda43
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 ssd -> /dev/block/sda52
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 sti -> /dev/block/sda20
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 storsec -> /dev/block/sda23
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 storsecbak -> /dev/block/sda24
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 system -> /dev/block/sda65
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 toolsfv -> /dev/block/sda45
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 tz -> /dev/block/sda5
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 tzbak -> /dev/block/sda6
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 tzxfl -> /dev/block/sda29
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 tzxflattest -> /dev/block/sda27
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 tzxflattestbak -> /dev/block/sda28
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 tzxflbak -> /dev/block/sda30
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 userdata -> /dev/block/sda66
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 vbmeta -> /dev/block/sda57
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 vendor -> /dev/block/sda64
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 xbl -> /dev/block/sdb1
0 lrwxrwxrwx 1 root root   15 1970-01-31 19:27 xblbak -> /dev/block/sdc1
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 xfl -> /dev/block/sda25
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 xflbak -> /dev/block/sda26
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 xflkeystore -> /dev/block/sda31
0 lrwxrwxrwx 1 root root   16 1970-01-31 19:27 xflkeystorebak -> /dev/block/sda32
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    El Grande Partition Table Reference

    This is a development thread whose main purpose is to catalog and document
    the various partition tables used by our manufacturers in our loved Androids.

    Thread Difficulty: Medium (some risk of bricking)
    When people get a bad flash and soft-brick their devices, one of the first
    things that need to be done, is finding out on what partition that flash went
    bad. This information can be extremely valuable since it could very well make
    the difference between loosing or keeping all your data.

    In addition, it will help clarify much of the partitioning confusion that has
    arisen because of the many different partitioning schemes used in different
    devices and by different hardware manufacturers.

    Thus you can help by providing your complete partition tables in this thread
    in one post. In order for this information to be useful, you will have to
    provide and specify the following:

    Code:
    General Device Name:            Samsung Galaxy S2
    Manufacturer Product Name:      GT-I9100
    Processor:                      Exynos 4210
    AOS version:                    Android GB 2.3.4
    Radio FW version:               XXKI1
    System FW version:              XXKE4
    
    Service Provider/ Branding:     T-mobile
    Country:                        Germany
    
    << output of parted >>
    
    << output of fdisk >>
    
    << output of gdisk >>
    
    << Any additional info you'd like to share. See text.>>
    Additional information that could be useful, include:
    Code:
    a) The alternative commands shown in post#2 below.
    b) Other hardware info that can often be found in the PDA database.
    c) A link to a text paste site with the output from:
       1. dmesg (directly after reboot)
       2.
    How To Post Here

    To make your post compact and stylish, post using the "Go Advanced"
    and put your command output in "CODE" tags and choose: "Sizes" ==> 2.
    If you know how to, also replace all tabs (\t) with spaces. If your output
    is excessively large, please use paste site (pastebin, pastie etc.) instead
    of multiple posts.

    Also, please search the thread for previous devices before posting
    your own results, unless they differ significantly.

    ==================================================
    This is a development thread. Do not ask for help with this or that,
    this is not a support thread! Make sure that any question you might
    have, is directly related to the benefit of this thread and on-topic.
    If not your post will be removed.
    ==================================================

    The goal here is to obtain as detailed information about your device
    partitions as possible. The most important information are (with example):

    Code:
    - Partition Number              2
    - Partition Name                mmcblk0p2
    - Partition Type                EXT4
    - Partition MBR ID              83
    - Partition GPT ID              8300    /       
    - Partition Label               SBL1
    - Partition Description         Secondary Bootloader 1
    - Start block (hex/dec)         0x1000
    - End block (hex/dec)           0x1fff
    - Partiton Size (hex/dec)       0x1000
    - Partition Content             Qualcomm SBL1 bootloader image (sbl1.img)
    As a good example of a fairly complete partition table is that of the
    Verizon Samsung Galaxy S3 (SCH-I535), as shown in post#3, although it is
    still missing some relevant data, it was completed using the commands
    shown in post#2.

    Thanks in advance for wanting to help to make this thread an awesome
    and great partition table reference.
    So far we have the following devices in our list:

    Code:
    [SIZE=2]Samsung Galaxy S3 (SCH-I535)                            [URL="http://xdaforums.com/showpost.php?p=33358998&postcount=3"]Post#3[/URL]
    Samsung Galaxy Note (SHV-E160L)                         [URL="http://xdaforums.com/showpost.php?p=33568941&postcount=7"]Post#7[/URL]
    HTC One X LTE   [US AT&T, Verizon, etc]                 [URL="http://xdaforums.com/showpost.php?p=34063606&postcount=8"]Post#8[/URL]
    Samsung LED TV ES-5700 (UE40ES5700SXXH)                 [URL="http://xdaforums.com/showpost.php?p=34065570&postcount=9"]Post#9[/URL]         
    Samsung Galaxy Camera (EK-GC100)                        [URL="http://xdaforums.com/showpost.php?p=34841863&postcount=10"]Post#10[/URL]
    Samsung GT-I8150                                        [URL="http://xdaforums.com/showpost.php?p=35130021&postcount=11"]Post#11[/URL]
    Samsung SHV-E160L                                       [URL="http://xdaforums.com/showpost.php?p=36019312&postcount=13"]Post#13[/URL]
    LG Optimus G (LS970)    [Sprint]                        [URL="http://xdaforums.com/showpost.php?p=38362505&postcount=16"]Post#16[/URL]
    LG Motion (MS770/LW770)                                 [URL="http://xdaforums.com/showpost.php?p=40890468&postcount=20"]Post#20[/URL]
    Samsung Galaxy S Plus                                   [URL="http://xdaforums.com/showpost.php?p=41499110&postcount=21"]Post#21[/URL]
    Samsung GT-I8160                                        [URL="http://xdaforums.com/showpost.php?p=42096782&postcount=22"]Post#22[/URL]
    Samsung GT-N7000 (16GB)                                 [URL="http://xdaforums.com/showpost.php?p=42744917&postcount=24"]Post#24[/URL]
    LG G2 (D-800)   [AT&T, Verizon]                         [URL="http://xdaforums.com/showpost.php?p=45574215&postcount=25"]Post#25[/URL]
    
    [/SIZE]

    Here is another thread I strongly recommend reading, before posting here.
    It has an excellent explanation of the linux file permissions and how to make
    backups of the most important partitions.
    [GUIDE] Making Dump Files Out of Android Device Partitions


    << To Be Continued.. >>
    34
    How to obtain your partition table?

    Although the way to obtain your complete partition table layout varies from
    device to device, there are some standard tools and methods to do this. The
    most important thing to know, especially if you're used to the old-school
    Windows/Linux Master Boot Record (MBR) type file systems, is that most modern
    Android smartphones now make heavy use of the GUID Partition Table (GPT)
    structure (formatting). Thus you will need some slightly different tools, to
    obtain the proper information from your device. Different tools give different
    information, as we shall see.

    NOTE: You have to be rooted to use these tools!
    Example-1: (Partition Tables for the Samsung Galaxy S2 GT-I9100)

    Here we get our partition table using three different tools:

    1. fdisk
    2. parted
    3. gdisk (aka gptfdisk)
    And the results will differ quite dramatically.

    1. Using fdisk:
    Code:
    [SIZE=2]/ # fdisk -l /dev/block/mmcblk0[/SIZE]
    
    [SIZE=2] Disk /dev/block/mmcblk0: 15.7 GB, 15756951552 bytes[/SIZE]
    [SIZE=2] 1 heads, 16 sectors/track, 1923456 cylinders[/SIZE]
    [SIZE=2] Units = cylinders of 16 * 512 = 8192 bytes[/SIZE]
    
    [SIZE=2]               Device Boot      Start         End      Blocks  Id System[/SIZE]
    [SIZE=2] /dev/block/mmcblk0p1               1     1923456    15387647+ ee EFI GPT[/SIZE]
    [SIZE=2] Partition 1 does not end on cylinder boundary[/SIZE]
    2. Using parted:
    Code:
    [SIZE=2]/ # parted /dev/block/mmcblk0[/SIZE]
    [SIZE=2] GNU Parted 1.8.8.1.179-aef3[/SIZE]
    [SIZE=2] Using /dev/block/mmcblk0[/SIZE]
    [SIZE=2] Welcome to GNU Parted! Type 'help' to view a list of commands.[/SIZE]
    [SIZE=2] (parted) p[/SIZE]
    [SIZE=2] p[/SIZE]
    [SIZE=2] Model: MMC VYL00M (sd/mmc)[/SIZE]
    [SIZE=2] Disk /dev/block/mmcblk0: 15.8GB[/SIZE]
    [SIZE=2] Sector size (logical/physical): 512B/512B[/SIZE]
    [SIZE=2] Partition Table: gpt[/SIZE]
    
    [SIZE=2] Number  Start   End     Size    File system  Name       Flags[/SIZE]
    [SIZE=2]  1      4194kB  25.2MB  21.0MB  ext4         EFS[/SIZE]
    [SIZE=2]  2      25.2MB  26.5MB  1311kB               SBL1[/SIZE]
    [SIZE=2]  3      27.3MB  28.6MB  1311kB               SBL2[/SIZE]
    [SIZE=2]  4      29.4MB  37.7MB  8389kB               PARAM[/SIZE]
    [SIZE=2]  5      37.7MB  46.1MB  8389kB               KERNEL[/SIZE]
    [SIZE=2]  6      46.1MB  54.5MB  8389kB               RECOVERY[/SIZE]
    [SIZE=2]  7      54.5MB  159MB   105MB   ext4         CACHE[/SIZE]
    [SIZE=2]  8      159MB   176MB   16.8MB               MODEM[/SIZE]
    [SIZE=2]  9      176MB   713MB   537MB   ext4         FACTORYFS[/SIZE]
    [SIZE=2] 10      713MB   2861MB  2147MB  ext4         DATAFS[/SIZE]
    [SIZE=2] 11      2861MB  15.2GB  12.4GB  fat32        UMS[/SIZE]
    [SIZE=2] 12      15.2GB  15.8GB  537MB   ext4         HIDDEN[/SIZE]
    3. Using gdisk:
    Code:
    [SIZE=2]/ # gdisk -l /dev/block/mmcblk0[/SIZE]
    [SIZE=2] GPT fdisk (gdisk) version 0.8.4[/SIZE]
    
    [SIZE=2] Partition table scan:[/SIZE]
    [SIZE=2]   MBR: protective[/SIZE]
    [SIZE=2]   BSD: not present[/SIZE]
    [SIZE=2]   APM: not present[/SIZE]
    [SIZE=2]   GPT: present[/SIZE]
    
    [SIZE=2] Found valid GPT with protective MBR; using GPT.[/SIZE]
    [SIZE=2] Disk /dev/block/mmcblk0: 30775296 sectors, 14.7 GiB[/SIZE]
    [SIZE=2] Logical sector size: 512 bytes[/SIZE]
    [SIZE=2] Disk identifier (GUID): 52444E41-494F-2044-4D4D-43204449534B[/SIZE]
    [SIZE=2] Partition table holds up to 128 entries[/SIZE]
    [SIZE=2] First usable sector is 34, last usable sector is 30775262[/SIZE]
    [SIZE=2] Partitions will be aligned on 2048-sector boundaries[/SIZE]
    [SIZE=2] Total free space is 17341 sectors (8.5 MiB)[/SIZE]
    
    [SIZE=2] Number  Start (sector)    End (sector)  Size       Code  Name[/SIZE]
    [SIZE=2]    1            8192           49151   20.0 MiB    0700  EFS[/SIZE]
    [SIZE=2]    2           49152           51711   1.2 MiB     0700  SBL1[/SIZE]
    [SIZE=2]    3           53248           55807   1.2 MiB     0700  SBL2[/SIZE]
    [SIZE=2]    4           57344           73727   8.0 MiB     0700  PARAM[/SIZE]
    [SIZE=2]    5           73728           90111   8.0 MiB     0700  KERNEL[/SIZE]
    [SIZE=2]    6           90112          106495   8.0 MiB     0700  RECOVERY[/SIZE]
    [SIZE=2]    7          106496          311295   100.0 MiB   0700  CACHE[/SIZE]
    [SIZE=2]    8          311296          344063   16.0 MiB    0700  MODEM[/SIZE]
    [SIZE=2]    9          344064         1392639   512.0 MiB   0700  FACTORYFS[/SIZE]
    [SIZE=2]   10         1392640         5586943   2.0 GiB     0700  DATAFS[/SIZE]
    [SIZE=2]   11         5586944        29720575   11.5 GiB    0700  UMS[/SIZE]
    [SIZE=2]   12        29720576        30769151   512.0 MiB   0700  HIDDEN[/SIZE]
    Example-2: (Using built-in system tools.)
    Code:
    [SIZE=2]/ # mount
    rootfs / rootfs ro,relatime 0 0
    tmpfs /dev tmpfs rw,relatime,mode=111 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
    none /acct cgroup rw,relatime,cpuacct 0 0
    tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
    tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
    tmpfs /mnt/usb tmpfs rw,relatime,mode=755,gid=1000 0 0
    tmpfs /app-cache tmpfs rw,relatime,size=7168k 0 0
    none /dev/cpuctl cgroup rw,relatime,cpu 0 0
    /dev/block/mmcblk0p9 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
    /dev/block/mmcblk0p7 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
    /dev/block/mmcblk0p1 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
    nil /sys/kernel/debug debugfs rw,relatime 0 0
    /dev/block/mmcblk0p10 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
    /dev/block/mmcblk0p4 /mnt/.lfs j4fs rw,relatime 0 0
    /dev/block/vold/179:11 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
    
    / # busybox cat /proc/partitions
    major minor  #blocks  name
    
     179        0   15387648 mmcblk0
     179        1      20480 mmcblk0p1
     179        2       1280 mmcblk0p2
     179        3       1280 mmcblk0p3
     179        4       8192 mmcblk0p4
     179        5       8192 mmcblk0p5
     179        6       8192 mmcblk0p6
     179        7     102400 mmcblk0p7
     179        8      16384 mmcblk0p8
     179        9     524288 mmcblk0p9
     179       10    2097152 mmcblk0p10
     179       11   12066816 mmcblk0p11
     179       12     524288 mmcblk0p12
    [/SIZE]

    Download These Partition Tools


    I have collected the above three tools into one ZIP package
    that you can download HERE. << WIP TBA >>

    Download the ZIP containing parted HERE.
    (Do not use/push/install anything else than "parted", as they may
    already be present on your system, or in Busybox.)

    The gptfdisk binary is rather large (~1.5 MB) as it is statically compiled.
    It would be nice if someone could create an NDK based dynamic binary.
    Download the binary HERE. (SourceForge, Info)

    darkspr1te have collected even more (statically compiled) tools in his
    post #13, that can be downloaded HERE.


    ! WARNING !
    Be careful with parted, make sure you tell it to "Ignore" any errors it might
    find. Also you have to type "quit" to get it to exit from interactive mode.
    Similarly, you'll probably also get various scary warnings when using gdisk.
    Same thing here. Make sure to ignore, never attempt to repair, unless you know
    exactly what you're doing!

    You may get other warnings as well, but should always be ignored. This is due
    to the fact that many devices are using some kind of hybrid proprietary
    MBR/GPT partitioning with accompanying tables. This is especially true for
    Qualcomm based devices from Samsung and HTC.

    Collecting Alternative Information

    There are several system commands and files that you can use, that contain
    partitioning information. The most common ones are:


    Code:
    mount
    cat /proc/mtd
    cat /proc/mounts
    cat /proc/partitions 
    cat /proc/emmc 
    
    busybox fdisk -l /dev/block/mmcblk0
    parted -l /dev/block/mmcblk0
    gdisk -l /dev/block/mmcblk0
    [You will probably need to modify these to suit your particular storage device.]

    Another useful place for info is in the Kernel and debug messages output.
    However, these commands need to be performed as soon as possible after a
    reboot, since the message log is a ring-buffer of only 4K. (Meaning it will soon
    overwrite itself.)
    Code:
    dmesg |grep "mmc"
    dmesg |grep "partition"
    cat /proc/kmesg >/path-to-your-writeable-area/kmesg.log


    Collecting Partition Tables while Flashing
    (Root not required)

    You can also collect very detailed partition table layout while flashing new firmware (using Windows).
    Thanks to attentive users: @IGGYVIP and @Antagonist42 we show in Post#51 and beyond, how you
    can use SysInternals DebugView tool, to collect interesting debug information while flashing.
    19
    Partition Table: Samsung Galaxy S3 (SCH-I535)

    So to be a good example, let me start to post the complete partition table
    for the US Verizon, Samsung Galaxy S3 (SCH-I535). It was probably obtained
    from a screenshot of one of Samsung's internal documents, not available for
    public scrutiny. I then had to add additional information from other peoples
    devices to complete the details. Still, it is likely there will be some
    variations due to hardware and updated firmware etc. But it does serve as a
    great and informative example of a top-of-the-line Android partition table.

    So to follow my own instructions:
    Code:
    [SIZE=2]General Device Name:            Samsung Galaxy S3  
    [SIZE=2]Manufacturer[/SIZE] Product Name:      SCH-I535
    Processor:                      Qualcomm Snapdragon 4S+ (MSM8960)
    AOS version:                    Android GB 4.0.4
    Radio FW version:               <na>
    System FW version:              <na>
    Service Provider/ Branding:     Verizon
    Country:                        USA
    [/SIZE]
    One guy listed the output of parted as:
    Code:
    [SIZE=2]Disk /dev/block/mmcblk0: 31268536320B
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    -------------------------------------------------------------------------------
    Number  Start         End           Size          FS-Type       Name      Flags 
    -------------------------------------------------------------------------------
     1      4194304B      67108863B     62914560B                  modem
     2      67108864B     67239935B     131072B                    sbl1
     3      67239936B     67502079B     262144B                    sbl2
     4      67502080B     68026367B     524288B                    sbl3
     5      68026368B     70123519B     2097152B                   aboot
     6      70123520B     70647807B     524288B                    rpm
     7      70647808B     81133567B     10485760B                  boot
     8      81133568B     81657855B     524288B                    tz
     9      81657856B     82182143B     524288B                    pad
    10      82182144B     92667903B     10485760B                  param
    11      92667904B     106954751B    14286848B     ext4         efs
    12      106954752B    110100479B    3145728B                   modemst1
    13      110100480B    113246207B    3145728B                   modemst2
    14      113246208B    1686110207B   1572864000B   ext4         system
    15      1686110208B   30337400831B  28651290624B  ext4         userdata
    16      30337400832B  30345789439B  8388608B      ext4         persist
    17      30345789440B  31226593279B  880803840B    ext4         cache
    18      31226593280B  31237079039B  10485760B                  recovery
    19      31237079040B  31247564799B  10485760B                  fota
    20      31247564800B  31253856255B  6291456B                   backup
    21      31253856256B  31257001983B  3145728B                   fsg
    22      31257001984B  31257010175B  8192B                      ssd
    23      31257010176B  31262253055B  5242880B                   grow
    [/SIZE]
    But according to the anonymous Samsung document image, we have:
    attachment.php

    [Converted to text using the free online OCR tool.]

    From this I constructed the following partition table:
    Code:
    [SIZE=2]Part#   Name            Type    Flag    Start(hex)      Start(dec)      Length(dec)     Length(hex)     Size    Description
    -------------------------------------------------------------------------------------------------------------------------------------------
     0      GPT                             00000000                 0              34      0000022         0       GUID Partition Table
     1      MODEM           FAT32X   pr     00002000             8,192         122,880      001E000         60      CP Binary
     2      SBL1                    *pr     00020000           131,072             256      0000100         .1      Secondary Bootloader 1
     3      SBL2                     pr     00020100           131,328             512      0000200         .3      Secondary Bootloader 2
     4      SBL3                     pr     00020300           131,840            1024      0000400         .5      Secondary Bootloader 3
     5      ABOOT                    r      00020700           132,864            4096      0001000         2       AP Bootloader
     6      RPM                      r      00021700           136,960            1024      0000400         .5      Resource and Power Manager
     7      BOOT                     r      00021800           137,984          20,480      0005000         10      Kernel + Ramisk
     8      TZ                       r      00026800           158,464            1024      0000400         .5      Trust Zone
     9      PIT                             00026F00           159,488            1024      0000400         .5      Partition Information Table
    10      PARAM                           00027300           160,512          20,480      0005000         10      Parameter Block
    11      EFS             EXT4            0002C300           180,992          27,904      0006D00         13.6    EFS Partition
    12      MODEMST1                        00033000           208,896           6,144      0001800         3       Modem Storage 1 (NV data)
    13      MODEMST2                        00034800           215,040           6,144      0001800         3       Modem Storage 2 (NV data)
    14      SYSTEM          EXT4            00036000           221,184       3,072,000      02EE000         1500    Android Platform
    15      USERDATA        EXT4            00324000         3,293,184      55,959,552      355E000         27324   Application & User Data
    16      PERSIST         EXT4            03882000        59,252,736          16,384      0004000         8       Persist
    17      CACHE           EXT4            03886000        59,269,120       1,720,320      01A4000         840     Cache
    18      RECOVERY                 r      03A2A000        60,989,440          20,480      0005000         10      Recovery
    19      FOTA                            03A2F000        61,009,920          20,480      0005000         10      FOTA backup partition
    20      BACKUP                          03A34000        61,030,400          12,288      0003000         6       NV data backup partition
    21      FSG                             03A37000        61,042,688           6,144      0001800         3       Modem Storage "Golden Copy"
    22      SSD                             03A38800        61,048,832              16      0000010         0       Secure Software Download
    23      GROW                            03A38810        61,048,848               5      0000005         0       Grow
    -------------------------------------------------------------------------------------------------------------------------------------------
    Part  :  Is the eMMC partition number and mounted under "mmcblk0<#>"
    Type  :  Partition Type (By Name or by ID (hex) if unknown. See list below.)
    Flag  :  Special partition flags, such as: boot (*), read only (r), primary partition (p).
    Length:  Number of blocks (sectors) in partition
    Size  :  Approximate partition size in MB
    
    [B]NOTE[/B]: The block size is 512 bytes.
    [/SIZE]
    17
    What does it all mean?

    Here I give a general description to the various partitions. Most of them have
    been determined, but some still remain somewhat mysterious. But there are
    Terabytes written about various partition schemes and file systems etc, but
    some good sources for our purpose are found on Wikipedia and Microsoft.

    But the most important thing to understand, is that most of the technical
    ingredients (as show in the previous post) is hardware dependent. Thus the
    Android partition schemes depend on the processor / modem combination and
    their firmware, and thus also the kernel, to some extent.

    Some key info can be found here:

    http://en.wikipedia.org/wiki/GUID_Partition_Table
    http://en.wikipedia.org/wiki/Master_boot_record
    http://en.wikipedia.org/wiki/Extended_Boot_Record
    http://en.wikipedia.org/wiki/Host_Protected_Area

    Trouble shooting Disks and Filesystems (Microsoft)
    Using GPT Drives (Microsoft)

    General Android Partition Description (Qualcomm MSM8960)

    The function and content of many of the partitions are not very well
    described, nor easily found in one place. Here are some further details,
    that apply primarily to Qualcomm Snapdragon S4/+ based Android devices.
    However, Windows Phones using these these SoC's should have a very similar
    partition structures, but with different names.

    For details about: RPM (PBL), SBL1, SBL2, SBL3, TZ and ABOOT (APPSBL), please
    see this and this thread, where they are extensively discussed and described.

    GPT: See section on PIT and GPT "partitions" below.

    BACKUP: This partition should contain a copy of MODEMST2. Whether it does or
    not, is described in the PARAM partition.

    BOOT: This is the partition that enables the phone to boot, as the name
    suggests. It includes the kernel and the ramdisk. Without this partition, the
    device will simply not be able to boot. Wiping this partition from recovery
    should only be done if absolutely required and once done, the device must NOT
    be rebooted before installing a new one, which can be done by installing a ROM
    that includes a /boot partition.

    CACHE: Contain the firmware update package which is downloaded from server,
    and the recovery log file. Other uses include storage for frequently accessed
    data and application components. Wiping the cache doesn’t effect your personal
    data but simply gets rid of the existing data there, which gets automatically
    rebuilt as you continue using the device.

    DATA / USERDATA: This partition contains the user's data – this is where your
    contacts, messages, settings and apps that you have installed go. Wiping this
    partition essentially performs a factory reset on your device, restoring it to
    the way it was when you first booted it, or the way it was after the last
    official or custom ROM installation. When you perform a wipe data/factory
    reset from recovery, it is this partition that you are wiping.

    EFS: The Android EFS partition stores all your phones important, but
    accessible, hardware data, such as WiFi/BlueTooth MAC's, IMEI (or ESN for a
    CDMA based device) and some others.

    FOTA: Is the Firmware Over The Air partition. After the update package has
    been downloaded from the server it is saved into the CACHE partition. After
    that the userspace application that does the download writes a special cookie
    into the FOTA partition. This cookie tells the bootloaders to take the
    necessary steps to boot into recovery mode

    FSG: Probably stands for File System (FS) "Golden". According to Samsung
    documentation, this partition is a "Golden Copy". This is partially confirmed
    by RE of the PARAM partition, which indicate that this partition should contain
    a copy of MODEMST1. As such it is a backup of the current EFS2 filesystem.
    The creation of a FSG is not supported on flash devices and the internal (QMI)
    DIAG request "EFS2_DIAG_MAKE_GOLDEN_COPY", can only be used to
    create a backup one time over the life of the device. [80-V1294-11]

    GROW: << unknown >>

    MISC: This partition contains miscellaneous system settings in form of on/off
    switches. These settings may include CID (Carrier or Region ID), USB
    configuration and certain hardware settings etc. This is an important
    partition and if it is corrupt or missing, several of the device’s features
    will will not function normally. Not all devices have this partition.

    PARAM: This is the Parameter partition which contains a number of parameters,
    variables and settings of the hardware. Apparently it has an 88 byte header
    structure that tell us if the MODEMST1 and MODEMST2 have been backed up to the
    FSG and BACKUP partitions, respectively. Furthermore it contain all the debug
    settings (DLOW/DMID/DHIG etc), the "triangle" status of whether or not you have
    flashed custom ROMs and the flash count (0x3FFE00). Current boot mode in use,
    and much more. The info about this partition could easily occupy a book by
    itself.

    PERSIST: << unknown >> The use of this partition is unknown and apparently
    only exists on Qualcomm based devices.

    PIT: See below.

    RECOVERY: Holds the recovery boot image. When updating the system we boot
    into recovery mode by using the boot image stored in this partition. It lets
    you boot the device into a recovery console for performing advanced recovery
    and maintenance operations on it.

    SSD: "Secure Software Download" is a memory based file system (RAMFS) for
    secure storage, used to download and store "who knows what" on the eMMC. It is
    a referenced part in the Remote Storage RPC Client of the MSM kernel.

    SYSTEM: This partition basically contains the entire operating system, other
    than the kernel and the ramdisk. This includes the Android user interface as
    well as all the system applications that come pre-installed on the device.
    Wiping this partition will remove Android from the device without rendering it
    unbootable, and you will still be able to put the phone into recovery or
    bootloader mode to install a new ROM.
    Older Types of Qualcomm Partitions

    Code:
    DBL          Device Boot Loader (loads OSBL)
    OSBL         Operating System Boot Loader (loads AMSS)
    AMSS         Advanced Mobile Subscriber Software (Qualcomm CP FW)
    EMMCBOOT     Embedded MMC (eMMC) boot (loads EMMCBOOT)
    ADSP         AP (Application Processor) DSP (Qualcomm DSP FW)


    Qualcomm Partition Type Cross Reference


    When inspecting the partitioning of the eMMC's used by Qualcomm Snapdragon based
    hardware, we see that they tend to use different partition types, for their
    different partitions depending on their function. For example, for the MSM8960
    SoC/PoP, we often find the following partition ID's, when inspected by
    mounting the device with on linux PC. This seem to remain fairly consistent across
    all their Snapdragon class/based devices.

    Code:
    [SIZE=2]ID      Type    Label           oldLabels               Filename(s)     Description
    -----------------------------------------------------------------------
    05      EXT     --              --              --                      Extended partition
    0C      FAT32X  MODEM           FAT             non-hlos.bin            
    45              SBL3                            sbl3.mbn                
    46              TZ              OEMSBL          tz.mbn, osbl.mbn                
    47              RPM                             rpm.mbn                 
    48              BOOT                            boot.img                
    4A              MODEM_ST1                       --                      
    4B              MODEM_ST2                       --                      
    4C              ABOOT                           emmc_appsboot.mbn       
    4D      Boot    SBL1            CFG_DATA        sbl1.mbn, dbl.mbn               
    51              SBL2                            sbl2.mbn                
    58              FSG                             --                      
    5D      ??HTC
    60              RECOVERY                        recovery.img            
    64              ?BOOT1                          --                      
    65              "misc"                          misc.img                
    83      EXT4    [1]             //              //                      Native Linux
    -----------------------------------------------------------------------
    [1] This is a standard linux partition of any EXT2/3/4 type, thus there
        are many different labels used here.
    [/SIZE]
    Some additional partition IDs found from their CodeAurora sources in
    [kernel/msm][arch/arm/mach-msm/rmt_storage_client.c]:
    Code:
    4A      /boot/modem_fs1         RAMFS_MODEMSTORAGE_ID
    4B      /boot/modem_fs2         "
    58      /boot/modem_fsg         "
    59      q6_fs1                  RAMFS_MDM_STORAGE_ID
    5A      q6_fs2                  "       
    5B      q6_fsg                  "
    5D      ssd                     RAMFS_SSD_STORAGE_ID
    Thus we can conclude that most of the standard (but outdated) MBR definitions
    of partition type ID's are no longer valid, but used as an identifier for
    various sub-system software.

    From another document [80-VP120-1 Rev.K] the Secure Boot 3.0 based devices use MBR partition types as shown below:

    attachment.php


    However, this document is from 2010 and may not be up-to-date with what you have.
    Check your kernel sources!

    Additional eMMC types:
    Code:
    0x0b - FAT32
    0x0c - FAT32L
    0x0e - FAT16
    14
    Partition Table: Asus Zenfone 5 Intel Atom Z2560 2 Cores 1.600mhz (A501CG, T00j)

    General Device Name: Asus Zenfone 5
    Manufacturer Product Name: A501CG, T00j (clovertrail)
    Processor: Intel Atom Z2560 2 Cores 1.600mhz
    AOS version: Android GB 4.3 (KK 4.4 can be installed)
    SW version: system - ASUS_T00F_WW_user_9.17.40.16_20190811_0963 release-keys ( WW= "World Wide" version)
    ( + recovery: ASUS_T00F_CUCC_user_1.15.40.19_20140626_4312 release-keys --- CUCC="ChinaUnicom" version )
    system: default.prop + build.prop: - look at attached "adb_dmesg_dumpsys_etc_.zip"
    df:
    Code:
    command: df
    Filesystem               Size     Used     Free   Blksize
    /dev                   482.3M    68.0K   482.3M   4096
    /mnt/secure            482.3M     0.0K   482.3M   4096
    /mnt/asec              482.3M     4.0K   482.3M   4096
    /mnt/obb               482.3M     0.0K   482.3M   4096
    /Removable             482.3M     0.0K   482.3M   4096
    /factory                31.5M     5.6M    25.9M   4096
    /system                  1.2G     1.1G    26.1M   4096
    /cache                 503.9M     8.4M   495.6M   4096
    /config                 31.5M    17.3M    14.2M   4096
    /data                    5.0G   336.2M     4.7G   4096
    /data/data/ASUSBrowser/cache    20.0M     5.9M    14.1M   4096
    /ADF                    31.5M     4.0M    27.4M   4096
    /mnt/shell/emulated      5.0G   336.2M     4.7G   4096
    /storage/emulated      482.3M     0.0K   482.3M   4096
    /storage/emulated/0      5.0G   336.2M     4.7G   4096
    /storage/emulated/0/Android/obb     5.0G   336.2M     4.7G   4096
    /storage/emulated/legacy     5.0G   336.2M     4.7G   4096
    /storage/emulated/legacy/Android/obb     5.0G   336.2M     4.7G   4096
    mount
    Code:
    command: mount
    rootfs / rootfs ro,relatime 0 0
    tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
    devpts /dev/pts devpts rw,relatime,mode=600 0 0
    none /dev/cpuctl cgroup rw,relatime,cpu 0 0
    proc /proc proc rw,relatime 0 0
    none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
    sysfs /sys sysfs rw,relatime 0 0
    none /sys/kernel/debug debugfs rw,relatime 0 0
    none /acct cgroup rw,relatime,cpuacct 0 0
    tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
    tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
    tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
    tmpfs /Removable tmpfs rw,relatime,mode=755,gid=1000 0 0
    /dev/block/mmcblk0p3 /factory ext4 rw,nosuid,nodev,noatime,data=ordered 0 0
    /dev/block/mmcblk0p9 /system ext4 ro,relatime,data=ordered 0 0
    /dev/block/mmcblk0p6 /cache ext4 rw,nosuid,nodev,noatime,journal_checksum,journal_async_commit,data=ordered 0 0
    /dev/block/mmcblk0p5 /config ext4 rw,nosuid,nodev,noatime,data=ordered 0 0
    /dev/block/mmcblk0p10 /data ext4 rw,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
    tmpfs /data/data/ASUSBrowser/cache tmpfs rw,relatime,size=20480k,mode=777 0 0
    /dev/block/mmcblk0p8 /ADF ext4 rw,noatime,data=ordered 0 0
    /dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
    tmpfs /storage/emulated tmpfs rw,nosuid,nodev,relatime,mode=050,gid=1028 0 0
    /dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
    /dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
    /dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
    /dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
    dev/block:
    Code:
    command: ls -l /dev/block/
    brw------- root     root       7,   0 2014-10-08 23:05 loop0
    brw------- root     root       7,   1 2014-10-08 23:05 loop1
    brw------- root     root       7,   2 2014-10-08 23:05 loop2
    brw------- root     root       7,   3 2014-10-08 23:05 loop3
    brw------- root     root       7,   4 2014-10-08 23:05 loop4
    brw------- root     root       7,   5 2014-10-08 23:05 loop5
    brw------- root     root       7,   6 2014-10-08 23:05 loop6
    brw------- root     root       7,   7 2014-10-08 23:05 loop7
    brw------- root     root     179,   0 2014-10-08 23:05 mmcblk0
    brw------- root     root     179,  10 2014-10-08 23:05 mmcblk0boot0
    brw------- root     root     179,  20 2014-10-08 23:05 mmcblk0boot1
    brw------- root     root     179,  40 2014-10-08 23:05 mmcblk0gp0
    brw------- root     root     179,   1 2014-10-08 23:05 mmcblk0p1
    brw------- root     root     259,   0 2014-10-08 23:05 mmcblk0p10
    brw------- root     root     179,   2 2014-10-08 23:05 mmcblk0p2
    brw------- root     root     179,   3 2014-10-08 23:05 mmcblk0p3
    brw------- root     root     179,   4 2014-10-08 23:05 mmcblk0p4
    brw------- root     root     179,   5 2014-10-08 23:05 mmcblk0p5
    brw------- root     root     179,   6 2014-10-08 23:05 mmcblk0p6
    brw------- root     root     179,   7 2014-10-08 23:05 mmcblk0p7
    brw------- root     root     179,   8 2014-10-08 23:05 mmcblk0p8
    brw------- root     root     179,   9 2014-10-08 23:05 mmcblk0p9
    brw------- root     root     179,  30 2014-10-08 23:05 mmcblk0rpmb
    brw------- root     root       1,   0 2014-10-08 23:05 ram0
    brw------- root     root       1,   1 2014-10-08 23:05 ram1
    brw------- root     root       1,  10 2014-10-08 23:05 ram10
    brw------- root     root       1,  11 2014-10-08 23:05 ram11
    brw------- root     root       1,  12 2014-10-08 23:05 ram12
    brw------- root     root       1,  13 2014-10-08 23:05 ram13
    brw------- root     root       1,  14 2014-10-08 23:05 ram14
    brw------- root     root       1,  15 2014-10-08 23:05 ram15
    brw------- root     root       1,   2 2014-10-08 23:05 ram2
    brw------- root     root       1,   3 2014-10-08 23:05 ram3
    brw------- root     root       1,   4 2014-10-08 23:05 ram4
    brw------- root     root       1,   5 2014-10-08 23:05 ram5
    brw------- root     root       1,   6 2014-10-08 23:05 ram6
    brw------- root     root       1,   7 2014-10-08 23:05 ram7
    brw------- root     root       1,   8 2014-10-08 23:05 ram8
    brw------- root     root       1,   9 2014-10-08 23:05 ram9
    drwx------ root     root              2014-10-08 23:05 vold
    /proc/partitions
    Code:
    cat /proc/partitions
    major minor  #blocks  name
    
     179        0    7626752 mmcblk0
     179        1     131072 mmcblk0p1
     179        2       8192 mmcblk0p2
     179        3      32768 mmcblk0p3
     179        4       8192 mmcblk0p4
     179        5      32768 mmcblk0p5
     179        6     524288 mmcblk0p6
     179        7     196608 mmcblk0p7
     179        8      32768 mmcblk0p8
     179        9    1331200 mmcblk0p9
     259        0    5320684 mmcblk0p10
     179       40       8192 mmcblk0gp0
     179       30          8 mmcblk0rpmb
     179       20       4096 mmcblk0boot1
     179       10       4096 mmcblk0boot0
    recovery filesystem table (from /cache/recovery/last_log)
    Code:
    Starting recovery on Wed Oct  8 16:17:54 2014
    recovery filesystem table
    =========================
      0 /reserved hidden /dev/block/mmcblk0p1 0
      1 /panic raw /dev/block/mmcblk0p2 0
      2 /factory ext4 /dev/block/mmcblk0p3 0
      3 /spare ext4 /dev/block/mmcblk0p4 0
      4 /config ext4 /dev/block/mmcblk0p5 0
      5 /cache ext4 /dev/block/mmcblk0p6 0
      6 /APD ext4 /dev/block/mmcblk0p7 0
      7 /ADF ext4 /dev/block/mmcblk0p8 0
      8 /system ext4 /dev/block/mmcblk0p9 0
      9 /data ext4 /dev/block/mmcblk0p10 -16384
      10 /mnt/sdcard vfat /dev/block/mmcblk1p1 0
      11 /tmp ramdisk ramdisk 0
    full /cache/recovery/last_log - look at attached file

    USB\VID's:
    Code:
    after installing drivers from virtual-CD from phone:
    System:
    ASUS Android Composite ADB Interface:
    USB\VID_0B05&PID_5481&MI_01\7&2B95DAFA&0&0001
    
    Recovery
    Android-Phone: USB\VID_8087&PID_09EF
    
    POWER_OFF state ("Charging animations"):
    USB\VID_8087&PID_0A14&REV_0224
    USB\VID_8087&PID_0A14
    
    Bootloader (Fastboot):
    USB\VID_0B05&PID_4DAF&REV_0224
    USB\VID_0B05&PID_4DAF
    + after installing busybox ++
    fdisk
    Code:
    root@ASUS_T00J:/ # fdisk -l dev/block/mmcblk0
    fdisk -l dev/block/mmcblk0
    
    Disk dev/block/mmcblk0: 7809 MB, 7809794048 bytes
    256 heads, 63 sectors/track, 945 cylinders
    Units = cylinders of 16128 * 512 = 8257536 bytes
    
                 Device Boot      Start         End      Blocks  Id System
    dev/block/mmcblk0p1               1         946     7626751+ ee EFI GPT
    Partition 1 has different physical/logical endings:
         phys=(1023, 255, 63) logical=(945, 199, 7)
    root@ASUS_T00J:/ # fdisk -l dev/block/mmcblk0p1
    fdisk -l dev/block/mmcblk0p1
    
    Disk dev/block/mmcblk0p1: 134 MB, 134217728 bytes
    4 heads, 16 sectors/track, 4096 cylinders
    Units = cylinders of 64 * 512 = 32768 bytes
    
    Disk dev/block/mmcblk0p1 doesn't contain a valid partition table
    parted
    Code:
    root@ASUS_T00J:/ # parted /dev/block/mmcblk0
    parted /dev/block/mmcblk0
    GNU Parted 1.8.8.1.179-aef3
    Using /dev/block/mmcblk0
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    (parted) print all
    print all
    print all
    Model: MMC H8G2d¦ (sd/mmc)
    Disk /dev/block/mmcblk0: 7810MB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    
    Number  Start   End     Size    File system  Name      Flags
     1      20.5kB  134MB   134MB                reserved  boot
     2      134MB   143MB   8389kB               panic     boot
     3      143MB   176MB   33.6MB  ext4         factory
     4      176MB   185MB   8389kB  ext4         spare
     5      185MB   218MB   33.6MB  ext4         config
     6      218MB   755MB   537MB   ext4         cache
     7      755MB   956MB   201MB   ext4         APD
     8      956MB   990MB   33.6MB  ext4         ADF
     9      990MB   2353MB  1363MB  ext4         system
    10      2353MB  7801MB  5448MB  ext4         data
    
    
    (parted) version
    version
    version
    
    GNU Parted 1.8.8.1.179-aef3
    
    Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
    This program is free software, covered by the GNU General Public License.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    (parted) quit
    quit
    quit
    gdisk
    Code:
    root@ASUS_T00J:/ # gdisk /dev/block/mmcblk0
    gdisk /dev/block/mmcblk0
    GPT fdisk (gdisk) version 0.8.4
    
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present
    
    Found valid GPT with protective MBR; using GPT.
    
    Command (? for help): p
    p
    Disk /dev/block/mmcblk0: 15253504 sectors, 7.3 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 42D65B0A-EAAA-7AB2-2A0A-03FCEE12F0F0
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 15253470
    Partitions will be aligned on 8-sector boundaries
    Total free space is 16357 sectors (8.0 MiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1              40          262183   128.0 MiB   EF00  reserved
       2          262184          278567   8.0 MiB     EF00  panic
       3          278568          344103   32.0 MiB    0700  factory
       4          344104          360487   8.0 MiB     0700  spare
       5          360488          426023   32.0 MiB    0700  config
       6          426024         1474599   512.0 MiB   0700  cache
       7         1474600         1867815   192.0 MiB   0700  APD
       8         1867816         1933351   32.0 MiB    0700  ADF
       9         1933352         4595751   1.3 GiB     0700  system
      10         4595752        15237119   5.1 GiB     0700  data
    + detailed:
    Code:
    Command (? for help): i
    i
    Partition number (1-10): 1
    1
    Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
    Partition unique GUID: 80868086-8086-8086-8086-000000000000
    First sector: 40 (at 20.0 KiB)
    Last sector: 262183 (at 128.0 MiB)
    Partition size: 262144 sectors (128.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'reserved'
    
    Command (? for help): i
    i
    Partition number (1-10): 2
    2
    Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
    Partition unique GUID: 80868086-8086-8086-8086-000000000001
    First sector: 262184 (at 128.0 MiB)
    Last sector: 278567 (at 136.0 MiB)
    Partition size: 16384 sectors (8.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'panic'
    
    Command (? for help): i
    i
    Partition number (1-10): 3
    3
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: 80868086-8086-8086-8086-000000000002
    First sector: 278568 (at 136.0 MiB)
    Last sector: 344103 (at 168.0 MiB)
    Partition size: 65536 sectors (32.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'factory'
    
    Command (? for help): i
    i
    Partition number (1-10): 4
    4
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: 80868086-8086-8086-8086-000000000003
    First sector: 344104 (at 168.0 MiB)
    Last sector: 360487 (at 176.0 MiB)
    Partition size: 16384 sectors (8.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'spare'
    
    Command (? for help): i
    i
    Partition number (1-10): 5
    5
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: 80868086-8086-8086-8086-000000000004
    First sector: 360488 (at 176.0 MiB)
    Last sector: 426023 (at 208.0 MiB)
    Partition size: 65536 sectors (32.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'config'
    
    Command (? for help): i
    i
    Partition number (1-10): 6
    6
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: 80868086-8086-8086-8086-000000000005
    First sector: 426024 (at 208.0 MiB)
    Last sector: 1474599 (at 720.0 MiB)
    Partition size: 1048576 sectors (512.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'cache'
    
    Command (? for help): i
    i
    Partition number (1-10): 7
    7
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: 80868086-8086-8086-8086-000000000006
    First sector: 1474600 (at 720.0 MiB)
    Last sector: 1867815 (at 912.0 MiB)
    Partition size: 393216 sectors (192.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'APD'
    
    Command (? for help): i
    i
    Partition number (1-10): 8
    8
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: 80868086-8086-8086-8086-000000000007
    First sector: 1867816 (at 912.0 MiB)
    Last sector: 1933351 (at 944.0 MiB)
    Partition size: 65536 sectors (32.0 MiB)
    Attribute flags: 0000000000000000
    Partition name: 'ADF'
    
    Command (? for help): i
    i
    Partition number (1-10): 9
    9
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: 80868086-8086-8086-8086-000000000008
    First sector: 1933352 (at 944.0 MiB)
    Last sector: 4595751 (at 2.2 GiB)
    Partition size: 2662400 sectors (1.3 GiB)
    Attribute flags: 0000000000000000
    Partition name: 'system'
    
    Command (? for help): i
    i
    Partition number (1-10): 10
    10
    Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
    Partition unique GUID: 80868086-8086-8086-8086-000000000009
    First sector: 4595752 (at 2.2 GiB)
    Last sector: 15237119 (at 7.3 GiB)
    Partition size: 10641368 sectors (5.1 GiB)
    Attribute flags: 0000000000000000
    Partition name: 'data'
    
    Command (? for help): l
    l
    0700 Microsoft basic data  0c01 Microsoft reserved    2700 Windows RE
    4200 Windows LDM data      4201 Windows LDM metadata  7501 IBM GPFS
    7f00 ChromeOS kernel       7f01 ChromeOS root         7f02 ChromeOS reserved
    8200 Linux swap            8300 Linux filesystem      8301 Linux reserved
    8e00 Linux LVM             a500 FreeBSD disklabel     a501 FreeBSD boot
    a502 FreeBSD swap          a503 FreeBSD UFS           a504 FreeBSD ZFS
    a505 FreeBSD Vinum/RAID    a800 Apple UFS             a901 NetBSD swap
    a902 NetBSD FFS            a903 NetBSD LFS            a904 NetBSD concatenated
    a905 NetBSD encrypted      a906 NetBSD RAID           ab00 Apple boot
    af00 Apple HFS/HFS+        af01 Apple RAID            af02 Apple RAID offline
    af03 Apple label           af04 AppleTV recovery      af05 Apple Core Storage
    be00 Solaris boot          bf00 Solaris root          bf01 Solaris /usr & Mac Z
    bf02 Solaris swap          bf03 Solaris backup        bf04 Solaris /var
    bf05 Solaris /home         bf06 Solaris alternate se  bf07 Solaris Reserved 1
    bf08 Solaris Reserved 2    bf09 Solaris Reserved 3    bf0a Solaris Reserved 4
    bf0b Solaris Reserved 5    c001 HP-UX data            c002 HP-UX service
    ef00 EFI System            ef01 MBR partition scheme  ef02 BIOS boot partition
    fd00 Linux RAID

    blkid
    Code:
    root@ASUS_T00J:/ # blkid
    blkid
    /dev/block/mmcblk0p10: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
    /dev/block/mmcblk0p9: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
    /dev/block/mmcblk0p8: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
    /dev/block/mmcblk0p7: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
    /dev/block/mmcblk0p6: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
    /dev/block/mmcblk0p5: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
    /dev/block/mmcblk0p4: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
    /dev/block/mmcblk0p3: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
    VERY interesting content of mmcblk0p2 (/panic raw) (for full txt source - look at attached mmcblk0p2_mmcblk0p2.img.zip)
    --- something like "dmesg" only 'Intel-style' .)
    short example:
    Code:
    <6>[    0.000000] Initializing cgroup subsys cpuset
    <6>[    0.000000] Initializing cgroup subsys cpu
    <5>[    0.000000] Linux version 3.4.43-g656faae (builder3@BUILDER3) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Tue Mar 25 17:22:31 CST 2014
    <6>[    0.000000] BIOS-provided physical RAM map:
    <6>[    0.000000]  BIOS-e820: 0000000000000000 - 0000000000098000 (usable)
    <6>[    0.000000]  BIOS-e820: 0000000000100000 - 0000000000d00000 (usable)
    <6>[    0.000000]  BIOS-e820: 0000000000d00000 - 0000000001000000 (reserved)
    <6>[    0.000000]  BIOS-e820: 0000000001000000 - 0000000036ff0000 (usable)
    <6>[    0.000000]  BIOS-e820: 0000000036ff0000 - 00000000378fd000 (reserved)
    <6>[    0.000000]  BIOS-e820: 00000000378fd400 - 00000000379fd400 (reserved)
    <6>[    0.000000]  BIOS-e820: 00000000379fd400 - 000000003eeff400 (usable)
    <6>[    0.000000]  BIOS-e820: 000000003ef00000 - 0000000040000000 (reserved)
    <6>[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
    <6>[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
    <6>[    0.000000]  BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
    <6>[    0.000000] kmemleak: Kernel memory leak detector disabled
    <6>[    0.000000] NX (Execute Disable) protection: active
    <6>[    0.000000] SMBIOS 2.6 present.
    <7>[    0.000000] DMI: Intel Corporation CloverTrail/FFRD, BIOS 406 2013.10.16:10.18.10
    <7>[    0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
    <7>[    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
    .....
    some suggestions:

    1. /reserved hidden /dev/block/mmcblk0p1 - contain 'boot', recovery' and 'fastboot' images (maybe 'ramdisk' separately and 'common' ("one for") all 3 images); (+ mention about it in china)
    2. mmcblk0p1 contain all 3 images and boots 'desired mode' with using of 'something like' "Intel OSIP driver"-feature;
    this suggestion based on command log (flushing recovery image from latest SW)
    Code:
    d:\Asus_Zenfone_5\stock\_from_box1.17.40.16WW\_reflasho_to_WW>adb shell
    shell@ASUS_T00J:/ $ su
    su
    root@ASUS_T00J:/ # sh /data/local/tmp/install-recovery.sh
    sh /data/local/tmp/install-recovery.sh
    Writing 11332608 byte image to osip[1]
    slot 0 used by osip 0
    slot 1 used by osip 1
    root@ASUS_T00J:/ # exit
    exit
    shell@ASUS_T00J:/ $ exit
    exit
    install-recovery.sh
    Code:
    #!/system/bin/sh
    update_recovery --check-sha1 0d46024fcdba65dc82ca5fb568eccf36885de815 \
                    --src-sha1 d8d2bbfd8dd3eaa648073876a229ac030ebdc802 \
                    --tgt-sha1 7cf95a376c8d8b0f47a9bd9062851161fac657d2 \
                    --tgt-size 11332608 \
                    --patch /data/local/tmp/recovery-from-boot.p
    + of course -- before - copied file "recovery-from-boot.p" (1 417 594 bytes) to /data/local/tmp/ ; )

    3. factory firmware content 'separeted' images of "boot", "recovery" and "fastboot"
    Code:
    d:\>dir /s d:\Asus_Zenfone_5\stock\unpack\UL-ASUS_T00F-WW-2.19.40.18-user\
     Volume in drive D has no label.
    
     Directory of d:\Asus_Zenfone_5\stock\unpack\UL-ASUS_T00F-WW-2.19.40.18-user
    
    09.10.2014  17:16    <DIR>          .
    09.10.2014  17:16    <DIR>          ..
    03.01.2014  18:52         9*589*760 boot.img
    03.01.2014  18:52        13*591*552 fastboot.img
    03.01.2014  18:52         4*399*442 ifwi.zip
    03.01.2014  18:52        12*469*248 recovery.img
    03.01.2014  18:52         5*954*048 splash.bin
    09.10.2014  12:27             4*733 Text fastboot.img.txt
    09.10.2014  12:22             4*723 Text recovery.img.txt
    03.01.2014  18:52            12*491 updater-script
                   8 File(s)     46*025*997 bytes
    ----------------------
    unpacked ifwi.zip:
    
     Directory of d:\Asus_Zenfone_5\stock\unpack\UL-ASUS_T00F-WW-2.19.40.18-user\ifwi
    
    09.10.2014  12:02    <DIR>          .
    09.10.2014  12:02    <DIR>          ..
    03.10.2014  18:33            99*296 dnx_fwr_ctp_a500cg.bin
    11.09.2014  09:55            99*296 dnx_fwr_ctp_a502cg.bin
    11.09.2014  09:55            99*296 dnx_fwr_ctp_a600cg.bin
    11.09.2014  09:55            99*296 dnx_fwr_ctp_pr2.bin
    11.09.2014  09:55            99*296 dnx_fwr_ctp_pr3.1.bin
    11.09.2014  09:55            99*296 dnx_fwr_ctp_pr3.bin
    11.09.2014  09:55            99*296 dnx_fwr_ctp_vv2.bin
    11.09.2014  09:55            99*296 dnx_fwr_ctp_vv3.bin
    03.10.2014  18:33            99*296 dnx_osr_ctp_a500cg.bin
    11.09.2014  09:55            99*296 dnx_osr_ctp_a502cg.bin
    11.09.2014  09:55            99*296 dnx_osr_ctp_a600cg.bin
    11.09.2014  09:55            99*296 dnx_osr_ctp_pr2.bin
    11.09.2014  09:55            99*296 dnx_osr_ctp_pr3.1.bin
    11.09.2014  09:55            99*296 dnx_osr_ctp_pr3.bin
    11.09.2014  09:55            99*296 dnx_osr_ctp_vv2.bin
    11.09.2014  09:55            99*296 dnx_osr_ctp_vv3.bin
    03.10.2014  18:33         2*031*600 ifwi_ctp_a500cg.bin
    18.09.2014  00:15         2*031*600 ifwi_ctp_a502cg.bin
    18.09.2014  00:15         2*031*600 ifwi_ctp_a600cg.bin
    11.09.2014  09:55         2*031*600 ifwi_ctp_pr2.bin
    11.09.2014  09:55         2*031*600 ifwi_ctp_pr3.1.bin
    11.09.2014  09:55         2*031*600 ifwi_ctp_pr3.bin
    11.09.2014  09:55         2*031*600 ifwi_ctp_vv2.bin
    11.09.2014  09:55         2*031*600 ifwi_ctp_vv3.bin
    03.10.2014  18:07                 0 version
                  25 File(s)     17*841*536 bytes
    
         Total Files Listed:
                  33 File(s)     63*867*533 bytes
    4. bootloader (fastboot) = "DroidBoot" mode
    5. fastboot is 'locked' ( for 'flashing unsigned images')
    Code:
    D:\Asus_Zenfone_5\recovery\AIK>fastboot flash recovery recovery_philz_t00f.img
    sending 'recovery' (14944 KB)...
    OKAY [  1.978s]
    writing 'recovery'...
    (bootloader) secure device
    (bootloader) unsigned image
    FAILED (remote: not allowed to update unsigned image on secure device)
    finished. total time: 3.826s
    
    D:\Asus_Zenfone_5\recovery\AIK>fastboot continue
    resuming boot...
    OKAY [  0.333s]
    finished. total time: 0.333s
    command
    Code:
     fastboot boot recovery_philz_t00f.img
    - 'makes' warning on the screen "the boot command is disabled"
    ---- and at the same time - "flash" command (of course "original images" from factory FW) - works fine:
    Code:
    d:\Asus_Zenfone_5\stock\_from_box1.17.40.16WW\_reflasho_to_WW>fastboot flash fastboot fastboot.img
    sending 'fastboot' (12421 KB)...
    OKAY [  1.815s]
    writing 'fastboot'...
    (bootloader) secure device
    (bootloader) signed image
    OKAY [  2.390s]
    finished. total time: 4.206s
    
    d:\Asus_Zenfone_5\stock\_from_box1.17.40.16WW\_reflasho_to_WW>fastboot flash boot boot.img
    sending 'boot' (9193 KB)...
    OKAY [  1.387s]
    writing 'boot'...
    (bootloader) secure device
    (bootloader) signed image
    OKAY [  2.019s]
    finished. total time: 3.407s
    note: recovery_philz_t00f.img - is 'custom recovery' for device

    (there is Unlock Device App: Unlock boot loader Version V1.0 - and "signing requirement" can be "unlocked" with "official" UnLock_A500CG_a500cg_platform_rel.apk - but only A500CG version of device (= Intel Atom Z2580 2 Cores 2.000mhz (A500, T00F))

    6. fastboot.img - can be 'unpacked' with toolkit xImgTool.exe (1.2.18) -- and "inside" there can be found 'classic' content with 'ramdisk'! ;) - look at attach "fastboot1.18.40.10_unpacked.zip"
    ----------------------------------------
    Questions (unanswered ) :) :
    1. 'what stands for' this 'parts of ROM'
    Code:
    dnx
    ifwi
    and what can be done with ?

    // definition "IFWI - Intel flash Integrated firmware" cab be found, but .. nothing more )
    there are example commands:
    Code:
    fastboot flash dnx dnx_fwr_ctp_a500cg.bin
    fastboot flash ifwi if.bin
    2. how (what command?) to look 'all the content and info' about OSIP images ("nested" by mmcblk0p1 ) and their id's (OSII) ?


    upd20141202:
    on FW 4.4 version (WW_a501cg-WW_user_2.20.40.13_20141105_1055-user-20141105) there is additional opt in ls -l /dev/block/platform/intel/:
    Code:
    root@ASUS_T00J:/ # ls -l /dev/block/platform/intel/by-guid
    ls -l /dev/block/platform/intel/by-guid
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000000 -> /dev/block/mmcblk0p1
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000001 -> /dev/block/mmcblk0p2
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000002 -> /dev/block/mmcblk0p3
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000003 -> /dev/block/mmcblk0p4
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000004 -> /dev/block/mmcblk0p5
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000005 -> /dev/block/mmcblk0p6
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000006 -> /dev/block/mmcblk0p7
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000007 -> /dev/block/mmcblk0p8
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000008 -> /dev/block/mmcblk0p9
    lrwxrwxrwx root     root              2014-12-02 13:46 80868086-8086-8086-8086-000000000009 -> /dev/block/mmcblk0p10
    root@ASUS_T00J:/ # ls -l /dev/block/platform/intel/by-label
    ls -l /dev/block/platform/intel/by-label
    lrwxrwxrwx root     root              2014-12-02 13:46 ADF -> /dev/block/mmcblk0p8
    lrwxrwxrwx root     root              2014-12-02 13:46 APD -> /dev/block/mmcblk0p7
    lrwxrwxrwx root     root              2014-12-02 13:46 cache -> /dev/block/mmcblk0p6
    lrwxrwxrwx root     root              2014-12-02 13:46 config -> /dev/block/mmcblk0p5
    lrwxrwxrwx root     root              2014-12-02 13:46 data -> /dev/block/mmcblk0p10
    lrwxrwxrwx root     root              2014-12-02 13:46 factory -> /dev/block/mmcblk0p3
    lrwxrwxrwx root     root              2014-12-02 13:46 panic -> /dev/block/mmcblk0p2
    lrwxrwxrwx root     root              2014-12-02 13:46 reserved -> /dev/block/mmcblk0p1
    lrwxrwxrwx root     root              2014-12-02 13:46 spare -> /dev/block/mmcblk0p4
    lrwxrwxrwx root     root              2014-12-02 13:46 system -> /dev/block/mmcblk0p9
    root@ASUS_T00J:/ #

    + add info partx -s:
    Code:
    root@ASUS_T00J:/ # /data/local/tmp/partx -s /dev/block/mmcblk0
    /data/local/tmp/partx -s /dev/block/mmcblk0
    NR   START      END  SECTORS SIZE NAME     UUID
     1      40   262183   262144 128M reserved 80868086-8086-8086-8086-000000000000
     2  262184   278567    16384   8M panic    80868086-8086-8086-8086-000000000001
     3  278568   344103    65536  32M factory  80868086-8086-8086-8086-000000000002
     4  344104   360487    16384   8M spare    80868086-8086-8086-8086-000000000003
     5  360488   426023    65536  32M config   80868086-8086-8086-8086-000000000004
     6  426024  1474599  1048576 512M cache    80868086-8086-8086-8086-000000000005
     7 1474600  1867815   393216 192M APD      80868086-8086-8086-8086-000000000006
     8 1867816  1933351    65536  32M ADF      80868086-8086-8086-8086-000000000007
     9 1933352  4595751  2662400 1.3G system   80868086-8086-8086-8086-000000000008
    10 4595752 15220735 10624984 5.1G data     80868086-8086-8086-8086-000000000009
    root@ASUS_T00J:/ #