[Q] Disable capacitive button backlights - Motorola Droid 3

Any way to do this?

You could probably do this by editing your build.prop file, but make a backup first!

what edit in the build prop would work?

I can't say for sure, but if you feel like reading all of the lines, you probably could.

bump
I would like to see an answer, as well. I don't want to waste battery on illuminating these soft keys. Hopefully someone can figure out what file has the option to disable the lights

Do you have the Root Tools app? I think you can change it in there. I personally like my keyboard and buttons always on because the flickering makes my CDO go crazy and I'd rather always have a backlight when my screen is on than never have it.

redsox985 said:
Do you have the Root Tools app? I think you can change it in there. I personally like my keyboard and buttons always on because the flickering makes my CDO go crazy and I'd rather always have a backlight when my screen is on than never have it.
Click to expand...
Click to collapse
I tried root tools and wasn't able to turn the lights off. I have a privacy screen protector, so when the lights are off, the button area looks completely black, flowing well with the screen. I like the look because it makes the screen look bigger
Anyone have any other solutions, preferably a solution where I can go through root explorer and edit some file?

GoodLooks550 said:
I tried root tools and wasn't able to turn the lights off. I have a privacy screen protector, so when the lights are off, the button area looks completely black, flowing well with the screen. I like the look because it makes the screen look bigger
Anyone have any other solutions, preferably a solution where I can go through root explorer and edit some file?
Click to expand...
Click to collapse
Well, I sat down and read through build.prop line by line and don't think it's in there now. There's a free app in the market place that MAY work. It did for my keyboard backlight. Search something along the lines of "backlight switch", it has a green logo. I'll edit with its exact name when I get my Nand backup done with.

redsox985 said:
Well, I sat down and read through build.prop line by line and don't think it's in there now. There's a free app in the market place that MAY work. It did for my keyboard backlight. Search something along the lines of "backlight switch", it has a green logo. I'll edit with its exact name when I get my Nand backup done with.
Click to expand...
Click to collapse
After testing a couple of applications, I found AdjBrightness successful in turning off the lights. The lights stay off, even when the application is killed in task manager so no wasted ram to ensure the lights stay off
In the options menu, simply check off 'Lock off button light"

GoodLooks550 said:
After testing a couple of applications, I found AdjBrightness successful in turning off the lights. The lights stay off, even when the application is killed in task manager so no wasted ram to ensure the lights stay off
In the options menu, simply check off 'Lock off button light"
Click to expand...
Click to collapse
is there any way to find out what this app does to the phone so we can bypass the need to have it installed?,

Nice find on this app. Thanks!

slvrarrow said:
is there any way to find out what this app does to the phone so we can bypass the need to have it installed?,
Click to expand...
Click to collapse
This was the ultimate solution I wanted, as well. The same developer has an app called SensorsInfo, which tells all the output values of all the sensors (e.g. accelerometer, proximity sensors, and most importantly, light sensor). Maybe someone can find out how to alter the light sensor's function. Just a thought.
(I wish I could figure out myself, but the D3 is my first android phone, and before that, I had a windows mobile 6 phone. Hoping to learn more and more about Android as time goes on )

After a few days, I realized when restarting the phone, the lights turn back on. They turn back off when the program is opened again. This is a pain, so I hope someone can get a better solution

echo 0 > /sys/class/leds/button-backlight/brightness turns it off. But when the screen turns off it reverts the value back to 255 or 0, depending on the sensor. The value can't be changed if AdjBrightness' options are set, but it is not a service. No clue how it does it.

Related

Unlocking Screen with dim display

I have tried searching for the answer to this so please do not ridicule me if i missed it!
Is there a way of stopping the screen from being so dim when i press the power button to wake up device if it is locked.
I always lock the device when i am not using it and will quite often press the power button quickly to turn off the display. When i come to use the phone etc i press the power button to get the screen back then press unlock at the bottom of the screen then the unlock half way up the screen, phone unlocked. BUT when the power button is pressed to turn the screen on and the phone is still locked the screen is so dim i cannot see it in bright daylight. Is there a way of making the screen brighter so i can unlock it?
David
simple answer YES!
The registry key here controls the backlight lock level:
HKCU\ControlPanel\Backlight\LockLevel
There REG_DWORD Key called LockLevel can be set between 0-10 (0=0%, 10=100% locklevel backlight brightness)
The system defaults this setting to 0, hence the dim lock display.
I have found however that the value does not stick after a soft reset/reboot, and goes back to default, so i have set a startup .lnk file that runs a reg script to set this value silently on boot for me.... you can do this yourself using the latest taskmanager 2.9 from here: http://www.dotfred.net/TaskMgr.htm (/silent command line parameter was only added in v2.9 so i can run a reg script without the prompts!)
I like to have a bright pin/unlock screen as i like to use the screen as a torch/light by just pressing the power button!!
Enjoy.
Thanks!!
Thanks for the answer to that. I too have been having the same problem, and it has bugged the hell out of me, especially on those bright summer days .
Thanks heaps for that!!!
Sorry for the delay, but many thanks for the answer! Damned annoying that was.
Regards
David
How do i make this .lnk file? What should it say? Where do i put it? etc etc. Sorry for the question but not done any of this before. The reg edit was easy enough but now i am lost.
Cheers
David
Locklevel startup value
_DrG_ said:
simple answer YES!
The registry key here controls the backlight lock level:
HKCU\ControlPanel\Backlight\LockLevel
There REG_DWORD Key called LockLevel can be set between 0-10 (0=0%, 10=100% locklevel backlight brightness)
The system defaults this setting to 0, hence the dim lock display.
I have found however that the value does not stick after a soft reset/reboot, and goes back to default, so i have set a startup .lnk file that runs a reg script to set this value silently on boot for me.... you can do this yourself using the latest taskmanager 2.9 from here: http://www.dotfred.net/TaskMgr.htm (/silent command line parameter was only added in v2.9 so i can run a reg script without the prompts!)
I like to have a bright pin/unlock screen as i like to use the screen as a torch/light by just pressing the power button!!
Enjoy.
Click to expand...
Click to collapse
I also would like to do this, but havent figured out how to create a command line with TaskMgr that will execute at startup - would you share how it is done?
Also, when I set locklevel to any number other than 1, no dimming occurs when I lock my Tilt. I experimented because I thought I'd like a little dimming but not as much as the default - but it seems like it's all or nothing.
I hate the way the Kaiser and/or WM6 insists on spoonfeeding some settings to us, no matter how much we would like to permanently alter them!
peanutome said:
How do i make this .lnk file? What should it say? Where do i put it? etc etc. Sorry for the question but not done any of this before. The reg edit was easy enough but now i am lost.
Cheers
David[/QUOTe
my thoughts exactly..more instructions for this guy too please
Click to expand...
Click to collapse
BUMP - Anyone know how and what to do to make this .lnk file and then how to use it?
David
strange thing. When I adjust this value it messes with my backlight timeout. I normally have this set to 30secs, i.e. the screen goes dimmer after 30 secs. When I adjust the lockout value as described it goes dim after 5-10 seconds. am I doing this right? I wasn't sure if I had adjusted the value correctly.
M
I have searched all over can someone tell me how to get the \silent to work I have taskmanager v2.9 spent the last 2 hours trying to get this to work please give a bother some help
I think the answer is here...well, not an answer but at least an app that claims to do what you're looking for.
This answer may be too basic, but have you tried changing the registry edit and then NOT doing a soft reset, but instead doing a full power off/on? Some registry entries WON'T stick with a soft-reset, but will with a power cycle. The power cycle gives the OS a heads up that it's being turned off and writes things more permanently...
pkley said:
This answer may be too basic, but have you tried changing the registry edit and then NOT doing a soft reset, but instead doing a full power off/on? Some registry entries WON'T stick with a soft-reset, but will with a power cycle. The power cycle gives the OS a heads up that it's being turned off and writes things more permanently...
Click to expand...
Click to collapse
I always power cycle after a reg change (It forces a registry write and a SR doesn't) but it doesn't matter...this reg change doesn't stick after a power cycle for some reason.
EDIT:
BTW, I loaded BrightLock and it works perfectly.
Excellent seems to do what i needed!!! Cheers
David
Fitipaldi1 said:
I think the answer is here...well, not an answer but at least an app that claims to do what you're looking for.
Click to expand...
Click to collapse
snowgum said:
strange thing. When I adjust this value it messes with my backlight timeout. I normally have this set to 30secs, i.e. the screen goes dimmer after 30 secs. When I adjust the lockout value as described it goes dim after 5-10 seconds. am I doing this right? I wasn't sure if I had adjusted the value correctly.
M
Click to expand...
Click to collapse
I am experiencing a similar issue. My normal backlight on battery power is set to 1 minute, but after installing brightlock, it keeps changing to 10 seconds. I really like what brightlock does for me, but not at the cost of dimming the screen when I am trying to read something. Is there a configuration I am missing?
I think I got rid of this annoying “dim” problem without .lnk file and scripting.
See my next post.
Is there a way of stopping the screen from being so dim when i press the power button
I think I got rid of this annoying “dim” problem without .lnk file and scripting.
What I did is the following:
1. Downloaded and installed Taskmanager 2.9 from: http://www.dotfred.net/TaskMgr.htm
2. Opened Taskmanager and went to Regedit
3. Deleted LockLevel folder from HKCU\ControlPanel\Backlight\LockLevel
4. Saved
5. Rebooted the phone.
After rebooting, system recreates LockLevel folder, however, “dim” problem is gone.
Unit still dims the screen, but pressing any key triggers the bright display.
Suggestion: Export registry and backup your device before playing with Regedit.
can some one please re-post brightlock? mediafire link seems to be done and this is doing me nutter

BackLight brightness adjust command line utility for Kaiser aka TYTN II

I dunno if I'm only one who has this problem but when I'm occasionally on sun I can't see nothing on my Kaiser and it's really difficult to setup backlight brightness on touchscreen which u can't see.... So I've been looking alot if there is some utility which I can link with button or gesture and I haven't found anything... So I've wrote my own utility. Feel free to use it as well if u find it useful -> http://lobster.ic.cz/?page=bl
is this useful or is there easier way to do that??
Been searching for an app like this for a week.
Works great!
Thanks.
Here's another program that gives you a today plug in for it:
http://forum.xda-developers.com/showthread.php?t=412896
I'll b trying yours tho as I like the idea of UL with icons for up and down
Cheers,
Matthew
I made a cab with this program mapped to the PTT button. I have a AT&T Tilt, Im not sure if your phone has a PTT button or if its called something else or whatever.
With this, just run the cab then I tap the button and it changed the brightness really quickly, no menu or anything, I love it! If I walk out into the sun I just tap the button 3 times and my screen is bright.
Lobsterii, I love this program thanks a ton!
I'm glad that I could helped u out guys... actually there might be more funny stuff possible only if HTC release some documentation on theirs DLL files cos it's pain to guess arguments...
you did it all by guessing? I figured you would have decompiled the dll.
Truly excellent! I have also been looking for something like this for a long time.
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
Thanks again for a useful app!
you did it all by guessing? I figured you would have decompiled the dll.
Click to expand...
Click to collapse
I've read some forum where someone pointed out that backlight function should be in some dll by HTC dunno where it was... Then I was googling "dll find export function" and I've found prog "DLL Export Viewer" which can show function names in dll. Unfortunatelly there is generally impossible to find out how many/what arguments the function has. So I've found function name like HTCUtilSetOnBatteryBrightnessLevel and I've simply try prototype int HTCUtilSetOnBatteryBrightnessLevel(int); but it crashed... so I keep going like int HTCUtilSetOnBatteryBrightnessLevel(int*); and it worked... voila...
pudifoot said:
Truly excellent! I have also been looking for something like this for a long time.
Click to expand...
Click to collapse
thx alot...
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
Click to expand...
Click to collapse
done. + it's now compiled as an release version so it actually has 50KB less than old version... enjoy it's at the same place instead original files http://www.lobster.3web.cz/bordel/bl/index.htm...
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
Thanks for implementing the feature I was looking for. A perfect application - it's small and fast, and it gets the job done with excellence.
Thank you. Works perfectly.
silentanvil said:
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
Click to expand...
Click to collapse
hmhm... what I wouldn't do for y... There is new version 02 (on my web at the same place) where u can setup your own sequence. Length of sequence might be from 1 to 10... values are as usual from 0 to 9... But numbers must not repeat (known feature I don't see point to solve it) so u can set something like "bl02.exe 0 5 1 9 3" or whatever else... enjoy
Report any found bugs... I mean it's super simple but it's 4 am so I'm half sleeping...
lobsterii said:
hmhm... what I wouldn't do for y... There is new version 02 (on my web at the same place) where u can setup your own sequence. Length of sequence might be from 1 to 10... values are as usual from 0 to 9... But numbers must not repeat (known feature I don't see point to solve it) so u can set something like "bl02.exe 0 5 1 9 3" or whatever else... enjoy
Report any found bugs... I mean it's super simple but it's 4 am so I'm half sleeping...
Click to expand...
Click to collapse
Awesome! Thanks so much! I've also been looking everywhere for something like this!
Awesome!
Well done! I've been looking for ages for something to do this.
How to use bl02...
Something from lobsterii that helped me:
create link in Total commander (file manager) I think its in options "File -> >>>>> -> Create shortcut" then I have another file bl02.lnk then I open properties of the lnk file, I click tab shortcut and put the text of path into "" and after it I wrote parameters so it looks like
"\Program files\bl\bl02.exe" 1 3 9
OK dumb question and first time posting so don't slaughter me. If I understand the thread correctly this will put large buttons to adjust from the Backlight screen....correct? Is there a program (other than the PTT button which I'm using) that will allow a button or swipe to adjust the brightness without having to open the brightness display? If you get far enough to open the utility then its not that hard to move the brightness up. Sorry for the dumbness of the question.
volleykinginnc said:
If I understand the thread correctly this will put large buttons to adjust from the Backlight screen....correct?
Click to expand...
Click to collapse
my bl02.exe doesn't put any button anywhere... it's just app which actually toggle brightness. U can try to run it via file explorer it should change brightness...
volleykinginnc said:
Is there a program (other than the PTT button which I'm using) that will allow a button or swipe to adjust the brightness without having to open the brightness display?
Click to expand...
Click to collapse
There is plenty of programs to map this app to buttons, finger swipes and some other crazy stuff like voice commands etc.. For example I'm using FTouchFlo (u can use FTouchSl which is easier to configure) and map backlight change for finger swipes... Most easy way is just copy blXX.exe to /Windows/Start Menu/Programs/blxx.exe and then go to Start->Settings->(tab)Personal->Buttons and link it with some buton...
I'm just now at work so have no time for more explanation... but Once I get home I'll create some FAQ at download page cos... cos it'll be easier for all of us
dont sweat it that was a perfect explanation and I now have it helped me to get it running to a button.
One other quick question though....I have S2U2. So the button doesn't work until I have unlocked it (which sometimes is hard to see going out to daylight) is there any way (easy way, Im no programmer)to allow the button to work (that is brighten the display via the button I have it mapped to) while it is still locked?
volleykinginnc said:
dont sweat it that was a perfect explanation and I now have it helped me to get it running to a button.
One other quick question though....I have S2U2. So the button doesn't work until I have unlocked it (which sometimes is hard to see going out to daylight) is there any way (easy way, Im no programmer)to allow the button to work (that is brighten the display via the button I have it mapped to) while it is still locked?
Click to expand...
Click to collapse
I'm sure he won't be able to bypass A_C's S2U2, but (assuming you have a Kaiser, you didn't say) if you enable dpad in S2U2 you can always hold your right dpad button to make sure S2U2 is unlocked, even if you can't see the screen, and then hit the button for the "bl02.exe 9" link.
Ha ha...you guys are awesome! Right Dpad enabled and now it works like a charm even in the brightest sun!! Thanks for the great application...makes a big difference in usability.
Some of you experts ought to make a list of these application gems (this program/kaeser tweaks etc) to make it easy for the noobs like me. This is good stuff!!

Backlight levels : change them easily ?

Hi,
i noticed that automatic backlight is no so convenient:
the night, i found the level too bright, so i desactivate the "auto feature"
but now to change it, i have to go to start/settings/plus/etc
not so easy, if you are outside with a beautiful sunlight and you forgot
to increase the level after your last night ;-)
is there an easy way to up/down like with the volume?
perhaps associate with AE button plus, long press with volume up/down
but in this case wee need an exe/link to associate to them)
any idea ?
thanks
regards
i am using ageya G-Light for automatic light level, it is a suefull free tool.
http://www.ageye.de/index.php?s=glight/screens
gwassef said:
i am using ageya G-Light for automatic light level, it is a suefull free tool.
http://www.ageye.de/index.php?s=glight/screens
Click to expand...
Click to collapse
Many thanks, exactly what i wanted for tweaking
edit:something i installed might have messed up the keyboard popping up, it's back to normal now The only worry is that in the "exception settings",
i cant type anything
as for example copilot.exe, because the keyboard doesnt pop up, and its icon isnt present in the bottom part of the screen , i tried to copy/paste from notepad, but when i tap(long press) in the programs field, i am not proposed
(select, paste etc)
Do you encounter that (ps: its not the only application to do that)
Click to expand...
Click to collapse
regards
you have to select new first, then you will have a line to write in it what you need
gwassef said:
you have to select new first, then you will have a line to write in it what you need
Click to expand...
Click to collapse
hi,
something had messed up the keyboard popping up, it's back to normal now
thanks

Back Light Modification

I would like to find a way to modify the amount of time the backlight is on for the bottom buttons. I know there is a MOD that uses these for notification in place of the LED we don't have; so I am guessing someone knows how to modify this setting. I would like to be able to make the backlight remain on anytime the screen is on. I am more than willing (and would actually like to) to do the work if someone here can get me started.
Thanks
Jeff
no one has yet found a way to do this, not sure if it's possible, but who knows.
https://github.com/project-voodoo/backlightnotification/tree/master/liblights/
^ that's neldar's work for backlight notifications, lights.c is the modified file and lights.c.original is what was modified. go ahead and play with that to see what you can find out.
Thanks for the info and link. I will certainly look into it and see what I can do. Persistance may pay off eventually!
Jeff
actually the epic 4g has this setting built in. on that phone the slide-out keyboard back light has the same timer as the 4 soft keys and you have the option to sync both to the screen.
so maybe posting over there to or just getting the epic source would help.
a.vandelay said:
actually the epic 4g has this setting built in. on that phone the slide-out keyboard back light has the same timer as the 4 soft keys and you have the option to sync both to the screen.
so maybe posting over there to or just getting the epic source would help.
Click to expand...
Click to collapse
the setting is still tied to liblights.c and it isn't tied to the length of the screen timeout, it's the softkeys tied to the keyboard keys (which use the same settings/binary)... the keyboard is just an extension of the softkeys so the solution would still lie in modifying liblights.c
Just get one of the i9000 roms with the setiron kernel, it has backlight notifications among other things.

Is there a way to wake the device using the volume buttons?

I'm thinking of buying this device when it will become available but I have one think that bothers me. The position of the power button is not well enough and makes it annoying when one needs to wake the device. Since htc was "kind" enough to void the warranty on rooting the device, is there a way to wake the device using the volume keys without rooting?
I also found an app called "no lock" on the play store. Does this work with the one? Thanks in advance.
I'm not even sure what that app does exactly. Removes the lock screen?
It also says it doesn't work on certain phones so hopefully someone who owns the HTC One will test it for you.
there is an app i used to use for my sensation but drained battery widget locker i think
Use the smart screen off LITE free from play store it's work perfectly with flip cover, it's use proximity sensor, when you close flap it's off the screen and on when open but can't lock screen, I use screen off and lock app to secure lock the phone with just one click or confiigure using any gesture if you use apex launcher which much battery friendly and lots of customization option if you don't like blink feed
Sent from my HTC One using xda app-developers app
Απ: Is there a way to wake the device using the volume buttons?
onlinejobwork said:
Use the smart screen off LITE free from play store it's work perfectly with flip cover, it's use proximity sensor, when you close flap it's off the screen and on when open but can't lock screen, I use screen off and lock app to secure lock the phone with just one click or confiigure using any gesture if you use apex launcher which much battery friendly and lots of customization option if you don't like blink feed
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
I'll take my chances and not use a cover or case of any kind. Hopefully someone will try the app I mentioned.
I know OP is asking about a no-root, app solution for this, but is there anyway at all of mapping the volume keys to power on device, even if it requires root and/or flashing files?
Cm usually has it in settings
Sent from my Galaxy Nexus using xda premium
Απ: Is there a way to wake the device using the volume buttons?
moeahmad1995 said:
Cm usually has it in settings
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Cm is goodbye warranty. I intend to do that after at least a year.
bouss said:
Cm is goodbye warranty. I intend to do that after at least a year.
Click to expand...
Click to collapse
Oops, I forgot to quote the guy above me, he was wondering if it was even possible, even with root
Sent from my Galaxy Nexus using xda premium
Anyone got any other suggestions that dont involve root ???
App from market called Tap Tap.
Sent from my HTC Sensation 4G using Tapatalk 2
Wake on volume keys research
gustav30 said:
App from market called Tap Tap.
Sent from my HTC Sensation 4G using Tapatalk 2
Click to expand...
Click to collapse
Tried many of those apps using the proximity sensor to turn on the screen. I reall hate them because :
1- None of them would have a very high accuracy. Mostly due to the sensors on most of the phones beeing not very accurate to detect multiple wave in a short time frame. It's not their initial purpose anyway.
2- The sensor is at the far top left of the screen which does not help in any way to use turn on the screen with one hand.
3- The fact that you have to swipe 2 or 3 times in front of the sensors which are not very accurate makes it equal in time if not longer than using your 2nd hand to reach the power button.
I believe these apps are not that useful and would prefer something to wake the screen with volume keys or tactile keys at the button.
For the moment I use an app called Flip Flap which is working pretty well. You jsut have to do a quick shake like if you suddenly had to take a look at your wrist watch while holding your phone. It's a half second movement and it unlocks/locks your screen with a movement that you will not trigger by accident so it's kinda nice and quick.
But still, it's not as good as volume keys which are perfectly placed to turn on the thing.
So my phone is rooted now and I've looked into a few things.
I've read that the file handling the keymapping would be in there : /System/Usr/Keylayout and the file to be modified would be l0-keypad.kl
Unfortunately the file is simply not existing on my phone. (Maybe it's got something to do with the fact I do not use the original Android keyboard but Swiftkey instead ? Dunno.
So here is the full list of file I've got in this /System/Usr/Keylayout :
Sorry guys you'll have to enter the h before my links to see them as I don't have 10 posts and can't use external links yet
ttp://i.imgur.com/wkPts92s.png and ttp://i.imgur.com/Ab5sI3Rs.png
Unfortunately I can't find eaxctly which one is used by the phone to map the volume keys exactly.I tried to modify the Generic.kl file :
ttp://pastebin.com/0JdTHwsy
Lines 136 and 137 seems to be mapping the volume keys :
key 113 VOLUME_MUTE
key 114 VOLUME_DOWN
I have tried to add "WAKE" in the same way it is written for the POWER key : key 116 POWER WAKE
Saved the file, restarted the phone but then the file was reset to its intial value so I don't think we can modify this one.
Then I checked another folder : /sys/keyboard/
This one contains a file named vol_wakeup. Was pretty happy to find that one.
It only contains a single character : "0"
The most obvious thing was to try and replace that 0 by a 1 to enable the option but same thing as last time. After saving and restarting the phone this file was restored to its inital value with the 0 in it.
At this point I simply don't have the knowledge to go further. Blocking points :
- I don't know if physical keys like volume are mapped in a generic keyboard file or in a file specific to the virtual keyboard the user has chosen (Android default keyboard or Swiftkey or any other...). This would mean editing different files after identifying them.
- I don't know why the files I've tried to modify went back to their initial states. My phone is rooted, I used ES Explorer to get to the root folder and ES Notepad to edit them and save. I had no error message on saving so I don't think it's got anything to do with access rights.
Could use anyone's help
I was unable to find the app called flip flap. Are you sure that's it's name?
bouss said:
I was unable to find the app called flip flap. Are you sure that's it's name?
Click to expand...
Click to collapse
Nop sorry it's called Justflip :
https://play.google.com/store/apps/...MsIm5ldC5qdXN0bmljZS5hbmRyb2lkLkp1c3RGbGlwIl0.
And the review I posted about it :
"Works great on the new HTC ONE. The Roll is not very precise but the pitch trigger is very accurate. It is also easier on this phone to flip its top/bottom than rolling sideways so no trouble there. Settings for me are the following and I find it great that way : Roll tolerance 15% Pitch Tolerance 48% 500ms Would be the perfect app if it was allowign us to use volume keys (instead of the power key) to turn ON the phone screen."
iKoyy said:
Tried many of those apps using the proximity sensor to turn on the screen. I reall hate them because :
1- None of them would have a very high accuracy. Mostly due to the sensors on most of the phones beeing not very accurate to detect multiple wave in a short time frame. It's not their initial purpose anyway.
2- The sensor is at the far top left of the screen which does not help in any way to use turn on the screen with one hand.
3- The fact that you have to swipe 2 or 3 times in front of the sensors which are not very accurate makes it equal in time if not longer than using your 2nd hand to reach the power button.
I believe these apps are not that useful and would prefer something to wake the screen with volume keys or tactile keys at the button.
For the moment I use an app called Flip Flap which is working pretty well. You jsut have to do a quick shake like if you suddenly had to take a look at your wrist watch while holding your phone. It's a half second movement and it unlocks/locks your screen with a movement that you will not trigger by accident so it's kinda nice and quick.
But still, it's not as good as volume keys which are perfectly placed to turn on the thing.
So my phone is rooted now and I've looked into a few things.
I've read that the file handling the keymapping would be in there : /System/Usr/Keylayout and the file to be modified would be l0-keypad.kl
Unfortunately the file is simply not existing on my phone. (Maybe it's got something to do with the fact I do not use the original Android keyboard but Swiftkey instead ? Dunno.
So here is the full list of file I've got in this /System/Usr/Keylayout :
Sorry guys you'll have to enter the h before my links to see them as I don't have 10 posts and can't use external links yet
ttp://i.imgur.com/wkPts92s.png and ttp://i.imgur.com/Ab5sI3Rs.png
Unfortunately I can't find eaxctly which one is used by the phone to map the volume keys exactly.I tried to modify the Generic.kl file :
ttp://pastebin.com/0JdTHwsy
Lines 136 and 137 seems to be mapping the volume keys :
key 113 VOLUME_MUTE
key 114 VOLUME_DOWN
I have tried to add "WAKE" in the same way it is written for the POWER key : key 116 POWER WAKE
Saved the file, restarted the phone but then the file was reset to its intial value so I don't think we can modify this one.
Then I checked another folder : /sys/keyboard/
This one contains a file named vol_wakeup. Was pretty happy to find that one.
It only contains a single character : "0"
The most obvious thing was to try and replace that 0 by a 1 to enable the option but same thing as last time. After saving and restarting the phone this file was restored to its inital value with the 0 in it.
At this point I simply don't have the knowledge to go further. Blocking points :
- I don't know if physical keys like volume are mapped in a generic keyboard file or in a file specific to the virtual keyboard the user has chosen (Android default keyboard or Swiftkey or any other...). This would mean editing different files after identifying them.
- I don't know why the files I've tried to modify went back to their initial states. My phone is rooted, I used ES Explorer to get to the root folder and ES Notepad to edit them and save. I had no error message on saving so I don't think it's got anything to do with access rights.
Could use anyone's help
Click to expand...
Click to collapse
What you are doing is perfectly valid, but system is protected with the stock kernel and all changes to the /system partition are reverted on boot.
Yeah thanks for the update. I've learned a lot this week while looking a way to enable wake on vol.
Most of the ROMs developped for the One so far have it working, although it does not work when the phone goes to deep sleep. The HTC One source code was released by HTC yesterday so it's only a matter of time until we see many unprotected kernels popout.
The OrDroid ROM is the one with which I had the most successful experience so far : not a single problem, very close to stock ROM and wake on vol is working 9 times out of 10.
So I'd recommend everyone to check it out : http://forum.xda-developers.com/showthread.php?t=2191358

Categories

Resources