Trackpad to wake - Desire General

It's great that we have found a way to wake the phone using different buttons but i really still would like trackpad to wake the phone. It does work in amskgh's cyanogen mod port. Is there a way of finding out how or what exactly allows it and porting it over to any rom?

There is a specific file related to that, it's mentioned somewhere here, maybe if you compare it to cyanogen's one..

For some reason, TrackballWake isn't available as a standalone mod. http://forum.xda-developers.com/showthread.php?t=645481

Ok, dug the zip... Don't have enough time to play with it though (it is for CM).View attachment white-text-trackball-NoSuccessW-WSv01.zip

Hmmmm, can I flash this on a Desire?

janvandusschoten said:
Hmmmm, can I flash this on a Desire?
Click to expand...
Click to collapse
As I said, it is for CM. (you don't need it as it is integrated in CM ROM already). On other ROMs you will probably end with endless boot. Needs work.

vanja said:
As I said, it is for CM. (you don't need it as it is integrated in CM ROM already). On other ROMs you will probably end with endless boot. Needs work.
Click to expand...
Click to collapse
Ahh, endless boot. Maybe next time it's better for me to wait for a reply, I can confirm that it ends with an endless boot if you have a Desire

Just a thought, the trackpad is used to take a picture when pressed, if you kind find the key reference in the camera app, can that then be translated back to be used to wake the phone. Use the reference in the same bravo-keypad.kl file?

The trackpad sends BUTTON_MOUSE form the kernel, maybe that helps.

Then guess add a line to the bravo-keypad.ll file with that and the correct number, wonder if it the same as the N1.
-------------------------------------
Sent via the XDA Tapatalk App

I'd love to test this but using cyanogen already. Maybe someone else can test?

Tried editing the bravo=keypad.kl with a few different numbers and BUTTON_MOUSE, but no joy as yet.

ephumuris said:
It's great that we have found a way to wake the phone using different buttons but i really still would like trackpad to wake the phone. It does work in amskgh's cyanogen mod port. Is there a way of finding out how or what exactly allows it and porting it over to any rom?
Click to expand...
Click to collapse
Must have missed this... where can I read about waking it up using other buttons?
EDIT: ah nvm, found it!

Golgo said:
Must have missed this... where can I read about waking it up using other buttons?
Click to expand...
Click to collapse
Here you go: http://forum.xda-developers.com/showthread.php?t=683902&highlight=wake+phone+menu

IIIIkoolaidIIII said:
Tried editing the bravo=keypad.kl with a few different numbers and BUTTON_MOUSE, but no joy as yet.
Click to expand...
Click to collapse
Gutted. Just flashed over to a Froyo rom to try it out but you already did. Damn
Really want trackpad to wake. It's my only gripe with the phone.

Try the 272 keycode, hope it helps.

deovferreira said:
Try the 272 keycode, hope it helps.
Click to expand...
Click to collapse
No joy I'm afraid, tried 230-240 and 270-280 now, think it has to be something else. :-(

deovferreira said:
Try the 272 keycode, hope it helps.
Click to expand...
Click to collapse
Nope, didn't work. With that setup it even ignores power button for both sleep and wake...
I don't think we can achieve this in bravo-keypad.kl...

Is the cyanogen rom so different that we can't compare and find out whhat makes it work? I don't think it is the bravo keypad file in that.

Yep, framework is entirely different on CM....

Related

[Request] Trackpad to wake and unlock for Sense

Yeah, the title says it all. Does anyone have a zip file that wakes and unlocks the phone by pressing the trackpad twice?
Have looked around but there are no mods for Sense.
Thanks
Edit: Now as the source code has been released, is there a new hope?
next time use search..!!?!
http://forum.xda-developers.com/showthread.php?t=703539
Alex-V said:
next time use search..!!?!
http://forum.xda-developers.com/showthread.php?t=703539
Click to expand...
Click to collapse
I have tried it, it ended with an infinite bootloop of d00mz.
Any1?
Sent from my HTC Desire using XDA App
Alex-V said:
next time use search..!!?!
Click to expand...
Click to collapse
I think the problem with this one is that it's kernel specific?
I know it's quite simple to just flash a .zip in order to just wake using the buttons, but wake AND unlock seems to be more difficult...
Chimp
sorry i don´t try it yet..i only read the headline and download it...to test it if i have time
Alex-V said:
sorry i don´t try it yet..i only read the headline and download it...to test it if i have time
Click to expand...
Click to collapse
Well, don't try it unless you have the kernel listed there. Just make sure u do a nandroid backup.
Alex-V said:
next time use search..!!?!
http://forum.xda-developers.com/showthread.php?t=703539
Click to expand...
Click to collapse
There are only versions for MCR 3.1 there.
Somewhere the same for FroYo?
I think the source needs to be released by HTC first so we can integrate the mod into newer kernels. The same applies to overclocking Sense roms. We need the source.
No idea when it will arrive either
Ok, thanks
Sorry, perhaps I misunderstand the question. By using trackpad you mean that optical sensor? I don't understand what is in these linked packages, and why there is a broadcom Wifi module and god knows what included....
To activate the button in the middle, you just need to add /system/usr/keylayout/curcial-oj.kl. Grab it from some ready made ROM.
Why would anyone want wake from optical joypad???
That's annoying! What's wrong with lockscreens. (also, the phone will activate in the pocket!)
simonthor said:
Why would anyone want wake from optical joypad???
That's annoying! What's wrong with lockscreens. (also, the phone will activate in the pocket!)
Click to expand...
Click to collapse
No, it won't activate in the pocket. I've been using trackpad wake for about 3 months and I've never woken up the phone unintentionally. The power button, on the other hand, is quite easy to press by accident...
Sent from my HTC Desire using Tapatalk
markuz85 said:
No, it won't activate in the pocket. I've been using trackpad wake for about 3 months and I've never woken up the phone unintentionally. The power button, on the other hand, is quite easy to press by accident...
Click to expand...
Click to collapse
Yes, that's true. The power button is quite exposed.
Sorry to both of you. I meant "Unlock" from trackpad is annoying.
I have nothing against wake.
i dont know if it helps but the CyanogenMod does support this feature.
i got it installed with the opendesire rom
bump, now as the source code has been released, is it possible?
It's May, 2011 now!! is it possible T_T
i want that for LeeDrOiD 3.0.5!!
TrackPad to wake is essential !!(trackpad to wake AND unlock is also welcomed )
(Bumping thread for development reasons not just missing around >> no ban :O )

Change/disable/mute volume change beep?

Is there any way to change/disable/mute the beep that is heard every time you change the volume?
(I know you can hold it down to go to silent -- that's not what I mean.)
Thanks
Anyone ? anyone? Bueller?
d0g said:
Anyone ? anyone? Bueller?
Click to expand...
Click to collapse
What rom are you on? AOSP or Sense. I don't know how to do that, but I can poke around and see if I can find the correct sound file for you. Just need to know if you're on sense or aosp.
k2buckley said:
What rom are you on? AOSP or Sense. I don't know how to do that, but I can poke around and see if I can find the correct sound file for you. Just need to know if you're on sense or aosp.
Click to expand...
Click to collapse
I'm on CM7 (AOSP) ... I couldn't find anything in the /system/media... folder. It must be hardcoded somewhere...
thanks!
d0g said:
I'm on CM7 (AOSP) ... I couldn't find anything in the /system/media... folder. It must be hardcoded somewhere...
thanks!
Click to expand...
Click to collapse
Okay, thanks. I'll look around and see if I find anything. As you noted, I didn't see it in the /system/media/ui folder. Its got to be somewhere though, (assuming it can be altered to begin with)
k2buckley said:
Okay, thanks. I'll look around and see if I find anything. As you noted, I didn't see it in the /system/media/ui folder. Its got to be somewhere though, (assuming it can be altered to begin with)
Click to expand...
Click to collapse
any luck ?? i couldn't find nothin'.
However, I'm pretty sure it's modifiable, because one of the many ROMs I've tried had a piano-like sound instead of the normal beep, that actually changed notes for each level...
Hey anyone know how to do this i searched the whole net and many ppl ask about that but noone knows the answere PLEASE HELP!!!
This is probably similar to disabling the camera focus sound. I will post a link before with information on that. Basically somewhere in the code it is invoking a virtual beep so there is not a sound file stored anywhere.
http://forum.cyanogenmod.com/topic/13904-camera-focus-sound/

Proximity sensor?

Searching on the proximity sensor I found these two parameters for the startup.txt:
board-htcrhodium-proximity.on=1 to enable the proximity device (default off)
board-htcrhodium-proximity.wake=1 to wake up the phone on proximity
http://xdandroid.com/wiki/Kernel_boot_command-line_parameters
But I can't get them to work.
Are they really available on FRX07 or NeoFroyo?
Thanks
Daved+ said:
Searching on the proximity sensor I found these two parameters for the startup.txt:
board-htcrhodium-proximity.on=1 to enable the proximity device (default off)
board-htcrhodium-proximity.wake=1 to wake up the phone on proximity
http://xdandroid.com/wiki/Kernel_boot_command-line_parameters
But I can't get them to work.
Are they really available on FRX07 or NeoFroyo?
Thanks
Click to expand...
Click to collapse
The prox sensor is not enabled on the hardware level (kernel). Perhaps they will be available soon tho, I think ACL was working on them.
arrrghhh said:
The prox sensor is not enabled on the hardware level (kernel). Perhaps they will be available soon tho, I think ACL was working on them.
Click to expand...
Click to collapse
Oh... good. Thanks for letting me know!
Would you mind if I ask you about using the PTT button?
Daved+ said:
Oh... good. Thanks for letting me know!
Would you mind if I ask you about using the PTT button?
Click to expand...
Click to collapse
What about it? Only the RHOD300 has it... No other RHOD has one.
arrrghhh said:
What about it? Only the RHOD300 has it... No other RHOD has one.
Click to expand...
Click to collapse
Yes and I have one of those. Any chance I can give it some use? I googled a lot and tried a couple things with no success. Thanks!
Daved+ said:
Yes and I have one of those. Any chance I can give it some use? I googled a lot and tried a couple things with no success. Thanks!
Click to expand...
Click to collapse
I think that if it's enabled kernel-side(I don't think so) you need to edit keymaps in rootfs to use it
But if it's not used kernel-side then you have to mess with the source
Daved+ said:
Yes and I have one of those. Any chance I can give it some use? I googled a lot and tried a couple things with no success. Thanks!
Click to expand...
Click to collapse
There's some hacking at the rootfs you'd have to do. F22's rootfs allowed you to remap the key to a few different things, but unfortunately he never made a merge request for his code... which wouldn't have been easy, he would've had to change the way he did certain things. His rootfs hasn't been updated in quite some time, so I would not recommend using it. I'm sure you can take his keymap stuff tho and put it into an updated rootfs - with a little bit of manual labor you'll be able to remap the PTT key to a few different things.
See F22's rootfs thread for more info on that.
i should have something to test for the prox sensor this week. Just finished the patch .. To be honest i have no idea when it's actually used or if our userland is ready for it.
[ACL] said:
i should have something to test for the prox sensor this week. Just finished the patch .. To be honest i have no idea when it's actually used or if our userland is ready for it.
Click to expand...
Click to collapse
I'll be happy to test it
kernel done but turns out we need some userland patches.
Wow you're really Johnny on the spot
i dunno if thats good or bad
I thought it was good, but sometimes when I try to make a reference it goes horribly awry.
Looks like this will be saved for gingerbread. Since userland changes need to be made, its not worth it to make em for froyo.
So next release of GB will have it
[ACL] said:
Looks like this will be saved for gingerbread. Since userland changes need to be made, its not worth it to make em for froyo.
So next release of GB will have it
Click to expand...
Click to collapse
One more reason to be eagerly awaiting a new GB drop.
Any ETA at all on that?
mbellot said:
One more reason to be eagerly awaiting a new GB drop.
Any ETA at all on that?
Click to expand...
Click to collapse
Never ask for eta.
It's better to have a nice surprise than a delayed build..
helicopter88 said:
Never ask for eta.
It's better to have a nice surprise than a delayed build..
Click to expand...
Click to collapse
Pretty much the first rule of any dev work - especially free/OSS - never ask for ETA.
Thanks!
actually prox is only tested on cdma and the gsm portion needs to be checked. Anyone have a recmodded rom ? or know how to pull dlls? PM me please since i need to double check on some stuff

[Q] Remap Search Key To Recent Apps?

Does anyone know how to remap the Search hardware key so that when it is pressed the recent apps pop up instead? I have searched, but all of the "fixes" I have found have either not done anything or been phone specific. An easy to follow guide would be a big help and surely someone else is curious too. A flashable zip rewards you extra points.
P.S. I am on AOKP build 36 and the flashable zip I have seen floating around does not work for our phone.
THANKS AGAIN!
ImARaptor said:
Does anyone know how to remap the Search hardware key so that when it is pressed the recent apps pop up instead? I have searched, but all of the "fixes" I have found have either not done anything or been phone specific. An easy to follow guide would be a big help and surely someone else is curious too. A flashable zip rewards you extra points.
P.S. I am on AOKP build 36 and the flashable zip I have seen floating around does not work for our phone.
THANKS AGAIN!
Click to expand...
Click to collapse
Holding home doesn't work?
xcrazydx said:
Holding home doesn't work?
Click to expand...
Click to collapse
It does but it takes too long and makes me not want to multitask like that... Who honestly ever uses the search button?
ImARaptor said:
It does but it takes too long and makes me not want to multitask like that... Who honestly ever uses the search button?
Click to expand...
Click to collapse
I do.
Also
http://forum.xda-developers.com/showthread.php?t=1450138
3rd Google Result
starskyrob said:
I do.
Also
http://forum.xda-developers.com/showthread.php?t=1450138
3rd Google Result
Click to expand...
Click to collapse
This is exactly what I was talking about. I found this thread but it seems phone-specific as I couldn't find that java file. :/ Thanks for your help though! Wait, do I have to open up the ROM file to find this? Im soooo confused. More help would be magnificent! thanks!
ImARaptor said:
It does but it takes too long and makes me not want to multitask like that... Who honestly ever uses the search button?
Click to expand...
Click to collapse
I do too, actually I use the search key alot
Sent from Flip's SGS2
elflip88 said:
I do too, actually I use the search key alot
Sent from Flip's SGS2
Click to expand...
Click to collapse
Not trying to be rude or condescending or anything like that, but out of true curiosity, in what context do you use it the most? I'm curious that I might be missing out in how useful it potentially may be. Thanks for your insight.
Questions go in the Q&A section

Disable Touch Key Backlight on Google Edition

I hope someone can help me out with this (I guess most of my posts arent worth bothering with as they usually go untouched by anyone). I'm trying to figure out a way to disable the touch button backlight on a Google Edition ROM. I have been searching for an answer since the Google Edition hit. All I can ever find is how to disable on GSIII ROMs (non ge). If anyone can please help me out I would very much appreciate it. Thanks!
comoc85 said:
I hope someone can help me out with this (I guess most of my posts arent worth bothering with as they usually go untouched by anyone). I'm trying to figure out a way to disable the touch button backlight on a Google Edition ROM. I have been searching for an answer since the Google Edition hit. All I can ever find is how to disable on GSIII ROMs (non ge). If anyone can please help me out I would very much appreciate it. Thanks!
Click to expand...
Click to collapse
Screen Filter is an app that can disable the backlight of the softkeys. Set it to auto-start at boot and you should be good. I know its not a direct fix but its a low impact app that shouldnt effect battery life or operation.
C.Sweat said:
Screen Filter is an app that can disable the backlight of the softkeys. Set it to auto-start at boot and you should be good. I know its not a direct fix but its a low impact app that shouldnt effect battery life or operation.
Click to expand...
Click to collapse
Thank you for replying! It does not seem to work with our model tho.
comoc85 said:
Thank you for replying! It does not seem to work with our model tho.
Click to expand...
Click to collapse
Seems to work for me. Did it dim the screen at all (thats its main function)? Did you see the check box "enable softkey back light" (uncheck it) at the bottom of the app ui?
⇩⇩⇩ ⇩⇩⇩ ⇩⇩⇩​
C.Sweat said:
Seems to work for me. Did it dim the screen at all (thats its main function)? Did you see the check box "enable softkey back light" (uncheck it) at the bottom of the app ui?
⇩⇩⇩ ⇩⇩⇩ ⇩⇩⇩​
Click to expand...
Click to collapse
Yes, it did dim the screen, but if i uncheck the enable softkey back light, anytime I touch the screen the backlights still come on. Are you on a G.E. rom? I am currently on Infamouse G.E.
comoc85 said:
Yes, it did dim the screen, but if i uncheck the enable softkey back light, anytime I touch the screen the backlights still come on. Are you on a G.E. rom? I am currently on Infamouse G.E.
Click to expand...
Click to collapse
No im not. I am on AOSP (Slim Bean) though.
There are options to do this in AOKP and CM roms. Anybody know how those builds pull it off?
Give me a minute to shower and I'll write you an app. All you have to do is install my app, reboot, grant it root access, and profit.
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
Give me a minute to shower and I'll write you an app. All you have to do is install my app, reboot, grant it root access, and profit.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Thanks brother. Any luck getting that working? With all of the research I have been doing, I have found MANY people that want to get this option working.
comoc85 said:
Thanks brother. Any luck getting that working? With all of the research I have been doing, I have found MANY people that want to get this option working.
Click to expand...
Click to collapse
I fell asleep working on it last night. I'm gonna finish it in a bit. Been playing dead island Riptide!
Sent from my SGH-M919 using Tapatalk 2
Okay i am having troubles setting it to off on boot. But here is a "toggle" version of it where you can toggle them on or off. Will try and fix the boot issue tomorrow.
SWEEET!!! Works like a charm thanks dude! Like I said, I've been searching for this forever! I know that many others have been searching for this, perhaps you should make a thread in the mods section.
comoc85 said:
SWEEET!!! Works like a charm thanks dude! Like I said, I've been searching for this forever! I know that many others have been searching for this, perhaps you should make a thread in the mods section.
Click to expand...
Click to collapse
Go HERE i fixed the boot issue. I was way too tired last night xD missed something really simple lol

Categories

Resources