I've erased all of my partitions and need to creat new partitions.. but i don't know which partitions was in my phone.
Can anyone post partition list from fdisk please?
Instructions:
1. adb shell
2. fdisk /dev/block/mmcblk0
3. p
4. take a screenshot
5. post it here
Thank you very much
READ THE RULES!!! Wrong section completely
Sent from my HTC VLE_U using xda app-developers app
1. Wrong section, which really makes me mad.
2. Can't repartition without S-OFF, don't even get me started on that.
So before you get all "But I'm a noob, help me" or "dude it was a simple question, don't flame ME!", remember this - this happens too much and us users here don't like a dirty forum. Read the rules before you make another useless post on XDA.
I think you guys dropped it on him too badly he still hasn't replied on the thread lol
Sent from a man, using a mobile phone
Moved To Q&A
Do not start Q&A threads in the dev section! This just clutters up our great forum and irritates other users. Also cleaned this thread, there is no need to keep telling this user of his mistake. Please just report and let us mods sort it. Thanks.
Well it is impossible to erase partitions without S-OFF as the NAND write protection will prohibit him from doing that.
Sent from my locked, tampered ville
Maybe this is useful info:
major minor #blocks name
179 0 15267840 mmcblk0
179 1 128 mmcblk0p1
179 2 256 mmcblk0p2
179 3 130671 mmcblk0p3
179 4 1 mmcblk0p4
179 5 16 mmcblk0p5
179 6 256 mmcblk0p6
179 7 15577 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 1024 mmcblk0p16
179 17 46080 mmcblk0p17
179 18 10240 mmcblk0p18
179 19 5120 mmcblk0p19
179 20 8190 mmcblk0p20
179 21 16384 mmcblk0p21
179 22 16383 mmcblk0p22
179 23 1022 mmcblk0p23
179 24 4096 mmcblk0p24
179 25 4096 mmcblk0p25
179 26 20480 mmcblk0p26
179 27 4 mmcblk0p27
179 28 256 mmcblk0p28
179 29 16 mmcblk0p29
179 30 1280 mmcblk0p30
179 31 64 mmcblk0p31
179 32 99752 mmcblk0p32
179 33 1703935 mmcblk0p33
179 34 262143 mmcblk0p34
179 35 2490367 mmcblk0p35
179 36 10418176 mmcblk0p36
dev: size erasesize name
mmcblk0p23: 000ffa00 00000200 "misc"
mmcblk0p22: 00fffe00 00000200 "recovery"
mmcblk0p21: 01000000 00000200 "boot"
mmcblk0p33: 67fffc00 00000200 "system"
mmcblk0p30: 00140200 00000200 "local"
mmcblk0p34: 0ffffe00 00000200 "cache"
mmcblk0p35: 97fffe00 00000200 "userdata"
mmcblk0p26: 01400000 00000200 "devlog"
mmcblk0p28: 00040000 00000200 "pdata"
mmcblk0p36: 27be00000 00000200 "fat"
mmcblk0p31: 00010000 00000200 "extra"
mmcblk0p17: 02d00000 00000200 "radio"
mmcblk0p18: 00a00000 00000200 "adsp"
mmcblk0p16: 00100000 00000200 "dsps"
mmcblk0p19: 00500000 00000200 "wcnss"
mmcblk0p20: 007ffa00 00000200 "radio_config"
mmcblk0p24: 00400000 00000200 "modem_st1"
mmcblk0p25: 00400000 00000200 "modem_st2"
Related
Hey Flashaholics,
I just S-OFFed my phone and now I got an idea...
Somehow it should be possible to change or resize the partition layout of our beloved One S's NAND, shouldn't it?
The currently active layout is like this: (adb shell buysbox df)
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 341284 48 341236 0% /dev
tmpfs 341284 0 341284 0% /mnt/secure
tmpfs 341284 0 341284 0% /mnt/asec
tmpfs 341284 0 341284 0% /mnt/obb
/dev/block/mmcblk0p33
[B] 1677156 406132 1271024 24% /system[/B]
/dev/block/mmcblk0p35
[B] 2451252 760048 1691204 31% /data[/B]
/dev/block/vold/179:36
[B]10414080 7743136 2670944 74% /storage/sdcard0[/B]
And I was always curios whether it can be changed, because I simply don't need a total of 4 gigs for /system and /data.
+2 Gigs on the storage partition are about 20% more, or in other words, my whole EU Navigon maps... :laugh:
So guys, I did not find any information about changing a NAND part. layout on google for newer phones, does it mean, that it's just not possible?
Does anyone have more knowledge than me on this?
+1 I need more storage for music/video etc etc etc..
I'd be tempted to remove them all together - or reduce the count as much as practically possible.
In 'nix land newer filesystems use a pooled approach, so you don't have to cut things up and waste space. It's heartbreaking when filesystem a is full and b is empty!
I would be fine with 1gb of Storage instead of 2gb, Also the System partition cut down by 500mb or so.
Isn't the partition information contained in the HBOOT? Now that were S-Off, can the HBOOT be edited and flashed even though the crc checksum would be invalid?
Would love to see this!
We had this on my Nexus One using a custom hboot called Blackrose. We could change the partition scheme using a fastboot command. Hope we get something similar to it on the HOS!
we were able to do it on my Nexus One with fake s-off and a hex editor
not sure why it couldn't be done--some dev must have enough interest though
we needed it on the N1 to get ICS running since phone only had 500mg internal
Here's some stuff I found, hopefully it will serve as a good starting point.
http://forum.xda-developers.com/showthread.php?t=1959691
http://forums.androidcentral.com/in...ks/118206-changing-your-partition-layout.html
Edit: Fixed wrongly pasted links.
Fixed
http://forum.xda-developers.com/showthread.php?t=1959691
1|[email protected]:/ # cat /proc/emmc
dev: size erasesize name
mmcblk0p23: 000ffa00 00000200 "misc"
mmcblk0p22: 00fffe00 00000200 "recovery"
mmcblk0p21: 01000000 00000200 "boot"
mmcblk0p33: 67fffc00 00000200 "system"
mmcblk0p30: 00140200 00000200 "local"
mmcblk0p34: 0ffffe00 00000200 "cache"
mmcblk0p35: 97fffe00 00000200 "userdata"
mmcblk0p26: 01400000 00000200 "devlog"
mmcblk0p28: 00040000 00000200 "pdata"
mmcblk0p36: 27be00000 00000200 "fat"
mmcblk0p31: 00010000 00000200 "extra"
mmcblk0p17: 02d00000 00000200 "radio"
mmcblk0p18: 00a00000 00000200 "adsp"
mmcblk0p16: 00100000 00000200 "dsps"
mmcblk0p19: 00500000 00000200 "wcnss"
mmcblk0p20: 007ffa00 00000200 "radio_config"
mmcblk0p24: 00400000 00000200 "modem_st1"
mmcblk0p25: 00400000 00000200 "modem_st2"
[email protected]:/ # < command ..... deleted to protect phones and linux rigs > /dev/block/mmcblk0
The number of cylinders for this disk is set to 1908480.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: deleting partitions after 60
Command (m for help): 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
Command (m for help):
edit: I tried to change the partition type on '36 in cm10.1 and TWRP but it didn't take ( indeed I'm S-OFF ). The best approach would be to set some spare/unused partitions? (overlap is legal but not best practice).
Scared as the hboot does read files/stuff of them, that's how the bootloader screen can display your cid and radio info.
Someone please figure this out I will love you forever.
I wonder if this commit on the 4 March nightly has any impact on being able to use custom partitions?
vold: add support for ext4 media
Nope, I think it only says that access to ext4 partitions is now possible.
Now anyway, this thread looks interesting: http://forum.xda-developers.com/showthread.php?t=1959445
You could come close to the same result if you use symlinks. In fact a few One S users already do.
See http://forum.xda-developers.com/showthread.php?t=2014541&highlight=symlink
dc211 said:
You could come close to the same result if you use symlinks. In fact a few One S users already do.
See http://forum.xda-developers.com/showthread.php?t=2014541&highlight=symlink
Click to expand...
Click to collapse
I'm still using this method, but it's far from ideal. Especially when one needs to make nandroids of the /data partition, you end up with a backup that can't fit on the SD because of 1.5 GB of music in it. Being able to actually allocate those extra GBs to the SD partition would be perfect.
Hey guys.
Is there a way to extract the stock recovery from the one mini?
Yes using adb shell command: "dd if=PARTITION_OF_RECOVERY of =/sdcard/recovery.img" then copy recovery.img from sdcard to your PC.
It will have 13mbs, if you extract it with cygwin and then repack it will have 4mb.
To know the partition of recovery, adb shell "cat /proc/partitions"
xpirt
xpirt said:
Yes using adb shell command: "dd if=PARTITION_OF_RECOVERY of =/sdcard/recovery.img" then copy recovery.img from sdcard to your PC.
It will have 13mbs, if you extract it with cygwin and then repack it will have 4mb.
To know the partition of recovery, adb shell "cat /proc/partitions"
xpirt
Click to expand...
Click to collapse
Okay i will get the partition name with this cmd?
"adb shell "cat /proc/partitions"
And the result i fill in the name here for this term: "PARTITION_OF_RECOVERY " ?
johnsk said:
Okay i will get the partition name with this cmd?
cat /proc/partitions
And the result i fill in the name here for this term: "PARTITION_OF_RECOVERY " ?
Click to expand...
Click to collapse
Open cmd into adb path, type "adb shell" then type "cat /proc/partitions", save recovery partition.
Then type "dd if=XXXXXXXXX of=/sdcard/recovery.img".
xpirt
xpirt said:
Open cmd into adb path, type "adb shell" then type "cat /proc/partitions", save recovery partition.
Then type "dd if=XXXXXXXXX of=/sdcard/recovery.img".
xpirt
Click to expand...
Click to collapse
Ui nice.
And now?
Code:
major minor #blocks name
7 0 45770 loop0
7 1 16664 loop1
7 2 5229 loop2
7 3 12506 loop3
7 4 27059 loop4
7 5 9387 loop5
7 6 24980 loop6
7 7 26019 loop7
179 0 15267840 mmcblk0
179 1 128 mmcblk0p1
179 2 256 mmcblk0p2
179 3 130671 mmcblk0p3
179 4 1 mmcblk0p4
179 5 16 mmcblk0p5
179 6 256 mmcblk0p6
179 7 15577 mmcblk0p7
179 8 256 mmcblk0p8
179 9 1024 mmcblk0p9
179 10 256 mmcblk0p10
179 11 2048 mmcblk0p11
179 12 2080 mmcblk0p12
179 13 5120 mmcblk0p13
179 14 1024 mmcblk0p14
179 15 1024 mmcblk0p15
179 16 46080 mmcblk0p16
179 17 10240 mmcblk0p17
179 18 5120 mmcblk0p18
179 19 8190 mmcblk0p19
179 20 4096 mmcblk0p20
179 21 1022 mmcblk0p21
179 22 4096 mmcblk0p22
179 23 4096 mmcblk0p23
179 24 20480 mmcblk0p24
179 25 4 mmcblk0p25
179 26 256 mmcblk0p26
179 27 16 mmcblk0p27
179 28 1280 mmcblk0p28
179 29 64 mmcblk0p29
179 30 32767 mmcblk0p30
179 31 16384 mmcblk0p31
179 32 16383 mmcblk0p32
179 33 2195455 mmcblk0p33
179 34 688127 mmcblk0p34
179 35 11927552 mmcblk0p35
254 0 45769 dm-0
254 1 16663 dm-1
254 2 5229 dm-2
254 3 12505 dm-3
254 4 27058 dm-4
254 5 9387 dm-5
254 6 24979 dm-6
254 7 26019 dm-7
7 8 2111 loop8
254 8 2110 dm-8
7 9 24980 loop9
254 9 24979 dm-9
7 10 2111 loop10
254 10 2110 dm-10
7 11 22901 loop11
254 11 22900 dm-11
7 12 2111 loop12
254 12 2110 dm-12
[email protected]:/ $
johnsk said:
Ui nice.
And now?
Code:
major minor #blocks name
7 0 45770 loop0
7 1 16664 loop1
7 2 5229 loop2
7 3 12506 loop3
7 4 27059 loop4
7 5 9387 loop5
7 6 24980 loop6
7 7 26019 loop7
179 0 15267840 mmcblk0
179 1 128 mmcblk0p1
179 2 256 mmcblk0p2
179 3 130671 mmcblk0p3
179 4 1 mmcblk0p4
179 5 16 mmcblk0p5
179 6 256 mmcblk0p6
179 7 15577 mmcblk0p7
179 8 256 mmcblk0p8
179 9 1024 mmcblk0p9
179 10 256 mmcblk0p10
179 11 2048 mmcblk0p11
179 12 2080 mmcblk0p12
179 13 5120 mmcblk0p13
179 14 1024 mmcblk0p14
179 15 1024 mmcblk0p15
179 16 46080 mmcblk0p16
179 17 10240 mmcblk0p17
179 18 5120 mmcblk0p18
179 19 8190 mmcblk0p19
179 20 4096 mmcblk0p20
179 21 1022 mmcblk0p21
179 22 4096 mmcblk0p22
179 23 4096 mmcblk0p23
179 24 20480 mmcblk0p24
179 25 4 mmcblk0p25
179 26 256 mmcblk0p26
179 27 16 mmcblk0p27
179 28 1280 mmcblk0p28
179 29 64 mmcblk0p29
179 30 32767 mmcblk0p30
179 31 16384 mmcblk0p31
179 32 16383 mmcblk0p32
179 33 2195455 mmcblk0p33
179 34 688127 mmcblk0p34
179 35 11927552 mmcblk0p35
254 0 45769 dm-0
254 1 16663 dm-1
254 2 5229 dm-2
254 3 12505 dm-3
254 4 27058 dm-4
254 5 9387 dm-5
254 6 24979 dm-6
254 7 26019 dm-7
7 8 2111 loop8
254 8 2110 dm-8
7 9 24980 loop9
254 9 24979 dm-9
7 10 2111 loop10
254 10 2110 dm-10
7 11 22901 loop11
254 11 22900 dm-11
7 12 2111 loop12
254 12 2110 dm-12
[email protected]:/ $
Click to expand...
Click to collapse
Sorry was "cat /proc/emmc"
xpirt
xpirt said:
Sorry was "cat /proc/emmc"
xpirt
Click to expand...
Click to collapse
Code:
cat /proc/emmc
dev: size erasesize name
mmcblk0p21: 000ffa00 00000200 "misc"
mmcblk0p32: 00fffe00 00000200 "recovery"
mmcblk0p31: 01000000 00000200 "boot"
mmcblk0p33: 85fffc00 00000200 "system"
mmcblk0p28: 00140200 00000200 "local"
mmcblk0p34: 29fffe00 00000200 "cache"
mmcblk0p35: 2d8000000 00000200 "userdata"
mmcblk0p24: 01400000 00000200 "devlog"
mmcblk0p26: 00040000 00000200 "pdata"
mmcblk0p29: 00010000 00000200 "extra"
mmcblk0p16: 02d00000 00000200 "radio"
mmcblk0p17: 00a00000 00000200 "adsp"
mmcblk0p15: 00100000 00000200 "dsps"
mmcblk0p18: 00500000 00000200 "wcnss"
mmcblk0p19: 007ffa00 00000200 "radio_config"
mmcblk0p22: 00400000 00000200 "modem_st1"
mmcblk0p23: 00400000 00000200 "modem_st2"
mmcblk0p30: 01fffc00 00000200 "reserve"
[email protected]:/ $
Is this right?
dd if=mmcblk0p32 of=/sdcard/recovery.img
johnsk said:
Code:
cat /proc/emmc
dev: size erasesize name
mmcblk0p21: 000ffa00 00000200 "misc"
mmcblk0p32: 00fffe00 00000200 "recovery"
mmcblk0p31: 01000000 00000200 "boot"
mmcblk0p33: 85fffc00 00000200 "system"
mmcblk0p28: 00140200 00000200 "local"
mmcblk0p34: 29fffe00 00000200 "cache"
mmcblk0p35: 2d8000000 00000200 "userdata"
mmcblk0p24: 01400000 00000200 "devlog"
mmcblk0p26: 00040000 00000200 "pdata"
mmcblk0p29: 00010000 00000200 "extra"
mmcblk0p16: 02d00000 00000200 "radio"
mmcblk0p17: 00a00000 00000200 "adsp"
mmcblk0p15: 00100000 00000200 "dsps"
mmcblk0p18: 00500000 00000200 "wcnss"
mmcblk0p19: 007ffa00 00000200 "radio_config"
mmcblk0p22: 00400000 00000200 "modem_st1"
mmcblk0p23: 00400000 00000200 "modem_st2"
mmcblk0p30: 01fffc00 00000200 "reserve"
[email protected]:/ $
Is this right?
dd if=mmcblk0p32 of=/sdcard/recovery.img
Click to expand...
Click to collapse
Now type "dd if=mmcblk0p32 of=/sdcard/recovery.img" then copy recovery.img from sdcard to pc.
xpirt
xpirt said:
Now type "dd if=mmcblk0p32 of=/sdcard/recovery.img" then copy recovery.img from sdcard to pc.
xpirt
Click to expand...
Click to collapse
Now i get this error
Code:
127|[email protected]:/ $ dd if=mmcblk0p32 of=/sdcard/recovery.img
dd if=mmcblk0p32 of=/sdcard/recovery.img
mmcblk0p32: cannot open for read: No such file or directory
1|[email protected]:/ $
johnsk said:
Now i get this error
Code:
127|[email protected]:/ $ dd if=mmcblk0p32 of=/sdcard/recovery.img
dd if=mmcblk0p32 of=/sdcard/recovery.img
mmcblk0p32: cannot open for read: No such file or directory
1|[email protected]:/ $
Click to expand...
Click to collapse
Sorry again xD This is correct; "dd if=/dev/block/mmcblk0p32 of=/sdcard/recovery.img".
xpirt
xpirt said:
Sorry again xD This is correct; "dd if=/dev/block/mmcblk0p32 of=/sdcard/recovery.img".
xpirt
Click to expand...
Click to collapse
No problem.
Permission denied...
[email protected]:/ $ dd if=/dev/block/mmcblk0p32 of=/sdcard/recovery.img
dd if=/dev/block/mmcblk0p32 of=/sdcard/recovery.img
/dev/block/mmcblk0p32: cannot open for read: Permission denied
1|[email protected]:/ $
Click to expand...
Click to collapse
The Device is running in Android, S-OFF!, Bootloader is locked and USB Debugging is on.
johnsk said:
No problem.
Permission denied...
The Device is running in Android, S-OFF!, Bootloader is locked and USB Debugging is on.
Click to expand...
Click to collapse
Type "su" and then "dd if=/dev/block/mmcblk0p32 of=/sdcard/recovery.img".
xpirt
xpirt said:
Type "su" and then "dd if=/dev/block/mmcblk0p32 of=/sdcard/recovery.img".
xpirt
Click to expand...
Click to collapse
Is su possible without root on the device?
johnsk said:
Is su possible without root on the device?
Click to expand...
Click to collapse
You have to be rooted... I thought if you s-offed you rotted too.. Btw it's not possible to backup stock recovery without root.
xpirt
johnsk said:
Is su possible without root on the device?
Click to expand...
Click to collapse
su is to run dd as root. sudo would work as well.
xpirt said:
You have to be rooted... I thought if you s-offed you rotted too.. Btw it's not possible to backup stock recovery without root.
xpirt
Click to expand...
Click to collapse
This device is a test device from htc for the press.
It arrived with S-Off and without root offcourse.
I want to flash TWRP to root the device but before i want to backup the stock recovery.
johnsk said:
This device is a test device from htc for the press.
It arrived with S-Off and without root offcourse.
I want to flash TWRP to root the device but before i want to backup the stock recovery.
Click to expand...
Click to collapse
OK so download TWRP.img, reboot into fastboot mode and into folder with adb type "fastboot boot twrp_downloaded.img".
It will boot into TWRP so backup partitions you want
xpirt
xpirt said:
OK so download TWRP.img, reboot into fastboot mode and into folder with adb type "fastboot boot twrp_downloaded.img".
It will boot into TWRP so backup partitions you want
xpirt
Click to expand...
Click to collapse
Ok i will try and report in a few minutes.
xpirt said:
OK so download TWRP.img, reboot into fastboot mode and into folder with adb type "fastboot boot twrp_downloaded.img".
It will boot into TWRP so backup partitions you want
xpirt
Click to expand...
Click to collapse
Okay next error ^^
C:\Android>fastboot boot Twrp-2.6.0.0.img
downloading 'boot.img'...
OKAY [ 1.103s]
booting...
FAILED (remote: not allowed)
finished. total time: 1.106s
Click to expand...
Click to collapse
johnsk said:
Okay next error ^^
Click to expand...
Click to collapse
Look here: http://forum.cyanogenmod.com/topic/...flash-recovery-not-allowed-error/#entry394354
A solution of your problem.. But I don't know if you have PD98IMG.zip or other name, make sure you know the name of this file than proceed.
And use fastboot boot recovery.img not flash!
xpirt
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.
flare4000 said:
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.
Click to expand...
Click to collapse
here is a more detailed layout from the gingerbread firmware.
Here is from mine with hboot 1.29.xxxxxx with 3.33 firmware
Code:
[email protected]:/ $ 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"
[email protected]:/ $
Hope this helps.
heavy_metal_man said:
here is a more detailed layout from the gingerbread firmware.
Here is from mine with hboot 1.29.xxxxxx with 3.33 firmware
Code:
[email protected]:/ $ 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"
[email protected]:/ $
Hope this helps.
Click to expand...
Click to collapse
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/2012/10/s2-soft-brick-bug-fix-mmccaperase-brick.html The reason that I cannot run the command myself is because my partitions are extremely messed up. Thanks again for the help.
flare4000 said:
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/2012/10/s2-soft-brick-bug-fix-mmccaperase-brick.html The reason that I cannot run the command myself is because my partitions are extremely messed up. Thanks again for the help.
Click to expand...
Click to collapse
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.
heavy_metal_man said:
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.
Click to expand...
Click to collapse
Well got past the print issue but that doesn't help so I'm trying this now http://android-revolution-hd.blogspot.ca/2013/10/fix-data-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.
flare4000 said:
Well got past the print issue but that doesn't help so I'm trying this now http://android-revolution-hd.blogspot.ca/2013/10/fix-data-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 to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my HTC Desire S using Tapatalk
heavy_metal_man said:
View attachment 2855506
Sent from my HTC Desire S using Tapatalk
Click to expand...
Click to collapse
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.
flare4000 said:
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.
Click to expand...
Click to collapse
Does the formatting finish without any errors?
Sent from my HTC Desire S using Tapatalk
heavy_metal_man said:
Does the formatting finish without any errors?
Sent from my HTC Desire S using Tapatalk
Click to expand...
Click to collapse
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.
flare4000 said:
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.
Click to expand...
Click to collapse
in 4ext go try tools/wipe or format ext4/ data and see what happens. post any errors please
heavy_metal_man said:
in 4ext go try tools/wipe or format ext4/ data and see what happens. post any errors please
Click to expand...
Click to collapse
Well, can't do that now, pretty sure my device is bricked.
flare4000 said:
Well, can't do that now, pretty sure my device is bricked.
Click to expand...
Click to collapse
totally not powering on anymore bricked?
Damn. Im sorry to hear that
heavy_metal_man said:
totally not powering on anymore bricked?
Damn. Im sorry to hear that
Click to expand...
Click to collapse
Yup no power what so ever... got any recommendations for a cheap phone? lol
flare4000 said:
Yup no power what so ever... got any recommendations for a cheap phone? lol
Click to expand...
Click to collapse
The motorola moto g is a good price for the specs at hand
Im on a desire s at the moment. its quite good second hand, has revolutionary s-off but its a hacked hboot s-off and not radio s-off so no sim unlocking etc.
htc wildfire s is okay if you can find it at a good price, it will do to tide you over but it has no s-off and rom development has slowed considerably.
im not sure where you can get second hand phones in Canada but i imagine there is a market for it similar to what we have in the uk, like here
flare4000 said:
Yup no power what so ever... got any recommendations for a cheap phone? lol
Click to expand...
Click to collapse
I thing Samsung Galaxy S3 is good variant. But you can buy Sensation again, lol.
Sent from my HTC Sensation using XDA Premium 4 mobile app
Hi guys I've had some problems with my lollipop 5.1 android, mtk 6582.
something happen, now when I try do a test in spflash tools, it says ERROR: NAND Flash was not detected, y cant mount emmc in my twrp... I can flash all and my phone load the lollipop, but says "the internal storage has error" then ask me if i want format the internal partition....
the Titanium backup can recognize the storage and says that the internal storage have 2.07GB (wtf?) and ROM system have 914MB (nice)... But my phone have 8 GB...
Can someone help me, What should i do?
Thank you very much
Code:
cat /proc/emmc
partno: start_sect nr_sects partition_name
emmc_p1: 00000400 00000002 "ebr1"
emmc_p2: 00004800 00005000 "protect_f"
emmc_p3: 00009800 00005000 "protect_s"
emmc_p4: 0001ec00 00003000 "sec_ro"
emmc_p5: 00028c00 001c2000 "android"
emmc_p6: 001eac00 0003f000 "cache"
emmc_p7: 00229c00 00400000 "usrdata"
emmc_p8: 00629c00 0085a000 "fat"
~ # cat /proc/partitions
major minor #blocks name
179 0 7609856 mmcblk0
179 1 1 mmcblk0p1
179 2 10240 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 6144 mmcblk0p4
179 5 921600 mmcblk0p5
179 6 129024 mmcblk0p6
179 7 2097152 mmcblk0p7
179 8 4378624 mmcblk0p8
179 96 512 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
179 128 15114240 mmcblk1
179 129 15113216 mmcblk1p1
Hi all,
I was trying to identify userdata partition after
- adb shell
- cat /proc/partitions
on an unrooted Oneplus 2.
Here below was the result.
How to identify which one is userdata partition?
Thanks in advance.
Cheers,
Wen
Code:
major minor #blocks name
179 0 15388672 mmcblk0
179 1 81920 mmcblk0p1
179 2 1024 mmcblk0p2
179 3 128 mmcblk0p3
179 4 128 mmcblk0p4
179 5 1 mmcblk0p5
179 6 1024 mmcblk0p6
179 7 128 mmcblk0p7
179 8 1536 mmcblk0p8
179 9 1 mmcblk0p9
179 10 1024 mmcblk0p10
179 11 1024 mmcblk0p11
179 12 256 mmcblk0p12
179 13 256 mmcblk0p13
179 14 1 mmcblk0p14
179 15 1 mmcblk0p15
179 16 8 mmcblk0p16
179 17 1536 mmcblk0p17
179 18 1536 mmcblk0p18
179 19 10240 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 1024 mmcblk0p21
179 22 8096 mmcblk0p22
179 23 16192 mmcblk0p23
179 24 16384 mmcblk0p24
179 25 32768 mmcblk0p25
179 26 1024 mmcblk0p26
179 27 1024 mmcblk0p27
179 28 96 mmcblk0p28
179 29 1024 mmcblk0p29
179 30 1024 mmcblk0p30
179 31 500 mmcblk0p31
259 0 500 mmcblk0p32
259 1 512 mmcblk0p33
259 2 512 mmcblk0p34
259 3 65536 mmcblk0p35
259 4 65536 mmcblk0p36
259 5 32768 mmcblk0p37
259 6 1024 mmcblk0p38
259 7 512 mmcblk0p39
259 8 512 mmcblk0p40
259 9 262144 mmcblk0p41
259 10 2621440 mmcblk0p42
259 11 11980783 mmcblk0p43
179 32 4096 mmcblk0rpmb
If you have an eMMC internal storage you can see names and partitions at same time:
Code:
ls -l /dev/block/platform/msm_sdcc.1/by-name/
xXx yYy said:
If you have an eMMC internal storage you can see names and partitions at same time:
Code:
ls -l /dev/block/platform/msm_sdcc.1/by-name/
Click to expand...
Click to collapse
Thanks for your reply.
After
Code:
ls -l /dev/block/platform/msm_sdcc.1/by-name/
It returns
Code:
/dev/block/platform/msm_sdcc.1/by-name/: Permission denied
How to resolve it?
Thanks.
Android must be root to successfully run the cmd.
xXx yYy said:
Android must be root to successfully run the cmd.
Click to expand...
Click to collapse
Thanks for your reply.
I just rooted the device.
But after
Code:
adb root
It returns
Code:
adbd cannot run as root in production builds
How to solve it?
Thanks in advance.
No way.