Before you buy a new cell phone or new tablet, please try the following procedure to repair your device. First charge your battery, backup your important data if possible and in most cases take out SIM and SD card. It is impossible to recover your data after doing a hard reset, so online backup is always important. For all of your data, a backup should be done on an external device, hard drive, raid system or media.
Samsung S5830 hard reset key combo

Back UP all of your Galaxy Ace data first!
1. Volume UP + HOME + POWER ON
+ 
Press and hold HOME + POWER/LOCK buttons together. (Try Volume UP HOME POWER ON.)

OR
In dial pad screen: press *2767*3855# - All data will be lost!
Samsung Galaxy Ace S5830 soft reset
To soft reset your Samsung Galaxy ACE android phone simply take out the battery and reinsert it.
