Wednesday, August 8, 2012

How to Install/Return Back Samsung Galaxy S3 AT&T SGH-I747 to Original Factory Stock Firmware

If yo want to return back your Samsung Galaxy SIII AT&T SGH-I747 to its original factory stock firmware, all you need to do is to install back its original factory stock firmware provided by Samsung.

Installing or flashing back the original stock ROM is useful in some other part like, if somehow having done some modding like installing a custom ROM, by means of rooting and you need to completely unroot you Galaxy S3. Because once you installed any unofficial ROM you can't get any official update on Kies or via OTA anymore unless you have your device runs in an official firmware.

This is also useful for fixing soft-bricks if somehow you messed up somewhere and end up with a soft bricked Galaxy S3, this guide might also help you to recover your Galaxy S3 and bring back to life in no time as long as you can still access the download mode.
You can't use Kies to reinstall back to original factory stock for it is only capable for upgrading the software, this method is also widely used by other Galaxy S3 advance users for upgrading or by downgrading purposes.
Flashing Stock ROM firmware on Samsung Galaxy S3
Samsung Galaxy S3, the successor to the hugely popular Galaxy S2 has launched around the world. Powered with Android 4.0.4 Ice Cream Sandwich OS, built with lightning fast Exynos 4 (International) 1.4GHz quad-core and Qualcomm Snapdragon (U.S & Canada) 1.5GHz dual-core processor.

What is a Stock ROM?

Stock ROMs are the firmware that has been released from Samsung Kies official firmware server or via OTA. These are being pulled from Kies by an Android firmware experts and carefully re-bundled it to make it flashable by using Odin flasher tool, via CWM and some prepared tool like chainfires’ Mobile Odin. This guide here tackles an Odin flashable stock ROM only, you might also see other methods like flashing via CWM and Mobile Odin (which is to be added soon).
Stock ROMs contains the binary and image files of the whole software packaged, like these:
* Sbl.bin
* cache.img
* factoryfs.img
* hidden.img
* modem.bin
* param.lfs
* zImage

Inside the stock ROM bundled, those binary and images files are packed in three different formats.
Some full packaged stock ROM comes in multiple package this includes with BOOTLOADER image and PIT files, but in flashing it’s been safe not to use these files.
PDA – This the software/firmware build number version and consists to a code of numbers and letters
CSC – (Consumer Software Customization) Refers to the specific country or carriers for that said firmware is being build.
This where it contains the default settings of each specific geographical region, carrier network providers and network data connections.
Phone – This renders the specific Baseband or device MODEM data (GSM/HSPDA.
PIT – the PIT file refers as ‘Partition Information Table’. This is only useful for fixing bricked devices if somehow something changed with the partition table layout of the phone’s system memory. But in normal flashing, you should not use this file, or you may screw up your phone if handed carelessly.

FAQ about flashing stock ROM

Q: Does it safe to flash stock ROM?
A: There is a risk danger in flashing firmware either original stock ROM and or custom ROMs on the device. Any unwanted interruption occurred will cause your device into softbricks. If it is your first time heard about this method,  it is highly recommended to search more and learn about flashing stock ROM before you proceed.

Q: Does Flashing will remove all my data stored on the device.
A: Yes and NO. There are two types of stock ROM, the wiped and non-wiped version. It is highly recommended that you should back-up all your important data stored in the phone’s memory like contacts, messages before flashing.

Q: Do I Need to ROOT or UNROOT my phone before flashing stock ROM?
A: NO need to root or unroot yor device, but you will loose root once flashing is made. So, you need to re-root your device again.

Q: Does Flashing stock ROM to my phone will erase the network lock?
A: NO. Your network (or SIM) lock will still remain active.

Q: Does Flashing stock ROM will remove root on my phone?
A: Yes. If you currently have rooted, your phone will return back to original factory settings after flashing. You need to re-root again to install any 3rd party applications.

Q: Does flashing an operator specific firmware will restrict my open phone to that operator’s network?
A: NO. Your phone still remain open for any Operator SIM. Operator specific builds usually containing “only specific country or carrier provider” logo, bloatwares, wallpapers and/or browser settings, etc.

Disclaimer: We shall not be held responsible if anything happens to your device by following this guide. You may proceed at your own risk, your phone is not a toy for us, it is your own personal property, it is up to you to decide on what and how to do about it.

Update: Warning! DO NOT INSTALL BACK the old 4.1.1 or 4.1.2 stock builds when your device already running on the 4.3 update or on any 4.3 base custom ROM that includes the new 4.3 bootloader. The 4.3 update comes with a secured bootloader, Odin will not let you through while flashing the old firmware builds.

Important Reminders before Flashing Galaxy S3 Stock ROM

- Make sure that your Galaxy S3′s battery is fully charge.
- Stock ROM packages comes in two formats the ‘Full-Wipe’ (delete your stored data after flashing) and the ‘Non-Wipe’ (it doesn’t delete your phone’s stored data) but it is highly recommended to make a back up all important files stored from your phone’s internal memory – contacts, messages, etc.  before flashing no-matter if it is Full-WIpe or Non-Wipe,  just to be safe and ensure that your stored data are in  safe  if something went wrong during the flashing process.
- Remember or back up the APN settings of your device. ( This only done if you try to install other regions stock ROM.
- Use a PC or laptop that runs in Windows OS, with a good and perfectly working USB serial port.  Odin will not work on MAC OS.
- Use the supplied USB cable for your Galaxy S3.
- Enable USB debugging from your phone’s settings. Go to Settings > Applications > Development, and tick the box that says ‘Enable USB Debugging’.
- Do a “Hard Reset” if you have a lot of 3rd party applications installed from your phone, this is useful to gain a smooth flashing. (Just make sure that you already back up all your important files before resetting your device.
- Ensure that KIES and any antivirus are closed and not running in the system tray! Kies will interrupt and doesn’t like Odin, it will block you from flashing.

Step 1: Download the needed tools for flashing

Odin Flasher ToolOdin3_v3.07
Samsung Galaxy S3 USB Driver (only needed if you haven’t installed the latest Kies on your PC)

Grab one of these Samsung Galaxy S3 SGH-I747 Original Stock ROM (or you can check out any latest releases if somehow not included here since there will be more upcoming updates in the future).
Reminder! This should not be used on the international version Samsung Galaxy SIII GT-I9300 variants for it may result to unwanted bricks! This works exclusively for U.S SGH-I747 only.

Grab the desired build version here: Galaxy S3 SGH-I747 Stock Firmware

Stock OTA Firmware Android 4.3 Jelly Bean build UCUEMJB
Released Date: November 2013
Your device must run on official 4.1.2 UCDMG2, before you can install the 4.3 update.

Stock OTA Firmware Android 4.1.2 Jelly Bean build: UCDMG2
Released Date: August 2013
No Odin stock firmware available instead use OTA update flashable zip file via stock recovery, you should install stock I747UCDLK3 first before you can install this one.

Stock ROM/Firmware Android 4.1.1 Jelly Bean build: UCDLK3 
Released Date: December 2012

Stock ROM/Firmware Android 4.0.4 ICS build: UCALG1
Released Date: July 2012

Stock ROM/Firmware Android 4.0.4 ICS build: UCALEM
Released Date: May 2012
(the original firmware when the Galaxy S3 sold in the U.S market)

Step 2: Extract the downloaded stock ROM

You need to extract the downloaded file which is packed in zip or rar files, so that you’ll get the tar.md5 file.

Step 3: Run and Configure Odin

Run Odin downloader Odin3_v3.04 on your PC desktop. Watch out the check-boxes options on the right top of Odin, ensure that the ‘RE-PARTITION’ is unchecked, only  the ‘AUTO-REBOOT and ‘F.RESET TIME’ checkboxes are both remained checked.

Step 6: Reboot your Galaxy S3 into Download Mode

To reboot the Galaxy S3 into  download mode , you need to turn the power off.  After it completely shut off,  just  press and hold the Volume Down key,  Home button and the Power ON/OFF button simultaneously.
Samsung Galaxy S3 Download Mode buttons Volume Down,HOME,Power keys
You should then prompted into a warning screen and asking you  to press volume up if you want to continue or volume down to cancel, just simply press volume up to get into download mode. The download mode then displays an Android robot and say’s “Downloading.. Do not turn off target!!”

Step 5: Connect your Phone to PC or Laptop

Once you already reboot the phone in download mode,  simply connect the phone to your PC or laptop USB.
In Odin window – the ID:COM box will turn to blue color and indicates the COM port number and a word “Added” on a log box will prompt you that the device is already detected or recognized by Odin.

Step 6: Load the binary .tar.md5 file

Now, you need to just simply click on the PDA button, then browse to the folder where the .tar or .tar.md5 you have previously extracted and then select and load it. Just like this image below, I used the I747UCALG1  stock ROM on this guide, so it came as I747UCALG1_I747ATTALG1_I747UCALG1_HOME.tar.md5.

Note: Do not put a ‘PIT’ file.

Step 7: Start Flashing or Installing the stock ROM

Once if all set and ready to fire-up, hit the “START” button in Odin to begin flashing the stock ROM.
Do not ever interrupt the phone while already in flashing progress, like disconnecting the cable or turning off the device. Just wait until it completely finish.

Step 8: Watch out for the word PASS!!

When the Stock ROM installation successfully completes, you will then see a word “PASS” in Odin. This indicates that the flashing was already finish, and on the log box it says “All threads completed. (succeed 1 / failed 0)”. The phone will just then automatically reboot, then it’s to remove it from PC or laptop USB connection

Confirm your fresh firmware installed by typing *#1234# or
Go to Settings>About Phone>Firmware info.
You can also do factory reset by dialing *2767*3855#.
Check and reconfigure your APN settings when data networks connection issues encountered.

Possible errors that you may encountered, this is based on my own experience while flashing stock ROM on Samsung Android devices. These are just a few hints on how to resolved it.

Q: I got an error message that says “Set-up connection Failed” ?
A: 1. Check your USB connection from the phone to PC,
2. Connect to another PC USB port
3. Check and try to another USB cable
4. Re-install the USB driver.

Q: Odin just suddenly stuck in the middle of nowhere while in flashing progress, It isn’t responding at all?
A: Check for possible program that might interrupt the process, like disabling the anti-virus and closing any running programs.
Try to use another PC or laptop,

Q: I experienced bootloop or the phone just stuck on Welcome Logo (phone always stop at bootanimation) and it won’t boot normally?
A: You can fix it via recovery mode option, do this:
Boot in recovery mode
1. Press and hold Volume Up, Home and Power button.
2. Use volume keys to select, Up and Down and Power or Home key to select the option
3. Select Wipe Data/Factory Reset using the Home button.
4. Next select the Wipe Cache Partition
5. Lastly, select Reboot System Now to reboot your Galaxy S3 in Normal mode.

Q: My Galaxy S III is now soft-bricked, what should I do then.
A: For 3 years, never been happened to me soft-bricking my older phones using Odin, I was once got soft-bricks using ROM manager. But if somehow this happens to your device, here’s how.
If you can still access the phone in Download Mode, then you can recover it by repeating the flashing procedure again.
If not, that’s seriously bad. The only option is to send it to your nearest service center. Folks at service will recover it by forcing to re-flash the firmware via JTAG.

That’s it for now on how to install or return back Samsung Galaxy S3 SGH-I747 stock ROM. All other questions and suggestions are most welcome, just let me know by leaving a message on the comment form below. Enjoy!.


  1. I did everything as you explained but it still fails what can I do? I bought my phone from Canada (Bell) it is locked phone It fails while it is writing rom...

  2. To avoid any confusion to all Canadian users of Galaxy S3,
    Bell, Rogers, Telus and Sasktel is Galaxy S3 GT-I747M AT&T is GT-I747 without an "M" that's the product code given by Samsung. Although both has the same hardware configuration but uses a different firmware build for each specific carrier providers.

    You may need to grab Bell's stock ROM I747MVLALE8 ICS 4.0.4
    It failed simply because this is not a stock ROM for Bell (Canada).. this is for AT&T (United States).

  3. Hi. Im planning to get an unlocked at&t galaxy s3 4G phone and use in my country (in Asia). I would like to know if I can install a non carrier specific ROM on my phone, for example the ROM they use in the international version. Also my language would definitely be not supported in the phone how can I add it? thank you

  4. Its a big No! U.S and Canadian versions cannot be installed with international Galaxy S3 GT-I9300 firmware. It may result to serious brick which is hard enough to recover..

  5. Thank you! Thank you! Thank you! You saved me $600 with your "Possible errors that you may encountered" section. I was using ODIN to restore and it wouldn't boot past the Samsung logo. Booting into recovery and wipe data/factory reset did the trick.

  6. Hello,
    I have a I747 but the base version is a UCALH9. Will the UCALEM work on this phone or do I need another type of base version?

  7. Hi Rick, Yes UCALEM, UCALG1 all works these are full stock firmware. UCALH9 released via OTA but just a patched for UCALG1 and not a fully updated firmware build.

  8. friend.. how do i know what stock ROM/Firmware ICS build is my s3?? reply pls ><

  9. check thru settings>about>firmware info or type *#1234#.. If you installed other region firmware, send me details of your Country/provider.

  10. You. Are. A. Beast. i appreciate this guide as it helped 100% :) worked after going thru the Q & As after initial steps! Great Guide and many thanks!

  11. HI This did work for my Galaxy S3. I have a S2 and want to know if the above steps will also work on the older model?

  12. No, this method is only for Galaxy S3 and will not work on Galaxy S2, each Samsung models has its own unique firmware builds.

  13. Thanks for the quuck responce. Do you have or know of a ICS build for the S2?

  14. Yes, almost all ICS build! send me country/provider and model number s that I can give you the exact firmware ICS build.

  15. Provider AT&T/USA
    Model: SGH-I777
    Will the Odin3 work with the Gallaxy S2 or will I need a differant version of that Odin as well?

  16. no, it will not work sir...

  17. Any help would be appreciated...I purchase a samsung note sgh-I717 from classified...First thing I wanted to do is see if there was fireware updates for it so i download kies and try to get fireware...error your device does not support upgrading via kies......i called att see if they could help with this but all i got out of them is your phone is unlock,we tryed the unstall/reinstall unplug replug bit...then I called samsung again uplug replug unstall/reinstall but then they finually asked for specification of model number sgh-i717,android version 2.3.6,baseband T769UVLB7,Kernal,builder number gingerbread.ucla1......problem found your phone has been rooted... baseband version should be I717UCLA1 but nothing on how to fix or what to do only that you can call back tommorrow and someone from our tech support can help you with flashing back again next day and was told to call at&t they could help me with this... my question here would be i would like my phone back to original factory stock and are the step for sgh-i717 the same as the i747 and if not where can I get the downloads so i can flash myself for my i717,also i am useing a tmobile service on the note if I flash will it lock my phone..

  18. Here's the original ICS 4.0.4 for AT&T Galaxy Note I717.

  19. Hey there, I did this and the screen is stuck on SAMSUNG with a blue pulsating LED... I can still get in to download mode, any suggestions?

    Thanks for this!!

  20. If I want to do the exact same thing to galaxy note 2 how?

  21. I didn't watch out the word PASS on odin while flashing then I found weird apps from no where and I saw at first boot upgrading android 124 apps or something every time I reflash the phone these ad apps come again what should I do?

  22. Hi John:

    I am stuck at the SAMSUNG logo as well. Were you able to fix this issue ? Please let me know

  23. Hey Santosh,

    Try this.

    1. Power off your phone.
    2. Hold the Vol Up + Home + Power Button and release after you see the first samsung sign. This will leave you in recovery mode.
    3. When you are in that mode. Scroll with your volume buttons to the Wipe Data/Factory Reset (Using Power button to click), and afterward do the Wipe Cache.
    4. When all is done, you can use the Reboot Now option.

    You should be booting into your phone regularly again.

  24. I was like that and i try to reflash the stock rom again. after i install the stock rom again i wipe data/factory and cache and it work for me.

  25. Hi, My Rogers GS3 seems screwed. I had it rooted and had CWM, and tried to update to jellybean. It didn't work, and things went sideways.
    Now my phone no longer has 4G. It only goes between E and G.
    I've tried unsuccessfully numerous times to flash a stock rom (both ICS and jellybean) and now Odin always fails right at the start. (It used to work fine, and I know my cable is good).
    I've got stock recovery again, and I did a factory reset/wipe and cache wipe.
    Still no luck.
    Any ideas??

  26. Try to use Rogers stock ROM, this supposedly for AT&T only, U.S and Canada uses a different baseband builds.
    Jelly bean:
    Ice Cream Sandwich:

  27. I have an S3 I747 from ATT USA.
    I tried updating it using Kies, but the download failed and then the phone got screwed.
    So i used this method and my phone worked fine with the may edition ROM,

    I wish to try the Latest jelly bean ROM, will it be safe ?
    Or should I be content with version 4.0.4

  28. Yes, you should first try the May edition co'z the file size is too small, but all of them are safe to flash.

  29. the May edition is working fine, so should I try out the Jelly Bean version ?

  30. Yes, flash it as you may want Jelly Bean.

  31. HI i got screwed with some other rom and i boot my phone up and it gets stuck on a blue pulsing led light. and when i try to get in recovery mode it says recovery booting and then shuts off. Can you help me cause i dont want to tell my parents they will be really mad?

  32. Is this guide to go from jelly bean 4.1.1 back to ice cream sandwich 4.0.4? If yes, can I use it on my Verizon Galaxy S3? Thank you.

  33. A big NO! This is for AT&T Galaxy S3 only, don't even try it.
    If you want to restore back to 4.0.4 Ice Cream Sandwich look for the stock firmware here:
    Then follow the how to install step by step guide here:

  34. Thanks. I see that the guide says that I have to unlock the bootloader, but in order to do this I must be rooted. Does this mean in order for me to go back to 4.0.4 I have to be rooted? What if I don't unlock the bootloader and try to go back to 4.0.4? Thanks.

  35. Hi i would like know if i can restorw my Samsung s3 sgh-i747 AT&T usa to factory build from Samsung firmware that only have that one without any add to operator. And it is work to usein any world place any country. I live in colombia thabks and hope to responce as soon as possible

  36. In order for you to use the phone everywhere around the world, you need to unlock the it. Installing any firmware it stays locked with a certain carrier operator.

  37. To unlock the device follow these instructions: (no downloads or payment required :P )
    On your phone dial *#197328640#
    click on UMTS > Debug screen > Phone control > Network lock > Perso Sh256 On
    wait for a few seconds say 5 seconds, click on Menu and click back
    now click on NW lock nv data initialization
    wait for another few seconds... click on your power button and restart/reboot ur device....
    Congratulations! :)

    And thank-you DroidAngel for the above tutorial! :) Just updated it, feels alot smoother now! I await the 4.2 update! do let me know once available! thanks again!!

  38. Hi I have installed cyanogen 10 with this tutorial I can go back to the Stock ROM

  39. Yup just perform Nandroid back-up and don't forget to perform Wipe Data for a cleaner restoration.

  40. hi i have a question i brought an galaxy s3 off trademe(nzs ebay) in new zealand. and i rooted my phone and flashed a custom rom (foxhound rising 2.0) on jelly bean 4.2.1. now the problem is that when a new android update comes out i want to be able to receive the OTA updates and i would have to unroot. i forgot to do a backup of original rom and i forgot which one i had. i live in new zealand the phone is open to all operators. there is a stock rom for new zealand but its got a carrier name next to it so i dont know if i should be using that one.

    the AP is 19300XXEMA2
    CP 19300DXELK1
    CSC 19300OLBEMA1

    (although i think this is the numbers for the custom rom)

  41. i have s3 i747 and i bought it from u.s and did unlock here with mobile technician and now i flashed to custom ROM and iam not happy with that ROM , now can i go back to the ORIGINAL ROM (UCALEM)(ICS) ?


  43. Stock ROM can't unlocked and locked devices. It's just an OS.

  44. Wow men, excelent, you save my as.. I have a question, my phone have a black square at the home screen, it says it is in factory mode.. How can i remove it?? Upgrading to a new oficial rom?? from kies? Thanxs a lot

  45. Hello, thanks for the tuto, i have an unlocked at&t galaxy s3 ICS, i don´t know how it is unlocked, if i upgrade via kies i lost my unlocked phone? thank u

  46. Firmware do nothing about unlocking, it doesn't have the capability to unlock nor re-lock the phone.