How to Install Custom ROM on Galaxy S4!

Download this video for viewing in HD on your smartphone or computer.
Click Here to Download High-Quality HD video to your Smartphone or Computer.

This video was brought to you by Click Here to See at

For those of you who want to install a custom ROM on your Galaxy S4, here’s how to do it using CWM recovery. (TWRP method is nearly identical just different looking menus but I will have tutorial on that too)

Before we begin, you will need a rooted Galaxy S4 with CWM recovery installed.  If you used CWM root method, you have CWM recovery already, if not, install CWM recovery first by following Steps 1 thru 6 here.

Also, you can use Titanium Backup app to backup all of your apps before installing a new custom ROM so you can easily restore your apps.   For SMS texts, use an SMS text backup app (many available on Play Store) so you can restore them easily after installing a new ROM.

For contacts, I highly suggest using a GMail account as your contacts will be restored automatically after installing a new ROM when you sign into Google.   If you don’t have a GMail account, just make a dummy account just for your contacts!

Before installing a new ROM, make sure you have at least ONE ROM backup, which will easily restore your phone back within minutes.

What is a Custom ROM?

A custom ROM is a custom, modified operating system that you can install on your Android device. Basically it's like installing Windows OS on a Macbook. By installing a custom ROM, you can bypass stock factory settings like locked hotspot tether, install new Android versions early, or even convert your phone into another OS.

With a custom ROM, you can really maximize the capabilities of your smartphone by adding custom features that have been developed by open source developers.

How to Install Custom ROMs

First, you will need to root your device, if it is not rooted yet, follow our root tutorial and root your phone.

Once rooted, you should have TWRP installed on your phone. Installation of a custom ROM is easy if you learn the basic of it. If you don't know how to install custom ROMs using TWRP recovery, see our tutorial on How to Install Custom ROM using TWRP!

You may also like...

52 Responses

  1. Viktor says:

    Can’t seem to find an answer to my question, so I’ll just ask you instead. Will FoxHound 2.5 work on my Galaxy s4 gt-i9505? I backed up my ROM using TWRP.

    • Max Lee says:

      You mean FoxHound from Galaxy S3 GT-i9300? No, you will brick your phone, please don’t try!

      • Viktor says:

        Haha no I won’t, that’s why I asked you. I’m new to Samsung and android, and don’t really know much about it. Can you recommend a ROM for me?

        • Max Lee says:

          I would suggest waiting at least 1 week until everything settles down. Right now everyone is still developing new ROMs so best if you wait a bit especially if this is your first time. But CM10.1 is solid for Tmo/Canadian variants and WanamLite is good on GT-i9500.

  2. Scott says:

    Ugh, everyone says there is a Canadian cyanogenmod 10.1 for Canadian s4’s but no where can I find the files for my I337. Aren’t all Canadian S4’s modeled I337?

  3. Don Smith says:

    Hi Max,

    After installing CM 10.1 on my GT-I9505 (XXUAMDE) wi-fi no longer works. I’ve tried CWM and TWRP recoveries (even though I’m not sure if this would influence it) and I’m seeing the same behaviour with the AOKP ROM. I’ve not been able to find much on the xda-developers forum and was curious if you knew of a fix or where and how I should construct my search.

    Really appreciate all you’re doing for the Android community! You’ve been a huge help in my learning.


  4. kennan says:

    hi just wondering i keep getting errors when trying to flash im useing twrp for i9505 and it cant mount the system and some other things how would i fix it

  5. DR.RoOoDy says:

    sorry but when i tryed to install the zip file ,, i can’t find the install option on recovery mode … what can i do with tat ?

  6. Muqy says:

    Hi max, is there a recovery for the i9505 MDM, I can’t find one. Using the normal ones run me into problems such as E://unable to mount system etc…
    I do have root.

    • i9505 devil jin says:

      I have same problem with system

      • Muqy says:

        I fixed the problem. Do the following before installing the rom, it may not work first time so repeat 5 or 6 times.

        Boot into recovery > Wipe > Advanced wipe > Check [Dalvik Cache, System, Data, Cache] > Head to mount > Mount system > Flash rom

        May not work first time, but try 5 or 6 times.

      • You can download these ROM files straight to your Galaxy S4 or download on your computer and copy it to your phone. DO NOT UNZIP the files, they should be in “zip” format, exactly the way you downloaded them. Mac computers will automatically unzip these files but copy the actual ZIP file to your phone.

  7. Cristiano says:

    I`m sorry friends, but I have a conceptual question: how can I start the installation if the Volume Up, Center Home, and Power buttons doesn`t enable the CWM recovery, since bootloader is locked? I have a AT&T model, wich bootloader is locked, as we know.

    Where I can get a s4 custom rom, like the samsung original?

    Now, Max please: when you finished the process, you saw the 16 gbs?? Thank you! Appreciated,

    Cristiano, Rio, Brasil

  8. marcello says:

    para instalar essa rom precisa ter um celular com root!?

  9. masi says:

    hey does wannalite come with kernel or do i have to use the at&t method to intall the kernel. i have s4 at&t

  10. iphone h8r says:

    How can I flash I9505 stock rom onto m919 using odin?

  11. Rob says:

    I would like to know if task650 would be okay to install on canadian i337m teus s4? I have also seen clean rom but they said I require a kernel to my phone to use…suggestions?

  12. j papa says:

    Hey so I flashed the t-mobile aws band qcn file on my sgh-i337 without being rooted. I could access recovery and tried witusing odin and kies with still the same results. Any help would be greatly appreciated

  13. ritesh says:

    hey i have downloaded wanamlite for my s4 gti9500 from your website but it wont install…:(
    please help.

  14. Mr. Chow says:

    I don’t know what is going on with CWM recovery but it keeps telling me it can’t mount my SD card. I’ve tried using 2 different sd cards already. And I’m about to smash this damn pile of junk, then claim insurance on it.

  15. Henry says:

    I held the buttons as above and all it says its downloading something do not turn off i cant get to the options to select a rom

  16. Jody Bowerman says:

    Thank you so much for this thread, I was going to cry. I thought Ihad stuffed my phone forever! ;(

  17. Bob L says:

    I have an unlocked AT&T SGH-i337 which I’m using on TMobile. I rooted the phone using Motochopper per the tutorial and everything works great. Now I’m looking at custom ROMs but am a little confused. Going through the FAQ you say

    “Compatibility Notes on S4 Models

    You can install any GT-i9505 or T-Mobile SGH-M919 ROMs on your AT&T Galaxy S4.”

    but in the “How to Install Custom ROM” you warn

    “Step 1. Download appropriate ROM file for your Galaxy S4.


    Can you help with my confusion?

  18. Cesc Henry says:


    I have a Question, i just installed BobCatRom on my Galaxy S4 i9505 but i wont boot.
    I am stuck on boot animation so what i want to ask is if there’s any way i can boot image like the HTC method so i want to know if there is for Samsung Galaxy S4.

  19. narell says:

    can this rom as a zip file be flashed through adb sideload?

  20. yikan says:

    “Failed to Verify whole-file signature” showed

    pls help me out

  21. carol says:

    I tried volume up + home button + power up button to get into the recovery mode, but somehow my screen is just completely different from yours. It says Android System Recovery 3e on the top follows with the option to reboot system and to apply updates. Can I still install ROM with this kind of recovery mode, and how?

    • Max Lee says:

      You need to install CWM recovery, which S4 model do you have?

      • Peter says:

        I just installed Ozcan Rom on my GT-I9500, it has failed to go pass the welcoming screen….am stuck in a boot loop, tried format/system and the reinstall several times but no LUCK…is there anyway i can fix it???

  22. Brendon H says:

    I want to install a custom rom on my Galaxy S4 (1337M) but had a question before I go through the process

    I had the phone unlocked and reprogrammed when I switched from Rogers Wireless to Wind Mobile
    will the custom rom alter those changes or will they still be the same

  23. pra says:

    my internal storage after installing ozcan, reduced.
    how to get internal storage .

  24. tahseen says:

    how I instal a costem rom I am using trwp recovery plz help.

  25. Arun says:


    I am currently having I9500 with Lollipop5.0.1 update. I want to install new ROM. How i need to do it? Can you please help me.?

  26. Vignesh says:

    I need to install MIUI rom into my Galaxy s4 running on lollipop 5.0.1 samsung version. I tried to install MIUI official rom. It showed sign in verification error in whole-file. Please help me. Thanks in advance.

  27. Ryan says:


  28. ralph says:


    Thanks for the tutorial!

    I have downloaded the Triforce 5.4 for Sprint SPH-L720, but when I unzip the file with my mac I don’t get a md5, I get a folder…And my TWRP recovery won’t flash the .zip file (I didn’t try with the whole folder…).

    it says checking for MD5>no MD5 file found
    verifying zip signature>zip signature verification failed
    (i checked verify zip signature, I feel it might work if i uncheck that, but maybe that’s not a good idea…I downloaded the rom following links indicated in this post)

    I also tried with the triforce 3.0, same problem

  29. Matthijs Hollanders says:

    Hi, thanks for the good videos.

    I have rooted my GT-I9505, which is currently on Lollipop 5.1. I have downloaded CWM from the Play Store and everything is updated within the app. I have also placed the zip for Cyanogen 12.1 along with the GApps zip on the external SD card. When I reboot into Recovery, I get into the “standard” Samsung recovery mode, instead of CWM. This also happens when I go into the ROM Manager app and tell it to reboot into recovery. I think this is the crucial thing going wrong when trying to flash Cyanogen 12.1.

    Does anyone know how I can get CWM to work? Is it because the phone is already upgraded to Lollipop 5.1?

    Any help is much appreciated.

  30. jj says:

    Please, on my galaxy s4 mini hardware model is GT-I9195 but the OS stock inside is SGH-I257 AT&T. can I update the phone using GT-I9195 android 4.4.2 kitkat ROM? Please help me

  31. Joshua says:

    is the process thru twrp recovery will be the same as this? cause this is thru cwm recovery. any reply will be appreciated thanks!

  32. Joseph says:

    I have Samsung Galaxy duos gt-i9082 verision 4.2.2.
    The phone did not bring network signal. Hence I can’t call mor browse. What can I do?

  1. October 26, 2013

    […] For general installation tutorial, see our custom ROM installation guide. […]

  2. October 26, 2013

    […] To install, reboot into recovery, make a backup ROM, wipe data/factory reset, install ROM, and reboot.  For general installation tutorial, see our custom ROM installation guide. […]

  3. October 26, 2013

    […] To install, reboot into recovery, make a backup ROM, wipe data/factory reset, install ROM, and reboot.  For general installation tutorial, see our custom ROM installation guide. […]

  4. October 27, 2013

    […] To install, reboot into recovery, make a backup ROM, wipe data/factory reset, install ROM, install kernel, install SuperSU, and reboot.  For general installation tutorial, see our custom ROM installation guide. […]

  5. November 12, 2013

    […] To install, reboot into recovery, make a backup ROM, wipe data/factory reset, install ROM, install Wifi Fix, install SuperSU v1.65, and reboot.  For general installation tutorial, see our custom ROM installation guide. […]

  6. February 23, 2014

    […] you never installed a custom ROM, see How to Install Custom ROM on Galaxy S4 for basic […]

Leave a Reply

Your email address will not be published. Required fields are marked *