• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help GUIDE -->> How To Create Partition.xml [GPT] <<--

The idea was just to put it out if anyone doesn't know about this site... That's not the only documentation or utilities available... A little bit of searching can possibly dig up what one desires... But that is for everyone to explore and decide on their own... I just threw it out there as a possible Avenue to explore... there are tons of posts about tons of different phones
 
Hello I do not know if it's the place but I need the motorola files xt 1039 and xt 1064 first or second generation programm_firehorse_emmc and rawprogram0.XML and patch0.XML... plis helpme
 
Get the GPT Partition Table.

The first thing we need is the GPT Partition Table.

There are a couple of different ways to do this.

#1 Any file saying gpt_main.img or gpt_main.bin that is in a Firmware package is most likely the GPT Table.
HTC has the GPT Table in their RUU firmware.

@samsight has asked about the LG G PAD II 8.0 LTE Tablet
@samsight Could have made this easier by posting more specific model info. So I will assume it is the LG V497.

Firmwares list for LG V497
https://lg-firmwares.com/lg-v497-firmwares/#more-1920

So I will use this as the example for the tutorial.
File name File size Date Downloads
RGS
North America
CA/Canada V49710b_00.kdz

Download the firmware package.
Now you will need to extract the .kdz to image files.
I'm gonna go do that so ill BRB

Creating the partition.xml file is key for building unbrick Roms.
I have not found any python or bash scripts that will create the partition.xml.
And many of the Qualcomm Proprietary tools floating around are out of date and no longer apply.

I have created a OPEN OFFICE CALC spreadsheet to create the data you need to put in the partition.xml file automatically. There is still a process that must be followed in order to do this correctly.

THIS PROCESS REQUIRES A LINUX OPERATING SYSTEM ( NO WINDOWZ )
YOU CAN USE A UBUNTU BOOTABLE CDROM OR USB FLASH DRIVE.

See here to make a bootable flash drive. If you aren't running linux.
https://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows

OPEN OFFICE IS PRE INSTALLED IN UBUNTU.
YOU CAN USE THE SPREADSHEET IN WINDOWS IF YOU INSTALL OPEN OFFICE ( IT'S FREEWARE)
YOU MAY BE ABLE TO DO THIS IN WINDOWS BUT I RECOMMEND NOT TOO.

Step 1 is to download this spreadsheet.
Download and unzip the generator spreadsheet.

I will go over the process of filling in the data you need to generate the partition.xml
Please hold off on posting until I let you know I am finished with the tutorial.
The tutorial will be several post long.

Thanks
Big Country:cool:
Dear developer,
I had a bricked HTC Desire 612 with the 8226 chip . I found some info about partition and the mprg8226.mbn, prog_firehose_8x26.mbn, but not have partition.xml to create rawprogram0.xml and patch0.xml.

When I unpacked RUU file I CANNOT Found the gpt_main.img , neither of any partition file.

How could I do using partition info to create GPT.bin file or partition.xml file?
THANKS A Lot.

Code:
1|u0_a420@unknown:/ $ cat /proc/partitions
major minor #blocks name

7 0 53046 loop0
7 1 22901 loop1
253 0 419432 zram0
179 0 7634944 mmcblk0
179 1 1024 mmcblk0p1
179 2 32768 mmcblk0p2
179 3 16 mmcblk0p3
179 4 15327 mmcblk0p4
179 5 256 mmcblk0p5
179 6 24255 mmcblk0p6
179 7 256 mmcblk0p7
179 8 256 mmcblk0p8
179 9 2048 mmcblk0p9
179 10 32 mmcblk0p10
179 11 4096 mmcblk0p11
179 12 5120 mmcblk0p12
179 13 1024 mmcblk0p13
179 14 32 mmcblk0p14
179 15 1024 mmcblk0p15
259 0 61441 mmcblk0p16
259 1 5120 mmcblk0p17
259 2 8192z mmcblk0p18
259 3 1536 mmcblk0p19
259 4 76801 mmcblk0p20
259 5 4096 mmcblk0p21
259 6 10240 mmcblk0p22
259 7 7167 mmcblk0p23
259 8 1024 mmcblk0p24
259 9 1536 mmcblk0p25
259 10 1536 mmcblk0p26
259 11 20480 mmcblk0p27
259 12 4 mmcblk0p28
259 13 256 mmcblk0p29
259 14 16 mmcblk0p30
259 15 1281 mmcblk0p31
259 16 64 mmcblk0p32
259 17 1024 mmcblk0p33
259 18 1 mmcblk0p34
259 19 8 mmcblk0p35
259 20 256 mmcblk0p36
259 21 25600 mmcblk0p37
259 22 30720 mmcblk0p38
259 23 14498 mmcblk0p39
259 24 16384 mmcblk0p40
259 25 16384 mmcblk0p41
259 26 278528 mmcblk0p42
259 27 2359296 mmcblk0p43
259 28 4587520 mmcblk0p44
179 16 2048 mmcblk0rpmb
179 32 7761920 mmcblk1
179 33 5709824 mmcblk1p1
179 34 2048000 mmcblk1p2
254 0 53046 dm-0
254 1 22900 dm-1
Code:
|u0_a420@unknown:/ $ cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/dm-0 /mnt/asec/com.kiloo.subwaysurf-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.ea.game.pvz2_row-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/mmcblk0p43 /system ext4 ro,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0
debugfs /data/d debugfs rw,relatime 0 0
/dev/block/mmcblk0p42 /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/mmcblk0p38 /devlog ext4 rw,seclabel,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/block/mmcblk0p27 /fataldevlog ext4 rw,seclabel,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/radio /firmware/radio vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/platform/msm_sdcc.1/by-name/adsp /firmware/adsp vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/platform/msm_sdcc.1/by-name/wcnss /firmware/wcnss vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,seclabel,relatime,size=512k 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,seclabel,nosuid,nodev,relatime,mode=751,gid=1028 0 0
/dev/block/vold/179:33 /mnt/media_rw/ext_sd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/ext_sd fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 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/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
Code:
u0_a420@unknown:/ $ adb shell
error: device not found
platform/msm_sdcc.1/by-name <
lrwxrwxrwx root root 2014-08-08 19:15 adsp -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2014-08-08 19:15 board_info -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2014-08-08 19:15 boot -> /dev/block/mmcblk0p40
lrwxrwxrwx root root 2014-08-08 19:15 cache -> /dev/block/mmcblk0p42
lrwxrwxrwx root root 2014-08-08 19:15 carrier -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 2014-08-08 19:15 cdma_record -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 2014-08-08 19:15 control -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 2014-08-08 19:15 custdata -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2014-08-08 19:15 ddr -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2014-08-08 19:15 debug_config -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 2014-08-08 19:15 devlog -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 2014-08-08 19:15 dsps -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2014-08-08 19:15 extra -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 2014-08-08 19:15 fataldevlog -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 2014-08-08 19:15 fsc -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 2014-08-08 19:15 fsg -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2014-08-08 19:15 hboot -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2014-08-08 19:15 local -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 2014-08-08 19:15 mfg -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2014-08-08 19:15 misc -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 2014-08-08 19:15 modem_st1 -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 2014-08-08 19:15 modem_st2 -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 2014-08-08 19:15 pdata -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 2014-08-08 19:15 pg1fs -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2014-08-08 19:15 pg2fs -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2014-08-08 19:15 radio -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2014-08-08 19:15 radio_config -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2014-08-08 19:15 recovery -> /dev/block/mmcblk0p41
lrwxrwxrwx root root 2014-08-08 19:15 reserve -> /dev/block/mmcblk0p39
lrwxrwxrwx root root 2014-08-08 19:15 reserve_1 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2014-08-08 19:15 reserve_2 -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2014-08-08 19:15 rpm -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2014-08-08 19:15 sbl1 -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2014-08-08 19:15 sbl1_update -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2014-08-08 19:15 sdi -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2014-08-08 19:15 skylink -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 2014-08-08 19:15 sp1 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2014-08-08 19:15 ssd -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 2014-08-08 19:15 system -> /dev/block/mmcblk0p43
lrwxrwxrwx root root 2014-08-08 19:15 tool_diag -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2014-08-08 19:15 tz -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2014-08-08 19:15 userdata -> /dev/block/mmcblk0p44
lrwxrwxrwx root root 2014-08-08 19:15 wcnss -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2014-08-08 19:15 wifi -> /dev/block/mmcblk0p13
Code:
u0_a420@unknown:/ $ cat proc/emmc
dev: size erasesize name
mmcblk0p1: 00100000 00000200 "sbl1"
mmcblk0p2: 02000000 00000200 "pg1fs"
mmcblk0p3: 00004000 00000200 "board_info"
mmcblk0p4: 00ef7c00 00000200 "reserve_1"
mmcblk0p5: 00040000 00000200 "mfg"
mmcblk0p6: 017afc00 00000200 "pg2fs"
mmcblk0p7: 00040000 00000200 "sbl1_update"
mmcblk0p8: 00040000 00000200 "rpm"
mmcblk0p9: 00200000 00000200 "tz"
mmcblk0p10: 00008000 00000200 "sdi"
mmcblk0p11: 00400000 00000200 "hboot"
mmcblk0p12: 00500000 00000200 "sp1"
mmcblk0p13: 00100000 00000200 "wifi"
mmcblk0p14: 00008000 00000200 "ddr"
mmcblk0p15: 00100000 00000200 "dsps"
mmcblk0p16: 03c00400 00000200 "adsp"
mmcblk0p17: 00500000 00000200 "wcnss"
mmcblk0p18: 00800000 00000200 "radio_config"
mmcblk0p19: 00180000 00000200 "fsg"
mmcblk0p20: 04b00400 00000200 "radio"
mmcblk0p21: 00400000 00000200 "tool_diag"
mmcblk0p22: 00a00000 00000200 "custdata"
mmcblk0p23: 006ffc00 00000200 "reserve_2"
mmcblk0p24: 00100000 00000200 "misc"
mmcblk0p25: 00180000 00000200 "modem_st1"
mmcblk0p26: 00180000 00000200 "modem_st2"
mmcblk0p27: 01400000 00000200 "fataldevlog"
mmcblk0p28: 00001000 00000200 "debug_config"
mmcblk0p29: 00040000 00000200 "pdata"
mmcblk0p30: 00004000 00000200 "control"
mmcblk0p31: 00140400 00000200 "local"
mmcblk0p32: 00010000 00000200 "extra"
mmcblk0p33: 00100000 00000200 "cdma_record"
mmcblk0p34: 00000400 00000200 "fsc"
mmcblk0p35: 00002000 00000200 "ssd"
mmcblk0p36: 00040000 00000200 "skylink"
mmcblk0p37: 01900000 00000200 "carrier"
mmcblk0p38: 01e00000 00000200 "devlog"
mmcblk0p39: 00e28800 00000200 "reserve"
mmcblk0p40: 01000000 00000200 "boot"
mmcblk0p41: 01000000 00000200 "recovery"
mmcblk0p42: 11000000 00000200 "cache"
mmcblk0p43: 90000000 00000200 "system"
mmcblk0p44: 18000000 00000200 "userdata"
 
Hello I do not know if it's the place but I need the motorola files xt 1039 and xt 1064 first or second generation programm_firehorse_emmc and rawprogram0.XML and patch0.XML... plis helpme

I have some mprgxxxx.mbn and prog_firehouse xxx.mbn , which from a site when did a Google search. But I think rawprogram0.xml and patch0.xml should be created by partition.xml using PartitionTool.py .


here are the files you may need
https://mega.nz/#F!5csmzaBD!cExedKsUxalCuZc-4SIGCw
 
Last edited:
anyway to ... get an mbn for a LG K530f uses the qualcomm chip 8937 im working with the files inside K530F10d_00_0220.kdz. doing the partition.xml now i used another set of files that make both files automaticly but the gpt_both0.bin from this post is a lot bigger than the one made with the py tools.
 
Hey, great post, thanks! Now I'm following the procedure outlined, only I guess due to the age of this post or perhaps my system I am unable to see the images that you originally included, and I am stuck at the following:

The number of columns in my TARGET/gpt_main0.txt hexdump are fewer than the columns it appears I am supposed to paste information to in your spreadsheet! I am stumped, please help :)
 
Hi for me is not possible to get partition.xml because when i extract the kdz i get multiple file like PrimaryGPT_0/1/2/3/4/5/6 and the same for the backup...
 
How do I get the patch and raw files based on this information using this info?

  1. Motorola One [deen] full partition list.

  2. deen_sprout:/ $ ls -al dev/block/platform/soc/7824900.sdhci/by-name
  3. total 0
  4. drwxr-xr-x 2 root root 1280 1970-02-02 13:53 .
  5. drwxr-xr-x 4 root root 1360 1970-02-02 13:53 ..
  6. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 DDR -> /dev/block/mmcblk0p25
  7. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 aboot_a -> /dev/block/mmcblk0p9
  8. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 aboot_b -> /dev/block/mmcblk0p10
  9. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 apdp -> /dev/block/mmcblk0p48
  10. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 boot_a -> /dev/block/mmcblk0p40
  11. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 boot_b -> /dev/block/mmcblk0p41
  12. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 carrier -> /dev/block/mmcblk0p37
  13. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cid -> /dev/block/mmcblk0p34
  14. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cmnlib64_a -> /dev/block/mmcblk0p13
  15. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cmnlib64_b -> /dev/block/mmcblk0p14
  16. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cmnlib_a -> /dev/block/mmcblk0p11
  17. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 cmnlib_b -> /dev/block/mmcblk0p12
  18. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 devcfg_a -> /dev/block/mmcblk0p7
  19. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 devcfg_b -> /dev/block/mmcblk0p8
  20. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dpo -> /dev/block/mmcblk0p50
  21. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dsp_a -> /dev/block/mmcblk0p23
  22. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dsp_b -> /dev/block/mmcblk0p24
  23. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dto_a -> /dev/block/mmcblk0p42
  24. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 dto_b -> /dev/block/mmcblk0p43
  25. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 frp -> /dev/block/mmcblk0p33
  26. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 fsc -> /dev/block/mmcblk0p21
  27. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 fsg_a -> /dev/block/mmcblk0p30
  28. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 fsg_b -> /dev/block/mmcblk0p31
  29. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 hw -> /dev/block/mmcblk0p54
  30. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 keymaster_a -> /dev/block/mmcblk0p15
  31. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 keymaster_b -> /dev/block/mmcblk0p16
  32. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 kpan -> /dev/block/mmcblk0p39
  33. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 logo_a -> /dev/block/mmcblk0p35
  34. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 logo_b -> /dev/block/mmcblk0p36
  35. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 logs -> /dev/block/mmcblk0p47
  36. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 metadata -> /dev/block/mmcblk0p38
  37. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 misc -> /dev/block/mmcblk0p44
  38. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 modem_a -> /dev/block/mmcblk0p19
  39. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 modem_b -> /dev/block/mmcblk0p20
  40. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 modemst1 -> /dev/block/mmcblk0p28
  41. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 modemst2 -> /dev/block/mmcblk0p29
  42. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 mota -> /dev/block/mmcblk0p45
  43. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 msadp -> /dev/block/mmcblk0p49
  44. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 oem_a -> /dev/block/mmcblk0p56
  45. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 oem_b -> /dev/block/mmcblk0p57
  46. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 padA -> /dev/block/mmcblk0p53
  47. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 persist -> /dev/block/mmcblk0p32
  48. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 prov_a -> /dev/block/mmcblk0p17
  49. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 prov_b -> /dev/block/mmcblk0p18
  50. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 rpm_a -> /dev/block/mmcblk0p3
  51. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 rpm_b -> /dev/block/mmcblk0p4
  52. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 sbl1_a -> /dev/block/mmcblk0p1
  53. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 sbl1_b -> /dev/block/mmcblk0p2
  54. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 sp -> /dev/block/mmcblk0p55
  55. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 ssd -> /dev/block/mmcblk0p22
  56. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 syscfg -> /dev/block/mmcblk0p46
  57. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 system_a -> /dev/block/mmcblk0p60
  58. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 system_b -> /dev/block/mmcblk0p61
  59. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 tz_a -> /dev/block/mmcblk0p5
  60. lrwxrwxrwx 1 root root 20 1970-02-02 13:53 tz_b -> /dev/block/mmcblk0p6
  61. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 userdata -> /dev/block/mmcblk0p62
  62. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 utags -> /dev/block/mmcblk0p26
  63. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 utagsBackup -> /dev/block/mmcblk0p27
  64. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 vbmeta_a -> /dev/block/mmcblk0p51
  65. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 vbmeta_b -> /dev/block/mmcblk0p52
  66. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 vendor_a -> /dev/block/mmcblk0p58
  67. lrwxrwxrwx 1 root root 21 1970-02-02 13:53 vendor_b -> /dev/block/mmcblk0p59
  68. deen_sprout:/ $
  1. C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
  2. deen_sprout:/ $ su
  3. deen_sprout:/ # fdisk -l /dev/block/mmcblk0
  4. Found valid GPT with protective MBR; using GPT

  5. Disk /dev/block/mmcblk0: 122142720 sectors, 2296M
  6. Logical sector size: 512
  7. Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
  8. Partition table holds up to 62 entries
  9. First usable sector is 34, last usable sector is 122142686

  10. Number Start (sector) End (sector) Size Name
  11. 1 256 1279 512K sbl1_a
  12. 2 1280 2303 512K sbl1_b
  13. 3 2304 2815 256K rpm_a
  14. 4 3328 3839 256K rpm_b
  15. 5 4352 7935 1792K tz_a
  16. 6 8448 12031 1792K tz_b
  17. 7 12544 12671 65536 devcfg_a
  18. 8 13056 13183 65536 devcfg_b
  19. 9 13568 16639 1536K aboot_a
  20. 10 16640 19711 1536K aboot_b
  21. 11 19712 21759 1024K cmnlib_a
  22. 12 21760 23807 1024K cmnlib_b
  23. 13 23808 25855 1024K cmnlib64_a
  24. 14 25856 27903 1024K cmnlib64_b
  25. 15 27904 29951 1024K keymaster_a
  26. 16 29952 31999 1024K keymaster_b
  27. 17 32000 32383 192K prov_a
  28. 18 32512 32895 192K prov_b
  29. 19 33024 237823 100M modem_a
  30. 20 237824 442623 100M modem_b
  31. 21 442624 442631 4096 fsc
  32. 22 442632 442647 8192 ssd
  33. 23 442648 475415 16.0M dsp_a
  34. 24 475416 508183 16.0M dsp_b
  35. 25 508416 508479 32768 DDR
  36. 26 508672 509695 512K utags
  37. 27 509696 510719 512K utagsBackup
  38. 28 510720 514815 2048K modemst1
  39. 29 514816 518911 2048K modemst2
  40. 30 518912 543487 12.0M fsg_a
  41. 31 543488 568063 12.0M fsg_b
  42. 32 568064 633599 32.0M persist
  43. 33 633600 634623 512K frp
  44. 34 634624 634879 128K cid
  45. 35 634880 667647 16.0M logo_a
  46. 36 667648 700415 16.0M logo_b
  47. 37 700416 733183 16.0M carrier
  48. 38 733184 734207 512K metadata
  49. 39 734208 750591 8192K kpan
  50. 40 750592 881663 64.0M boot_a
  51. 41 881664 1012735 64.0M boot_b
  52. 42 1012736 1045503 16.0M dto_a
  53. 43 1045504 1078271 16.0M dto_b
  54. 44 1078272 1080319 1024K misc
  55. 45 1080320 1081343 512K mota
  56. 46 1081344 1082367 512K syscfg
  57. 47 1082368 1086463 2048K logs
  58. 48 1086464 1086975 256K apdp
  59. 49 1086976 1087487 256K msadp
  60. 50 1087488 1087503 8192 dpo
  61. 51 1087504 1087631 65536 vbmeta_a
  62. 52 1087632 1087759 65536 vbmeta_b
  63. 53 1088000 1114111 12.7M padA
  64. 54 1114112 1130495 8192K hw
  65. 55 1130496 1146879 8192K sp
  66. 56 1146880 1540095 192M oem_a
  67. 57 1540096 1933311 192M oem_b
  68. 58 1933312 2981887 512M vendor_a
  69. 59 2981888 4030463 512M vendor_b
  70. 60 4030464 9273343 2560M system_a
  71. 61 9273344 14516223 2560M system_b
  72. 62 14516224 122142686 51.3G userdata
  73. deen_sprout:/ #
  1. C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
  2. deen_sprout:/ $ su
  3. deen_sprout:/ # fdisk -l /dev/block/mmcblk0
  4. Found valid GPT with protective MBR; using GPT

  5. Disk /dev/block/mmcblk0: 122142720 sectors, 2296M
  6. Logical sector size: 512
  7. Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
  8. Partition table holds up to 62 entries
  9. First usable sector is 34, last usable sector is 122142686

  10. Number Start (sector) End (sector) Size Name
  11. 1 256 1279 512K sbl1_a
  12. 2 1280 2303 512K sbl1_b
  13. 3 2304 2815 256K rpm_a
  14. 4 3328 3839 256K rpm_b
  15. 5 4352 7935 1792K tz_a
  16. 6 8448 12031 1792K tz_b
  17. 7 12544 12671 65536 devcfg_a
  18. 8 13056 13183 65536 devcfg_b
  19. 9 13568 16639 1536K aboot_a
  20. 10 16640 19711 1536K aboot_b
  21. 11 19712 21759 1024K cmnlib_a
  22. 12 21760 23807 1024K cmnlib_b
  23. 13 23808 25855 1024K cmnlib64_a
  24. 14 25856 27903 1024K cmnlib64_b
  25. 15 27904 29951 1024K keymaster_a
  26. 16 29952 31999 1024K keymaster_b
  27. 17 32000 32383 192K prov_a
  28. 18 32512 32895 192K prov_b
  29. 19 33024 237823 100M modem_a
  30. 20 237824 442623 100M modem_b
  31. 21 442624 442631 4096 fsc
  32. 22 442632 442647 8192 ssd
  33. 23 442648 475415 16.0M dsp_a
  34. 24 475416 508183 16.0M dsp_b
  35. 25 508416 508479 32768 DDR
  36. 26 508672 509695 512K utags
  37. 27 509696 510719 512K utagsBackup
  38. 28 510720 514815 2048K modemst1
  39. 29 514816 518911 2048K modemst2
  40. 30 518912 543487 12.0M fsg_a
  41. 31 543488 568063 12.0M fsg_b
  42. 32 568064 633599 32.0M persist
  43. 33 633600 634623 512K frp
  44. 34 634624 634879 128K cid
  45. 35 634880 667647 16.0M logo_a
  46. 36 667648 700415 16.0M logo_b
  47. 37 700416 733183 16.0M carrier
  48. 38 733184 734207 512K metadata
  49. 39 734208 750591 8192K kpan
  50. 40 750592 881663 64.0M boot_a
  51. 41 881664 1012735 64.0M boot_b
  52. 42 1012736 1045503 16.0M dto_a
  53. 43 1045504 1078271 16.0M dto_b
  54. 44 1078272 1080319 1024K misc
  55. 45 1080320 1081343 512K mota
  56. 46 1081344 1082367 512K syscfg
  57. 47 1082368 1086463 2048K logs
  58. 48 1086464 1086975 256K apdp
  59. 49 1086976 1087487 256K msadp
  60. 50 1087488 1087503 8192 dpo
  61. 51 1087504 1087631 65536 vbmeta_a
  62. 52 1087632 1087759 65536 vbmeta_b
  63. 53 1088000 1114111 12.7M padA
  64. 54 1114112 1130495 8192K hw
  65. 55 1130496 1146879 8192K sp
  66. 56 1146880 1540095 192M oem_a
  67. 57 1540096 1933311 192M oem_b
  68. 58 1933312 2981887 512M vendor_a
  69. 59 2981888 4030463 512M vendor_b
  70. 60 4030464 9273343 2560M system_a
  71. 61 9273344 14516223 2560M system_b
  72. 62 14516224 122142686 51.3G userdata
  73. deen_sprout:/ #
 
Hi sir, can i get gpt_main.bin from firmware i downloaded for my devices? I downloaded so many firmwares but there is no gpt files when i extract it.
 
Back
Top Bottom