Samsung Galaxy Ace GT-S5830 Unlock, Root and Custom Rom Installation

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.

Samsung Galaxy Ace GT-S5830WARNING: 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.

Ultimatum Rom Screenshot 1I 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!

  1. Turn the phone off.
  2. Press the power button (right side) and the menu button (middle bottom) until you enter the ‘Android System Recovery’ menu.
  3. Then select ‘wipe data / factory reset’, deleted all the data, and after that ‘wipe cache partition’.
  4. 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

  1. Select ‘Dismiss’ under the network lock message.
  2. Connect the phone to a secure (not public) WIFI (wireless) network.
  3. Select ‘Google Market’ and enter your Google account details.
  4. Via the Google Market install the free ‘Superuser’ application.
  5. Then install the ‘Android Terminal Emulator’ by Jack Palevich.

Part 2 – How to root a Samsung Galaxy Ace GT-S5830 phone

  1. Download the root application from here.
  2. Transfer the application to your microSD card via a usb cable connection.
  3. Reboot into ‘system recover’ by holding the power and menu buttons down at boot.
  4. Select ‘apply update from sdcard’, and then selected the zip file you have downloaded.
  5. 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.

  1. 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.

  1. Download the file ‘recovery-clockwork-5.0.2.6-galaxyace.zip’ from here, which was kindly provided and mentioned here.
  2. Transfer the zip file via usb to your microSD card in the phone, and then turn the phone off.
  3. Boot the phone into ‘system recovery’ by pressing the ‘power’ and ‘menu’ buttons at the same time during boot.
  4. Select ‘apply update from sdcard’.
  5. 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.

CWM Recovery Galaxy Ace

  1. Boot into the CWM recovery mode by pressing ‘home’ and ‘menu’ buttons at boot.
  2. Select ‘backup and restore’ from the menu.
  3. Then select ‘Backup’ and the next menu.

CWM Recovery GT-S5830

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.

Ultimatum Rom Screenshot 2How to install the rom:

  1. Download the rom from here.
  2. Reboot into CWM recovery mode.
  3. Perform a ‘wipe data / factory reset’ and ‘wipe cache partition’.
  4. Select ‘install zip from sdcard’, and then select ‘choose zip from sdcard’.
  5. Select the zip file for the ‘The Ultimatum’.
  6. 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’.

Ultimatum Rom Screenshot 3Originally 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.

Subscribe
Notify of
guest
39 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
immi
immi
10 years ago

i upgrated my phone, but it hold on starting, how much it take time to frst boot .. ?

immi
immi
10 years ago

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

giri
giri
10 years ago

plz send procedure to rooting of samsung galaxy ace gt-s 5830 2.3.4 into jallybean

Rizal
Rizal
10 years ago

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?

Rizal
Rizal
10 years ago

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

fahid Raza
fahid Raza
10 years ago

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

Bardhi
Bardhi
10 years ago

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?

sufyan
10 years ago

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

Igor
Igor
10 years ago

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?

Igor
Igor
10 years ago

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

Andi
Andi
10 years ago

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

Andi
Andi
10 years ago

Thanks for the fast reply. I am actually thinking about rooting it.

Best Regards

Nigel F
Nigel F
10 years ago

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

Gurri
Gurri
10 years ago

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

Gurri
Gurri
10 years ago

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?

immo
immo
10 years ago

I install a custom rom and I m facing network problem it shows no service and emergencycall

mechael
10 years ago

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,

goksu
goksu
10 years ago

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!

goksu
goksu
10 years ago

oh you’re the best!!! i started all over with odin, then did exactly what you said and voila!

thank you sooo much!!!!

Roger
Roger
10 years ago

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

Marshall Banana
Marshall Banana
10 years ago

Worked perfectly. Thank you.