yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] roddygonzo17:
How can i use heimdall to restore from an almost bricked state. since i was on an mtd rom i know in odin i would have had to click repartition but idk how to repartition using heimdall and odin will NOT work for the life of me. (stupid drivers!) when i finally do get the drivers installed, i use odin with the instuctions in the op and it freezes. once at get Pit for mapping and once at boot.ini... so im not getting very far with odin. Please Help!! :(:(
[Epic 4G Android Development] dyehya:
It is probably the cable you are using. DO NOT USE THE STOCK CABLE. Blackberry data cables are only a couple of bucks on Amazon. Try a different cable. Also having the battery and microSD out has seemed to help for some. Others say it works better with the battery in. Keep retrying Odin. I would suggest that over using Heimdall if you have your phone being detected by Odin already. Let me know how that goes. Also you can try on a different computer. If none of this works we can go through the Heimdall stuff tomorrow.
[Epic 4G Android Development] bigboose1234:
prob

how long does odin stay on get pip for mapping before in flashes back to stock?
[Epic 4G Android Development] flastnoles11:
All in all it takes about 5 minutes total in experiences with odin... it all dpends on the cable though... like the guy suggest do not use the stock cable... or any samsung cable... blackberry and htc cables a very good...
[Epic 4G Android Development] roddygonzo17:
i have tried on my windows 7 computer and also my windows vista computer. all i have access to is the stock cable and buying one from amazon wont work (no credit card) but i will try and see if i can get one from my friend that has a blackberry when i get back. but for right now im going to try and install windows xp on my netbook cuz i seen that xp has helped some ppl. just having problems installing it -___- here i come youtube.
[Epic 4G Android Development] KennyG123:
Also check, some HTC and Palm cables work as well. I use the Palm Pre cable and charger.
[Epic 4G Android Development] dyehya:
Bad things happen with the stock cable. It is possible to get a successful flash but very unlikely. That is why I stress using another cable before you brick your phone. If it tries to flash the boot loader and gets disconnected or interrupted you may not be able to get back into download mode. Go to the store and buy a another cable even if it isn't a blackberry or HTC cable. Any other cable should be a lot more stable.
[Epic 4G Android Development] vwags:
+1 I tried to Odin using the stock cable and it failed part way through so I stubbornly tried again and it got worse. 2 non-stock cables later I got it back but I was worried for a while.
[Epic 4G Android Development] bigboose1234:
thanks

thanks I finally got everything working even after my phone wouldnt come on, i just had to keep on taking my battery out and retrying and reinstall the drivers again and then followed your instructions.
[Epic 4G Android Development] beltsnspoons:
dont know if anyone has already posted this, but i couldnt get into dl mode with most of the methods i have seen posted. what i finally had to do was, with the battery out, and cable unplugged from phone (but not pc) hold down 1 and power, and plug the cable into the phone while doing so. got me into dl mode numerous times, and was the only method that would work on this particular phone.
[Epic 4G Android Development] KennyG123:
Actually the procedure in the OP says to remove the battery.
[Epic 4G Android Development] KennyG123:
OMG! I accidentally put the modem in the recovery slot on Heimdall on MTD trying to go back to EC05!!! What do I do?!! Oh wait..., nothing...it's fine! Recovery still works..all good! Wooo...never mind...false alarm everyone. As you were!
[Epic 4G Android Development] dyehya:
Surprised it didn't break something else. Maybe it realized it and didn't actually flash it. No idea.
[Epic 4G Android Development] flastnoles11:
NOOB!!! Haha jk... glad you didn't break your phone!
[Epic 4G Android Development] KennyG123:
HAHA...rushing in the morning before leaving to work to get rid of stupid EL30 modem.

@Dyehya...it said it was flashing to recovery and then froze at 100% without rebooting so maybe it knew it was the wrong format for that item and did not flash. I have since tested backups and restores. Maybe MTD's recovery is in a different place so it blew up my stock BML recovery instead.
[Epic 4G Android Development] Trident:
Would like to save a little time before I go to the Sprint store. Is there a stock, unrooted file for EL30 or even EI22 that can get us back to unrooted stock without having to go back to EC05 and update?

Been searching for a bit, but must not be using the right terms.

Ah. Found it. I think. Reading through the thread to see if it will unroot the phone.
[Epic 4G Android Development] KennyG123:
If that don't work just use the EC05 and then check for Firmware Update and accept both OTAs. There has not been a tar released for EI22 or EL30. If tthe one you found works check your modem. There are flashables for EL30 modem from EI22 and EC05.
[Epic 4G Android Development] Trident:
So, how can I tell if the phone is rooted? It looks stock...

About

page looks stock.
[Epic 4G Android Development] toolegit:
Load up a terminal program and open it. If you type in su in it and it changes the prompt from $ to #, you're still rooted.
[Epic 4G Android Development] Trident:
So "su not found" means I'm not rooted. Good.
[Epic 4G Android Development] 2strokenut:
I tried downloading the Tar file twice and the pit file is not packaged in with it. Is there another link for just the pit file?

Thanks
[Epic 4G Android Development] dyehya:
The pit file is with the Odin package.
[Epic 4G Android Development] 2strokenut:
*bangs head*

Thanks
[Epic 4G Android Development] ashbuly:
A million thanks!!!!!!!!!
[Epic 4G Android Development] latinoboi30:
Ok, so my question about it is, "will this delete all files on my sd card or does this skip that?" I don't mind it deleting anything else but pix and files I can't afford to lose.
[Epic 4G Android Development] K3VlN:
No your sd card will not be touched nothing we do deletes personal files on SD cards pix are safe bud :D

just dont click anything that says Format Sd card
[Epic 4G Android Development] latinoboi30:
Ok thanks for the fast reply K3VIN
[Epic 4G Android Development] KennyG123:
The only thing that ever deletes data on your sd card is if you choose to format it. It is always safe unless it fails. Back it up regularly.
[Epic 4G Android Development] toolegit:
That's awesome. :D

Pull your SD card if you're that worried about it. My MP3 player has a microSD slot, so I can back up without using my phone since my phone apparently doesn't like mounting in CWM....
[Epic 4G Android Development] kanagadeepan:
Multi-upload dot com is not working (or atleast in my ISP)... I want the ODIN3 1.85 or atleast the PIT file... Can you please share it in mediafire or other link... Please... (I have downloaded ODIN 1.85 myself from other site)...

Thanks a lot....
[Epic 4G Android Development] dyehya:
Not sure when Multiupload went down or why but I went ahead and updated my how-to for EL30 as a full TAR is available. I have provided direct links for Odin preconfigured as well as EL30 from both k0nane and iNsAn|tY so thank them both for being so kind as to host as well as the anonymous person that was kind enough to give us an up-to-date TAR to make this possible!
[Epic 4G Android Development] KennyG123:
I was just about to PM you about the EL30 tar.
[Epic 4G Android Development] k0nane:
Blah, I'm not primary any more.
[Epic 4G Android Development] dyehya:
I wasn't sure if you had unlimited Bandwidth and I know iNsAn|tY does and didn't mind; figured I mooched off of you long enough as primary.
[Epic 4G Android Development] MДЯCЦSДИT:
K0nane has unlimited bandwidth. 1and1 is awesome.
[Epic 4G Android Development] dyehya:
There you are primary again. :)

There now K0nane is Primary again. Thanks guys :)
[Epic 4G Android Development] dyehya:
The reason why I have repartition checked is that this is to fix devices with all sorts of issues including partitions being corrupt. As long as there isn't a partition issue you don't have to check it and it will be fine but having it checked ensure the partition table is reset and in order so that is why the guide is listed the way it is.

You can try it without as k0nane suggested and if your phone still has problems you can check it as shown.
[Epic 4G Android Development] theimpaler747:
Thread stuck :)
[Epic 4G Android Development] driguez:
Just wanted to say.... THANK YOU!!!
[Epic 4G Android Development] SpicyBurrito:
Oh god. Thank you for this thread. I was trying to flash a ROM on my brother's girlfriend's epic and I guess because it was a bad flash, it wouldn't start up. So I had to ODIN back to stock, but it got stuck at factory.rfs, even after waiting 20 minutes. When I ODIN, people have told me to only check auto-reboot and it just wouldn't go. After checking the other two options, using a different cable and trying one more time, it worked.

Jesus, man.
[Epic 4G Android Development] Marlinsfan88:
ive run into that same problem myself using the samsung data cable so i use one from my old blackberry now. its way thicker and just feels like its way better quality. been using it for 6 months now for when i root or flash epics and have not had 1 bad odin flash or any issues when running the 1 click root.
[Epic 4G Android Development] ficjay:
Sorry if I'm coming off as a jerk, but this fixing the brick thing has already been done so why are we doing it again?
[Epic 4G Android Development] dyehya:
I made these instructions because while there are other posts regarding flashing with Odin there is nothing as simple out there with links that provide copies of the latest files that are updated and known to be working. Also most people are told to NOT repartition but this is necessary as some ROMs kernels and other system modification can mess up the partition tables and have a wide range of side-effects. Also on the second post I will be including a guide for heimdall.
[Epic 4G Android Development] h4kudoshi:
so i did this because i thought i was going to have to return the phone. now my phone cannot be recognized by the one click root any longer. i have tried multiple ports and etc.. ( i did have the phone rooted already)

oh yea i cant even odin to the ec05 root and i was able to do this before

anyways any insights?
[Epic 4G Android Development] dyehya:
Did you re-enable USB debugging. If that is enabled and you cannot connect then you need to uninstall the drivers. Reboot and reinstall the drivers linked in the post.
[Epic 4G Android Development] KennyG123:
If the computer doesn't recognize your phone in download mode on Odin then your cable went bad, it doesn't like your port (try another) or you need to reinstall the drivers. If Odin fails mid process, try another cable, pull the battery and try again, try another port, redownload the tar file, make sure to remove the .md5 off of tar files.
[Epic 4G Android Development] h4kudoshi:
hmm not sure what i did, jiggling and switching the usb cord, reinstalling drivers a bunch of times lol... whatever i did something finally made it work.

thx for the reply! this phone sure is stubborn to root
[Epic 4G Android Development] dyehya:
Yeah I missed the last part saying you can odin to ec05 rooted. I was using a stock cable with what I thought were driver issues. I got a blackberry cable that someone recommended and have not had a problem once since then. It sounds like drivers were messed up. Try that or another microUSB cable.

ALSO if you are going to anything OTHER than the tar I mentioned in my power UNCHECK re-Partition and F. Time Reset
[Epic 4G Android Development] dyehya:
Look in the accessories thread for the Blackberry cable I found it on amazon for less than $2 and it was DEFINITELY worth it for fixing these sort of issues.
[Epic 4G Android Development] bikewiz:
worked perfectly! thanks for the great "how-to". i enjoy seeing more user friendly "how-to" writeups for those of us who aren't devs :-)
[Epic 4G Android Development] ficjay:
I was looking at my comment in this thread and I decided I was a jerk to question the validity of this thread earlier. If it helps even one person then that is what I believe this community is for, and what I or someone else is comfortable with after six months isn't what someone who is completely new is comfortable with. So sorry, Dyehya, and good job. :)
[Epic 4G Android Development] KennyG123:
Not only that but the old stickie had broken links...so thanks for this thread. I send every "sponged" phone here.

Do you BONSAI?
[Epic 4G Android Development] k0nane:
No busted, rattle-trap links here. I promise to keep the links fresh and working. Like I said before... this thread sponsored by k0nane.info. ;) It's in my - and all of our - best interest(s) that I do so.
[Epic 4G Android Development] KennyG123:
That's cause you da man! Everything you do is deeply appreciated! Especially the new GB with working Netflix. Will be trying that out this week!

Do you BONSAI?
[Epic 4G Android Development] ZenInsight:
My 4G is broken (hardware issue I believe). I need to return my phone. Will this remove Clockwork mod for me as well?
[Epic 4G Android Development] KennyG123:
Yes. Just Odin the stock ec05 tar.

Do you BONSAI?
[Epic 4G Android Development] k0nane:
No, thank you! But yes, I have unlimited bandwidth. I serve terabytes. 1and1 is great, and OG 1and1 accounts (like mine) are the best.
[Epic 4G Android Development] MДЯCЦSДИT:
Its fun to try to use a bunch of bandwidth and put load on hosts. 1and1 is so cheap too.
[Epic 4G Android Development] kanagadeepan:
Ya... Thanks, it saved my EPIC and upgraded it to GB 2.3.6... Thanks given and your (dyehya) DropBox size increased....
[Epic 4G Android Development] dyehya:
Couple of things. 1. You have to install dropbox and log-in for me to get the referral credit.

2 and much more importantly, is there any way to get a real sticky back because this thread seems dead and hidden now that the stickies are "rolled up"
[Epic 4G Android Development] KennyG123:
Hey D, wassup? I finally dropped a ROM with Marcusant's help. PM Jayharper08 or PG101 about re-stickying this. I asked and he said he would look at it when he gets time.
[Epic 4G Android Development] thabest85:
Ty
[Epic 4G Android Development] EmperorX:
So, I think I am screwed.

I am going to preface this by saying that I am very familiar with Android phones and am certainly not a noob. However, i am stumped here.

A few hours ago I tried updating my girlfriends phone to the latest version of MIUI 4. Well, it turns out that I was the poor guinea pig who found out for everyone that the uploaded file did indeed have an MD5 mismatch.

Anyhow, this borked my recovery (supposedly because a new kernel/cwm version was baked in to this flash).

Ok, I thought, I'll just put the phone in "Download Mode" and Odin back to stock and start over.

WRONG

The phone is NOT RECOGNIZED ON ANY COMPUTER. Not two different laptops running Windows 7 64-bit. Not a desktop running Windows 7 32-bit and not a Linux Box.

This isn't the typical "unrecognized device" error. I literally mean that it is NOT SEEN by any of these machines. There is now windows "ding" or "noise" when it is plugged in. Nothing shows up in device manager as an unrecognized device. Nothing happens when I plug it in to my Linux machine.

I have tried FOUR different cable. The original Epic cable. My Epic Touch cable (which used to work great). A cable from a Nook Simple Touch and a cable from an HTC phone.

I am 99% certain that this is a hardware error and her phone is now ruined. She does not have TEP (she cancelled it for some reason -_-).

Has anyone ever heard of this? It can't be a driver issue because it would at least be seen by one of my devices correct? Or there would at least be a Windows "sound" when it is plugged in? The phone charges when connected, but nothing more whatsoever. I had issues in the past because of driver issues or bad cables. But, the fact of the matter is that the other day (when the phone was working fine) we plugged it into a computer and it would not recognize the phone at all (as I explained earlier). Even when storage was mounted, not a single thing was detected even though it used to work.

Sorry for the long winded response... It's quite late and i've been trying to fix this without freaking the woman out for the past 3+ hours. Driving me insane!
[Epic 4G Android Development] KennyG123:
I know you tried 4 different cables but both Samsung cables are already suspect and several people have mentioned difficulty with the HTC cable. Find a heavy duty Blackberry cable ($2 on ebay shipped). Also try it with the battery and sd card out, if a desktop, plug it into the USB ports in the back that are right on the motherboard. See if you can find the drivers on the computer and remove them so that the computer will look for the drivers again when plugged in. Also look inside the port with a lighted magnifying glass and make sure there is no gunk that could block the data connection part of the connector.
[Epic 4G Android Development] k0nane:
So, during May, I got more hits on the EC05 TAR than the EL30 TAR.

Do you all dislike EL30, or is the OG just too good? ;)
[Epic 4G Android Development] KennyG123:
Some of the phones were hanging at repartitioning with EL30 and FC09. Also if they odin EC05 they can one click root it which it seems some people prefer rather than learn the new way. Then they fkash cwm5 and flash ROM.
[Epic 4G Android Development] sonarchist:
Imo, even tho they're both good, have not used EC05 in awhile: instead, ODIN > EL30 + several different ways up to FC09 (including deltas or the ota after booting El30,) the results seem to be the same..............but the guides all seem to still point to EC05, the standby.

THNX for hosting, great to have these options K0nane!

sent from today's Android 4.0.4
[Epic 4G Android Development] toolegit:
This. Easier, for me at least, to root EC05. I liked the FC09 modem, but I know how to root EC05.... I'm old and lazy. ;)
[Epic 4G Android Development] Tomassbender:
Phone is soft bricked and been trying to restore (to anything) using Odin. Can get into download mode consistently.

However, I am getting stuck at boot.bin every time. My searching for this issue has been met with a lot of "try again" or "use a different cable/usb port" etc.

I have tried about 15 or 20 times and every time it gets to boot.bin and sits. I have done it with multiple USB cords and ports. I have tried it on Odin 1.85, Odin 1.6, and even Odin 3.04.

I don't think I am truly bricked since I can still get into Download Mode, but I am very confused... Any suggestions? I don't care what build I end up on, just trying to get back to a functional phone for now...

<ID:0/007> Added!!

<ID:0/007> Odin v.3 engine (ID:7)..

<ID:0/007> File analysis..

<ID:0/007> SetupConnection..

<ID:0/007> Initialzation..

<ID:0/007> Set PIT file..

<ID:0/007> DO NOT TURN OFF TARGET!!

<ID:0/007> Get PIT for mapping..

<ID:0/007> Firmware update start..

<ID:0/007> boot.bin

Phone was a refurbished unit from Sprint that was on stock FC09 prior to getting soft-bricked. Soft brick occurred while trying to Odin a rooted kernel, Odin failed and I had to pull battery.

Thanks in advance.
[Epic 4G Android Development] ÜBER™:
try a different PIT file... or redownload the one you have. I saw this helping somebody else they failed boot.bin every time until I used the other PIT he had. Also might want to redownload the stock tar.

Sent From My Sprint Galaxy Nexus
[Epic 4G Android Development] dyehya:
I would also try the EC05 tar linked in troubleshooting. There is also Odin 1.87 you could try. Let me know how it goes.
[Epic 4G Android Development] Tomassbender:
Thanks for the replies.

I couldn't find Odin 1.87, but I did try with both EL30 and EC05 tars. I downloaded each at least twice in case I got a bad download.

In the end, I eventually got past boot.ini. It took an hour, but eventually made it to the factoryfs (or similar). At this point, I was feeling good and assumed it was just a matter of patience. Went to bed.

Woke up and phone screen was green, Odin was still yellow box at factoryfs. I unplugged/pulled the battery and went to try again. Could not get into download mode, could not power on, nothing.

TL;DR Phone got bricked completely, had to go to Sprint store.
[Epic 4G Android Development] ÜBER™:
Ugh you never sleep if something of this matter is going on. Second time I read someone going to bed cuz it took to long. And they bricked it.

Sent From My Sprint Galaxy Nexus
[Epic 4G Android Development] dyehya:
If the phone screen turned green that means that there was a problem with the cable or connection to the computer. Also if you left it unplugged with the battery out for a bit you would have been able to get back in download mode. I would definitely say whatever cable you were using is problematic.
[Epic 4G Android Development] sonza:
Yea, this can cause a period of mild stress. My wife's phone acted this way where it did not want to accept data, and would not turn on once the phone was unplugged. The solution I came up with for hers was similar to what others have said, leaving it unplugged for several minutes (yea go have a brewsky :) ) and the thing I didn't see posted elsewhere was to be holding the power and 1 key down BEFORE I plugged it into the usb port on the computer. This brought hers back to life.
[Epic 4G Android Development] dyehya:
I did state while holding the one key and power button plug in the USB cable with the battery removed. I think I might even have that in the troubleshooting section.
[Epic 4G Android Development] neccoguy21:
THANK YOU!!!! I know not everyone is stuck with the same issues, so maybe this fix doesn't work for some people. As for me, this was the most comprehensible, useful, detailed-in-all-the-right-ways write-up I've come across... and the only one that worked. Thank you again!
[Epic 4G Android Development] dyehya:
Glad it worked for you!
[Epic 4G Android Development] Bfitz26:
ok so i think i soft bricked my epic flashing sammy screen when trying to boot into recovery and i noticed a lot of these links are down any one have some mirors or anything?
[Epic 4G Android Development] dyehya:
What links are down? I will fix ASAP
[Epic 4G Android Development] Bfitz26:
the second link the odin and tar fall in one file
[Epic 4G Android Development] dyehya:
You can use the other Odin 1.61 linked later and the other mirror by k0nane for now. I will fix soon.
[Epic 4G Android Development] Bfitz26:
ok so i got odin the tar files and everything i can get into dl mode but my drivers won't install and odin doesn't recongize my phone.. any ideas??
[Epic 4G Android Development] dyehya:
First, links are back up. Second you can go in device manager and try to install the drivers from there. Also you can now download the Odin 1.85 and pit
[Epic 4G Android Development] themow:
thanks just used this to get my phone back
[Epic 4G Android Development] quasi13:
This did the trick for me - thanks! I never would have thought of that. Is having Odin up critical in doing this?

Nothing else seemed to work when I couldn't turn the epic, couldn't get it to download mode. I did try leaving the battery out for a while, draining any remaining juice with buttons down, etc.
[Epic 4G Android Development] KennyG123:
No, but it helps so that Odin identifies it right away and you can get to flashing.
[Epic 4G Android Development] rredef:
worked perfectly the very first time..waited only about 5 minutes for complete flash. U R DA MAN!!
[Epic 4G Android Development] weldsmoke:
If that ever happens where you have no power after a bad odin.....take battery out for half hour press your power button 5 times(no battery and not plugged in) hold the power button down for 5 seconds 5 times..............then with your back cover off there is a pin hole right underneath your camera hold that button down for 10 seconds with a needle its a small hole...........plug your phone in with no battery and enter download mode.hope this helps