yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S III] jamcar:
here is the ODIN log from when i flashed your data.img

<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> data.img
<ID:0/004> NAND Write Start!!
<ID:0/004> FAIL!
<OSM> All threads completed. (succeed 0 / failed 1)

and then on the phone in download mode it say

ODIN mode
PRODUCT NAME: SPH-L710
CUSTOM BINARY DOWNLOAD: Yes ( 19 counts)
CURRENT BINARY: Custom
CURRENT STATUS: Custom
QUALCOM SECUREBOOT: ENABLE
Unsupport dev_type
[Sprint Samsung Galaxy S III] jamcar:
just to confirm i've tried everything posted and still stuck
[Sprint Samsung Galaxy S III] Esoteric68:
Right, I fully understand why we used it on the E4GT, I was asking why it was needed on the SGSIII. I've since had it explained that it was just a shortcut rather than a necessity.
[Sprint Samsung Galaxy S III] shiftr182:
No, he is saying that Calk created it before it was "needed". He made it for lazy people like me, but after the whole ICS mess, it became a necessity.
[Sprint Samsung Galaxy S III] Esoteric68:
Oh I see, I only started using it after it became a necessity as I didn't flash much before the ICS leaks started.
[Sprint Samsung Galaxy S III] banstew:
Can anyone confirm that they have been able to unbrick besides adam_v1?
[Sprint Samsung Galaxy S III] K.0.0.L.:
No me. This is the same brick as the E4GT. So far Jtag has not found a solution yet.
[Sprint Samsung Galaxy S III] humdrum2009:
Getting a replacement from asurion

Lesson learned never bricked a phone before.

Funny thing is the rep suggested I reported as lost

That way if any funny business comes of me rooting ,and flashing bad firmware I'm covered.
[Sprint Samsung Galaxy S III] EJayMz:
I went into Sprint today and they couldn't do a thing! So I am getting a replacement because I'm in my 30 day window. I did this once before on an Evo. Unless its Calk's format I wouldn't touch it...

Just worried that if they pull the internal sd they will see the files for root
[Sprint Samsung Galaxy S III] Esoteric68:
To avoid future trouble you should know the return window is now 14 days, not 30.
[Sprint Samsung Galaxy S III] fergie716:
I thought first 14 days you can take the phone back and, if you used an upgrade, you get your upgrade back or exchange it

After 14 days, but before 30, you can take the phone back for repair for free.

Or something like that. I got my phone @ Best Buy I'm pretty sure the first 14 day rule is universal, not sure about 15-30 day warranties
[Sprint Samsung Galaxy S III] mkasick:
Keep using CWM-Recovery-LTE-SGS3-v4-adb, so reflash it if you flashed any other recovery.

Now, download make_ext4fs. Place it in the directory from which you're running adb commands. Then reboot into CWM and do:

adb push make_ext4fs /tmp/
adb shell # Verify "~ #" prompt
chmod 755 /tmp/make_ext4fs
/tmp/make_ext4fs /dev/block/mmcblk0p15
sync

Which will reformat the partition. It might take a little bit, but not much more than a few minutes.

If that works, reflash stock recovery, boot stock recovery, and select "wipe data/factory reset".
[Sprint Samsung Galaxy S III] Esoteric68:
Ah, not sure about the repair part as I've been really fortunate and only ever needed it once (Palm Pre, threw it against stone steps, unintentionally) and they guy was so nice he just said "here, don't tell anyone" and gave me a replacement.
[Sprint Samsung Galaxy S III] fergie716:
I know I've never used insurance either. I was thinking about switching to Best Buy insurance instead of Sprint's. BB covers water damage and if you drop it and it breaks.

Sprint's covers if you loose it or have it stolen. Tough call
[Sprint Samsung Galaxy S III] Esoteric68:
I've heard good things about BB's insurance, I think the cost is covered in the initial purchase of the phone (usually like $100 over msrp). My insurance is just keeping my previous phone as back up in case I break my new phone. lol
[Sprint Samsung Galaxy S III] jfin79:
Im still bricked is there something e can flash to reset the counter
[Sprint Samsung Galaxy S III] banstew:
I got sick of waiting for jamcam. Just ran the same commands that you had him run which he ended with it worked

C:\android-sdk\platform-tools>adb shell
~ # dd if=/dev/block/mmcblk0p15 of=/dev/null bs=256k
dd if=/dev/block/mmcblk0p15 of=/dev/null bs=256k
50128+0 records in
50128+0 records out
13140754432 bytes (12.2GB) copied, 429.325195 seconds, 29.2MB/s

now about to start in on these steps

EDIT:

completed all of mkasick's above steps successfully including wipe data/factory reset in stock recovery! ... what now?
[Sprint Samsung Galaxy S III] Adam_v1:
If your wipe in the stock recovery was successful then you should be able to Odin CWM back on and flash away to whatever ROM you wish. As long as you don't get any errors with /data you are cured.
[Sprint Samsung Galaxy S III] banstew:
I flashed back to CWM. My data was mounted, but it says no files found when I try to choose zip from sd. Do I need to mount anything else?
[Sprint Samsung Galaxy S III] Adam_v1:
If your case was like mine then your internal SD got totally wiped by this mess, I was keeping all my ROM files and such on the external SD so I didn't notice the missing data until I went to play some music that was saved on there and found it missing. So you are going to have to load up whatever you want to flash on the removable SD card and then flash it.
[Sprint Samsung Galaxy S III] banstew:
would flashing back to the recovery that has adb working and pushing out a file work? I lost my micro sd adapter.

Also if a mod happens to see this could I please get verified as not a spammer? Its either that or my life as a self aware bot has been one rather elaborate lie.
[Sprint Samsung Galaxy S III] Adam_v1:
Yeah, pushing the file via ADB should work just fine if you can do that.

Also, I think its only the first 10 posts that are rough, you should be able to post links and such now.
[Sprint Samsung Galaxy S III] banstew:
ok I'll give that a shot and its not the links that are a problem its the 5 min waiting period between posts
[Sprint Samsung Galaxy S III] K.0.0.L.:
I went to sprint today and got mine replace. I was still under the 14 day ( Last and final day ). My phone have 6 counter, lucky they didn't check that. I odin to stock and it boot up to samsung logo and stuck. I told them I have no clue what happen, plus I'm a foreigner so I pretend not to speak english very well. They exchange right on the spot

---------- Post added at 02:22 AM ---------- Previous post was at 02:21 AM ----------

I will not flash any of JAMCAR's project. Learned my lesson
[Sprint Samsung Galaxy S III] banstew:
im not great with adb shell and dont want to screw something further up would this work for the command?

adb push Phantom_Blazer_LG2_SprintGS3_1.4 /

as long ad the rom is in the shell's directory?

edit: needed a .zip in there too
[Sprint Samsung Galaxy S III] Adam_v1:
I'm no ADB wiz either but I think what you want is

adb push Phantom_Blazer_LG2_SprintGS3_1.4.zip /sdcard/
[Sprint Samsung Galaxy S III] banstew:
isn't it actually /mnt/extSD or something along those lines? Could anyone with a working phone tell me the path to the sdcard?
[Sprint Samsung Galaxy S III] PhantomHacker:
/sdcard should work.
[Sprint Samsung Galaxy S III] Adam_v1:
Well just doing a quick directory listing on my phone I seem to be able to read the SD card with either /mnt/sdcard/ or just /sdcard/, pretty sure you can't hurt anything by trying to push a file to a place that does not exist.
[Sprint Samsung Galaxy S III] banstew:
that worked. flashing the rom now
[Sprint Samsung Galaxy S III] jamcar:
is there a fix for the internal sdcard?
[Sprint Samsung Galaxy S III] banstew:
I now have a working phone. I'll compile my steps so that others can follow them. Thank you to everyone that helped.

edit here is the full write up:

then flash back to CWM-Recovery-LTE-SGS3-v4-adb, move the rom of your choice into your adb folder and run

adb push *your rom's name here*.zip /sdcard/

then flash the rom and you should be good. thanks to Adam_v1, mkasick and all the others that helped with this fix
[Sprint Samsung Galaxy S III] Adam_v1:
Congratulations on getting your phone back up and running. At least a few of us are able to recover from this.
[Sprint Samsung Galaxy S III] mkasick:
Hopefully a few helpful pieces of information:

First, the "internal SD card" is actually part of /data. So if you do a /data wipe, you lose everything on the internal SD card too. That's part of the reason this mess happened in the first place.

Second, the SD card mount points are different between Android and CWM recovery. In Android:

Internal SD card: /data/media, mounted as /sdcard.

External SD card: /mnt/extSdCard.

In CMW:

Internal SD card: /data/media, symlinked as /emmc.

External SD card: /sdcard.

So if you push files to /sdcard in CWM, they'll show up on the external SD card, and in /mnt/extSdCard in Android. It's confusing.
[Sprint Samsung Galaxy S III] jamcar:
fixed my phone!!!! thanks everyone! sorry for everything! is there any fix to the internal sdcard?
[Sprint Samsung Galaxy S III] Adam_v1:
I almost wondered if the internal SD card getting wiped by all this was intentional, it could be that the stock recovery wipe is fully intended to wipe the internal SD card as well to make sure you don't turn in or pass on a phone with any data on it.

I'll be honest, after spending a good bit of time putting my media back on my phone last night I'm not really interested in testing this theory but it is something for future reference.
[Sprint Samsung Galaxy S III] Skunk Ape1:
This is great news! I stayed until late last night following this whole episode. I couldn't contribute but couldn't stop reading and rooting for you guys. I couldn't be happier.

________________

Just Flash It !!!
[Sprint Samsung Galaxy S III] gr33nd3vil:
So you lose the internal sd? Or you can use it again?
[Sprint Samsung Galaxy S III] jamcar:
It will get formatted, so you will lose everything on it. But yes you can use it
[Sprint Samsung Galaxy S III] jbadboy2007:
You guys are lucky enjoy your phones again.
[Sprint Samsung Galaxy S III] Adam_v1:
It's there and works just fine but everything I had stored on there got wiped, about 20 gigs of music, movies, books, etc gone. Thankfully I had nothing important stored on there, just some media I had stored elsewhere.
[Sprint Samsung Galaxy S III] badname:
soooooo, we cant use it?

sorry, not reading 30 pages.

would love a summarized story.

it was release, then there were bricks, but then they weren't bricks anymore?

and now there's no wipe.zip?

am i getting this right?
[Sprint Samsung Galaxy S III] banstew:
Look at my post one page back
[Sprint Samsung Galaxy S III] Adam_v1:
Yeah, at this point the OP should probably be edited to state the current situation and put the fix in there as well.
[Sprint Samsung Galaxy S III] jamcar:
i just did
[Sprint Samsung Galaxy S III] carhauler1969:
+1 been glued to this thread since yesterday taking notes for future reference, lol. Glad to see it really was a soft-brick and not the same eMMC corruption bug that plagued the E4GT :)

Also glad everyone is back up & running :D tho I see a few jumped the gun and had their phones replaced by various methods :o

Sent from my E4GT packed full of "The Goodness" of TNz Blend ICS on Tapatalk 2 :rolleyes: the SGS3 is charging...
[Sprint Samsung Galaxy S III] jfin79:
Edit nevermind
[Sprint Samsung Galaxy S III] jamcar:
Check the OP I updated it with the fix
[Sprint Samsung Galaxy S III] carhauler1969:
That is downright confusing, but makes it more obvious as to how this whole mess got started.

Sent from my E4GT packed full of "The Goodness" of TNz Blend ICS on Tapatalk 2 Pro
[Sprint Samsung Galaxy S III] Bizdady:
Great! I been following thread since beginning. Glad you guys are back n running.
[Sprint Samsung Galaxy S III] jfin79:
Will somebody post a link to dl adb please
[Sprint Samsung Galaxy S III] fergie716:
Here is a guide on how to set up ADB
[Sprint Samsung Galaxy S III] jfin79:
Should makeext.4fs download as a text document I am having issues downloading it when I do it opens in notepad figured this out now one last question how many seperate commands are in yhe op for adb 2 or 3?thanks in advance
[Sprint Samsung Galaxy S III] jamcar:
type this:

adb push make_ext4fs /tmp/

then this

adb shell

next

chmod 755 /tmp/make_ext4fs

keep going

/tmp/make_ext4fs /dev/block/mmcblk0p15

lastly

sync

also you shouldn't open makeext.4fs just use adb

EDIT : it will look like this

C:\Users\jamcar\androidSDK\platform-tools>adb push make_ext4fs /tmp/
5755 KB/s (147344 bytes in 0.025s)

C:\Users\jamcar\androidSDK\platform-tools>adb shell
~ # chmod 755 /tmp/make_ext4fs
chmod 755 /tmp/make_ext4fs
~ # /tmp/make_ext4fs /dev/block/mmcblk0p15
/tmp/make_ext4fs /dev/block/mmcblk0p15
Creating filesystem with parameters:
Size: 13140754432
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 3208192
Block groups: 98
Reserved block group size: 783
Created filesystem with 11/802816 inodes and 90993/3208192 blocks
~ # sync
sync
[Sprint Samsung Galaxy S III] jfin79:
Im am getting cannot stat 'make-ext4fs' : no such file or directory I placed the file in everyery subfolder I tried just putting it in sdk then platform tools,tools,temp idk lost on this sorry
[Sprint Samsung Galaxy S III] jamcar:
it should be under androidsdk/platform-tools
[Sprint Samsung Galaxy S III] fergie716:
Try placing it in your sdk/tools folder and cd the directory

Example: (if your sdk-tools folder directory is C:\android-sdk\tools\)

In CMD type

cd android-sdk\tools
adb push make_ext4fs /tmp/

Then continue with the rest of the guide
[Sprint Samsung Galaxy S III] jfin79:
Guys help me please so close lol
[Sprint Samsung Galaxy S III] fergie716:
I honestly don't know how to fix that man. I'm Googling tho
[Sprint Samsung Galaxy S III] carhauler1969:
So will you be continuing with the FormatAll & FormatAll_nodata scripts? Or are we still recovering?

These two scripts have been invaluable tools for me for over two years now, from the EVO days, and through the Epic Touch. They are especially useful when the recovery can't be trusted to wipe things properly, not to mention they speed up the flashing process quite a bit. I'm not the lazy flash-a -holic , and but I'm always on the road, so flashing on the go. Doing it quickly and efficiently is a high priority for me. Just curious. :)
[Sprint Samsung Galaxy S III] jfin79:
Thanks bro so much i really appreciate you taking time to help me and you don't have to
[Sprint Samsung Galaxy S III] fergie716:
Ok from what I can tell it may be some sort of spelling error in previous steps

You can just copy/paste the text into your CMD

I would start over, this time just copy and paste the text provided in the OP

FYI: I searched this: syntax error word unexpected expecting android

Came up with a few ppl trying to root their phones and entering commands incorrectly
[Sprint Samsung Galaxy S III] jamcar:
1.) There are still people recovering

2.) I don't think so because of the way it is partitioned (but maybe, don't count on it though)
[Sprint Samsung Galaxy S III] fergie716:
I actually made a small dalvik cache wiper lol. Was gunna test it but I am on stock un rooted right now because I wanted the OTA

Anyway here's the script, seems harmless

ui_print("Cache Wiper for SGSIII");
run_program("/sbin/mount", "/dev/block/mmcblk0p15", "/data");
delete_recursive("/data/dalvik-cache/");
delete_recursive("/cache/dalvik-cache/");
ui_print("All Done!");
run_program("/sbin/umount", "/data");
[Sprint Samsung Galaxy S III] jamcar:
Hahaha you can test that !!!!!

Edit: you would also have to mount cache
[Sprint Samsung Galaxy S III] humdrum2009:
help lol

this isn't going right for me if any experienced adb user can help

ill gladly donate $20.00

team-viewer into my desktop to help .

email me at tommielvr@gmail.com if you can help

ill respond quickly

ill be ready around 830 am eastern time
[Sprint Samsung Galaxy S III] banstew:
I can try to help. What's your issue?
[Sprint Samsung Galaxy S III] mkasick:
Just to be clear, on the SGS3 there's no such thing as the "internal SD card" as a separate entity from the /data partition. They're combined now.

The reason for this is that on older Samsung devices there would be two partitions, say, 4 GB for /data and 8 GB for /sdcard. The problem is that as Android apps (namely games) have gotten larger, the /data partition ends up being too small in many instances, even though there's plenty of room in /sdcard.

So now, on the SGS3, there's a combined "data and media" partition that's a little over 12 GB (for the 16 GB model). Applications go in /data as usual, and media gotes into /data/media now, but they share the same space. And in Android, /data/media is also mounted under /sdcard for compatibility purposes. But they're one in the same now.

Which gets to the point. Any /data wipe also wipes the "internal SD card." And that's whether it's stock recovery, CWM, make_ext4fs, or even the OP's script (if it had worked).
[Sprint Samsung Galaxy S III] jamcar:
I believe that is the reason it didn't work. It un mount /data but mounted /sdcard
[Sprint Samsung Galaxy S III] shiftr182:
If this is true, why doesnt my internal storage get wiped when I wipe/format/ data in cwm? For instance, I was running cm9 yesterday, then went back into cwm, wiped data/factory reset, formated /system, /data, and /cache, then installed phantom rom. When the phone boots up, my movies and music and everything is still on my internal storage.

This is why I am curious as to what command cwm actually does when it wipes data
[Sprint Samsung Galaxy S III] mkasick:
Oops you're right. I checked, on this device a CWM "wipe /data" doesn't actually reformat /data, but recursively deletes every directory except /data/media. So it should preserve the "internal SD card" contents, at the cost of not being able to repair file system corruption.

This is why wiping /data is CWM wasn't fixing the file system corruption for anyone, because it wasn't performing a reformat. Stock recovery does perform a reformat (to my knowledge, but the recovery binary is closed source), but perhaps is confused if booted with a corrupt partition. Which is why the manual reformat was necessary for folks to fix this problem.
[Sprint Samsung Galaxy S III] jfin79:
Ok thanks jamcar if it doesn't work this sucks think I'm getting a replacement
[Sprint Samsung Galaxy S III] banstew:
Were you able to get adb up and running?
[Sprint Samsung Galaxy S III] humdrum2009:
same here

not working for me either

$50.00 bounty to whomever can teamviewer into my laptop and get my phone up and running.

or a free 500 gb usb 3.0 portable hdd.

tommielvr@gmail.com

$50.00 reward
[Sprint Samsung Galaxy S III] teh roxxorz:
So what progress [if any] has been made?
[Sprint Samsung Galaxy S III] jamcar:
what is teamviewer? i'll try to help....
[Sprint Samsung Galaxy S III] humdrum2009:
remote control program
[Sprint Samsung Galaxy S III] jamcar:
oooh i mean i could try it.... how does it work? what do i need?
[Sprint Samsung Galaxy S III] RandomKing:
Well I'm seeing a lot of confusion as to whether or not this works, but I'm glad it's being developed. Anyone who came from the Epic 4G forum knows that I'm pretty well versed in updater-scripts... but I was unprepared for data format to corrupt the entire partition. Further complicated by the older CWM that could only read from the (corrupted) sdcard partition.

End of story... I took it in to the repair store (where they knew less than I do on the matter) last Thursday just under my 2 weeks ownership mark. Since all they knew was to enter the recovery (which I had restored to stock first hoping that it might fix itself), I ended up with a full replacement.

I am hopeful that this will prevent future runs to the Sprint store until we have a Pit file for re-partitioning officially!
[Sprint Samsung Galaxy S III] jamcar:
because of sprint's root police located here http://www.talkandroid.com/106496-c...idForums+(Android+News,+Rumours,+and+Updates)
[Sprint Samsung Galaxy S III] RandomKing:
Yup, I'm aware of that policy, that they may or may not stand behind. But it appears, at least at the store I use, that the staff didn't even know how to check if the phone had been rooted or flashed. A bit disappointing, really.
[Sprint Samsung Galaxy S III] jamcar:
when i went there to upgrade to the sIII the only way she knew my sII was rooted was because i had a live kernel debug message as the boot animation
[Sprint Samsung Galaxy S III] cbettis007:
Horrible

Thanks a lot for making and posting the script that turned my SGS3 into a brick. Wonderful addition to the community !!! It was so hard to get Sprint to trade me out a new one and i had to drive an hour to the closest Sprint store. Please test your releases thoroughly from now on. That was a huge pain in my ass!

:rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes:
[Sprint Samsung Galaxy S III] fergie716:
Curious, what did you tell Sprint lol
[Sprint Samsung Galaxy S III] jfin79:
Yes got adb up and running but a new to it some of the commands or codes I am having problems with
[Sprint Samsung Galaxy S III] jamcar:
Some have unbricked
[Sprint Samsung Galaxy S III] humdrum2009:
Still brick city

had clark44 remote into my laptop no dice still bricked doesnt even see files pushed through adb

:crying:
[Sprint Samsung Galaxy S III] fergie716:
How long ago did you get your phone?
[Sprint Samsung Galaxy S III] jfin79:
can I rund adb sucessfuly from the directory c:\android-sdk-windows\platform-tools

Which I open by pressing sfift,control,alt and the right click mouse button on platform tools inside o

Is there a code or command to see if adb is commicating with the phone properly or at all?
[Sprint Samsung Galaxy S III] jamcar:
"adb kill-server" ( this will close any open ADB) ( so when you use adb again it will be a fresh start)

" adb devices " ( show connected devices)
[Sprint Samsung Galaxy S III] sjr19:
You have got to be kidding me. It says at the very top of the post, and even the post where you root that bad things can happen. No one held a gun to your head saying flash the zip. Any number of things can go wrong. It's a roll of the dice anytime you flash. What if you bricked during root? Would you blame the root OP then? jamcar had good faith. Stop looking for hand holding. This stuff has an inherent risk. We all know that. Knock off the entitled bs. Christ.
[Sprint Samsung Galaxy S III] jfin79:
Ok so adb is communicating with my phone it tells me Im in recovery
[Sprint Samsung Galaxy S III] jamcar:
try it again....anyone else have anything better?
[Sprint Samsung Galaxy S III] jfin79:
/tmp/make_ext4fs /dev/block/mmcblk0p15

is there any other way to tell adb to do this code it tells me there is something not right with the command every other code works fine except for this code

---------- Post added at 10:14 PM ---------- Previous post was at 10:11 PM ----------

Is there a way to make cwm or any other recovery be able to wipe the internal sd storage instead of wiping the external sd card to achieve the same result that we are trying for with adb

---------- Post added at 10:19 PM ---------- Previous post was at 10:14 PM ----------

I have a question how many people aretill bricked and how many people were able to fix there brick with the fix via adb
[Sprint Samsung Galaxy S III] jfin79:
Or a zip that will wipe the internal sd card
[Sprint Samsung Galaxy S III] banstew:
At least 4 have unbricked with the method in the op. And one more was able to unbrick with a short cut that hasn't worked for anyone else
[Sprint Samsung Galaxy S III] carhauler1969:
o_O
[Sprint Samsung Galaxy S III] gr33nd3vil:
This thread should be closed as the remaining have swapped out there phones i believe
[Sprint Samsung Galaxy S III] carhauler1969:
Four words: Read Before You Flash :rolleyes::banghead::rolleyes::banghead::rolleyes::banghead:

Sent from my E4GT packed full of "The Goodness" of TNz Blend ICS on Tapatalk 2 Pro