Tuesday, July 5, 2016

M9 (himauhl) GPT table

Hello

I want to split userdata partition of my M9 into two parts. What is the right tool for it?
I tried android-gptfdisk but it shows that GPT partition table is very strange.

After I run gdisk from the package above I can see the following message.

Quote:

root@htc_himauhl:/ # gdisk /dev/block/mmcblk0
GPT fdisk (gdisk) version 1.0.0

Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.

Warning! One or more CRCs don't match. You should repair the disk!


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

************************************************** **************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.

************************************************** **************************

Command (? for help): p
Disk /dev/block/mmcblk0: 61071360 sectors, 29.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Partition table holds up to 72 entries
First usable sector is 34, last usable sector is 60932095
Partitions will be aligned on 2-sector boundaries
Total free space is 0 sectors (0 bytes)

Number Start (sector) End (sector) Size Code Name
1 34 65 16.0 KiB FFFF board_info
2 66 8257 4.0 MiB FFFF pg1fs
3 8258 10305 1024.0 KiB FFFF sbl1
4 10306 12353 1024.0 KiB FFFF pmic
5 12354 94273 40.0 MiB 0700 dummy
6 94274 98303 2.0 MiB 0700 reserve_1
7 98304 98815 256.0 KiB FFFF mfg
8 98816 147325 23.7 MiB FFFF pg2fs
9 147326 148349 512.0 KiB FFFF rpm
10 148350 152445 2.0 MiB FFFF tz
11 152446 152637 96.0 KiB FFFF sdi
12 152638 156733 2.0 MiB FFFF hyp
13 156734 158781 1024.0 KiB FFFF aboot
14 158782 179261 10.0 MiB 0700 tool_diag
15 179262 199741 10.0 MiB 0700 sp1
16 199742 201789 1024.0 KiB FFFF ddr
17 201790 203837 1024.0 KiB 0700 rfg_0
18 203838 205885 1024.0 KiB 0700 rfg_1
19 205886 207933 1024.0 KiB 0700 rfg_2
20 207934 209981 1024.0 KiB 0700 rfg_3
21 209982 212029 1024.0 KiB 0700 rfg_4
22 212030 214077 1024.0 KiB 0700 rfg_5
23 214078 216125 1024.0 KiB 0700 rfg_6
24 216126 218173 1024.0 KiB 0700 rfg_7
25 218174 221245 1.5 MiB FFFF fsg
26 221246 342079 59.0 MiB 0700 radio
27 342080 383039 20.0 MiB 0700 adsp
28 383040 383041 1024 bytes FFFF limits
29 383042 393215 5.0 MiB 0700 reserve_2
30 393216 438271 22.0 MiB FFFF persist
31 438272 458751 10.0 MiB 0700 ramdump
32 458752 460799 1024.0 KiB FFFF misc
33 460800 463871 1.5 MiB FFFF modem_st1
34 463872 466943 1.5 MiB FFFF modem_st2
35 466944 507903 20.0 MiB 0700 fataldevlog
36 507904 569343 30.0 MiB 0700 devlog
37 569344 569855 256.0 KiB 0700 pdata
38 569856 569887 16.0 KiB 0700 control
39 569888 570015 64.0 KiB 0700 extra
40 570016 572063 1024.0 KiB 0700 cdma_record
41 572064 572065 1024 bytes 0700 fsc
42 572066 572081 8.0 KiB FFFF ssd
43 572082 573105 512.0 KiB 0700 sensor_hub
44 573106 573361 128.0 KiB FFFF sec
45 573362 575409 1024.0 KiB FFFF abootbak
46 575410 575429 10.0 KiB 0700 cir_img
47 575430 577991 1.3 MiB 0700 local
48 577992 579015 512.0 KiB 0700 frp
49 579016 583111 2.0 MiB FFFF cpe
50 583112 624071 20.0 MiB 0700 carrier
51 624072 624583 256.0 KiB 0700 skylink
52 624584 624839 128.0 KiB 0700 rfg_8
53 624840 625095 128.0 KiB 0700 rfg_9
54 625096 625351 128.0 KiB 0700 rfg_10
55 625352 625607 128.0 KiB 0700 rfg_11
56 625608 625863 128.0 KiB 0700 rfg_12
57 625864 626119 128.0 KiB 0700 rfg_13
58 626120 626375 128.0 KiB 0700 rfg_14
59 626376 626631 128.0 KiB 0700 rfg_15
60 626632 659399 16.0 MiB 0700 absolute
61 659400 688127 14.0 MiB 0700 reserve
62 688128 819199 64.0 MiB FFFF hosd
63 819200 950271 64.0 MiB FFFF boot
64 950272 1081343 64.0 MiB FFFF recovery
65 1081344 1736703 320.0 MiB 0700 cache
66 1736704 10911743 4.4 GiB 0700 system
67 10911744 60194815 23.5 GiB 0700 userdata
68 60194816 60788735 290.0 MiB 0700 apppreload
69 60788736 60911615 60.0 MiB 0700 cota
70 60911616 60932095 10.0 MiB FFFF battery

It looks like GPT partition table and/or MBR are specific. Nevertheless my M9 works well I can boot it and use it.

Could somebody give me a hint about working with M9 GPT partition table?


from xda-developers http://ift.tt/29no6Qg
via IFTTT

No comments:

Post a Comment