yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] HIS YB:
Hi thanks for this guide it has really helped me and save me some money too. But my problem is after the unlock,when i make call they say my sound is not clear how can i fix this . Thanks again.
[Galaxy S 4 General] Strephon Alkhalikoi:
Call quality has little if nothing to do with the SIM unlock. Find the latest modem for your device and install it using Odin.
[Galaxy S 4 General] Kal3idos:
Unlocking DONE!

I got a I19505 International bhought from UK. It was Sim-locked in Italy vs H3GSPA.

How to unlock.

I first downloaded bot my original version modem XXUHOD7 and XXUAME2 modem tar gz.

1 - How to unlock the SHA_OFF options (not showing on the new modem version)

I flashed in the XXUAME2 as the OP said in method 2.

Rebooted the phone without the sim card.

Follow the steps to enter service mode.

2 - SHA_OFF permanent

: *#0011# wait for him to go in ServiceMode.

Press - Back on the popup menu (by pressing Menu key opn the phone)

Press - KeyInput on the popup Menu

Try to Enter Q if it doesn't enter Q bnut other characters (mine was a I) cancel the input, open up the popup menu and press Back Again once.

Press - KeyInput on the popup Menu

Try to enter Q and this time it shoud digit a Q (Case letter do count) then press 1 in order to input

Q1

(all other method like pressing 1 then ok or pressing Q and 0000 didn't work for me, try it out)

Press Ok on the input box.

Wait (sometmes it takes 1 minute to the menu to show up).

Your are now in the SERVICE MODE MAIN MENU

Tap [1]UMTS

then [1]DEBUG SCREEN

then [6]PHONE CONTROL

then [6]NETWORK LOCK

3 options should be there (Yay ty modem patch!)

Instead of going on PERSO_SHA OFF do

- tap [1]PERSO SHA256 INFO

it should show Lock at status 1

Use back from popup menu

- tap [2] PERSO_SHA ON

Use back from popup menu

- tap [3] PERSO_SHA OFF

Use back from popup menu

- tap [1]PERSO SHA256 INFO

it should show Lock at status 0

From the popup menu Select END

Reboot the phone and go back on PERSO_SHA INFO to check if status is 0.

If it is do this passages

- Press back Menu until you are again at the UMTS ServiceMenu (the one showing COMMON and COMMON_1 on the list)

Press on Common

NV Rebuild

Do a Backup[4]

Do a Restore[5]

Phone will reboot. Don't insert the sim yet.

Before going to CF-ROOT part check on the SHA Info ServiceManager if it's still 0.

Go for the CF-ROOT and RegionAway.apk installation as the OP described:

Use RegionAway apk (do the "reboot later" oon the RegionAway app, exit the app and power off the phone gracefully)

Boot again the phone.

Wait for the Boot to complete.

Power off again

Insert the SIM that was locked.

Power ON.

Do the Walking Man Dance to express your happiness, cause your SIM isn't lockeed anymore.

FLash back with odin your right modem version.

Regards,

Kal
[Galaxy S 4 General] manothfc:
Can anybody help me please? I'm on Wind Mobile Canada, my phone is rooted using Towelroot a few years ago.

When I do the key input 1, the menu stays the same, it doesn't change. I've read it's happened to others on this thread but not sure if they resolved it or not.

Thanks if anyone can push me in the right direction!
[Galaxy S 4 General] soooks:
giving this a try

Hi there.

I am trying to follow these instructions as i'm stuck with EE as well. I was wondering - I can't seem to find a copy of I9505_XXUAME2_MODEM.tar.md5 to download - and was wondering if you could link one?

Thank you!
[Galaxy S 4 General] Nickxy:
Thank you!

:)
[Galaxy S 4 General] soooks:
Awesome guide - thank you!

The only guide that has worked for unlocking from EE - THANK YOU! :good::good::good:
[Galaxy S 4 General] lucifero13:
Anybody here in the Philippines who has an effective way of unlocking Globe Telecom's? I have tried the OP's way but not succeeded.
[Galaxy S 4 General] audit13:
If the phone is running a 4.1.2 rom or newer, the dialler method won't work.

Did you try using regionlockaway on your rooted phone with a downgraded modem?
[Galaxy S 4 General] intex009:
hi TS,

mine only show persho sha256 info only..

my s4 is globe locked i9505 4.4.2
[Galaxy S 4 General] audit13:
This unlocking method won't work if the phone is running stock 4.4.2.
[Galaxy S 4 General] Duncan45:
Same problem - Cannot get to the Options menu

Alan. Did you ever resolve this? I am in exactly the same situation.
[Galaxy S 4 General] welshy0123:
Forgive me if this was answered previously in the thread, but I that it was best to ask here as googling around hasn't helped much.

I followed the above posted method of unlocking an S4 (I9505) from EE which worked fine. However, I'm now getting an issue where Knox stops me from turning on WiFi. I came across a fix which involves flashing the newest version of Android and modem firmware, but I was wondering if the network unlock will persist if I flash Lollipop or a later version of KitKat on the device.

I'm assuming it won't remain unlocked but if anyone could clarify/has another fix for the WiFi issue that would be great. Apologies if this is a stupid question/answer is more obvious.
[Galaxy S 4 General] audit13:
I have not come across a situation where Knox prevents an s4 from turning on wifi. How ere you able to determine that Knox was the issue?

Upgrading to the latest ROM will not re-lock the phone. Once network unlocked, the phone should always remain unlocked. This has been my experience with an s3, s4, and note 2 that were network unlocked using a free method.
[Galaxy S 4 General] welshy0123:
Thanks for the quick reply!

I knew that it was Knox for a couple of reasons, one being that the notification that appeared in the notification bar came from Knox, and secondly from my searching for fixes - a few people seemed to have had an issue where Knox prevented WiFi for some reason.
[Galaxy S 4 General] audit13:
Is the phone rooted? Rooting via supersu disables knox.

Even after network unlocking and flashing back to stock unrooted ROM, wifi always worked on all of the phones I mentioned in my post.
[Galaxy S 4 General] welshy0123:
It is rooted at the moment - I just disabled Knox via supersu but the issue still persists, just without a notification. I go to turn on WiFi and it turns itself back off. I can't think why but I'm going to give the fix of flashing a recent version of Android a try.
[Galaxy S 4 General] audit13:
Try flashing back to a completely unrooted stock rom. The phones do suffer from failed wifi chips too. I have 2 s4 motherboards that work perfectly except wifi will not turn on.
[Galaxy S 4 General] :
I'm REALLY nervous to upgrade to Lollipop. My AT&T phone came unlocked, rooted on stock 4.4.2. Now I'm on EE (uk) and My rom is Hyperdrive on 4.4.2. What way do you recommend to upgrade to Lollipop and which ROM?
[Galaxy S 4 General] diesalweasel:
Root it
[Galaxy S 4 General] :
my phone is already rooted. I'm saying do I odin or Flashfire. My phone's modem is NC1 if that helps
[Galaxy S 4 General] diesalweasel:
I've always used odin
[Galaxy S 4 General] :
What firmware should I go with?
[Galaxy S 4 General] diesalweasel:
Go on Sam mobile and find your country and just download the btu version
[Galaxy S 4 General] :
For the i337, it only has the US as options
[Galaxy S 4 General] diesalweasel:
If it was on UK before just chuck a lollipop UK btu

---------- Post added at 01:32 PM ---------- Previous post was at 01:31 PM ----------

It will take a while to download unless you pay a couple of quid then you can download at a good speed
[Galaxy S 4 General] :
Sorry if I come across as annoying, but I just want to be super careful. Can you confirm that if I FlashFire to I337 OC3 Stock Rooted ROM from my Hyperdrive 4.4.2 ROM, my phone will remain unlocked?
[Galaxy S 4 General] Strephon Alkhalikoi:
You have to install a custom ROM, ideally from the AT&T S4 forums, though with some effort some of the ROMs here will work on your device. Attempting to install the Android 5.0.1 update from AT&T will encrypt your bootloader and really ruin your day.
[Galaxy S 4 General] MoreSound:
Is there any way to unlock sim on custom Andorid 6.0? (i9505)?
[Galaxy S 4 General] Strephon Alkhalikoi:
Nope. You have to install a stock ROM, and that stock ROM must be Android 4.2.2. No other version will work.
[Galaxy S 4 General] MoreSound:
Can I downgrade do 4.2.2 form MM? I have read some topics on xda and someone said it's not possible due to new bootloader in MM :<
[Galaxy S 4 General] Strephon Alkhalikoi:
No Galaxy S4 I know of received an official upgrade to Android 6.0.1. That said, downgrading to Android 4.2.2 long enough to remove SIM lock is certainly possible, as I've done it myself. The bootloader will complain that the kernel isn't SEAndroid enforcing, and you won't get any signal, making calls impossible. You aren't going to care about either as all you're doing is installing RegionLock Away and running it to blow away the SIM lock. Once you do that, you can go back to the ROM you were using.
[Galaxy S 4 General] christopherrrg:
Hey dude, totally helped me with mine reading this thanks!
[Galaxy S 4 General] audit13:
Are you offering a free unlock service? Let us know. Thanks.
[Galaxy S 4 General] acingrace:
sir some help,my Samsung S4 SGH-M919 ,there is no PERSO SHA256 OFF only this PERSO SHA256 INFO appeared on screen

Thank you.
[Galaxy S 4 General] Strephon Alkhalikoi:
Don't use the service menu method. Either downgrade your ROM and use RegionLock Away, or contact the poster above you via PM for an unlock code.
[Galaxy S 4 General] audit13:
You could try flashing a 4.2.2 modem onto the m919, root, run regionlockaway, reflash current modem, and test to see if the phone is carrier unlocked.
[Galaxy S 4 General] Mourinho02:
hi!

Is this work with galaxy S4 i9506 too ?

anfd the second question: if yes, the unlock work with 7.1.1 resurrection remix?
[Galaxy S 4 General] Strephon Alkhalikoi:
No, as the I9506 never had Android 4.2.2, which you need for any of the SIM unlock hacks to work. Contact [MENTION=7900388]grsjohn[/MENTION] and get an unlock code from him.

You must be on stock, regardless of whether a hack is used or unlock code generated, to unlock the device.
[Galaxy S 4 General] borabrka:
Does it work with Lolipop 5.0.1?
[Galaxy S 4 General] borabrka:
It doesn't work for me. I have had Lollipop 5.0.1, tried with all three methods and didn't work.

Then i downgraded to KitKat 4.4.2 (using this: https://xdaforums.com/galaxy-s4/general/i9505-downgrade-5-0-lollipop-to-4-4-2-t3052472), again tried all three methods and still wont work.

All the time it works with one carrier but wont with others. I have rooted my i9505 but nothing helped.

By the way, in my case it didn't ask for network code for unauthorized sim at ANY TIME, not on 5.0.1 or 4.4.2.

It there any other solution?

---------- Post added at 08:42 AM ---------- Previous post was at 08:40 AM ----------

I have tried that with 5.0.1 and when downgraded to 4.4.2 but still not working. And i have also tried with "DM+MODEM+ADB" but didn't change anything. It says "No Sim - Insert Sim card", that sim card is working fine on other phones.
[Galaxy S 4 General] Kinferevans:
HI man my phone does show me the oprion of sha off i just get the SHQ256_ENABLE_FLAG{1} nothing else
[Galaxy S 4 General] Strephon Alkhalikoi:
Any method of unlocking the S4 requires you to downgrade your modem to an Android 4.2.2 version in order for it to work. However, I don't recommend using the service menu method, but use RegionLock Away instead. You still have to do the modem downgrade, but you only have to run an app instead of a service menu that people really have no business being in.
[Galaxy S 4 General] tepits:
How to downgrade the version to 4.2.2? Thanks
[Galaxy S 4 General] Strephon Alkhalikoi:
Search the thread.
[Galaxy S 4 General] HIS YB:
Download your phone model's moderm 4.2.2 and flash through Odin
[Galaxy S 4 General] kimsoriano28:
Hi, I tried this on my Samsung S4 Docomo SC-04E. Still encountering the message SIM network unlock PIN. Please help :(
[Galaxy S 4 General] zogramislath:
Hello

Is there in ANY WAY possible to unlock my sim-locked GT-I9505 with 5.0.1?

I have googled for DAYS, and its so confusing since people first say that you have to downgrade to 4.2.2 - AND THEN they say you CANT downgrade at all.

Is my only option to buy a unlock code, if the answer is YES, could someone link me a trusty site with cheap prices?

Regards from Sweden
[Galaxy S 4 General] Strephon Alkhalikoi:
Downgrade the modem to 4.2.2 using Odin. Find and install RegionLock Away to your device. Run it, uninstall it, and restore your Android 5.0.1 modem using Odin. The unlock should remain.

Downgrading the bootloader to an earlier version is not possible. The ROM itself however can be downgraded.
[Galaxy S 4 General] manius.cezar:
Modem reupload

Hi guys, can you please reupload the ME2 modem? Thanks! :D
[Galaxy S 4 General] Strephon Alkhalikoi:
Did you check the modem thread in the forum before asking?
[Galaxy S 4 General] manius.cezar:
Yup
[Galaxy S 4 General] Strephon Alkhalikoi:
Ask in that thread as this isn't the correct thread to ask that question in.
[Galaxy S 4 General] audit13:
Root is required to properly run regionlockaway.
[Galaxy S 4 General] jsrodrigues:
Hi guys, quick question. I bought my s4 i9505 line 4 years ago and now I need to unlock it. During this time i rooted it AMD installed a lot of custom ROMs I i dont remember the version that come with the phone. My operator vodafone gave me the unlock code for free because they are obligated to do it for free after 2 years of contract. My question is: can I use that code directly without downgrade in my phone? I am actulay running 7.1.1 on my phone
[Galaxy S 4 General] audit13:
You need to be running a stock samsung dialler in order to enter the network unlock code. I recommend making a nandroid backup with TWRP, flash a stock ROM, unlock, flash TWRP, restore backup.
[Galaxy S 4 General] jsrodrigues:
Thanks for helping ;)
[Galaxy S 4 General] Wellet:
How do I know if my modem is already 4.2.2? I flashed the LOS 7.1.1 rom but didn't flash a new modem. I was wondering if I could just run RegionLock away if my modem is still 4.2.2.
[Galaxy S 4 General] Strephon Alkhalikoi:
If your modem is somehow still on Android 4.2.2 then root and RegionLock Away will work. Otherwise you'll have to downgrade. Information on the modem can be found by installing Phone Info from the Play Store.
[Galaxy S 4 General] laysoft:
This unlock method works only with stock ROM-s, or custom ROM-s too?
[Galaxy S 4 General] Strephon Alkhalikoi:
Asked an answered multiple times now. You MUST be stock for any of the unlock methods to work.
[Galaxy S 4 General] musicman123:
need heelp guys

started from no.1 done this it worked

started no2 it failed the on phone it says firmware upgrade encountered an error

no3 is there a fix or do I have to put stock rom in guys

cheers sicran19 for a quick way.

sorted now
[Galaxy S 4 General] dragonzmei:
[/COLOR]

Need to put the *#0011#

Click options

Then, the Key Input to carry out extensive Q and press OK

Again option click back

Again options

Key Input enter 0000, press OK or 1 press OK ( in my case, and then it works )

Waiting

Throws in sub-menu

There click on select 1 DEBUG SC

8. More 6 PHONE CON

9. More 6 NETWORK LOC
[Galaxy S 4 General] woodman:
[MENTION=8229971]dragonzmei[/MENTION]

About your post just above, please read your PMs.

You have to use English language on XDA.

Thanks

Wood Man

Forum Moderator
[Galaxy S 4 General] husoizzle:
Hi thanks for this thread.

I´ve tried the method, but my main issue is that i don´t have following option under phone control:

"then tap [3]PERSO SHA256 OFF"

i only have SHA256 INFO.

How can I unlock my completely unmodified and stock S4 then?

Thanks.
[Galaxy S 4 General] audit13:
If you have upgraded to 4.3 or newer stock ROM, you must install a 4.2.2 modem on a stock rom, root, run region lock away, flash back to stock rom.
[Galaxy S 4 General] PhilEnglandS4:
I have a Samsung Galaxy S4 GT-I9505, locked on to Vodafone in the UK

Tried to follow every option on here with no luck, even downloaded and installed an older firmware on to the phone.

I did want to try the djembey rom but cant find a link to download

Hope someone can help?
[Galaxy S 4 General] Strephon Alkhalikoi:
How old was the firmware? If the version in question wasn't Android 4.2.2 then none of the unlock methods will work.

Also, you don't need to SIM unlock to use a custom ROM.
[Galaxy S 4 General] audit13:
Did you try flashing a 4.4.2 ROM, 4.2.2 modem, root, run regionlockaway app, flash latest stock rom, and check to see if the phone is sim unlocked?
[Galaxy S 4 General] 63glide:
I recently received a used i9505 that I purchased from an online retailer. They stated the phone was unlocked. My current provider is Verizon so I couldn't just pop in the sim to see if it was unlocked and things worked. I plan to use this phone when traveling overseas.

I followed the guide in the first post of this thread and also several other posts and pages in this thread. Because I could

not

get to the step on the phone where the

three

options appear for PERSO_SHA256, I thought I was sunk and the phone was locked as the only option that shows is PERSO_SHA256 INFO. If I select that, it says SHA256_ENABLE_FLAG [1]. Reading all the posts implied this means the phone is locked.

Being curious, I drove to an AT&T store. They put in a sim card and the phone and data service worked :). I then went to a T-Mobile store and they put in a sim card. To my surprise, phone and data service worked also :D!

Is it safe to say that my phone is indeed unlocked for overseas use or am I missing something???

The phone is unrooted, unmodified Lollipop 5.0.1. Build LRX22C.19505XXUHPK2

Thanks!
[Galaxy S 4 General] Strephon Alkhalikoi:
It's unlocked. If it wasn't, the moment the AT&T SIM was inserted you would have been prompted to enter an unlock code. So either the reseller got an unlock code, or they used RegionLock Away to remove the SIM lock. Since neither option touches the service menu at all, it's possible to be unlocked yet still have the flag in the service menu set to 1.
[Galaxy S 4 General] 63glide:
What a relief. I'm technologically challenged when it comes to this stuff and your assessment makes my day:good::good::good::) Thank you!!!
[Galaxy S 4 General] laysoft:
I'm using Resurrection Remix, but this ROM not included the necessary code for unlock with this method. Where can i download the simplest ROM, which installable with recovery, and can i use to unlock the phone, after flash back Resurrection Remix?
[Galaxy S 4 General] Strephon Alkhalikoi:
I guess searching the thread or at least reading the last 10 pages is too much for you, otherwise you wouldn't be trying to do this on a custom ROM when you must be on a stock ROM.
[Galaxy S 4 General] laysoft:
Thank you for the lesson, but my queston was not like "why doesn't works sim unlock with my rom", because i know it is not works on custom roms. My question was, which is the simplest (stock) rom, which is recovery installable, and where can i download it.
[Galaxy S 4 General] audit13:
The simplest stock ROM is the stock ROM. Download it from sammobile.com and flash it via Odin.
[Galaxy S 4 General] Strephon Alkhalikoi:
Regarding my previous comment, too many people aren't reading here, myself included apparently. That said, make sure the downloaded ROM is Android 4.2.2. No other version will work.
[Galaxy S 4 General] Hilati.Ashref:
Network lock

I've followed all the steps but it when i select network lock it says command not available or s.t like this The device was correctly working but after installing and using the first flight rom v6 for two weeks it ask for sim unlock
[Galaxy S 4 General] audit13:
Sounds like your phone is not running the correct modem when trying to select the command.
[Galaxy S 4 General] Strephon Alkhalikoi:
When I had this problem, I had to replace my SIM tray before I could use RegionLock Away on it. In my case the SIM tray failed, and only by installing a stock 4.2.2 ROM did I discover that.
[Galaxy S 4 General] Hilati.Ashref:
So what should I do

I've flashed too many modems and I've tried other SIM cards but no positive results ?
[Galaxy S 4 General] Strephon Alkhalikoi:
Your first task is to get all parts of the firmware to match, by installing a stock ROM using Odin. If that resolves the SIM issue, then that's great. Otherwise, you need to purchase a replacement SIM card tray from Amazon, open up the S4, remove the old tray and replace it with the new one. Peel the small square of foam off the old tray and place it in the same spot on the new one, then close up the phone.
[Galaxy S 4 General] Hilati.Ashref:
I've tried to install 4.3 stock ROM but I'm not sure if it is a good one but I faced the same issue

I installed it from TWRP because in Odin it ends with fail.

I tried to download another one from sammobile but the download failed. I can't find another place to install the latest lollipop stock ROM (Tunisia)
[Galaxy S 4 General] Strephon Alkhalikoi:
Enter into download mode and read off the model number at the top left corner of the screen.

Installing through TWRP doesn't reset things internally. Odin does, which is why you must use it for this.
[Galaxy S 4 General] Witcher030:
I tried to get in service menu after tap 1 it show me this and desapear

MENU NOT EXIST

PRESS BACK KEY

CURRENT COMMAND IS 1111

How to get in service menu?

i am from Serbia
[Galaxy S 4 General] Strephon Alkhalikoi:
[MENTION=8887489]Witcher030[/MENTION]: Have you downgraded the modem to an Android 4.2.2 version for your device? You have to do that first before any unlock method will work. That said, it's much easier to simply install and run RegionLock Away on the device after downgrading the modem instead of mucking around in the service menu.
[Galaxy S 4 General] @kitokit:
My friend has a galaxy s4 i9500 5.0.1 and has this network lock problem. what would be the best approach for this problem? can i downgrade directly from 5.0.1 to 4.2.2?
[Galaxy S 4 General] christopherrrg:
Yes using an older factory image.
[Galaxy S 4 General] @kitokit:
Any 4.2.2 version will do?
[Galaxy S 4 General] audit13:
You cannot flash a stock 4.2.2 ROM over a 5.01 ROM as attempts to downgrade the bootloader could brick the phone.
[Galaxy S 4 General] Strephon Alkhalikoi:
[MENTION=4673498]audit13[/MENTION]: Downgrading the entire ROM does work, as I unlocked my S4 that way. From what I remember, Odin simply doesn't flash the bootloader in this instance. What I didn't find out until after the fact however was I really only needed to flash an Android 4.2.2 MODEM in order to prime the device for unlocking.

So, in a roundabout way I am agreeing with you here. They can make their lives far easier for themselves by flashing the modem using Odin instead of the entire ROM.
[Galaxy S 4 General] audit13:
[MENTION=2807229]Strephon Alkhalikoi[/MENTION], when I used the term "stock ROM", I was referring to a ROM that included the bootloader file. If the 4.2.2 ROM includes the bootloader, Odin should stop the flash process with an error message if a person is trying to flash a 4.2.2 bootloader over a phone with a 5.01 bootloader. If the older ROM doesn't include the bootloader, the ROM should flash. I know the 4.1.2 ROM for the Note 2 sgh-i317m from sammobile.com does not include a bootloader but I'm not sure about sammobile.com ROMs for other phones.
[Galaxy S 4 General] Strephon Alkhalikoi:
[MENTION=4673498]audit13[/MENTION]: It was a couple years ago when I encountered this, but I found my notes. When I did my SIM unlock the device was still running Android 4.4.2, so I'm a bit off base. The Android 4.2.2 ROM I have stored on my hard drive didn't include a bootloader, unless it was part of one of the other images.

However, as I pointed out, I am agreeing with you, though it may not seem like it. It seems my personal notes need an update, since they mention downgrading the entire ROM, when only the modem needs to be downloaded. Assuming of course I remember everything correctly.
[Galaxy S 4 General] audit13:
We are both in agreement :)

I unlocked several s4 sgh-i337m phones by rooting, flashing the 4.2.2 modem, running regionlockaway, and flashing back to the phone's original modem.
[Galaxy S 4 General] @kitokit:
So does this one work with the i9500 too?