yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] nodyarg:
No, so far changing usb ports and changing cables hasnt helped.

I just flashed back to MK6 and im read to try again.

Im hoping its just the modem i downloaded was no good, but the various 4.2.2 carrier firmwares i got from sammobile are almost done downloading so ill try ripping the modems from those and flashing them one by one to see what happens.
[AT&T Samsung Galaxy S 4 General] Harry TestTickles:
https://www.dropbox.com/s/2m3id2cx4l7vcze/modem_CWM_I337MVLUAMDJ.zip

This one worked for me when I flashed it playing around, wonder why your phone is being so fussy?
[AT&T Samsung Galaxy S 4 General] nodyarg:
Thanks I also found the bell black edition 4.2.2 MDJ was able to get me into the service menu. But, I am a little confused about the instructions. Mainly step 7. It says reenable SHA256, but it doesnt say how. I can go back to it in the menu, then select [2]Perso SHA 256 ON, then am i done? Or do I have to restore the "Golden Backup" again to apply the changes?

Also step 3 was a little confusing, I dont konw why it says use *#9090# to access the hidden menu, because the guide step 3 links to says to use *#0011#. I pressed *#9090# but it just took me to some weird DIAG CONFIG menu which I didnt know what to do with.

Oh, also step 1 mentions downgrading the firmware to MDJ, which as kriEv mentioned cannot be done, only the modem, right?

Anyways, I am assuming its safe to ignore those last 2 parts i mentioned, its just step 7 i really need help with. How do i restore PERSO SHA256??
[AT&T Samsung Galaxy S 4 General] veryluckyguy:
Step 7 is not critical, it just restores the original settings and doesn't affect the sim lock.

*#9090# and *#0011# are essentially the same thing. One works for some phones and not others. I got mine to work with *#9090#.
[AT&T Samsung Galaxy S 4 General] nodyarg:
Well i installed regionlock away and flashed the mk6 modem back. Was getting no network so I did the AWS mod a second time, and still nothing. Then as I was reading more on XDA i heard a text message. My Wind sim card started working. Looks like I am unlocked!

Thankyou!

Now Can I safely upgrade to stock 4.4.2 without losing the regionlock away, and the AWS mod?
[AT&T Samsung Galaxy S 4 General] veryluckyguy:
If you downgraded the firmware ie tripped the knox counter, you can use TriangleAway and let the phone update ota. The unlock and aws mod should still work after the update. If you flashed only the modem.bin file, you just need to flash your original modem file.
[AT&T Samsung Galaxy S 4 General] kriEv:
Yeah tbh, once you are on MDJ modem you can just run RegionLock Away, it does the nasty work flawlessly.

I had a chance and tested it with a Bell sim and it works, so im unlocked (and tested) as well

---------- Post added at 09:52 AM ---------- Previous post was at 09:45 AM ----------

Sorry i never responded to this.

My knox counter was already tripped.. TBH i don't care, i work for Rogers lol, it's my work phone.

But as mentionned above, i had a chance to test with Bell sim, so it's all good.
[AT&T Samsung Galaxy S 4 General] thafath:
Thank you.

Just want to say thank you. Worked great on my i337m (bell) was on 4.4.2 (ne1), after I tried all hidden codes I can find. I finally, flashed only the modem MDJ, using

(I'm on linux, but should work on windows too), then upgraded to cm11 with ne1, everything is working as expected. Thank you.
[AT&T Samsung Galaxy S 4 General] wanige@gmail.com:
Unlocked rogers and fido s4 s no problem

Alright guys after searching everywhere i found a way to unlock Fido/Rogers S4, (bell, telus as well)

First of all download 4.2.2 and flash it with odin 3.07

(i found a rogers stock I337MVLUAMDJ_I337MOYAAMDJ_I337MVLUAMDJ_HOME.tar online)

(Your wifi and sound won't work after downgrade)

Get motochopper and root the phone (run.bat will root your phone)

download RegionLockAway-v1.3.apk and save it in your phone.

install the the RegionLockAway-v1.3.

Runthe regionunlock,

restart and your phone will be unlocked.

Update to 4.3 to get everything work right. then update to 4.4:good:
[AT&T Samsung Galaxy S 4 General] adaseb:
I am confused, I didnt think you could downgrade the entire firmware from 4.4.2 to 4.2.2
[AT&T Samsung Galaxy S 4 General] adaseb:
Yes I tried the MDJ modem that was given in this thread (modem.bin flash in odin 3.07) and I keep getting the Secure Check Fail.

Tried every USB port on a desktop and notebook computer.

I currently have the Bell NE1 modem.

Any help?
[AT&T Samsung Galaxy S 4 General] stanguay:
You can try that, it's work for me.

First try Odin 3,09

After the the fail (Secure check Fail), turn your phone off (press power button 10 sec) and reboot immediately in download mode and reflash the the modem.

It's taken me about 5-6 time before i got it to work.
[AT&T Samsung Galaxy S 4 General] adaseb:
I tried 3-4 times but each time it fails.

Here is the log with odin 3.09

---------- Post added at 01:18 AM ---------- Previous post was at 01:12 AM ----------

Exact same problem with odin 3.07
[AT&T Samsung Galaxy S 4 General] adaseb:
I also tried

Heimdall and same error. Secure Check Failed MDM
[AT&T Samsung Galaxy S 4 General] adaseb:
IT FINALLY WORKED!!!!!!

After wasting probably an entire day. I finally got the baseband to downgrade.

The problem was that modem that someone posted here on Dropbox. I decided to extract the modem from Samsmobile from the stock 4.2.2 bell firmware and noticed it was different in size by 2Mb. I tried the extracted one and it worked right away. Needed to just flash it once.
[AT&T Samsung Galaxy S 4 General] Minix.BC:
I've been trying to unlock my I257M (locked to Bell) for some time now, tried service menu with no luck, even tried to downgrade the modem (extracting NON-HLOS.bin from the firmwares) NG1 to MK5 using odin so i can unlock the phone using the service menu, but after the modem downgrade the baseband shows 'unknown', no wifi, no sound, no signal. I restore the modem back to NG1 so at least i can get the sound,wifi back.

Any help would be appreciated

SGH-i257m 4.4.2

Baseband: I257MVLUBNG1

Kernel ver: 3.4.0-2254622

Built number: KOT49H.I257MVLUBNG1
[AT&T Samsung Galaxy S 4 General] Zehlek:
Did anyone who downgraded to unlock lose WiFi and sound on 4.2.2? I have a Bell GS4. Will flashing 4.4.2 firmware restore my Wi-Fi and sound?

Edit: flashing 4.4.2 firmware fixed everything. Was panicing
[AT&T Samsung Galaxy S 4 General] s3nr1:
Hi, if you go to Odin mode, is your knox warranty void "0x1" ?
[AT&T Samsung Galaxy S 4 General] Zehlek:
Not it still says official as long as you flash official

---------- Post added at 04:07 PM ---------- Previous post was at 04:07 PM ----------

For root use towelroot
[AT&T Samsung Galaxy S 4 General] pano1966:
losing WIFI on downloading to 4.2.2

I am on Rogers sgh1337M

Everytime I downgrade to MDJ I Lose WIFI. I try downloading MDJ modem alone same wifi problem, I try downloading entire MDJ firmware same WIFI problwm

What am I doing will be wrong? Any help will be greatly appreciated:
[AT&T Samsung Galaxy S 4 General] Zehlek:
After you downgrade, unlock with region lockaway and then flash the latest 4.4.2 with Odin and wifi and sound will return. At least that worked for me
[AT&T Samsung Galaxy S 4 General] bicecream:
I bought my phone from a previous owner who used it on bell it was unlocked until I recently updated a new sim. Now the sim is not detectable on the phone. Is it because it locked it's server back up? I tried a Virgin mobile sim it works. But the Rogers sim doesn't work when it use to work. I downgraded the modem to MDJ but it doesnt give me access to the hidden menu where I can unlock the Perso Sha 256 thing. Then I downgraded it to MG1 and it still doesn't work. Then I tried Regionlock Away and it doesnt budge. So now I'm stuck and out of options. Why does my phone say "Please insert sim" ? Before I did anything my phone is at 4.4.2 NC1 Modem. but now it's at MG1.

Thanks for reading!
[AT&T Samsung Galaxy S 4 General] Minix.BC:
I have i257m locked to Bell, current version is 4.4.2 (NG1),, downloaded 4.2.2 (MK5) from sammobile, extracted non-hilos.bin and flashed it with odin without any problem or error, but beside no wifi, audio , under baseband it shows "unknown"

Is there any way to downgrade this phone to 4.2.2 so i can unlock it?

Thanks in advance
[AT&T Samsung Galaxy S 4 General] Buccanero:
Pretty sure you were supposed to flash the modem.bin, not the non-hilos.bin file. That's why your baseband version messed up.
[AT&T Samsung Galaxy S 4 General] Minix.BC:
Thanks for the replay Buccanero, but I didn't see modem.bin inside the tar.md5 file, and from what I've been reading in here so far non-hilos.bin is modem.bin, i guess after 4.2.2 they changed the file name just to make life a bit harder on us,,,, do you know how/where i can find modem.bin for 4.2.2 MK5?
[AT&T Samsung Galaxy S 4 General] Buccanero:
Really? That's strange...

I downloaded the firmware for my phone and carrier from sammobile.com, then extracted the zip to get the .tar.md5 and .dll files, then extracted the tar.md5 file to get this archive/directory structure:

I337MVLUAMDJ_I337MOYAAMDJ_KDO.zip:
|-> SS_DL.dll
|-> I337MVLUAMDJ_I337MOYAAMDJ_I337MVLUAMDJ_HOME.tar.md5:
|-> boot.img
|-> cache.img.ext4
|-> hidden.img.ext4
|-> modem.bin
|-> NON-HLOS.bin
|-> persdata.img.ext4
|-> recovery.img
|-> system.img.ext4

If that doesn't work for you, there are threads on XDA that have various modem versions as attachments or links to the files themselves.
[AT&T Samsung Galaxy S 4 General] Minix.BC:
Well, thats what i get from i257mvluamk5_i257moyaamk5_bmc (downloaded from sammobile):

SS_DL.dll

I257MVLUAMK5_I257MOYAAMK5_I257MVLUAMK5_HOME.tar.md5

And under the tar.md5 :

aboot.mbn

boot.img

cache.img.ext4

hidden.img.ext4

NON-HLOS

recovery

rpm.mbn

sbl2.mbn

sbl3.mbn

system.img.ext4

tz.mbn

Similar to other files i download from sammobile (virgin, rogers, and i9195ububne2)
[AT&T Samsung Galaxy S 4 General] Dark4eons:
Do you have a galaxy s4 mini? If so, pretty sure you're in the wrong thread, try over there http://xdaforums.com/galaxy-s4-mini/general
[AT&T Samsung Galaxy S 4 General] superdave643:
I have a dumb question - do I only flash modem.bin in Odin under "Phone"/"CP"? Doesn't it need to reside within a tar file with a directory structure? Otherwise how does it know exactly where to flash to? I kinda know, but would be someone be so kind as to post an Odin screenshot for flashing modem.bin just to be absolutely sure?

I have I337MVLUFNI2 out of the box, running [MENTION=4830253]Danvdh[/MENTION]'s 5.0.1 GPE ROM. Plan: flash modem.bin only rather than the whole baseband/bootloader from MDJ, unlock/AWS, flash latest modem.bin from a newer baseband (e.g. NK1) to see if it fixes poor reception. Anyone done exactly this? Is this the right approach?
[AT&T Samsung Galaxy S 4 General] Buccanero:
When I flashed the older baseband on the same phone as yours, I just selected the modem.bin file for the CP slot. It worked and my baseband changed to the old one. So Odin figures it out somehow. But I switched back to my original baseband instead of going to a newer one after.
[AT&T Samsung Galaxy S 4 General] superdave643:
Thanks! I might try it out today.
[AT&T Samsung Galaxy S 4 General] 1up_:
I have the same phone of you

I didnt understand how you flash it? With odin or another method?

I tryied flashing the modem of the guide (MDJ) but doesnt work. Odin says that IT FAILED.

My lol question is how you did it and what modem exactly you flashed?.
[AT&T Samsung Galaxy S 4 General] Lucifer King:
Wish I didn't pass mine for an upgrade on software. I got it with 4.4.2
[AT&T Samsung Galaxy S 4 General] romy_deep:
I am trying to downgrade my modem to CWM_I337VLUAMDJ to sim unlock my phone. i have downloaded atleast 4 modem files from different locations but ODIN fails all the time.

my phone is rooted.

Any help from you is higly appreciated
[AT&T Samsung Galaxy S 4 General] Buccanero:
Yes, with Odin, modem.bin in the CP slot as in the instructions in the link in the first post of this thread. What's the log from Odin when you do this?
[AT&T Samsung Galaxy S 4 General] eunda:
Is it still works right now?

I have i337m rogers which is canadian bell. I am wondering this way is still working right now..
[AT&T Samsung Galaxy S 4 General] gc_geforce:
WOW, thanks I just followed your instructions and now my rogers S4 (4.4.2) is unlocked and working with a Koodo sim!
[AT&T Samsung Galaxy S 4 General] s0ulreaver:
You speak about the 1st post in this thread?

As pretty much each person's experience can be different, can you share with us your experience, details about your phone that would help us understand better how you did it?

Just details like ROM version/bootloader version/modem version you had on your phone when you unlocked it.

Thanks in advance!
[AT&T Samsung Galaxy S 4 General] Bleedos:
Yeah please. Give us some details! Were you on KitKat prior doing this and used the second method or did you use the first method and then went to KitKat afterward?

Thanks.
[AT&T Samsung Galaxy S 4 General] aaron kid69:
you dont need to unlock a phone t switch between virgin and bell, try a rogers sim
[AT&T Samsung Galaxy S 4 General] clip4life:
plz help

i have read and read ive tried everything i cant seem to find all the proper files i have rooted my bell i337m and have 4.4.2 installed its running i337mvlufni2 baseband ...kernel 3.4.0-adam-2.5...build kot49h.i9505xxugnk4 it on golden eye 49.2xxugnk4 rom i tried downloading the downgrade modem and fail when i try to flash it via odin can someone plz send me links for everything i need to download and instruction for my problem i would apreciate it greatly been trying for 3 weeks to sim unlock it even got ripped off trying to buy unlock code offline IM LOST
[AT&T Samsung Galaxy S 4 General] mrnerd:
Ripped off?

Care to share the site that ripped you off? You might save someone some money. FWIW, I used mobilitycanada dot com - $21 and it worked flawlessly. That was a couple years ago now.
[AT&T Samsung Galaxy S 4 General] Net1x:
Can someone post his modem file ? I'm not able to flash the modem using file (MDJ) from this post : http://xdaforums.com/showthread.php?t=2324667

It gives me FAIL! (AUTH) , i've tried a bunch of cable and different usb plug.. no luck !
[AT&T Samsung Galaxy S 4 General] SolidSnakesFox:
Samsung S4 SGH-I337M Android 5.0.1 Bell Sim Unlock

Could someone kindly give me some insight about achieving Sim Unlock for my device. It's rooted and runs great but want to use different carrier than what's locked to it. It's a Bell Samsung S4 SGH-I337M Android 5.0.1. None of the dialer codes access the UMTS service menu as it was removed after Android 4.2.2 . Regionlock away same issue, didn't work. I read a thread about using Odin to flash and replace my current modem in order to achieve sim unlock. Anyone have any insight on how I can accomplish this.

Thanks in advance

Xda rules!
[AT&T Samsung Galaxy S 4 General] kkkucher:
Only for Canadian Samsung S4 SGH-I337M

*#0011#

From menu button ,back 3 times

type 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

and enjoy it
[AT&T Samsung Galaxy S 4 General] amitsan:
Finally i got my S4 unlocked....

I tried so many time & with different modem.bin files but no luck.....*#0011# menu was not opening after pressing 1

finally i downloaded the full 4.2.2 ROM file & extracted the modem.bin file only & flashed via odin...

but even after I entered into menu...nothing happened.....finally i tried with region lock away apk. & voila i got my S4 unlocked....

If any one wants the 4.2.2 modem.bin file.

https://mega.nz/#!vlEGhTJT!b-8EYaQz4Xf0Naq0zD8Q2AJE41v5Wv95w8vCRLqSlP4
[AT&T Samsung Galaxy S 4 General] Aaquiff:
Help

Hey amitsan,

I have a SGH-i337m (Bell) on 5.0.1 can you guide me on how to unlock this device please?
[AT&T Samsung Galaxy S 4 General] amitsan:
Sorry for the late reply....i was not well...

Not sure about 5.0.1....but i did it on 4.4.2 & modem 4.2.2.....first try the secret menu in your s4...if its opening but not going further then try flashing 4.2.2 modem.bin i already shared in previous post...& try the procedure...if you are lucky you can unlock it....

But i heard that its not working on 5.0.1 its working on 4.2.2...or atleast 4.2.2 modem ...pls try your luck...
[AT&T Samsung Galaxy S 4 General] nathan1314:
Downgraded to 4.4.2 used the modem file and used Regionlock and works great. Phone unlocked. Thanks a bunch.
[AT&T Samsung Galaxy S 4 General] audit13:
Did you downgrade from the latest 5.01? I'm running the OH1 stock firmware.

Any information would be appreciated. Thanks.
[AT&T Samsung Galaxy S 4 General] nathan1314:
Yes I was on the latest 5.0.1 from telus. Now I'm unlocked with bell and custom ROM.
[AT&T Samsung Galaxy S 4 General] amitsan:
Gud to hear that you unlocked it...
[AT&T Samsung Galaxy S 4 General] matteblk_z28:
Hey guys I've tried everything on unlocking my phone. its a rogers i337m . i was on 5.1.1 and downgraded to 4.42 with the 4.2.2 modem. i followed the *#0101# steps. everything goes well but my phone is not picking up the fido network. it says NO SIM insert SIM card. i even tried regionlock away and it says patch successful but its still saying no sim. plz help. :confused:
[AT&T Samsung Galaxy S 4 General] audit13:
Before attempting to unlock the phone, did the phone work properly with a Rogers sim card? Did you try a Fido sim card before trying to unlock?
[AT&T Samsung Galaxy S 4 General] matteblk_z28:
Yea im with Rogers right now. Its an Rogers locked phone. Yea i tried popping the Fido sim card. I get '' no sim. Insert a sim card '' im getting my unlock code today. Hopefully that works
[AT&T Samsung Galaxy S 4 General] gc_geforce:
Unlocked 2 S4 i337m by downgrading to 4.4.2 ( you must do a factory reset after you downgrade via stock recovery) and then flash the 4.2.2 modem, and do the RegionLockAway.apk ( you must root your phone before running RegionLockAway), this works like a charm! love it
[AT&T Samsung Galaxy S 4 General] audit13:
Yup, just did it to my s4 frankenphone. Makes me regret paying $15 to buy an unlock code!
[AT&T Samsung Galaxy S 4 General] matteblk_z28:
hey i received the code from a local shop and when i popping in my fido sim i didn't get a prompt to enter my network key i bought. #7465625*638*# did the trick but it says network lock unsuccessful. lol im having the worst luck with this phone. ive tried everything. i even downgraded to 4.4.2 with the 4.2.2 modem for regionlock away. it says patched but i still get " insert sim " .
[AT&T Samsung Galaxy S 4 General] audit13:
After unlocking the region, did you upgrade the modem to 4.4.2?
[AT&T Samsung Galaxy S 4 General] matteblk_z28:
yup i tried everything bro. im ready to throw it in the garbage. i did the aws mod few weeks ago but i just restored my stock qcn file. funny thing is my cousins public mobile sim works on my rogers phone. do those run on the same network? my new fido sim works on his unlocked tmobile sgh-m919 s4. so im pretty sure its something to do with my phone. and another thing is when i put old unregistered sim in, it doesnt show me any errors and the network code i bought says successful.
[AT&T Samsung Galaxy S 4 General] matteblk_z28:
Guys so i finally got my phone running. Funny thing is my s4 doesn't read the new fido smart micro sim card. I bought the regular one and cut it. Works flawless. I appreciate all the help
[AT&T Samsung Galaxy S 4 General] Aumbre:
I'm a noob - I entered this as instructed and my phone re-booted - how do I know that it worked? I'm on the latest android update.
[AT&T Samsung Galaxy S 4 General] audit13:
If your phone is running stock 5.01, the menu method can't be used to sim unlock the phone.

Insert a sim from a carrier other than the carrier the phone was locked to. If you are asked to enter a network unlock code, the phone is still locked.
[AT&T Samsung Galaxy S 4 General] sinno:
Hi

I bought 1 of these on ebay,it was listed as a gt-i9505,is there any way i can get this to work in Ireland,i have been told it was unlocked but not sure,its on android 5.0.1 and has bell apps
[AT&T Samsung Galaxy S 4 General] audit13:
Put in a sim from your carrier. If you are prompted to enter a network unlock code, you'll know the phone is not unlocked.
[AT&T Samsung Galaxy S 4 General] sinno:
Thanks for reply,i did that and it asked for my sim pin which i entered,it just will not find any networks,i also ran chainfires regionlock app which said it patched the modem but i am still not getting any networks.if i put a different rom on would that unlock its region
[AT&T Samsung Galaxy S 4 General] audit13:
Since it did not ask for a network unlock code, the phone is network unlocked.

Was the phone a new or used purchase? The imei from the dialler (i.e. *#06#) is the same as the imei on the label beneath the battery? Is the model # gt-i9505 in download mode?
[AT&T Samsung Galaxy S 4 General] sinno:
Hi audit13

imei is the same under battery and using dial code,in download mode it is showing as sgh-i337m

it is a used purchase,in download mode

Product name:SGH-I337M

Current Binary:Custom

System Status:Custom

Knox Kernel:0x0

Knox warranty void:0x1

CSB-CONFIG-LSB:0X30

Secure download:Enable

Write protection:Enable

eMMC BURST MODE enabled
[AT&T Samsung Galaxy S 4 General] audit13:
In this post, you said the phone was an gt-i9505: http://xdaforums.com/showpost.php?p=65557437&postcount=93

In this post, it looks like you have an i337m: http://xdaforums.com/showpost.php?p=65569969&postcount=97

Both phones support similar and different frequencies: http://www.bhphotovideo.com/c/compa...k/BHitems/1054606-REG_1036826-REG_1054605-REG

Does the label on the phone say the phone is a 9505 or i337m?

Which carrier do you want to use?
[AT&T Samsung Galaxy S 4 General] sinno:
My apologies

It was listed on eBay as a gt i9505, it turned out to be a i337m, that's why I posted here, I am in Ireland and trying to connect to the eir network
[AT&T Samsung Galaxy S 4 General] audit13:
No need for apologies. Who is the carrier?
[AT&T Samsung Galaxy S 4 General] sinno:
I believe the carrier of the phone was originally bell, the carrier I want to use is called eir(meteor) in Ireland
[AT&T Samsung Galaxy S 4 General] audit13:
You need to match the frequencies supported by the i337m with Eircom's frequencies. If they are not a match, you will need another phone or you'll need to switch to a carrier that supports the i337m.
[AT&T Samsung Galaxy S 4 General] sinno:
Thanks so much for your reply's

I will check the frequencies when i get homealso would it be possible to flash a differnt modem to make it work if frequencies do not match
[AT&T Samsung Galaxy S 4 General] audit13:
It may or may not be possible, depending on the frequencies you need.

Have you tried sim cards from other carriers to see if the phone will connect to the network to make and receive calls?
[AT&T Samsung Galaxy S 4 General] sinno:
Hi audit13

I tried different sim cards and no joy,not quite sure how to match the frequencies,the network mode shows LTE/WCDMA/GSM on the i337m and on my note 3 which works here
[AT&T Samsung Galaxy S 4 General] audit13:
Which note 3 works? 900w8, 9005?
[AT&T Samsung Galaxy S 4 General] sinno:
The SM-N9005,works for me,it was bought here in Ireland from my network provider
[AT&T Samsung Galaxy S 4 General] audit13:
There are slight differences between the i337m and n9005 which may account for the 337m not working: http://www.movilcelular.es/comparar...vs-samsung-galaxy-s4-sgh-i337-att-32gb/609681