[Q] Wake up with end call key? - HTC ChaCha

Is there a way to make the screen wake up when I press the end call key?
I really think that the power/lock button is hard to reach and feels unnatural, while the end call key seems perfect for that...

It should be possible if you have root and you edit the keyboard.kl file.

Would it then not be able to end calls tho?
Out of interest
Sent from my HTC ChaCha A810e using Tapatalk

qbert456 said:
Would it then not be able to end calls tho?
Out of interest
Sent from my HTC ChaCha A810e using Tapatalk
Click to expand...
Click to collapse
I hope not! All I want is to be able to wake up the screen along with being able to end calls...
Ok. I've found the keyboard files, but don't know which one should I edit. Can someone point me to a .kl file and the corresponding string I should edit since I'm quite a noob in that area?

In /system/usr/keylayout/chacha-keypad.kl
# column 2
key 107 ENDCALL - change to POWER but then endcall will not work.

I suppose you could swap them over?
End call with power button instead?
Just a thought
Sent from my HTC ChaCha A810e using Tapatalk

@qbert That is one idea...
@Alex Thanks. I guess there's no way to use it for both?

StevaSRB said:
@Alex Thanks. I guess there's no way to use it for both?
Click to expand...
Click to collapse
Hmmm, haven't tried it yet
I can see other keys like:
# column 4
key 114 VOLUME_DOWN WAKE
If you press the volume down button you will notice that the screen turns on (aka wake) so it might be that you can use
# column 2
key 107 ENDCALL POWER or WAKE_DROPPED (which means sleep/lock screen)
It's risky though, what I can see is that when you end a call you will also tell your phone to sleep/lock screen at the same time. It depends how processes are managed and if WAKE_DROPPED is processed first (as having higher priority), you might end up with WAKE_DROPPED all the time and ENDCALL being discarded. I haven't tried any of these so don't point fingers if something goes wrong.
If you do want to switch them then put POWER WAKE_DROPPED for key 107 and ENDCALL for 116.
Remember to do a backup of your rom before changing these.

RESOLVED
Ok. After playing a bit I've finally found a way to make it work for me...
I've left the ENDCALL and added to it: [13xspace]WAKE_DROPPED. I don't think you need to have 13 spaces exactly, but I copied the entry from one of the other strings...
This way it lets me use the END CALL key to end calls and to (only) wake up the screen from sleep (which is exactly what I needed). It will not make the screen go to sleep because POWER and ENDCALL entries are conflicted and will make your keyboard unresponsive...

Excellent! Works for me too. Thx Alex.

sabesh said:
Excellent! Works for me too. Thx Alex.
Click to expand...
Click to collapse
Thank StevaSRB too, for testing

is there any app can use volume button or end-call to wake up screen !?.
I tried
# column 4
key 114 VOLUME_DOWN WAKE ,but it didnt work.

StevaSRB said:
Ok. After playing a bit I've finally found a way to make it work for me...
I've left the ENDCALL and added to it: [13xspace]WAKE_DROPPED. I don't think you need to have 13 spaces exactly, but I copied the entry from one of the other strings...
This way it lets me use the END CALL key to end calls and to (only) wake up the screen from sleep (which is exactly what I needed). It will not make the screen go to sleep because POWER and ENDCALL entries are conflicted and will make your keyboard unresponsive...
Click to expand...
Click to collapse
Could u please be more specific as to what exactly u changed????? Please.

StevaSRB said:
Ok. After playing a bit I've finally found a way to make it work for me...
I've left the ENDCALL and added to it: [13xspace]WAKE_DROPPED. I don't think you need to have 13 spaces exactly, but I copied the entry from one of the other strings...
This way it lets me use the END CALL key to end calls and to (only) wake up the screen from sleep (which is exactly what I needed). It will not make the screen go to sleep because POWER and ENDCALL entries are conflicted and will make your keyboard unresponsive...
Click to expand...
Click to collapse
can u tell me how to do this?????
---------- Post added at 03:52 PM ---------- Previous post was at 03:42 PM ----------
Alex C. said:
Thank StevaSRB too, for testing
Click to expand...
Click to collapse
can u tell me how to use end call key to wake up scree?????//

[Q]
How we can set shift+* change keyboard language??? is it possible???

Very good ,,,it works for me too....i've added 13 free space after END CALL then type WAKE_DROPPED,,,now with the end call key the screen turns on..tnx guys:thumbup:
Sent from my HTC ChaCha A810e using xda app-developers app

lil.masoud said:
Very good ,,,it works for me too....i've added 13 free space after END CALL then type WAKE_DROPPED,,,now with the end call key the screen turns on..tnx guys:thumbup:
Sent from my HTC ChaCha A810e using xda app-developers app
Click to expand...
Click to collapse
can u send me the file u change????

tuyenat3 said:
can u send me the file u change????
Click to expand...
Click to collapse
Yes,of course,,,why not...:thumbup:
Sent from my HTC ChaCha A810e using xda app-developers app

mortal19xx said:
How we can set shift+* change keyboard language??? is it possible???
Click to expand...
Click to collapse
How can i send u the file??
Sent from my HTC ChaCha A810e using xda app-developers app

lil.masoud said:
Yes,of course,,,why not...:thumbup:
Sent from my HTC ChaCha A810e using xda app-developers app
Click to expand...
Click to collapse
please send me to [email protected]
thank u so much
and i have a question:which rom are u using???i'm using cm10.1

Related

[MOD] [21/07] Wake up using Home, Menu, Search or Back UPDATE. [Trackball wake]

Flash any of the below links through your desired recovery console. Clockwork or R.A .
Big thanks to lambrospower and KingChris. Nice work guys...
Wake up using Menu Button
Wake up using only Menu, without use of the Power button
Wake up using the Search button, without use of the Power button
Wake up using the Back button, without the use of the Power button
Wake up using the Home button, without use of the Power button
Track-Ball Wake (With Power Enabled)
Track-Ball Wake (Only Trackball)
Restore original functionality (Just the power button)
Note:
These should work with both HTC and Stock ROMS, either on 2.1 or 2.2. Any troubles, post your comment below with a brief description of what went wrong, We'll try out best to help.
Nandroid first....as allways.
Enjoy.
CP.
For the General progress of this mod, check out http://forum.xda-developers.com/showthread.php?t=683902
Is there also one for the "trackball" ? Would be perfect for me If not, I'll try one of the above anyway. Thanks!
how to deactivate if you dont like it?
No they haven't found a way yet to use the trackball as a wake up call. Seem's strange as all the other buttons work. I'll have a look in other places tho, If I find it I'll post it.
Good point Simc13, I'll quickly make an update zip that'll restore normal functionality.
CP
7pellc said:
No they haven't found a way yet to use the trackball as a wake up call. Seem's strange as all the other buttons work. I'll have a look in other places tho, If I find it I'll post it.
Good point Simc13, I'll quickly make an update zip that'll restore normal functionality.
CP
Click to expand...
Click to collapse
Great & quick support!
OP updated.
Now includes back to original functionality.
CP
Re: [MOD] Wake up using Home, Menu, Search or Back
What about to use volume down key to wake up the phone? I think it would be an easy way.
-------------------------------------
Sent via the XDA Tapatalk App
lsmgeb89 said:
What about to use volume down key to wake up the phone? I think it would be an easy way.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
I am not sure if this would make sense, as the volume rocker keeps working when you are listening music and the screen is off.
hi, im the one named Burst on www.android-hilfe.de
i want to set a link to the original post here on XDA where the mod has started
http://forum.xda-developers.com/showthread.php?t=683902
work with any button
Hi guys. This post was exactly what I was looking for.
I flashed only the search key to wakeup.
Result: now it wakes up with any button (also volume and trackpad).
Is it my mistake (which one?) or what?
Just flashed from the recovery and rebooted.
Thanks for your support
linkback: http://forum.xda-developers.com/showthread.php?t=683902
Thankyou soooo much! Just what I wanted!
janvandusschoten said:
Is there also one for the "trackball" ? Would be perfect for me If not, I'll try one of the above anyway. Thanks!
Click to expand...
Click to collapse
+
Want wake up with trackball too
thx
++
Trackball.
Is needed all wipe??
@kingChris
I'll add your link to the first post mate.
It's nice to see mods with different buttons working. I used kingchris's mod as soon as he posted, and it's been working great since then.
is it possible to have the same function as stock hero 1.5/2.1 where u press the menu button twice, it unlocks the lockscreen?
ivicask said:
++
Trackball.
Click to expand...
Click to collapse
+++
i have looked in system/usr/ and there are more files showing key numbers, i couldnt find trackball tho..
Does this work with MCR 3.1?

Moving the menu button back where it belongs

Let's face it, the menu belongs on your left thumb. We all know it.
It's not a hard fix.
First, you need to root your phone. Next, get Root Explorer from the market. (Other file managers and text editors can be used, but Root Explorer makes it easy.)
Navigate to /SYSTEM/USR/KEYLAYOUT/s3c-keypad.kl
(If you aren't using Root Explorer, make a backup copy of the original file before you edit!)
Open s3c-keypad.kl and make sure you are set to read and write the file.
It will look like this:
#
# NAGSM_SEL_FRAMEWORK
# abhilash.b - Keymaping and added custom labels - SYMBOL , MULTITASKER, SMILEY
#
key 16 1
key 17 2
key 25 3
key 33 4
key 41 5
key 49 6
key 2 7
key 10 8
key 18 9
key 67 0
key 68 Q
key 65 W
key 3 E
key 11 R
key 19 T
key 27 Y
key 35 U
key 43 I
key 51 O
key 59 P
key 20 A
key 28 S
key 36 D
key 44 F
key 52 G
key 60 H
key 5 J
key 13 K
key 21 L
key 4 DEL
key 45 SEARCH
key 53 Z
key 61 X
key 6 C
key 14 V
key 22 B
key 30 N
key 38 M
key 54 SMILEY
key 29 ENTER
key 15 SHIFT_LEFT
key 23 ALT_LEFT
key 56 AT
key 48 COMMA
key 63 SPACE
key 64 PERIOD
key 32 QUESTION
key 40 VOICE_INPUT
key 46 SHIFT_RIGHT
key 7 MULTITASKER
key 34 BACK WAKE_DROPPED
key 66 MENU WAKE_DROPPED
key 8 HOME WAKE
key 42 VOLUME_UP WAKE_DROPPED
key 58 VOLUME_DOWN WAKE_DROPPED
key 26 POWER WAKE
key 50 DPAD_CENTER WAKE_DROPPED
key 39 FOCUS
key 31 CAMERA
# Need to be interchanged later - abhilash.b
...Now, switch the HOME WAKE to the key 66 line and put the MENU WAKE_DROPPED on the key 8 line.
When you save it, Root Explorer cleverly makes a backup of the original for you.
Now, reboot and enjoy. The menu is back where it belongs (top left) and the home button has moved to the cancel key position--upper right.
It's easy fix and it makes the device feel more like home.
Sent from my SGH-T839 using XDA App
man kind of wish i had run into this earlier. Coming from the G1 I kept hitting the wrong buttons for a long time. Now i've already gotten used else i'd jump right on this
LesserAnimal said:
man kind of wish i had run into this earlier. Coming from the G1 I kept hitting the wrong buttons for a long time. Now i've already gotten used else i'd jump right on this
Click to expand...
Click to collapse
Lol same thing for me, im used to it now
hahaha omg i totally didn't even think about this. I might have to do this for the question mark too...
Would this allow us to change the trackball click function into a search button? Because that woukd solve the biggest flaw on this phone.
And if so, would trackball scrolling still work for text selection? I like that, just don't really use the trackball click. I'm guessing the trackball button would be the one labeled "center" right?
Falkner09 said:
Would this allow us to change the trackball click function into a search button? Because that woukd solve the biggest flaw on this phone.
And if so, would trackball scrolling still work for text selection? I like that, just don't really use the trackball click. I'm guessing the trackball button would be the one labeled "center" right?
Click to expand...
Click to collapse
if you can get that to work i'd remap my trackball to search as well. good idea .. never woulda though of that
ayoteddy said:
if you can get that to work i'd remap my trackball to search as well. good idea .. never woulda though of that
Click to expand...
Click to collapse
So did anyone try it?
Remapped long after getting "used" to the new menu location, now I get to re-train myself. Whoops. Ah well. It is where it should be now!
ayoteddy said:
if you can get that to work i'd remap my trackball to search as well. good idea .. never woulda though of that
Click to expand...
Click to collapse
Well my trackpad is officially now a search key all u do is replace line 50 with SEARCH (all upper case) and reboot so thank u guys for the information appreciate it
Edit: trackpad still scrolls too
Sent from my SGH-T839 using xda premium
Gplayjay said:
Well my trackpad is officially now a search key all u do is replace line 50 with SEARCH (all upper case) and reboot so thank u guys for the information appreciate it
Edit: trackpad still scrolls too
Sent from my SGH-T839 using xda premium
Click to expand...
Click to collapse
WOO! Thanks now it feels like my phone is fulfilled!
You can put your search button on the "multitasker" button. The key still works as a jump key when the phone is open.
You will lose access to your recent apps, but you can take care of that with a new launcher or a "prehome" app.
Just replace MULTITASKER with SEARCH.
Sent from my SGH-T839 using XDA App
I tried doing this without root explorer (don't want to pay) and I ant find any app that will open the file. I edit it and then I reboot my phone, nothing changes.
Sent from my SGH-T839 using XDA App
the search button works when changed to the trackpad thanks everyone
would this work on forcing the enter key to send a message instead of just creating a line break?
theU1991 said:
would this work on forcing the enter key to send a message instead of just creating a line break?
Click to expand...
Click to collapse
Sadly, it will not.
TTYTYTYTYTYTYTY sooo much ive been looking for this
pretty sick, gonna look at changing the smiley face key to be another ALT key. thanks!
---------- Post added at 06:43 PM ---------- Previous post was at 06:31 PM ----------
mksin11 said:
I tried doing this without root explorer (don't want to pay) and I ant find any app that will open the file. I edit it and then I reboot my phone, nothing changes.
Sent from my SGH-T839 using XDA App
Click to expand...
Click to collapse
root browser lite by JRUMMY16, free from market. got it just now to do this. worked perfectly. automatically makes a backup of the file for you when you save your edits. app seems solid overall.
---------- Post added at 06:46 PM ---------- Previous post was at 06:43 PM ----------
alright, i changed the SMILEY key to ALT_RIGHT and it TOTALLY WORKS AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH
This is perfect!
My Sidekick 4g took a bath this summer in a creek...the joy damage was the Back button stopped functioning.
I used this post to switch the Jump button to Back, since I never used the Jump button...and my phone works great now. Thanks!
very helpful, even though i'll probably screw this up. Is it possible to change jump key into launching a pre home app, like URL="https://playDOTgoogleDOTcom/store/apps/details?id=mohammad.adib.sidebar.lite"this one? (too new, cant post links)
fuzzie said:
This is perfect!
My Sidekick 4g took a bath this summer in a creek...the joy damage was the Back button stopped functioning.
I used this post to switch the Jump button to Back, since I never used the Jump button...and my phone works great now. Thanks!
Click to expand...
Click to collapse
How can I do that is the Jump key the one that says Multitasker?

Wake the phone with other button?

So my power button is like broken.. and its giving me hell to "try" to fix it.. (i've opened the phone and started to touch it and move it.. to make it work).. so.. i don't want to use it anymore..
I was wondering if there is a way to wake up the phone using the volume up/down buttons.. or the menu buttons? i'm running CM10..
There is an option somewhere in settings called volume rocker wake.
Sent from my sweet & buttery Infuse
Tasker has that capability when the "secure settings" plug-in is installed.
You could trigger it from a Tasker gesture (involves moving the phone in space) or shake... both of which are detected by accelerometer.
Edited to add: Andros' solution sounds simpler.
cool.. i found it under screen settings.. also.. is there a way to lock the screen WITHOUT touching the powerbutton?
p3terr said:
cool.. i found it under screen settings.. also.. is there a way to lock the screen WITHOUT touching the powerbutton?
Click to expand...
Click to collapse
There are Apps to do this. See the penultimate and antepenultimate posts here:
http://forum.xda-developers.com/showthread.php?t=1873129&highlight=screen
ps
penultimate = next to last
antepenultimate = the one before that
Sorry to be obnoxious... those are funny words and I didn't think I'd ever get to use them both in one post.
electricpete1 said:
There are Apps to do this. See the penultimate and antepenultimate posts here:
http://forum.xda-developers.com/showthread.php?t=1873129&highlight=screen
ps
penultimate = next to last
antepenultimate = the one before that
Sorry to be obnoxious... those are funny words and I didn't think I'd ever get to use them both in one post.
Click to expand...
Click to collapse
Really cool the antepenultimate lol xD thanks
Sent from my Infuse4G using Tapatalk
andros11 said:
There is an option somewhere in settings called volume rocker wake.
Sent from my sweet & buttery Infuse
Click to expand...
Click to collapse
+1
Sent from my SGH-I997 using xda app-developers app

Remapping the Physical Buttons

well, recently I've been trying to remap the softkeys on the note II, and I'm just not making progress. My goal is to create a small mod that turns the softkey lights off, and remaps the menu key for the back key, and the back key to recents, as well as somehow changing the home button longpress to a google now shortcut.
After doing some research, I figured changing the Generic.kl (/system/usr/keylayout/) lines 139 and 158 would make progress. However, all I've accomplished so far is disabling the softkeys.
Any help or information on this subject would be greatly appreciated.
Thanks in advance.
- and yes, I tried the ButtonRemapper apk
I made this file months ago, and it's worked on every TW rom I've had, since I HATE the backwards button layout Samsung chose. Download this file, go to your /system/usr/keylayout folder, rename your existing sec_touchkey.kl to sec_touchkey.kl.bak, then move the file I gave you into that folder. Set permissions and reboot, and you'll have the setup you want.
Obviously, just turn the backlights off in the Display settings. Do note that you won't have a menu button after you do this, I just use Button Savior to put a little shortcut off to the side. But if you come up with a more elegant solution, please feel free to let me know.
That file should do what you want, all I ask is that you credit me if you share it with anyone, put it in a rom, or whatever.
http://db.tt/RzSutNxL
Sent from my SCH-I535 using Tapatalk 2
Cruiserdude said:
I made this file months ago, and it's worked on every TW rom I've had, since I HATE the backwards button layout Samsung chose. Download this file, go to your /system/usr/keylayout folder, rename your existing sec_touchkey.kl to sec_touchkey.kl.bak, then move the file I gave you into that folder. Set permissions and reboot, and you'll have the setup you want.
Obviously, just turn the backlights off in the Display settings. Do note that you won't have a menu button after you do this, I just use Button Savior to put a little shortcut off to the side. But if you come up with a more elegant solution, please feel free to let me know.
That file should do what you want, all I ask is that you credit me if you share it with anyone, put it in a rom, or whatever.
http://db.tt/RzSutNxL
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Thanks a bunch!
idiotzach15 said:
Thanks a bunch!
Click to expand...
Click to collapse
I'll be creating a flash zip for this "fix" soon. Does anyone know where I'd change the longpress on the homebutton action?
idiotzach15 said:
I'll be creating a flash zip for this "fix" soon. Does anyone know where I'd change the longpress on the homebutton action?
Click to expand...
Click to collapse
/system/framework/android.policy.jar/PhoneWindowManager.java
At leasts thats what i can remember lol. Thats what i had to edit on my Tablet to make long press on home function as long press search.
Yeah, I'd love to find a way to enable a long press of the right hand capacitive button (back button stock, but it's the task switcher with that file I posted) to act as a menu button. That would be awesome.
Alternatively, I'd love to figure out how to change the TW soft keys to AOSP theme and layout. I love using soft keys, but I can't stand the backwards layout Samsung has chosen, and can't bring myself to using it if I can help it.
Sent from my SCH-I535 using Tapatalk 2
Cruiserdude said:
Yeah, I'd love to find a way to enable a long press of the right hand capacitive button (back button stock, but it's the task switcher with that file I posted) to act as a menu button. That would be awesome.
Alternatively, I'd love to figure out how to change the TW soft keys to AOSP theme and layout. I love using soft keys, but I can't stand the backwards layout Samsung has chosen, and can't bring myself to using it if I can help it.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
You can add your own methods to the android.policy.jar file to handle different on hold actions.
Sent from my SGH-T999
"So I put my phone into airplane mode and threw it... worst transformer ever. -.-" -My friend
elesbb said:
/system/framework/android.policy.jar/PhoneWindowManager.java
At leasts thats what i can remember lol. Thats what i had to edit on my Tablet to make long press on home function as long press search.
Click to expand...
Click to collapse
Every file editor I try is unable to open/edit the android.policy.jar file. How do I edit it?
tonyf7 said:
Every file editor I try is unable to open/edit the android.policy.jar file. How do I edit it?
Click to expand...
Click to collapse
Have to decompile it using apktool
Sent from my SPH-L710 using xda app-developers app
elesbb said:
You can add your own methods to the android.policy.jar file to handle different on hold actions.
Sent from my SGH-T999
"So I put my phone into airplane mode and threw it... worst transformer ever. -.-" -My friend
Click to expand...
Click to collapse
Is it possible to add a method that when back is pressed twice it launches an app? Or can I modify long press to launch an app like voice commands?
hi guyz.. one question.. i'd want to remap the buttons with this logoc
1 press menù -> multitasking tab
long press menù -> menù
long press home buttons -> gvoice
any idea how to use it?
i'm on swift rom v3 + perseus kernel and, i don't have the sec_touchkey file! o.o
how to?
i'd want to use the stock tw launcher, not another one..
thanks
---------- Post added at 03:58 PM ---------- Previous post was at 03:21 PM ----------
Ok i edited the file and puted it in right folder.. now i have the multitasking in normal menù press, but NOT the menù in the hold.. what could i do?
hi, is there any way to wake-up screen without home key, power key and volume key? actualy my home button is now not as hard as it was before, i am afraid it may damage some day, so does power key, i know about few apps which wakes up using sensor, but it's not for me, it drains battery too much, i want something like waking up phone with capative touch keys, or swiping them, is it possible to change key 172 which is home button to a menu key for waking up? in system/usr/keylayout/ ?
Shekar.m1986 said:
hi, is there any way to wake-up screen without home key, power key and volume key? actualy my home button is now not as hard as it was before, i am afraid it may damage some day, so does power key, i know about few apps which wakes up using sensor, but it's not for me, it drains battery too much, i want something like waking up phone with capative touch keys, or swiping them, is it possible to change key 172 which is home button to a menu key for waking up? in system/usr/keylayout/ ?
Click to expand...
Click to collapse
the situation is simple.. ALL IS POSSIBLE..
i you know java code as advance user, i can send you files witch you should recompile
but.. the situation is simple.. if you always turn on the soft buttons, you'll lose a lot of energy, since ALL screen is alimented..
Soft touch buttons uses the same touch as screen, so, you always have to aliment it
ok.. 2 issues:
1) if leg touch the soft button, screen will be turned on
2) showp-1984 creates the swipe2wake, for htc phones, you need a lot of c++ knowledge to recompile it
But.. in my opinion, buttons are "immortal" than soft touch..
I have an old keyboard.. it had about 12 years.. and works good.. and.. i used it for 6 years til change, so, dont be scary, i don't think you are breaking your buttons!!
---------- Post added at 02:03 PM ---------- Previous post was at 01:57 PM ----------
Btw.. i find the code witch is the governor of the buttons.. it's in android.policy.jar file.. and.. i tryed to force the hold home button to hold menù button, and sure, it worked, with one issue: menù always had the search function
So.. the situation is simple... i don't know how to code with java, and sure, i need a good java programmer to do what i whould do.. at last.. only one "stupid thing".. change the hold home button app switch to menù.. so.. i could have:
Menù button as app switch with 1 press (easy to do)
standard press of home as move home function and hold it for the android MENU
And back as always
I only need one coder witch can modify me the @8 VALUE
Any good person??
iba21 said:
the situation is simple.. ALL IS POSSIBLE..
i you know java code as advance user, i can send you files witch you should recompile
but.. the situation is simple.. if you always turn on the soft buttons, you'll lose a lot of energy, since ALL screen is alimented..
Soft touch buttons uses the same touch as screen, so, you always have to aliment it
ok.. 2 issues:
1) if leg touch the soft button, screen will be turned on
2) showp-1984 creates the swipe2wake, for htc phones, you need a lot of c++ knowledge to recompile it
But.. in my opinion, buttons are "immortal" than soft touch..
I have an old keyboard.. it had about 12 years.. and works good.. and.. i used it for 6 years til change, so, dont be scary, i don't think you are breaking your buttons!!
---------- Post added at 02:03 PM ---------- Previous post was at 01:57 PM ----------
Btw.. i find the code witch is the governor of the buttons.. it's in android.policy.jar file.. and.. i tryed to force the hold home button to hold menù button, and sure, it worked, with one issue: menù always had the search function
So.. the situation is simple... i don't know how to code with java, and sure, i need a good java programmer to do what i whould do.. at last.. only one "stupid thing".. change the hold home button app switch to menù.. so.. i could have:
Menù button as app switch with 1 press (easy to do)
standard press of home as move home function and hold it for the android MENU
And back as always
I only need one coder witch can modify me the @8 VALUE
Any good person??
Click to expand...
Click to collapse
I see, actually you're right, i forgot that we have to decompile android.policy.jar to be able to change wake up keys, i remember it when i saw someone changed wake-up key to volume buttons through android.policy.jar, it's quite strange that with samsung decvices which uses physical home button to screen wake, doesn't have any mod to alternative method, one you already mentioned sweep2wake, a pleasent feature to relief power button of htc devices, what about the relief for Samsung's physical home key? i am not so fussed about other use of physical key, i only want to change screen wake key to capacitive menu key or something like sweep2wake..i can see after sometime, lots of users complain about home key, so a handy mod should be there.
by the way can you send me an edited file with menu (capacitive button) wake up enabled?
Shekar.m1986 said:
I see, actually you're right, i forgot that we have to decompile android.policy.jar to be able to change wake up keys, i remember it when i saw someone changed wake-up key to volume buttons through android.policy.jar, it's quite strange that with samsung decvices which uses physical home button to screen wake, doesn't have any mod to alternative method, one you already mentioned sweep2wake, a pleasent feature to relief power button of htc devices, what about the relief for Samsung's physical home key? i am not so fussed about other use of physical key, i only want to change screen wake key to capacitive menu key or something like sweep2wake..i can see after sometime, lots of users complain about home key, so a handy mod should be there.
by the way can you send me an edited file with menu (capacitive button) wake up enabled?
Click to expand...
Click to collapse
I'd want but, i'm not a java programmer, i don't know how to do to remap a button, do you think i know how to force the electromagneticity on??
I think is not easy whaylt ypu would do.. and sure.. you have to modify more than 1 jar file.. because.. i ONLY have to REMAP a button, so, stock, only have to do ANOTHER THING... you want to change a power features.. i think you have to modify the kernel (sweep 2 wake is a feature of the kernel, not of the rom.. kernel is writed in c++.. android is writed in java, uses the java machine)
---------- Post added at 09:05 PM ---------- Previous post was at 08:22 PM ----------
Oh right.. one thing.. emh.. in my opinion.. button is a button, and samusung did some test about the resistence of the button
Sure.. time destroys all.. so.. you could have a softly botton after 12 months.. but.. i don't think you'll damage it soon..
Warranty is here.. you can send phone to the costructor if you have a problem
P.s. i have old phones, as like a siemens s10.. and.. ALL buttons are ok..
That phone was used by:
Dad > mom > me > brother > second brother
It has about, 8years of usage.. no prob..
Dont know why you are so worried!
iba21 said:
I'd want but, i'm not a java programmer, i don't know how to do to remap a button, do you think i know how to force the electromagneticity on??
I think is not easy whaylt ypu would do.. and sure.. you have to modify more than 1 jar file.. because.. i ONLY have to REMAP a button, so, stock, only have to do ANOTHER THING... you want to change a power features.. i think you have to modify the kernel (sweep 2 wake is a feature of the kernel, not of the rom.. kernel is writed in c++.. android is writed in java, uses the java machine)
---------- Post added at 09:05 PM ---------- Previous post was at 08:22 PM ----------
Oh right.. one thing.. emh.. in my opinion.. button is a button, and samusung did some test about the resistence of the button
Sure.. time destroys all.. so.. you could have a softly botton after 12 months.. but.. i don't think you'll damage it soon..
Warranty is here.. you can send phone to the costructor if you have a problem
P.s. i have old phones, as like a siemens s10.. and.. ALL buttons are ok..
That phone was used by:
Dad > mom > me > brother > second brother
It has about, 8years of usage.. no prob..
Dont know why you are so worried!
Click to expand...
Click to collapse
This is an expensive phone, so we would definitely worry about it i know it does rarely broken, but it does more or less, i don't know why samsung intend to choose physical home instead of capacitive, i had HTC Sensation, and i was glad to use sweep2wake on it to save power button, samsung's power button gives loose feeling right out of the box like it'll break anytime, so samsung needs sweep2wake or something like that much more than HTC devices, hopefully some devs will look at it, THIS WAKE-UP KEY NEED TO BE HACKED AND REPLACED, simple is that, although soft keys gives it little bit relief, but we have to wake-up device atleast 30-50 times in working days, so that's why i am really looking forward to it, can we both join hands to bring developers attention toward it? if you also want to wake-up screen with anything other than physical keys i'm sure you must be missing sweep2wake in note 2
I didn't use s2w.. why? It uses too mouch energy in standby
showp is one of my great friends in xda, and i love his kernel + his MPDECISION code
Btw, for me, you are crazy
Never ever had problems with phone buttons.. i had an n95, i sent about 1 bilion of sms.. here in italy vodafone created a promo witch gives about 100free sms per day.. i used everytime all the sms.. and.. sure.. i had to press the send button 2 timed every sms + all the other
I used that phone for 3 years.. changed it with an hd2... bought the first day (n95) and hd2 used.. 365 days x 3 = 1095.. 1095 x 100 = 19500 x 2 = 219,000 + all the other used to navigate in menù
Btw.. n95 was broken in display cable.. all buttons perfect!!
has anyone tried ButtonRemapper? http://forum.xda-developers.com/showthread.php?t=850464
before doing all the hard work
Yep and didnt work!

[MOD/HOWTO] Disable Home Button Wake

Haven't seen this posted yet and each phone is a little different. Curiously it's more like the Note II than the SIII.
1) Open Root Explorer
2) Navigate to: /system/usr/keylayout/
3) Press 'Mount R/W'
4) Long hold 'gpio-keys.kl' and choose "Open in Text Editor"
5) Remove "WAKE" from the line "172 HOME WAKE"
6) Back out, Save, Reboot
Enjoy
How can you set double tap to something else? Say google voice search..
lowspeed said:
How can you set double tap to something else? Say google voice search..
Click to expand...
Click to collapse
I think that would require a modification to a framework jar. Ill see if I can find it.
lowspeed said:
How can you set double tap to something else? Say google voice search..
Click to expand...
Click to collapse
Home2 shortcut app should work. Simply download it, follow the instructions, then disable the home button shortcut in the svoice settings.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
How do u get it back to working
micadee6453 said:
How do u get it back to working
Click to expand...
Click to collapse
Never mind i figured it out
micadee6453 said:
Never mind i figured it out
Click to expand...
Click to collapse
Editing your first post would have sufficed.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
shoman94 said:
Editing your first post would have sufficed.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Click to expand...
Click to collapse
Thanks ill do that next time:good:
Why would you want to do this unless you could reassign it or add another way to wake up device?
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
SysAdmNj said:
Why would you want to do this unless you could reassign it or add another way to wake up device?
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Well... the power button wakes the phone up just fine. I also worry that it can get pressed while in my pocket.
Coming from the Galaxy Note I enjoy the Home Button to wake the phone instead of always having to use the Power Button.
What I'd like to see is Google Voice search shortcut while holding the Power Button instead of the Task Manager.
ZPaul2Fresh8 said:
Coming from the Galaxy Note I enjoy the Home Button to wake the phone instead of always having to use the Power Button.
What I'd like to see is Google Voice search shortcut while holding the Power Button instead of the Task Manager.
Click to expand...
Click to collapse
Just long-press Menu to bring up GNow...then you not only have access to voice search, but the famous GNow cards that might answer your question, anyhow.
dkephart said:
Just long-press Menu to bring up GNow...then you not only have access to voice search, but the famous GNow cards that might answer your question, anyhow.
Click to expand...
Click to collapse
That and also in any app, long press on the menu button acts as the search button within the app.
Just throwing this out there - I read here and in the .kl file that it is not good to mess with the generic.kl file. Does anyone know which would be the best .kl file to edit?
I want my volume keys to wake the phone and when i add wake to those keys in the generic file, my power button no longer sleeps the phone...
SysAdmNj said:
Why would you want to do this unless you could reassign it or add another way to wake up device?
Click to expand...
Click to collapse
As mentioned, Power button works the same. I don't need two ways to turn it on. I keep my phone in a belt case and it's tight enough that just putting it in the case turns the phone on. I'm tired of checking to see, so I did this mod today. Actually, it's one the biggest reason I rooted today! Mod worked great, thanks given. Much happier now.
jejb said:
As mentioned, Power button works the same. I don't need two ways to turn it on. I keep my phone in a belt case and it's tight enough that just putting it in the case turns the phone on. I'm tired of checking to see, so I did this mod today. Actually, it's one the biggest reason I rooted today! Mod worked great, thanks given. Much happier now.
Click to expand...
Click to collapse
What mod?
SysAdmNj said:
What mod?
Click to expand...
Click to collapse
See post #1 of this thread.
jejb said:
See post #1 of this thread.
Click to expand...
Click to collapse
Well I guess you need the Google Voice search shortcut while holding the Power Button instead of the Task Manager. Enjoy.
SysAdmNj said:
Well I guess you need the Google Voice search shortcut while holding the Power Button instead of the Task Manager. Enjoy.
Click to expand...
Click to collapse
Task manager still works the same as before. I don't use Google Voice or Google Now.
lowspeed said:
How can you set double tap to something else? Say google voice search..
Click to expand...
Click to collapse
simply remove S Voice...

Categories

Resources