[CONCEPT] Repartition NAND to reclaim watsted space. - Galaxy S 4 Developer Discussion [Developers-Only]

UPDATE: Based on feedback it seems we need a talented dev to write a script which could be run from windows via ADB shell or even better a CWM zip which could run the parted utility from recovery to resize the system partition to shrink it's size and relocate this to the data partition.
If this can be done via a CWM zip safely without risking critical boot/recovery partitions then a recovery zip could revert the sizes to stock without ever needing Odin and a PIT file.
----------------------------------------
Hey guys I'm not an experienced dev or programmer and messing with internal partition layouts is certainly a risky thing to contemplate...
However with sooooo much wasted space from Sammy bloat, especially if you decide to move to CM10.1/GE ROMs, I decided to look into it.
So I found an informative thread on the S2 forums showing how to customise a PIT file.
I'm not really a programmer so will need people to step forward but check this out:
http://forum.xda-developers.com/showthread.php?t=2353551
[GUIDE] Enlarge DATAFS partition and get rid of Internal SD (UMS)
Sent from my GT-I9505 using Tapatalk 2

Reserved...
Sent from my GT-I9505 using Tapatalk 2

Possible? Yes. Dangerous as hell and hence not really advisable? Also yes.

Entropy512 said:
Possible? Yes. Dangerous as hell and hence not really advisable? Also yes.
Click to expand...
Click to collapse
Yeah I figured as much... I'm intrigued tho by the confidence that the dev has with it tho. Is it naive. I mean assuming you get every single thing right modifying the Pit file would it actually be easy to accomplish...?
I assume it's a case of: If you get it wrong you're fu**ed with no way to recover and hence to way to test without maybe frying a NAND or two
Sent from my GT-I9505 using Tapatalk 2

Well, i went through big mess with PIT and GPT re-layout of my I9500 around couple of months ago. I can tell some my conclusions. Please note, i'm talking about I9500.
1) PIT file is signed and verified upon flash through Odin. So, there is no way to have customized PIT file as it was for I9100 or I9300. Most likely I9505 has the same protection again tampering. Odin simply hangs after uploading PIT file, so you have to unplug your phone and reboot (either by long power press or by removing battery). Nothing changes inside the phone. After rebooting you still have original PIT inside.
2) Bootloader (or Trusted Zone OS - idk) checks PIT's signature on every boot. So, if you upload customized PIT directly by dd, your phone will go into endless cycles of boot - initial Samsung Galaxy S4 logo will flash about every 2 seconds. The only possible solution will be entering into download mode and flash original PIT file.
3) Actually messing with PIT is not as dangerous as expected. If you won't touch boot block then you will be able to enter download mode even if rest of internal flash will be corrupted. Boot block on I9500 is protected from writing on hardware level (unless you use engineering bootloader), thus actually it's harmless
So, there is no way to customize the PIT file (As i did on my I9100, I9300 and E210K) on I9500.
So, i went different path. I've repartitioned internal flash by modifying GPT table (by parted utility). It works well. I've added 2.5+ GB to data partition.
Because original PIT file doesn't point correctly to all partitions now, i can use Odin only to flash partitions before those i've moved or re-sized. Since i don't use stock ROMs, it's fine for me. I still can flash modem kernel and recovery - this more than enough to recover from non-working kernel or recovery.

@sorg
This sounds exactly what I'm aiming for!
Thanks for sharing and I think I stumbled on a blog describing how you did during my research unless someone else used a similar method on the S2.
Parted: that's run through abd in recovery?
And to undo the repartition you can use Odin and and the stock PIT file to restore correct?
Sent from my GT-I9505 using Tapatalk 2

rlorange said:
Parted: that's run through abd in recovery?
Click to expand...
Click to collapse
That's right.
Don't forget to format changed partitions.
rlorange said:
And to undo the repartition you can use Odin and and the stock PIT file to restore correct?
Click to expand...
Click to collapse
Correct. Just use any official Odin ROM release and PIT file. Mark re-format option and partition layout will be restored to original state.

sorg said:
That's right.
Don't forget to format changed partitions.
Correct. Just use any official Odin ROM release and PIT file. Mark re-format option and partition layout will be restored to original state.
Click to expand...
Click to collapse
I'm curious if you can get this working and if you do, can you give a step by step? I'd love to repartition phone and get back all that wasted space that some of the leaner ROMs won't use so that I can have more space for data.

pphi said:
I'm curious if you can get this working and if you do, can you give a step by step? I'd love to repartition phone and get back all that wasted space that some of the leaner ROMs won't use so that I can have more space for data.
Click to expand...
Click to collapse
I'm also curious about this, as the I9505G folks who might want to switch between Sammy FW and Google FW, this might give us what we need!

Hopefully someone will write a windows program to do this or even better a cwm zip since parted could be run from CWM recovery
Sent from my GT-I9505 using Tapatalk 2

tublah said:
I'm also curious about this, as the I9505G folks who might want to switch between Sammy FW and Google FW, this might give us what we need!
Click to expand...
Click to collapse
I believe, PIT file from I9505G will be accepted by I9505. Just wait for I9505G appear in someone's hands who will be able to dump everything.

The i9000 went through, at least, 3 different partition layouts throughout CM development (by Pawitp). They were always done by flashing a new kernel through cwm, rebooting and installing a new rom to the new partitions, which were formated in the process. All the magic was done by cwm, we never used any windows tool to do it, except Odin+pit to get back to stock partition layout.
Maybe Pawitp can help out also.
Sent from my GT-I9505 using Tapatalk 4 Beta

sorg said:
I believe, PIT file from I9505G will be accepted by I9505. Just wait for I9505G appear in someone's hands who will be able to dump everything.
Click to expand...
Click to collapse
I sure hope so. I've got a GT-I9505G being delivered today and I'd love the choice of Sammy firmware or Google.
Sent from my Nexus 10 using XDA Premium HD app

AlexandreT said:
The i9000 went through, at least, 3 different partition layouts throughout CM development (by Pawitp). They were always done by flashing a new kernel through cwm, rebooting and installing a new rom to the new partitions, which were formated in the process. All the magic was done by cwm, we never used any windows tool to do it, except Odin+pit to get back to stock partition layout.
Maybe Pawitp can help out also.
Sent from my GT-I9505 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Yep, since I've seen this here thread I wonder if lvm could help here too
http://forum.xda-developers.com/showthread.php?p=26164531#post26164531

tublah said:
I sure hope so. I've got a GT-I9505G being delivered today and I'd love the choice of Sammy firmware or Google.
Sent from my Nexus 10 using XDA Premium HD app
Click to expand...
Click to collapse
Great well if someone knows how to help extract the PIT file from your GE device that might help
Sent from my GT-I9505 using Tapatalk 2

There is a pit file that was included in the Odin package for the leaked 4.3 - would that work?
Sent from my Nexus 10 using XDA Premium HD app

tublah said:
There is a pit file that was included in the Odin package for the leaked 4.3 - would that work?
Sent from my Nexus 10 using XDA Premium HD app
Click to expand...
Click to collapse
i've downloaded leaked 4.3 for I9505, but that's just CWM install zip.
Can u give link to package including PIT file?
Or if you already downloaded, may be you can just attach PIT file to your post?

So the GE firmware has more free space than the stock TW?
Verstuurd van mijn GT-I9505 met Tapatalk

coolnessQ said:
So the GE firmware has more free space than the stock TW?
Verstuurd van mijn GT-I9505 met Tapatalk
Click to expand...
Click to collapse
No, we would need to alter the partitions for that.

Theshawty said:
No, we would need to alter the partitions for that.
Click to expand...
Click to collapse
Thankyou, i get it now!

Related

[Q] Bricked. Need help. (sufferer brick)

hey guys, before you say this is a repost ive had a look and was unable to find someone who done the same thing as me...
i have a brand new galaxy s2,
i tried to root it, but some how i stuffed it up and the phone got stuck on the boot screen after the root, i tried to reinstall the kernel but without being able to get into the phone i didnt know which kernel i needed, i DONT have clockworkmod installed so i couldnt boot via that either, so i tried downloading the stock kernel for Telstra my phone provider, i tried installing that, but now instead of being stuck on the screen with the boot logo and a yellow triangle, im stuck on the screen that has a little image of a phone and a computer and an orange triangle between then with a ! in it. any assistance in this would be greatly appreciated
slippery_gypsy said:
hey guys, before you say this is a repost ive had a look and was unable to find someone who done the same thing as me...
i have a brand new galaxy s2,
i tried to root it, but some how i stuffed it up and the phone got stuck on the boot screen after the root, i tried to reinstall the kernel but without being able to get into the phone i didnt know which kernel i needed, i DONT have clockworkmod installed so i couldnt boot via that either, so i tried downloading the stock kernel for Telstra my phone provider, i tried installing that, but now instead of being stuck on the screen with the boot logo and a yellow triangle, im stuck on the screen that has a little image of a phone and a computer and an orange triangle between then with a ! in it. any assistance in this would be greatly appreciated
Click to expand...
Click to collapse
Hey,
first question:
You are able to get in download mode? (volume down + home button + power button)
If yes, be cool
So when u are able, flash a stock Rom with "re-partition".
This means also that you must have a stock Rom with 3 files (or sometimes more), but not the one .tar file.
If you've done this, your phone should work normal.
Then try to root again with the right "cf-root" for the android version, you flashed.
Good luck!
CHEERS
Sent from my GT-I9100 using XDA App
Hannibal226 said:
Hey,
first question:
You are able to get in download mode? (volume down + home button + power button)
If yes, be cool
So when u are able, flash a stock Rom with "re-partition".
This means also that you must have a stock Rom with 3 files (or sometimes more), but not the one .tar file.
If you've done this, your phone should work normal.
Then try to root again with the right "cf-root" for the android version, you flashed.
Good luck!
CHEERS
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
wow while i was waiting the 5 minutes to do another pist, i downloaded the jpkh1 rom and installed that... mate your my hero, it worked !!! now to follow some guides and and properly root this phone with the right rom
So you're stuck on the boot screen, and you haven't been able to find any other posts to help you out.... except the HUGE pinned one on the top of the forums
[READ THIS] Got a Boot Loop? Don't post a New Thread! ... yeah, okay, makes sense!
thanks thesaw. but the ones i were able to find assumed that people had ClockWorkMod which i didnt have
slippery_gypsy said:
wow while i was waiting the 5 minutes to do another pist, i downloaded the jpkh1 rom and installed that... mate your my hero, it worked !!! now to follow some guides and and properly root this phone with the right rom
Click to expand...
Click to collapse
Gr8 to hear
CHEERS
Sent from my GT-I9100 using XDA App
Hannibal226 said:
Hey,
first question:
You are able to get in download mode? (volume down + home button + power button)
If yes, be cool
So when u are able, flash a stock Rom with "re-partition".
This means also that you must have a stock Rom with 3 files (or sometimes more), but not the one .tar file.
If you've done this, your phone should work normal.
Then try to root again with the right "cf-root" for the android version, you flashed.
Good luck!
CHEERS
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Just out of curiosity: I always read, you should never select "re-partition".
Why do you suggest this here right now for a StockRom?
Thanks in advance.
System of a pWne!^ said:
Just out of curiosity: I always read, you should never select "re-partition".
Why do you suggest this here right now for a StockRom?
Thanks in advance.
Click to expand...
Click to collapse
Never when it's just a one part .tar file!
If you have three or more you can choose for odin (phone,modem,csc)
then u can select it
CHEERS
Sent from my GT-I9100 using XDA App
What I have read it only works if pit file is available, but even then re-partition should not be used. And a one-file tar generally contains the same files (phone,modem,csc) as the three-file-combo.
That's why I'm so confused.
Im honestly glad you guys know what your talking about
Sent from my GT-I9100 using xda premium
System of a pWne!^ said:
What I have read it only works if pit file is available, but even then re-partition should not be used. And a one-file tar generally contains the same files (phone,modem,csc) as the three-file-combo.
That's why I'm so confused.
Click to expand...
Click to collapse
The .pit file is only needed by three-file-combo.
Then you can check also the repartition.
If you have one file .tar, the .pit-file is senseless and never should check repartition.
Sure in one file you have nearly the same "files" like in three, but in three-file they can be written separatly on right partition.
Mates don't get me wrong but just accept it
I'm not a dev or scripter but but flashed a lot.
Never bricked my phone but often hanging in bootloop and so on.
And like you see the way with re-partition can help.
I Never flashed a stock Rom since I had my SGS II, but like I said I'm flashing a lot and I had the SGS before, too
Hope all question are answered.
If not pls ask devs for more info.
But that's the general things I can tell you
CHEERS
Sent from my GT-I9100 using XDA App
Hannibal226 said:
Never when it's just a one part .tar file!
If you have three or more you can choose for odin (phone,modem,csc)
then u can select it
CHEERS
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Wrong, you can use it with both single tarball archive or with the 3 component tarball. You don't need to repartition the device unless you need to change the partition layout for whatever reason or you've damaged your partition layout.
Intratech said:
Wrong, you can use it with both single tarball archive or with the 3 component tarball. You don't need to repartition the device unless you need to change the partition layout for whatever reason or you've damaged your partition layout.
Click to expand...
Click to collapse
1) Right, he damaged it so he needed it.
2) No you shouldn't use it by one file flash!
Read threads and experiences from users which have probs after flashing like this if at all possible to flash.
But however I don't wanna say anybody how to flash.
That's my and also a lot of other user experience
CHEERS
Sent from my GT-I9100 using XDA App

Jelly Bean 4.1.2 XXLSJ Q/A

Since the leak of Samsung galaxy s2 rom
Everybody have been asking questions that doesn't belong there. In this topic goes the questions.
Why? Because the general thread isn't made for being spammed over and over again.
What works
Mostly everything, there are some small issues.
What's new
Smart stay
New lock screen
New ui
New keyboard
New motion features
No ripple lock
General links
bluefa1con said:
Announcement
soon:D
Click to expand...
Click to collapse
What to do when
MarioFan1998 said:
Guys,
This is what I get in Odin:
Added!!
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
MD5 hash value is invalid
CODE_I9100XXLSJ.tar.md5 is invalid.
End...
What now?!
Click to expand...
Click to collapse
doop said:
Rename. CODE_I9100XXLSJ.tar
Remove md5
Click to expand...
Click to collapse
Some general posts
veeruchinnu143 said:
Downloading.......Waited sooo long time....BTW 3 doubts....
1.How to root this JB version...??
2.Can i use siyah kernel with this..?
3.Any bugs in this rom noticed...??
Click to expand...
Click to collapse
rmwolf said:
COMPLIMENTS! You are the 254.452.765 user asking the same questions. You win an iPhone 5 !
Click to expand...
Click to collapse
Asking questions without searching before can lead to this brilliant answer
More to come.
Now just to be clear.
It works!
Sent From My ©Galaxy S4 GT-I9400
Easiest way to install the ROM achieve root and CWM recovery:
(make sure your battery is over 50%)
Download the firmware
extract the files and rename the tar.md5 files to .tar (remove the .md5 part)
Download Philz rooted kernel
Download Mobile Odin
copy all the files to your phone
Install mobile odin
open it and let it check for missing files
if u are using the free version u will need to download the flash kernel from chainfire's thread
In Mobile Odin:
go to Open file browse to the folder you copied files in and select the CODE_I9100XXLSJ file
go to Open file again and browse to CSC file do the same for the modem file
Now go to Open file and select Philz kernel
Select wipe data and dalvic cache to avoid running in any errors
this way mobile odin will flash this kernel rather than the stock non rooted kernel
Flash the firmware
your phone will reboot into mobile odin's special recovery and will flash the firmware
the phone will reboot some times just done worry leave it on table
After the phone boots pat your self on the back for doing a good job and thank Samsung for finally providing a good stock firmware since the gingerbread days
View attachment 1486422
Question: I cannot take screenshots, it says USB storage is in use. But it isn't. Music, file explorers work fine. Any ideas?
Sent from my GT-I9100 using xda premium
Imperiale said:
Question: I cannot take screenshots, it says USB storage is in use. But it isn't. Music, file explorers work fine. Any ideas?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Did you try a re boot? Try un re mount usb storage
Sent From My ©Galaxy S4 GT-I9400
No one compiling a cwm flashable version?
Sent from my GT-I9100 using xda premium
mxn- said:
No one compiling a cwm flashable version?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Looked in op i added a quote which leads to this thread :banghead:
Sent From My ©Galaxy S4 GT-I9400
LastStandingDroid said:
Did you try a re boot? Try un re mount usb storage
Sent From My ©Galaxy S4 GT-I9400
Click to expand...
Click to collapse
I tried both to no avail unfortunately.
Sent from my GT-I9100 using xda premium
Imperiale said:
I tried both to no avail unfortunately.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
And you did a full wipe?
Sent From My ©Galaxy S4 GT-I9400
LastStandingDroid said:
And you did a full wipe?
Sent From My ©Galaxy S4 GT-I9400
Click to expand...
Click to collapse
Yes; that is, I started the ROM with a full wipe. Storage access worked at first, then without explicit intervention on my part I suddenly couldn't take screenshots/edit storage anymore.
If I find a solution I'll provide it here just in case.
Sent from my GT-I9100 using xda premium
bluefa1con said:
Easiest way to install the ROM achieve root and CWM recovery:
Download the firmware
extract the files and rename the tar.md5 files to .tar (remove the .md5 part)
Click to expand...
Click to collapse
This may sound like a silly question, but how do you rename the files?
I ask because I'm trying to flash this via Odin, and it says invalid hash or something.
I'm sure this is related to Odin showing the PDA file as .tar.md5
I have exacted the file, and then tried renaming the file on windows desktop, but Odin still sees this as .tar.md5 and then when I start I get the above error.
Secondly, seems I only had to exact the PDA file, for the CSC and Modem files did not need exacting, is this right?
I've used Odin heaps of times before, but I feel hopeless this time...
Damienoid said:
This may sound like a silly question, but how do you rename the files?
I ask because I'm trying to flash this via Odin, and it says invalid hash or something.
I'm sure this is related to Odin showing the PDA file as .tar.md5
I have exacted the file, and then tried renaming the file on windows desktop, but Odin still sees this as .tar.md5 and then when I start I get the above error.
Secondly, seems I only had to exact the PDA file, for the CSC and Modem files did not need exacting, is this right?
I've used Odin heaps of times before, but I feel hopeless this time...
Click to expand...
Click to collapse
Try rename all files except checksum
Sent From My ©Galaxy S4 GT-I9400
Could somebody please check the mounts for me? Would be very much appreciated. I have them at \sdcard0 and \extSDcard.
Sent from my GT-I9100 using xda premium
Very first impressions: No yellow triangle after flash and the keyboard sucks. But its smooth.
Imperiale said:
Could somebody please check the mounts for me? Would be very much appreciated. I have them at \sdcard0 and \extSDcard.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
So do I and can use screenshot
Sent From My ©Galaxy S4 GT-I9400
Strange. Another reboot seems to have fixed the problem. Thanks for the help.
Sent from my GT-I9100 using xda premium
LastStandingDroid said:
So do I and can use screenshot
Sent From My ©Galaxy S4 GT-I9400
Click to expand...
Click to collapse
So, how did you take the screenshot? I mean, was it the usual volume down + lock or was it like the S3...a palm swipe?
Hi I left my phone on overnight, turned Wi-Fi, sync, data and gps off but the phone didn't go into deep sleep. Oh and it wasn't on charge, screenshots added. Any ideas?
Sent from my GT-I9100 using Tapatalk 2
.PIT File
Sorry if the below point has already been covered. I only have 1 doubt:
1. Currently, my S2 has no free space in system/app (happened post the wrong 4.0.4 saga). So, please tell me if I need to use the PIT file too. As I dont want any more 0 space in system/app. I tried to ask it in the regular posts but no one could give me a concrete solution. May be, since here it is less of a ruckus, I might actually be able to increase my system/app folder memory.:fingers-crossed::fingers-crossed:
Succesfully installed, then rooted , then applied Phils CWM (PhilZ-cwm6-XXLSJ-OXX-3.1-signed.zip) through ordinary android 'install zip from sdcard'
sim lock issue!!!
I have successfully updated my sII to JB 4.1.2 but now it says I need to enter SIM network unlock PIN!!!! My phone was bought free of any carrier....what should I do!!! PLEASE help!! I cannot use my phone!!!

[Q] Help! Hard Bricked Verizon i605 Note 2

My phone is a verizon galaxy note 2 USA verizon that took the vram ota update. Then this -
Hello,
To make a long story as short as possible. I used Adam Outlers Casual to flash my phone to beanstown's "jellybeans" rom. Everything was fine until I didnt like the volume not being able to go high. So using odin I checked the "nand erase all" like an idiot and flashed back to the stock unrooted rom using the pit file and the unrooted stock md5.
Now what happens:
Now the phone boots up but might be stuck in read only mode I am not sure and need help. Because when plugged into the computer it shows -104843489764 bytes for storage and won't let anything download to the phone. When I turned the cam on it says "not enough memory" and the worst part is it says "no sim card" and can't connect to the network for phone calls, texts or internet.
I can enter download mode. I can enter recovery mode. But all my attempts at using the repartition button while flashing again to stock rom did not work. I believe maybe I somehow have to format and repartition the internal storage? It won't let me flash clockworkmod using odin so I guess I have unrooted it. Im just mentioning all the things I have tried. Thank you very much for any help you can give.
Try refreshing the PIT file in Odin which should fix all of the partitions.
Also, a hard brick is only when your phone won't turn on, period. You have a soft brick which should be fixable.
Sent from my SCH-I605 using Tapatalk 4
miketoasty said:
Try refreshing the PIT file in Odin which should fix all of the partitions.
Also, a hard brick is only when your phone won't turn on, period. You have a soft brick which should be fixable.
Sent from my SCH-I605 using Tapatalk 4
Click to expand...
Click to collapse
Thank you for your help Sir.
I have the PIT file, and I used that when I flashed back to the stock verizon rom using Odin. Is there a way to use it by itself?
ry0t said:
Thank you for your help Sir.
I have the PIT file, and I used that when I flashed back to the stock verizon rom using Odin. Is there a way to use it by itself?
Click to expand...
Click to collapse
You should be able to open Odin and Judy flash it by itself. No extra steps needed.
Sent from my SCH-I605 using Tapatalk 4
miketoasty said:
You should be able to open Odin and Judy flash it by itself. No extra steps needed.
Sent from my SCH-I605 using Tapatalk 4
Click to expand...
Click to collapse
Hello again,
This thread for the galaxy s3 shows how to unbrick the phone that is in read-only mode. I know mine is too just like it says but I cant find the files for my phone or any other information on how to get my verizon note 2 out of read only or make sure it is formatted correctly to reinstall the stock rom. Here is the thread:
http://forum.xda-developers.com/showthread.php?t=1840030
"Sometimes when you flash a ROM (TouchWiz or AOSP), there is a risk of the /system and /data partitions not wiping correctly thus leading them to be formatted with R/O permissions rather than R/W. This makes it impossible for the phone to boot up because no data can be written."
What really concerns me also is when it's plugged in through USB and I click the drive for the internal storage it shows as having -1049874323 bytes of space instead of the usual 9gig free.
Email me with snapshot of the problem.... Nikhil.kdhand at gmail.com
Sent from my SCH-I605 using xda app-developers app
Hi,
Could you please let me know do you fix this problem? I am in the same situation.
Thanks a lot!
ry0t said:
My phone is a verizon galaxy note 2 USA verizon that took the vram ota update. Then this -
Hello,
To make a long story as short as possible. I used Adam Outlers Casual to flash my phone to beanstown's "jellybeans" rom. Everything was fine until I didnt like the volume not being able to go high. So using odin I checked the "nand erase all" like an idiot and flashed back to the stock unrooted rom using the pit file and the unrooted stock md5.
Now what happens:
Now the phone boots up but might be stuck in read only mode I am not sure and need help. Because when plugged into the computer it shows -104843489764 bytes for storage and won't let anything download to the phone. When I turned the cam on it says "not enough memory" and the worst part is it says "no sim card" and can't connect to the network for phone calls, texts or internet.
I can enter download mode. I can enter recovery mode. But all my attempts at using the repartition button while flashing again to stock rom did not work. I believe maybe I somehow have to format and repartition the internal storage? It won't let me flash clockworkmod using odin so I guess I have unrooted it. Im just mentioning all the things I have tried. Thank you very much for any help you can give.
Click to expand...
Click to collapse
I am in the same situation. Any updates?

[Q] Horrible Soft Brick - Odin Mode Only

Here we go:
I was trying to install a custom rom today (done it about 20 times before on different devices including this one).
Had rooted stock & CWM custom bootloader (unlocked using Casual months ago I think).
Flashed custom rom and (unfortunately) downloaded and flashed a file for the international version (GT-N7100).
Basically, I accidentally flashed the MJ5 custom bootloader by accident (again, it's for international version, which I have SCH-i605).
It's from here under the SPECIAL INSTRUCTIONS FOR 3.6 AND ABOVE heading
(don't ask why, I'm an idiot. Was trying to install this rom and just totally blew past the fact it was for international version)
I've tried using odin to flash "KIES_HOME_I605VRAMC3_I605VZWAMC3_1098177_REV04_user_low_ship.tar.md5" (stock rom) and "sch-i605-16gb.pit" as outlined in the countless 'Restore to stock rom/bootloader from bricked state' articles out there on the webs but it keeps failing. (Part 1b from here)
Current symptoms:
Boot loop almost instant at samsung logo with new N7100 line. Will not boot into bootloader but I can get it into odin download mode.
Using Odin3 v 3.07 (on multiple computers with the right drivers I'm pretty sure) I go into download mode and this is listed:
ODIN MODE
PRODUCT NAME: GT-N7100
CUSTOM BINARY DOWNLOAD: NO
CURRENT BINARY: Samsung Official
SYSTEM STATUS: Custom
WARRANTY BIT: 0
Odin hangs at 'Get PIT for mapping' if re-partition is checked, outputs the following if re-partition is unchecked (only auto-reboot and F. Reset Time checked)
<ID:0/006> Added!!
<ID:0/006> Odin v.3 engine (ID:6)..
<ID:0/006> File analysis..
<ID:0/006> SetupConnection..
<ID:0/006> Initialzation..
<ID:0/006> Get PIT for mapping..
<ID:0/006> Firmware update start..
<ID:0/006> boot.img
<ID:0/006> NAND Write Start!!
<ID:0/006> FAIL!
<OSM> All threads completed. (succeed 0 / failed 1)
After this point, it's like the phone stops responding to odin, because if I try to flash again or flash something else, odin just outputs:
<OSM> All threads completed. (succeed 0 / failed 0)
I've been at it for about 8 hours now and I know I'm getting desperate, so I'm hoping you all can help me out before I resort to new phone/sending in for factory reset
Thanks!
- John
Which stock rom are you trying to put back
Sent from my SCH-I605 using XDA Premium 4 mobile app
---------- Post added at 10:35 AM ---------- Previous post was at 10:33 AM ----------
Is the Samsung logo Blickling or is stable
thanks,
chat/email : [email protected]
Sorry to say John but that's not a soft brick. Flashing a bootloader for another device causes a hard brick which willl require a JTAG.
nikhil.kdhand said:
Which stock rom are you trying to put back
Sent from my SCH-I605 using XDA Premium 4 mobile app
---------- Post added at 10:35 AM ---------- Previous post was at 10:33 AM ----------
Is the Samsung logo Blickling or is stable
thanks,
chat/email : [email protected]
Click to expand...
Click to collapse
Everything you ask is in the op.
Samsung logo not stable.
Stock rom he's trying to flash is vramc3 4.1.2
Sent from my SCH-I605 using Tapatalk
Re: JTAG
Hälftebyte said:
Sorry to say John but that's not a soft brick. Flashing a bootloader for another device causes a hard brick which willl require a JTAG.
Everything you ask is in the op.
Samsung logo not stable.
Stock rom he's trying to flash is vramc3 4.1.2
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
Ah, thanks for clearing that up. Guess it's JTAG repair time. I went ahead and purchased a JTAG repair from mobiletechvideos[dot]mybigcommerce[dot]com (Sorry, I haven't posted enough on my account to put outside links in)
For $50, I think it'll be worth having my baby back.
Thanks for your help!
- John Miller
he1calledbubba said:
Ah, thanks for clearing that up. Guess it's JTAG repair time. I went ahead and purchased a JTAG repair from mobiletechvideos[dot]mybigcommerce[dot]com (Sorry, I haven't posted enough on my account to put outside links in)
For $50, I think it'll be worth having my baby back.
Thanks for your help!
- John Miller
Click to expand...
Click to collapse
Yeah many people use him. He's also here on XDA.
Let us know how it turns out. :good:
I actually did the exact thing you did. I can flash other roms, but can't get the radio back or flash AOSP roms. Can you let me know how the JTAG goes? I need to do it, too. It's either that or upgrade to a note 3.
Could you guys give me a recommendation on the one I should choose?
Also. I don't mean to sound like a "noob" or anything, but would it be possible to just flash the i605 bootloader back?
Numzi said:
I actually did the exact thing you did. I can flash other roms, but can't get the radio back or flash AOSP roms. Can you let me know how the JTAG goes? I need to do it, too. It's either that or upgrade to a note 3.
Could you guys give me a recommendation on the one I should choose?
Also. I don't mean to sound like a "noob" or anything, but would it be possible to just flash the i605 bootloader back?
Click to expand...
Click to collapse
Sounds like you have a different issue. Have you tried reverting to stock? If you can flash roms fine then you should be able to go back to stock which would return you to i605 radio and bootloader. If you go back to stock and still have no radio then you probably borked your efs
Sent from my SCH-I605 using Tapatalk
Hälftebyte said:
Sounds like you have a different issue. Have you tried reverting to stock? If you can flash roms fine then you should be able to go back to stock which would return you to i605 radio and bootloader. If you go back to stock and still have no radio then you probably borked your efs
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
I have tried doing that, but Odin gets stuck on different things. I cant even repartition with the i605 pit file. But it lets me repartition with the N7100 one. Also, I cant flash the stock rom as it gets stuck on sboot, but if I use 66root one, it goes through, but doesn't run properly. (Odin also allows me to flash the N7100 stock file.)
The bootloader baseline file also gets stuck on tz.img. (Unless I'm using the wrong one, but I'm sure I'm not)
I kind of lost hope in restoring my phone to normal. if I flash a 4.3 TW Rom, it works fine, but the radio doesnt read. If I flash a 4.1.2 Rom, it works fine and I might or might not get signal, but data doesnt work and my internal memory reads 0/0. Any ideas?
Sent from my SCH-I605 using xda app-developers app
Numzi said:
I have tried doing that, but Odin gets stuck on different things. I cant even repartition with the i605 pit file. But it lets me repartition with the N7100 one. Also, I cant flash the stock rom as it gets stuck on sboot, but if I use 66root one, it goes through, but doesn't run properly. (Odin also allows me to flash the N7100 stock file.)
The bootloader baseline file also gets stuck on tz.img. (Unless I'm using the wrong one, but I'm sure I'm not)
I kind of lost hope in restoring my phone to normal. if I flash a 4.3 TW Rom, it works fine, but the radio doesnt read. If I flash a 4.1.2 Rom, it works fine and I might or might not get signal, but data doesnt work and my internal memory reads 0/0. Any ideas?
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
Most likely you're going to need JTAG if you really want to be back to original. If not there are a few things I would try.
Anyway, from what I'm reading you're on an N7100 bootloader so that's why you're able to repartition with the N7100 pit file. You're pretty lucky you're even able to repartition to be honest.
What happens when you flash the N7100 stock rom? Are you able to boot?
Are you using your phone on the Verizon network?
Btw, the reason root66 works is because it only contains the system partition. There's no sboot, boot, modem etc in there to conflict with the N7100 bootloader you currently have. But of course it will have issues since the i605 system image won't jell well with N7100 boot, etc.
Sent from my SCH-I605 using Tapatalk
Hälftebyte said:
Most likely you're going to need JTAG if you really want to be back to original. If not there are a few things I would try.
Anyway, from what I'm reading you're on an N7100 bootloader so that's why you're able to repartition with the N7100 pit file. You're pretty lucky you're even able to repartition to be honest.
What happens when you flash the N7100 stock rom? Are you able to boot?
Are you using your phone on the Verizon network?
Btw, the reason root66 works is because it only contains the system partition. There's no sboot, boot, modem etc in there to conflict with the N7100 bootloader you currently have. But of course it will have issues since the i605 system image won't jell well with N7100 boot, etc.
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
If I could avoid JTagging it would be preferred haha. I don't care about going back to complete original (stock) if that's what you mean. I just want to get my Radio to read while being able to access my storage and data because I'm pretty happy with the 4.3 Touchwiz Rom (at least for now).
When I flash the N7100 stock rom, I can boot. It boot loops until I go into recovery and format data/cache and after that it works fine, with no radio service. Also, I have always been using my phone on the H2O Wireless network with APN settings. But now, the radio doesn't read at all and shows no imei and what not. However if I go back to Jedi X 19 (was my daily 4.1.2 TW driver), the radio reads and I have my imei, but I can't get data and it says my memory is full (can't open gallery and my internal SD says 0/0 bytes).
I know about root66, but what I don't understand is why I was able to flash to the N7100 bootloader and now can't flash back to the i605 one. Is there a specific reason for that?
Btw, Thanks for trying to help me right now. Really appreciated.
Numzi said:
If I could avoid JTagging it would be preferred haha. I don't care about going back to complete original (stock) if that's what you mean. I just want to get my Radio to read while being able to access my storage and data because I'm pretty happy with the 4.3 Touchwiz Rom (at least for now).
When I flash the N7100 stock rom, I can boot. It boot loops until I go into recovery and format data/cache and after that it works fine, with no radio service. Also, I have always been using my phone on the H2O Wireless network with APN settings. But now, the radio doesn't read at all and shows no imei and what not. However if I go back to Jedi X 19 (was my daily 4.1.2 TW driver), the radio reads and I have my imei, but I can't get data and it says my memory is full (can't open gallery and my internal SD says 0/0 bytes).
I know about root66, but what I don't understand is why I was able to flash to the N7100 bootloader and now can't flash back to the i605 one. Is there a specific reason for that?
Btw, Thanks for trying to help me right now. Really appreciated.
Click to expand...
Click to collapse
Okay, I doubt what I was thinking of is going to work then. I was thinking you should flash the N7105 modem while you're on the N7100 rom. Maybe you can try that or maybe try flashing the i605 modem there's always the risk of fully bricking it though.
If that doesn't work I would try using Heimdall to flash the I605 pit file and sboot.bin.
Heimdall sometimes works in cases where Odin fails (according to a JTAG guy a spoke to once)
I have no problem helping. I have three motherboards myself, two of which i experiment with. One is bricked, one is water damaged and semi bricked (no efs, imei, internal memory only works on 4.3 TW) and one is fully functional :laugh:
Hälftebyte said:
Okay, I doubt what I was thinking of is going to work then. I was thinking you should flash the N7105 modem while you're on the N7100 rom. Maybe you can try that or maybe try flashing the i605 modem there's always the risk of fully bricking it though.
If that doesn't work I would try using Heimdall to flash the I605 pit file and sboot.bin.
Heimdall sometimes works in cases where Odin fails (according to a JTAG guy a spoke to once)
I have no problem helping. I have three motherboards myself, two of which i experiment with. One is bricked, one is water damaged and semi bricked (no efs, imei, internal memory only works on 4.3 TW) and one is fully functional :laugh:
Click to expand...
Click to collapse
Well at this point, I was already ready to send it for JTag repair so I'll try anything. Would you mind letting me know which N7105 modem I should flash? I've already tried i605 modems (not through Odin though) and they haven't worked.
I'm a bit confused with how to use Heimdall and where to find sboot for i605. I have it and wanted to try it, but was lost haha.
Oh that's great lolol. Mine is like yours for internal memory right now. I have a back up of my efs folder, but when I restore it, it doesn't read it.
Numzi said:
Well at this point, I was already ready to send it for JTag repair so I'll try anything. Would you mind letting me know which N7105 modem I should flash? I've already tried i605 modems (not through Odin though) and they haven't worked.
I'm a bit confused with how to use Heimdall and where to find sboot for i605. I have it and wanted to try it, but was lost haha.
Oh that's great lolol. Mine is like yours for internal memory right now. I have a back up of my efs folder, but when I restore it, it doesn't read it.
Click to expand...
Click to collapse
If you have CWM or TWRP you could try one of these flashable modems from here http://forum.xda-developers.com/showthread.php?t=2031575
As I said this might brick you fully
Heimdall is pretty easy after you get the hang of it. After download you will need to setup the drivers with the zadig.exe installer. I would use a different usb port from the one you currently use for Odin so you don't have to reinstall samsung drivers whenever you want to use Odin. You should find a tutorial easily to get started. If you need more help I can go into a bit more detail.
To access the files that Heimdall will need (sboot.bin, boot, tz, system, param, modem.bin etc ), make a copy of the tar.md5 rom file you have. Remove the .md5 at the end and use 7z to extract the contents. You will see all the separate files needed for each partition.
The fact that you can actually repartition sounds good though. I feel like if you can get the I605 sboot.bin (bootloader) flashed, you can then partition with the I605 PIT. This is all speculation though :fingers-crossed:
Hälftebyte said:
If you have CWM or TWRP you could try one of these flashable modems from here http://forum.xda-developers.com/showthread.php?t=2031575
As I said this might brick you fully
Heimdall is pretty easy after you get the hang of it. After download you will need to setup the drivers with the zadig.exe installer. I would use a different usb port from the one you currently use for Odin so you don't have to reinstall samsung drivers whenever you want to use Odin. You should find a tutorial easily to get started. If you need more help I can go into a bit more detail.
To access the files that Heimdall will need (sboot.bin, boot, tz, system, param, modem.bin etc ), make a copy of the tar.md5 rom file you have. Remove the .md5 at the end and use 7z to extract the contents. You will see all the separate files needed for each partition.
The fact that you can actually repartition sounds good though. I feel like if you can get the I605 sboot.bin (bootloader) flashed, you can then partition with the I605 PIT. This is all speculation though :fingers-crossed:
Click to expand...
Click to collapse
I got it. Alright then I will try this tomorrow when I finish classes (It's 3am right now and I have to wake up in 4 hours). I'll post here with the result! This is a new suggestion for this, so I'm kind of nervous/excited about the result. haha.
Just think of it as another experiment for you. Fingers crossed. I'll let you know and thanks so much.
Numzi said:
I got it. Alright then I will try this tomorrow when I finish classes (It's 3am right now and I have to wake up in 4 hours). I'll post here with the result! This is a new suggestion for this, so I'm kind of nervous/excited about the result. haha.
Just think of it as another experiment for you. Fingers crossed. I'll let you know and thanks so much.
Click to expand...
Click to collapse
Also in case you didn't realize, since everything except internal storage works in JediX19, when installing Jedi you can install the swap script, FAT32 script (no need to format external sd card). Then you will have 'internal storage' and a signal. Not the best solution but a workaround. Not many roms have the swap script option so I guess you'd be stuck on Jedi if you choose this route.
Hälftebyte said:
Also in case you didn't realize, since everything except internal storage works in JediX19, when installing Jedi you can install the swap script, FAT32 script (no need to format external sd card). Then you will have 'internal storage' and a signal. Not the best solution but a workaround. Not many roms have the swap script option so I guess you'd be stuck on Jedi if you choose this route.
Click to expand...
Click to collapse
So Heimdall didn't work - it failed repartitioning and when I tried unchecking that, failed at bootloader, then at cache, etc. Do you think it's wiser for me to first try flashing the modem then do the SD Swap? or to just do the SD Swap thing on Jedi?
EDIT: I just did the FAT32 script and the internal storage (which is actually my ext SD card), still says 0/0 bytes...
Numzi said:
...
EDIT: I just did the FAT32 script and the internal storage (which is actually my ext SD card), still says 0/0 bytes...
Click to expand...
Click to collapse
Strange it works for me. Otherwise I only have internal memory when I'm on TW 4.3
I guess there's not much more experimenting to do
Hälftebyte said:
Strange it works for me. Otherwise I only have internal memory when I'm on TW 4.3
I guess there's not much more experimenting to do
Click to expand...
Click to collapse
I'll keep trying to see if the Swap could work eventually. I'll just stick with Jedi or the 4.3 rom until I JTag repair in 2 weeks. Thanks for your help. I really appreciate it.
Numzi said:
I'll keep trying to see if the Swap could work eventually. I'll just stick with Jedi or the 4.3 rom until I JTag repair in 2 weeks. Thanks for your help. I really appreciate it.
Click to expand...
Click to collapse
No prob. Good luck. It looked so hopeful with you being able to partition. :good:
Hälftebyte said:
No prob. Good luck. It looked so hopeful with you being able to partition. :good:
Click to expand...
Click to collapse
I decided to just get the JTag service now and just paid for it. I'll let you know if it really goes back to perfect.

[Q] Used p4vzw/sch-i905 cannot be modified

I received this verizon Galaxy Tab 10.1 as a gift and a project, but haven't been able to make any progress.
The tablet was bought from a taxi company that used it was in car entertainment. When booted, an app immediately starts up and removes the navigation bar. If you are fast enough, you can get to the settings and uninstall this app before it starts, or what I have found to be easier, just use shell commands to hit home and uninstall while the app tries to regain control.
The table is currently running 3.2, and cannot update over wifi, nothing happens.
Root was gained by an unknown method, but the SU app won't open up. I can access su through the shell however.
I have tried flashing a cwm recovery through ODIN which says is successful but if it is booted straight to the recovery it is still stock.
Flashing ROM's through ODIN appear to be successful, but just boots right back to the original rom and recovery.
Adding anything to the SD card or anywhere else accessable to the stock recovery does not work either because the SD card is reformatted to the original contents every time.
This also occurs with any apps that are installed, each one is removed when rebooted except for SU. And Rom Manager FC's when CWM is attempting to flash.
nvflash will not work either because the bootloader is locked.
I don't know much about the boot sequence for android, but I looked for any init. files that are out of the ordinary and cannot find anything.
I'm giving this tablet away when I finally figure it out, I just want to fix it. Any help would be awesome and let me know if I've left something out.
Even if no one has any specific suggestions, can someone post a PIT file for a SCH-i905? I have seen the stock firmware that can be flashed through ODIN but it does not stick on my unit.
Thanks!
Excuse my English but my original language is Spanish.
The default verizon tablet brings in recovery an option that reloads the original recovery. If units installed CWM via Odin must access the recovery option (Vol +) on 1st boot and enter the option to leave cmw (reboot) will give you the option of not recovering the recovery.
The other alternative is to flash via odin the original software look it by google "PDA_HC31_EG01Ba_AP352081user_CP1033580_LTE20110704_0708"
in this case the tab stay with the factory version.
if the team does not have SIM must type top left - top right - bottom left, bottom right and then vol + to unlock.
good look
This is the post that you are needing.
http://forum.xda-developers.com/showthread.php?t=1342995
Sent from my SM-N900V using XDA Premium 4 mobile app
i had the same problem but pulling the sim and unlocking as mentioned above helped a lot then went through the whole rooting process through odin and have not had any issues with anything reverting back to stock. only issue now is not very many roms for our model "bummer" all in all still a good droid tablet for what i paid lol if you still havent got it going let me know and i will give you all the directions and steps i used
I have tried installing PDA_HC31_EG01Ba_AP352081user_CP1033580_LTE2011070 4_0708 through Odin3.
I do boot directly into recovery after installing CWM, the stock recovery still persists. I have tried several times because I know sometimes it does not stick.
I have also tried flashing the factory image linked in that xda post "[ROM]EG01 - Factory STOCK ODIN Image - VZW LTE Tab 10.1".
Boots right back up and starts the same taxi cab show case media software it normally does.
One thing I did not note in the first post. I do have root access when the tablet is booted into the os, but I do not when the tablet is in recover. I dont know if this is unusual or not.
I can also install busy box, but have yet to find out his would be useful.
I also do not have access to nvflash, but I think this is normal because the bootloader is not unlocked.
http://forum.xda-developers.com/showthread.php?p=49924392
Might work for you too. This is a post I made in another thread.
Sent from my Nexus 4 using Tapatalk
baystallion said:
http://forum.xda-developers.com/showthread.php?p=49924392
Might work for you too. This is a post I made in another thread.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Awesome, I'll give this a go when I get home.
Was there a p4vzw twrp version some where in those links?
Looks like all of the ones referenced were 3g and wifi only.
Sidenote: I don't care if I keep 4g functionality or not, I will only be using this for wifi, if that makes fixing the problem any easier.
hsbr said:
Was there a p4vzw twrp version some where in those links?
Looks like all of the ones referenced were 3g and wifi only.
Sidenote: I don't care if I keep 4g functionality or not, I will only be using this for wifi, if that makes fixing the problem any easier.
Click to expand...
Click to collapse
Search for infamous AOKP 4.2 thread. I think it has twrp for p4vzw.
Sent from my GT-P7500 using Tapatalk
eushaun99 said:
Search for infamous AOKP 4.2 thread. I think it has twrp for p4vzw.
Sent from my GT-P7500 using Tapatalk
Click to expand...
Click to collapse
I was able to find the thread, thanks!
After downloading the odin flashable twrp, I tried first with Odin3, but it failed. Then I flashed with JOdin, this first pulled a PIT file from the tab then failed to repartition. If I ran it without repartitioning it said it was sucessful, but if I boot straight into recovery the stock android recovery still comes up.
I have a way to get a pit file now though, so that's nice.
hsbr said:
I was able to find the thread, thanks!
After downloading the odin flashable twrp, I tried first with Odin3, but it failed. Then I flashed with JOdin, this first pulled a PIT file from the tab then failed to repartition. If I ran it without repartitioning it said it was sucessful, but if I boot straight into recovery the stock android recovery still comes up.
I have a way to get a pit file now though, so that's nice.
Click to expand...
Click to collapse
Don't use the Odin way. First flash cwm recovery, then flash the twrp zip file.
Sent from my GT-P7500 using Tapatalk
eushaun99 said:
Don't use the Odin way. First flash cwm recovery, then flash the twrp zip file.
Sent from my GT-P7500 using Tapatalk
Click to expand...
Click to collapse
I can't flash CWM in the first place. I have listed all of the different methods I tried flashing CWM with in the OP.
hsbr said:
I can't flash CWM in the first place. I have listed all of the different methods I tried flashing CWM with in the OP.
Click to expand...
Click to collapse
Oh, then I can't help you then. Sorry.
Sent from my GT-P7500 using Tapatalk
hsbr said:
Even if no one has any specific suggestions, can someone post a PIT file for a SCH-i905? I have seen the stock firmware that can be flashed through ODIN but it does not stick on my unit.
Thanks!
Click to expand...
Click to collapse
Yes please i have an issue my tablet got stuck on samsung logo i tried to flash another rom because i cant fing any rom for this tablet US Callular
i905. Tab 2 10.1.
If any one can provide a stock odin or something to make this tablet work i would appreciated?

Categories

Resources