Samsung Galaxy Ace (Android 2.3.5) Not working correctly I am new to this, I have no idea what to do, as when I went on a trip, and booted my phone, I realised it wan't supposed to be on at all. However, me being in a hurry I didn't have the time to wait until it booted and shut it down, I just removed the battery (smart thinking, I know). The trouble started. My home button is disabled, I have no lock screen, although enabled, and when I hold the power button, instead of saying "Power Off", "Silent", and "Flight Mode", it only says "Power Off". I have no idea what  I am doing wrong, I rebooted around 20 times, removed battery and sim card, plugged it in, etc. I would be REALLY happy if somebody helped. 

PS: The home button works, it's just not enabled, I know this because when the screen is off and the home button is pressed, it turns un. I have no trouble with any buttons, not now, not before. Also I'm rooted for over a year now, it's ALWAYS been smooth.
I assume that you have a GT-S5830. Looks like this is a software based issue. I recommend you to perform a hard reset. 

Factory reset.


To do that power off the phone. Then press and hold the home, power keys few seconds. When you see the Samsung logo release the pressed keys. The phone will be boot into the stock recovery. 
In recovery navigate to wipe data/factory reset option by volume keys and press the power key to select it. 
Next navigate to the yes option using volume keys and choose it by pressing power key. 
Now your device will be reset. Once it's complicated reboot the Galaxy Ace.


If it's not success, install official firmware. 

Install official Samsung firmware using ODIN. 


Download your device firmware from sammobile  and download the PC Odin in here.   
Next power off the phone.
Press and hold  Volume down, home and power keys until phone boot into the download mode. 
Connect the phone to the PC over the USB cable.
Make sure that ODIN  "Com Port " area turn to yellow colour.
Press "Select Ops" button and choose Cooper.ops file.
Under the options make sure that "One Package" checked.
Click "One Package" button and choose the firmware .tar.md5 file.
To start the flash click on "Start" button. Installation will take few seconds and once it completed phone will be automatically reboot.