Swipe soft buttons to open? - HTC One X

Hi guys,
Somewhere, and I can't recall where, I saw someone mention that when in standby, there's a tweak that allows you to swipe your finger across the soft buttons, to turn on, instead of the power button.
Is thus true?

Yes it is called Sweep2Wake. And also got Sweep2Sleep now. Its kernel related.
Sent from my HTC Desire using xda premium

Ah, right. So, I need to find a kernel that supports it? I am using which ever one came with ... LeeDroid.

Cralis said:
Ah, right. So, I need to find a kernel that supports it? I am using which ever one came with ... LeeDroid.
Click to expand...
Click to collapse
Bricked's kernel supports S2W. look under dev section and search for S2W or sweep2wake.

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 )

[Q] Disable Capacitive Buttons (Q)

Hello Brochachos from all over the world! I was wondering if there was any way to turn off capacitive buttons fully and just use the on-screen soft keys? That would be awesome. Thank you for your insight and help on this fellow xda members! <3 kse91holydiver
kse91holydiver said:
Hello Brochachos from all over the world! I was wondering if there was any way to turn off capacitive buttons fully and just use the on-screen soft keys? That would be awesome. Thank you for your insight and help on this fellow xda members! <3 kse91holydiver
Click to expand...
Click to collapse
I had a mod for the nexus s that disabled the keys, I could adapt it to this phone probably. Using cm9 i'm guessing?
No, actually I'm using AOKP, does that change the difficulty in adapting it?
NVM I looked at your mod and adapted it myself, no flash zip necessary. For anyone else who wants to know you delete the text in /system/usr/keylayout/sec_touchkey.kl and then save changes in a root explorer app.
Is there any trick to turning the lights off on cm9?
Sent from my SPH-D710 using xda premium
Yeah I don't want to completely disable the keys themselves, I just want to turn the annoying, battery-wasting backlight off. The CM9 setting to do so does not work.
webran61 said:
Yeah I don't want to completely disable the keys themselves, I just want to turn the annoying, battery-wasting backlight off. The CM9 setting to do so does not work.
Click to expand...
Click to collapse
I want to know this too.
This was made by T.C.P. But I use it on CM9 Codename and AOKP. Turns off the lights but they still work. Flash in recovery and enjoy.
http://db.tt/clMO98XH
Sent from my SPH-D710 using xda premium
Qwallace70129 said:
This was made by T.C.P. But I use it on CM9 Codename and AOKP. Turns off the lights but they still work. Flash in recovery and enjoy.
http://db.tt/clMO98XH
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Could I just push this file somewhere in the system? What's the path?
phatmanxxl said:
Could I just push this file somewhere in the system? What's the path?
Click to expand...
Click to collapse
/system/lib/hw/
Push it there and reboot
Some ICS roms like codename have a "lights.sph-d710.so" file so push the the lights.exynos4.so and delete the d710 one then reboot (if that's the case).
batting1000 said:
/system/lib/hw/
Push it there and reboot
Some ICS roms like codename have a "lights.sph-d710.so" file so push the the lights.exynos4.so and delete the d710 one then reboot (if that's the case).
Click to expand...
Click to collapse
Yea I just read the script and did that thanks. It works.
Qwallace70129 said:
This was made by T.C.P. But I use it on CM9 Codename and AOKP. Turns off the lights but they still work. Flash in recovery and enjoy.
http://db.tt/clMO98XH
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
It seems once the d710 file is deleted the brigbtness goes crazy and the widget for brightness stops working, anyone else?
Sent from my SPH-D710 using xda premium
TeamERA said:
It seems once the d710 file is deleted the brigbtness goes crazy and the widget for brightness stops working, anyone else?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
That's why I said make sure you add the lights.exynos4.so after you delete the d710 file and then reboot.
Don't forget to set permissions before your reboot.
Why would you ever want on screen buttons instead. Phone screens are small as is, and youre choosing to use a portion of it to be dedicated to buttons you already have? Not to mention theyre not as responsive as capacitive buttons and theyre bound to get in the way sooo much more. I think its the worst part of ics, and Ill be dissapointed if the s3 ships without capacitive buttons, even if it does make ot look cooler. And the removal of search and menu is downright retarded
The .so file does indeed work. Thanks so much for the workaround.
Also on the general subject I would much prefer fewer buttons on my mobile device. My HP laptop has capacitive buttons and they are the cause of many headaches. Even the menu button on my E4GT sporadically activates on its own from time to time. Google did it right with ICS and the Galaxy Nexus. The keys are there only when you need them and auto-hide when you don't meaning the screen real-estate is not as much of an issue as one might think.
Sent from my Touchpad using xda premium
webran61 said:
The .so file does indeed work. Thanks so much for the workaround.
Also on the general subject I would much prefer fewer buttons on my mobile device. My HP laptop has capacitive buttons and they are the cause of many headaches. Even the menu button on my E4GT sporadically activates on its own from time to time. Google did it right with ICS and the Galaxy Nexus. The keys are there only when you need them and auto-hide when you don't meaning the screen real-estate is not as much of an issue as one might think.
Sent from my Touchpad using xda premium
Click to expand...
Click to collapse
If they dissapear its rare. And that portion of the screen is blacked out anyways. Ive never had an issue with my capacitive buttons.
webran61 said:
Yeah I don't want to completely disable the keys themselves, I just want to turn the annoying, battery-wasting backlight off. The CM9 setting to do so does not work.
Click to expand...
Click to collapse
Have you tried RootDim, in lock mode?
MultiLockOn said:
Why would you ever want on screen buttons instead.
Click to expand...
Click to collapse
I am trying to do it because my hardware buttons randomly press themselves making the phone difficult to use. I get where you are coming from though.
I'm searching around trying to fix my phantom search button issue but don't want to flash a different rom or start a new thread... I'm rooted with framaroot (great system, so easy to do), have busy box, root browser- virgin mobile S2 SPH-D710, same as the Epic 4G touch. I found a thread in another forum talking about editing the button to simply no longer have a task, but in regards to the menu button and not the search button which is the one that is giving me the phantom issue. Thread is here:
http://androidforums.com/galaxy-s2-...th-ics-jb-phantom-menu-keypress-easy-fix.html
http://forum.xda-developers.com/showthread.php?t=2203059
Anyone know how to go about deleting the functionality of the search button?
I want to take this approach as it seems the only way short of a new/referb or hunting down a custom rom where the software somehow fixes the issue via programming. I did have virgin send me a referb and it had the same issue lol, so working on fixing it the xda way haha. For those with the same issue and wondering what is causing it, IMO the best explanation I found was from another forum, it seems to be hardware, where a screen replacement or capacitor addition is the fix because some S2s had bad quality control and a magnetic shield was not installed correctly and when the cell antenna is in a low reception area, it increases power and that causes an inductive voltage situation or some other power issue and makes the handset think the menu or search button is pressed. I found some who feel that even though it's a hardware issue, of course the software could be set to prevent the cell antenna from 'juicing up' in low reception areas.

[MOD Request] press the Volume button to Power ON the device from sleep.

press the Volume (down or up) button to Power ON the device from sleep, instead of pressing the power button on the top of the phone,
this way it will be easier to use the HTC One
Thanks
EDIT: i found the solution, just install TrickDroid it has many features including Volume wake,
here is the thread http://forum.xda-developers.com/showthread.php?t=2192324
This exists. You'll need to root and install Xposed Framework and the Volume Wake mod.
Sent from my HTC One using xda app-developers app
hate to be the guy who says this, but please use the search function.
snachez said:
This exists. You'll need to root and install Xposed Framework and the Volume Wake mod.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
does it drain battery ? if not does it have bugs
Thanks
jason27131 said:
hate to be the guy who says this, but please use the search function.
Click to expand...
Click to collapse
i did and it turned old news for different phones (ie: HTC One X)
Muhammad.Muayad said:
does it drain battery ? if not does it have bugs
Thanks
Click to expand...
Click to collapse
No it doesnt drain battery and the only bugs are sometimes doesnt work from deep sleep. Depending on your software version, there are some nice kernels out there that offer many wake options. sweep to wake, double tap in the bottom inch of screen to wake, menu wake etc.
Most of the custom roms and kernels for this device include this feature.
You can also install it separately using the Xposed framework and Modaco toolkit for the One. Links to both are in this forum (One Themes and Apps).
Next time, please use the search button that you will find at the top of every page. Google and xda-wide searches for this sort of stuff are not recommended as they will take you to apps for other devices, as you found.
Its really easy just as snachez said, you need to be rooted and just download the xposed framework I think the newest is 2.14 or something install the apk then download the modaco toolkit which has the volume mod you want and other cool stuff and install the apk. then open the Xposed app and go to modules, choose the mods you want, reboot the phone and you are set.
Muhammad.Muayad said:
i did and it turned old news for different phones (ie: HTC One X)
Click to expand...
Click to collapse
When searching for anything related to the HTC One, add an M7 to the search as it is the internal HTC code for the One. This will get you better search results related to the HTC One.
I have Android Revolution HD 10.2 (which I updated from 10.1 without formatting) and the Volume Up to Wake function stopped working even though I made sure to enable it from the AROMA installer. Any ideas?
TarekElsakka said:
I have Android Revolution HD 10.2 (which I updated from 10.1 without formatting) and the Volume Up to Wake function stopped working even though I made sure to enable it from the AROMA installer. Any ideas?
Click to expand...
Click to collapse
Flash a non-stock ROM.
By flash a non-stock ROM I am assuming you mean a deodexed one? I may later on try to reinstall your mod but beforehand remove the SystemUI.odex (if there actually is one) because I am absolutely sure that's what causes the FC error, or at least that's the way it was on my Galaxy SIII.
No, I meant a ROM which isn't 99.999% stock (the one you are using).
For example TrickDroid 7.5.0 has a perfectly good volume wake solution which doesn't suffer from problems when the device is in deep sleep
Ah okay. I may give Trickdroid a shot sometimes as it seems to be very popular here. Plus ever since the 10.2 update of ARHD the volume to wake has not been working for me.
Sent from my HTC One using Tapatalk 4 Beta
Its immensely annoying when you're listening to music though. If you just want to change volume, it turn the screen on. ARHD doesn't have a toggle for it in the settings itself, but trickdroid does. I'm not bashing either one, i love them both
TarekElsakka said:
I have Android Revolution HD 10.2 (which I updated from 10.1 without formatting) and the Volume Up to Wake function stopped working even though I made sure to enable it from the AROMA installer. Any ideas?
Click to expand...
Click to collapse
i had the same problem but my advise is switch to TrickDroid and it will fix it, and TrickDroid has lots of more features that will WOW you.
here is the thread http://forum.xda-developers.com/showthread.php?t=2192324
Volume Rocker Wake
After searching xda I came across a way to wake pretty much any phone.
Using Xposed Additions module, remap and assign the volume keys to 'power' action with the screen state set to OFF.
This has been especially helpful for when I'm running stock on my LG G2 (CM 11 has this option baked in).
raptorj said:
After searching xda I came across a way to wake pretty much any phone.
Using Xposed Additions module, remap and assign the volume keys to 'power' action with the screen state set to OFF.
This has been especially helpful for when I'm running stock on my LG G2 (CM 11 has this option baked in).
Click to expand...
Click to collapse
Yes I'm using it, but it doesn't work once the phone goes in deep sleep, a common problem with volume rocker wake feature
Sent from my Black HTC One

[SCRIPT] Brightness buttons always on

Hi,
Just a little trick for those who want the "capacitive" buttons always on (maybe not very battery friendly but...) Remember someone asked this a few weeks ago somewhere...
Obviously you need root and init.d support... You can also edit directly the brightness file in /sys/class/leds/button-backlight/brightness but the modification will not survive after a reboot so you need to use an init.d script to load the modified value at each boot.
Put the init.d script below in /system/etc/init.d set the permissions to rwxrwxrwx, reboot, done
Here's the script: http://www.multiupload.nl/SMQWQQVBTJ
If you want to return back to stock: rename the init.d script with the .back extension or delete it.
If you want to set the "capacitive" buttons always off you need to edit the value, open the init.d script with notepad++ (on PC) or with a file explorer directly on your phone and set the value to "0" instead of "255", save, reboot, done.
Hoping that it will be useful,
Won't be using but thanks anyways, one question though, when do the HTC one buttons come on and off normally? They seem to have no specific interval
Sent from my HTC One using xda app-developers app
Hi,
No worries , it works with the ambiant light so with the sensor (light->off / night->on), even if the auto brightness is on or off the capacitive buttons vary in brightness so this part is independant...
After that I'm not a dev, the only solution I found is to modifie the value by the user in one file. Maybe it's set in the framework, or kernel? i don't realy know. The auto brightness values can be changed with a modified framework-res.apk, maybe it's the same thing for the capacitive buttons . In any case I have not the knowledge and skills for this part about the "automatic" dimming...
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Sent from my HTC One using Tapatalk 2
Stea1thmode said:
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
Hi,
Sorry but I don't know what you mean... or you mean a kind of greater "light graduation", not on or off like stock, at least it looks like this for me (for example some values like 0 / 100 / 200 / 255), depending of the ambient light?
Like I said, for this I have not the knowledge, maybe a dev can take a look . In any case I don't think you will see a big difference between 100 and 255 for example...
And in the path /sys/class/leds/button-backlight/ there is nothing related to the graduation, it's in the framework stuff I think...
Stea1thmode said:
Capacitive button in Play works well and less cumbersome. Am using it with Pie. Automatic dimming would be cool though Thanks for looking into this.
Click to expand...
Click to collapse
This app now officially supports the HTC One in the latest beta version. I'm the developer of the app and I'd love to hear feedback from HTC One owners to know if it really works (since I don't have a device of my own to test on). See this thread: http://forum.xda-developers.com/showthread.php?t=2402153. Thanks!
denversc said:
This app now officially supports the HTC One in the latest beta version. I'm the developer of the app and I'd love to hear feedback from HTC One owners to know if it really works (since I don't have a device of my own to test on). See this thread: http://forum.xda-developers.com/showthread.php?t=2402153. Thanks!
Click to expand...
Click to collapse
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Sent from my HTC One using Tapatalk 4 Beta
Stea1thmode said:
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
That would be pretty cool.
Sent from my HTC One
Stea1thmode said:
Thanks I've just tested it. It has 3 settings right? Seems to be working well. It would be cool though to have an auto brightness feature.
Click to expand...
Click to collapse
Yep, it has 3 settings. Thanks for the idea about auto-brightness. You are definitely not the first person to pose that idea!

[REQ] HTC Logo as a button

Is it possible to get one of you talented fellas to port the MOD from the ATT HTC One? I tried flashing the MOD to use the HTC Logo as a sleep/wake/menu but it bricked my phone (perhaps since we are on 4.2.2?), did a restore and that fixed me back up.
Would be nice to have this on our Verizon version
Thanks!
It didn't brick just failed to boot probably because of the kernel flash that was for 4.1
Sent from my HTC6500LVW using xda app-developers app
I really want the bulletproof kernel but I am sure our devs can't get it ported until kernel source is released from HTC.
Bert336 said:
Is it possible to get one of you talented fellas to port the MOD from the ATT HTC One? I tried flashing the MOD to use the HTC Logo as a sleep/wake/menu but it bricked my phone (perhaps since we are on 4.2.2?), did a restore and that fixed me back up.
Would be nice to have this on our Verizon version
Thanks!
Click to expand...
Click to collapse
the only way to get that logo to act as a button is with a custom kernel who the dev built in the option for it..
can't be done on stock rooted stock kernel.
GrayTheWolf said:
I really want the bulletproof kernel but I am sure our devs can't get it ported until kernel source is released from HTC.
Click to expand...
Click to collapse
me too, i PM'ed the guy who makes bulletproof and he said he can't do anything until the source code is released.
Any idea when source code will be released? I am not a dev by any means, but aren't the manufacturers supposed to release the source since Android is open source?
Sent from my phone using an app
sanders539 said:
Any idea when source code will be released? I am not a dev by any means, but aren't the manufacturers supposed to release the source since Android is open source?
Sent from my phone using an app
Click to expand...
Click to collapse
Same thing happened with the dna update. It took a few weeks. They will probably release it when 4.3 is out.
Sent from my HTC6500LVW using xda app-developers app
GrayTheWolf said:
I really want the bulletproof kernel but I am sure our devs can't get it ported until kernel source is released from HTC.
Click to expand...
Click to collapse
Did you ever try to boot another HTC One kernel that is 4.2.2? Probably might be the first thing I do when I get my phone back.
You might be able to. Find the button map number and then add it to the list and tell it to wake the device when pressed.
Wait... You're telling me that the HTC logo on the front has a touch sensor under it? And it's disabled??
Sent from my HTC One.
josh995 said:
Wait... You're telling me that the HTC logo on the front has a touch sensor under it? And it's disabled??
Sent from my HTC One.
Click to expand...
Click to collapse
Sorta. Like on the Rezound. The area between the 4 buttons. The phone registered it as "key 0". Now you can't do anything with "key 0"
But someone with CWM Touch. Go to key test in advanced options and press the HTC logo and see if it registers as anything.
Flyhalf205 said:
Sorta. Like on the Rezound. The area between the 4 buttons. The phone registered it as "key 0". Now you can't do anything with "key 0"
But someone with CWM Touch. Go to key test in advanced options and press the HTC logo and see if it registers as anything.
Click to expand...
Click to collapse
This is the first I've heard if this. Why... WHY in the world would they disable it? It could be incredibly useful!
Sent from my HTC One.
josh995 said:
Wait... You're telling me that the HTC logo on the front has a touch sensor under it? And it's disabled??
Sent from my HTC One.
Click to expand...
Click to collapse
It's part of the digitizer.
GrayTheWolf said:
It's part of the digitizer.
Click to expand...
Click to collapse
Touch sensor, digitizer, I don't care. I just wanna know why they would disable it completely and not allow us the option of assigning something to it
Sent from my HTC One.
josh995 said:
Touch sensor, digitizer, I don't care. I just wanna know why they would disable it completely and not allow us the option of assigning something to it
Sent from my HTC One.
Click to expand...
Click to collapse
It's not actually under the HTC logo, it's actually located right above it (practically on the screen). It's not built to be a button, it's a part of the touch screen digitizer that just happens to extend beyond the actual screen.
PapaSmurf6768 said:
It's not actually under the HTC logo, it's actually located right above it (practically on the screen). It's not built to be a button, it's a part of the touch screen digitizer that just happens to extend beyond the actual screen.
Click to expand...
Click to collapse
Aw. Y'all had me excited for a moment. I thought they meant right under the HTC.
Sent from my HTC One.
josh995 said:
Aw. Y'all had me excited for a moment. I thought they meant right under the HTC.
Sent from my HTC One.
Click to expand...
Click to collapse
It might not be right under the button but the functionality is still there, we just need a custom kernel to use it.
PapaSmurf6768 said:
It might not be right under the button but the functionality is still there, we just need a custom kernel to use it.
Click to expand...
Click to collapse
I have used it and it is quite annoying. Honestly, its not worth the extra trouble because the area is so small and is practically on the screen. Most of the time I ended up opening the app drawer. However, roms should include the ability to remap the recents to be one press for menu, hold for recents. That would be 10x more useful than using the htc logo.
123421342 said:
I have used it and it is quite annoying. Honestly, its not worth the extra trouble because the area is so small and is practically on the screen. Most of the time I ended up opening the app drawer. However, roms should include the ability to remap the recents to be one press for menu, hold for recents. That would be 10x more useful than using the htc logo.
Click to expand...
Click to collapse
The home button already does recents and menu
Sent from my HTC6500LVW using xda app-developers app
I've always been a bit pissed off at the HTC One for having two buttons..
it' a waste of space.
at least make on screen-buttons if they are going to do this crap.
I honestly hate having two button, and wish that we had the home button in the middle and a dedicated menu button.
much like how it used to be.
HTC makes some changes I just can't stand..
andybones said:
I've always been a bit pissed off at the HTC One for having two buttons..
it' a waste of space.
at least make on screen-buttons if they are going to do this crap.
I honestly hate having two button, and wish that we had the home button in the middle and a dedicated menu button.
much like how it used to be.
HTC makes some changes I just can't stand..
Click to expand...
Click to collapse
On screen buttons, I think are a waste of space.

Categories

Resources