Tuesday, November 20, 2012

How to Flash/Restore back Samsung Galaxy Ace 2 I8160 Original Stock ROM Firmware

This is the step by step and the proper procedure on how to flash, restore or install back your Samsung Galaxy Ace 2 GT-I8160 original firmware or stock ROM. This has been useful and can be done only if you have modified your Galaxy Ace 2 by means of rooting, installing custom ROM, custom recoveries, custom kernels and system images. This method is called manual flashing, since we are going to use a flasher tool to install back the device original factory default firmware like the way how you bought it out-of-the-box or previously updated through Kies and OTA software updates. A flashing processes is also useful for fixing soft-bricks in-case your Galaxy Ace 2 ended-up unusable when you messed it up from modding like you've only have your device just stuck at welcome screen logo or it doesn't boot normally.

What is a Stock ROM and how to find which one is for my Galaxy Ace 2?

As I told you, the stock ROM is the original firmware installed on your devices like "Android 4.1.1, 4.2 Jelly bean" since how you bought it and or updated via Kies and OTA. Each country of origin from where your Galaxy Ace has been released uses a different firmware build versions. This firmware can be easily determined by seeking the product code of your device and also with CSC's or Consumer Specification Codes. For example in United Kingdom it uses a "BTU" CSC code for unbranded Galaxy Ace 2 and also other CSC's for branded or locked by network operators.

It doesn't mean or sounds like that if you're in Germany and then your unbranded Galaxy Ace 2 has a "DBT" CSC code. What if you have your device bought by you or by your friends, family members and etc from France or nearby European countries and send it with you in Germany. So, the best thing you should do is to check and verify first you're device original firmware before downloading a specific stock ROM. Although, it will not harm your device if you have installed the wrong one but there is a big conflict when you try to update though Kies and or via OTA. Kies will read and check your device system firmware before it will release you an update.

How to check your Samsung Galaxy Ace 2 product and CSC codes:
1. A model number can be check at the back of your device battery. The last three digit number refers to which country it was released or originated. You can also check it  via your device settings and some codes.

2. Checking your device current firmware information.
The first three digit letters after CSC info - ex: I8160XXXxxx

Model NumberSettings > About > Model NumberGT-I8160
Android VersionSettings > About > Android VersionAndroid 4.1.1 Jelly Bean
Product CodeKeypad > *2767*4387264636#GT-I8160xxxBTU
FirmwareVersionsKeypad > *#1234#PDA: I8160xxxxx
CSC: I8160XXXxxx
Kernel VersionSetting > About > Kernel Version2.6.35.7-I8160xxxx-xxxx
rxx@xxxx #2

FAQ about installing back your Galaxy Ace 2 original firmware

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.

Important Reminders before Flashing Galaxy Ace 2 GT-I8160 Stock ROM

- Make sure that your Galaxy Ace 2'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 USBserial 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 is closed and not running in the system tray! Kies will interrupt and doesn’t like Odin, it will block you from flashing.

Where to Download Samsung Galaxy Ace 2 Stock ROM?

It's all around the internet, just search for your firmware build number on Google and all other search engines or you can also directly grab it at sammobilesamproXDA-Developer etc. You may also visit us most often for we will also reports latest all latest Samsung Galaxy Ace 2 software updates.

Step 1: Download the needed tools for flashing

Odin Flasher Odin3_v3.07 link Tool and USB Driver Ace 2 USB Driver

Step 2: Extract the downloaded stock ROM

You need to extract the downloaded file which is packed in zip  files, so that you’ll get the tar.md5 file. If you miss this step you'll only get error.

Step 3: Run and Configure Odin

Run Odin downloader Odin3_v3.07 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 Ace 2 into Download Mode

To reboot the Samsung Galaxy Ace 2 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 thePower ON/OFF button simultaneously.

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.

Your COM port number might be different from mine. If you do not see a COM port number then there’s something missing or wrong. You may read again from the top of this post.

Step 6: Load the binary .tar.md5 file

Single Packaged Stock ROM
If the stock ROM is pack in One .tar.md5 file only the PDA, CSC and Phone modem are already included to it. 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 United Kingdom unbranded Galaxy ACE 2 stock ROM on this guide, so it came as

Build numbers varies on each product code, specific geographical region and network CSC (Consumer Software Customization) codes.

Note: Do not put a ‘PIT’ file.

Stock ROM with Multiple Files with PDA, CSC and PHONE files
If the files came with three individual .tar like PDA, CSC and PHONE
packages, you’ll need to load each specific file formats on each designated buttons.

PDA button – select the .tar file associated with a name CODE after the build number like – CODE_I8160xxxxx_xxxxx_.tar

CSC button – .tar file associated with a name ‘CSC’ after the build number like – CSC_XXX_I8160xxxxx_xxxxx_.tar

PHONE button – .tar file associated with a name ‘MODEM’ after the build number like – MODEM_I8160xxxxx_xxxxx_.tar

Note: Again, DO NOT load or 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. This only happens if you installed other regions stock ROM.

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 Ace 2 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! you have now learned how to install Samsung Galaxy Ace 2 GT-I8160 stock ROM. You can use this procedure again and again, using any future stock ROM that only match with your device.
All other questions and suggestions are most welcome, just let me know by leaving a message on the comment form below. Enjoy!.


  1. How can the SIM lock be removed on this phone.

    Also is there any problem installing newer Android rom if SIM lock is on?

  2. SIM locked is a different issue, Android firmwares can be installed to either locked and unlocked devices. There are many online unlocking services out there you can try.

  3. Can you please help? After flashing Jelly Bean ROM 4.1.2. I try to root it with 2.4.6 GB root pack. Now i am stuck at the the booting page. Im not even at the animation page. It just hangs there. I tried flashing the original ROM but no avail.

  4. Try this, but I'm not sure it would fix.
    - Boot onto recovery mode. Volume up+Home+Power button. Choose that 'Wipe Data/Factory Reset' option
    - Removed the battery for a while, then put it back again.
    - Flash the stock ROM:
    - After flashing, do factory reset again...

  5. See Hung, did DroidAngel's solution work? It is important for me because I will do the same, I will revert back my Ace 2 from 4.1.2 to 2.3.6 and I dont want to make my phone junk

  6. Doesn't say the stock Rom info at the back of the phone.

  7. And with *#1234# it tells me my current not original rom info, so how the hell am I meant to know the original stock rom?

  8. Dah, flash unbranded stock ROM according to your country of origin, i.e.UK get BTU, Germany get DBT..

  9. I'm from Egypt, bought my phone from Saudi Arabia and then flashed the latest official jellybean turkish firmware I8160XXMH1 but didn't backup the APN settings as i don't know what they are! now i want to downgrade it again to my original rom I8160JPLK.. i tried and flashed it but it stucks even before the animation and cant open the recovery mode.. so i flashed back the jellybean.. but it's very slow help me backing to gingerbread pls..

  10. please help me to search stock rom samsung galaxy ace 2 portugal-tmn version

  11. I once rooted my Galaxy Note 2 GT-N7100 and flashed it with custom ROM omega. And I've changed to Galaxy Note 3 GT-N900 after its released. I gave my note 2 to my gf. Before I gave to her, I did reset the binary and flashed it with official ROM. But at the end, I found that phone has been installed with the official stock ROM but still contained a wrong CSC code (I checked with samsung kies), although I flashed it with official ROM from my country (XSE Indonesia). I read so many articles talked about how to change CSC, but those need a root access. Unfortunately, this phone current firmware is android 4.3 with knox bootloader which means I will get a knox triggered if I re-root the phone. And indeed, I don't want the knox triggered is occurred as well. If anyone has an answer about how to change the CSC to my country region without triggering the knox, please let me know. I just wanna give this phone to my gf as closest as possible with factory made before, but with the newest official firmware for my country. Anyone?

  12. For mistake I used PDA in Bootloader file box (in ODIN 3.07). I try installing PDA file for repair in the PDA box. but, now my phone can not start. i think the bootloader of the phone is damage. Please i need to download apboot file for repair bootloader. where i can find this.

  13. The bootloader wouldn't flash at all when you put it in Odin's AP section, it will just gives you an error as invalid file and won't let you flash through. :) You might have any other caused resulting to bricks. Here's what you need to do, Extract the firmware then find the boot.img file. repack it into .tar file packaged, then flash., http://forum.xda-developers.com/showthread.php?t=2223870

  14. Hi,

    I have downgraded from Jellybean to Gingerbread using Odin 3.07 and the phone is stuck in a boot loop. I have tried to enter the recovery mode (volume up, home and power button) but the phone will not enter this mode.
    Any ideas?
    I can re load Jellybean back onto the phone and it starts up ok in Jellybean


  15. Try to flash back to 4.1.2 then see if bootloop resolves.