• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Root Application needed that unlocks phone with joystick

wilbu1j

Newbie
Jun 13, 2010
24
2
We need some one to create an app that will bring the phone out of standby using the joystick. It doesnt need to unlock it it just needs to turn on the screen so we can unlock. Any one know who i can email so that we can get a developer working on this project. This one is one thing i REALLY need on the incredible. Hitting the power button over and over sucks...
 
  • Like
Reactions: androidized
If you have rooted your phone then I don't think you need an app to do this. Unfortunately, I am one of the people that cannot get their phone to root (I gotta go searching for the magic PNY 2GB SD card tomorrow!), to try it.

There is a properties file named incrediblec-keypad.kl in /system/usr/keylayout that you can modify to enable the DPAD to wake the phone. In the file, find the line for "key 232" (shown below) and un-comment it by removing the "#" char.

Code:
# key 61    CALL              WAKE_DROPPED
key 232   DPAD_CENTER       WAKE_DROPPED
# key 108   DPAD_DOWN         WAKE_DROPPED

Save the file back to the original location (this part requires root access).
Again, I have not been able to try it myself yet. But this should do the trick.

Someone with root, give it a try.
 
Upvote 0
If you have rooted your phone then I don't think you need an app to do this. Unfortunately, I am one of the people that cannot get their phone to root (I gotta go searching for the magic PNY 2GB SD card tomorrow!), to try it.

There is a properties file named incrediblec-keypad.kl in /system/usr/keylayout that you can modify to enable the DPAD to wake the phone. In the file, find the line for "key 232" (shown below) and un-comment it by removing the "#" char.

Code:
# key 61    CALL              WAKE_DROPPED
key 232   DPAD_CENTER       WAKE_DROPPED
# key 108   DPAD_DOWN         WAKE_DROPPED
Save the file back to the original location (this part requires root access).
Again, I have not been able to try it myself yet. But this should do the trick.

Someone with root, give it a try.

Doesn't work. Tried twice. I save the file and it shows I edited it via root explorer, but when I lock the screen my phone resets and the changes are gone.
 
Upvote 0
The root isn't absolute, so root explorer will not allow write privileges. While in recovery mode, get the file to your computer, edit it, and then push it back to the phone. See if that works. Until we get root to stick, root explorer only lets you view, no write access. That's the same reason why we need to do the root dance in order to delete the lame preinstalled apk's.
 
Upvote 0
The root isn't absolute, so root explorer will not allow write privileges. While in recovery mode, get the file to your computer, edit it, and then push it back to the phone. See if that works. Until we get root to stick, root explorer only lets you view, no write access. That's the same reason why we need to do the root dance in order to delete the lame preinstalled apk's.

I'll give this a shot later today after classes and report back.
 
Upvote 0
I pulled the file off the incredible, modified it on my pc then tried to move/copy it with superuser when in recovery mode. adb shell said cp and mv are not found. I tried cat and it displayed the file with the line uncommented. I rebooted and copy/pasted the file to my sdcard with root explorer and the line was commented again. Anyone know how to move or copy in adb shell?

EDIT

I renamed the original file and used cat /sdcard/incrediblec-keypad.kl > /system/usr/keylayout/incrediblec-keypad.kl to create the edited file in the correct directory. The changes stick after a reboot but hitting the joystick doesn't wake the phone. Any other ideas?
 
Upvote 0
Bump. It seems picky, but it's so awkward as a right-y to slide your index finger around to the top and hit the little skinny power button - which seems designed specifically NOT to hit accidentally - so why make it needed every time you want to turn the device on!?! This was the only thing that bummed me out when I got my Incredible since I was coming from the Eris, and on it you just tapped the power button and slid the bar down. It would be nice. Sometimes I install no-lock...then I remember how often I used to accidentally unlock my dumb phones in my pocket and call random people at 3am, and I uninstall it.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones