yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Note! IF you mess up any of the following DON'T Blame me!

ODIN METHOD! Personally my preferred method!

[STOCK]:

Only if you are not keeping the phone! MENU - SETTINGS - PRIVACY - FACTORY DATA RESET

Only if you are not keeping the phone! MENU - SETTINGS - STORAGE - Unmount SD card then Format SD card.

If you are not keeping the USB storage (The extra memory card that you installed) MENU - SETTINGS - STORAGE - Format USB Storage

Now Odin the ROM [STOCK] [ROM] T989UVKID [26.09.2011][Android 2.3.5] Tmobile

Then Odin [KERNEL] T-Mobile Samsung Galaxy S II Stock Kernel // UVKID You can download the STOCK T-Mobile Kernel here SGH-T989-Stock-UVKID.tar

Then [STOCK] T-Mobile Samsung Galaxy S II Stock Recovery If the download link is broken, get it here SGH-T989-Stock-Recovery.tar

And now your phone should be factory

Original Method (ODIN Method)

************

Seem there is some confusion on how to get completely back to stock before returning or exchanging your phone.

So here is some guidance...

You need to do the following.

Hopefully you made a backup / nandroid in recovery before flashing a custom rom!:eek:

If so, go to recovery and restore your backup

Then recover the stock recovery by going to..

[STOCK] T-Mobile Samsung Galaxy S II Stock Recovery Originally Posted By: bubby323 (DON'T FORGET TO THANK bubby323 while you are there! Even better Donate!)

If you did not make a backup / nandroid before you flashed a custom ROM you will also need to do the following

[STOCK] T-Mobile Samsung Galaxy S II Stock Kernel // UVKID

Originally Posted By: bubby323

and

[ROM] SGH-T989 // UVKID // Stock // Deodexed // Rooted //Busybox

Then remove Super User

If you are returning the phone RESET!

Settings | Privacy | Factory data reset

Uninstall Superuser

That should be good enough to return the phone!

-----------------

UPDATE!!

New Method!

Donate to bubby323 or at least thank him!

NOTE!! Your origional nandroid may be in /sdcard/external_sd/clockworkmod/backup check the date!

[HOWTO][ROM] How to Unroot SGH-T989! [Painless 1 CWM ZIP]-Easiest Unroot Method Ever!

Originally Posted By: zedomax

**Read the thread!! You will probably need to delete Super User using something like Root Explorer

remove superuser from system/apps. Then flashed this zip

If you are returning it or just want EVERYTHING OFF!

Don't forget to go to settings Privacy "Factory data reset" Even check off Format USB storage

(UPDATE 12-06-11) You Still need to Odin the stock kernel SGH-T989-Stock-UVKID.tar see [STOCK] [ROM] T989UVKID [26.09.2011][Android 2.3.5] Tmobile
[T-Mobile Samsung Galaxy S II SGH-T989] btyork:
Edit the title in the "advanced" tab after hitting "edit" :)

Thanks for the guide! (Once we have a total stock ROM, I'd suggest updating it with that instead of "nandroid backup")
[T-Mobile Samsung Galaxy S II SGH-T989] jasontx:
If we've also flashed Bubby's kernel we'd also need to flash the stock kernel correct?

Thanks for the guide!
[T-Mobile Samsung Galaxy S II SGH-T989] terminatorxman:
Root Explorer! Needed if no back up

I had no back up and did the following

flashed stock rom from bubby.

then down loaded root explorer and deleted superuser/busybox from system

then odin stock kernel and stock recovery.

Then did a factory reset...now back to stock and no superuser/and busy box.

Sent it back for replacement due to screen.

Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Only if you did not make a nandroid while on stock.

You probably did if you followed the rooting guide.
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Were did you get the stock ROM?

If you Odin the stock Kernel and ROM your done, superuser should be gone.
[T-Mobile Samsung Galaxy S II SGH-T989] l-levit:
nice!!

Now I can return this one and get a.new one!!

Screen problems

THANK You!! And Buddy!!!
[T-Mobile Samsung Galaxy S II SGH-T989] noah1017:
nice thank you for the how to. I thought id have to wait for the full stock odin packages
[T-Mobile Samsung Galaxy S II SGH-T989] JaylanPHNX:
This is good to have. I currently have a Sensation that is a loaner as part of the T-Mobilizer program, but since there's no easy unroot, I couldn't root it. But when they send me the GS2, that puppy's getting rooted without concern.
[T-Mobile Samsung Galaxy S II SGH-T989] Jjday7:
Much needed. Thank you for taking the time to do this.
[T-Mobile Samsung Galaxy S II SGH-T989] ThC23:
Ok, so I did do a nandroid of my stock rom before I flashed everything. Problem is when I go to recovery and go to restore it says file not found and i have it both under my internal and external memory so not sure why it's not finding it.

The folder is under clockworkmod and it's labeled restore.

Am I missing something here? Do I need to rename something?

Thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Strange.

Are you trying in Rom Manager or Recovery?

Whichever one your tried, try the other!

Which recovery version did you make the backup with, which one are you running now?
[T-Mobile Samsung Galaxy S II SGH-T989] ThC23:
Ok so I got it, I had renamed the folder restore and it was suppose to stay as backup ooopps.

Another question-

So restore went good, I Odin stock recovery, but Im still rooted. I thought when I Odin stock recovery it was suppose to take away root?

Or do I just uninstall superuser?
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
What method did you take to Root?

If you used

[HOWTO] ROOT [KERNEL] SGH-T989 UVKID // Insecure // Root // Busybox

Originally Posted By: bubby323

Then do this to remove root and go to stock kernal

[STOCK] T-Mobile Samsung Galaxy S II Stock Kernel // UVKID

Originally Posted By: bubby323

I'm thinknig, you did this method

[HOWTO] ROOT T-Mobile SGSII via ODIN -- Updated Recovery

Originally Posted By: |Melvin|

and made your nandroid after flashing superuser

NOTE TO ALL! MADE NANDROID BEFORE INSTALLING SUPERUSER IF YOU USE THIS METHOD!!

I think you should just superuser / busybox from system
[T-Mobile Samsung Galaxy S II SGH-T989] ThC23:
Yes, I nandroid after root. So now what? I did root with Odin.

I'm guessing I should just be ok if I just uninstall SU and return like that.

I mean everything is stock now, I'm just gonna wipe everything from internal memory.

So I guess next time with the next phone I should nandroid before root, right?
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Correct! And delete busybox if it still exists in system,, but they probably will never notice it there anyway. What's wrong that you are returning it?
[T-Mobile Samsung Galaxy S II SGH-T989] umchriswho:
lost me there.

sorry but this is my first time rooting or doing any customROMs

am i suppose to do this before/after root or can i do it either way?

how do you even make a backup or "nandroid" a phone?
[T-Mobile Samsung Galaxy S II SGH-T989] zedomax:
You can only make a backup after rooting, here's a video tutorial:

[YOUTUBE]5JwRDRmbGHo[/YOUTUBE]

You can save your CWM backups (which is stored in /clockworkmod/backup directory) on your computer if you are taking it in for exchange, then restore it after rooting your new phone.
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
That's strange, because a bunch of us used the following method and flashed a recovery, made a nandroid, then flashed superuser!

[HOWTO] ROOT T-Mobile SGSII via ODIN -- Updated Recovery

Originally Posted By: |Melvin|

No mattter the OP has be updated with a nice easy method!
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
If you use the origional method you nandroid before installing superuser

[HOWTO] ROOT T-Mobile SGSII via ODIN -- Updated Recovery
[T-Mobile Samsung Galaxy S II SGH-T989] Born_Immaculate88:
Just flashed it and It works 100% and is super easy :-)
[T-Mobile Samsung Galaxy S II SGH-T989] azsl1326:
Just flash this via Odin and SuperUser is still listed in programs. Suggestions on how to get rid of it?

Thanks, in advance.
[T-Mobile Samsung Galaxy S II SGH-T989] :
I posted something earlier because that happened to me. I used a root explorer type program to delete it from system apps. Then I factory reset to make sure. I then downloaded terminal emulator and types 'su' and it should said denied meaning you are not rooted anymore. I'm just waiting for an actual Odin to stock method like the vibrant had that will restore 100% eCho time to stock without these issues.
[T-Mobile Samsung Galaxy S II SGH-T989] azsl1326:
Thanks. I actually ended using the method here - which flashes the stock rom and recovery thru clockwork recovery. It was super easy.
[T-Mobile Samsung Galaxy S II SGH-T989] :
Yep that's the one I did. I still had superuser as system app.
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
OP updated!

If I missed anything please let me know!

Personally I like the Odin method!

And word is, a complete Odin method should be here soon!
[T-Mobile Samsung Galaxy S II SGH-T989] Mezz101:
So any way If we didnt do a nandroid before flashing superuser that we can get rid of the kernel splash screen and go back to stock boot?

Edit - Nevermind found a stock kernel flash and that did the trick.

http://dl.dropbox.com/u/21231693/T989-UVKID-Stock.tar
[T-Mobile Samsung Galaxy S II SGH-T989] galaxyst:
Waiting for complete Odin method
[T-Mobile Samsung Galaxy S II SGH-T989] noodles2224:
There's already a Odin method
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
It's in the OP

The OP has been updated to include the Odin method
[T-Mobile Samsung Galaxy S II SGH-T989] bnielsen40:
Thanks for all the help you're giving the community, jangst123.

I have a quick question I can't seem to find a clear answer for:

Does a nandroid backup also backup the kernel? I'm thinking not, but the explanation in the OP has me unsure - it says after you restore your original nandroid, all you have to do is flash the stock recovery. Does that mean the stock kernel is restored as part of the nandroid restore?

A nandroid backup on my Vibrant didn't backup the kernel, but I know on some other devices the kernel is included in a nandroid backup, so I just want to be clear.

Thanks!!
[T-Mobile Samsung Galaxy S II SGH-T989] certi5edd3si:
hey guys i did the steps carefully and the synergy thing still does not go away at boot up...i ahve to return this phone and im freaking out that they will find out i rooted the phone..what can i do????????
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Not 100% positive, so Odin the stock kernel
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Which method!?
[T-Mobile Samsung Galaxy S II SGH-T989] le14:
I'm super confused with this process, so far my phone has been rooted and flashed to BeastMOD 2.5 and I need to get it back to stock out the box status since tmobile sent me a new phone due to some issues I was having.

1) I have a nandroid backup of my stock ROM which I made right after I rooted so I have the stock ROM.

2) So all I would have to do now is restore that old rom and unroot correct? Then do a factory reset to get the phone just like it was out the box?

3) what are the ways to unroot and I saw this (http://xdaforums.com/showthread.php?t=1323878) but it just seems to be a stock unrooted rom, but wouldn't your phone still be rooted?

Or do I flash the stock backup rom I had, then do this (http://xdaforums.com/showthread.php?t=1319830) BTW the files to DL in that link do not work so I'm clueless.

any help XDA?
[T-Mobile Samsung Galaxy S II SGH-T989] certi5edd3si:
i did the one where i had a backup in the folder of RecoveryMOD
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Op updated! Should make it more clear!

Also includes alternate download links

Question 2) No you probably still have need to flash the stock recovery and kernel!
[T-Mobile Samsung Galaxy S II SGH-T989] JROCxvl:
This is actually the first time I have ever had to return my phone to stock, and I have to admit I am a little bit confused. I booted into CWM and did a restore back to before I made any customizations (as in only CWM had been flahed via Odin, but nothing else). Now do I only need to perform a factory reset/format storage to be fully stock? Or will CWM still be there? I am hoping to swap this out tomorrow for a device without any screen lines (this is my second S II X in 5 days, both had terrible screen lines, but I didn't even bother rooting the first one as it also had a faulty speaker) as I am still in the 14 day return period.

I am going to do a factory reset now and see what happens...

Thanks in advance! :)

---------- Post added at 09:45 PM ---------- Previous post was at 09:36 PM ----------

Okay so after factory reset, CWM is still there... I tried to follow the guide here :http://xdaforums.com/showthread.php?t=1325168&highlight=stock

but the download link appears to be broken. Does anyone have an alternate download link for the stock kernel to flash through Odin? And am I correct in assuming that this will get rid of CWM and return me to stock everything?

Again, thanks in advance! :D

---------- Post added at 09:58 PM ---------- Previous post was at 09:45 PM ----------

okay I don't know how I missed this. I did like 10 searches through this forum and didn't find it until just now! :p http://xdaforums.com/showthread.php?t=1350357&highlight=telus+recovery&page=3

silly me. It seems like every time I finally resort to making a post to find help I then can find my answer.... :confused: oh well!
[T-Mobile Samsung Galaxy S II SGH-T989] New_here:
I am alittle confused here. Where would someone get the stock telus kernel? Can you use CWM to back up my kernel as well?

The link that had the kernel is dead: http://xdaforums.com/showthread.php?t=1325168&page=7

So I am not sure where are we suppose to get the kernel from?

Also, http://xdaforums.com/showthread.php?t=1350357&highlight=telus+recovery&page=3 only has stock rom but no kernel

Thanks for the help
[T-Mobile Samsung Galaxy S II SGH-T989] ingenious247:
thanks jangst
[T-Mobile Samsung Galaxy S II SGH-T989] Challenger:
I just followed these steps, my phone should be back to stock now with no trace of superuser, correct?

It should be safe to send it back to Samsung for warranty?

Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Should be good to go!

Even if you did nothing, I highly doubt they will take the time to even look at what files are on the phone.
[T-Mobile Samsung Galaxy S II SGH-T989] Esevw:
Just used the methods and followed instructions and everything went smooth and now I am back to stock and about to update my phone with tmobiles OTA update.

** thanks to jangst123 for posting this thread.
[T-Mobile Samsung Galaxy S II SGH-T989] kharnage:
Sorry guys, does anyone have the stock backup they want to share?
[T-Mobile Samsung Galaxy S II SGH-T989] apicia:
I just used Odin to flash the stock ROM. I was running Jugg 3.7 with the Bullet kernel. The guide above tells you to flash the kernel and recovery after flashing the ROM. I only used Odin to flash the stock ROM and it appears it returned the kernel and recovery to stock. It shows baseband as T989UVKID, kernel version 2.6.35.11 (stock?).
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Stock ROM will not show the modified kernel version under about!

Some custom ROMS don't show the modified Kernel version.

I believe there is a shell command you can run to see the current Kernel ver. I'll post it when I remember it.
[T-Mobile Samsung Galaxy S II SGH-T989] apicia:
Well, you have to flash all three, well at least recovery. I ended up flashing the ROM, kernel, and recovery. I am back to stock 2.3.5. I am waiting for the 2.3.6 upgrade to get the new modem. I tried Kies, but T-Mobile has no Kies option for USB.
[T-Mobile Samsung Galaxy S II SGH-T989] AUTX_buckeye:
Bit of a noob question here... but have any of the Devs pulled Stock kernel and recovery from KL1 (or has it even changed between releases?)? or is the recommended path go back to KID then re-push KL1?
[T-Mobile Samsung Galaxy S II SGH-T989] apicia:
Good question, we need the 2.3.6 ROM, kernel, and recovery to Odin KL1.
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
Use Odin and

Go here and FOLLOW directions.

http://rootzwiki.com/topic/11883-odi...-kang12142011/

To update your modem
[T-Mobile Samsung Galaxy S II SGH-T989] apicia:
I was going to use this method before when running Jugg 4.0, but a few people said that the modem flash was hanging. Since I don't have a Heimdall Stock One-Click (like the Vibrant), I worried about brickage. Heimdall was awesome. It returned everything to stock including modems, roms, etc. I hope one is developed for our T989.
[T-Mobile Samsung Galaxy S II SGH-T989] Esevw:
Did you install the Kies drivers on your computer before you plugged your phone via USB? I have a T-Mobile sg2 and Kies update worked for me.
[T-Mobile Samsung Galaxy S II SGH-T989] apicia:
Problem is their is no option for Kies in USB connection (ie. mass storage, samsung kies, etc). T-Mobile says they don't support Kies on the T989.
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
This has been used a ton of times!

1 bad ODIN out of a few thousand should not scare you off.
[T-Mobile Samsung Galaxy S II SGH-T989] panku123:
Well dude ur post iz quite gud... But i need help...

Help me out i wanna get back to stock recovry nd rom in my galaxy fit...

Can u pls provide me wid the steps.....

So that i can hav my phn lyk it was as just i bought it from the shop...

Plsss hl:confused:p me out
[T-Mobile Samsung Galaxy S II SGH-T989] ThC23:
Does the zedomax rom flash stock recovery too?
[T-Mobile Samsung Galaxy S II SGH-T989] BRKotucs:
Go here and download and install it to your computer. http://www.samsung.com/us/support/downloads/t-mobile/SGH-T989ZKBTMB
[T-Mobile Samsung Galaxy S II SGH-T989] jr_718:
Interesting
[T-Mobile Samsung Galaxy S II SGH-T989] jangst123:
I don't think so, but it would be best to ask in that thread
[T-Mobile Samsung Galaxy S II SGH-T989] ThC23:
Yeah, it doesn't. I just went back to stock because doing a warranty exchange. I just have to Odin stock recovery once I get my replacement, no big deal.

Powered by the SGS2....
[T-Mobile Samsung Galaxy S II SGH-T989] jasnn:
I don't think Heimdall will work with the SGH-T989 yet. Hopefully it will with a Heimdall update. I think that then, we will start to see Heimdall Firmware Packages, (and One-Clicks), for the SGH-T989.

Good Luck..
[T-Mobile Samsung Galaxy S II SGH-T989] aloofsoul:
hi ... i am an extreme newbie and i want an opinion on my gs2. i bought a used phone and i found it was rooted. below is the system info about the phone. can i get it back to stock. i have downloaded stock Kernel_I9100JPKJ2 and stock firm ware GT-I9100_THR_I9100JPKJ2_I9100OJPKJ1_I9100XXKI4.exe. can i use this to restore my phone to original situation. thanks
[T-Mobile Samsung Galaxy S II SGH-T989] aloofsoul:
help here

i have a used galaxy s2 and i am planning to use stock Kernel_I9100JPKJ2 and stock firmware GT-I9100_THR_I9100JPKJ2_I9100OJPKJ1_I9100XXKI4

my system info is as below.... i am in pakistan

PDA:I9100BOKE3

PHONE:I9100BOKD1

CSC:I9100TMUKE3

build info: wed may 4 22:27:06 KST 2011

if some one could help me how to that..... as i have never flashed a rom before. i tried to get around this my self but i need help here..... SOMEONE
[T-Mobile Samsung Galaxy S II SGH-T989] alpharomero:
I am at the step "Now Odin the ROM [STOCK] [ROM] T989UVKID [26.09.2011][Android 2.3.5] Tmobile".

I booted into recovery -> opened Odin -> browsed to the .tar.md5 file in PDA and clicked start. it seems like it's been stuck on <ID:0/004> SetupConnection.. for about 30 minutes

thoughts?
[T-Mobile Samsung Galaxy S II SGH-T989] ThC23:
When you hook up phone, does one of the boxes on top turn yellow?

This is a sign that the phone is being recognized.

Powered by the SGSII....
[T-Mobile Samsung Galaxy S II SGH-T989] raycaster3:
You need download mode not recovery. That's why nothing is working.

»»DARKSIDE««
[T-Mobile Samsung Galaxy S II SGH-T989] alpharomero:
oh, gotcha. yeah i think i resolved it. i was trying to go back to factory so i can restart the whole process with a nand backup. i think i accomplished it.
[T-Mobile Samsung Galaxy S II SGH-T989] voonli24:
I messed up a big time. After I odin the 3 files on the OP, my phone will not get pass the android screen to set up. It gives me warning that google service framwork has stopped, then android process acore and then when i tried to call my cell with my home phone, I got android phone has stopped working.

Please help.:confused:
[T-Mobile Samsung Galaxy S II SGH-T989] Khizar:
if only you had read the title...old and outdated
[T-Mobile Samsung Galaxy S II SGH-T989] voonli24:
Is there anyway to unbrick my phone now?
[T-Mobile Samsung Galaxy S II SGH-T989] xcrazydx:
It's not bricked. Odin the correct tar and your fine
[T-Mobile Samsung Galaxy S II SGH-T989] whma11:
Will this work after upgraded latest OTA and Stock ICS? I hate ICS and want to go back stock GB. 2.3.6 the latest one. It freezes and lags even after factory reset. Any suggestion or have different steps back to stock?
[T-Mobile Samsung Galaxy S II SGH-T989] Memnoch30:
I'm interested in the same for my wife's phone. Sorry to necro the thread.
[T-Mobile Samsung Galaxy S II SGH-T989] EnigmaticGeek:
if you can get into download mode then yes. You could learn how to adb if you take the time and do a push if you can get into recovery. The command line functions are pretty easy. Just get the stock gb tar and odin can do the rest though. The start over

sent from my T989 full of CM awesomeness and a touch of Venom from the Darkside!!
[T-Mobile Samsung Galaxy S II SGH-T989] eleon:
Discoroboto

Would this work on Galaxy S Blaze?
[Android Q&A, Help & Troubleshooting] rkiller51:
I have SGS2 and i tryed to install this theme for my cm7 :

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

I installed the morph file using metamorph and installed the theme but i still have alot of missing stuff ..

1. i have my normal stasus bar and its not like in the photo

2. i have no widgets

3.the setting looks like always

and alot more ..

it doesnt look anywy like in the photos and the only thing that changed on my phone is the setting click color (turned blue) and the icons and thats it ..

the keyboard , the stasus bar, the phone , the lock screen and every thing else didnt change ..

how do i make my SGS2 look like in the photo the gave ?

this 1 :
[Android Q&A, Help & Troubleshooting] melvinchng:
Have you changed your theme in theme chooser?

Accidentally sent from my Google Nexus S using XDA Premium
[Android Q&A, Help & Troubleshooting] danibri82:
and that there is your answer.