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.

Notify of
Newest Most Voted
Inline Feedbacks
View all comments
Afaq ahmad
Afaq ahmad
10 years ago

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

9 years ago

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.

9 years ago

Hi Muhammad,

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

Best Regards


9 years ago

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

Gary Northeast
Gary Northeast
9 years ago

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.

Lam Mohamed
Lam Mohamed
9 years ago

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

9 years ago


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.

Arnold Muzuhwa
Arnold Muzuhwa
5 years ago

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

2 years ago

Thank you very much, I’ve been trying to fix the cell phone for half a year and I couldn’t until I found this blog, good luck to you