How to Root the Samsung Galaxy Ace (S5830)
I. Before You Begin
1. Back up everything you feel is important.2. Make sure you have your device charged to 75% or more before you begin.
II. Necessary Downloads
III. Rooting the Galaxy Ace
1. Connect your device to your PC in USB Mass Storage Mode and copy the universal_gb_root_v25.zip to your SD card.2. Disconnect your device and shut it down.
3. Press and hold the Home button + Power button and let them go once your device boots into recovery mode.
4. Use the Volume Up and Down keys to highlight to apply update from sdcard and press the home button to select it.
5. Locate and select universal_gb_root_v25.zip to flash the file.
6. Once you see the install from sdcard complete message, highlight and select reboot system now.
Your Galaxy Ace should be rooted once it reboots!