[Q] htc incredible s lights on when phone off - HTC Incredible S

hi everyone..
recently i founded out my phone lights (the four buttons at the bottom; home, menu, back, search) were still on while my phone is off..
when i pulled out the battery the things off bt when i placed the battery back and din even on my phone the lights on itself..
is dere any fix on tis issue??
thx..

songrandy said:
hi everyone..
recently i founded out my phone lights (the four buttons at the bottom; home, menu, back, search) were still on while my phone is off..
when i pulled out the battery the things off bt when i placed the battery back and din even on my phone the lights on itself..
is dere any fix on tis issue??
thx..
Click to expand...
Click to collapse
Send back to HTC
sent from my ics device

Could someone give some input on this? I think my Incredible S is having the same problem. Regardless of whether the phone is on or off, whenever I insert the battery, the backlights of the bottom 4 buttons are half-lit, in a landscape mode.
When I turn on the phone, those half-lit shades are visible along with the normal portrait mode backlights.
I am using CyanogenMod 7.1, although I doubt it is something related to the ROM. As I have just said, the shades are there even when the phone is turned off.

ddsam said:
Could someone give some input on this? I think my Incredible S is having the same problem. Regardless of whether the phone is on or off, whenever I insert the battery, the backlights of the bottom 4 buttons are half-lit, in a landscape mode.
When I turn on the phone, those half-lit shades are visible along with the normal portrait mode backlights.
I am using CyanogenMod 7.1, although I doubt it is something related to the ROM. As I have just said, the shades are there even when the phone is turned off.
Click to expand...
Click to collapse
Might be a kernel issue. How is your phone unlocked?
Post your kernel version: settings>about phone>kernel version.

The kernel is Tiamat_IncS-v1.1.4. I have been using that for quite a while now.
The original hboot was HBOOT-2.00.0000 S-On. Unlocked via HTCdev. Then got complete S-Off using your method in http://forum.xda-developers.com/showthread.php?t=1373697

ddsam said:
The kernel is Tiamat_IncS-v1.1.4. I have been using that for quite a while now.
The original hboot was HBOOT-2.00.0000 S-On. Unlocked via HTCdev. Then got complete S-Off using your method in http://forum.xda-developers.com/showthread.php?t=1373697
Click to expand...
Click to collapse
I installed the Tiamat 1.1.4 on my cm7.2.0 rc1 setup and I'm not getting any softkey rotation. Have you installed any softkey mods/scripts/etc?

No, I am not using any mod or script. Actually what I am getting is not softkey rotation. The keys are half-lit always (phone on or off, as long as the battery is there) and the alignment of the keys are as it would be in landscape mode.
When actual softkeys are on, they appear in portrait mode as usual and above those landscape 'ghost' softkey lights.
So then the menu key looks like a checkered box instead of 4 horizontal lines.
The problem appeared a week ago and I have not done any ROM, kernel, radio change in a month.

ddsam said:
No, I am not using any mod or script. Actually what I am getting is not softkey rotation. The keys are half-lit always (phone on or off, as long as the battery is there) and the alignment of the keys are as it would be in landscape mode.
When actual softkeys are on, they appear in portrait mode as usual and above those landscape 'ghost' softkey lights.
So then the menu key looks like a checkered box instead of 4 horizontal lines.
The problem appeared a week ago and I have not done any ROM, kernel, radio change in a month.
Click to expand...
Click to collapse
Hard to imagine it being anything other than a hardware issue..
The landscape led brightness can be controlled by modifying the file:
/sys/class/leds/button-backlight-landscape/brightness
Probably easiest using a root file explorer. This file will contain one number and it should be 0 (off). The range is 0-255 (min-max). Have a look/play with this file to see if it does anything to your leds.

Thank you for your reply. I am now almost certain that the problem is hardware related.
However I could not edit /sys/class/leds/button-backlight-landscape/brightness. I used ES File Explorer, but it seems it doesn't allow me to edit the file, even after allowing full read-write access.
Is there any way to edit this file from adb/fastboot?

ddsam said:
Thank you for your reply. I am now almost certain that the problem is hardware related.
However I could not edit /sys/class/leds/button-backlight-landscape/brightness. I used ES File Explorer, but it seems it doesn't allow me to edit the file, even after allowing full read-write access.
Is there any way to edit this file from adb/fastboot?
Click to expand...
Click to collapse
I'm also using ES. In my options both root explorer and mount file system options are checked and I'm opening the file with ES note editor. Hope this helps.

I was able to open the file using that method. But I cannot change the value.
Any idea, please?

ddsam said:
I was able to open the file using that method. But I cannot change the value.
Any idea, please?
Click to expand...
Click to collapse
In terminal
Code:
su
echo 0 > /sys/class/leds/button-backlight-landscape/brightness

Nonverbose said:
I'm also using ES. In my options both root explorer and mount file system options are checked and I'm opening the file with ES note editor. Hope this helps.
Click to expand...
Click to collapse
It's work for me but only when it in horizon position, when it in normal position (vertical) backlight does not work (

ddsam said:
Thank you for your reply. I am now almost certain that the problem is hardware related.
However I could not edit /sys/class/leds/button-backlight-landscape/brightness. I used ES File Explorer, but it seems it doesn't allow me to edit the file, even after allowing full read-write access.
Is there any way to edit this file from adb/fastboot?
Click to expand...
Click to collapse
You can't modify the file, because it is in read only mode. give-it rw access and you'll be able to edit-it.
Also, if you want to make sure that it is an hardware problem, it's probably easier to restock you device. Just make a nandroid backup, reinstall the stock boot loader and o/s and see if the problem persist.

Related

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

[Q] Disable capacitive button backlights

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.

[RECOVERY] ClockworkMod TOUCH 5.5.0.4 v1

Im working on porting gweedo767's touch recovery to the incredible. I do not own an incredible so i need people to give me feedback so i know what to change. Once i get a good working fakeflash i will release an installable recovery image. If anyone wants to donate to me for me to get my own incredible that would be much appreciated and will make the process quicker.
Here is a youtube video I made of how it works: ------> VIDEO
4 ways to use recovery:
volume rockers
soft keys on bottom of screen
capacitive buttons
swipe gestures (up/down = scroll && left = back && right = select)
This will not install ANYTHING on your phone. It is just a test drive to see what it is like. This loads the files into the ram and runs them from there. As soon as you reboot everything will be back to the way it was. This does not change/alter ANY files on your phone.
I need to know what sort of things i need to change like:
swipe sensitivity
font size
order of soft keys on bottom of screen
anything else......
Please let me know how i can make this better
Click to expand...
Click to collapse
Here is the link to a FAKEFLASH: --------> http://sk8erwitskil.com/guest/skyrocket/CWMRT/inc/cwmrt-inc.zip (flash in CWM)
There is a known bug in ClockworkMod 5.5.0.4 that long file names can POSSIBLY cause backups to hang. There is a solution/workaround:
boot into recovery
try to make a backup (no matter if it passes or fails proceed to next step)
either through terminal emulator or through adb run the following command EXACTLY:
Code:
touch /sdcard/clockworkmod/.hidenandroidprogress
NOTICE THE PERIOD AND LACK OF EXTENSION.
and it is .hidenandroidprogress NOT .hideandroidprogress __notice the letter "n"__
Click to expand...
Click to collapse
Hello i tried your recovery and it has a few issues one being major. First off the up scroll button (the one that looks like a house) seems to select items instead of scroll up in the list. Also while on the subject of the buttons imho there a little small, and would look better more rounded, perhaps just putting a ring arround them.
If you swipe to the right on the screen it reboots the phone.
Ok now on to the major issue, it only backed up boot, system, and recovery. It did not back up data, datadata, cache, sd-ext, android.secure, or generate an md5 sum.
Other that that its good. It is not what i was expecting when i tried it. I was expecting to touch on the menu where the options are instead of using softkeys to navigate and select, but i still like this better than having to use vol keys and trackball, great job so far.
cmlusco said:
Hello i tried your recovery and it has a few issues one being major. First off the up scroll button (the one that looks like a house) seems to select items instead of scroll up in the list. Also while on the subject of the buttons imho there a little small, and would look better more rounded, perhaps just putting a ring arround them. Ok now on to the major issue, it only backed up boot, system, and recovery. It did not back up data, datadata, cache, sd-ext, android.secure, or generate an md5 sum. Other that that its good. It is not what i was expecting when i tried it. I was expecting to touch on the menu where the options are instead of using softkeys to navigate and select, but i still like this better than having to use vol keys and trackball, great job so far.
Click to expand...
Click to collapse
It is touch... You swipe to scroll. Swipe your finger up and down to scroll. Swipe right to select and SWIPE LEFT to go back. And thank you for your feedback.
Edit: and also that backup issue is a bug in clockworkmod. You have to put a file call:
.hidenandroidprogress in the /sdcard/clockworkmod/ folder. Notice the period and lack of extension.
Sent from my SAMSUNG-SGH-I727 using XDA App
sk8erwitskil said:
It is touch... You swipe to scroll. Swipe your finger up and down to scroll. Swipe right to select and SWIPE LEFT to go back. And thank you for your feedback.
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
Ok i see let me try this again.
Ok now i get it. Lol ok then heres my bug report.
Swipe left and right are way to sensitive. When scrolling up and down if you go just the slightest bit to the left or right, it either goes back or selects an item.
As i said earlier the up softkey selects items instead of moving up in the list.
Also as i said earlier not backing up everything or generating an md5.
Other than that it seems great.
cmlusco said:
Ok now i get it. Lol ok then heres my bug report.
Swipe left and right are way to sensitive. When scrolling up and down if you go just the slightest bit to the left or right, it either goes back or selects an item.
As i said earlier the up softkey selects items instead of moving up in the list.
Also as i said earlier not backing up everything or generating an md5.
Other than that it seems great.
Click to expand...
Click to collapse
i added the fix to the backup problem in the OP. add that file and itll solve that issue. that is a known issue in the base code of clockworkmod 5.x, im working on making a code fix for that. the workaround works fine for now tho. can you tell me what the "home" "menu" "back" & "search" capacitive buttons do in recovery? that way i can re-arrange the soft keys to line up with the corresponding capacitive button.
im guessing back = go back, search = select, but does home = scroll up or scroll down?
thanks
sk8erwitskil said:
i added the fix to the backup problem in the OP. add that file and itll solve that issue. that is a known issue in the base code of clockworkmod 5.x, im working on making a code fix for that. the workaround works fine for now tho. can you tell me what the "home" "menu" "back" & "search" capacitive buttons do in recovery? that way i can re-arrange the soft keys to line up with the corresponding capacitive button.
im guessing back = go back, search = select, but does home = scroll up or scroll down?
thanks
Click to expand...
Click to collapse
Home scrolls down, menu does nothing just vibes, back goes back, search selects. Also the on screen back key seems to select instead of go back like the on screen up key does.
EDIT: actually the menu button seems to go back also. Its hard to tell. I think when hitting home, menu, back, search, it is also picking up my finger slightly moving left or right when i hit it.
Also for the backup fix, that is just creating a file called .hiddenandroidprogress right? That file was already present in my cwm folder before i ever even tried this recovery. I ran the command anyways and tried to back up again but still only boot recovery and system.
cmlusco said:
Home scrolls down, menu does nothing just vibes, back goes back, search selects. Also the on screen back key seems to select instead of go back like the on screen up key does.
EDIT: actually the menu button seems to go back also. Its hard to tell. I think when hitting home, menu, back, search, it is also picking up my finger slightly moving left or right when i hit it.
Click to expand...
Click to collapse
ok i updated the file. the soft keys on screen should be fixed to at least be the right keys. im going to re-arrange the order to those of the capacitive once i get to my work computer tomoro. also, i made the left/right sensitivity lower. see how it works.
cmlusco said:
Also for the backup fix, that is just creating a file called .hiddenandroidprogress right? That file was already present in my cwm folder before i ever even tried this recovery. I ran the command anyways and tried to back up again but still only boot recovery and system.
Click to expand...
Click to collapse
yes .hidenandroidprogress. what it does is stop cwm from enumerating the file list that it is backing up. if it gets stuck after that then i have to go in and debug the filesystem points i have probably as they are wrong for data, etc.
sk8erwitskil said:
ok i updated the file. the soft keys on screen should be fixed to at least be the right keys. im going to re-arrange the order to those of the capacitive once i get to my work computer tomoro. also, i made the left/right sensitivity lower. see how it works.
Click to expand...
Click to collapse
Still to sensitive left to right, and the on screen up key still goes back instead of up in the list.
cmlusco said:
Still to sensitive left to right, and the on screen up key still goes back instead of up in the list.
Click to expand...
Click to collapse
Agreed, havent totally tested though.
Nice having a touch option. Desire has CWmod touch and another one.
Sent from my Droid Incredible using Tapatalk
72ls1 said:
Agreed, havent totally tested though.
Nice having a touch option. Desire has CWmod touch and another one.
Sent from my Droid Incredible using Tapatalk
Click to expand...
Click to collapse
My wifes evo 4g has it too, but its where you touch the words on the screen instead of swiping or using soft or on screen keys.
im updating the base code to fix alot of bug fixes. will update soon
sk8erwitskil said:
im updating the base code to fix alot of bug fixes. will update soon
Click to expand...
Click to collapse
When you make updates, can you provide change log with dates so we know when you updated it.
Thanks
72ls1 said:
When you make updates, can you provide change log with dates so we know when you updated it.
Thanks
Click to expand...
Click to collapse
Yes definitely. I have actually stopped doing anything for now since I'm getting an incredible in a few days so I can do my own testing. It was getting too difficult doing all my testing over the Internet lol. I'll be back with another version in about a week. So until then....
Sent from my SAMSUNG-SGH-I727 using XDA App
sk8erwitskil said:
Yes definitely. I have actually stopped doing anything for now since I'm getting an incredible in a few days so I can do my own testing. It was getting too difficult doing all my testing over the Internet lol. I'll be back with another version in about a week. So until then....
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
cant wait to see what you come up with.
Trying this, may I ask what to do if I don't like this? How would one go back to the regular CWM?
Sent from my HTC Droid Incredible -
Clutch 3.5 - Sense 4.0 Theme
withbloodskies said:
Trying this, may I ask what to do if I don't like this? How would one go back to the regular CWM?
Sent from my HTC Droid Incredible -
Clutch 3.5 - Sense 4.0 Theme
Click to expand...
Click to collapse
Try re flashing from ROM Manager.
withbloodskies said:
Trying this, may I ask what to do if I don't like this? How would one go back to the regular CWM?
Sent from my HTC Droid Incredible -
Clutch 3.5 - Sense 4.0 Theme
Click to expand...
Click to collapse
This is only a bootable test, it changes nothing on your phone. You flash this it temp boots to the touch recovery, and then when you exit the touch recovery you will be exactly the way it was before flashing it. It is not permanent.

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

Switch places of HW keys (back<=>menu)

I was playing around with some other phones these days, which also have hardware keys, but differently placed (comparing to i9070).
I have noticed that I like more having BACK button on the left, insted of right, since I'm righthanded.
So can this switching places be done in CM10.2 (or any other rom) - to have BACK on the LEFT and MENU on the RIGHT?
jazzh said:
I was playing around with some other phones these days, which also have hardware keys, but differently placed (comparing to i9070).
I have noticed that I like more having BACK button on the left, insted of right, since I'm righthanded.
So can this switching places be done in CM10.2 (or any other rom) - to have BACK on the LEFT and MENU on the RIGHT?
Click to expand...
Click to collapse
Use some root explorer (like ES File explorer, put it in RW mode in options)
Locate /system/usr/keylayout/ dolder and in atmel_mxt_ts.kl swap HOME and BACK.
I dont have that file in that folder.
But i have: sec_touchkey.kl
With menu and back lines in it?
Should i change them here?
jazzh said:
I dont have that file in that folder.
But i have: sec_touchkey.kl
With menu and back lines in it?
Should i change them here?
Click to expand...
Click to collapse
Yes, remember where is that folder if you want to change it back. Reboot after change.
Success, thx!

Categories

Resources