[Q] Is there a way to remove the 'swipe to unlock'? - Android Software/Hacking General [Developers Only]

Afternoon all,
I had a HTC Magic originally and when you pressed menu button twice it would bring the screen back on and then unlock it.
I am trying to achieve the same functionality on my Desire.
The Desire insists you firstly use the power button to bring the screen back to life & then you must swipe down (which i find a nuisance!) before you are back at the home screen.
By modifying 'bravo-keypad.kl' as below this fixes the first part (so the menu button activates the screen), but it still wants me to swipe down.
key 102 HOME
key 139 MENU WAKE_DROPPED
key 158 BACK
key 217 SEARCH
key 107 ENDCALL WAKE_DROPPED
key 116 POWER WAKE_DROPPED
Click to expand...
Click to collapse
To conclude: Is there a way to remove the 'swipe to unlock'? (without using ''Lock Screen Switch'' widget from the market.)
Thanks in advance!
Chris

I use "nolock", free from the Market and it works great on my Evo.
(Not sure if this is the widget you were referring to or not. )
-= SomeHuman =-

Related

Creative Ziio 10" Home Button dnot work after root

I rooted my Ziio" yesterday.
Installed Google apps.
Have some problems with SetupWizard.apk.
First time after restart work setupwizard i configured my google acc etc. , but after other restart hang on start screen where i must push the android in middle of screen to start, but after do it nothing happens. And homebutton not work , but after i deletet it with adb my Tablet work. Google MArket, Gmail. maps works.
MY Creative Ziio 10, heve 7 Hardware buttons under Display.
All of them work, only my Home button dnot work.
Normyly if i hold Home Button started Taskmanager, or if i press it i go back to desktop.
i have in /system/usr/keylayout/ 4 Files.
ACRPC.kl, qwerty.kl, Touchscreen,kl, wm8350_buttons.kl
But i dnot know where is for my home button.
Maybe blocking some App this button.
Other guy where rootes his ziio 10" , have same problem like me...
Any Ideeas ? how to fix it
I try to Edit Touchscreen.kl for Test.
I Set Homebutton @ 165
And Menu @ 163.
Menu works on new button but home still dnot work.
I think maybe google setup disabled the home funktion.
here a little cu on my touchscreen.kl
key 108 CALL WAKE_DROPPED
#key 103 CALL WAKE_DROPPED stargate rev0
key 139 MENU WAKE_DROPPED
key 103 ENDCALL WAKE_DROPPED
#key 108 ENDCALL WAKE_DROPPED stargate rev0
key 115 VOLUME_UP
key 114 VOLUME_DOWN
key 102 HOME WAKE
key 158 BACK WAKE_DROPPED
key 216 BACK WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
key 164 MEDIA_PLAY_PAUSE WAKE
key 201 MEDIA_PLAY_PAUSE WAKE
key 163 TOUCH_NEXT WAKE
key 165 TOUCH_PREVIOUS WAKE
key 212 CAMERA WAKE
key 116 POWER WAKE
Click to expand...
Click to collapse
Plz any one help me.
How did you obtain permanent root? I've gotten almost as far as you have but I've had to reset my tablet after the first or second reboot after rooting.
Thanks!
I dont know if it would be of help.... I have a Ziio 7
Rooted it - and the menu/homescreen would not work....tried lots of work around nothing happened (deleting the google accounts etc..etc..)
Finally i did a factory reset....
my google applications stayed (market, gmail etc...)
Rooted again.. and now everything works....

Side button (volume) unlock screen

Currently I`m using WidgetLocker to unlock screen with volume but I lost default unlock screen from sense who is beautifull so:
WidgetLocker Lockscreen can do it, CM7 rom I heard that can do it so how can they do it? What should us (I`m sure that I`m not the only one who don`t want to use power button to unlock screen or to use some app that keep sensors on) have to do to unlock screen with volume keys? I tried to edit keypad.kl (key 114 VOLUME_DOWN WAKE to WAKE_DROPPED) but on desire S has no effect so if widget locker/cm7 can do this thing maybe someone can help and say what should I have to edit ?
update: after using ButtonRemapper v0.2.4.1:
1.volume +- with wake_dropped = didn`t worked to unlock screen.
2.volume +- binded as power and wake_dropped = when screen was on it worked to make screen off but when screen was off didn`t worked to unlock.
out of ideas :|
Bump
I'm bumping this one.
Yes there are more people who want to use their volume key(s) to unlock to their Sense 3 based lockscreen!
Hope that somebody can come up with an answer!
I'm keeping my eyes on this post.
Cheers,
D.
codryn said:
update: after using ButtonRemapper v0.2.4.1:
1.volume +- with wake_dropped = didn`t worked to unlock screen.
2.volume +- binded as power and wake_dropped = when screen was on it worked to make screen off but when screen was off didn`t worked to unlock.
out of ideas :|
Click to expand...
Click to collapse
i got this working on my htc evo today, here are my changes i made using Button Remapper v0.2.4.1
107 [Endcall] Endcall W_D
116 [Power] Volume Up W
115 [Volume Up] Volume Down W
114 [Volume Down] Power W_D
217 [Search] Search W_D
158 [Back] Back W_D
139 [Menu] Menu W_D
102 [Home] Home W_D
so now my power button is vol up, vol up is vol down, and vol down is power.
im not sure if this will work on your phone, but i dont get to help people much and this felt right up my alley
EDIT: also, i used to use widgetlocker with a sense theme, so you should be able to change it in the custom slider screen, check under themes.
Look HERE for info how to do it.

Button is not working properly

Hi all
Due to a bug in my HTC Desire, I installed a new ROM. Everything worked fine.
The problem is: My back button, volume down and search does not work.
I noticed in the recovery in key test that worked well.
Still in recovery, if I click on volume down, I change my options. If I click on volume down, it restarts the phone. Also, I have to click the back button to enter an item. Usually it is the power button that makes this task.
It seems that the buttons no longer performs the proper treatment.
Thank you for helping me
I just made a test
Here are the key original maps:
Power 116
Home 102
menu 139
158 back
Search 217
Volume UP 115
Volume 114 DOWN
Those I have:
Power 116
Home 102
menu 139
272 back
Search 272
Volume UP 115
Volume 272 DOWN
someone ?

[Q] Remap long press recent apps button

Hello I've installed Liberty S4 MAX Rom and is working perfectly only three dots menu is missing in this ROM. I want to remap long pres in recent apps button to show menu.
I've found this:
Edit usr/keylayout/cy8c-touchkey.kl
change the thrid line
from:
key 249 APP_SWITCH
to
key 249 MENU​But it is to replace recent apps with menu and I want than menu appears only with long press.
Any ideas? Thanks!

Trouble with APP-SWITCH & MENU key

Hello,
First post I have rooted my Oneplus one yesterday, after that my MENU key and recent app (APP-SWITCH) has been set back to default
Long Press - APP-SWITCH & Short press - Menu
I wanted to interchange both keys Long press - MENU & Short press - APP-SWITCH
Then I followed http://forum.xda-developers.com/showthread.php?t=2733811 for switching keys
I have replaced
(key 139 MENU) with (key 580 APP-SWITCH)
Now my APP-SWITCH key is working but MENU is not working please help me sort it out as its my first root ever so noob with these.
If someone want to help you can get Generic.kl here- - > http://pasted.co/3a9b34ca
I think it's because key 580 is long press of MENU not long press of key 139. So whichever button you set to MENU, when you long press it, it will use key 580's value. In this case, your left button just turned to Recents (APP_SWITCH) key, not MENU key anymore, so when you long press it, key 580's value won't be used.
So i think changing left button short press to Recents (APP_SWITCH) key is as far as you can go, nothing more you can do about the long press without custom ROM or xposed. (Or does CyanogenOS have the Buttons section in the settings, i don't remember)

Categories

Resources