yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] mahanddeem:
Forgive me op I can answer...

CWM will not flash this rom correctly.... It has a know bug involving cleaning and writing to the /preload partition...

TWRP is essential to do this job...Troubleshoot why TWRP has problem working on your device...

Search your device development forum for TWRP 2.5 or 2.6 flashable zip , check its md5 both on your PC and your sdcard... Flash it using whatever custom recovery you have now...Reboot into it and proceed with wiping system data cache dalvik and preload then flash this rom... For the root thing I think this rom is already rooted... Or search for a flashable busybox/su binaries... You can flash that zip directly after the rom (if this ROM is not rooted already...OP please chime in for that piece of information)...

Reboot and then let the ROM settle for few min until it's ready for usage...

PS : Scratch the busybox/su root zip thingy...Just flash this already rooted rom then reboot(using TWRP that is)
[T-Mobile Samsung Galaxy S II SGH-T989] kbs24:
THanks very much, got it all done. After installing the update, big problem now is that I am not getting any phone service from t-mobile. Wi-fi is fine, but no phone. Never experienced this before when changing roms, any ideas how to troubleshoot, other than to take it in to a t-mobile store?
[T-Mobile Samsung Galaxy S II SGH-T989] mahanddeem:
Hit thanks if my reply helped you...
[T-Mobile Samsung Galaxy S II SGH-T989] Chochiwpg:
The ROM installs the JellyBean 4.1.2 version of Android on your phone but does not update automatically to the JellyBean radio. You will have to flash that separately. You can find the radios from the thread below. Download and flash in recovery. If you are on Tmobile you probably want the UVMC6 radio.

http://xdaforums.com/showthread.php?p=31769119

[RADIOS] CWM/TWRP Flashable Radios SGH-T989/D [2013.04.24] TLMC4 New Added!
[T-Mobile Samsung Galaxy S II SGH-T989] bobbyphoenix:
If you know what you are doing you can use CWM. I've been on CWM since the beginning of time. LOL You just need to flash Imfamous Wipes before flashing ROM. They will include the preload folder. I've flashed this ROM myself, and it runs smooth like butter without one single issue. :good:
[T-Mobile Samsung Galaxy S II SGH-T989] BitingChaos:
I see info going back and forth about this.

One person says "DO NOT FLASH THE SUPERWIPE WITH THIS RECOVERY" in regards to CWM. Another user says "superwipe breaks any cwm based recovery over 5" (http://xdaforums.com/showpost.php?p=44845019&postcount=51)

You suggest that you need to Super Wipe if you use CWM. The first post in this thread says to Super Wipe with TWRP. If it works with CWM with Super Wipe, why was it hinted that this ROM doesn't work with CWM at all?

Does anyone else think this a little confusing? :silly:
[T-Mobile Samsung Galaxy S II SGH-T989] Chochiwpg:
I recommend using TWRP because that is the only recovery I personally used to test this ROM. The instructions I provided in the OP is the exact method I used to flash the ROM which worked on my device without issue. I haven't tried with CWM so I personally can't recommend something I haven't tried. If you follow the method in the OP you won't have issues, if you try another method it could possibly work but I can't guarantee since I haven't tested myself.
[T-Mobile Samsung Galaxy S II SGH-T989] samprocat:
Thanks for zip version and all the hard work on deodexing .....your work definitely making more easy all guys
[T-Mobile Samsung Galaxy S II SGH-T989] DeathBlimp:
ok my phone is stuck on infinite reboot after i followed the instruction, and yes i am using CWM to do this. I did not know i wasnt supposed to until i got the problem. I'm back at CWM, what do i do now to get it to work? i'm reading conflicting things about what i should do so i am asking now.

---------- Post added at 12:45 AM ---------- Previous post was at 12:08 AM ----------

crap. this happened to me, i try to recover to a backup and now it's stuck restoring .android_secure. how do i fix this?
[T-Mobile Samsung Galaxy S II SGH-T989] dt@yahoo:
Flash another Rom.....
[T-Mobile Samsung Galaxy S II SGH-T989] DeathBlimp:
I can't now CWM is stuck at "warning: no file_context"
[T-Mobile Samsung Galaxy S II SGH-T989] :
Then you'll probably have to odin flash stock and go from there. Or wait for other ideas. ;)

Sent from my cellular telephone
[T-Mobile Samsung Galaxy S II SGH-T989] DeathBlimp:
actually. with some work. i got this ROM to work. But i have a problem. when it first starts up it crashes and say "unfortunately, the process com.android.phone has stopped"

After i go through setup, i realize the 3G/phone does not work. When i try to go to "mobile networks' option, it says please insert simcard.

What's going on? does this have the wrong radio driver?

Also, how do i get google play back in? and i also dont see the phonebook (or equivalent app) or the phone app.
[T-Mobile Samsung Galaxy S II SGH-T989] baseballfanz:
I had the same problems but got it all working good after

-Using TWRP - I had to Odin flash this version as it's the only one that got pass the TWRP Splash screen http://xdaforums.com/showthread.php?t=1852753

-Flash the InfamousCacheWipe .zip

-Flash the InfoamousSuperWIpe.zip

-Flash ROM

-Flash this radio http://xdaforums.com/showthread.php?t=2226835

-Reboot and is good to go.:good:
[T-Mobile Samsung Galaxy S II SGH-T989] DeathBlimp:
that's strange... i downloaded and installed that radio but nothing changed after bootup, still getting the error message and still not seeing sim card.
[T-Mobile Samsung Galaxy S II SGH-T989] jore13:
Same problem here on my bro-in-law's phone. An update or other solution would be greatly appreciated.
[T-Mobile Samsung Galaxy S II SGH-T989] DeathBlimp:
I have since flashed back to a backed up version of 2.3.6 and everything worked except somewhere along the line i broke my /cache partition, but that's just m problem. I have read that a cache wipe (forgot if it's infamous wipe) will update the radio driver.

you can try that if you want, it's too late for me.
[T-Mobile Samsung Galaxy S II SGH-T989] Rushing:
lol

I think if you odin back to stock you will be fine... if you need help post in the Q and A and or just read the stickies for return to stock via Odin.

I hope you get your device working again. if you need help with a particular step then PM me... your device is fine, or we will make it fine.
[T-Mobile Samsung Galaxy S II SGH-T989] DeathBlimp:
well i Odin to stock rom 4.0.4 and the radio did not work and it was slow. but you are right /cache did work. I did not Odin back to 2.3.6, it might fix the problem but I dont have a 2.3.6 stock rom that's unlocked.
[T-Mobile Samsung Galaxy S II SGH-T989] Rushing:
It should work ... are you on tmobile. Also you don't need a rooted .tar to flash just flash aftef ward. If you want a for sure fix flash my stock #999 from my thread in development. It will update your recovery and radio kernel and rom all in one flash.
[T-Mobile Samsung Galaxy S II SGH-T989] chagla:
did anyone flash this rom on a skyrocket (i727)?

i need to have wifi calling feature. i can flash this rom fine on the skyrocket but i can't yet get a radio to work with it. anyone have any ideas? thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] daluke:
Rom works and flashed great on my skyrocket. Just follow the instructions and it's that easy. Only thing is the screen rotation is on the Fritz.
[T-Mobile Samsung Galaxy S II SGH-T989] :
wheres the thread for the T989D?:D
[T-Mobile Samsung Galaxy S II SGH-T989] :
There's a few...buried now. Try that search thing. ;)

Sent from my cellular telephone
[T-Mobile Samsung Galaxy S II SGH-T989] RunNgun42:
Yeah SIM card problem + force closes on android.com process. ROM is bugged, find another. Know how to wipe, been flashing for years across 5 different devices, it's the rom not the user.
[T-Mobile Samsung Galaxy S II SGH-T989] :
What recovery are you using? Twrp 2.6.1.0 completely messed up my stock install. Set up never came up....it just booted into ROM. Play store wasn't there. Trying to get into settings caused a force close. Flashed clean 3 times.

Reverted back to 2.4.4.0 and flashed again.....everything was perfect after.

And use the infamous cache wipe and super wipe zips before flashing. A must for 4.1.2 installs.

Try it....you'll like it! ;)

---------- Post added at 09:16 PM ---------- Previous post was at 09:14 PM ----------

Above post was for you. :)
[T-Mobile Samsung Galaxy S II SGH-T989] toeshot:
Hi

I have looked through this forum and I have not seen anyone having the same issue I am having. I have downloaded the ROM twice, checked the MD5 on the PC and it checks out. Moved the ROM to my external_sd card and checked the MD5 there and it checks out.

I have followed the intructions step by step in the opening post to the 'T'

yet I am still get this error

'unfortunately, the process com.android.phone has stopped.'

I have attached part of the logcat that has unknown permissions.

I have gone back and wiped davlik and did a fix permissions.

Is there something else I can look for?
[T-Mobile Samsung Galaxy S II SGH-T989] carandcar:
Have thou tried the Infamous Super Wipe yet? Run it before flashing the ROM. It's worth a shot.
[T-Mobile Samsung Galaxy S II SGH-T989] toeshot:
Yes I have tried infamous super wipe and then the cache wipe as it is said in the opening post, three times and I get this problem everytime.

I get other ROMs to work on my phone but I really woudl like a TW ROM. The 2.6.X works but I would like to have a 4.1.X or better
[T-Mobile Samsung Galaxy S II SGH-T989] carandcar:
I just sent you a pm.
[T-Mobile Samsung Galaxy S II SGH-T989] Rev10eight:
Thanks for bringing life back to an older phone
[T-Mobile Samsung Galaxy S II SGH-T989] Chochiwpg:
I have updated the OP to mention that TWRP 2.4.4.0 is recommended for install. Seems others are having issues when flashing with 2.6.1.0
[T-Mobile Samsung Galaxy S II SGH-T989] cgibbons51:
Would it be possible to have a like verified version that can be installed in stock recovery?
[T-Mobile Samsung Galaxy S II SGH-T989] Chochiwpg:
If you don't plan on rooting your device and you want to stick with the stock recovery you are probably best to either update via OTA or via Kies.

Another option, you could download the firmware from SamMobile and flash via ODIN as well.

I am not familiar with how to create or install a custom ROM via stock recovery TBH. Maybe it's possible? I have not heard of it before myself.

Also, this ROM was made back in June, I have since removed my Linux partition on my computer and no longer have the files to make any updates to the ROM. I'll leave it up on my file host though for those that just want stock but want a rooted version. That was the main reason for making it in the first place.

Peace.
[T-Mobile Samsung Galaxy S II SGH-T989] cgibbons51:
Was wondering cause USB broken :P figured maybe download zip on phone and use recovery
[T-Mobile Samsung Galaxy S II SGH-T989] Chochiwpg:
You can download zip on phone from the link in the OP and flash via TWRP as per the instructions. You should be fine.

Remember to use TWRP 2.4.4.0
[T-Mobile Samsung Galaxy S II SGH-T989] cgibbons51:
USB port is broken I have stock recovery and stock 2.3.6 would it be possible to get this update another way? Sorry I said it confusingly
[T-Mobile Samsung Galaxy S II SGH-T989] Chochiwpg:
If you have stock recovery and are unrooted running version 2.3.6 you should be able to receive the OTA update directly on your phone. Settings, About Phone, Updates.

If that doesn't work. and your USB is broken and you haven't rooted or flashed a recovery (then you should still be under manufacturers warranty). You should be able to contact Samsung for a faulty USB port.

From my understanding the only way to root your device and install a custom recovery to flash ROMs is via ODIN on your computer. There is a mobile ODIN option, but I believe it does not support the T989.

To be honest I haven't used the T989 in a couple years now, the Nexus 5 is my main phone so I haven't really stayed on top of what's going on with the Hercules or Samsung development. You may want to post your question in the Q&A section, see if others have suggestions as well.
[T-Mobile Samsung Galaxy S II SGH-T989] mbezite:
Just got a S2 that i wanna give a relative as a present. I browsed through this forum but could not find a odin tar version of a stock, unbloated and deodexed rom. Am trying not to install a custom recovery since i will give the phone to a non-techie person. Please point me to a link. Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] Chochiwpg:
You can download an ODIN tar version of the stock ROM from SamMobile. But it will not be deodexed or unbloated. Not sure that particular option is available unfortunately.
[T-Mobile Samsung Galaxy S II SGH-T989] Jon4248:
See here
[T-Mobile Samsung Galaxy S II SGH-T989] free2saute:
coming from CyanogenMod 11.0 flashed this rom and i get a no sim card message will like to get it back to stock some help please.
[T-Mobile Samsung Galaxy S II SGH-T989] dadogintown:
Seems like I need to flash gapps on this, did a fresh install, but getting error messages on set up plus no play store. Is there a link for gapps.? Thanks in advance
[T-Mobile Samsung Galaxy S II SGH-T989] Splaktar:
The 4.1.2 gapps is here: http://goo.im/gapps/gapps-jb-20121011-signed.zip

---------- Post added at 02:09 PM ---------- Previous post was at 02:08 PM ----------

I am having this issue when trying to flash this ROM as well. Both with TWRP 2.4.4.0 and 2.6.1.0.

I also get a lot of acore FCs and other issues.
[T-Mobile Samsung Galaxy S II SGH-T989] :
Gapps is in rom. I had the same issue using twrp 2.6.1.0.

I used 2.5.0.0 and did the infamous cache wipe and superwipe and all was well that way. :)
[T-Mobile Samsung Galaxy S II SGH-T989] hittzman:
Im coming from CM10.2, and as KJ2112, I flashed TWRP 2.5.0.0 and all is functioning well. She's running smooooth.

Thanks much Chochiwpg.
[T-Mobile Samsung Galaxy S II SGH-T989] Chochiwpg:
You are welcome :good:
[T-Mobile Samsung Galaxy S II SGH-T989] hittzman:
Hey Chochiwpg, can you suggest a way or kernel that will enable the notification lights?
[T-Mobile Samsung Galaxy S II SGH-T989] Rushing:
Tiberius.

By Kl3kener has the needed lights.so files and the kernel hacks
[T-Mobile Samsung Galaxy S II SGH-T989] hittzman:
Got 'em! Thanks much Rushing. Your work and help is always appreciated.

Also a BIG THANKS to Cl3Kener for his TIBERIUS 2.6.

EDIT> All is running well Rushing,:good:
[T-Mobile Samsung Galaxy S II SGH-T989] bdfull3r:
My dialer crashes when I try to flash a stock ROM any ideas what I'm doing wrong,?

Sent from my Nexus 5
[T-Mobile Samsung Galaxy S II SGH-T989] evankayeotis:
Thanks lol. I was on 2.7 and I had the same error as you. I odin to the OP twrp and it worked!

Thanks so much
[T-Mobile Samsung Galaxy S II SGH-T989] eris170:
Hi, I'm trying the instructions in the first post and can only boot to a "Samsung Galaxy SII" loading screen with the blue bar at the bottom. It's been sitting there for nearly 30 minutes. I can use adb to look around a bit (`adb ls /` shows me some kind of directory structure ) but unable to get a shell on the device. I have heimdall installed (I'm on Linux) and flashed many different versions of TWRP trying to get this working.

Prior to this, I tried flashing cm-13.0-20161217-UNOFFICIAL-celox.zip and it booted up to "Encryption Unsuccessful" which, according to much searching, seemed to have something to do with /data being vfat. So, I reformatted that to ext4 and re-flashed. CM just boots up to the blue face now and sits. Much like what is happening with this latest flash.

I thought the best thing to do at this point is use heimdall to flash the Stock ROM and start over but the problem is that this device is sooooo old that all of the links i'm finding are since long dead.

Any ideas where to look to see what the problem is here?

Thanks
[T-Mobile Samsung Galaxy S II SGH-T989] eris170:
Ended up using heimdall like this https://xdaforums.com/showthread.php?t=2284187 but with a stock ROM. Putting it here in case someone else can use it.

from saved (binary) pitfile on device (heimdall
---------------------------------------------------------------------------------------
# heimdall download-pit --output /tmp/pitfile.pit
# strings /tmp/pitfile.pit
(you have to weed out the partition names=filenames from output)
8x60
SMD_HDR
SBL1
sbl1.mbn
SBL2
sbl2.mbn
rpm.mbn
SBL3
sbl3.mbn
ABOOT
aboot.mbn
BOOT
boot.img
tz.mbn
PARAM
param.lfs
MODEM
amss.bin
MSM_ST1
efs.img
MSM_ST2
MSM_FSG
mdm.bin
M9K_EFS1
efsclear1.bin
M9K_EFS2
efsclear2.bin
M9K_FSG
DEVENC
enc.img.ext4
RECOVERY
recovery.img
FOTA
SYSTEM
system.img.ext4
USERDATA
userdata.img.ext4
CACHE
cache.img.ext4
TOMBSTONES
tomb.img.ext4
ums.rfs

tried flashing all at once, but got errors after each partition (below)
---------------------------------------------------------------------------------------
# heimdall flash --no-reboot --pit /mnt/sgh-t989/pitfile.pit --verbose --RECOVERY recovery.img
RECOVERY upload successful

# heimdall flash --no-reboot --pit /mnt/sgh-t989/pitfile.pit --verbose --MODEM amss.bin
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
MODEM upload successful

# heimdall flash --no-reboot --pit /mnt/sgh-t989/pitfile.pit --verbose --BOOT boot.img
BOOT upload successful

# heimdall flash --no-reboot --pit /mnt/sgh-t989/pitfile.pit --verbose --CACHE cache.img.ext4
CACHE upload successful

# heimdall flash --no-reboot --pit /mnt/sgh-t989/pitfile.pit --verbose --MSM_FSG mdm.bin
ERROR: Failed to unpack received packet.
ERROR: Failed to confirm end of file transfer sequence!
ERROR: MSM_FSG upload failed!

# heimdall flash --no-reboot --pit /mnt/sgh-t989/pitfile.pit --verbose --SYSTEM system.img.ext4
SYSTEM upload successful

Other errors while attempting heimdall flashing..
---------------------------------------------------------------------------------------
Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
ERROR: Failed to receive handshake response. Retrying...
[Galaxy Note II Q&A, Help & Troubleshooting] dishu55:
Hey, i was trying to unroot my phone and reset the counter using triangle away but now my imei number is changed and my sim card doesnt work...please someone help me.....what should i do
[Galaxy Note II Q&A, Help & Troubleshooting] AlanDS:
Which ROM you have installed? Have you tried to flash official stock rom again? If no, try to flash and see.

If you are on MF2 or ME6 ROM, then you might need to restore EFS backup.. Anyways, give us more details so that we can investigate futher.
[Galaxy Note II Q&A, Help & Troubleshooting] dishu55:
i was on ARHD rom nd then tried to move back to stock..so restored the stock backup..then i tried to unroot the cell..i did so but device status was modified...so to change it i tried using triangle away to reset the counter...ended up with different imei number....
[Galaxy Note II Q&A, Help & Troubleshooting] bizum1:
efs backup restore :)
[Galaxy Note II Q&A, Help & Troubleshooting] dishu55:
problem solved...just flased the stock rom...thanks guys...:)
[Galaxy Note II Q&A, Help & Troubleshooting] dishu55:
Mod please delete the thread..:)
[Galaxy Note II Q&A, Help & Troubleshooting] DesElms:
Delete the thread?

Why? When I was an admin in a big forum like this, requests like yours never ceased to amaze me. This is a public forum, not a private messaging service. How can anyone else learn from any of it if its parts are deleted every time something's resolved!?!

It's a selfish request... in exactly the same way that someone saying they'll PM someone to privately continue the discussion, when said discussion is guaranteed to contain information from which others may benefit, is selfish. I'm not saying you're selfish, or calling you a name or anything like that. I'm simply pointing-out that maybe you didn't think it through before asking a mod to remove the thread. It's participants aren't the only ones reading and learning around here.

Food for thought.
[Galaxy Note II Q&A, Help & Troubleshooting] daniyal786:
Need urgent help

I did the same thing with my galaxy s3 GT-I9300 i had cyanogenmod 11 installed which changed my baseband version. I did'nt do any backup so how will my sim work????? pllzz help
[Galaxy Note II Q&A, Help & Troubleshooting] yaro666:
http://xdaforums.com/galaxy-s3/help/successful-imei-repair-i9300-backup-t2544109

if you don't know what you are doing read everything many times and watch tutorials on YT. backup is the key feature when you flash anything.
[Galaxy Note II Q&A, Help & Troubleshooting] daniyal786:
yes but i thought the back up was for apps and other things which i didn't need so i skiped it.

The point is that can i fix my phone now....

Do i have to do the same thing in the link above.... <THANKS FOR HELPING>
[Galaxy Note II Q&A, Help & Troubleshooting] Mufrad:
Flash stock modem, should be back to normal.
[Galaxy Note II Q&A, Help & Troubleshooting] daniyal786:
Plz tell me an easy procedure of doing this..

THANKS ALOt :o
[Galaxy Note II Q&A, Help & Troubleshooting] Mufrad:
Which rom are you using? Check that.

Do you have Odin flashable stock rom? If not download that, then you can flash the whole rom with Odin or from there you can extract the modem file and flash with Odin. The process is not actually easy if you have never done it before. Or you can search for the specific rom modem which is flash ready and download and flash that. The easiest method would be to flash stock rom altogether.
[Galaxy Note II Q&A, Help & Troubleshooting] daniyal786:
Currently i'm using the ANDROID 4.1.2 Stock. yes it is odin flashable.I flashed it with Odin that's how i got into this mess.

now you're telling me to flash it again but this time using attach a modem file... if yes plz tell where to get it.
[Galaxy Note II Q&A, Help & Troubleshooting] Mufrad:
I think I didnt make my clear, I meant what ROM did your phone originally come with, which modem or baseband version, do you know that? Was it international rom or country specific? The rom you flashed later didn't have the right modem version that is why you are in this mess, find out which rom your phone came with and then download that rom then you can either flash the whole rom or extract the modem file and flash that.
[Galaxy Note II Q&A, Help & Troubleshooting] daniyal786:
yes i get it but i did match the frimware and then downloaded the software from sammobile. my phone is the international bought from pakistan.

if u still are getting me plz find a international stock rom link and share it. plz plz plz.
[Galaxy Note II Q&A, Help & Troubleshooting] Mufrad:
I don't have a link to 4.1.2 but here is 4.3 for your note2: 2www.sammobile.com/firmwares/3/?download=26436
[Galaxy Note II Q&A, Help & Troubleshooting] daniyal786:
I have the galaxy s3 the other guy has the note 2

And 4.3 is better
[Galaxy Note II Q&A, Help & Troubleshooting] shotgun1976:
I also had the same problem with my wifes s3. I had to unroot, rest binary counter and so on. I then took it to Samsung and all they did was flash the latest stock rom from our carrier and it fixed the imei problem. if only I researched it here first would have saved me a lot of trouble. a thread such as this one would have answered all my questions. plz don't delete this thread. I KNOW IT WILL HELP OTHERS who know what they are doing.
[Galaxy Note II Q&A, Help & Troubleshooting] daniyal786:
comeon send me a link plzz its been days u havent replaied.:(

---------- Post added at 05:17 AM ---------- Previous post was at 05:11 AM ----------

give me the link plz u havent replaied for days now plz help

:(