yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] bikrtrash:
AT&T S4 NJ4 Sim Lock

Not sure if this is the right thread for this question but here goes.

Hi all, I hope someone can point me in the right direction of help me find the right solution.

I am trying to unlock my AT&T sim locked phone to use on T-Mobile

I have done alot of reading and can't seem to find a solution for my sim lock.

I have managed to root my phone pretty easily using Odin and Towelroot and have verified using SuperSU and root checker basic.

I have tried Regionlock away And was finally able to access the service menu using Shortcut Master (lite) but the option to disable the sim lock wasn't present in the selection menu.....

Anything else that I can try? My Info is posted below. Any help would be great....

SGH-I377

Version 4.4.4

Baseband I337UCUFNJ4

Kernel 3.4.0-2960651 dpi@SWDD5803 # 1 Fri Oct 17 22:42:06 KST 2014

Build KTU84P.I337UCUFNJ4

Knox 0x0

I hope that is enough info....
[Galaxy S 4 General] Strephon Alkhalikoi:
Flash an Android 4.2.2 modem or ROM to use either unlock method, as mentioned repeatedly in the last few posts, especially mine. While the AT&T bootloader is encrypted, it doesn't prevent Odin from working, as far as I know.
[Galaxy S 4 General] bikrtrash:
Do I use safestrap to flash the 4.2.2 modem?

nevermind I just saw that i need to use odin.

Can you recommend any 4.2.2 rom ?

Kind of want to make sure i don't flash one that will brick my phone.

Thanks
[Galaxy S 4 General] Strephon Alkhalikoi:
Since you have an AT&T S4 and have to use a stock ROM for either unlock method to work, there is only one ROM for you, here. The page doesn't give the version number, but this should be the Android 4.2.2 firmware.
[Galaxy S 4 General] uraks:
Guys i tried this guide but it didn't work.

I have a i9505G google phone whenever i type 1 nothing happens.

what am i doing wrong i know i read on this post about flashing me2 modem but can i flash that modem on i9505G?

I'm on 4.3 btw stock not rooted or anything.
[Galaxy S 4 General] Strephon Alkhalikoi:
The Google Play Edition is already unlocked, thus you shouldn't need to unlock it. In addition, this only works on stock Touchwiz.
[Galaxy S 4 General] uraks:
It's not unlocked because i added a metro pcs sim and it didn't work. I also forgot to mention its a tracfone gs4 google edition.
[Galaxy S 4 General] Strephon Alkhalikoi:
Just to clear things up, you do understand that a Google Play Edition phone would only come from Google, not Tracfone? GPE phones have no carrier branding, and because they were only available through Google, they weren't locked to a carrier either.

Whatever you do have, it's not a GPE phone, even if it has a GPE ROM on it. Worse, if it's a Tracfone, the unlock method, if it does work, will only work until the next boot. See the relevant threads in this forum.
[Galaxy S 4 General] hippopig:
hi guys,does this need to be on any particular firmware?I'm on o2 in th euk and am trying to unlock it.

Downgraded the modem to me2 so can actually get the menu to work.Followed all the steps but it reboots ok but its not unlocked,the only way ive been able to get service is using regionlock away.....but the connection is dire and keeps dropping out....please help me some one
[Galaxy S 4 General] Strephon Alkhalikoi:
The various versions of your firmware are available here. Install the complete 4.2.2 firmware first, then try unlocking, then upgrade to 4.4.2.

The modem you tried using was the wrong one.
[Galaxy S 4 General] hippopig:
Thanks for the reply, will try it as soon as I get home
[Galaxy S 4 General] bikrtrash:
Thanks...

I downloaded the file that you suggested and did a complete factory reset of my phone.

Went through the steps to root the phone again and tried to flash the file using both Odin 3.07 and Odin 3.09.

Both of which fail immediately.

My questions are:

Can i downgrade from 4.4.4 straight to a 4.2.2 rom? (or do i need to do a gradual downgrade? If so, what files need to be run?)

Does it matter if there is a sim card present in the phone?

I'm sure I'm probably missing a step somewhere...

Help?... Advice?

Thanks
[Galaxy S 4 General] hippopig:
had the exact same problem but mine just failed and now is stuck in firmware upgrade failed

just reflashed via odin 3.09 I9505_XXUAME2_MODEM.tar and its at least alive again
[Galaxy S 4 General] Strephon Alkhalikoi:
A little more detail. What do you mean by "it fails immediately"? Post the output from Odin.
[Galaxy S 4 General] bikrtrash:
Using Odin 3.07

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> I337UCUAMDL_I337ATTAMDL_I337UCUAMDL_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/005> Added!!

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

<ID:0/005> File analysis..

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

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

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

<ID:0/005> aboot.mbn

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

<ID:0/005> FAIL! (Auth)

<OSM> All threads completed. (succeed 0 / failed 1)

Does "Upgrade Bootloader" need to be checked?
[Galaxy S 4 General] hippopig:
also im trying to come back from 4.4.2
[Galaxy S 4 General] Strephon Alkhalikoi:
[MENTION=5832449]bikrtrash[/MENTION]: you may be prevented from downgrading due to the encrypted bootloader. Try again, following the list given below, but keep in mind that the downgrade may not work for every device, so you may have no option but to ask AT&T for an unlock code, or buy one.

[MENTION=3842091]hippopig[/MENTION]: try again, but make sure of the following:

1. An original quality USB lead needs to be used.

2. Connect directly to the PC USB port not through a USB hub.

3. Try another USB port.

4. Make sure Kies is not running.

5. Make sure any antivirus is not blocking Odin.

6. Try Odin 3.07
[Galaxy S 4 General] Strephon Alkhalikoi:
Your phone is an AT&T S4. 100% guaranteed it has the encrypted (locked) bootloader. For purchasing an unlock code, sammobile has an unlock service.
[Galaxy S 4 General] hippopig:
still the same result for me,tried different lead etc odin 3.07

just for the record,im in the uk its a i9505 locked to o2 and on 4.4.2
[Galaxy S 4 General] bikrtrash:
Thanks, I'll look into it.

I was really hoping to unlock it myself. Rooting it was very easy. Much easier than the old S3 I have (ver 4.3) It just won't root no matter what i have tried...

I appreciate the help.

I've been working on cell phones for 30 years now and have never had this much difficulty unlocking a phone.

Android is a much different animal than I expected I suppose. But I haven't but I haven't bricked either phone and I'm not going to give up "tinkering" with this stuff....
[Galaxy S 4 General] pmidcalf:
No service mode trying to unlock carrier on i9505 LTE

Hi, ok i tried accessing service mode but i cannot get to the options,presumably because of the baseband/modem version i am running (XXUGNG8). Can i flash to an older baseband/modem version using Odin. Phone is currently locked to Tesco Mobile but i wish to use my Three sim card. Tesco will unlock but they want £20. So before i hand over the cash i just want to double check to see if there is a way i can do it myself. Should i root it first?
[Galaxy S 4 General] edzamber:
You need to root and use AME2 Modem.

http://www.mediafire.com/?42q71igiv0u98qh

After you can use Samsung codes or Region Lockaway.
[Galaxy S 4 General] Strephon Alkhalikoi:
Odd. I know downgrading works, as the S4 I have was at one point in its life locked to O2. I don't know what to tell you here, except you may be at the same point as bikrtrash in that you'll either have to ask O2 for an unlock code, or buy one. I would think O2 would be more cooperative than AT&T in giving you the code.
[Galaxy S 4 General] gogYCH:
My 9505 is locked on TELE 2 Croatia.I tryed method 1 and method 2,not work.

I m on 4.4.2 and use region lock away by chainfare,and is unlocked sim but i lose signal after turning the display off.

Modem is DXUAME2, i try modem XXUAME2,also lose signal after turning display off.

Any solution?

Thanks for help
[Galaxy S 4 General] Strephon Alkhalikoi:
[MENTION=2756288]gogYCH[/MENTION]: Where your phone is still carrier locked, it may be better to use a modem specific to your carrier. The modems you describe are not your S4, which is probably why you're having issues. Honestly, I believe you may have better success if you simply downgrade the entire ROM instead of just downgrading the modem. The ROMs for your S4 are here. Download one of the 4.2.2 ROMs and install it. From there, then try to unlock the phone. After the unlock, upgrade to 4.4.2.
[Galaxy S 4 General] gogYCH:
Yes!

I flashed only I9505XXUFNDG_MODEM and work ok! Its unlocked and no lose signal anymore.

I am still on 4.4.2.Thank you!
[Galaxy S 4 General] alpertheidiot:
Tried different modems but still locked :(

Hi All,

I have been pulling my hair with this for a while. I tried everything I can think of, still cannot unlock my phone (keeps asking unlock code).

Initially my phone didn't have the main menu in service mode. Then I tried flashing below modems:

DXUAME2, followed the procedures (menu was available this time), phone restarted but still locked.

Then I realised that this modem is not actually right modem for O2, so this time flashed XXUAMDD, followed the procedure (menu was available but again didn't work).

Then tried XXUBMF8 (again menu was available but didn't work)

Then tried XXUEMK8 - flashing failed (tried 3 times)

And finally reverted back to original modem XXUFNB9 (and now service menu is no longer available on this modem)

Am I missing something?

Galaxy S4 I9505, on O2 UK, 4.4.2

I9505XXUFNB9

I9505O2UFNA2

I9505XXUFNB9
[Galaxy S 4 General] lexospice18:
Thanks

this is awesome to know. thank you.. i have my S4 but sometimes its hard to know everything about it ya no..
[Galaxy S 4 General] Strephon Alkhalikoi:
Don't bother with the service menu in your case as you are having issues. Use the BMF8 modem and run RegionLock Away instead. If just the modem does not work, you may need to downgrade the ROM in its entirety.
[Galaxy S 4 General] memec:
tried this on my I9505 locked to tele2 croatia, goes to step when it needs to go on UNTS ........well it doesn't

so please HELP

:eek:
[Galaxy S 4 General] monteiro-ribas:
http://pt.tapatalk.com/redirect.php...s.com/galaxy-s4/help/i9505-doesnt-3g-t2998527
[Galaxy S 4 General] Strephon Alkhalikoi:
That link redirect doesn't work, and you really shouldn't be redirecting XDA links in any case. The correct link is http://xdaforums.com/galaxy-s4/help/i9505-doesnt-3g .
[Galaxy S 4 General] monteiro-ribas:
hey man, ask tapatalk for a solution LOL
[Galaxy S 4 General] artnada:
That chances are that the original factory unlocked NV version is stored as a back-up, hence the "Golden Back Up Exist". It is the Carriers who actually created that Golden back up, to lock the NV to their network.

All you are doing is using the original factory NV back-up to replace the carrier version of your NV.

As long as follow the instructions, there should be no problem.
[Galaxy S 4 General] mathieulh:
The carriers themselves do not lock the device (as in, generate the NV data), they ask the vendor (Samsung) for it to be locked while providing the proper specifications (such as MCC and MCN), the vendor then supplies the client (the carrier) with a way of generating NCKs from a known variable (usually the device's IMEI).

And yes, messing with the NV data IS DANGEROUS, not all NV data are the same, in fact they contain values specific to your phone, such as radio calibration data and so on that were performed at Samsung production plants.

You are not just restoring a backup, assuming the backup is always valid (which may not be the case) you are also doing other things such as disabling the NCK's SHA256 and so on. Because NV data is not the same from one phone to another, in fact it may be very different from one batch to another, this method does not work on some devices and in fact breaks the baseband functions and/or corrupts the network lock (and all sims stay locked)

While unlocking the baseband so it accepts any sim seems appealing this remains a risky method that should only be used as a last resort, especially while knowing so little of how the NV data is built in the first place.

Hell, I don't even think these tutorials mention anything about backing up the NV data before messing with it...

I think it's not fair to buy a phone, mess it up, returning it to the seller while lying about it being broken in the first place.

If you mess up a device because you used some risky method, it should be your responsibility alone and should not involve any other party than yourself. Doing this makes vendor even more likely to restrict future devices by placing extra locks on those.

I predict that either the Galaxy S5 or Galaxy S6 will used a signed NV data so people stop messing with it entirely (yes, they can easily add a signature to every generated NV at factory) at this point, it is trivial to Samsung Engineers (if they ever care to do so) to figure out whether or not a device's NV data has been tempered with.
[Galaxy S 4 General] chavxxx:
So what are suggesting?

Devices:

Samsung Galaxy S4 i9505

Samsung Galaxy Note II N7100

Motorola Droid RaZr XT910

iPhone 4
[Galaxy S 4 General] Rayway+:
The method did not work on my Galaxy S4 from Three UK with Baseband version I9505XXUAMDC

Has anyone unlocked successfully with same Baseband version?
[Galaxy S 4 General] DevilS4:
Yeah!!! I have an unlocked Three Mobile S4... Using this guide...

edit** On that same band!!!
[Galaxy S 4 General] Rayway+:
I did all step-by-step (I think) with a Three SIM. When rebooted, I turned it off and swapped Three SIM for Lycamobile SIM and got the Invalid Sim warning and prompt to enter the network code. I have the original factory firmware on my Galaxy S4 with 3 boot logo.

By pressing the [3]PERSO SHA256 OFF no confirmation or any change to that three option menu happens (only a very brief blank page with my choice [3]) and completed this by Restore Back Up by the guide given. So to the letter of this guide I tried a few times without any success for being able to swap and use also my Lycamobile SIM.

Any help, advise?

Thanks in advance!
[Galaxy S 4 General] DevilS4:
Well... All I can say is try it again with the Three Sim in again... I have the 3 boot up logo as well... (Annoying I want the Normal Samsung one)

I followed the guide to the letter T!

Plus I messed up (on my mates S4) and hit end by accident after hitting Perso Sha256 off instead of back and had to start again and it done a different screen when followed again but it still unlocked the Sim!

Did the phone show the Blue LED & Restart at the end of it when on the last press?
[Galaxy S 4 General] michael owns:
Yea i bricked mine nv data messed up no sim will work in it now lucky thay are going to replace it just be very carefull
[Galaxy S 4 General] nintendolinky:
I think I have messed mine up. I am on O2UK and tried doing this guide, it wouldn't work.

I now have the official unlock code from O2UK and the code wont work, its an 8 digit code tied to my imei and all i get is unlock was unsuccessful, however my O2 sim card still works. :(
[Galaxy S 4 General] Rayway+:
Yes. After hitting Restore Back-Up, the Blue LED along with both soft keys and a white blank screen lights up. After under a minute it goes rebooting. All is still fine with my 3 SIM, but my Lycamobile SIM gets a prompt for the network PIN.

I think, I am going to put on a plate my hard earned £15.32 to get a code from Three, before I mess things up with the NV data. :cool:
[Galaxy S 4 General] chubby65:
Are you on the original stock rom mate?
[Galaxy S 4 General] nintendolinky:
Yeah mate i reflashed both stock uk and stock o2uk roms and the unlock code directly from o2 wont work, im just glad my o2 sim still works.
[Galaxy S 4 General] DevilS4:
Hmmm Just be warry as I read in this thread somewhere that someone tried the code and it didnt work after doing this...

You tried another Sim Card apart from this Lycamobile Sim?
[Galaxy S 4 General] chubby65:
Only asking as i had problems with lock code from network

Had to flash original to get code to work before restoring nandroid

Was a different phone tho but you never know
[Galaxy S 4 General] Caledonian1970:
Thanks, had me worried for a bit there.
[Galaxy S 4 General] michael owns:
Hi all after bricking my phone i was wondering if there was anyway you can back up before you do this ?
[Galaxy S 4 General] Rayway+:
Lycamobile SIM should as good as any other to try the situation with being locked to one network or not. It did come handy when I was preparing to sell my Galaxy S3 on Three bought from Affordable Mobiles. Turned out the phone was not locked to Three and accepted both, so I was able to claim it was SIM unlocked.

Well, fingers crossed for me with the code I am going to get from the network. I guess that I did not change anything since the protection by Samsung on behalf of Three withstood the unlock attempts :fingers-crossed:
[Galaxy S 4 General] -Sie-:
I am running the same ROM and also on Three UK, before I tried NV Rebuild I backed up the NV.

I will try the steps again and see how things go..
[Galaxy S 4 General] Rayway+:
Hope to see Your results here. My phone was and is on the original factory ROM I9505XXUAMDC NOT re-flashed.
[Galaxy S 4 General] s4lah:
Hi mate, am on uk EE network as well, and this method isn't working for me either, tired it many times with both the suggestions

Pls advice
[Galaxy S 4 General] Strephon Alkhalikoi:
Why? I don't use tapatalk. ;)
[Galaxy S 4 General] kazimserhan:
I tried all the *#sth... metods for my i9505 and all had failed. Than hopelessly gave http://xdaforums.com/showthread.php?t=2470551 a try. Voila!!! Thank you chainfire!!!
[Galaxy S 4 General] mrgreaper:
*#0011# doesnt do anything for me, if i hit call i get "coonection problen or invalid MMI code"

if i do *#06# i instantly get my imei number so im sure im doing it in the right place....or am i?

I have a month left on my contract and despite the fact my screen is cracked to hell (cant afford £99 to get it fixed lol) i want to keep using the same phone, cheaper that way, but want to change to a different network so that i can half the cost of my monthly bill, would be cool to suss this out

samsung s4 GT-I9505

cyanogen mod version 12-20150203-NIGHTYLY-jfltexx

andriod 5.0.2

baseband I9505XXUGNG2

locked to three uk

rooted
[Galaxy S 4 General] Strephon Alkhalikoi:
This only works on a stock ROM, and only if the baseband that is installed is from Android 4.2.2. Read completely through the thread however.
[Galaxy S 4 General] mrgreaper:
ah bugger, how do you do it with what i have? or is it a case of you cant?
[Galaxy S 4 General] Strephon Alkhalikoi:
Download the 4.2.2 ROM from www.sammobile.com/firmwares or www.samsung-updates.com that matches your phone and install it through Odin. But, whatever you do, before you begin, you MUST take a nandroid backup. You also need to install Wanam's EFS Backup and take a backup of your modem and the hidden partitions on the S4. The IMEI is stored in the hidden partitions.
[Galaxy S 4 General] teerout:
unlocking allows the device to work on any supported carrier, right? I am looking at picking up a US Cellular branded S4, Im going to unlock it. I can then run it with my verizon account? yes?
[Galaxy S 4 General] Strephon Alkhalikoi:
Yes. With the phone unlocked you'd be able to use Verizon with it.
[Galaxy S 4 General] efishta:
Is there a risk of updating modem on my AT&T S4 that I spent a bunch of hours on downgrading, unlocking, upgrading, and restoring yesterday. I know the OP says it's permanent, but it makes no mention of modem upgrades being part of the firmware upgrade/unlock test.

I flashed the MDL AT&T modem and stock MDL firmware and was successful with RegionLockAway. Now it's on T-Mobile with the latest 5.01 ROM and it FLIES, but I haven't touched the modem.

As a follow up question - can a T-Mob modem be flashed on another carrier's S4? (I'm on original Loki'ed bootloader still, although I don't think that makes a difference for modems...)
[Galaxy S 4 General] thatotherguy..:
No do not flash T-Mobile files on AT&T phone unless you want a bricked phone
[Galaxy S 4 General] astracd:
I have s4 i337m with rogers this is how i got to point to change settings

*#0011#

back 3 times

key input 1

key input Q

key input 0000

wait for 30 seconds

press umts

common

nv rebuild

restore back-up and my cell restart unlocked

Now it works with rogers, but when I put wind sim card. it is always in roaming mode I need to test some other sim...
[Galaxy S 4 General] clip4life:
Bell NO LUCK

This is just killing me i have sgh-i337m locked to bell and every method ive tried does not workfor mei am rooted ive tried regionlockaway no success and ive tried the 0011 method and it dont give me access to anything after thekey input 1

can somone direct me to the correct files i need to download or what my prblem is please and thank you
[Galaxy S 4 General] Strephon Alkhalikoi:
Did you downgrade your modem (at minimum) to an Android 4.2.2 version before running RegionLock Away?
[Galaxy S 4 General] FullShane:
model....hmm

This wouldn't happen to work on a Verizon i545 S4, would it?

A little while ago I purchased a presumably unlocked Verizon S4, but now that I tried running it with a Cricket wireless sim card, I've come to the conclusion that perhaps it wasn't and that sim unlocking and rooting the phone are probably the way to go.

Any suggestions for a lost novice like myself?
[Galaxy S 4 General] Strephon Alkhalikoi:
The service menu method may not work as Verizon I believe removed access to the menu. RegionLock Away should work, but you have to root first so you can downgrade the modem to the correct version in order to run it.
[Galaxy S 4 General] gothicschaos:
After failing Method 1 at the beginning of this thread, I read all posts up to this one... IT WORKS!!!

I was locked to O2 UK with 4.2.2 and have installed Modem ME2 first as suggested.

I think the logic is: If you have PERSO SHA256[0] run RegionLock Away

If you have PERSO SHA256[1] first run Method 1 then run RegionLock Away ;)
[Galaxy S 4 General] dany547:
this is working on Android Kitkat and Lollipop? Anyone tried?
[Galaxy S 4 General] FullShane:
I'm going to give cricket wireless a one last shot to see if they can resolve this themselves, and if that doesn't work out, I'll dig around for a way to root it, then follow through with your advice. I'll be sure to keep you updated. Thanks! :)

(since you mentioned it, could you link me to a safe root for my device? I've seen one here, I think I'll try it out. Any other suggestions?)
[Galaxy S 4 General] reddragon105:
I can't get this to work. I've got a UK Samsung Galaxy S4 i9505 that's locked to EE/Orange/T-Mobile but I am on 3. I only have my 3 SIM card - I do not have access to a SIM card from any of the other networks.

I updated to stock Lollipop using the guide here - http://xdaforums.com/showthread.php?t=2265477

Then tried using this guide to unlock the phone but couldn't access the service menu at first, then realised I had the wrong modem so I flashed I9505XXUAME2_MODEM and was able to access it.

I followed all the steps and everything seemed like it worked fine but upon inserting my 3 SIM card I still get the 'SIM network unlock PIN' prompt upon booting up.

Any help?
[Galaxy S 4 General] Strephon Alkhalikoi:
http://xdaforums.com/galaxy-s4-verizon

You cannot use the root methods here as your device has a locked bootloader.
[Galaxy S 4 General] sun_man:
i am having the same problem with the unlock on my EE phone, none of the options work so far for the sim unlock.
[Galaxy S 4 General] reddragon105:
Good to know it's not just me. Will post if I make any progress.
[Galaxy S 4 General] sun_man:
read in a few places to try regionlock - so will test it out later today....
[Galaxy S 4 General] reddragon105:
I've unlocked mine using a service from FastGSM. It cost $14.99 but it was an instant unlock via USB with a generated unlock code. The site isn't all that clear on how it works but it has done the job.