FORUMS

Remap power button

Thanks Meter: 0
 
By Zwingling, Junior Member on 7th May 2014, 01:43 AM
Post Reply Subscribe to Thread Email Thread
I just managed to remap my broken power button to my volume up button, so I am able to lock/unlock the screen. The problem is that it's still not possible to turn on the phone with the volumen button (shutdown/run out of battery). I changed the gpio-keys.kl and Generic.kl file for remapping. Anyone has a solution to replace the power button.
 
 
7th May 2014, 02:46 AM |#2  
LS.xD's Avatar
Senior Member
Flag Lübeck
Thanks Meter: 944
 
Donate to Me
More
Unhappy
Quote:
Originally Posted by Zwingling

I just managed to remap my broken power button to my volume up button, so I am able to lock/unlock the screen. The problem is that it's still not possible to turn on the phone with the volumen button (shutdown/run out of battery). I changed the gpio-keys.kl and Generic.kl file for remapping. Anyone has a solution to replace the power button.


I really suppose it's not possible without changing the hardware or at least modifying the Bootloader.
7th May 2014, 11:34 AM |#3  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by LS.xD

I really suppose it's not possible without changing the hardware or at least modifying the Bootloader.

Another possible way is to invoke the charging screen. For example some Samsung devices use /system/bin/playlpm to display the splashscreen. SO if you change this script to:

PHP Code:
[CODE]#!/system/bin/sh
/system/bin/reboot 
[/CODE]

It would actually reboot.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes