THE USUAL, EDIT/MOD/USE AT YOUR OWN RISK. I USE THESE MODS MYSELF. BECAUSE THEY WORK FOR ME DOES NOT MEAN THEY WILL WORK FOR YOU. KEEP A COPY OF THE INVOLVED FILES/APKS IN A SAFE PLACE IN CASE SOMETHING GOES WRONG
This guide is for the DIYs. I refuse, when I can, to simply hand over a flashing.zip so flashers (not those kind of flashers y'all just thought about ) exit now. DIYs, keep on reading.
This will be a quick and hopefully short guide because im typing from my phone. This MOD will allow you to add (and remove) timeouts from/to your SETTINGS.APK. I will be teaching about adding new timeout times and/or edit the current ones. This guide will cover adding a 10 seconds screen timeout.
A small amount of knowledge about decompiling and copy/paste is required, meaning you would need to have previously messed around with decompiling and recompiling programs because I will not be going over those steps. See the All things root guide for details on these procedures. You have your own ways of doing things. I make the guide so I'll be using my ways, got a problem?
Step 1: pull Settings.apk from your phone using Android Commander and copy it to a safe location.
Step 2: decompile it and go to /values/arrays (if is not arrays is the other one) and scroll down until you see the screen timeouts values (15,30,1,2,10,30)
Step 3: copy the string with 15, place the cursor at the beginning of the string, paste and hit enter. Change the now first 15 to 10.
Step 4: now, just under those set of strings there are another set of strings that defined the actual timing, in miliseconds I think. Do the same thing we did on Step 3. You should now have a string with 10000 and the next one should be 15000, 30000, etc or similar ( I could be missing or have an extra 0)
Step 5: save, recompile and using 7zip pull the resources out of the unsigned apk to the original apk.
Step 6: push the Settings.apk back into the phone. Reboot if needed and test the new timeout time.
YOU'RE DONE
This may be most unorganized guide I will ever provide, if my girl sees me touching the computer I'll have to sleep with the dog lmao so bear with me.
SCREENSHOT: