Unroot Samsung Galaxy S4 and Reclaim Warranty (All Models)


Android is the most popular operating system for mobile with billions of user base which is growing by leaps and bound. The capabilities, features and  flexibility of the platform, the variety of devices that suit every budget, and millions of apps that can help you do anything you can imagine on your smartphone— these are the things that have made it what it is today.

But there is another great thing about that infatuates people with the soul of a geek, and that is the Open Source and openness of Android. If you wish to envisage the true color of this beautiful operating system and make the most out of your phone or tablet, you must root it first. Now, rooting is a term that you must be aware of if you own an Android device. Often compared to jail-breaking in iOS sphere, rooting is despised by most Android users and also by OEMs.

Is Rooting a Crime?

I often wonder why the Google Play Store has those thousands of apps that require root permission, if rooting is considered so punishable an offense that it voids the warranty of the device!  Being able to run the software one wants on devices one owns without losing hardware warranty should be a right by law. Root by itself is not a crime, nor a pointer that a device is broken in any way that should not fall under warranty. But in the eyes of  the OEMs it seems we are criminals. One of the reasons for the popularity of Samsung devices over those by other OEMs is the very fact that they are easier to root and modify.

We have no problem if we lose hands off the warranty of the device in case we flash a custom ROM but rooting is so essential a thing for Android that makes our mobile experience better. It complements and expurgates the deficiencies or the OS.

The greatest reason why most people keep away from the rooting stuff is the loss of warranty and the fear of bricking the device, the former also being the most probable reason for the desire to unroot an Android device.

You Might Also Like:

How to Root Samsung Galaxy S4 GT-I9500

Root and Install CWM Recovery on Sprint and T-Mobile Galaxy S4

How to Root AT&T/Sprint/T-Mobile Galaxy S4

How to Root Samsung Galaxy S4 GT-I9505

How to Root Verizon Galaxy S4 SCH-I545

If you have a rooted Samsung Galaxy S4 and want to take  your phone to the state of an unrooted device so that you might reclaim the warranty, we have a little guide for you. In fact the steps described here can be used on any Galaxy device from Samsung to unroot it. The easiest way to unroot your Samsung Galaxy S4 is to install the official firmware and reset the flash counter to “0” (zero).

Compatibility and Downloading Official Firmware:

The following tutorial can be used to unroot any variant of the Galaxy S4, irrespective of  model. Just careful about picking the correct firmware for your device model. You can check it from Settings> More tab> About.

  • Galaxy S4 International GT-I9500 :   Download
  • China Unicom Galaxy S4 Duos GT-I9502 :   Download
  • Galaxy S4 International LTE GT-I9505 :   Download
  • AT&T Galaxy S4 SGH-I337 :   Download
  • Canadian Galaxy S4 GT-I337M :   Download
  • T-Mobile USA Galaxy S4 SGH-M919 :   Download
  • Verizon Galaxy S4 SCH-I545 :   Download
  • Sprint Galaxy S4 SPH-L720 :   Download
  • U.S. Cellular Galaxy S4 SCH-R970 :   Download

Here is a more exhaustive guide that sheds light on all aspects of installing an official firmware to Samsung Galaxy S4. Read the following tutorial:

Gather the Tools and Resources:

  • Download and install the Triangle Away app from the Play Store. This step is mandatory and applicable only if you want the warranty of your device back. The app currently does not support GT-I9500: Link
  • Download the Odin3 tool and unzip it: Odin3_v3.04.zip
  • Download and install Samsung USB Drivers on your computer: Download
  • Download the suitable firmware according to your device model number, country/region or CSC and extract the zip file. If you do not know the CSC code for your country, refer to this article. Download the firmware from here: Link
  • Backup your contacts, messages, call-log, apps, etc: Use these apps
  • Enable USB Debugging on your phone. If you do not know how to do it, read this tutorial.
  • Ensure more than 60% battery on your Galaxy S4.

How to Unroot the Galaxy S4:

  1. Open the app drawer and run Triangle Away and follow the on-screen instructions to reset the flash binary counter to zero.triangle-away
  2. Triangle away is capable of making your phone system think that it is not rooted, despite the fact  it is rooted. Thus you are able to claim warranty.
  3. You can also unroot your device from within the SuperSU app itself. Open the app, tap on Settings and scroll down to the Full Unroot option and select it.super-user-unroot
  4. If you want to completely unroot your Galaxy phone, install the stock firmware on it using Odin. But before you do that, download the appropriate firmware for your Galaxy S4, boot the phone into Download Mode. To do this, press and hold Volume Down+Center+Power buttons together for 3-5 seconds till you see a warning screen. Now press Volume Up to continue to the Download mode.
  5. Now open Odin folder, launch the program by double-clicking and then connect the phone to PC using USB cable.
  6. Wait till the device drivers are installed and Odin detects the phone which is indicated by the ID:COM port turning to Blue and “Added!!” at the message box on Odin.
  7. Make sure that only “Auto Reboot” and “F Reset Time” options are selected.
  8. Now click on PDA and select the firmware file with .tar.md5 extension.
  9. Finally, hit Start button and wait till installation is complete and you see “PASS!!” signal followed by automatic reboot of the device.


The phone will finally boot and it will be unrooted.

Fixing Bootloop on Galaxy S4:

In case, your Galaxy S4 is stuck on the Samsung logo for more than 5 minutes and is caught into a bootloop, do this:

  1. Pull out the battery, wait for about 30 seconds and put the battery to its place again.
  2. Now boot the device into Stock Recovery mode: hold down Volume Up+Center+Power keys till the screen turns up and the Samsung logo blinks for two times. Then release the Power button but keep other keys pressed till you see a blue menu. Here you’ll have to use the volume and power keys to scroll up/down and select options respectively.
  3. Go to “wipe data/factory reset” option and wipe it.
  4. Now “wipe cache partition”
  5. Finally, “reboot system now”.

The bootloop should be fixed now. In case the device still doesn’t boot, install the firmware again. For more stuff and tutorials on Samsung Galaxy S4, click here.

Do Not Miss !

How to Unbrick Samsung Galaxy S4

  • Nyasha Moliyah Nhema

    Hie there, i got my galaxy s4 (GT-19500LUCNC4) that keeps turning off on its own so i have tried factory reset but the problem still persist. The firmware i cant find it, can u help me?

  • Baru

    When I plug my device in while in bootloader, odin does not recognize it. It works when I actually boot my custom ROM (CM11) so it’s not the cable. I did notice that it says in the top right in gray text

    eMMC: enabled

    What can I do?

  • Abdur Rehman Awan

    thank u

  • Yes.

  • Abdur Rehman Awan

    i have rooted my s4 with kingo root . .plz guide me

  • Abdur Rehman Awan

    my phone came from u.a.e . . can i downlod the firmware of any country?

  • Abdur Rehman Awan

    from where i can find firmware file of i9505xxugnh8 plz tell me

  • Hi, I didn’t find the recovery file for the device. Why don’t you flash the firmware file itself?

  • samuel0507

    hi can someone please give me the stock recovery for a SGH-i3337m Canada version?

  • Oliver

    Thank you Rakesh!

  • There is the latest KitKat firmware for Telus S4: http://samsung-updates.com/details/28066/Galaxy_S_4_Canada/SGH-I337M/TLS/I337MVLUFNE1.html

    Just install it to unroot and update your device.

  • Oliver

    Yes it’s Telus carier. Thank you for the quck reply

  • Oliver

    Yes it’s Telus carier. Thank you for the quck reply.

  • Your device must be carrier-branded then. Can you tell me the carrier’s name?

  • Oliver

    Hi, I can not find the file for the phone I have, it’s a Canada model I337MVLUAMG1 4.2.2 I’ve been trying to unroot for a while now as my phone will not connect with a PC through USB cable and I would like to update to 4.4.2. I bought the phone rooted.

  • joseph nnonie

    hi and hello admin greeting from malaysia.
    my phone galaxy s 4 GT-I9500 auto updated to 4.4.2 and its official update. all things are good but just annoying status icon bar cos a just white icon and there is a lot running application, i don’t want that so i want to downgrade my phone .. please help me. still got 6 month samsung warranty..not rooted phone.

  • Yes, but you will have to Install MK2 or greater version. Downgrading might brick your phone.

  • David

    Will this work with Build MK2?

  • Thanks for coming back and confirming. 🙂

  • Marco Paulo

    Thank you. It works for me. Now I have an “new” GS4 whit no signs of void warranty.
    Best regards.

  • Then install it.

  • Marco Paulo

    Thanks for your quick response.
    My phone is currently on MDL version, the same on the links you posted.

  • What is the current build version of your phone?

    Here is a firmware but make sure not to install a leser version to avoid problem: http://www.androidfilehost.com/?fid=22979706399755578


  • Marco Paulo

    There is no file listed for AT&T Galaxy S4 SGH-I337
    Can you help me finding the right place?

  • tito

    and v1.85 did nothing

  • tito

    i use odin v3.07

  • Yes, it will restore your phone like it was when bought.

  • Omar Andaluz Hassanille

    Will this restore the stock recovery mode?, because I have the cwm recovery and I want the phone just like if it was brand new… thanks for your help by the way

  • In fact rot resides in the Kernel but we recommend installing the firmware.

  • Andrew Boelman

    Do i install stock firmware or kernel file? If i want to completley restore/unroot

  • Just wait till a new update comes up.

  • Hafiz Sohaib


  • You are getting the error because AT&T has disabled downgrading on MF3.

  • Hafiz Sohaib

    i use odin for restire to stock firmware but it gives error of complete(write)
    and in download it shows write protected enable im using (mf3) sgh i337 what to do i have mf3 version and not it is rooted i want to un root but it didinot flash what to do????

  • You can contact a person with Samung Anyway Jig box.

  • tech_fan

    is there a cure at this point if that’s the case? how to cure it?

  • I guess USB Debugging might be a reason behind the failure.

  • tech_fan

    No, i never enabled USB debugging before attempting to install the ROM in the 1st instance. But now is too late, I can’t enable the usb debugging because I can’t access the phone menu 🙁

    good to know that the warranty is not voided.

  • Do you remember enabling USB Debugging before to started the procedure?

    Also, your system status says official and that means the warranty is not void.

  • tech_fan

    This is the error, despite trying with PIT or just flashing the original ROM ;-(

  • tech_fan

    Hi Rakesh, it happened again, i took some picts instead of recording… im so annoyed.. damn. it!! Any idea or suggestions please

  • tech_fan

    sure… i’ll keep you posted. thanks 🙂

  • I know that. 🙂

    Just try that tutorial. I think It would fix your problem.

  • tech_fan

    No I can’t give up!! & i don’t want to give up – No didn’t use the PIT file, because its usually the PDA file that it prompts me to add in the instructions to install a stock room. I am doing it wrongly??

    Ps: i must confess, i am a beginner when it comes to this stuff Rakesh.

  • Did you try to install the firmware with PIT file? Do not giveup yet!

  • tech_fan

    Thank you, & yes I did try installing the firmware you pasted above. I did it via Odin & it still failed to install. I’ll record the video later on and show you what I mean.. perhaps I am doing something wrong. The main issue here, is that I can’t get into ASR (android system recovery) to wipe my cache & do a wipe data/factory reset. I also tried using the recovery mode and then fix it via Kies “firmware upgrade & initialisation”… & “emergency Firmware recovery”.. both methods failed… again & again…… But i’ll try the Odin version you sent me, and then try install the original stock & see how that goes… I’ll record the process just for evidence…. Many thanks so far… I am so grateful (although I haven’t fixed the phone yet)

    ps: can I still send the phone to samsung in case i can’t fix it? I only got the phone about 6 months, is the 1 year warranty is still valid?

  • Your firmware folder name matches this?-“I9505XXUDMH6_I9505EVRDMH1_EVR”

    If yes, you have tried the right one, if no, download it now: http://www.hotfile.com/dl/251096287/1081ec7/I9505XXUDMH6_I9505EVRDMH1_EVR.zip.html

    and use this guide: http://www.droidviews.com/how-to-unbrick-your-bricked-samsung-galaxy-s4-gt-i9500-gt-i9505/

  • tech_fan

    that was the 4.2.2 I then tried to install after I got the problem.. I have deleted the 4.3 file (amateur right!). I have been trying to put that stock rom, but each time I attempt to install the file through Odin, it fails… I am not sure if I hard bricked my phone (not even sure what that exactly means) or broke something internally…

  • tech_fan

    CSC file was I9505EVRDMH1

  • tech_fan

    this is the CSC file i then try to download again & still didn’t work – I9505EVRDMH1

  • Then give me the extracted folder name.

  • tech_fan

    i got it from samMobile – stupidly I have deleted the zip file because I was running out of space on my Vmachine.

  • tech_fan

    it’s: I9505XXUDMH6_I9505EVRDMH1_I9505XXUDMH6_HOME.tar

  • Give me the name of the Zip instead. It must have a CSC code in it.

  • Guest


  • Does your firmware has EVR in its name?

  • copy and paste the firmware name in your comment.

  • tech_fan

    hi, maybe i tried installing the wrong stock rom firmware. Can you advise which one should i download? my model is the GT-I9505 im in UK and the original carrier was EE, but the phone is now unlocked.

  • Sure!

  • tech_fan

    I do have a regular windows to test and I’ve done tried before (not with the Odin u just gave me), however it also failed to install the stock Rom, both 4.3 and the carried one.

    I’ll create a youtube video and show you the process that I am facing, i hope the new odin will work, but my hopes aren’t high 🙁 Can I past the youtube link here once I’ve done it?

  • Give it a try at least and use a regular Windows machine instead of VM.

    Unlocking does not hinder with installing an official firmware. I doubt it is a case of corrupt bootloader instead.
    Try odin 1.85 and let me know.

  • tech_fan

    thanks for the link, however, I don’t think the issue to be with Odin but the the transfer process… do you know, or ever herd if the model gt-i9505 after being unlocked can crash while installing a stock rom?

    also, i tried using Kies to do firmware emergency recovery, but this also failed, in the process where kies was attempting to download the rom onto my phone. I am extremely desperate. I’ve been without my phone for 1 week now. Any extra advise or tips you or anyone else can give me?


  • I am not that sure about VM but since you have successfully used Odin on it in the past, try this one: http://d-h.st/M14

  • tech_fan


  • Which version of Odin did you use?

  • tech_fan

    hi rakesh, i tried installing the 4.3 official rom on my GS4 gt-i9505 model. I was doing it via Odin on a windows 7 virtual machine. I’ve used odin on the VM before for my previous Gs3 and the process always worked. For some reason while installing the file, the process failed. and then I had to reboot my phone, which is now stuck in the samsung logo.. I tried fixing the bootloop but when I try to access the Stock recovery mode, when it reaches the android logo laying with its belly open, it crashes and reboots again 🙁

    Any help please… phone never been rooted before.. i was just in a rush to have the offical 4.3 version. Im in U.K and im not very good with this rooting, process, but Im eager to learn.. i’ve spent many hours researching but can’t find a fix. HELP PLEASE – thank you.

  • It’s already mentioned there.

  • Usama Mujtaba


    Kindly correct your guide.

  • Ankur Jhavery

    Traingle away app is incompatible with GT-I9500 model of Galaxy S4, it is only working on Qualcomm based models and not on Exynos based models.
    Kindly check!!!

  • filmz

    I rooted my phone the Factory reset now my phone wont work just turns on but sim wont work no wifi. i hope this method works. i need factory settings and that ICON unlock custom when i boot it

  • Johnny Galan

    Ok i had my phone rooted then I unroot it with the Odin method n stock firmware. But there’s a problem when I wipe cache in stock recovery. my phone automatically reboot. Why is that.? I’m thinking rooting my phone again to try that new wicked rom on the m919. What’s the successful step to flash everything all over with the root again? I’m worried having problem with my clockwork because last time I try to root my super binary fail 🙁 . Dat why i unroot it first of all n now wipe cache crash on stock. Whattttt do I do!?

  • Hi, this is a tutorial for unrooting the Galaxy S4. I guess you are talking about this: http://droidviews.com/2013/root-and-install-cwm-recovery-on-samsung-galaxy-s4-gt-i9500/

    In that case copy the SuperSU zip file provided in the post to your phone and then flash it using CWM recovery mode.
    Since I had already rooted my phone with older method, I did not try the new CWM recovery by Cofface.

  • Leslie

    I did all the steps but when i triy to go into clock work recovery i dont get the root your device option plz help. Am using a GT-I9500

  • Wait for a year to root again?

  • after getting my phone stuck in a boot loop (i just got the S4 Yesterday) i will wait until the phone has been out for a while longer. the only reason i used the root was to take advantage of directory bind to free up memory. I will probably root again later, after the warranty has expired.

  • I doubted that too. Btw, can you share why did you unroot your device so early?

  • finally got it working. I think I was flashing the wrong firmware. I am restoring my phone from this site. thanks for the great work!

  • Try flashing the firmware again.

  • Hello, I am stuck in a boot loop. I tried to do a wipe but I get an error and then it goes back to boot loop. Any help would be great.