Script/App to disable home button on wake - XPERIA X10 Q&A, Help & Troubleshooting

I'm trying to disable the home button so it won't wake the phone in my pocket. I see there was way to disable it by editing one of the keylaout files. For some reason I can not save that file once I've edit it to disable the home button. Either my jeans are to tight or I have bad luck...this week alone I've sent friend request to 2 exes from facebook while my phone was in my pocket...I just want to disable the button so it will never wake again if it is pushed.
I have tried mounting r/w...rebooting but still saying I do not have permission to save after editing the file. I won't have my laptop back for a week so no way to edit on computer right now.
Sent using XDA premium and TripNMiUI 1.0.63

Related

Can rooted x10 finally remove the lockscreen?

Please tell me you can! Give me a dream! Show me some hopes.
(i am about to break my x10 in half for 1-2 more lock screen freeze on calls)
Have you tried MyLock from the app market?
There's an app called "No lock" That disables the initial swipe lock, but if enabled it unfortunately also disables the security swipe codes too.
how do you use MyLock
I found it useless
+1 for nolock
no lock is ****e. it doesnt properly lock and unlock the screen. more like a black screensaver.
what is needed is a way to unlock using KEYS, something like in the keyboard mapping trick
http://forum.xda-developers.com/showthread.php?t=683902
or http://forum.xda-developers.com/showthread.php?t=703539 (desire's kernel mod...)
I've had "goto" for a few days and it's great.
Lots of options from lock screens; shortcut to email, call logs, messages, etc.
Sometimes it goes to x10 default swipe screen but goto screen will kick in almost immediately. You'll see what I mean.
You'll be glad you tried it out
I hate the lockscreen slider
When I press "on" I want my phone "on"
And answering calls with the finger slide is a pain in the ass
I thought I would get used to it, but NO
NoLock didn't solve the problem because you still have to slide to answer, and yes your phone goes to homescreen when pressing the ON button, but also when pressing ANY button (including the volume keys which get pressed easily inside my pocket), finally NoLock screws up the notification bar slider
There MUST be a way to answer calls by just pressing an icon or button, without having to slide the finger
There MUST be a way to just press the f*ck!ng ON key and start using the phone
.
If only we can remove that bloody lockscreen...
Sent from my X10i using XDA App
gtrab said:
There MUST be a way to just press the f*ck!ng ON key and start using the phone
.
Click to expand...
Click to collapse
My experience with touchscreen phones is this is a completely silly idea.
Think of all the time the button would get accidentally pressed in your pocket, and the battery life loss while on in your pocket.
I don't know how it works on Windows Mobile, but one would think this would be an even worse problem due to how prolific resistive touchscreens are on WM.
dpk0875 said:
I've had "goto" for a few days and it's great.
Lots of options from lock screens; shortcut to email, call logs, messages, etc.
Sometimes it goes to x10 default swipe screen but goto screen will kick in almost immediately. You'll see what I mean.
You'll be glad you tried it out
Click to expand...
Click to collapse
The problem i found with goto is that to answer calls you still have to swype, and when trying to turn off an alarm clock at 7 in the morning its really uncomfortable to use. Other than that its pretty awesome.
there should be a way to do this, perhaps tinkering with framework-res.apk could do the trick (either enable double click to unlock like in hero, or just simplify the swype movement)
(ive asked about this before)
im just discovering android and x10.
if get desperate enough i'll try to simply replace the relevant files from stock 1.6 firmware ... im gonna reflash anyway for 026 or 2.1
worst thing is this lockscreen during call - many times i dont even se WHO is calling.
iead1 said:
My experience with touchscreen phones is this is a completely silly idea.
Think of all the time the button would get accidentally pressed in your pocket, and the battery life loss while on in your pocket.
I don't know how it works on Windows Mobile, but one would think this would be an even worse problem due to how prolific resistive touchscreens are on WM.
Click to expand...
Click to collapse
I disabled the menu button switching on the phone by editing the file in system/user/keylayout, now only the power button switches it on.
To get rid of the lockscreen would be really useful to me now I've done that...
Sent from my one-click-rooted X10i using XDA App
i wonder if messing with the framework can do it,
what i really noticed is how GOTO Lockscreen are able to replace the original one 99% of the time while other app like lockbot - which i adorably like - can't do this and instead show two lockscreens over each other
mylock and nolock are of NO USE they are both useless
No app i found can replace the swipe call , and only GOTO can fully replace the standby lockscreen,
i triend most of the lock screens out there but with no use..
btw, Widgetlocker is for 2.1+ right ??
Ive tried to use tasker to do this, so far it can react headphone plugged in and unlock the screen automatically (sometimes: /)
I ve tried to test if camera button can be detected during call and then unlock the phone - didnt work - event which supposed to fire on call is not activating.
Also camera button is ignored on locked screen.
By editing the keymap with the FOCUS key the phone wakes up but tasker doesnt handle this key. Perhaps it is possible to write the plugin....
Ah if only we could compile custom kernel.. every problem can be solved when you can cook on your own...
twentybenson said:
I disabled the menu button switching on the phone by editing the file in system/user/keylayout, now only the power button switches it on.
To get rid of the lockscreen would be really useful to me now I've done that...
Sent from my one-click-rooted X10i using XDA App
Click to expand...
Click to collapse
Ah, I see.
Still, to me, it seems useful to have that extra layer of security protecting my battery life. Never know how many times that power button will get accidentally pressed in your pocket!
twentybenson said:
I disabled the menu button switching on the phone by editing the file in system/user/keylayout, now only the power button switches it on.
To get rid of the lockscreen would be really useful to me now I've done that...
Sent from my one-click-rooted X10i using XDA App
Click to expand...
Click to collapse
Hi twentybenson, so could you explain how you edited the file, which file (i have three) and changes you made?

native screen capture

hi, i accidentally use a build in screen capture in my vibrant with froyo.
i couldn't replicate it with any combination i tried.
i read about holding the back button and then pressing menu or home but that didn't do anything.
how do i use it?
(please dong offer third party applications as they all suck...)
I don't think anybody knows how to. It seems like everybody encounters it accidentally. Haven't seen anybody replicate that screen capture option either.
Sent from my SGH-T959 using XDA App
lol, this is just ridicules...
how can they put a feature that is so hidden that no one in this forum, knows how to activate it.
They put it in there for use, then removed it later because on a vibrant you annoy press both home and back buttons at the same time.
The way you did it is your system lagged then you pressed those 2 buttons and bam
is there a way to do it again then?

Disable home key when screen off?

Can someone please post a link to this, there was a guide on here somewhere, and I followed it months ago on my 2.2 rom and it worked great. Now I cant remember which files to edit. Its helpful cos I tend to push it in my pocket and just wastes battery turning screen on all the time. Tried search but on app on phone, and it just dont find it.
Thanks in advance
Sent from my X10i using XDA App
Use root explorer and navigate to system/usr/keylayout open keypad.kl in texteditor erase "wake dropped" key 102
So it look like this:
key 102 HOME
Save and exit. Restart your phone and you are done.
Thanks buddy, you just made my day, will click thanks when next at my pc.
Sent from my X10i using XDA App

home screen help

Anyone know how to get rid of the " Tap the + above to customize the home screen" ? I know it goes away by adding a widget or something but I like to keep my home screen clean without anything on it. I tried adding a widget or shortcut and then removing it, (that worked on my note2) but it comes back
Use the search button.
http://forum.xda-developers.com/showthread.php?t=2076631
I've seen this question at least 3 times.
Sent from my LG-E970 using Tapatalk 2

[Tip] Disabling home key/wake activation

I take no credit for this. This is a carryover from Note 2 and I got the info from some thread in one of the forums.
The method does work for N3s.
Sometimes I keep my phone in my back pocket and I do not want the screen to wake if the home button is inadvertently pressed. This method prevents the home key from waking the screen. Only the side key will wake the screen when applied.
Root is required, remount /system as r/w.
Go to system/usr/keylayout and edit "gpio-keys.kl".
Scroll down, look for the "key 172 HOME WAKE" line. Remove "WAKE" from the line and save, reboot.
YMMV, do at own risk, make file backup, etc.
Enjoy...
snovvman said:
I take no credit for this. This is a carryover from Note 2 and I got the info from some thread in one of the forums.
The method does work for N3s.
Sometimes I keep my phone in my back pocket and I do not want the screen to wake if the home button is inadvertently pressed. This method prevents the home key from waking the screen. Only the side key will wake the screen when applied.
Root is required, remount /system as r/w.
Go to system/usr/keylayout and edit "gpio-keys.kl".
Scroll down, look for the "key 172 HOME WAKE" line. Remove "WAKE" from the line and save, reboot.
YMMV, do at own risk, make file backup, etc.
Enjoy...
Click to expand...
Click to collapse
Awesome!!
As an alternative you can always install Xposed framework / Wanam and that is also an option that works as well as many other options.
tt281gt said:
Awesome!!
As an alternative you can always install Xposed framework / Wanam and that is also an option that works as well as many other options.
Click to expand...
Click to collapse
Thanks. Do you know if Xposed can enable the on-screen soft key? The qemu.hw.mainkeys=0 method doesn't work.
snovvman said:
Thanks. Do you know if Xposed can enable the on-screen soft key? The qemu.hw.mainkeys=0 method doesn't work.
Click to expand...
Click to collapse
Part of what you said sounds foreign to me LOL. I have not seen an option to use the soft keys to turn the screen on. I think xpo sed is just the framework to allow for things like wanam to make changes to rom.
The actual app I use for those changes is called wanam which uses the Xposed frameowrk.
I'm an android noob sorry if I wasn't much help @[email protected]
Sent from my SM-N900P using Tapatalk now Free
snovvman said:
I take no credit for this. This is a carryover from Note 2 and I got the info from some thread in one of the forums.
The method does work for N3s.
Sometimes I keep my phone in my back pocket and I do not want the screen to wake if the home button is inadvertently pressed. This method prevents the home key from waking the screen. Only the side key will wake the screen when applied.
Root is required, remount /system as r/w.
Go to system/usr/keylayout and edit "gpio-keys.kl".
Scroll down, look for the "key 172 HOME WAKE" line. Remove "WAKE" from the line and save, reboot.
YMMV, do at own risk, make file backup, etc.
Enjoy...
Click to expand...
Click to collapse
it used to work on 4.3, but since i upgraded to 4.4 , its not working anymore, i checked the gpio-keys.kl, and already all the keys like Volume up/down/home/focus/camera /power all now have WAKE_DROPPED, tried taking wake out of it. still no effect. Any help , may be its different in 4.4
swagatsourav said:
it used to work on 4.3, but since i upgraded to 4.4 , its not working anymore, i checked the gpio-keys.kl, and already all the keys like Volume up/down/home/focus/camera /power all now have WAKE_DROPPED, tried taking wake out of it. still no effect. Any help , may be its different in 4.4
Click to expand...
Click to collapse
I'm in the same boat. I just upgraded from 4.3 to 4.4 and now my home button wakes my phone and I can't disable it by editing gpio-keys.kl anymore. I tried a bunch of different edits but to no avail.
As an alternative, a bunch of threads (like this one http://forum.xda-developers.com/showthread.php?t=2673347) state that you can disable the wake-on-home functionality using the Xposed framework and Wanam, but that seems like overkill if all you want is to make one minor tweak.
Maybe as of 4.4 there's a different key layout file that needs to be edited. Here's a decent resource that describes how key layout files are used by the OS and in what order.
http://source.android.com/devices/tech/input/key-layout-files.html
It hasn't led me to a solution yet but maybe it will help point someone else in the right direction...

Categories

Resources