[Q] Internal memmory issu on my HTC sensation Xe - HTC Sensation

Hello
Since a while some how i cant install any rom on my HTC sensation Xe , i tough maybe i'm having an issu with my internal memory
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 256 128 4d Unknown Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 257 768 256 51 Unknown Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 769 65502 32367 5d Unknown Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 65503 4718590 2326544 5 Extended Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 65504 65535 16 5a Unknown
/dev/block/mmcblk0p6 65537 66048 256 73 Unknown
/dev/block/mmcblk0p7 66050 106934 20442+ 0 Empty
/dev/block/mmcblk0p8 106936 107447 256 0 Empty
/dev/block/mmcblk0p9 107449 109496 1024 45 Unknown
/dev/block/mmcblk0p10 109498 110009 256 47 Unknown
/dev/block/mmcblk0p11 110011 114106 2048 46 Unknown
/dev/block/mmcblk0p12 114108 116155 1024 4c Unknown
/dev/block/mmcblk0p13 116157 116220 32 0 Empty
/dev/block/mmcblk0p14 116222 128509 6144 34 Unknown
/dev/block/mmcblk0p15 128511 130558 1024 36 Unknown
/dev/block/mmcblk0p16 130560 131071 256 76 Unknown
/dev/block/mmcblk0p17 131073 212992 40960 77 Unknown
/dev/block/mmcblk0p18 212994 229374 8190+ 74 Unknown
/dev/block/mmcblk0p19 229376 262143 16384 0 Empty
/dev/block/mmcblk0p20 262145 294912 16384 48 Unknown
/dev/block/mmcblk0p21 294914 327679 16383 71 Unknown
/dev/block/mmcblk0p22 327681 1966078 819199 83 Linux
/dev/block/mmcblk0p23 1966080 4412897 1223409 83 Linux
/dev/block/mmcblk0p24 4412899 4658576 122839 83 Linux
/dev/block/mmcblk0p25 4658578 4658641 32 90 Unknown
/dev/block/mmcblk0p26 4658643 4666834 4096 4a Unknown
/dev/block/mmcblk0p27 4666836 4675027 4096 4b Unknown
/dev/block/mmcblk0p28 4675029 4715988 20480 19 Unknown
/dev/block/mmcblk0p29 4715990 4715997 4 0 Empty
/dev/block/mmcblk0p30 4715999 4716510 256 23 Unknown
/dev/block/mmcblk0p31 4716512 4716543 16 0 Empty
/dev/block/mmcblk0p32 4716545 4718589 1022+ 76 Unknown
/dev/block/mmcblk0p33 65504 65535 16 5a Unknown
/dev/block/mmcblk0p34 65537 66048 256 73 Unknown
/dev/block/mmcblk0p35 66050 106934 20442+ 0 Empty
/dev/block/mmcblk0p36 106936 107447 256 0 Empty
/dev/block/mmcblk0p37 107449 109496 1024 45 Unknown
/dev/block/mmcblk0p38 109498 110009 256 47 Unknown
/dev/block/mmcblk0p39 110011 114106 2048 46 Unknown
/dev/block/mmcblk0p40 114108 116155 1024 4c Unknown
/dev/block/mmcblk0p41 116157 116220 32 0 Empty
/dev/block/mmcblk0p42 116222 128509 6144 34 Unknown
/dev/block/mmcblk0p43 128511 130558 1024 36 Unknown
/dev/block/mmcblk0p44 130560 131071 256 76 Unknown
/dev/block/mmcblk0p45 131073 212992 40960 77 Unknown
/dev/block/mmcblk0p46 212994 229374 8190+ 74 Unknown
/dev/block/mmcblk0p47 229376 262143 16384 0 Empty
/dev/block/mmcblk0p48 262145 294912 16384 48 Unknown
/dev/block/mmcblk0p49 294914 327679 16383 71 Unknown
/dev/block/mmcblk0p50 327681 1966078 819199 83 Linux
/dev/block/mmcblk0p51 1966080 4412897 1223409 83 Linux
/dev/block/mmcblk0p52 4412899 4658576 122839 83 Linux
/dev/block/mmcblk0p53 4658578 4658641 32 90 Unknown
/dev/block/mmcblk0p54 4658643 4666834 4096 4a Unknown
/dev/block/mmcblk0p55 4666836 4675027 4096 4b Unknown
/dev/block/mmcblk0p56 4675029 4715988 20480 19 Unknown
/dev/block/mmcblk0p57 4715990 4715997 4 0 Empty
/dev/block/mmcblk0p58 4715999 4716510 256 23 Unknown
/dev/block/mmcblk0p59 4716512 4716543 16 0 Empty
/dev/block/mmcblk0p60 4716545 4718589 1022+ 76 Unknown
Any help would be appriciated

Related

[solved]the new eMMC is up to 3.68 GiB, how can i make full use of the space

my htc DS was bricked by an accidentally freeze and the immediately battery pulled-out.
the eMMC-chip(marked as SAMSUNG104, KLM4G2DEJE A001, FDAE15PC) was completely dead,
i made a replacement with a new one(made by Sandisk serial:SEM04G), and then everything goes on good.
the bad eMMC shows
Code:
mmcblk0: mmc0:0001 M4G2DE 2.10 GiB
the new one shows
Code:
mmcblk0: mmc0:0001 [B]SEM04G [COLOR=blue]3.68 GiB[/COLOR][/B]
and when i check the partition info, i get these:
Code:
fdisk -ul
/sbin # fdisk -l /dev/block/mmcblk0
fdisk -l /dev/block/mmcblk0
[COLOR=red]Warning: deleting partitions after 60[/COLOR]
Disk /dev/block/mmcblk0: [B]3959 MB[/B], 3959422976 bytes
1 heads, 16 sectors/track, 483328 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 63 500 4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 63 71 64 45 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 71 634 4500 46 Unknown
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 634 483328 3861559 5 Extende
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 634 4384 30000 49 Unknown
/dev/block/mmcblk0p6 4384 5946 12500 50 Unknown
/dev/block/mmcblk0p7 5946 6202 2048 51 Unknown
/dev/block/mmcblk0p8 6202 6586 3072 52 Unknown
/dev/block/mmcblk0p9 6586 6842 2048 53 Unknown
/dev/block/mmcblk0p10 6842 6970 1024 54 Unknown
/dev/block/mmcblk0p11 6971 7098 1024 56 Unknown
/dev/block/mmcblk0p12 7099 8192 8751+ 55 Unknown
/dev/block/mmcblk0p13 8193 8577 3072 4a Unknown
/dev/block/mmcblk0p14 8577 8961 3072 4b Unknown
/dev/block/mmcblk0p15 8961 9089 1024 74 Unknown
/dev/block/mmcblk0p16 9089 10208 8957+ 75 Unknown
/dev/block/mmcblk0p17 10209 10240 256 76 Unknown
/dev/block/mmcblk0p18 10241 10369 1024 47 Unknown
/dev/block/mmcblk0p19 10369 10497 1024 34 Unknown
/dev/block/mmcblk0p20 10497 10657 1280 36 Unknown
/dev/block/mmcblk0p21 10657 11744 8701 71 Unknown
/dev/block/mmcblk0p22 11744 12256 4096 48 Unknown
/dev/block/mmcblk0p23 12257 12288 256 73 Unknown
/dev/block/mmcblk0p24 12289 12544 2047 26 Unknown
/dev/block/mmcblk0p25 12545 83968 571391+ 83 Linux
/dev/block/mmcblk0p26 83969 234368 1203199+ 83 Linux
/dev/block/mmcblk0p27 234369 272768 307199+ 83 Linux
/dev/block/mmcblk0p28 272769 275424 21247+ 19 Unknown
/dev/block/mmcblk0p29 275425 275456 256 23 Unknown
/dev/block/mmcblk0p30 634 4384 30000 49 Unknown
/dev/block/mmcblk0p31 4384 5946 12500 50 Unknown
/dev/block/mmcblk0p32 5946 6202 2048 51 Unknown
/dev/block/mmcblk0p33 6202 6586 3072 52 Unknown
/dev/block/mmcblk0p34 6586 6842 2048 53 Unknown
/dev/block/mmcblk0p35 6842 6970 1024 54 Unknown
/dev/block/mmcblk0p36 6971 7098 1024 56 Unknown
/dev/block/mmcblk0p37 7099 8192 8751+ 55 Unknown
/dev/block/mmcblk0p38 8193 8577 3072 4a Unknown
/dev/block/mmcblk0p39 8577 8961 3072 4b Unknown
/dev/block/mmcblk0p40 8961 9089 1024 74 Unknown
/dev/block/mmcblk0p41 9089 10208 8957+ 75 Unknown
/dev/block/mmcblk0p42 10209 10240 256 76 Unknown
/dev/block/mmcblk0p43 10241 10369 1024 47 Unknown
/dev/block/mmcblk0p44 10369 10497 1024 34 Unknown
/dev/block/mmcblk0p45 10497 10657 1280 36 Unknown
/dev/block/mmcblk0p46 10657 11744 8701 71 Unknown
/dev/block/mmcblk0p47 11744 12256 4096 48 Unknown
/dev/block/mmcblk0p48 12257 12288 256 73 Unknown
/dev/block/mmcblk0p49 12289 12544 2047 26 Unknown
/dev/block/mmcblk0p50 12545 83968 571391+ 83 Linux
/dev/block/mmcblk0p51 83969 234368 1203199+ 83 Linux
/dev/block/mmcblk0p52 234369 272768 307199+ 83 Linux
/dev/block/mmcblk0p53 272769 275424 21247+ 19 Unknown
/dev/block/mmcblk0p54 275425 275456 256 23 Unknown
/dev/block/mmcblk0p55 634 4384 30000 49 Unknown
/dev/block/mmcblk0p56 4384 5946 12500 50 Unknown
/dev/block/mmcblk0p57 5946 6202 2048 51 Unknown
/dev/block/mmcblk0p58 6202 6586 3072 52 Unknown
/dev/block/mmcblk0p59 6586 6842 2048 53 Unknown
/dev/block/mmcblk0p60 6842 6970 1024 54 Unknown
[B][COLOR=red]Partition table entries are not in disk order[/COLOR][/B]
i wonder:
if the new eMMC is up to 3.68 GiB, how can i make full use of the space?​
Edit: the capacity see http://tjworld.net/wiki/Android/HTC/EMMC/UnderstandingUserCapacity it explains that very well
Firstly congratulations you must be so relieved to have your device back and functioning.
Now some questions....
How did you get the new chip? Replacement/service centre?
Did you buy it yourself? who was it fitted by?
Can you provide urls where possible
I can't believe that you aren't able to reformat the partitions and use the space some how
although I'm curious why they (htc) have changed the chip type and supplier for that particular part, perhaps the old part is problematic or this may be the part used in newer models possibly the sensation and/or evo 3d?
Sent from my HTC Desire S using XDA Premium App
ben_pyett said:
Now some questions....
How did you get the new chip? Replacement/service centre?
Did you buy it yourself? who was it fitted by?
Can you provide urls where possible
I can't believe that you aren't able to reformat the partitions and use the space some how
although I'm curious why they (htc) have changed the chip type and supplier for that particular part, perhaps the old part is problematic or this may be the part used in newer models possibly the sensation and/or evo 3d?
Sent from my HTC Desire S using XDA Premium App
Click to expand...
Click to collapse
thanx for reply.
i did this replacement in our local-telecomm-market not htc official service.
so the url here doesn't make sence.
and Sandisk eMMC-chip mightbe from some bricked DHD or else where, i guess.
opumps said:
thanx for reply.
i did this replacement in our local-telecomm-market not htc official service.
so the url here doesn't make sence.
and Sandisk eMMC-chip mightbe from some bricked DHD or else where, i guess.
Click to expand...
Click to collapse
hmmm. how lucky are you to find a spare eMMC on a local-telecom-market. I wonder if it will be the same case when I have mine repaired. Or how hard is it to solder the chip? I read somewhere that soldering eMMC need like correct changing of temperature or something or else it will be a weak solder. Im now contemplating whether to send it for htc service center or just the mall cellphone repair shops.

[Q] S3 not saving all settings

hey all, i'm having some issues with my phone - it's having issues saving certain data.
Widget will randomly go missing/fail to load, wallpaper would be forgotten, default launcher, default keyboard with default to rom defaults etc.
wiping and trying different ROMs has no cure
I'm on hboot 3.01.
i saw one post to run 'fdisk -l /dev/block/mmcblk0', so i tried it - it doesn't all look right to me with 60 partitions!
c:\...\fastboot>adb shell
~ # ←[6nfdisk -l /dev/block/mmcblk0
fdisk -l /dev/block/mmcblk0
Warning: deleting partitions after 60
Disk /dev/block/mmcblk0: 15.7 GB, 15758000128 bytes
1 heads, 16 sectors/track, 1923584 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 17 128 4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 17 49 256 51 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 49 4094 32367 5d Unknown
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 4094 1923584 15355920 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 4095 4096 16 5a Unknown
/dev/block/mmcblk0p6 4097 4129 256 73 Unknown
/dev/block/mmcblk0p7 4129 6684 20442+ 0 Empty
/dev/block/mmcblk0p8 6684 6716 256 0 Empty
/dev/block/mmcblk0p9 6716 6844 1024 45 Unknown
/dev/block/mmcblk0p10 6844 6876 256 47 Unknown
/dev/block/mmcblk0p11 6876 7132 2048 46 Unknown
/dev/block/mmcblk0p12 7132 7260 1024 4c Unknown
/dev/block/mmcblk0p13 7260 7264 32 0 Empty
/dev/block/mmcblk0p14 7264 8032 6144 34 Unknown
/dev/block/mmcblk0p15 8032 8160 1024 36 Unknown
/dev/block/mmcblk0p16 8161 8192 256 76 Unknown
/dev/block/mmcblk0p17 8193 13313 40960 77 Unknown
/dev/block/mmcblk0p18 13313 14336 8190+ 74 Unknown
/dev/block/mmcblk0p19 14337 16384 16384 0 Empty
/dev/block/mmcblk0p20 16385 18433 16384 48 Unknown
/dev/block/mmcblk0p21 18433 20480 16383 71 Unknown
/dev/block/mmcblk0p22 20481 20608 1022+ 76 Unknown
/dev/block/mmcblk0p23 20608 21120 4096 4a Unknown
/dev/block/mmcblk0p24 21121 21632 4096 4b Unknown
/dev/block/mmcblk0p25 21633 24193 20480 19 Unknown
/dev/block/mmcblk0p26 24193 24193 4 0 Empty
/dev/block/mmcblk0p27 24193 24225 256 23 Unknown
/dev/block/mmcblk0p28 24225 24227 16 0 Empty
/dev/block/mmcblk0p29 24227 24387 1280+ 33 Unknown
/dev/block/mmcblk0p30 24387 24395 64 90 Unknown
/dev/block/mmcblk0p31 24396 36864 99752 0 Empty
/dev/block/mmcblk0p32 36865 249856 1703935 83 Linux
/dev/block/mmcblk0p33 249857 282624 262143+ 83 Linux
/dev/block/mmcblk0p34 282625 593920 2490367+ 83 Linux
/dev/block/mmcblk0p35 593921 1896192 10418176 c Win95 FAT32 (LB
A)
/dev/block/mmcblk0p36 4095 4096 16 5a Unknown
/dev/block/mmcblk0p37 4097 4129 256 73 Unknown
/dev/block/mmcblk0p38 4129 6684 20442+ 0 Empty
/dev/block/mmcblk0p39 6684 6716 256 0 Empty
/dev/block/mmcblk0p40 6716 6844 1024 45 Unknown
/dev/block/mmcblk0p41 6844 6876 256 47 Unknown
/dev/block/mmcblk0p42 6876 7132 2048 46 Unknown
/dev/block/mmcblk0p43 7132 7260 1024 4c Unknown
/dev/block/mmcblk0p44 7260 7264 32 0 Empty
/dev/block/mmcblk0p45 7264 8032 6144 34 Unknown
/dev/block/mmcblk0p46 8032 8160 1024 36 Unknown
/dev/block/mmcblk0p47 8161 8192 256 76 Unknown
/dev/block/mmcblk0p48 8193 13313 40960 77 Unknown
/dev/block/mmcblk0p49 13313 14336 8190+ 74 Unknown
/dev/block/mmcblk0p50 14337 16384 16384 0 Empty
/dev/block/mmcblk0p51 16385 18433 16384 48 Unknown
/dev/block/mmcblk0p52 18433 20480 16383 71 Unknown
/dev/block/mmcblk0p53 20481 20608 1022+ 76 Unknown
/dev/block/mmcblk0p54 20608 21120 4096 4a Unknown
/dev/block/mmcblk0p55 21121 21632 4096 4b Unknown
/dev/block/mmcblk0p56 21633 24193 20480 19 Unknown
/dev/block/mmcblk0p57 24193 24193 4 0 Empty
/dev/block/mmcblk0p58 24193 24225 256 23 Unknown
/dev/block/mmcblk0p59 24225 24227 16 0 Empty
/dev/block/mmcblk0p60 24227 24387 1280+ 33 Unknown
Partition table entries are not in disk order
~ # ←[6n
Click to expand...
Click to collapse
from what i've read on other phones, i doubt i can do much with the partitions are there is no S-Off for the s3...
whaddya think - fixable or warranty repair?

[Q] Partition Table Messed Up

Guys,
Need some help. When my device failed to boot(not able to mount /cache, /data) I researched ways to resolve the issue and eventually ended up using parted and fdisk. As a result found that partition no 4 was faulty..
-------------------------------------------------------------------------------------------
~ # parted /dev/block/mmcblk0p4
parted /dev/block/mmcblk0p4
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p4
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
Error: Can't have a partition outside the disk!
fdisk gave the following output
------------------------------------------------------------------------
~ # fdisk -ul /dev/block/mmcblk0
fdisk -ul /dev/block/mmcblk0
Warning: deleting partitions after 60
Disk /dev/block/mmcblk0: 2415 MB, 2415919104 bytes
1 heads, 16 sectors/track, 294912 cylinders, total 4718592 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 256 128 4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 257 768 256 51 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 769 65502 32367 5d Unknown
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 65503 4718590 2326544 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 65504 65535 16 5a Unknown
/dev/block/mmcblk0p6 65537 66048 256 73 Unknown
/dev/block/mmcblk0p7 66050 106934 20442+ 0 Empty
/dev/block/mmcblk0p8 106936 107447 256 0 Empty
/dev/block/mmcblk0p9 107449 109496 1024 45 Unknown
/dev/block/mmcblk0p10 109498 110009 256 47 Unknown
/dev/block/mmcblk0p11 110011 114106 2048 46 Unknown
/dev/block/mmcblk0p12 114108 116155 1024 4c Unknown
/dev/block/mmcblk0p13 116157 116220 32 0 Empty
/dev/block/mmcblk0p14 116222 128509 6144 34 Unknown
/dev/block/mmcblk0p15 128511 130558 1024 36 Unknown
/dev/block/mmcblk0p16 130560 131071 256 76 Unknown
/dev/block/mmcblk0p17 131073 212992 40960 77 Unknown
/dev/block/mmcblk0p18 212994 229374 8190+ 74 Unknown
/dev/block/mmcblk0p19 229376 262143 16384 0 Empty
/dev/block/mmcblk0p20 262145 294912 16384 48 Unknown
/dev/block/mmcblk0p21 294914 327679 16383 71 Unknown
/dev/block/mmcblk0p22 327681 1966078 819199 83 Linux
/dev/block/mmcblk0p23 1966080 4412897 1223409 83 Linux
/dev/block/mmcblk0p24 4412899 4658576 122839 83 Linux
/dev/block/mmcblk0p25 4658578 4658641 32 90 Unknown
/dev/block/mmcblk0p26 4658643 4666834 4096 4a Unknown
/dev/block/mmcblk0p27 4666836 4675027 4096 4b Unknown
/dev/block/mmcblk0p28 4675029 4715988 20480 19 Unknown
/dev/block/mmcblk0p29 4715990 4715997 4 0 Empty
/dev/block/mmcblk0p30 4715999 4716510 256 23 Unknown
/dev/block/mmcblk0p31 4716512 4716543 16 0 Empty
/dev/block/mmcblk0p32 4716545 4718589 1022+ 76 Unknown
/dev/block/mmcblk0p33 65504 65535 16 5a Unknown
/dev/block/mmcblk0p34 65537 66048 256 73 Unknown
/dev/block/mmcblk0p35 66050 106934 20442+ 0 Empty
/dev/block/mmcblk0p36 106936 107447 256 0 Empty
/dev/block/mmcblk0p37 107449 109496 1024 45 Unknown
/dev/block/mmcblk0p38 109498 110009 256 47 Unknown
/dev/block/mmcblk0p39 110011 114106 2048 46 Unknown
/dev/block/mmcblk0p40 114108 116155 1024 4c Unknown
/dev/block/mmcblk0p41 116157 116220 32 0 Empty
/dev/block/mmcblk0p42 116222 128509 6144 34 Unknown
/dev/block/mmcblk0p43 128511 130558 1024 36 Unknown
/dev/block/mmcblk0p44 130560 131071 256 76 Unknown
/dev/block/mmcblk0p45 131073 212992 40960 77 Unknown
/dev/block/mmcblk0p46 212994 229374 8190+ 74 Unknown
/dev/block/mmcblk0p47 229376 262143 16384 0 Empty
/dev/block/mmcblk0p48 262145 294912 16384 48 Unknown
/dev/block/mmcblk0p49 294914 327679 16383 71 Unknown
/dev/block/mmcblk0p50 327681 1966078 819199 83 Linux
/dev/block/mmcblk0p51 1966080 4412897 1223409 83 Linux
/dev/block/mmcblk0p52 4412899 4658576 122839 83 Linux
/dev/block/mmcblk0p53 4658578 4658641 32 90 Unknown
/dev/block/mmcblk0p54 4658643 4666834 4096 4a Unknown
/dev/block/mmcblk0p55 4666836 4675027 4096 4b Unknown
/dev/block/mmcblk0p56 4675029 4715988 20480 19 Unknown
/dev/block/mmcblk0p57 4715990 4715997 4 0 Empty
/dev/block/mmcblk0p58 4715999 4716510 256 23 Unknown
/dev/block/mmcblk0p59 4716512 4716543 16 0 Empty
/dev/block/mmcblk0p60 4716545 4718589 1022+ 76 Unknown
Partition table entries are not in disk order
--------------------------------------------------------------------
So i went ahead and deleted partition 4 using fdisk and then parted gave out the partition table as below
~ # 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
print
print
Model: MMC MLL00M (sd/mmc)
Disk /dev/block/mmcblk0: 2416MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 132kB 131kB primary boot
2 132kB 394kB 262kB primary
3 394kB 33.5MB 33.1MB primary
--------------------------------------------------------------------------
I then re-booted the phone in bootloader and it never came back up - ofcourse what i missed was to move all other partitions up... 5 to 4, 6 to 5 etc..
I downloaded QPST as the device is now only connecting in download mode and need an Partition image file to download on the device. Can somebody please use QPST and backup partition image file and share please. I believe the same can be downloaded to the phone using QPST.
Please guide / advice if there are any other options. Have checked the full thread of HTC Unbriking project but no luck.
I was on hboot 1.29 and S-OFF.
Please help.
Missed to mention that device is Sensation XE.
Sent from my Nexus 7 using XDA Free mobile app
The partition table was fine. You nuked it. JTAG time

[Q] How can I list partitions in parted? (getting error messages)

Keep in mind, I'm a Linux user, but just jumping blindly into Android. I have rooted the device and am running these commands with ADB (with TWRP running on the phone) as root.
When I try to run the command parted /dev/block/mmcblk0, and then print out the partition details, I get the following error message:
Code:
~ # 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
print
Error: Can't have overlapping partitions.
(parted)
How can I read the partition in parted, and more importantly, why am I getting this error message?
The thing is, the phone seems to be working just fine, so if there is any damage to the partition table, it does not seem to be affecting phone function in any way.
If it makes a difference, the phone is an HTC One V with firmware tailored for the Cricket wireless company, but I asked this in the general Q&A because I'm assuming this isn't phone specific, but a general Android issue.
Just in case someone needs the additional information, the phone doesn't seem to have lsblk built in, but this is the output from fdisk (and gives more warning messages that I'm not entirely familiar with):
Code:
~ # fdisk -l -u /dev/block/mmcblk0
Warning: deleting partitions after 60
Disk /dev/block/mmcblk0: 2432 MB, 2432696320 bytes
1 heads, 16 sectors/track, 296960 cylinders, total 4751360 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 1000 500 4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 1001 1128 64 45 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 1129 10128 4500 46 Unknown
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 10129 4751358 2370615 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 10130 70129 30000 49 Unknown
/dev/block/mmcblk0p6 70131 95130 12500 50 Unknown
/dev/block/mmcblk0p7 95132 99227 2048 51 Unknown
/dev/block/mmcblk0p8 99229 105372 3072 52 Unknown
/dev/block/mmcblk0p9 105374 109469 2048 53 Unknown
/dev/block/mmcblk0p10 109471 111518 1024 54 Unknown
/dev/block/mmcblk0p11 111520 113567 1024 56 Unknown
/dev/block/mmcblk0p12 113569 131071 8751+ 55 Unknown
/dev/block/mmcblk0p13 131073 139264 4096 4a Unknown
/dev/block/mmcblk0p14 139266 147457 4096 4b Unknown
/dev/block/mmcblk0p15 147459 149506 1024 74 Unknown
/dev/block/mmcblk0p16 149508 163326 6909+ 75 Unknown
/dev/block/mmcblk0p17 163328 163839 256 76 Unknown
/dev/block/mmcblk0p18 163841 165888 1024 47 Unknown
/dev/block/mmcblk0p19 165890 167937 1024 34 Unknown
/dev/block/mmcblk0p20 167939 170498 1280 36 Unknown
/dev/block/mmcblk0p21 170500 187901 8701 71 Unknown
/dev/block/mmcblk0p22 187903 196094 4096 48 Unknown
/dev/block/mmcblk0p23 196096 196607 256 73 Unknown
/dev/block/mmcblk0p24 196609 200702 2047 26 Unknown
/dev/block/mmcblk0p25 200704 1835006 817151+ 83 Linux
/dev/block/mmcblk0p26 1835008 3833854 999423+ 83 Linux
/dev/block/mmcblk0p27 3833856 4095998 131071+ 83 Linux
/dev/block/mmcblk0p28 4096000 4452350 178175+ 83 Linux
/dev/block/mmcblk0p29 4452352 4456446 2047+ 33 Unknown
/dev/block/mmcblk0p30 4456448 4504942 24247+ 19 Unknown
/dev/block/mmcblk0p31 4504944 4505085 71 90 Unknown
/dev/block/mmcblk0p32 4505087 4505598 256 23 Unknown
/dev/block/mmcblk0p33 4505600 4702191 98296 c Win95 FAT32 (LBA)
/dev/block/mmcblk0p34 10130 70129 30000 49 Unknown
/dev/block/mmcblk0p35 70131 95130 12500 50 Unknown
/dev/block/mmcblk0p36 95132 99227 2048 51 Unknown
/dev/block/mmcblk0p37 99229 105372 3072 52 Unknown
/dev/block/mmcblk0p38 105374 109469 2048 53 Unknown
/dev/block/mmcblk0p39 109471 111518 1024 54 Unknown
/dev/block/mmcblk0p40 111520 113567 1024 56 Unknown
/dev/block/mmcblk0p41 113569 131071 8751+ 55 Unknown
/dev/block/mmcblk0p42 131073 139264 4096 4a Unknown
/dev/block/mmcblk0p43 139266 147457 4096 4b Unknown
/dev/block/mmcblk0p44 147459 149506 1024 74 Unknown
/dev/block/mmcblk0p45 149508 163326 6909+ 75 Unknown
/dev/block/mmcblk0p46 163328 163839 256 76 Unknown
/dev/block/mmcblk0p47 163841 165888 1024 47 Unknown
/dev/block/mmcblk0p48 165890 167937 1024 34 Unknown
/dev/block/mmcblk0p49 167939 170498 1280 36 Unknown
/dev/block/mmcblk0p50 170500 187901 8701 71 Unknown
/dev/block/mmcblk0p51 187903 196094 4096 48 Unknown
/dev/block/mmcblk0p52 196096 196607 256 73 Unknown
/dev/block/mmcblk0p53 196609 200702 2047 26 Unknown
/dev/block/mmcblk0p54 200704 1835006 817151+ 83 Linux
/dev/block/mmcblk0p55 1835008 3833854 999423+ 83 Linux
/dev/block/mmcblk0p56 3833856 4095998 131071+ 83 Linux
/dev/block/mmcblk0p57 4096000 4452350 178175+ 83 Linux
/dev/block/mmcblk0p58 4452352 4456446 2047+ 33 Unknown
/dev/block/mmcblk0p59 4456448 4504942 24247+ 19 Unknown
/dev/block/mmcblk0p60 4504944 4505085 71 90 Unknown
Partition table entries are not in disk order

How to resize /data /system and /sdcard partition

Hello
I Found this tutorial for resizing Android partition but nothing happens:
I followed all the steps but I am missing something and cant get it work
So far I have
/system 1.6GB
/cache 255MB
/data (userdata) 2.4 GB
/sdcard 9.9GB
What I want is to give to the /data partition more 3 GB to became 5.4 GB
and /sdcard will be 6.9 GB
SystemR89 said:
[size=+2]Are you annoyied to move your apps on SD?
Are you experiencing slow down on your phone 'cause too many apps out of internal memory?
That's the solution![/size]
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead pets, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, We will
* laugh at you. Loud and hard.
*/
YOU ARE GOING TO MODIFY PHONE'S PARTITION TABLE, A WRONG STEP COULD BRICK YOUR PHONE.​
PREREQUISITES:
Linux computer with Android SDK installed or a mind in order to use these instructions in a different way (different OS, partial SDK installation, ecc...)
30-60min
Backup of your apps, data and your internal memory, you have to re-flash your rom. If needed backup your "sdcard" partition (you are going to loose everything in, so also apps on sd card), maybe you could consider a nandroid backup for a disaster recovery and/or titanium backup (or equivalent) to restore your apps and settings.
INSTRUCTIONS:
Install and boot TWRP
Get a shell:
Code:
(PC) adb shell
Umount sdcard
Code:
(ADB SHELL) umount /sdcard
Open fdisk
Code:
(ADB SHELL) fdisk /dev/block/mmcblk0
Print current partition table (and save the output somewhere)
Code:
(ADB SHELL/fdisk) p
Remove sdcard and data partition:
Code:
(ADB SHELL/fdisk) d
(ADB SHELL/fdisk) 15
(ADB SHELL/fdisk) d
(ADB SHELL/fdisk) 14
Create new data partition
Code:
(ADB SHELL/fdisk) n
(First cylinder) -> you have to indicate the same start cylinder of partition 14 read in step 6
(Last cylinder) -> +8192M (this will create a 8gB partition)
Check new partition table
Code:
(ADB SHELL/fdisk) p
Create new sd partition
Code:
(ADB SHELL/fdisk) n
(First cylinder) -> you have to indicate the stop cylinder of partition 14 read in step 8 +1. If you read 292945 as stop cylinder you have to write 292946.
(Last cylinder) -> just press enter
(ADB SHELL/fdisk) t
(ADB SHELL/fdisk) 15
(ADB SHELL/fdisk) c
Write changes to partition table
Code:
(ADB SHELL/fdisk) w
"wipe" data and sdcard to format your new partitions
Push your ROM and gapps
Code:
(PC) adb push myrom.zip /sdcard/
(PC) adb push gapps.zip /sdcard/
Flash ROM and gapps
Reboot
...if everything was going successfully...
Eventually restore sdcard data
Done!
Enjoy your new big data partiton
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
What I did is to follow the instructions
from 1 to 10 from the first post
Here the partition from df command
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 405576 20 405556 0% /dev
tmpfs 405576 16 405560 0% /tmp
/dev/block/mmcblk0p34 258012 4296 253716 2% /cache
/dev/block/mmcblk0p36 10405888 2256776 8149112 22% /sdcard
/dev/block/mmcblk0p36 10405888 2256776 8149112 22% /and-sec
~ # umount -a
umount: can't umount /tmp: Device or resource busy
umount: can't umount /sys/fs/selinux: Device or resource busy
umount: can't umount /sys: Device or resource busy
umount: can't umount /dev/pts: Device or resource busy
umount: can't umount /dev: Device or resource busy
~ # df
Filesystem 1K-blocks Used Available Use% Mounted on
df: /proc/mounts: No such file or directory
~ # fdisk /dev/block/mmcblk0
1. umount -a
2. fdisk /dev/block/mmcblk0
then type p
Disk /dev/block/mmcblk0: 15.6 GB, 15634268160 bytes
1 heads, 16 sectors/track, 1908480 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 17 128 4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 17 49 256 51 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 49 16382 130671 5d Unknown
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 16382 1908480 15136784 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 16383 16384 16 5a Unknown
/dev/block/mmcblk0p6 16385 16417 256 73 Unknown
/dev/block/mmcblk0p7 16417 18364 15577+ 5b Unknown
/dev/block/mmcblk0p8 18364 18396 256 5c Unknown
/dev/block/mmcblk0p9 18396 18524 1024 45 Unknown
/dev/block/mmcblk0p10 18524 18556 256 47 Unknown
/dev/block/mmcblk0p11 18556 18812 2048 46 Unknown
/dev/block/mmcblk0p12 18812 18940 1024 4c Unknown
/dev/block/mmcblk0p13 18940 18944 32 0 Empty
/dev/block/mmcblk0p14 18944 19712 6144 34 Unknown
/dev/block/mmcblk0p15 19712 19840 1024 36 Unknown
/dev/block/mmcblk0p16 19840 19968 1024 0 Empty
/dev/block/mmcblk0p17 19968 25728 46080 77 Unknown
/dev/block/mmcblk0p18 25729 27008 10240 7a Unknown
/dev/block/mmcblk0p19 27009 27649 5120 0 Empty
/dev/block/mmcblk0p20 27649 28672 8190+ 74 Unknown
/dev/block/mmcblk0p21 28673 30720 16384 48 Unknown
/dev/block/mmcblk0p22 30721 32768 16383+ 71 Unknown
/dev/block/mmcblk0p23 32769 32896 1022+ 76 Unknown
/dev/block/mmcblk0p24 32896 33408 4096 4a Unknown
/dev/block/mmcblk0p25 33409 33920 4096 4b Unknown
/dev/block/mmcblk0p26 33921 36481 20480 19 Unknown
/dev/block/mmcblk0p27 36481 36481 4 0 Empty
/dev/block/mmcblk0p28 36481 36513 256 23 Unknown
/dev/block/mmcblk0p29 36513 36515 16 0 Empty
/dev/block/mmcblk0p30 36515 36675 1280+ 0 Empty
/dev/block/mmcblk0p31 36675 36683 64 0 Empty
/dev/block/mmcblk0p32 36684 49152 99752 0 Empty
/dev/block/mmcblk0p33 49153 262144 1703935 83 Linux
/dev/block/mmcblk0p34 262145 294912 262143+ 83 Linux
/dev/block/mmcblk0p35 294913 606208 2490367+ 83 Linux
/dev/block/mmcblk0p36 606209 1908480 10418176 c Win95 FAT32 (LBA)
/dev/block/mmcblk0p37 16383 16384 16 5a Unknown
/dev/block/mmcblk0p38 16385 16417 256 73 Unknown
/dev/block/mmcblk0p39 16417 18364 15577+ 5b Unknown
/dev/block/mmcblk0p40 18364 18396 256 5c Unknown
/dev/block/mmcblk0p41 18396 18524 1024 45 Unknown
/dev/block/mmcblk0p42 18524 18556 256 47 Unknown
/dev/block/mmcblk0p43 18556 18812 2048 46 Unknown
/dev/block/mmcblk0p44 18812 18940 1024 4c Unknown
/dev/block/mmcblk0p45 18940 18944 32 0 Empty
/dev/block/mmcblk0p46 18944 19712 6144 34 Unknown
/dev/block/mmcblk0p47 19712 19840 1024 36 Unknown
/dev/block/mmcblk0p48 19840 19968 1024 0 Empty
/dev/block/mmcblk0p49 19968 25728 46080 77 Unknown
/dev/block/mmcblk0p50 25729 27008 10240 7a Unknown
/dev/block/mmcblk0p51 27009 27649 5120 0 Empty
/dev/block/mmcblk0p52 27649 28672 8190+ 74 Unknown
/dev/block/mmcblk0p53 28673 30720 16384 48 Unknown
/dev/block/mmcblk0p54 30721 32768 16383+ 71 Unknown
/dev/block/mmcblk0p55 32769 32896 1022+ 76 Unknown
/dev/block/mmcblk0p56 32896 33408 4096 4a Unknown
/dev/block/mmcblk0p57 33409 33920 4096 4b Unknown
/dev/block/mmcblk0p58 33921 36481 20480 19 Unknown
/dev/block/mmcblk0p59 36481 36481 4 0 Empty
/dev/block/mmcblk0p60 36481 36513 256 23 Unknown
Partition table entries are not in disk order
And see the partition I need to delete
/dev/block/mmcblk0p35 294913 606208 2490367+ 83 Linux
/dev/block/mmcblk0p36 606209 1908480 10418176 c Win95 FAT32 (LBA)
---------------------------------
/data partition is 2.4 GB so dev/block/mmcblk0p35
/storage partition is 9.9 GB /dev/block/mmcblk0p36
then d
35
d
35
Because when I first delete 35 partition 36 became 35...
Next thing I am adding new parttion
after adding new partition
/dev/block/mmcblk0p59 294913 929679 5078128+ 83 Linux
This is for sd card parttion:
Command (m for help): n
First cylinder (18941-1908480, default 18941): 929680
Sector 14874864 is already allocated
First cylinder (929681-1908480, default 929681):
Using default value 929681
Last cylinder or +size or +sizeM or +sizeK (929681-1908480, default 1908480):
Using default value 1908480
And I get this
/dev/block/mmcblk0p60 929681 1908480 7830399+ 83 Linux
Then I did
Command (m for help): t
Partition number (1-60): 60
Hex code (type L to list codes): c
Changed system type of partition 60 to c (Win95 FAT32 (LBA))
And Finally I have
/dev/block/mmcblk0p59 294913 929679 5078128+ 83 Linux ===> should be /data
/dev/block/mmcblk0p60 929681 1908480 7830399+ c Win95 FAT32 (LBA) => should be /sdcard
And then I did
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
Everything so far is good
The problem now is how to deal with step 11 ===> "wipe" data and sdcard to format your new partitions
I have searched in the forum and I found this comment http://forum.xda-developers.com/show...&postcount=446
It says 8) "wipe" data and sdcard to format your new partitions. (May require to mount the SDCARD)
I am trying to mount the partitions
~ # mount -a
mount: mounting /dev/block/mmcblk0p34 on /cache failed: No such file or directory
mount: mounting /dev/block/mmcblk0p35 on /data failed: No such file or directory
mount: mounting /dev/block/mmcblk0p33 on /system failed: No such file or directory
mount: mounting /dev/block/mmcblk0p36 on /sdcard failed: No such file or directory
mount: mounting /usb-otg on vfat failed: No such file or directory
When I check back
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 17 128 4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 17 49 256 51 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 49 16382 130671 5d Unknown
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 16382 1908480 15136784 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 16383 16384 16 5a Unknown
/dev/block/mmcblk0p6 16385 16417 256 73 Unknown
/dev/block/mmcblk0p7 16417 18364 15577+ 5b Unknown
/dev/block/mmcblk0p8 18364 18396 256 5c Unknown
/dev/block/mmcblk0p9 18396 18524 1024 45 Unknown
/dev/block/mmcblk0p10 18524 18556 256 47 Unknown
/dev/block/mmcblk0p11 18556 18812 2048 46 Unknown
/dev/block/mmcblk0p12 18812 18940 1024 4c Unknown
/dev/block/mmcblk0p13 18940 18944 32 0 Empty
/dev/block/mmcblk0p14 18944 19712 6144 34 Unknown
/dev/block/mmcblk0p15 19712 19840 1024 36 Unknown
/dev/block/mmcblk0p16 19840 19968 1024 0 Empty
/dev/block/mmcblk0p17 19968 25728 46080 77 Unknown
/dev/block/mmcblk0p18 25729 27008 10240 7a Unknown
/dev/block/mmcblk0p19 27009 27649 5120 0 Empty
/dev/block/mmcblk0p20 27649 28672 8190+ 74 Unknown
/dev/block/mmcblk0p21 28673 30720 16384 48 Unknown
/dev/block/mmcblk0p22 30721 32768 16383+ 71 Unknown
/dev/block/mmcblk0p23 32769 32896 1022+ 76 Unknown
/dev/block/mmcblk0p24 32896 33408 4096 4a Unknown
/dev/block/mmcblk0p25 33409 33920 4096 4b Unknown
/dev/block/mmcblk0p26 33921 36481 20480 19 Unknown
/dev/block/mmcblk0p27 36481 36481 4 0 Empty
/dev/block/mmcblk0p28 36481 36513 256 23 Unknown
/dev/block/mmcblk0p29 294913 929679 5078128+ 83 Linux
/dev/block/mmcblk0p30 929681 1908480 7830399+ c Win95 FAT32 (LBA)
When I flash with again I am with 2.4 GB /data and 9.9GB /sdcard
Can someone help me out with this, because I am sure that I am missing something little thing to get it work
If you're re-flashing using the HTC RUU's, it will override any chances you've made.
Renan Lazarotto said:
If you're re-flashing using the HTC RUU's, it will override any chances you've made.
Click to expand...
Click to collapse
I reflash the with TWRP version 3....
The problem I have after step 10, I am not able to mount back to follwing partitions, to be able to format it with the changed partition table.....
/dev/block/mmcblk0p33 49153 262144 1703935 83 Linux ====> /system
/dev/block/mmcblk0p34 262145 294912 262143+ 83 Linux ====> /cache
/dev/block/mmcblk0p35 294913 606208 2490367+ 83 Linux ====> /data
/dev/block/mmcblk0p36 606209 1908480 10418176 c Win95 FAT32 (LBA) ====> /sdcard

Categories

Resources