EDIT: we need a T989D user to help us! please if you stumble upon this please read and help us out!
it seems like samsung devices have a new method to unbrick when we get QHSUSB_DLOAD when we plug it into the computer.
http://forum.xda-developers.com/showthread.php?t=2439367 : T999 Galaxy s3 T-mobile
http://forum.xda-developers.com/showthread.php?t=2600869 : I9205 Galaxy mega 6.3
http://forum.xda-developers.com/show....php?t=2624203 : N9005 Galaxy note 3
and it seems like they use the same method but someone has made a debrick.img for their devices specifically, i would love to put up a thread for people for this so we can unbrick our s2's but i dont know how they get their .imgs, i heard that we need someone on a stock rooted rom to be able to make the .img so would anyone be able to show me how to make one of these because i own 3 t989s which i will put one of them to stock if someone can show me how to make the .img.
Trozzul said:
it seems like samsung devices have a new method to unbrick when we get QHSUSB_DLOAD when we plug it into the computer.
http://forum.xda-developers.com/showthread.php?t=2439367 : T999 Galaxy s3 T-mobile
http://forum.xda-developers.com/showthread.php?t=2600869 : I9205 Galaxy mega 6.3
http://forum.xda-developers.com/show....php?t=2624203 : N9005 Galaxy note 3
and it seems like they use the same method but someone has made a debrick.img for their devices specifically, i would love to put up a thread for people for this so we can unbrick our s2's but i dont know how they get their .imgs, i heard that we need someone on a stock rooted rom to be able to make the .img so would anyone be able to show me how to make one of these because i own 3 t989s which i will put one of them to stock if someone can show me how to make the .img.
Click to expand...
Click to collapse
You use clockwork mod recovery on your phone and go to "Install .zip from SD card" then you run the "T999_Partial_Sys_Dump_for_debrick.zip" and that gives you the debrick.img to put to your SD card. Get it from http://forum.xda-developers.com/showpost.php?p=45725480&postcount=45 and if you do, please post it! I need a t989 image.. And don't worry about it saying T999, you can rename it to anything. This is just the script that makes the image, its not hardware dependent.. Only the debrick image is that you make.
Lord Zog said:
You use clockwork mod recovery on your phone and "Install .zip from SD card" then you run the "T999_Partial_Sys_Dump_for_debrick.zip" and that gives you the debrick.img to put to your SD card. Get it from http://forum.xda-developers.com/showpost.php?p=45725480&postcount=45 and if you do, please post it! I need a t989 image.. And don't worry about it saying T999, you can rename it to anything. This is just the script that makes the image, its not hardware dependent.. Only the debrick image is that you make.
Click to expand...
Click to collapse
alright cool dude i have been told that this file makes the debrick.img i just didnt know if it would work with the s2 but it looks like other people clarified that i should be able to do that when i get home. i might run into a problem though, my S2 has a stuck power button and when i go into cwm it taps on random things and im afraid it will screw me and somehow brick it (i might just factory reset so there's nothing but it could still hit one of the wrong options) , i need to find a way to get CWM touch on it but i have made a thread and nobody has helped me D: do you think From rom manager i can hit the "Install rom from SD card" option and use it on the Debrick file?
alright made a debrick.img and tried the method for the s3 and it didnt work maybe i did it wrong, heres there .img (im not on a rooted stock, is that the reason why?) mediafires being dumb and couldnt upload there: http://d-h.st/KUD sorry about Anonymous uploader i couldn't find the registration page.
Trozzul said:
alright cool dude i have been told that this file makes the debrick.img i just didnt know if it would work with the s2 but it looks like other people clarified that i should be able to do that when i get home. i might run into a problem though, my S2 has a stuck power button and when i go into cwm it taps on random things and im afraid it will screw me and somehow brick it (i might just factory reset so there's nothing but it could still hit one of the wrong options) , i need to find a way to get CWM touch on it but i have made a thread and nobody has helped me D: do you think From rom manager i can hit the "Install rom from SD card" option and use it on the Debrick file?
Click to expand...
Click to collapse
I think in ROM manager it won't mount the partitions correctly, but I'll try it on this end with the file you posted.
Nope. Doesn't work. I'll look at the image in Linux and see whats in the partitions.
OK. So, it should look like this...
# parted /dev/sdb print
Model: Generic Ultra HS-SD/MMC (scsi)
Disk /dev/sdb: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 4194kB 67.1MB 62.9MB modem
2 67.1MB 67.2MB 131kB sbl1
3 67.2MB 67.5MB 262kB sbl2
4 67.5MB 68.0MB 524kB sbl3
5 68.0MB 70.1MB 2097kB aboot
6 70.1MB 70.6MB 524kB rpm
7 70.6MB 81.1MB 10.5MB boot
8 81.1MB 81.7MB 524kB tz
9 81.7MB 82.2MB 524kB pad
10 82.2MB 92.7MB 10.5MB param
11 92.7MB 107MB 14.3MB ext4 efs
12 107MB 110MB 3146kB modemst1
13 110MB 113MB 3146kB modemst2
14 113MB 1686MB 1573MB ext4 system
15 1686MB 14.8GB 13.1GB userdata
16 14.8GB 14.8GB 8389kB persist
17 14.8GB 15.7GB 881MB cache
18 15.7GB 15.7GB 10.5MB recovery
19 15.7GB 15.7GB 10.5MB fota
20 15.7GB 15.7GB 6291kB backup
21 15.7GB 15.7GB 3146kB fsg
22 15.7GB 15.7GB 8192B ssd
23 15.7GB 15.8GB 5243kB grow
OUR's looks like this..
#parted /dev/sdd print
Model: Generic USB SD Reader (scsi)
Disk /dev/sdd: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 105MB 105MB primary
2 105MB 105MB 512kB primary boot
3 105MB 107MB 1536kB primary
4 107MB 15.8GB 15.7GB extended
5 109MB 110MB 512kB logical
6 113MB 115MB 2097kB logical
7 117MB 120MB 2560kB logical
8 122MB 132MB 10.5MB logical
9 134MB 135MB 512kB logical
10 138MB 139MB 512kB logical
11 143MB 143MB 512kB logical
12 147MB 157MB 10.5MB logical
13 159MB 262MB 103MB logical lba
14 264MB 267MB 3146kB logical
15 268MB 272MB 3146kB logical
16 273MB 276MB 3146kB logical
17 277MB 380MB 103MB logical
18 382MB 385MB 3146kB logical
19 386MB 389MB 3146kB logical
20 390MB 393MB 3146kB logical
21 394MB 405MB 10.5MB logical
22 407MB 417MB 10.5MB logical
23 419MB 430MB 10.5MB logical
24 432MB 1059MB 627MB logical
25 1061MB 3211MB 2150MB logical
26 3213MB 3530MB 317MB logical
27 3532MB 3667MB 135MB logical
28 3670MB 15.8GB 12.1GB logical
This looks more MS-DOS that Linux file system.. I made it in Windows using the app everyone refers to. I'll do it now in Linux.
update: Still shows what we got. Try to do it again but in CWM.
Lord Zog said:
I think in ROM manager it won't mount the partitions correctly, but I'll try it on this end with the file you posted.
Nope. Doesn't work. I'll look at the image in Linux and see whats in the partitions.
OK. So, it should look like this...
# parted /dev/sdb print
Model: Generic Ultra HS-SD/MMC (scsi)
Disk /dev/sdb: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 4194kB 67.1MB 62.9MB modem
2 67.1MB 67.2MB 131kB sbl1
3 67.2MB 67.5MB 262kB sbl2
4 67.5MB 68.0MB 524kB sbl3
5 68.0MB 70.1MB 2097kB aboot
6 70.1MB 70.6MB 524kB rpm
7 70.6MB 81.1MB 10.5MB boot
8 81.1MB 81.7MB 524kB tz
9 81.7MB 82.2MB 524kB pad
10 82.2MB 92.7MB 10.5MB param
11 92.7MB 107MB 14.3MB ext4 efs
12 107MB 110MB 3146kB modemst1
13 110MB 113MB 3146kB modemst2
14 113MB 1686MB 1573MB ext4 system
15 1686MB 14.8GB 13.1GB userdata
16 14.8GB 14.8GB 8389kB persist
17 14.8GB 15.7GB 881MB cache
18 15.7GB 15.7GB 10.5MB recovery
19 15.7GB 15.7GB 10.5MB fota
20 15.7GB 15.7GB 6291kB backup
21 15.7GB 15.7GB 3146kB fsg
22 15.7GB 15.7GB 8192B ssd
23 15.7GB 15.8GB 5243kB grow
OUR's looks like this..
#parted /dev/sdd print
Model: Generic USB SD Reader (scsi)
Disk /dev/sdd: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 105MB 105MB primary
2 105MB 105MB 512kB primary boot
3 105MB 107MB 1536kB primary
4 107MB 15.8GB 15.7GB extended
5 109MB 110MB 512kB logical
6 113MB 115MB 2097kB logical
7 117MB 120MB 2560kB logical
8 122MB 132MB 10.5MB logical
9 134MB 135MB 512kB logical
10 138MB 139MB 512kB logical
11 143MB 143MB 512kB logical
12 147MB 157MB 10.5MB logical
13 159MB 262MB 103MB logical lba
14 264MB 267MB 3146kB logical
15 268MB 272MB 3146kB logical
16 273MB 276MB 3146kB logical
17 277MB 380MB 103MB logical
18 382MB 385MB 3146kB logical
19 386MB 389MB 3146kB logical
20 390MB 393MB 3146kB logical
21 394MB 405MB 10.5MB logical
22 407MB 417MB 10.5MB logical
23 419MB 430MB 10.5MB logical
24 432MB 1059MB 627MB logical
25 1061MB 3211MB 2150MB logical
26 3213MB 3530MB 317MB logical
27 3532MB 3667MB 135MB logical
28 3670MB 15.8GB 12.1GB logical
This looks more MS-DOS that Linux file system.. I made it in Windows using the app everyone refers to. I'll do it now in Linux.
update: Still shows what we got. Try to do it again but in CWM.
Click to expand...
Click to collapse
sooo what should i do then? should i go back to stock reroot it and redo the flashing?
Trozzul said:
sooo what should i do then? should i go back to stock reroot it and redo the flashing?
Click to expand...
Click to collapse
Yeah, but from clockwork mod recovery, and rooted stock, like UVLE1.
Lord Zog said:
Yeah, but from clockwork mod recovery, and rooted stock, like UVLE1.
Click to expand...
Click to collapse
Would this be what you want me to be on? http://forum.xda-developers.com/showthread.php?t=1668502 and that .img was from CWM
Trozzul said:
Would this be what you want me to be on? http://forum.xda-developers.com/showthread.php?t=1668502 and that .img was from CWM
Click to expand...
Click to collapse
No, use uvle1 ICS
http://stockroms.net/file/GalaxyS2/SGH-T989/ICS/SGH-T989_UVLE1_ICS.zip
scroll to the bottom and hit play and use the captcha and get stock ICS.
And that was from CWM? Were you rooted? The file structure looks a lot different.. Maybe the script is extracting from the wrong partition, but I thought the T989 and T989D used /dev/block/mmcblk0 also. Sadly, I don't have another T989(D) to check
Lord Zog said:
No, use uvle1 ICS
http://stockroms.net/file/GalaxyS2/SGH-T989/ICS/SGH-T989_UVLE1_ICS.zip
scroll to the bottom and hit play and use the captcha and get stock ICS.
And that was from CWM? Were you rooted? The file structure looks a lot different.. Maybe the script is extracting from the wrong partition, but I thought the T989 and T989D used /dev/block/mmcblk0 also. Sadly, I don't have another T989(D) to check
Click to expand...
Click to collapse
yeah CWM and rooted. and i heard that we shouldnt flash the stock UVLE1 ics stock because it was bricking other peoples phones?
Trozzul said:
yeah CWM and rooted. and i heard that we shouldnt flash the stock UVLE1 ics stock because it was bricking other peoples phones?
Click to expand...
Click to collapse
From what I understand, that's if you are using 4.3 or higher, but, we're not affected as we didn't get an official 4.3 for this device
Lord Zog said:
From what I understand, that's if you are using 4.3 or higher, but, we're not affected as we didn't get an official 4.3 for this device
Click to expand...
Click to collapse
yeah im on CM 10.2 still, i forgot i still needed to get back to stock, also so when i bricked my other T989 does it matter what rom it was on before? or if it was on stock? so i came from Aokp before, for us to unbrick it does the bricked phone needed to be on stock before? what do you think exactly this .img file does? im thinking it runs the drivers from the SD card?
Lord Zog said:
From what I understand, that's if you are using 4.3 or higher, but, we're not affected as we didn't get an official 4.3 for this device
Click to expand...
Click to collapse
alright flashed that file in odin, heres the Debrick.img From rooted stock also on CWM like last time
Trozzul said:
alright flashed that file in odin, heres the Debrick.img From rooted stock also on CWM like last time
Click to expand...
Click to collapse
hmm. Still doesn't work.. Without having a physical phone to play with, its hard to do it this way.
[email protected]:/home/zog/Downloads# dd if=debrick.img of=/dev/sdg
262144+0 records in
262144+0 records out
134217728 bytes (134 MB) copied, 35.458 s, 3.8 MB/s
[email protected]:/home/zog/Downloads# parted /dev/sdg print
Model: Generic USB SD Reader (scsi)
Disk /dev/sdg: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 105MB 105MB primary
2 105MB 105MB 512kB primary boot
3 105MB 107MB 1536kB primary
4 107MB 15.8GB 15.7GB extended
5 109MB 110MB 512kB logical
6 113MB 115MB 2097kB logical
7 117MB 120MB 2560kB logical
8 122MB 132MB 10.5MB logical
9 134MB 135MB 512kB logical
10 138MB 139MB 512kB logical
11 143MB 143MB 512kB logical
12 147MB 157MB 10.5MB logical
13 159MB 262MB 103MB logical lba
14 264MB 267MB 3146kB logical
15 268MB 272MB 3146kB logical
16 273MB 276MB 3146kB logical
17 277MB 380MB 103MB logical
18 382MB 385MB 3146kB logical
19 386MB 389MB 3146kB logical
20 390MB 393MB 3146kB logical
21 394MB 405MB 10.5MB logical
22 407MB 417MB 10.5MB logical
23 419MB 430MB 10.5MB logical
24 432MB 1059MB 627MB logical
25 1061MB 3211MB 2150MB logical
26 3213MB 3530MB 317MB logical
27 3532MB 3667MB 135MB logical
28 3670MB 15.8GB 12.1GB logical
Lord Zog said:
hmm. Still doesn't work.. Without having a physical phone to play with, its hard to do it this way.
[email protected]:/home/zog/Downloads# dd if=debrick.img of=/dev/sdg
262144+0 records in
262144+0 records out
134217728 bytes (134 MB) copied, 35.458 s, 3.8 MB/s
[email protected]:/home/zog/Downloads# parted /dev/sdg print
Model: Generic USB SD Reader (scsi)
Disk /dev/sdg: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 105MB 105MB primary
2 105MB 105MB 512kB primary boot
3 105MB 107MB 1536kB primary
4 107MB 15.8GB 15.7GB extended
5 109MB 110MB 512kB logical
6 113MB 115MB 2097kB logical
7 117MB 120MB 2560kB logical
8 122MB 132MB 10.5MB logical
9 134MB 135MB 512kB logical
10 138MB 139MB 512kB logical
11 143MB 143MB 512kB logical
12 147MB 157MB 10.5MB logical
13 159MB 262MB 103MB logical lba
14 264MB 267MB 3146kB logical
15 268MB 272MB 3146kB logical
16 273MB 276MB 3146kB logical
17 277MB 380MB 103MB logical
18 382MB 385MB 3146kB logical
19 386MB 389MB 3146kB logical
20 390MB 393MB 3146kB logical
21 394MB 405MB 10.5MB logical
22 407MB 417MB 10.5MB logical
23 419MB 430MB 10.5MB logical
24 432MB 1059MB 627MB logical
25 1061MB 3211MB 2150MB logical
26 3213MB 3530MB 317MB logical
27 3532MB 3667MB 135MB logical
28 3670MB 15.8GB 12.1GB logical
Click to expand...
Click to collapse
Well what else can I do?
Trozzul said:
Well what else can I do?
Click to expand...
Click to collapse
We need to figure out the partition structure and find the right one with the .PIT file, and try to create a proper 8660_msimage.mbn or debrick.img creation.
Oh yeah, try to install BusyBox while rooted, and then try it again. I'm still trying to find partition info. So far I have found aboot, amss, boot, cache, mdm, recovery, rpm, sbl2, sbl3, system, tomb, and tz. I'm missing a few and proper flags and such
Also, in play store, when you get BusyBox, also get Android terminal emulator. Then once those 2 things are installed, run BusyBox and use smart install. Once that's done, you can try to do into Android Terminal Emulator and type
su <enter> It'll ask for SuperUser access, allow it. then
busybox dd if=/dev/block/mmcblk0 of=/sdcard/debrick.img bs=1M count=128 <enter>
When I say <enter>, I mean press enter. Try that.
Okay. We're going a different route. Get this https://mega.co.nz/#!TEthlJYY!cq8cwm3c_ilvZVrGEa9TezmOpIkHbaTgYdctr3bxAl8 Its' from http://forum.xda-developers.com/showthread.php?t=2136738
Unzip it all to its own folder, say, Backup989
Run python-2.7.3, let it install to default folder
attach the phone
then run backup.bat
It will make another folder in this folder we're in called "Backup" Once this is done, you should have 8 or so files, compress them in WinZip or WinRAR and upload that.
Files in folder should be
aboot.mbn
pitfile.pit
partition0.bin
rpm.mbn
smd_hdr.mbn
sbl1.mbn
sbl2.mbn
sbl3.mbn
and maybe 1 more, compress them all into one file and upload to me.
DO NOT run the debrick file in that archive, that IS NOT for our phones and the sectors for writing are probably NOT the same as ours and will overwrite something else that could be important. (EFS/IMEI/ANYTHING!) Only run BACKUP.BAT
Got it. Made a debrick.img manually. Its not perfect and consists of a few messy hacks. I'll fix this up and send you one to try once I look at it and the partitioning in HS-USB 9008 and HS-USB-9006 state. This was a 9008 state, then it was switched to a 9006 state and had 7 partitions. I'll post more in a bit once I get this thing fully running.
Ok, I still need partition info. After flashing in Odin, it seems to not want to boot. I can get in and out of ODIN, but the partition info is bad. I can't enter recovery, nor boot past the boot logo, not the animation, just logo. SAMSUNG, and the one that says TMOBILE S2.. I still need you to do the backup to get proper .PIT file and partition0.bin to fix MBR and the PIT partition at b0p11. But send all the backup files it makes just incase one of mine is bad. Had to use another source for SBL1.MBN...
UPDATE: Ok. After messing more things and tinkering, I can boot. I can't go to recovery tho, but ODIN works and I want to make sure my partition isn't screwed up and that why I can't get recovery. But we got boot! I'm excited. This things been dead for 3 months, and never bothered to try till now.
We need a user with a T989D to do the same as the partition table IS different. Using a PIT from a 989 and ODIN Fail's on the modem/baseband MBN file from a T989D ROM, but using a T989 ROM flashes fine, but then doesn't boot. So, we need partition info from BOTH devices, PIT File, and partition0.mbn/.bin from a T989 and a T989D MBR, as well as the other files (sbl1-3, etc) Then we can properly make 2 debrick.img files, one for T989 and one for T989D as I am using a T989D but using modified SBL1-3 files and ABOOT to get this going.
As you can see from the screenshot, my build is T998DTLUMC4, but my baseband is T989UVMC6. One is telus, one is T-Mobile.
Hi guys !
I've made some research about the partition sheme of the GT-I9195 and here's what I found :
Disk /dev/block/mmcblk0: 15269888 sectors, 3360M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15269854
Number Start (sector) End (sector) Size Code Name
1 8192 131071 60.0M 0700 modem
2 131072 131327 128K 0700 sbl1
3 131328 131839 256K 0700 sbl2
4 131840 132863 512K 0700 sbl3
5 132864 136959 2048K 0700 aboot
6 136960 137983 512K 0700 rpm
7 137984 139007 512K 0700 tz
8 139008 164607 12.5M 0700 pad
9 164608 180991 8192K 0700 param
10 180992 208895 13.6M 0700 efs
11 208896 215039 3072K 0700 modemst1
12 215040 221183 3072K 0700 modemst2
13 221184 241663 10.0M 0700 boot
14 241664 262143 10.0M 0700 recovery
15 262144 282623 10.0M 0700 fota
16 282624 296943 7160K 0700 backup
17 296944 303087 3072K 0700 fsg
18 303088 303103 8192 0700 ssd
19 303104 319487 8192K 0700 persist
20 319488 344063 12.0M 0700 persdata
21 344064 3416063 1500M 0700 system
22 3416064 3825663 200M 0700 cache
23 3825664 3899391 36.0M 0700 hidden
24 3899392 15269854 5551M 0700 userdata
Click to expand...
Click to collapse
What's interesting is the size of /system : 1500Mo !!! That's really big when you know that CM11+Gapps take approximatively 500Mo of /system space. There also some other parition un-used for custom rom's users (/hidden which contains sammy dummy file or /fota which is for over the air update for official rom). So don't you think there should be a way to delete some partition so that we can gain in space for /userdata ? I'm asking because i know it was possible for my old phone (Galaxy ace 2) and I think it would be pretty nice to gain 1Gb of space for daily usage.
I do not think it is possible to repartition s4 mini's flash storage.
You said it was possible on your old ace 2. I say it was also possible on my old galaxy s advance
That is because those devices had seperate partitions for system , internal storage , data (where u install apps) , cache and a special partition called 'preload'.
If I can remember correctly the hidden.img files from firmware reside on that preload partition. As you can see , with use of a "pit" file we can repartition internal storage, system and data such that we can either have more room to install apps or more room for storage.
But such a work is not possible on s4 mini. Because the internal storage and data are on same partition. /data is where u install apps .... /data/media/emulated/0 is your internal storage. This means data and storage share a single partition.
Yes i've also noticed what you just said. In previous samsung phone, there were two separate partition for user. One purely for storage (/ums or /sdcard0 if I remember correctly) and another one for the apps or the user's setting (/data). Now those two partitions have been merged in galaxy S4 mini, which is a big improvement.
But what I want here is to resize /system partition which is really too big for custom roms so that we can use that extra space for /userdata. In fact, i'm pretty sur that CM11 with a small Gapps package could fit in 500mo and that's all what we need because /system is in read only isn't it ?
And by the way, /system and /userdata are correctly two separate partitions.
You can go the other way.... Integrate apps in system.
I think this is safest than repartition
Good day fellow xda-developers!
I am currently have a problem with my galaxy ace 2 ( GT-I8160). My brother by accident and through Odin erased some partition files! He ticked Nand erased all and since then the mobile shows the first screen writting Samsung Galaxy Ace 2 GT-I8160 and then reboots.
More specific:
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found..
I:Cannot load volume /misc
I:Can't partition non mmcblk device: /devices/sd i2/mmc_host/mmc0/mmc0
I have tried many Official roms by sammobile but no luck, i tried from here an official rom given with PDA,CSC and pit but still nothing.
I have even tried to flash through CWM many custom roms but still nothing. Some off them showed to be done correctly but still then it showed the first screen and then restarted.
Has anyone any idea how to fix it? Can someone provide me with a CWM back up to try to flash it?
@matlowpap, you PMed me:
matlowpap said:
Do you have any CWM back up to send me to try flash through there? I want to see if it will flash the missing partitions..
Click to expand...
Click to collapse
Not sure if flashing CWM backup will help here, since even flashing an official ROM didn't help. Probably your best bet is to try recovering deleted partitions via parted. Have you tried to repart internal sdcard via CWM ReParted? If no, then first connect the phone to PC via adb and run:
Code:
parted /dev/block/mmcblk0
print
If even this is not working, it's likely to be a hardware fault. Otherwise this command will print partition list. Compare output with this one
Code:
Model: MMC SEM04G (sd/mmc)
Disk /dev/block/mmcblk0: 3959MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
10 524kB 1573kB 1049kB PIT
6 1573kB 3146kB 1573kB CSPSA FS
7 4194kB 14.7MB 10.5MB ext4 EFS
2 14.7MB 31.5MB 16.8MB ext4 Modem FS
14 32.5MB 34.6MB 2097kB SBL
16 34.6MB 36.7MB 2097kB SBL_2
1 36.7MB 53.5MB 16.8MB PARAM
12 53.5MB 55.6MB 2097kB IPL Modem
13 55.6MB 72.4MB 16.8MB Modem
15 72.4MB 89.1MB 16.8MB Kernel
17 89.1MB 106MB 16.8MB ext4 Kernel2
3 106MB 726MB 620MB ext4 SYSTEM
5 726MB 1972MB 1246MB ext4 DATAFS
4 1972MB 1982MB 10.0MB ext4 CACHEFS
9 1982MB 2602MB 620MB ext4 HIDDEN
8 2602MB 2702MB 100MB fat32 UMS
11 2702MB 3949MB 1247MB
to find out what partitions to restore. Note that CWM reparted doesn't touch any of "vital" partitions, and will recreate only System, data, cache and UMS. If some other partitions are missing, you have to create them via parted utility.
P.s. Be sure to read that topic in link above before flashing anything.
ChronoMonochrome said:
@matlowpap, you PMed me:
Not sure if flashing CWM backup will help here, since even flashing an official ROM didn't help. Probably your best bet is to try recovering deleted partitions via parted. Have you tried to repart internal sdcard via CWM ReParted? If no, then first connect the phone to PC via adb and run:
Code:
parted /dev/block/mmcblk0
print
If even this is not working, it's likely to be a hardware fault. Otherwise this command will print partition list. Compare output with this one
Code:
Model: MMC SEM04G (sd/mmc)
Disk /dev/block/mmcblk0: 3959MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
10 524kB 1573kB 1049kB PIT
6 1573kB 3146kB 1573kB CSPSA FS
7 4194kB 14.7MB 10.5MB ext4 EFS
2 14.7MB 31.5MB 16.8MB ext4 Modem FS
14 32.5MB 34.6MB 2097kB SBL
16 34.6MB 36.7MB 2097kB SBL_2
1 36.7MB 53.5MB 16.8MB PARAM
12 53.5MB 55.6MB 2097kB IPL Modem
13 55.6MB 72.4MB 16.8MB Modem
15 72.4MB 89.1MB 16.8MB Kernel
17 89.1MB 106MB 16.8MB ext4 Kernel2
3 106MB 726MB 620MB ext4 SYSTEM
5 726MB 1972MB 1246MB ext4 DATAFS
4 1972MB 1982MB 10.0MB ext4 CACHEFS
9 1982MB 2602MB 620MB ext4 HIDDEN
8 2602MB 2702MB 100MB fat32 UMS
11 2702MB 3949MB 1247MB
to find out what partitions to restore. Note that CWM reparted doesn't touch any of "vital" partitions, and will recreate only System, data, cache and UMS. If some other partitions are missing, you have to create them via parted utility.
P.s. Be sure to read that topic in link above before flashing anything.
Click to expand...
Click to collapse
I will try as soon as I can your method but please can you upload a CWM back up too.
I want to be sure that it is not working.
matlowpap said:
I will try as soon as I can your method but please can you upload a CWM back up too.
I want to be sure that it is not working.
Click to expand...
Click to collapse
I don't have neither enough internet traffic to upload nand backup nor high enough upload speed. Of course you can ask someone else to upload CWM backup, but it would be senseless, as restoring nand backup won't create those deleted partitions.
So i followed this post exactly http://forum.xda-developers.com/showpost.php?p=64862885&postcount=2 and now my internal storage is at 0mb i cannot put the rom into it via my windows pc or transfer with adb
I currently just have access to recovery
xboxhaxorz said:
So i followed this post exactly http://forum.xda-developers.com/showpost.php?p=64862885&postcount=2 and now my internal storage is at 0mb i cannot put the rom into it via my windows pc or transfer with adb
I currently just have access to recovery
Click to expand...
Click to collapse
Transfer the ROM to /tmp/ in recovery and flash it. I think You are using old recovery hence size is not shown properly. If issue still exists, post Your partition table output here.
i was able to do that, however in the rom i get an encryption error and it wont let me get past that, TWRP is now at version 3 but the internal storage now called sdcard in twrp is still a 0mb
this is the info
C:\adb>adb shell
~ # fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 31.9 GB, 31910264832 bytes
4 heads, 16 sectors/track, 973824 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 65 2048 f0 Linux/PA-RISC boot
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 * 65 81 512 4d Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 129 768 20480 48 Unknown
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 769 954240 30511104 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 785 800 512 46 Unknown
/dev/block/mmcblk0p6 833 928 3072 4a Unknown
/dev/block/mmcblk0p7 961 1056 3072 4b Unknown
/dev/block/mmcblk0p8 1089 1184 3072 58 Unknown
/dev/block/mmcblk0p9 1217 1376 5120 70 Unknown
/dev/block/mmcblk0p10 1409 1664 8192 83 Linux
/dev/block/mmcblk0p11 1665 2176 16384 f0 Linux/PA-RISC boot
/dev/block/mmcblk0p12 2177 34944 1048576 83 Linux
/dev/block/mmcblk0p13 34945 42944 256000 83 Linux
/dev/block/mmcblk0p14 42945 954240 29161464 83 Linux
~ #
for now i just flashed a stock rom via flashtool, installed the latest twrp and internal storage is 26410mb should that be the right size at default
xboxhaxorz said:
i was able to do that, however in the rom i get an encryption error and it wont let me get past that, TWRP is now at version 3 but the internal storage now called sdcard in twrp is still a 0mb
~ #
Click to expand...
Click to collapse
What error do You get exactly when You say encryption error? And where do You get this error, in TWRP or after booting up? If You are using correct TWRP, then You shouldn't get these errors such as sdcard being 0mb. Because the TWRP automatically maps to new storage.
xboxhaxorz said:
for now i just flashed a stock rom via flashtool, installed the latest twrp and internal storage is 26410mb should that be the right size at default
Click to expand...
Click to collapse
26410 MB = 25.79 GB, so it is the default size.
So i flashed a stock rom to restore everything, put the latest twrp on the phone, and then followed this guide to format
http://forum.xda-developers.com/xperia-s/s-development/tutorial-increase-data-partition-t2821058
Converted to new partition structure and flashed rom now all is working well
Thanks