How to Install a Samsung Galaxy ACE GT-S5830 Stock Rom (Firmware) using ODIN

This guide is about how to install a Samsung Galaxy ACE GT-S5830 stock rom (firmware) using ODIN.

2018 Update: I’ve updated this blog post for those using Windows 8.1/2 & 10, to help people resolve the error code 43 problem and to use Odin.

Samsung Galaxy ACE GT-S5830Background

I’ve used a custom rom on this mobile phone for around five months, and I wanted to reinstall a stock rom supplied by a mobile service provider. This would be a great idea if I intended on reselling the phone, but I actually just wanted to restore a stock rom.

WARNING: By following this guide you can damage your phone and stop it from working. You use my Galaxy ACE guide at your own risk! This is not a 5830i guide! So if you have the ‘i’ model, please don’t follow these instructions. I don’t vouch for any drivers or software linked in this blog post.

What you need:

The above links are to downloads.

ODIN and the OPS file

The ODIN software is what speaks to the phone and the OPS file is a configuration file for the mobile phone. The OPS file needs to be called cooper_v1.ops.

Samsung USB Driver for Mobile Phones

I used Samsung drivers, but I’m sure many other driver versions are fine to use.

Windows Registry File

I use Windows 10, but I think on Windows 8.1 and above people have experienced problems getting their operating system to see the phone, even after the Samsung drivers have been installed.

People see error messages:

Unknown USB Device Device Failed Enumeration

Unknown USB Device (Device Failed Enumeration)

Code 43 A request for the USB BOS descriptor failed

Unknown USB Device (Device Descriptor Request Failed)

Windows has stopped this device because it has reported problems. (Code 43)

A request for the USB BOS descriptor failed.

There is a link above for a Windows 10 registry key, which you can merge to fix this problem. Once you merge the file, reboot the computer. I’m not sure if the registry key works with Windows 8.1/2.

If you don’t trust the Windows 10 link above or would like to know more about the key, below are instructions for Windows 10 users:

  1. Open a text editor on your computer. i.e. Notepad
  2. Type the following:
    Windows Registry Editor Version 5.00



    “SkipContainerIdQuery”=hex:01,00,00,00Windows Registry Key

  3. Instead of saving this has a text file, save the file as a reg file. i.e. gts5830.reg
  4. Close the text editor.

The stock rom.

I’ve used a stock rom for a mobile phone provider in my country. The file I used was in a ‘tar’ file, that I extracted from a zip file. The ODIN software will read the tar file, so there is no need to perform any further extractions if your stock rom archive file is similar.

Note: With an unlocked phone, I didn’t care which service provider’s stock rom I used. I didn’t need to install a stock rom for my specific mobile service provider. 

How to install a stock rom on a Samsung Galaxy ACE GT-S5830.

Install the Samsung mobile phone drivers

If you are running Windows XP, Vista or 8.0, you shouldn’t need to add a registry entry. The below instructions were tested on a Windows 10 computer.

  1. Download the Windows 10 registry entry linked above or create your own file.
  2. Right-click on the registry file and select ‘Merge’ and then confirm you wish to continue.Registry MergeRegistry Editor
  3. Once installed, reboot your computer.
  4. Install the Samsung USB Driver for Mobile Phones and reboot your computer.Samsung USB Driver for Mobile Phones
  5. Place the mobile phone in download mode by holding the volume down, power and middle bottom button at the same time.
  6. Connect the phone to the computer via a USB cable.

If all has gone well, you should see the device appear as a Samsung Mobile Modem and SAMSUNG USB Composite Device in device manager.Samsung Mobile Modem

Flashing Galaxy Ace GT-S5830 Firmware using Odin

If your computer can’t see the mobile phone in device manager Odin will not work, unless the driver have been properly installed.

Warning: Do not interrupt your phone during a ROM installation / upgrade, as it could stop your phone from working.

  1. Make sure the phone is fully charged.
  2. Turn your phone off.
  3. Connect the phone to your computer via a USB cable.
  4. Put the phone into download mode by pressing the ‘power’, ‘home’ (bottom middle) and ‘volume down’ buttons at the same time until the ‘Downloading…’ message appears on the phone’s screen.GT-S5830 Download Mode
  5. Run the ODIN software.ODIN GT-S5830
  6. Select the OPS file.
  7. Select the ‘One Package’ option from the top left area if not selected.
  8. Then select the tar file as the ‘One Package’ down the bottom right.
  9. If you see a port mapped with a COM number, you can press ‘Start’ to proceed.

The problem I experienced.

Stuck on downloading the new rom.

During my first attempt to flash a stock rom, nothing happened! The software saw the phone, but appeared stuck on MIBIB download. After ten minutes I knew something was wrong. It turned out that his occurred because the OPS file had the incorrect name. Bizarre!

ODIN Android

Once I was using the correctly named OPS file (as mentioned above), the flash worked properly.


I now have the phone back to running Gingerbread and using a stock rom from another mobile phone provider.

14 thoughts on “How to Install a Samsung Galaxy ACE GT-S5830 Stock Rom (Firmware) using ODIN

  1. Afaq ahmad
    April 3, 2014 at 6:37 am

    can i root my galaxy ace gts5830 android if yes plz tell me how.

  2. April 3, 2014 at 7:16 pm

    Hello Afaq,

    Yes you can. If you use the search facility on my blog, you will find a post telling you how to root the phone. 🙂

    Best Regards


  3. muhammad
    August 30, 2014 at 1:53 pm

    Thank you very much. Your comment about the OPS file name is what i missed for one complete night. I’ll share this link on xda-developer. Thank you again.

  4. 8Bit Mammoth
    October 12, 2014 at 9:10 am

    Hi Muhammad,

    You’re welcome and thanks for leaving a comment and mentioning on XDA.

    Best Regards


    November 8, 2014 at 12:18 am

    hello, pls i ve got a serious problem with my galaxy ace, it got bricked after i tried to flash hyperion rom, now it doesnt enter recovery nor download mode, im just very confused pls help

  6. November 8, 2014 at 9:14 am


    I think you’ve tried to flash a rom meant for another type of phone. I’ve no experience of this, but this is what I would try:

    1. I would still try and place into download mode and even if only a blank screen, I would still check to see if ODIN recognised the phone.
    2. There might be a way to recovery with a usb jig, and you could research to see if that is an option to try.

    Other than that, I have no further advice, but perhaps others do. I hope you manage to resolve the problem.


  7. Gary Northeast
    November 24, 2014 at 12:44 am

    Many thanks for this, it was a huge help. Managed to get my daughter’s old Galaxy Ace running again after she forgot her password.

  8. November 24, 2014 at 10:29 am

    Hi Gary,

    You’re welcome. Glad the post was able to help. 🙂

    Best Regards


  9. Lam Mohamed
    December 31, 2014 at 7:42 pm

    thanx man 2 me it worked 100% on my ace gt-s5830 but at first it was stuck @ MIBIB til i renamed the file to cooper_v1.0.ops…
    alot thank bro

  10. January 7, 2015 at 5:02 pm

    Happy New Year Lam,

    Fantastic, you’re welcome. 🙂 Thank you for leaving a response.

    Best Regards


  11. shyne
    January 7, 2015 at 8:23 pm


    I try to upgrade my Samsung GT-S5830 by pressing the power button, home and volume down button, on screen downloading start, but it’s nothing happen waited for 20 minutes still nothing just show downloading, please can you help.

  12. January 7, 2015 at 9:03 pm

    Hi Shyne,

    If using ODIN please make sure it is version 4.42 and the OPS file is called ‘cooper_v1.0.ops’. If you are still experiencing a problem, please tell me what the ODIN message(s) are.

    Best Regards


  13. Arnold Muzuhwa
    March 24, 2019 at 7:58 am

    can I boot my galaxy ace gt s5830 it is not booting up after I tried to flash it using odin 3

  14. March 24, 2019 at 9:41 am

    Hi Arnold,

    Thanks for leaving a comment. It’s a shame you’ve run into a problem. Obviously as my warning states, your phone could stop working. If I was in your position, I would look at whether Odin still detects the phone in download mode. I hope it is able to. Then if Odin detected the phone, I would consider using another ROM, but I would make sure the phone is fully charged before proceeding. Obviously this is risky, so you do this at your own risk as you could damage your phone and stop your phone from working.

    I hope you’re able to get your phone working again.

    Best Regards


Leave a Reply