No More POWER (Button), please? - Galaxy S I9000 Q&A, Help & Troubleshooting

I'm rooted with stock ROM. I'd rather not go with another ROM at the moment, but I'm forever hitting the power button by accident and it's driving me crazy. At this point, I'm ready to lose function of the power button all together. Is there a mod for this? Please and thanks.

ThaiM said:
I'm rooted with stock ROM. I'd rather not go with another ROM at the moment, but I'm forever hitting the power button by accident and it's driving me crazy. At this point, I'm ready to lose function of the power button all together. Is there a mod for this? Please and thanks.
Click to expand...
Click to collapse
Open /system/usr/keylayout/sec_key.kl with a text editor, and delete the WAKE that's in line with POWER
Make sure system is mounted as rw
Sent from my GT-I9100

soyef said:
Open /system/usr/keylayout/sec_key.kl with a text editor, and delete the WAKE that's in line with POWER
Make sure system is mounted as rw
Sent from my GT-I9100
Click to expand...
Click to collapse
Worked! You're my hero.

Related

Clockwork mod back button?

Like everyone knows, we do not have back button in NC. This causes inconvenience with recovery menus. It's possible to get the back menu option to show by scrolling the menu down enough. Unfortunately it won't show up in the current menu, only if you open a new menu item it appears.
So is it possible to make the back option on by default somehow? What about refreshing current menu?
Power=back
razmajazz said:
Power=back
Click to expand...
Click to collapse
Hmm. I don't think so. At least with .28 it was just second select button. Maybe was not always like that? Power button works in 3.2.0.1?
Yes, power is back.
Sent from my NookColor using XDA App

CM7 "N" Key / Back - best options?

I'm not running any extra virtual key apps... What I want to do... is have the physical N button do a BACK on 1 click, and HOME on 2 clicks... Or normal click BACK, and LONG click HOME...
I've looked through some of the settings - can't tell how to set that up (if at all).
Any thoughts?
Why not use the soft keys built in to CM7?
Sometimes the status bar is gone... either because something causes it to hide, or because I hide it.
MHotovec said:
Why not use the soft keys built in to CM7?
Click to expand...
Click to collapse
The best setup so far (imho), is to set the soft keys show up at volume button press.
Since the power button or N button tend to fail sometimes.
By doing that, you can hide soft keys with no fear and just presse volume button to bring they back to the screen, flawless.
@blauson
I hate doing that because if I need to change volume I need to leave the app, go into settings, and change it manually. :/
Somehow my "n" button got turned into a back button. Weird. Would much rather haave it be a menu button. but I dont even know how it changed in the first place! lol
DiscoPh3v3r said:
@blauson
I hate doing that because if I need to change volume I need to leave the app, go into settings, and change it manually. :/
Somehow my "n" button got turned into a back button. Weird. Would much rather haave it be a menu button. but I dont even know how it changed in the first place! lol
Click to expand...
Click to collapse
I run phiremod so it's in: settings, phiremod settings, tablet tweaks, choose unhide button
DiscoPh3v3r said:
@blauson
I hate doing that because if I need to change volume I need to leave the app, go into settings, and change it manually. :/
Click to expand...
Click to collapse
My volume still works when I use it to recall the status bar.
Rodney
rhester72 said:
My volume still works when I use it to recall the status bar.
Rodney
Click to expand...
Click to collapse
Really? Then I will have to see what's up, last time I was always running around the settings and stuff to change the volume.
Blue6IX said:
I run phiremod so it's in: settings, phiremod settings, tablet tweaks, choose unhide button
Click to expand...
Click to collapse
I am using Rooted Stock 1.2, way better battery life IMO.
rhester72 said:
My volume still works when I use it to recall the status bar.
Rodney
Click to expand...
Click to collapse
I second on that.
I'm running nightly 131.
No problem to change the volume neither to show up soft keys.
I use the N key to cancel full screen. Its more comfortable to use than the volume keys for me.
Hrm.. that would work... Where do I configure what the N key does?
dalingrin said:
I use the N key to cancel full screen. Its more comfortable to use than the volume keys for me.
Click to expand...
Click to collapse
dalingrin said:
I use the N key to cancel full screen. Its more comfortable to use than the volume keys for me.
Click to expand...
Click to collapse
This is how I've been doing it as well, but sometimes it brings me all the way back to home after showing the status bar. Do you ever experience that? Any tips if so?
Regardless, I like my volume buttons to be... well... volume buttons.
You could use button savior to have a never-hide home only option button located on the very right side by the N button, leaving that slot unused on adw launcher and treat it as a "permanent" home button.
TheAmazingDave said:
This is how I've been doing it as well, but sometimes it brings me all the way back to home after showing the status bar. Do you ever experience that? Any tips if so?
Click to expand...
Click to collapse
That's precisely why I haven't used the n button - if there is a way to avoid it, that would be fantastic!
Rodney
The best thing I ever did was install zMooth. Its a gesture bar that lets you draw the buttons. Almost like my old pre.
Sent from my NookColor using XDA Premium App
jeremymahoney said:
The best thing I ever did was install zMooth. Its a gesture bar that lets you draw the buttons. Almost like my old pre.
Click to expand...
Click to collapse
Looks interesting, but the only gesture I can manage to make it recognize is home. Any special tricks to this?
Rodney
It has always worked well for me. Have you used the nook screen recalibrate app? Before I ran that I had a really hard time getting the lower part of my screen to recognize my touch. I think there are some sensitivity settings in the zMooth app you can play around with too.
Sent from my NookColor using XDA Premium App

CM9 G Button remap

hi, I open this thread to show you how to remap the G button, on the FOP rom it is assigned as a comma so it's totally useless, but all you have to do is using root explorer go to:
system\usr\keylayout
and modify the files "generic.kl" and "TWL4030_Keypad.kl" and search for "key 95".
On the "generic.kl" it will say something like insert comma, change that to one of this options:
APP_SWITCH it will make the g button open the recent apps
CAMERA well it's obvious it will open the camera
and on the "TWL4030_Keypad.kl" it will say "POWER WAKE_DROPPED", just erase that and type one of the options I said (you MUST assign the same option to BOTH files)
Hope it would be usefull ^^ I recomend using the button for the recent apps, since the camera can be accessed from the lockscreen and the camera isnt working right now
If you need to, I can make a CWM flashable zip to modify those 2 files, I didn't did that because this is way too easy to do manually...
Remember to mount R/w so you can edit the files
After doing that just reboot
You should mount r/w not r/o
Sent from my phone via tapatalk
A flashable file would be great!
You forgot reboot...neway thanks m8..it worked just fine :highfive:
RomWiz said:
You should mount r/w not r/o
Click to expand...
Click to collapse
thanks, for correcting me
strider2023 said:
You forgot reboot...neway thanks m8..it worked just fine :highfive:
Click to expand...
Click to collapse
ohh right jeje sry
Already there but imcomplete:
http://forum.xda-developers.com/showthread.php?t=1194058
koila33 said:
Already there but imcomplete:
http://forum.xda-developers.com/showthread.php?t=1194058
Click to expand...
Click to collapse
I saw this one when trying to do this, and it is really weird the tutorial so I decided to do this one, also it only says how to use as camera and lock button... could you consider adding this to the FOP rom?
Melin Leos said:
I saw this one when trying to do this, and it is really weird the tutorial so I decided to do this one, also it only says how to use as camera and lock button... could you consider adding this to the FOP rom?
Click to expand...
Click to collapse
If you guys find it useful we can add that feature, but it is easy to add this feature, so if you guys want, you guys can add by yourself.
koila33 said:
If you guys find it useful we can add that feature, but it is easy to add this feature, so if you guys want, you guys can add by yourself.
Click to expand...
Click to collapse
I know it's easy to add but the thing is that right now the g button on fop rom is completely useless
This works on CM7?
zortheck said:
This works on CM7?
Click to expand...
Click to collapse
Yep, tecnically it works on all roms, but I can't say exactly since Idont know which file you have to modify on cm7
zortheck said:
This works on CM7?
Click to expand...
Click to collapse
On cm7, you have to edit /system/usr/keylayout/qwerty.kl - delete key 212 line and add key 95 POWER WAKE_DROPPED or the line about camera - save and reboot
Sent from my LG Optimus Black using xda premium
My Power button is dead and i cannot turn on the phone manually. Ineed to use usb cable,enter the battery charging state and need to push the button frequently(hopefully it detect) till it reboot.Then i try to remap the power button to G button. still cannot on even at battery charging state... This phone is screwed.. wonder if anyone want to buy my phone.. haha..
My power button is not in the best condition too. First I remaped G button (key 95 POWER WAKE_DROPPED) and then I use SoftPower app to wake it because it even has sometimes problems to wake up with the remaped G button and I'm fine. OK that doesn't help when it's completly switched off but then it seems to work rather good and I nearly never switch it off anyway. I use AnReboot for some time, it is fast for reboot and good for getting in recovery.
SaschaKH said:
My power button is not in the best condition too. First I remaped G button (key 95 POWER WAKE_DROPPED) and then I use SoftPower app to wake it because it even has sometimes problems to wake up with the remaped G button and I'm fine. OK that doesn't help when it's completly switched off but then it seems to work rather good and I nearly never switch it off anyway. I use AnReboot for some time, it is fast for reboot and good for getting in recovery.
Click to expand...
Click to collapse
Getting to the recovery is not the problem as i can use the adb command. The worst part is when i want to call someone urgently and the phone cannot wake the screen. So softpower app can help in these kind of situation? As when the phone is completely dead, there nothing we can do to turn it on as some people said that the power button is hardwire.
Yes SoftPower wakes my phone up all the time without any problem. I haven't even activatet the adminstrator, because it is only needed for turning the screen off and I use G button for that. (Need the search button for something else anyway.)
BTW if you remap the G button it even shows the power menu like you get it for long pressing power button (at least with some ROMs).
Thanks man, i will try that software. I just open this phone and found out that the usb port and the power button is integrated with each other. So, it's kinda hard to repair it.
Thanks.... I modify G Button as Camera and its working awesome on CM10..
Sent from my LG-P970 using xda premium
Please
And if I want both answering and ending a call with G button, how can I add that to the file?
Maybe for wake up and turn off the device too? I guess it's applicable for multiple actions, isn't it?
atillaahun said:
And if I want both answering and ending a call with G button, how can I add that to the file?
Maybe for wake up and turn off the device too? I guess it's applicable for multiple actions, isn't it?
Click to expand...
Click to collapse
I tested it.I modify G button as CALL WAKE_DROPPED
With this I can receive the call but can't end call with G Button.
And also
Device wakes but can't turn off.
Sent from my LG-P970 using xda premium

[Q] Enable Software + Disable Hardware Buttons

So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
qemu.hw.mainkeys=0
Click to expand...
Click to collapse
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.
rougegoat said:
So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.
Click to expand...
Click to collapse
not until we have s-off. The emmc checks files against its last known configuration and discards any changes. Its been that way since the evo3d. its the same reason supercid wont stick also.
Well that's extremely disappointing. The buttons on here are driving me mad. Who thought it was a good idea to have the home button do three things not one of which is go directly to the homescreen? I was really hoping to get around them.
Any word on the S-Off progress?
rougegoat said:
Well that's extremely disappointing. The buttons on here are driving me mad. Who thought it was a good idea to have the home button do three things not one of which is go directly to the homescreen? I was really hoping to get around them.
Any word on the S-Off progress?
Click to expand...
Click to collapse
My home button goes to the home screen maybe you're holding your lips wrong
Sent from my rooted unlocked rommed HTC One, on the Sprint network.
benmatlock said:
My home button goes to the home screen maybe you're holding your lips wrong
Sent from my rooted unlocked rommed HTC One, on the Sprint network.
Click to expand...
Click to collapse
One press goes to whatever page of the launcher was last in use(not always a Homescreen, most often app drawer)
Double press goes to multi-task
Long press goes to Google Now.
There is no "always go directly to the homescreen" action associated with the home button.
rougegoat said:
One press goes to whatever page of the launcher was last in use(not always a Homescreen, most often app drawer)
Double press goes to multi-task
Long press goes to Google Now.
There is no "always go directly to the homescreen" action associated with the home button.
Click to expand...
Click to collapse
I find a 2nd press of home brings me all the way back home when app drawer, or non home blink feed was previously used...
tmuka said:
I find a 2nd press of home brings me all the way back home when app drawer, or non home blink feed was previously used...
Click to expand...
Click to collapse
So now you have two very different functions tied to the same action for a total of four actions associated with the Home button, none of which is "go directly to the Homescreen". What you present here is "Go to last page used in the launcher, then go to the default homescreen."
rougegoat said:
So now you have two very different functions tied to the same action for a total of four actions associated with the Home button, none of which is "go directly to the Homescreen". What you present here is "Go to last page used in the launcher, then go to the default homescreen."
Click to expand...
Click to collapse
Yeah, sorry, i realize i didn't answer your question. I hope you find the low level solution you're searching for, and that my tip helps you in the short term.
rougegoat said:
So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.
Click to expand...
Click to collapse
try flashing viper's zip here is the link
http://forum.xda-developers.com/showthread.php?t=2236849
HTC ONE
luisrod03 said:
try flashing viper's zip here is the link
http://forum.xda-developers.com/showthread.php?t=2236849
HTC ONE
Click to expand...
Click to collapse
No dice. The files are editable but have no impact.
Is there now any way to disable the hardware keys? I only want to have software keys (paranoid android 4.4 rc1)
Gesendet von meinem Nokia 3310 LTE

Menu button (do you miss it)

Just found out a little tip which many of you might already know. If you are missing the menu button, especially for outdated apps like the xda app, you can still access it. The note 4 replaced the menu button with recent apps button, but if you long press the recent apps button you will get to the menu function.
That is all. Have a good day.
ozaghloul said:
Just found out a little tip which many of you might already know. If you are missing the menu button, especially for outdated apps like the xda app, you can still access it. The note 4 replaced the menu button with recent apps button, but if you long press the recent apps button you will get to the menu function.
That is all. Have a good day.
Click to expand...
Click to collapse
Thanks for that. I was using a friends S5 last night and that was driving me mad. My note 4 is at home waiting for me to open the package
If they completely removed it, then yes but holding task switcher for a couple of more seconds then it doesn't bother me. What bothers me is that I have to hold the back button every time to access Multi window bar as app switcher only has opened apps.
Hovscorpion12 said:
If they completely removed it, then yes but holding task switcher for a couple of more seconds then it doesn't bother me. What bothers me is that I have to hold the back button every time to access Multi window bar as app switcher only has opened apps.
Click to expand...
Click to collapse
App switcher has on every app window a icon on top right that does what you need.
Wow thanks a million for this. I thought it was gone forever :highfive:
PhatFishNL said:
Wow thanks a million for this. I thought it was gone forever :highfive:
Click to expand...
Click to collapse
X2, I still accidentally hit the recent button all the time from being so used used to it being there...
PhatFishNL said:
Wow thanks a million for this. I thought it was gone forever :highfive:
Click to expand...
Click to collapse
You are welcome. It would have been a nightmare had it gone forever. Not all applications have that on screen menu button.
Brilliant, I missed that button... nice to know it's still there
Need a way to reverse the functionality from long and short press
Nope don't miss it. I don't even use the long press.
m3lover1 said:
Nope don't miss it. I don't even use the long press.
Click to expand...
Click to collapse
Its not about missing it just because you prefer to press the physical button. There are many apps which don't have the soft menu button. For example, go to Google Now and try to change the settings, but don't long press. Good luck with that.
ozaghloul said:
Its not about missing it just because you prefer to press the physical button. There are many apps which don't have the soft menu button. For example, go to Google Now and try to change the settings, but don't long press. Good luck with that.
Click to expand...
Click to collapse
I just did. Took less than 2 seconds. Then again, 6 of my past 7 phones all had on screen nav buttons, which I prefer
m3lover1 said:
I just did. Took less than 2 seconds. Then again, 6 of my past 7 phones all had on screen nav buttons, which I prefer
Click to expand...
Click to collapse
Wait, what? How? There is no soft menu button in Google Now. Am I missing something here?
ozaghloul said:
Wait, what? How? There is no soft menu button in Google Now. Am I missing something here?
Click to expand...
Click to collapse
There is. There is no way Google didn't implement soft menu button when they themselves are pushing on screen nav bar and soft menu buttons. Open Google now and it's bottom right corner. Might need to scroll all the way down. That might be the only annoying thing about it but it's there and very easy to access.
m3lover1 said:
There is. There is no way Google didn't implement soft menu button when they themselves are pushing on screen nav bar and soft menu buttons. Open Google now and it's bottom right corner. Might need to scroll all the way down. That might be the only annoying thing about it but it's there and very easy to access.
Click to expand...
Click to collapse
Oh I see, thanks. I assumed it would be on the top right corner. However, there does remain other apps that don't have it at all. For example the XDA app.
ozaghloul said:
Oh I see, thanks. I assumed it would be on the top right corner. However, there does remain other apps that don't have it at all. For example the XDA app.
Click to expand...
Click to collapse
I agree with what your saying. But you've picked 2 really bad examples. You can get to menu without menu button in xda!
I am used to Android tablets which don't have the menu button anyway, so I don't miss it on the phone.
daz_2000 said:
I agree with what your saying. But you've picked 2 really bad examples. You can get to menu without menu button in xda!
Click to expand...
Click to collapse
LOL. I looked and looked, still can't find it. *fail*
ozaghloul said:
LOL. I looked and looked, still can't find it. *fail*
Click to expand...
Click to collapse
Open up the left panel and whilst its open. The far right button changes to a settings cog.
People should have read the manual by now...

Categories

Resources