How to Install Stock ROM on Galaxy Ace Using Odin [GT-S5830]


install stock rom on galaxy ace using odin

The Samsung Galaxy Ace S5830 is a very popular low-end Android phone that has managed to survive in the market for a very long time. To cash its popularity, Samsung released various variants of this phone but no one could match it. If you own this little powerhouse (in a moderate sense) and want to install a stock firmware on it manually, this is probably the best place for you.

The reason for installing a stock/official firmware to your Samsung Galaxy Ace S5830 could be many. You may download the latest firmware for your phone and flash it to upgrade the Android OS. Some folks lose the warranty of their phone by rooting it or installing a custom ROM. By returning back to the stock ROM, you can reclaim the warranty. You might also wish to install the official firmware on your Galaxy Ace in case your phone is stuck at a bootloop a or some other problem. I got the idea to write the present tutorial on the request of a visitor who fell to the last situation.

Looking for this?

How to Install Official Gingerbread Firmware on Galaxy Ace S5830i


You need to make some preparations before you can install the stock/official firmware on you Samsung Galaxy Ace.

  • Download the latest firmware file for your Galaxy Ace S5830 from the link and extract the zip on your desktop: Download
  • Download and install the Samsung USB Drivers on your computer: Download
  • Download the firmware flasher program: S5830 Odin Multi Downloader 
  • Download Cooper_v1.0.ops file that will be needed each and every time you flash a custom Recovery or a stock firmware.
  • Charge your Galaxy Ace’s battery fully.
  • Backup your contacts, message and apps, etc.
  • Turn on the USB Debugging mode from Settings> Applications>Development> USB Debugging> check the box.

Some Firmwares:

Here are some firmwares for Samsung Galaxy Ace S5830-






India:  [mirror]

Australia:  [mirror]



United Kingdom (Vodafone):  [mirror]

France (SFR):


Germany (T-Mobile):

How to Install Stock ROM on Galaxy Ace Using Odin:

Having made sure that you have come up to all prerequisites described above, let’s move on to our next destination.

Open the firmware extracted folder and see how many files are therein. The method of installation for single and multi files are different. Follow the steps according to the condition that applies you.

1. Single Firmware File Installation:

If it has a single file with .tar.md5 extension, follow the following steps

  1. Run the S5830 Odin Multi Downloader v4.38.exe program
  2. When it is launched, check the three boxes, namely “One Package”, “Auto Reboot”, and “Protect OPS” as shown in the image below.odin-flasher-galaxy-ace-one-file
  3. Then click on the OPS button and select the “Cooper_v1.0.ops” file.
  4. Now check the “One Package” box again if it gets unchecked.
  5. Turn off you phone and boot it into Download mode: press and hold the Volume Down + Home buttons, then long press the Power key till the your phone’s screen turns up and you see the Download mode screen. Press the volume up when prompted.
  6. Click on the “One Package” button below and select the firmware file with .tar.md5 extension.
  7. Finally, click on the “Start” button and wait for the installation to finish and then your phone will reboot automatically.

2. Multi-Files Firmware File Installation:

If the firmware package consists of 3 or 4 files, follow the following steps.

  1. Run Odin Multidownloader for Galaxy Ace GT-S5830.
  2. Turn off you phone and boot it into Download mode: press and hold the Volume Down + Home buttons, then long press the Power key till the your phone’s screen turns up and you see the Download mode screen. Press the volume up when prompted.
  3. Check Auto reboot and Protect OPS check boxes. [ Note : Do not check one package option, use this option only when you need to flash a complete firmware  in one package.] galaxy-ace-selecting-files-in-odin
  4. Click onOPS” button and Load Cooper_v1.0.ops file on it.
  5. Click on BOOT” button and Select .tar (or .tar.md5) file with  APBOOT in the name.
  6. Click on PDA” button and Select .tar (or .tar.md5) file with CODE / PDA in the name.
  7. Click on PHONE” button and Select .tar (or .tar.md5) file with MODEM in the name.
  8. Click onCSC” button and Select .tar (or .tar.md5) file with csc / csc-multi in the name.
  9. LeaveEFS” blank.
  10. Finally, click on the “Start” button and wait for the installation to finish and then your phone will reboot automatically.


It will take a few minutes before you phones boots up and you can see the lockscreen. Wait patiently for some time and enjoy the newly installed firmware on your Galaxy Ace S5830.

Device Caught in a Bootloop?

In case your device does not reboot properly and it is stuck on the Samsung logo, the steps given below would help you recover the device.

  1. Open the back cover and pull out the battery of your device.
  2. Wait for 30 seconds and then put the battery back to its place.
  3. Now press and hold the Home + Power buttons together for about 4-6 seconds till you see a green Android bot followed by a screen with blue text with Android System Recovery written on the top of it.
  4. Using the Volume Down button highlight the “wipe data factory reset” option and press the Power/Home button to select it.
  5. When you  are asked to perform the action, select “yes”.
  6. When it is done, go to to “reboot system now” and select it.

Your phone should now boot normally. If you still find that the issue has not been fixed, reinstall the firmware. This time more carefully.

Check out Cool Stuff for your Galaxy Ace S5830:

Click Here

  • Bismillah

    thanks you very much :)))))

  • Janaki D

    how can I change the USB debugging setting if the phone is stuck in a boot loop?

  • vikram

    Windows 8.1 64bit, USB ERROR device failed enumeration
    how i resolve

  • Syed Shayan Ali

    please give me a verified url to download the firmware

  • Syed Shayan Ali

    .tar file with APBOOT in the name is absent

  • Yes.

  • Ken John

    Can I use this for turning back my phone from jellyblast to gingerbread?

  • Vivek Karwa

    hi Rakesh,Done all the Steps Carefully and everything fine but my DIALER not working.Cant Dial Calls.What the Prblm .how to solve this

  • srikanth a

    hi rakesh,

    what have you done after this?

  • srikanth a

    what have you done friend for this?

  • srikanth a

    same issue for me
    It is showing IMEI number but still SIM card is not detecting.
    showing insert SIM card.
    and in Notifications showing no sim card inserted.
    please help

  • Premnath Sathya

    saved me..
    worksjus fine ..
    thank u …

  • hi

    same network issue with mine,,, showing emergency calls only with CM 7.2.0.. plz suggest some thing for this..yes its showing IMEI number

  • io

    why my phone if get into recovery mode then apper samsung gio-s5660????then when i restart it will be bootloop

  • io

    why my phone cannot appear at odin…i have download all that things..???

  • io

    how if my phone cannot in debug mode

  • Show picture.

  • Imran Hussain

    My samsung GT-S5830 not performing download mode
    it hang the screen
    how to recover download mode (down+home+power key)
    please help me………

  • Chirag S. Biscuitwala

    thanks bro>>>>>
    it was a great help>>

  • Wezy Wezátor

    Thanks. That work great. Now I can Upgrade to some “hacked” ROM 😉

  • Taniket

    i flashed firmware with odin got a bootloop when in recovery i tried factory reset it failed and said rfs format failed on /dev/stl13 cant mount system….plz help its still in bootloop

  • Andi

    The downloads are down 🙁

  • HamIzan

    in this rom can be applied at gt-S6200 ??

  • DroidViews

    AndreyiAndrei You must have missed something while making preparations. Check things again and try.

  • DroidViews

    You must have missed something while making preparations. Check them again and try. It works!

  • AndreyiAndrei

    i have been waiting for 25 min. and the program stil working , what is the problem , i have removed the sim and the sd

  • Rakesh


    I did changes to vold.fstab file present in system/etc/ to swap internal memory with SD Card and now i lost access to my SDCard.
    If i do like this will I get my Vold.fstab file back and can access my SD Card????

  • Ameya Mandpe

    reboot it.. press POWER + HOME & reset factory settings & it will reboot n work fine. I ws facing the same problem n it worked for me

  • Ameya Mandpe

    gr8… tnx a lot.. finally done by doing factory reset… this thread ws great help 🙂

  • Sudheer Grandhi

    My phone is still rebooting please help me out ….

  • It is a perfectly working tutorial. Tested it several times. Just follow things carefully and do it again. In most cases users get into problem because they make a mistake.

  • Renz

    My phone still rebooting. please help me

  • Guest

    My phone still rebooting

  • Disconnect device, turn it off, boot in download mode and try again.

  • Can you see your phone’s IMEI?

  • priyanka

    m frm mumbai…just rooted the phone and get done with custom rom jellyblast 4.1.1 on my samsung galaxy ace..and there was network error…as it says emergency calls only…so its of no use…so m thnkng to get the original stock rom…its way better…does it will work properly? kinda scared

  • Aiko AS

    why too long time when i flashing my galaxy Ace ???

    Help me..

  • No way!

  • Saranga Gunathilaka

    I have a galaxy ace korean phone (SHW-M240s). I want it to convert into international version (S5830). Can this method apply to convert korean version M240s to international version (S5830)?
    Please reply me

  • Choose the nearest country.

  • kuro_chan

    im from philippines and i dont know what rom to download any6 suggestion pls??

  • Try a data/factory reset.

  • Eirul Rubi device always restart,,,,help!!

  • Yossi

    Sorry I can’t upload pics @the moment as Its more then 2mb and I just realised when I use a usb jig it boots to the Samsung logo and no further.
    But will only connect to odin in emergency download mode.
    Thanks for getting back to me

  • Show me the screen image.

  • Yossi

    Hi my ace will only load into ramdump mode and emergency download mode I tried flashing it in emergency download mode and odin gets stuck setting up connection I’ve been trying every method I found nothing seems to be working when I a jig it just shows a blue screen.
    Any help plz?
    Thanks in advance

  • Reinstall the USB drivers and restart PC.


    When I am putting my phone is downloading mode then my computer is says “USB device not recognized”..
    What to do..??


    How to do this step “”Turn on the USB Debugging mode from Settings> Applications>Development> USB Debugging> check the box.””” because I don’t have these options “Settings> Applications>Development> USB Debugging>”…??
    I have 4.2.2 and I want to put 2.3.6 using Odin.
    Plz help me out asap..

  • sudheerkumarmenon

    What an inspirational speech!

  • Roger Muller

    Merci de me désinscrire
    Roger MULLER

  • Firdaus Muhammad

    yes i have tried. It’s detected and everything after 6 minutes but it goes into a boot loop after successfully flashing on Odin.
    I am from Singapore and i believe i used the correct firmware. Maybe you can give me other working firmwares? Thanks

  • Have you connected the device to computer. If yes, select files in Odin and proceed.

  • Firdaus Muhammad

    Hi Rakesh, i dont know if i am on the download mode already or not because it’s stuck at “downloading…” Please help

  • lukica

    hi there, it seems i am doing something wrong. i have custom rom installed, did all the steps mentioned above (i think) , and suddenly odin stops working. if you need any more info, just say so

  • Kushkunj Arora

    #Thanks boss !! RElax now !! thanks so much !! SUCCSESFUll !!! 🙂 keep it up BRO !! 😉

  • cantoona

    hi please i need your help. my galaxy phone Ace GT-S5830i has been block. it only displays samsung on the screen..when i try to connect to the computer through the USB, it does not read. i have downloaded firmware for vietnam and tried to flash but it shows installation aborted. the phone was produced in vietnam. please help me out. i am confused.

  • cantoona


  • Sushant Ashish

    is it all? or do i need to do something else after the installation?

  • Install the official firmware meant for India with INU CSC using single file installation method:

  • Yes.

  • Wibisono Tan

    I want to ask about the installing firmware…
    above link that I am downloaded is only this file (S5830DXKT5_S5830OLBKT3_S5830DXKT4_HOME.tar.md5)
    so I flash it using one package method is it?

  • Sushant Ashish

    I performed the above steps and when i connected my phone with samsung kies……

  • Pull out the battery and enter download mode directly.

  • Leo

    Last step of “preparation”
    Turn on the USB Debugging mode from Settings> Applications>Development> USB Debugging> check the box.
    it has to be in my cellphone?, becouse my cellphone cannot initialize the system, do this guide doesnt work for me? am stuck at samsung logo after installing recovery-clockworkmod :´(

  • Yes, you can use the steps given in the above tutorial.

  • Henry Idrovo

    Hey there, very useful information, thanks for that but i got a question, i upgraded to jelly bean 4.2.2 but it’s kinda slow and using most of the ram so i don’t like it anymore and want to make downgrade to gingerbread 2.3.6 as it was the latest version i had in my Galaxy Ace S5830… should i follow the same steps? or there is a different procedure? thnx once again

  • No, you can’t.

  • Raj

    dude cant i installl the stock rom without odin…by moving the zip file to sd card n then flashing it in recovery mode????

  • ak

    wen i put custom roms i can msg and use my internet

  • You’re welcome!

  • Using this method does not affect EFS data. It might have been lost when you had installed a custom ROM.

  • ak

    i flashed my ace by following the above steps. all worked fine but the problem is i cant call any1 or message any1 or use internet. i havent lost my imei number and i get incoming calls
    plss hlp

  • SklyneCZ

    Very thanks so much!!

  • Raj


  • No, you can install it directly.

  • Raj

    I already have a custom rom installed, so to re-install the stock rom, do i have to remove the custom rom first and then install the stock rom?

  • The instructions are given above.

  • Raj

    hey i have installed jellyblast custom rom on my galaxy i want to revert it back to stock rom….so wht do i need to do…pls explain in short…n do tell me how to remove the custom rom also ….??

  • I can see you have not ticked protect OPS option. Close Odin, pull out device battery, and start over again, making sure that you do not miss anything.

  • michael tablante

    i have gt-s5830 android phone and i failed to install a custom rom
    now i have my phone bricked and i need to unbrick it..
    but unfortunately i am stuck at odin saying :

    Download Start…
    Create File…
    StartThread Detected : 1
    StartThread Detected : 0
    StartThread Detected : 0
    StartThread Detected : 0
    StartThread Detected : 0
    StartThread Detected : 0
    StartThread Detected : 0
    StartThread Detected : 0
    setup connection…

    ——it has been more than 20 mins so i tried AGAIN and try to capture the screen here is a screen capture from where i am stuck please help 🙁

  • No answer because I do not know what to reply. You will have manage EFS and then restore it to the root of your phone. See this:

  • no answer for me?

  • Robine

    Hey my phone is restarting again and again.. please help me out.. contact me at :

  • i think it might not be the efs folder the problem i did a factory reset and while it is formatting it says cant access system/csc/AMN/system and then it says rebooting could this be the problem on my phone ?

    PS: if this isn’t the problem plz answer me about efs data from other phone

  • don’t worry about illegal, in my country imei changing and pirated software use is normal (even though it is not fair) :S but all i want to know is that is there a way of using someone Else efs data and if yes can you show me the procedure plz if its illegal for you to post such a procedure in this forum than plz write me in my e-mail thanks

  • That’s why we always recommend backup. I do not see it a nice solution as it’s considered illegal.

  • so any idea if i can use someone elses efs data?

  • idk i bought it in this condition from a friend and he has no clue what he did with the phones OS he tried installing android v4.1.2 i think but he used the files from s5830i and bricked the phone i bought it from him after reading ur post i thought i could make it work and now all i see in google is that i must have a EFS backup to get rid of unknown baseband and unknown IMEI

  • EFS data? When did you lose it?

  • any chance that i can use someone else efs data?

  • i still get unknown baseband i cant get it working :S

  • Remove it and wait for some time, but if the device does not boot, pull out the battery and try installing again. Just follow the instructions carefully.

  • the odin downloader says close the serial port and wait until reboot should i remove the usb cable now or not? again sorry but im a noob with samsung flashing

  • Yes, it may be. Keep only one at a time. Kies will not connect if you phone has a custom ROM.

  • also sorry for not mentioning on the first post samsung KIES says this device is not supported i already installed the samsung drivers is that a problem?

  • Yes, you can install any firmware, Just pick one that is closest to your country and install it.

  • Hi sorry for the dumb question but its impossible to find or identify the firmware or the region of my phone (where it was bought because i bought it from second hand) the only thing i can see in the firmware archive is the version (or the SSN on the phone) mine is S5830GSMH and unfortunately its not on the archive
    Can i use another firmware instead plz help

  • panagiotis

    succes thank you from greece

  • In that case install the new firmware using the tutorial above.

  • why my phone not install , that , i can’t go to do usb debug beacouse my frimware are down and just say , samsung , samsung , samsung ..

  • Read the article again, you will find the link to solution.

  • Nice!

  • net

    thks for everything. got my phone back as if factory made.

  • Okay, I have added some firmware above.

  • net

    thks for your reply, but ifind difficult to identify the firmware for my samsung galaxy ace S5830 and i’m from india. there is no download link in the website. kindly help me

  • As for mistakes, you better know about it. Anyways pull out the battery, and perform a wipe data/factory reset from recovery.

  • Andrea Dénes

    I really liked this version of firmware installation! I followed everything step by step, but in the end when I rebooted the phone, just the ‘samsung’ sign were flashing and nothing else happened…
    I don’t know what to do besides try it again…
    Before all the process, I did a hard reset…
    Does anyone can tell me where did I make a mistake???

  • Trebuchet is the name of the launcher used in CM ROMs. Download Nova or Apex launcher.

  • Amit Digga

    its done…now wiping data worked…please read what i have done…about trebuchet ..keeping these crashes aside that theme was awesome

  • Amit Digga

    Help help help..

    (installing 4.2.2 jelly bean on my samsung ace s5830 2.3.6 ,after one day it started crashing.Some trebuchet error occurred with very little experimenting in hybrid settings….then I did some factory reset and wipe data etc and again installed the same from cwm5..then some crashes,error and again 4.2.2 JB…and some and it show busy when some one called me..which is clearly a problem…at last i open hybrid to try some look and i want to go back to firmware 2.3.6 which i had done before from this thread which was successful… but now)

    i tried it and my phone was stuck in boot loop..(.at the time rebooting some system,i dont know what to call it,
    appeared and some thing like android boot error or reboot error was written in yellow text)

    pressing Home + Power key and wipe data factory reset didnt work

    so i thought i would reinstall firmware but that too didnt work..again boot loop

    now i read that with that two buttons volume up key should also be pressed…with these three key even my phone screen is not displaying any thing…i can stlll open cwm5


  • how you turn off background data, and facebook syhhronisation does not work well (contacts)

  • Amit Digga

    My version was froyo..i updated to gingerbread 2.3.6 using kies..that worked..but i want to install better

    After rooting my phone i downloaded went into recovery mode

    there was no option “install zip from sdcard ” so i selected “update from sd card” and then it stopped booting up..
    After a month(due to exams) of that brick phone
    i thought i will update it to ics after downloading cwm 4 but got an error “status 7”

    Thanks to you…very easy procedure..its back to 2.3.6…
    (can you please send me tutorial link so i can upgrade it to better version may be through rooting)


  • Make sure you see Added!! text at the Message box on. If you do not, install the USB drivers, enable USB Debugging on phone, restart PC and phone, then try again.

  • I’m doing a single file installation, but when i go into download mode, my phone screen just says ‘Downloading…’ and never prompts me to press the up volume key. I tried pressing ‘start’ on odin anyway, and it tells me to connect my phone. Any advice?

  • I have’t got my actual Rom..2.3.4 i got 2.3.3…. And it is diffrent,…sad..any comments??

  • Danish


  • go to settings>language and change to english

  • Danish

    thanx it worked whn i did factory reset…but it is in any other language…i tried to change but there is no option as…

  • Danish

    it is keeping on restarting…

  • Settings> Applications>Development> USB Debugging> check the box.

  • Danish

    I cant find USB debugging in my ios rom…?