yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
THIS IS FOR SGH-T989 (T-MOBILE) ONLY!

This will restore to T-Mobile 2.3.6 ULKL1.

This guide is for those who screwed up a flash, need to return their phone, are selling their phone, or just want that stock new phone feeling again.

Prerequisites:

1) ODIN

2) USB Drivers

If you need your data backed up first, backup personal data with Kies and Application Data with Titanium Backup.

Steps:

1) Download THIS file and extract it. (Password is 'sampro.pl') --Source HERE.

2) Power off your phone and remove the battery. Re-insert the battery after a few seconds.

3) Plug the USB cable into your computer, without plugging it into your phone.

4) Hold VOL UP + VOL DOWN while plugging in the USB cable to your phone. Stop holding with 'Warning' appears.

5) Press Volume UP and start ODIN (Run as Admin on Vista and 7, just to be safe)

6) Click PDA and locate the MD5 file extracted earlier.

7) Press 'Start' and be patient. It will take a few minutes because it is a large file.

8) Unplug your phone after it has completed and rebooted twice.

Now everything is 100% stock! Kernel, System, Bootloader, and Modem are stock.

If you're going to sell the phone, or just return it, I advise you to do the following:

1) Go to Settings > Privacy > Factory Data Reset

2) Check Format USB Storage

3) Press 'Reset Phone'

4) Press 'Erase Everything'

This will erase EVERYTHING on your phone including your SD Card (External + Internal)

If you happen to have a bootloop, perform the following:

1) Boot into recovery (Power on phone while holding VOL UP and VOL DOWN)

2) Wipe Data, Cache, and Dalvik

3) Reboot System

If this helped you save your phone, please press 'Thanks'

And if you want to, DONATE (You aren't required to, it's just HIGHLY appreciated.)
[T-Mobile Samsung Galaxy S II SGH-T989] death1246:
and here I was getting ready to upload stock recovery backup of my tmobile gs2 :P
[T-Mobile Samsung Galaxy S II SGH-T989] gazment:
Thanks man I was waiting for someone to post one of these tutorials up. Can't wait to see it done.
[T-Mobile Samsung Galaxy S II SGH-T989] akilleez1:
Thanks looking forward to this!
[T-Mobile Samsung Galaxy S II SGH-T989] smali26:
Waiting patiently... :(
[T-Mobile Samsung Galaxy S II SGH-T989] Teo032:
Basically hold + and - and plug in the microUSB cable to get into ODIN mode

then select PDA and choose the STOCK ROM. Flash it.

THIS IS FOR 2.3.6 t-mobile KL1 baseband

for other stock ROMS 2.3.5 KID (t-mobile) and 2.3.5 KJ3 (Telus) please go to the bottom of this OP to DL them http://xdaforums.com/showthread.php?t=1324517
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Guide Done!
[T-Mobile Samsung Galaxy S II SGH-T989] gazment:
Sticky

This should be a sticky!!
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Thanks haha
[T-Mobile Samsung Galaxy S II SGH-T989] Teo032:
Update the OP and state that this is for T-mobile KL1 2.3.6
[T-Mobile Samsung Galaxy S II SGH-T989] Shawnkanan:
Bricked my phone

I tried this downloaded used pda slot and completly bricked my phone. wont turn on and when plugged in it reads a a usb Qsub_DLOAD
[T-Mobile Samsung Galaxy S II SGH-T989] nandixon:
The steps posted by the OP look reasonable to me. I did basically* the same thing several weeks ago using the same .rar file and it worked fine. Maybe you had a bad download . . . is the file size 324,600,505 bytes? (*My phone doesn't require pulling the battery, and I always plug the USB cable into the phone last to get into download mode.)
[T-Mobile Samsung Galaxy S II SGH-T989] Teo032:
Are you a t989 user? I don't see any reason for it to brick your phone if you have a successfully downloaded file and that it flashed successfully
[T-Mobile Samsung Galaxy S II SGH-T989] thejron:
Enough power to flash? I've never heard of Odin system requirements.
[T-Mobile Samsung Galaxy S II SGH-T989] wj04:
Odin keeps crashing while flashing the cache (cache.img.ext4). I am using Odin3 v1.70

I have the auto reboot and F. reset time checked. Any ideas?
[T-Mobile Samsung Galaxy S II SGH-T989] Shawnkanan:
Bricked my phone

Again I have flashed phones with ODIN ever since the Vibrant and never had an issue I downloaded the full file had plenty of power and followed the instructions and it failed multiple times then when I pulled the battery to see if it would boot it was done from then on out no Download mode, no recovery the phone does nothing! I plug it in and it shows in Device manager QHSUB_DLOAD and from what I hear its toast. So I wish everyone luck who tries this.
[T-Mobile Samsung Galaxy S II SGH-T989] wj04:
update: I decided to just flash a stock kernel found here

http://xdaforums.com/showthread.php?t=1454321

and that solved the problem.
[T-Mobile Samsung Galaxy S II SGH-T989] Teo032:
that really sucks, you have the t989 right? are you sure the file downloaded completely? I was going to ask you to check the md5 for the file.. but there isn't one listed. The OP needs to be updated.
[T-Mobile Samsung Galaxy S II SGH-T989] oblib__:
I'll add my vote of caution to restoring stock with ODIN and the SGH-T989, as I bricked mine as well. Luckily we're all still under warranty and they just replaced the main board and sent it back.

I think in my case it failed because with the Vibrant (I've flashed my Vibrant lots and lots) you always used a .pit file, and I didn't see a .pit file with the T989 stock reload I used (not this OP's file). So I hunted one down, and apparently I shouldn't have. Or maybe it just wasn't meant to be.

In any case be very careful!
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Are you sure you followed this guide correctly? I did this EXACT same procedure a few days ago and it worked perfectly. Same file and everything. And the power notice is so your computer doesn't goto sleep or shut down while flashing.
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
I have successfully done this about 5 times now..Trying each Version till I found the one that was working Perfectly for us. With that said. Are you following the instructions? I used these instructions instead, http://androidforums.com/samsung-galaxy-s2-t-mobile/628449-how-odin-any-stock-rom.html Click on the SHOW buttons to see the pictures.They are dead on..I think you have to make sure the Debugging mode is on. MAKE SURE YOU FOLLOW THIS STEP CORRECTLY!!! 2 - Power off your phone. Then hold down both volume buttons and plug the USB cable into your phone. Press the volume up button when you see this menu. Maybe you are running Odin while the phone already plugged in and on?

After I Reverted back, I cleared the cache about 4 times, then I Formatted and Restored twice then I cleared cache 2 more times.

Before you do this, make sure you BACK UP what you want to keep.

I also went to http://www.sammobile.com/firmware/?page=3&model=SGH-T989&pcode=TMB&os=1&type=1#firmware and downloaded all 6 Firmwares in order for me to find the one that worked the best. For me, it was the USA (T-Mobile)	2012 May T989UVLDE version, which was the one right before the ICS release. As of the moment, Our phones are running PERFECTLY!!!!

Post back on how you made out! I'll try to help you more if I can...
[T-Mobile Samsung Galaxy S II SGH-T989] tq745:
Thanks! Worked like a charm. Had fun with my GS2 but now it's time to move on to the next big thing.
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
Excellent!! I'm glad I was able to help!

Which one did you go with? The same as I did?
[T-Mobile Samsung Galaxy S II SGH-T989] evereste:
Sadly, guide majorly failed for me, I'm now in 'Connect to Kies' recovery mode....which of course fails..oh well
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
If you have the SGH-989 from Tmobile, may I suggest using the guide I posted 3 posts up? It seemed to be much smoother and easier. Also, I think you have to check the developer debugging mode too.
[T-Mobile Samsung Galaxy S II SGH-T989] joon82:
Tried two different firmwares but I'm getting

"Unfortunately, the process com. android phone has stopped",,,,etc other different application crashes.
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
Where are you getting this error message? on your PC or Droid?
[T-Mobile Samsung Galaxy S II SGH-T989] Matt -- HB Cali:
I have tried this about 5 times now on my g/f's phone and every time it bootloops. When i try to wipe data/factory reset in the Android System recovery it won't respond. Actually the phone doesn't respond to any commands in that screen (see link below).

Any ideas before we dump the phone??

Thx.

-Matt

http://www.import-power.com/gallery/d/17187-5/20121027_130801.jpg
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
From your picture, it looks like you just have to "clear your cache" and then "Wipe data/factory reset"...to get there use your vol up and vol down and hit either Home or Power to select it...
[T-Mobile Samsung Galaxy S II SGH-T989] datrapstar:
True that... I've been using both for sum time and never have I had an issue. With neither for that matter. I only suggested it cuz in my personal opinion, TWRP seems faster.

Sent from my "Collected" Hercules running Beats while jamming MIUI player. King Kangers kernel OC/1728-192 wheatley-sio UV/-50mhz
[T-Mobile Samsung Galaxy S II SGH-T989] Bray90820:
no matter what i do i can't get oden past recovery.img
[T-Mobile Samsung Galaxy S II SGH-T989] datrapstar:
Please explain what issues your having. Just stating that you cant get past Odin recovery leaves too much open field to be capable of helping getting a solution to your issue. Not trying to sound rude but if you want help please describe all (issues) in order for any of us to offer a helping hand
[T-Mobile Samsung Galaxy S II SGH-T989] digband:
I think what he means is the same thing happening to me right now.... the progress of Odin goes like following and never continues or finishes the flashing process, just sits like this indefinitely... in the box on the top left of the odin screen it says "BOOT"... I have tried a couple other T989 stock zips and none of them will flash. Any help or suggestions would be HIGHLY appreciated, thx.

<OSM> Leave CS..

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

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

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

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

<ID:0/003> boot.img

<ID:0/003> NAND Write Start!!

<ID:0/003> recovery.img

UPDATE: if I reflash CWM tar after the recovery.img hang, the phone will reboot to the T-Mobile stock screen, but, it never boots because the flash never completed... the blue progress bar reaches the end and it never gets any further...
[T-Mobile Samsung Galaxy S II SGH-T989] datrapstar:
Ok to both of you guys with the last posts, recoveries would be one the things you post. What is causing you to revert back to stock? Is there something corrupting your system. Bad download. Bad flash or just rather go stock?

Ok here goes nothing. Can either of you achieve recovery? Simple as pressing power button along (at the same time) with vol- and vol+. That should automatically bring you to the recovery. Being CWM or TWRP. Ok that didn't work, next steps are these:

Download the tar files for the device you need.

Open Odin

Select PDA choice and load the tar file downloaded before.

With your device off, hold your device upside down ( easier to maneuver this way) insert battery. Plug in USB cord. While holding upsidedown press power and both vol buttons at the same time. Odin should now recognize device. Your device will show download mode. It will ask you to accept the custom download. Press volume up and look in your laptop. You should see a green light meaning your device is good to flash tar. Press start.

Go take a mini bath :D old skools know what I mean .it takes about 8 minutes for the flash to complete. I would give it 15 just to be safe.

You device should reboot by itself. You will have factory stock ROM installed. Make a factory reset 2x just to make sure there's no nasty bugs left over.

Welcome back repeat the process once again and root your device or keep it unrooted. I do this once a months for 5 months and never. Never. Never once have had an issue. Hope this helps. If not I'm sorry. Oh and by the way, I'm not responsible for your device. Im just trying to help you out.

Sent from my "LiquidSmooth" that's killing the competition

---------- Post added at 01:22 AM ---------- Previous post was at 01:15 AM ----------

Unplug USB and power on device. Takes a bit to come back on. Remember you just cleaned everything out your phone. Takes about 12 mins for the process. To complete and fully boot up. Don't panic. It will boot.

If it doesn't you have a faulty power button. Send it for replacement and start over. Not being sarcastic. Just based of stuff I have "Google'd". Good luck

Sent from my "LiquidSmooth" that's killing the competition
[T-Mobile Samsung Galaxy S II SGH-T989] digband:
Thanks a lot for your response... I have solved this problem. Odin apparently has issues with 64bit OS. When I ran the procedure on a 32bit windows 7 OS it ran through fine with not a single issue.
[T-Mobile Samsung Galaxy S II SGH-T989] datrapstar:
Weird, both of laptops are 64bit and never have gotten that issue

Sent from my "LiquidSmooth" that's killing the competition
[T-Mobile Samsung Galaxy S II SGH-T989] jthumanist:
KonstantinKiller

I forgot to post My deepest appreciation for your compilation. I literally brought my phone back from the dead following your recipe. It took me literally hours and I had to redo it more than once (because of user error) but IT WORKED. Thank You, Thank You, Thank You.
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
No problem :) I love to see replies like this. lol
[T-Mobile Samsung Galaxy S II SGH-T989] WangLung:
Yes thank you very much for this. I've used it a bunch of times because sometimes nothing feels better to me than a completely clean wipe haha. Anyways I asked in my last post and was wondering if you could tell me why the file sizes are so different.
[T-Mobile Samsung Galaxy S II SGH-T989] garth719:
Delete
[T-Mobile Samsung Galaxy S II SGH-T989] ILLHYHL:
what could i do if i get an error message when you press up in download mode?

i'm stuck :(
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
What error do you get?
[T-Mobile Samsung Galaxy S II SGH-T989] blkbltwrestler:
I am getting a strange message after I flash unpack the rar and flash the md5 sum with odin i turn on the phone and click the android icon i get an error message saying google apps has crashed. I have rebooted the phone 3 times and even tried reflashing the md5 sum any ideas on what I can do to fix this.

edit I figured it out. I was able to flash cwm wipe data and rebooted set up wizard worked perfect.
[T-Mobile Samsung Galaxy S II SGH-T989] liemdam:
can't turn it on

i need help,

i try to restore just as instructed, could start in odin so i take off the battery to turn of the phone and start all over again

however it never turn on again, i try to leave the batter off for few minutes and put it back the phone won't turn on

even try the hold +/- volume while plug it in the usb with battery in still won't turn on

any ideas guy
[T-Mobile Samsung Galaxy S II SGH-T989] datrapstar:
Battery is not charged, you might try to go to a T-Mobile store and asked them to bother them for a quick charge. Once you do that, you should be good to go in order to get to Odin.... that's my best suggestion. Considering, if the case is that your battery won't charge due to the soft brick your experiencing
[T-Mobile Samsung Galaxy S II SGH-T989] liemdam:
i have extra battery did the same thing never turn on
[T-Mobile Samsung Galaxy S II SGH-T989] datrapstar:
Ouch.. that's as best I can help I believe.
[T-Mobile Samsung Galaxy S II SGH-T989] unicoyo:
Stock

Guys my phone died when I flash liquid rom, I did everithing on the guide, but nothing happen. What warning you got because the only thing i get is format disk when i plug the phone I dont nkow what else I have to do please help me, sorry for my bad english, thanks in advance
[T-Mobile Samsung Galaxy S II SGH-T989] monomojao:
Is there a tutorial on how to restore to stock to 4.0.4 or would the same steps apply?
[T-Mobile Samsung Galaxy S II SGH-T989] garth719:
Check out galaxys2root.com
[T-Mobile Samsung Galaxy S II SGH-T989] datrapstar:
I would recommend the same but the issue with that is that its outdated.
[T-Mobile Samsung Galaxy S II SGH-T989] mobbarley:
Hi. I'm having issues with the charge port on my t989 and have a ticket to send back to Samsung for repairs. I'm currently running CM 10 rooted, which steps should I take before sending back? Should I unroot and also go back to stock ICS? If so, which guide should I look at? Thanks in advance!
[T-Mobile Samsung Galaxy S II SGH-T989] WangLung:
unroot stock rom and boot loader and reset the flash counter
[T-Mobile Samsung Galaxy S II SGH-T989] free2saute:
I am going to return my phone gs2 to asurion on tmobile what is the best way to set back to stock i have gone from page 1 to 22 and i am confused i dont want to brick phone and pay another 175.00 please point me in the right direction i have 15 days :eek:
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
Are you rooted? I heard you can but also need to use a Jig or something like that to reset the counter..... if not...use Odin5..
[T-Mobile Samsung Galaxy S II SGH-T989] mon5trum:
You don't really need a jig just go to this website download the corresponding zip file and flash through CWM or TWRP and should reset flash counter!

http://ftp.androidfilehost.com/mrx/

Sent from outer space with the power of ANDROID!
[T-Mobile Samsung Galaxy S II SGH-T989] free2saute:
yes rooted
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
Sorry my friend, I can't help you with that...look at the post above this one..by mon5trum...that might help you...
[T-Mobile Samsung Galaxy S II SGH-T989] datrapstar:
Honestly speaking they won't be in depth looking at software like that. As long as it shows stock software it won't cause no panic. I just rooted my wife's s2 yesterday. Odin method. So you can find the firmware provided in the op to get your phone to factory. After all of that just take it in. In a few pages back I wrote about sending a water damaged device that still had paradox installed. I got charged $125 but due to having to replace the phone for water damage. It include the battery. But ( yes the but is in there) , they never said anything about the device being rooted or how many flashes had it been done to it

sent from my phone, wtf you think??
[T-Mobile Samsung Galaxy S II SGH-T989] free2saute:
sweet was expecting phone here yesterday but one more day :D
[T-Mobile Samsung Galaxy S II SGH-T989] free2saute:
Got it done phone going back to asurion thanks for this useful thread
[T-Mobile Samsung Galaxy S II SGH-T989] -Falco:
How do I get twrp after doing this?
[T-Mobile Samsung Galaxy S II SGH-T989] mon5trum:
Just go to the play store and download goomanager once installed press menu key and select install open recovery script! but you can always go to the team win website that's where I got these instructions.

Sent from outer space with the power of ANDROID! ^_^
[T-Mobile Samsung Galaxy S II SGH-T989] knotrkr:
Thank you..

This really saved my ass. I was so close to bricking,, and had no options.. I had no recovery installed nor a backup,, I was in a bad place ,,at least I was still able to get it into download mode and I flashed this with odin and I was saved... TY TY TY....!!!!!!!!!! For whatever reason when I upgraded to the latest version of CWM it just reaked havok on my phone. didn't work. So I was able to downgrade back to 5.0.2.7 I think it is... that still works great..My new thing is.. if the recovery your using now it working fine... don't change it just to change it.. that can really screw things up bad.
[T-Mobile Samsung Galaxy S II SGH-T989] wave_sailor:
Thanks, I am back to stock and hopefully bluetooth will behave and not constantly reconnect in my car.

Now, do I use odin to put my Touch Recovery .zip back on?
[T-Mobile Samsung Galaxy S II SGH-T989] sadakli2010:
It will not work

Hello,

I am trying to restore my friends tmobile s2 but it just won't work. I tried everything I can think of. From wiping data/factory reset from cwm, to using the method posted here using odin. Even though I get a success every time, when I boot up the phone it goes back to the way it was as if a virus is causing it. Does anybody have any suggestions as to what I have to do? He cannot use the phone as is now because if he adds new contacts or install/uninstalls apps from the play store, it will all reset once he reboots his phone. It is as if the phone keeps going back to a certain time, maybe when the virus hit the phone. Any help is appreciated thank you.
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
Yeah...try this..before you wipe it, go to Menu, then Settings, then Privacy, then untick the

AUTOMATIC RESTORE

option. Next, Restore the phone again, and when it boots up and asks you to use Google settings, DON'T DO IT....That's why it keeps coming back..at least, that's what happened to me a few times till I did that, and got it back clean and clear...Also, don't forget to Clear your cache a few times too..
[T-Mobile Samsung Galaxy S II SGH-T989] Djspinister:
I have tried doing this several times, completely uninstalling and re-installing drivers, two different versions of Odin, but Odin just hangs. That's what it did the first time is hang during system flash, nothing was touched. I am now at the 'Firmware upgrade has encountered an issue. Odin still recognizes the phone but it just hangs after NAND Write Start!

Any ideas? I have followed the guide to a T.

edit: After about 2 hours of wondering why on the 100th time I have Odin'd something it was messing up all of a sudden. So I decided to go back to basics. It was because I had a USB extender cable that I had my phone plugged into which I never did before. Went straight from phone to computer and complete success. Learning is stressful, i mean fun!
[T-Mobile Samsung Galaxy S II SGH-T989] rezoundness:
i went to return to stock doing this guide http://www.androidauthority.com/galaxy-s2-t989-android-4-0-4-ics-uvlh1-firmware-update-115534/

It failed after modem.

I redid it again,...

it failed

now i can not see anything...

The phone asked for a qhusd driver and i installed that driver...

how can i recover the phone now?

I try the volume down, volume up and power but just a blank screen...
[T-Mobile Samsung Galaxy S II SGH-T989] cmdba:
Is this a T989? This thread worked for me.. good memory refresh no issue going back to stock.

You should see this..
[T-Mobile Samsung Galaxy S II SGH-T989] TU Homer:
This process has saved my butt a few times. I found that the restoration in ODIN could take three attempts; each getting just a bit further. But it does work. As long as I was able to get to the "download" screen, which was literally the only option I had over the past week. When the upload using ODIN fails, start it again until it completes. You may need to disco the cable and reconnect it, but it should work.
[T-Mobile Samsung Galaxy S II SGH-T989] r_david562:
Would this fix my problem?

I tried to flash Liquid Smooth (RC9_LQS_REV5) on my Galaxy S2 T989, but I got stuck in bootloop. I did a full wipe, including cache and dalvik, and I Installed rom. Seemed to be successful, but after reboot I can't get past the Liquid Smooth screen. Did a couple of battery pulls, but nothing. Would one of those methods fix my problem?
[T-Mobile Samsung Galaxy S II SGH-T989] ardcifliku:
Thank you.running the latest baseband version [T989UVLI4 ]no issues.my s2 phone is running like a charm....
[T-Mobile Samsung Galaxy S II SGH-T989] knotrkr:
Hi,

I'm not complaining and this saved my ass 2 times. I just wondered if you'll ever have a method like that that'll recover my phone to ICS?
[T-Mobile Samsung Galaxy S II SGH-T989] meekrawb:
Just use this method with the newest firmware from sammobile.com and you will have stock ICS.
[T-Mobile Samsung Galaxy S II SGH-T989] Homeuser66:
Excellent!!! Glad you got it working....

---------- Post added at 11:19 AM ---------- Previous post was at 11:11 AM ----------

How did you make out?