Post Reply

[Q] Power button is dead

OP GabberPL

22nd March 2014, 10:35 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Mar 2014
Hi!

I `ve got a problem - power button in my ACE2 is down. It`s most likely hardware problem. So that, I want to use the warranty.

But I cannot, due to custom ROM inside.

So that`s where my question come from - how can I install stock ROM on my device? So far, I can`t use ODIN - because I can`t enter DOWNLOAD MODE (no power button = no power menu = no key`s combination)
I see two options:
- an app that go`es to download mode from the interface - any help would do, I cannot find anything in the G.Play
- changing hard keys mapping (f.e. vol up could replace power) - is that possible at all?
I`ve already learned, that hard keys mapping location is in:
/system/usr/keylayout/Generic.kl
and mapping looks like this:
key 142 POWER WAKE
key 143 POWER WAKE
key 152 POWER WAKE
key 115 VOLUME_UP
So what can I do to replace this two keys?
23rd March 2014, 12:22 AM   |  #2  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Mar 2014
Thumbs up
Problem solved:

File changed:

system/usr/keylayout/gpio-keys.kl

Mapping:

key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
key 172 HOME WAKE_DROPPED

Replacing VOLUME_UP with POWER works just fine.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Galaxy Ace II Q&A, Help & Troubleshooting by ThreadRank