This blog post tells you how to unlock, root and install at custom ROM on a Samsung Galaxy Ace GT-S5830 mobile phone.
I’ve purchased a second-hand Samsung Galaxy Ace GT-S5830, and thought I would write a getting started guide, covering my initial setup of this Android mobile phone, such as performing an unlock, root and installing a custom rom.
More specifically this guide covers the following:
- Performing a factory reset.
- Resolving the ‘draw pattern to unlock’ issue.
- Rooting the S5830.
- Unlocking the S5830 (you don’t need to pay for an unlock code!).
- Installing CWM recovery and backing up the rom.
- How to install a custom rom on the Galaxy Ace.
WARNING: You use this Samsung Galaxy Ace GT-S5830 guide at your own risk. There are different ACE models, so please make sure you are using the correct Ace model for this guide! If you damage your hardware or get into any trouble or break the law, you are not to hold 8Bit Mammoth, or any business or person associated with the blog responsible. It is possible you could ‘brick’ your phone, and it won’t work.
WARNING: There are some circumstances where unlocking your phone is illegal! Please respect the law. You will void your warranty by using this guide!
WARNING: This guide is for Android Gingerbread users! There could be differences for people using earlier versions of Android and I don’t recommend you follow the guides, if you are not at least using version 2.3.3.
WARNING: The final warning is please make sure your mobile phone is fully charged at every step below. You don’t want it running out of juice / power during these steps.
Introduction
The Galaxy Ace I purchased is old, no-longer covered under a contract and isn’t stolen! I brought this phone, along with a new microSD card from a large second-hand phone seller. Previously I was using the Galaxy Mini as my main phone, and what attracted me to this phone is the improved specification, such as the screen, processor and camera, for a reasonable price.
I also decided to install a custom rom on this phone, which is covered below. Though if you only want to root, unlock and backup your phone, those details are also covered. The screenshot above is of a custom rom.
How to perform a factory reset
Upon turning on the phone, I was presented with ‘draw pattern to unlock‘. I looked through the supplied paperwork and couldn’t find the details, and then thought about contacting the seller. Then I just decided to save time and perform a ‘factory reset’.
Now performing a factory reset will wipe data off the phone (not the microSD card). I’m not interested in someone else’s old data, and I was sold a new microSD card anyway!
- Turn the phone off.
- Press the power button (right side) and the menu button (middle bottom) until you enter the ‘Android System Recovery’ menu.
- Then select ‘wipe data / factory reset’, deleted all the data, and after that ‘wipe cache partition’.
- Now reboot the phone.
It then took a while for the phone to boot up, but the swipe pattern lock had disappeared.
How to unlock the Samsung Galaxy Ace GT-S5830
Next I was presented with ‘Enter Network Lock Control Key’. Major problem as I’m not on the same ‘carrier’ as the original owner, and secondly I don’t have a sim for that carrier! So basically my phone was locked! However below is how to unlock the S5830.
Part 1 – Join a WIFI network, link to your Google account and install two apps
- Select ‘Dismiss’ under the network lock message.
- Connect the phone to a secure (not public) WIFI (wireless) network.
- Select ‘Google Market’ and enter your Google account details.
- Via the Google Market install the free ‘Superuser’ application.
- Then install the ‘Android Terminal Emulator’ by Jack Palevich.
Part 2 – How to root a Samsung Galaxy Ace GT-S5830 phone
- Download the root application from here.
- Transfer the application to your microSD card via a usb cable connection.
- Reboot into ‘system recover’ by holding the power and menu buttons down at boot.
- Select ‘apply update from sdcard’, and then selected the zip file you have downloaded.
- Once the update is installed, reboot your phone / system.
Part 3 – Obtain your network unlock key from your Galaxy Ace.
Now after all that hard work, it is time to obtain the key from your phone. Please note you can only do this stage, if you are running a ‘stock’ rom. i.e. A standard rom from a carrier or Samsung, and not a custom rom.
- Now follow ‘Method 2’ instructions as brilliantly described here.
Additional notes about the unlock process:
- When searching for the unlock code using the ‘Hex Editor’ application mentioned in the link, I had to hit ‘F3’ to search three or four times. The first few times I was just seeing zeros, but then a eight number code was found.
- I rebooted my phone, entered the code and the ‘network unlock successful’ message appeared and it connected to my chosen carrier.
Installing a custom rom on the Samsung Galaxy Ace GT-S5830
The phone was already running Android 2.3.3 Gingerbread, but I wanted to install a CyanogenMod 7.2 based rom. I’m not looking for a 4.x.x experience just yet on this phone, but want some extra bells and whistles!
Note: Before proceeding please make sure your mobile phone’s battery is fully charged.
Part 1 – Install CWM Recovery.
Whilst the standard ‘system recovery’ is pretty great, I wanted the ability to backup my rom images, enabling me to revert back to previous roms if required. I’ve used another version of this package before, and wanted to make sure it was installed ASAP.
- Download the file ‘recovery-clockwork-5.0.2.6-galaxyace.zip’ from here, which was kindly provided and mentioned here.
- Transfer the zip file via usb to your microSD card in the phone, and then turn the phone off.
- Boot the phone into ‘system recovery’ by pressing the ‘power’ and ‘menu’ buttons at the same time during boot.
- Select ‘apply update from sdcard’.
- Select the ‘ recovery-clockwork-5.0.2.6-galaxyace.zip’ file, and once installed select ‘reboot system now’.
Part 2 – Backup your existing rom!
It is important that you backup your existing rom image, which will solve a few headaches if you need to roll-back! Especially if you are thinking about selling the phone in the future.
- Boot into the CWM recovery mode by pressing ‘home’ and ‘menu’ buttons at boot.
- Select ‘backup and restore’ from the menu.
- Then select ‘Backup’ and the next menu.
Part 3 – How to install a custom rom on the GT-S5830.
Now it was finally time to install the custom rom. I choose one based on performance, reviews and the fact it was updated this year (2013). I picked the ‘The Ultimatum 3.0 final’ rom for this ACE model. This is based on Android 2.3.7.
- Download the rom from here.
- Reboot into CWM recovery mode.
- Perform a ‘wipe data / factory reset’ and ‘wipe cache partition’.
- Select ‘install zip from sdcard’, and then select ‘choose zip from sdcard’.
- Select the zip file for the ‘The Ultimatum’.
- Next you run through a wizard selection various options. I left everything as the default options selected, apart from selecting ‘Fire’, instead of ‘Swap All’.
Originally I had selected ‘swap all’, but the phone froze on its first boot up, so I had to run through the installation process again!
Note: The first time the phone boots with the custom rom it will take a take a minute or two to boot. After that the phone should boot up more quickly.
Conclusion
I didn’t bother using the Samsung Kies software to see if there was a ‘stock’ rom upgrade. I quite like the look and feel of the custom rom I’ve installed, but it is early days and I might roll-back the OS, else try another.
In the future please expect more blog posts related to this phone. In the meantime if you have any feedback, please feel free to leave a comment.
i upgrated my phone, but it hold on starting, how much it take time to frst boot .. ?
Hello Immi,
Two situations spring to mind:
1. You need to go into system recovery and perform another data / factory and cache wipe.
2. There was an issue with the custom rom you used, and you need to either try again or use a different one.
I recommend you try suggest 1 first.
All the best
Andrew
i did this, but problem is same, actualy when i install this rom it give error not complete 100%,
so what will b the solution and what other rom need to install ??
plz help
Hi Immi,
Sorry to read you are still struggling your custom rom upgrade.
I once saw a similar problem when the CWM system recovery hadn’t been installed. Instead the standard system recovery was being used, and a new rom wouldn’t install.
Also perhaps the custom rom files you are trying to install are corrupted? Try re-downloading the custom rom.
I can’t advise you anymore, than I have already, but hope with the advice I’ve provided you are able to resolve the problem.
All the best
Andrew
plz send procedure to rooting of samsung galaxy ace gt-s 5830 2.3.4 into jallybean
Hello giri,
Probably easy to miss, but the procedure for rooting the Ace is mentioned in the blog post above. 🙂 I’ve not mentioned JellyBean, as that is 4.x.x and probably will consume more battery power. I might take a look at it in the future.
All the best
Andrew
please. after I go to System Recovery and install a custom ROM. after completion arrived – suddenly appeared on the screen ANDROID posts.
how is the solution?
Hello Rizal,
You might want to try the wipe data, factory reset and wiping of the cache partition again. Then reboot and wait a few minutes. Other than that, I have no further suggestion other than to restore your backup, else try another rom.
Hope this fixes the problem, and you have a good weekend.
Andrew
can not delete all the data from the cache and data. written
Formatting / data
E: Format_Volume: RFS format failednon / dev/stl13
Formatting / cache …
E: Format_Volume: RFS format failed on / dev/stl14
Hi Rizal,
Blimey! This is a major problem.
I don’t know if this would solve your problem, but what I would attempt is to now flash the Galaxy Ace using the ODIN software with a stock rom. You might be able to find a suitable rom at ‘Sammobile’.
I’ve only used the ODIN software with a Galaxy Mini and not an Ace, so have no ACE instructions to provide. You can get an understanding of the procedure if you read my ‘How to Upgrade Android Froyo to Gingerbread Guide’ (use the search feature on the blog to find it) for the Galaxy Mini. Obviously that was written for the Mini, so don’t use the same files for the ACE!
Always make sure you are using a rom for your ‘specific’ phone model.
Sorry that is the best advice I can provide, as I’ve not experienced the problem.
Best of luck
Andrew
hello Sir,
i have a mobile Samsung Galaxy Ace GT-S5830i . i have a problem my swip is not working and patren lock ….. only just pick the call and dialler emergency call.
plZ tel me how i unlock my phone i am w8 for your….
thnks
Hello Fahid,
Sorry to read about your mobile phone problems. Unfortunately I don’t have the ‘i’ model, and I don’t know what differences there are. Sorry I can’t help you with unlocking etc.
Best Regards
Andrew
Hello Andrew i have CyanogenMod version 4.0.4 on my samsung galaxy ace s5830, and i am interested to install this rom, so please tell me if i can do it with your procedure that you post above?
Hi Bardhi,
Yes I think so, though I’ve not installed that rom on this phone yet. If you already have CyanogenMod, you probably are already rooted and CWM Recovery installed? If so, you are almost there! Don’t forget to backup your existing rom, should you need to restore.
I hope you have a good weekend.
Andrew
hi when i go on the recovery factory, it wont let me go down, to wipe. data or anthink it just stays on reboot system now, i try clicking the left volume keys, and they dont do anythink plzz help, aslo my samsung gt8530, its data is locked? plzz help
Hi Sufyan,
Oh no! All I can think of, is that there is a physical problem with your volume buttons. 🙁 I hope this isn’t the case, and I’m sorry, but I don’t have any advice. I hope it isn’t a physical problem.
Best of luck
Andrew
Hello, Andrew. I have been using the provided ROM for some time and I found it quite cool. But, I have decided I want to sell my phone and went to rollback to the old, backed-up ROM I had before upgrading. Just as I was doing Back-up, using your instructions mentioned above, I went “hey, I can just use restore and get it back as it was before I used your custom ROM”. But there things went bad. I Restored it and now, instead of booting my phone, its just stuck at “Samsung Galaxy Ace GT-S5830” and wont move, aka. it froze. Any tips on how to roll it back to its “stock” ROM?
Hi Igor,
Sorry to read your restoration hasn’t worked. If you are finding your phone is continuously rebooting, then wiping the data and cache via CWM Recovery will hopefully solve the problem.
A second option… I think you can use the ODIN software with a s5830 cooper OPS file and a stock rom from Sammobile. I’ve never done this with a S5830, so don’t have a clue if it will work! I know you need to use a version of ODIN compatible with the S5830, a compatible OPS file and stock rom.
I wrote about doing it with a S5570 (not the ACE) on my Froyo to Gingerbread guide. Don’t use the same files, but it might give you an idea of what is involved.
If you do end up keeping the phone, I’ve just installed the Jellybread rom, which I’m quite liking.
I hope you manage to get back to a stock rom.
All the best
Andrew
Thank you for you fast reply
Well, my as I said, my phone is not rebooting. In a fact, it’s doing nothing. Just being stuck at the first: “Samsung Galaxy Ace GT-S5830” screen. Forever.
I have tried to wipe data and cache via CWM Recovery tool, numerous times, no effect, at all.
I am now into the second option you gave me, I’ve seen it before on other forums but I seem to be unable to find real “stock” ROM for my model, since not every is the same. And half of those download links from SamMobile are broken (they moved download hosts or something)
Anyway, I might just take the phone to a service and have it decoded completely, that might solve the problem.
Once again, thanks for your fast reply, best regards,
Igor
I am very concearned about rooting my phone. What happens if the whole system gets corrupted (even recovery mode and CWM Recovery?)It voids the warranty and it breaks, I use my spare phone. My spare phone is stupid
Hello Andi,
The ACE is a great phone even without rooting and installing a custom rom.
Best Regards
Thanks for the fast reply. I am actually thinking about rooting it.
Best Regards
Hi Andrew, thanks for a great post. I was getting really annoyed with the space my original provider apps were taking up and your guide has now left me with a fast, clean and rather smart-looking interface. It has given my aging S5830 a new lease of life for which I am most grateful 🙂
Nigel
Hi Nigel,
I appreciate you taking the time to leave a reply, and it’s good you’ve found the post useful. I will definitely blog again about this great phone.
Happy New Year
Andrew
Hi Andrew. I downloaded the Root zip file and followed ur instructions but still my phone didnt get rooted. Its Samsung gts5830i. I checked with root checker from playstore and it says ur phone is not rooted. Any help pls
Hello Gurri,
I don’t own a GTS5830i, but I believe you need to use a different package to unlock the model. Don’t hold me to that, as I’ve never used or looked at rooting and upgrades for the ‘i’ version of the phone.
I don’t know about the differences between the models, but I unfortunately advise you to ignore my blog posts, and look for support specifically for the ‘i’ model.
I wish you all the best.
Andrew
Thanks for quick reply andrew. I googled and found appropriate root file. It got rooted. But now my questions is that whether I can use the custom ROM provided by u for my Gts5830i ? Or shall I have to look for another?
Hi Gurri,
I don’t believe you can use the same rom I linked to.
Sorry I don’t really know a lot about the ‘i’ model. Perhaps you might want to see if there is a CM7.2 build for your phone.
Best of luck
Andrew
I install a custom rom and I m facing network problem it shows no service and emergencycall
Hi Immo,
I’ve never experienced this problem, and unfortunately I do not know the solution. Here is what I would try first:
1. Try reinserting the SIM card back into the phone.
2. Check your APN settings.
3. Restore a backup.
4. Revert back to a stock rom.
5. Try another custom rom.
I think there are other possible problems that could cause this, such as corrupt EFS or IMEI issue.
I hope you manage to fix your phone.
Andrew
hello sir,,
i have been using my you tube application but it doesn’t work, the video I’ve tried to open is not working, and it only said that “enable your java script on your browser” , how i can work to open with my java script can you give me an advice and procedure on how to fix my problem on my phone Samsung Galaxy GT-S5830.
looking your response,
mecz,
Hello Mechael,
Hopefully these instructions should help you:
1. Open the ‘browser’ application.
2. Press the ‘menu’ button (bottom left).
3. Then select ‘More’ on the right.
4.Scroll down to ‘Settings’, and then scroll to the ‘Enable JavaScript’ option to enable or disable the option.
Best Regards
Andrew
Hi Andrew!
I’ve “accidentally” installed cwm recovery first and i can’t root the phone, it says error on installing, i tried to install the rom but now the phone stucks on “Samsung Galaxy Ace GT-S5830″ screen.
and i did all the things about datas, caches etc. is there any way to delete cwm recovery so i can start all over?
thank you!
Hi Goksu,
Sorry to read about your problems.
It should be possible to start over. You might want to consider performing a firmware flash using ODIN. Then after that, try again to root and install a custom rom.
Take a look at my comment response to Rizal back on the 9th November.
All the best
Andrew
oh you’re the best!!! i started all over with odin, then did exactly what you said and voila!
thank you sooo much!!!!
Hi Goksu,
Excellent news! 🙂
All the best
Andrew
HI Andrew. It seems you are a knowledgeable chap. I have read countless blogs on how to root a Galaxy Ace S GT-5830, but I fail at the first hurdle. I press the vol up, etc and get into the Android system recovery mode. However, once I am in the recovery mode I get the list of options but the Vol control will not move the selection up or down. Physically the Vol control works fine. So I am stuck on reboot system now and I know I need to go down to apply update from sdcard.
I noticed that another person Sufyan had the same problem. Is there some way that I can update the phone to overcome this as I believe it must be intentional? Details of my phone are gingerbread.XWKPY Android ver 2.3.3 Kernel ver 2.6.35.7-perf-CL561786root@DELL128#1. I am on O2. When I check for software updates it says I have the latest SW.
Any advice would be greatly appreciated.
Roger
Hi Roger,
I’ve never done this, but apparently there is a method of flashing CWM onto a GT-5830 via ODIN. Obviously a risk. I would normally try and assist more, but I’m currently sitting here sweating, recovering from a nasty bug. Time to get back to the couch.
All the best
Andrew
Worked perfectly. Thank you.