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.
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:
- ODIN Multi Downloader v4.42 and the cooper OPS file.
- Samsung USB Driver for Mobile Phones.
- Windows 10 Registry File (Optional, please see below)
- Stock Rom. i.e. Sanmobile
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 126.96.36.199, 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 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:
- Open a text editor on your computer. i.e. Notepad
- Type the following:
Windows Registry Editor Version 5.00
- Instead of saving this has a text file, save the file as a reg file. i.e. gts5830.reg
- 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.
- Download the Windows 10 registry entry linked above or create your own file.
- Right-click on the registry file and select ‘Merge’ and then confirm you wish to continue.
- Once installed, reboot your computer.
- Install the Samsung USB Driver for Mobile Phones and reboot your computer.
- Place the mobile phone in download mode by holding the volume down, power and middle bottom button at the same time.
- 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.
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.
- Make sure the phone is fully charged.
- Turn your phone off.
- Connect the phone to your computer via a USB cable.
- 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.
- Run the ODIN software.
- Select the OPS file.
- Select the ‘One Package’ option from the top left area if not selected.
- Then select the tar file as the ‘One Package’ down the bottom right.
- 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!
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.