yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] Mandark52:
No it won't work. You'll need the 5.0.1 firmware for your region (Mine was INS/INU -India). So visit sammobile and download the 5.0.1 firmware for your region, flash it first to checker whether your IMEI has restored. Then follow my steps. I personally suggest you to download the entire firmware as it will help you to recover from future soft bricks.

Report if any errors/problems.

All the best.
[Galaxy S 4 General] xXxNeXuSxXx:
okay i am from india too :P

will download and flash the lollipop again and let ya know
[Galaxy S 4 General] mukesh:
Thanks a ton

I downgraded my S4 smoothly, without a hitch, from Lollipop to Kitkat (Indian INU) firmware. Thank you for the explicit guide.
[Galaxy S 4 General] Mandark52:
Glad I helped you. You can switch to any Kitkat version without any mess.

Hit thanks if helped.
[Galaxy S 4 General] reccal:
if my country doesn't have official lollipop, can i use this method by download another official lollipop ?

thank's
[Galaxy S 4 General] Mandark52:
Yes why not! Please correct me if I am wrong flashing other country's firmware only changes the CSC. I still suggest you to surf on google about the disadvantages of flashing other country's firmware. Obviously the 1st disadv will be the language if you care about it :P. And second will be the CSC.

Report back if any problems.

Hit thanx if helped!

All the best!.
[Galaxy S 4 General] reccal:
i will try and posted the result later..

thank you bro
[Galaxy S 4 General] Mandark52:
Beadvised make a nandroid backup before trying anything!
[Galaxy S 4 General] asia559571:
After successful downgrade will be possible to re-flash any 4.4.2 or even flash 4.4.4 from any region?
[Galaxy S 4 General] Mandark52:
Yes but you will still need the 5.0.1 baseband. Basically the 5.0.1's new bootloader is the culprit. I still love the 5.0.1 bit due to project issues I had to downgrade which led me to this guide.

Report back if any errors!

All the best!

Actions are better than words, so hit thanx :P
[Galaxy S 4 General] DeepPurple114:
i now with INU 5.0.1 very bad

i want to back to 4.4.2 ILO

after this guide i will can run 4.4.2 like its was?
[Galaxy S 4 General] Mandark52:
Yes 4.4.2 will run as it was, the only change will be Baseband. Read the steps carefully. Report for any errors.

All the best!

Actions are better than words, so hit thanx :)
[Galaxy S 4 General] DeepPurple114:
all seems work but he don't recognize my IMEI and my sim...

what to do?!

its was very nice i decide for now buy new phone..
[Galaxy S 4 General] Mandark52:
Did you flashed the 5.0.1 modem.bin?
[Galaxy S 4 General] hnatuan:
Downgraded from INS 5.0.1 to ARO 4.4.2 successfully.

Worked Great! I followed your steps and my S4 worked very good on ARO 4.4.2.

It was downgraded from INS 5.0.1 to ARO 4.4.2 successfully.

I used Philz Touch 6.48.4 to do the wipes.

Thank You very much! :good::)
[Galaxy S 4 General] Mandark52:
Which guide did you followed?
[Galaxy S 4 General] hnatuan:
It's the guide of elias_gabriel member.
[Galaxy S 4 General] Mandark52:
You can downgrade to any Kitkat version. Not specifically ARO.
[Galaxy S 4 General] DeepPurple114:
no.. i was need to that?
[Galaxy S 4 General] Mandark52:
Follow the above guide. Report back for any errors.

All the best!
[Galaxy S 4 General] izzi_cruise:
oke my imei and baseband already back but why still emergency call only. help
[Galaxy S 4 General] Mandark52:
Which method did you used? Did you got emergency calls displayed when you were on 5.0.1?
[Galaxy S 4 General] izzi_cruise:
i use metode :

1. Hard reset then Flash 4.4.2 firmware through odin and give a hard reset.

2. Then flash the modem.bin file extracted from the 5.0.1 firmware.

Finish my imei and baseband already back ya and i got emergency call when on 5.0.1 sim aplication onmy country also showing. but i can't make a call, but signal still emergency call only and not registered on network when i try to make a call. pls help & thanks for ur help.

sorry with my english.
[Galaxy S 4 General] Mandark52:
Alright what you are saying is that you got emergency call on the 5.0.1 firmware too right? Did you tried another sim card?

Just re-insert the sim and give a reset. Try this. If not working report back, I ll search for something.

All the best.
[Galaxy S 4 General] izzi_cruise:
i already try to change with new sim card and then hard reset but still not working. any other solution sir? i waiting for....

thank you
[Galaxy S 4 General] Mandark52:
If you are on 4.4.2 then root it and flash a custom rom. Try this and report back bro!

All the best!
[Galaxy S 4 General] izzi_cruise:
i already using many custom rom & repeat flash again to lolipop 5.0.1 still emergency call ony , i'm very confused with this phone. How to solved my problem with a perfect solution sir :(
[Galaxy S 4 General] levynger:
Thank you [MENTION=6158804]elias_gabriel[/MENTION] !! worked like a charm.

confirm also to work with Philz
[Galaxy S 4 General] ervanthe:
Yup this works! Thanks! Downgraded from latest russian lollipop to rusian kk nj1
[Galaxy S 4 General] Mandark52:
Which guide did you followed? Can you specify the OP please.
[Galaxy S 4 General] amiracp:
cm12 lollipop to 4.4.2

Hi Mandark, currently im on CM12 lollipop working fine -> http://xdaforums.com/galaxy-s4/i9500-orig-develop/5-0-cyanogenmod-12-beta-t2944968

and i am wanting to downgrade to 4.4.2 -> http://xdaforums.com/showthread.php?t=2662583

so if i get a null imei, which modem.bin will i have to flash? from cm12 rom or sammobile 5.0.1 rom?

thanks in advance. before i was running the indian lollipop on my s4
[Galaxy S 4 General] Mandark52:
I would suggest you to flash the OFFICIAL 5.0.1 rom and then proceed to the downgrade method as a safe side as I have not tested the downgrading from any custom rom to official. And in any case you'll require the modem.bin file from the OFFICIAL 5.0.1 firmware only and not of other roms.

Report back if any errors.

All the best!
[Galaxy S 4 General] ervanthe:
Both methods works well

First i tried downgrade using the argentina kitkat method (works)

Then due to curiosity i flashed newest 5.0.1 rom (saudi arabia) and still didnt like it and decided downgrade to russian kitkat (also works, though i hv to flash 5.0.1 modem after it since it showed imei null) soo both methods work well for me
[Galaxy S 4 General] tdssmarty16:
guys can you please tell that which are the most stable and perfect official kitkat firmware out there

i am back on 5.0.1 indian version because i was facing problems because of flashing a black edition rom so i flashed lollipop rom to get rid of these

Elias gabriels method was perfect but i did not like the aro firmware

is there any other good kitkat firmware that i can downgrade to without getting null imei because i dont want to flash 5.0.1 modem on a kitkat firmware
[Galaxy S 4 General] Mandark52:
Have you tried INS/INU Kitkat firmware? And flashing Modem wont change a thing of your KK firmware it is just to get the specific baseband.

All the best!
[Galaxy S 4 General] tdssmarty16:
will try it bro

Thanx fr help
[Galaxy S 4 General] rxdsrex:
I downgraded my gt i9500 from 5.0.1 lollipop to 4.4.2 kitkat black edition (I9500XXUFNC1_I9500YDDFNC2_I9500DDUFNA4_HOME.tar)(India/INU) using odin without rooting. However after doing so i lost my baseband number as Unknown and IMEI set as null/null.

I cleared the EFS folder then flashed it with different modem(I9500_ZCUCMH1_MODEM). After this i got my baseband back(I9500DDUH0A1) and IMEI (004999010640000) which definitely not correct.

I also flashed it with the modem.bin file provided above in the thread and still IMEI is still the same.

Please help me restore my IMEI asap. :confused::(:crying:
[Galaxy S 4 General] Mandark52:
Why did you cleared the EFS folder??? It is not stated in the guide!! Flash 5.0.1 official firmware again and then report back.

All the best
[Galaxy S 4 General] tdssmarty16:
brother you should just have flashed the modem of lollipop firmware and all would have been fine

clearing the efs folder was stupid thing to do

did you flash the lollipop firmware again ?
[Galaxy S 4 General] Mandark52:
You can check your IMEI number by dialing *#06# then you will get a number displayed on your screen. Make sure it doesnt start with "00" . If you lose that number then your phone won't get any network and you won't be able to call/msg anyone. And to downgrade I recommend you to flash OFFICIAL 5.0.1 firmware first via Odin and then follow the guide.

Report back for any errors.

All the best.

Hit thanx if helped.
[Galaxy S 4 General] Mandark52:
Alright you may ask as many questions regarding the IMEI number over here and I ll answer them.

Next thing is many of the users upgraded to official 5.0.1 but some of them didn't like it so they flashed the official 4.4.2 firmware via Odin and their I9500 lost signal, it wont detect any network. This is because of the 5.0.1 's new bootloader that updates the EFS folder location and hence the older bootloader (4.4.2) doesn't recognize it which obviously nulls your IMEI number. Hence we flash the 5.0.1 modem.bin file which will give its baseband.

For reverting back from CM 12 I suggest to make a CWM backup and flash CM 11 if all is well then flash official 4.4.2 via Odin.

I hope I am clear now. Correct me if I am wrong in any phrases.

Report back for errors.

All the best!
[Galaxy S 4 General] Mandark52:
1. Yes both methods work well if you carefully follow the steps l, also you may read the reviews.

2.CM 12 and 5.1.1 are having Kernel version 3.4 so I guess it has the new bootloader. ( Not sure contact/post in the rom developer's Q&A section to get a firm answer )

3. Yes IMEI is hidden and dafe unless you delete the EFS folder. Your hidden IMEI will be active if you flash 5.0.1 modem on 4.4.2 both official firmwares and not of CM12 or other roms.

4. I guess I answered that :P

All the best! Just make sure to confirm the info about new bootloader in CM12. Sorry for that.
[Galaxy S 4 General] O-T:
Start by making backup using this tool

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

EFS backup will preserve your IMEI.

When ready to flash please ignore bad advice from [MENTION=6158804]elias_gabriel[/MENTION] in step 3.) to restart??? in download mode. Reboot or Restart is root cause of unsuccessful Odin flash where modem.bin and non-hlos.bin is only partially flashed.

Fail safe way to Download Mode:

1. ALWAYS POWER OFF Completely

You may take out battery or turn Off and at least wait 10 sec after led stop blinking

2. Power + VolDown until vibrate

Sticking one finger in your ear or doing a magical gesture is just as useful as pressing Home button [emoji4]

Plain speaking: forget Home button

3. Release Power

4. Release VolDown when screen turn on

5. VolUp to confirm enter Download mode

Now you are ready to USB connect, wait for ID:COM light up in Odin and start the flash.

Use complete stock Samsung firmware 442 or 501 file type *TAR.MD5

Odin can verify that this archive with added MD5 hash is not damaged or incomplete before starting the flash.

Always factory reset after flash successful. Follow steps to do it from recovery.
[Galaxy S 4 General] O-T:
Any zip ROM (AOSP, CM, DeOdexed custom) flashed from custom recovery doesn't change bootloader, modem.bin (or non-hlos.bin for LTE capable S4 versions) . The boot.bin inside the zip file is kernel.
[Galaxy S 4 General] afghan-gsm-mastermind:
any one can plz give me the only modem.bin from this file it is needed urgently i want to test one thing if it works plz any one can upload only modem.bin from this rom tanx
[Galaxy S 4 General] Mandark52:
From which rom/version? Can you specify?
[Galaxy S 4 General] afghan-gsm-mastermind:
Thanx for your replay the rom which is in first post for downgrade lollipop to kitkiat

Here it is the name I9500UBUGNJ1_I9500UUBGNJ1_ARO

It is Argentina rom i need only modem.bin tanx
[Galaxy S 4 General] sravan242:
@Mandark52 can u please share me the modem.bin of I9500DDUHOA1 from india lollipop firmware... because for that single file i have to download entire 5.0.1 firmware.
[Galaxy S 4 General] Mandark52:
I have the modem.bin of I9500DDHOA2 INS. Also I suggest you to download the entire firmware as it will help you for restoring if anything goes wrong(I know the trouble of downloading the 1.8 gigs of file from the slow sv). If you want I will upload the modem.bin of DDHOA2.
[Galaxy S 4 General] sravan242:
Thanks for your concern @Mandark52.. I will download entire firmware as it might be helpful in future! Anyways Thanks again for guide. I will downgrade my S4 today at any cost, this lollipop is sucking battery and in returning its cooking my ears!!! (SAMMOBILE servers are very slow for non-premium members :( )
[Galaxy S 4 General] afghan-gsm-mastermind:
Hello friend do you have modem.bin this kitakit I9500UBUGNJ1_I9500UUBGNJ1_ARO as i need it urgently tanx
[Galaxy S 4 General] Mandark52:
I am sorry I dont have the modem.bin file that you demanded. I advise you to download the firmware. Sorry
[Galaxy S 4 General] afghan-gsm-mastermind:
Hello sir can you upload the modem.bin this kitakit I9500UBUGNJ1_I9500UUBGNJ1_ARO as i need it urgently tanx
[Galaxy S 4 General] afghan-gsm-mastermind:
[MENTION=6158804]elias_gabriel[/MENTION] it is 3 day waiting for uploading a 15 mb file any one can help me plz
[Galaxy S 4 General] elias_gabriel:
https://mega.nz/#!icAgHJjK!EyyyPyX88VinWgB8AGNi4DImfh_Cw6VSDwqey_57rb8

Here you go, sorry for the wait, I don't visit this thread since a while...
[Galaxy S 4 General] afghan-gsm-mastermind:
Thank you so much for sharing
[Galaxy S 4 General] androidnandroid:
My question is our baseband certain will be lollipop and Android version will be kitkat will we get the ota notification or future updates?
[Galaxy S 4 General] Mandark52:
Well mine I9500 was rooted with custom recovery so did not received the OTA updates. If your phone isn't rooted and anything you flash is nothing but official then you might receive the updates. If you want to downgrade to 4.4.2 then why are you worried about OTA?
[Galaxy S 4 General] androidnandroid:
Won't mismatch of baseband and version will occur?

---------- Post added at 06:51 PM ---------- Previous post was at 06:02 PM ----------

Hahaha agreed... Just a doubt bro.. You know I explained your method to samsung service Centre also they are thankful to you...
[Galaxy S 4 General] O-T:
Extra caution can be executed if you remove SIM card before boot to download mode.

I have always done it since I started as a flash'aholic back in 2011 with Galaxy i9000.

Here's link to 4 posts of golden value lined up in a single thread that explain how & why about possible WiFi, sound, baseband issues - how to avoid them - and working root procedure.

It's obvious that you need to "translate" the needed files to your i9500, but the procedure is the same.

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

Consider yourself lucky.
[Galaxy S 4 General] Mandark52:
I will try whether it gets OTA updates on 4.4.2 and report back.
[Galaxy S 4 General] androidnandroid:
Yaa sir let's check out this stuff... One of my friend is in samsung and he says it would mismatch and spoil your mother board and you won't recieve ota also you have to write imei number again on motherboard
[Galaxy S 4 General] androidnandroid:
Just check do you recieve ota sir
[Galaxy S 4 General] Mandark52:
Well I tried it out myself and found out that the OTA updates are only limited to Kitkat 4.4.2 and not further. For example if you have 4.4.2 DDUFNE1 then you will get OTA updates of the latest 4.4.2 firmware say 4.4.2 DDUFNI1 but not of lollipop.
[Galaxy S 4 General] androidnandroid:
Thanx sir
[Galaxy S 4 General] azterlance28:
I have this firmware installed on my phone before I upgraded to Android 5.0.1:

Country: Saudi Arabia

Version: Android 4.4.2

PDA: I9500XXUFNB4

CSC: I9500OJVFNC1

This is my latest firmware now.

Country: Saudi Arabia

Version: Android 5.0.1

PDA: I9500XXUHOC5

CSC: I9500OJVHOC2

So is it safe to downgrade my phone thru your guide?

Thank you.
[Galaxy S 4 General] Mandark52:
Yes it is completely safe. Make sure you follow the steps carefully.

Report back for errors.

All the best.
[Galaxy S 4 General] Zarcaster:
Works great!!!

Without any issue, I did it from I9500XXUHOD4_I9500SERHOD4_I9500XXUHOD4_HOME.tar to I9500UBUGNJ1_I9500UUBGNJ1_I9500UBUGNJ1_HOME.tar. Just follow the steps... :good::good::good::good::good:

Are OTA updates ok? I have no chance to testing that.
[Galaxy S 4 General] Mandark52:
OTA will update your device to the latest build of kitkat I9500XXUFNI2 which includes few minor changes. But OTAs are limited to 4.4.2 and not 5.0.1.

All the best.
[Galaxy S 4 General] Mandark52:
The person cleared the EFS folder which was not stated in the guide and that is why he lost his IMEI number. Tell me whether you want to downgrade to 4.4.2 or stay at 5.0.1. If you want to downgrade then you are forced to flash the modem.bin file.

The thing that why this no IMEI problem occurs is because of the new bootloader of 5.0.1 which fails to recognize the EFS partition of 4.4.2 .

I hope you are getting it. If not ask as many questions here.

All the best.
[Galaxy S 4 General] Mandark52:
You can easily flash the 5.0.1 firmware through Odin and you ll be good. No problems n nothing.

All the best.
[Galaxy S 4 General] Orangley:
Emergency Calls Only error. Any fix? :/
[Galaxy S 4 General] Mandark52:
Follow this:

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

Read carefully and report back if any errors.

All the best.
[Galaxy S 4 General] Orangley:
I followed that guide while downgrading
[Galaxy S 4 General] Mandark52:
Alright don't worry try this:

1.Flash official 5.0.1 firmware (delete the tar.md5 file as you have extracted its modem and extract the firmware again from the original .zip) through Odin.

2.Give a hard reset through recovery.

3.Flash 4.4.2 firmware through odin and give a hard reset.

4. Then flash the modem.bin file extracted from the 5.0.1 firmware.

Note : If you are using Odinv3.04 then flash modem.bin as PHONE and if Odinv3.09 then as CP. Repeat the procedure if it fails.

Report back for errors.

All the best.
[Galaxy S 4 General] azterlance28:
Thank you so much for your downgrade guide. It works so perfectly even the OTA update.

Keep up the good work.
[Galaxy S 4 General] Mandark52:
Thanx for ur complement and glad it worked.
[Galaxy S 4 General] nser5:
Its working fine now .. thanks
[Galaxy S 4 General] Walcof01:
My phone don't pass from first logo of samsung :c

My phone had the official 4.4.2 then I got the lollipop 5.0.1 and installed with Odin, i disliked by excessive battery consumption and some mistakes.

So after I downloaded from SamMobile the official firmware for my country COL(COLOMBIA) in 4.4.2 but after installation with Odin, does not pass the first ever Samsung logo, then i got an international version 4.4.2 for this, and happened the same this didn't pass the first logo after installation, again temporarily put the 5.0.1 and this shows an error saying Error "Process Android.process.acore stopped, I do not know if I will have damaged something. ¿Can i do what you're saying? i don't have ClockWorkmode or any others. i have never done a wipe or factory reset in the downloading mode should you help me a lot bro xD?
[Galaxy S 4 General] Walcof01:
Thank you so much!!!!!!!!!!

I tried with my own firmware for (Colombia) 4.4.2 , i clicked on wipe cache and wipe for new rom option, i follow your steps and it works perfectly :D

:D:D
[Galaxy S 4 General] Mandark52:
Thats good! I was about to give you another solution but glad now it worked :P
[Galaxy S 4 General] dnnz:
Please i need a link for the firmware	I9500UBUGNJ1, sammobile is VERY SLOW (40kb/s) rapidgator too, i'm looking for a more free friendly host for about 3 hours in google: NOTHING... amazing.
[Galaxy S 4 General] Walcof01:
Rapidgator premium link

I had the same problem so i searched in google for a premium link generator and after a lot of links one worked for me, it gives you a loooot of publicity of adfly that you'll have to skipe, but then you'll download near 700 kb/s try with those.

http://www.leechgear.net/

http://www.exrapidleech.info/index.php

http://www.premium-leechers.com/fre...hare-uploadable-letitbit-bitshare-oboom-huge/
[Galaxy S 4 General] shiva111:
Hi, thanks for great tut, i followed it and downgraded successfully to 4.4.2 :good:, just one change i did, in place of this version: "I9500XXUFNI2_I9500ODDFNI1_INU" i had flashed this: "I9500XXUFNB3_I9500ODDFNB3_INU" as i had this version already, downloaded it once. So after flashing this version my battery is draining like water, so can you tell me that if i flash "I9500XXUFNI2_I9500ODDFNI1_INU" version then does it fixes battery issue and also do i need to flash the modem file again???
[Galaxy S 4 General] Mandark52:
There are various reasons for battery drain. Firstly check whether your battery is inflated or swollen, just remove the battery and place it on a flat surface n spin it. If it spins more than 5 rounds then the battery is depleted. The DDFNI1 is obviously the further version of kitkat and has stability patches so I guess it will fix the drain issue. Yes you need to flash the modem again.

Before flashing the firmware it is recommended to reset your device and keep it fully charged.

Report back for errors.

All the best.
[Galaxy S 4 General] shiva111:
ok, done, still working after another flash ;) . No brother, battery is not swollen, still battery draining fast after flashing latest kk also. But this time its little better. When i check battery uses from settings, its showing main uses as : 43% as Android System, 17% as Screen, 10% as Android os ??? What could be using 43% in android system?? else other things are properly working.
[Galaxy S 4 General] Mandark52:
Have you given a hard reset after flashing? Also try this: drain your battery till it switches off and then plug in the charger and charge till full. The reason behind Android OS consuming battery might be the data remained after a reset you may check this in /Android/data/ if there are many directories present in there. Another thing to check your battery is by using an app called Wakelock Detector and Better Battery Stats. It will be better if you provide a screenshot.

Report back for further errors.

All the best
[Galaxy S 4 General] lewismr95:
Question about downgrade

When android 5.0.1 came out i downloaded it from Settings-About-Update so it was over the air

i now want to downgrade using this tutorial but i have heard that because i got the update officially OTA that i wont be able to downgrade back to 4.4.2

Is this true or can i go ahead and proceed with the downgrade?
[Galaxy S 4 General] shiva111:
Sorry for late reply

after trying your suggested steps, the battery performance improved but not too much, see the screen below:

[IMG="sceen"]http://i.imgur.com/s4aIkAml.png[/IMG]

and One more thing, if anyone here needs direct link of

Android 4.4.2 Final (I9500XXUFNI2_I9500ODDFNI1_INU)

or

Android 5.0.1 Final (I9500XXUHOD3_I9500ODDHOC1_INU)

for S4 then i can provide it.
[Galaxy S 4 General] Mandark52:
Even I had updated over the OTA update n it is safe to downgrade. Just keep both the firmwares ready if anything goes wrong. All the best!

---------- Post added at 08:02 PM ---------- Previous post was at 07:51 PM ----------

Did you used better battery stats or wakelock detector coz its little bit tough to know the root of batter drain. If possible you may check the battery levels with other battery. Or try using Greenify. It will surely help.

All the best.
[Galaxy S 4 General] shiva111:
Wakelock detector is good but unable to understand better battery stats. Doesn't matter, greenify is awesome, much better battery backup now. thnx for ur help.

Try me for anything, if needed ;) , i ill be glad to help you.
[Galaxy S 4 General] mfo12002:
Thank you!!! It worked for me! I had a SER 5.0.1 firmware and downgraded to a SER 4.4.2 firmware using your solution. I'm very happy! ;)