[SCRIPT] Fix partition table for Android 4.4


M1cha

Members
May 29, 2011
1,747
2,839
297
#7
Sounds like u didn't flash a rom after the resize. The Script disables TDB and deletes all userdata and installations.
 

M1cha

Members
May 29, 2011
1,747
2,839
297
#9
so this is easy to fix. just boot into recovery and flash whatever u like :)
No need to re-execute the resize-script.

BTW why the download-counter s still at 0? devhost seems to be buggy :p
 
H

Henry_01

#11
Here a snapshot from my MI2 16 GB.

Code:
Model: MMC 016G92 (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End    Size    File system  Name      Flags
1      17.4kB  89.1MB  89.1MB  fat16        modem
2      89.1MB  178MB  89.1MB  fat16        modem1
3      178MB  179MB  524kB                sbl1
4      179MB  179MB  524kB                sbl2
5      179MB  180MB  1049kB              sbl3
6      180MB  181MB  1049kB              rpm
7      181MB  182MB  1049kB              tz
8      182MB  183MB  524kB                DDR
9      183MB  187MB  4194kB              aboot
10      187MB  188MB  1049kB              misc
11      188MB  191MB  2990kB              logo
12      191MB  192MB  799kB                m9kefs1
13      192MB  193MB  799kB                m9kefs2
14      193MB  193MB  1024B                m9kefsc
15      193MB  201MB  8501kB              bk1
16      201MB  202MB  799kB                m9kefs3
17      202MB  268MB  66.3MB              bk2
18      268MB  284MB  15.7MB              boot
19      284MB  300MB  15.7MB              boot1
20      300MB  316MB  15.7MB              recovery
21      316MB  327MB  11.5MB              bk3
22      327MB  336MB  8389kB  ext4        persist
23      336MB  872MB  537MB  ext4        system
24      872MB  1409MB  537MB  ext4        system1
25      1409MB  1812MB  403MB  ext4        cache
26      1812MB  5570MB  3758MB  ext4        userdata
27      5570MB  15.8GB  10.2GB  ext4        storage
 
Aug 10, 2013
96
38
28
#15
Can somebody write a short step for step guide for this?
I know my phone has to have USB debugging enabled and I have to push those commands with CMD.exe. But this is the first time, so I would like somebody to hold my hand ;)
 
Oct 8, 2013
30
1
18
#16
Likes: Frederik VDP

xeGox

Members
Feb 26, 2013
401
58
62
#19
Isn't it possible to delete system 2 partition?

Inviato dal mio Xiaomi Mi-5f (f sta per fun,non per fan)...con tapatalk 26°
 
Jul 6, 2013
1,436
716
222
#21
Isn't it possible to delete system 2 partition?

Inviato dal mio Xiaomi Mi-5f (f sta per fun,non per fan)...con tapatalk 26°
Yes, but if you do that your phone won't boot up because the bootloader is setted for both system partition, not one
You may restringe it to a small one
 

M1cha

Members
May 29, 2011
1,747
2,839
297
#24
Yes, but if you do that your phone won't boot up because the bootloader is setted for both system partition, not one
You may restringe it to a small one
The bootloader doesn't care about system,system1,userdata and storage :)
I deleted them and could still boot into recovery.