Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

TWRP Bug Corrupted Partitions

OP flare4000

15th July 2014, 02:14 AM   |  #1  
OP Senior Member
Thanks Meter: 38
 
109 posts
Join Date:Joined: Apr 2012
More
Well I have my phone soft-bricked right now and my partitions are extremely messed up, I was wondering if anyone was so kind to run the print command for parted and show me the image, since I need to know what the partition numbers are so I can delete them then recreate, thanks.
15th July 2014, 07:32 PM   |  #2  
heavy_metal_man's Avatar
Recognized Contributor
Thanks Meter: 724
 
2,643 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by flare4000

Well I have my phone soft-bricked right now and my partitions are extremely messed up, I was wondering if anyone was so kind to run the print command for parted and show me the image, since I need to know what the partition numbers are so I can delete them then recreate, thanks.

here is a more detailed layout from the gingerbread firmware.

Here is from mine with hboot 1.29.xxxxxx with 3.33 firmware
Code:
shell@pyramid:/ $ cat proc/emmc
cat proc/emmc
dev:        size     erasesize name
mmcblk0p32: 000ffa00 00000200 "misc"
mmcblk0p21: 00fffc00 00000200 "recovery"
mmcblk0p20: 01000000 00000200 "boot"
mmcblk0p22: 31fffc00 00000200 "system"
mmcblk0p24: 077f5c00 00000200 "cache"
mmcblk0p23: 4aabc400 00000200 "userdata"
mmcblk0p28: 01400000 00000200 "devlog"
mmcblk0p30: 00040000 00000200 "pdata"
mmcblk0p25: 00008000 00000200 "extra"
mmcblk0p17: 02800000 00000200 "radio"
mmcblk0p19: 01000000 00000200 "adsp"
mmcblk0p18: 007ffa00 00000200 "radio_config"
mmcblk0p26: 00400000 00000200 "modem_st1"
mmcblk0p27: 00400000 00000200 "modem_st2"
shell@pyramid:/ $
Hope this helps.
The Following User Says Thank You to heavy_metal_man For This Useful Post: [ View ]
15th July 2014, 10:34 PM   |  #3  
OP Senior Member
Thanks Meter: 38
 
109 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by heavy_metal_man

here is a more detailed layout from the gingerbread firmware.

Here is from mine with hboot 1.29.xxxxxx with 3.33 firmware

Code:
shell@pyramid:/ $ cat proc/emmc
cat proc/emmc
dev:        size     erasesize name
mmcblk0p32: 000ffa00 00000200 "misc"
mmcblk0p21: 00fffc00 00000200 "recovery"
mmcblk0p20: 01000000 00000200 "boot"
mmcblk0p22: 31fffc00 00000200 "system"
mmcblk0p24: 077f5c00 00000200 "cache"
mmcblk0p23: 4aabc400 00000200 "userdata"
mmcblk0p28: 01400000 00000200 "devlog"
mmcblk0p30: 00040000 00000200 "pdata"
mmcblk0p25: 00008000 00000200 "extra"
mmcblk0p17: 02800000 00000200 "radio"
mmcblk0p19: 01000000 00000200 "adsp"
mmcblk0p18: 007ffa00 00000200 "radio_config"
mmcblk0p26: 00400000 00000200 "modem_st1"
mmcblk0p27: 00400000 00000200 "modem_st2"
shell@pyramid:/ $
Hope this helps.

Thanks for that but that is not what I need I need someone to run the print command using parted, the thing that I really need to know is the partition numbers, because there are no resources for the sensation I would be taking a wild guess when removing the partitions and may delete a valuable partition such as the radio. This is the website that I am currently referring to http://ananthgs4geeks.blogspot.co.uk...ase-brick.html The reason that I cannot run the command myself is because my partitions are extremely messed up. Thanks again for the help.
15th July 2014, 11:10 PM   |  #4  
heavy_metal_man's Avatar
Recognized Contributor
Thanks Meter: 724
 
2,643 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by flare4000

Thanks for that but that is not what I need I need someone to run the print command using parted, the thing that I really need to know is the partition numbers, because there are no resources for the sensation I would be taking a wild guess when removing the partitions and may delete a valuable partition such as the radio. This is the website that I am currently referring to http://ananthgs4geeks.blogspot.co.uk...ase-brick.html The reason that I cannot run the command myself is because my partitions are extremely messed up. Thanks again for the help.

every time i run the command i get
Code:
error: cant have overlapping partitions
here is a cat proc/partitions if its any use :/
Code:
cat proc/partitions
major minor  #blocks  name

 179        0    2359296 mmcblk0
 179        1        128 mmcblk0p1
 179        2        256 mmcblk0p2
 179        3      32367 mmcblk0p3
 179        4          1 mmcblk0p4
 179        5         16 mmcblk0p5
 179        6        256 mmcblk0p6
 179        7      20442 mmcblk0p7
 179        8        256 mmcblk0p8
 179        9       1024 mmcblk0p9
 179       10        256 mmcblk0p10
 179       11       2048 mmcblk0p11
 179       12       1024 mmcblk0p12
 179       13         32 mmcblk0p13
 179       14       6144 mmcblk0p14
 179       15       1024 mmcblk0p15
 179       16        256 mmcblk0p16
 179       17      40960 mmcblk0p17
 179       18       8190 mmcblk0p18
 179       19      16384 mmcblk0p19
 179       20      16384 mmcblk0p20
 179       21      16383 mmcblk0p21
 179       22     819199 mmcblk0p22
 179       23    1223409 mmcblk0p23
 179       24     122839 mmcblk0p24
 179       25         32 mmcblk0p25
 179       26       4096 mmcblk0p26
 179       27       4096 mmcblk0p27
 179       28      20480 mmcblk0p28
 179       29          4 mmcblk0p29
 179       30        256 mmcblk0p30
 179       31         16 mmcblk0p31
 179       32       1022 mmcblk0p32
i couldnt get past the print issue.
The Following User Says Thank You to heavy_metal_man For This Useful Post: [ View ]
17th July 2014, 12:33 AM   |  #5  
OP Senior Member
Thanks Meter: 38
 
109 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by heavy_metal_man

every time i run the command i get

Code:
error: cant have overlapping partitions
here is a cat proc/partitions if its any use :/
Code:
cat proc/partitions
major minor  #blocks  name

 179        0    2359296 mmcblk0
 179        1        128 mmcblk0p1
 179        2        256 mmcblk0p2
 179        3      32367 mmcblk0p3
 179        4          1 mmcblk0p4
 179        5         16 mmcblk0p5
 179        6        256 mmcblk0p6
 179        7      20442 mmcblk0p7
 179        8        256 mmcblk0p8
 179        9       1024 mmcblk0p9
 179       10        256 mmcblk0p10
 179       11       2048 mmcblk0p11
 179       12       1024 mmcblk0p12
 179       13         32 mmcblk0p13
 179       14       6144 mmcblk0p14
 179       15       1024 mmcblk0p15
 179       16        256 mmcblk0p16
 179       17      40960 mmcblk0p17
 179       18       8190 mmcblk0p18
 179       19      16384 mmcblk0p19
 179       20      16384 mmcblk0p20
 179       21      16383 mmcblk0p21
 179       22     819199 mmcblk0p22
 179       23    1223409 mmcblk0p23
 179       24     122839 mmcblk0p24
 179       25         32 mmcblk0p25
 179       26       4096 mmcblk0p26
 179       27       4096 mmcblk0p27
 179       28      20480 mmcblk0p28
 179       29          4 mmcblk0p29
 179       30        256 mmcblk0p30
 179       31         16 mmcblk0p31
 179       32       1022 mmcblk0p32
i couldnt get past the print issue.

Well got past the print issue but that doesn't help so I'm trying this now http://android-revolution-hd.blogspo...a-htc-one.html if you are using 4ext as your recovery can you tell me what it says in info as I want to know how big each partition is. Thanks again for your help.
17th July 2014, 01:18 AM   |  #6  
heavy_metal_man's Avatar
Recognized Contributor
Thanks Meter: 724
 
2,643 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by flare4000

Well got past the print issue but that doesn't help so I'm trying this now http://android-revolution-hd.blogspo...a-htc-one.html if you are using 4ext as your recovery can you tell me what it says in info as I want to know how big each partition is. Thanks again for your help.

Click image for larger version

Name:	uploadfromtaptalk1405552693268.jpg
Views:	15
Size:	36.3 KB
ID:	2855506

Sent from my HTC Desire S using Tapatalk
The Following User Says Thank You to heavy_metal_man For This Useful Post: [ View ]
17th July 2014, 01:27 AM   |  #7  
OP Senior Member
Thanks Meter: 38
 
109 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by heavy_metal_man

Attachment 2855506

Sent from my HTC Desire S using Tapatalk

Well thanks for the help but I think I finally hit a stump, my phone is now mounting the system and cache but no matter what I do the data will not mount.
17th July 2014, 01:55 AM   |  #8  
heavy_metal_man's Avatar
Recognized Contributor
Thanks Meter: 724
 
2,643 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by flare4000

Well thanks for the help but I think I finally hit a stump, my phone is now mounting the system and cache but no matter what I do the data will not mount.

Does the formatting finish without any errors?

Sent from my HTC Desire S using Tapatalk
17th July 2014, 02:12 AM   |  #9  
OP Senior Member
Thanks Meter: 38
 
109 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by heavy_metal_man

Does the formatting finish without any errors?

Sent from my HTC Desire S using Tapatalk

The data partition? The formatting works most of the time, but yeah it does finish without errors, right now in 4ext the info is showing that all 3 partitions is mounted but I cannot flash any roms.
17th July 2014, 02:53 AM   |  #10  
heavy_metal_man's Avatar
Recognized Contributor
Thanks Meter: 724
 
2,643 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by flare4000

The data partition? The formatting works most of the time, but yeah it does finish without errors, right now in 4ext the info is showing that all 3 partitions is mounted but I cannot flash any roms.

in 4ext go try tools/wipe or format ext4/ data and see what happens. post any errors please

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes