My end goal is to have the phone return to the home screen after waking it up. This question has been asked for many years but there isn't a simple apk to add this feature.
Digging around it seems like we are able to change for sure, but I'm guessing also to add functionality to hardware buttons, power in this case,. While it is not fool proof, adding a step wen "clicking" the power button to put the phone to sleep to return to home screen before the screen goes off seems like the easiest way.
From the other "how to's" on how to re-map buttons brings me to the Generic.kl file from /system/usr/keylayout. There are 5 or so references to the "power".
Can someone point to which key number I want?
How would I add the return to home and still have the screen go off.
Thanks for the help...
Am I the only one that would like to always open their phone to the home screen?
Sent from my Nexus 5 using xda app-developers app
If I am understanding your post correctly,
You can use automate or tasker to set a rule :
If screen off then return to home screen.
Hope that helps.
Sent from my Nexus 5 using xda app-developers app
Thanks for the tip...
I didn't know about automate, it's prefect... simple and free...
Sent from my Nexus 5 using xda app-developers app
Related
Does anyone know if there is something that can be edited in the build.prop that will enable the home keys to stay illuminated when the screen is on in dark settings? the keys go off so day and then you can't see them
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
acPIZZA said:
Does anyone know if there is something that can be edited in the build.prop that will enable the home keys to stay illuminated when the screen is on in dark settings? the keys go off so day and then you can't see them
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Click to expand...
Click to collapse
no i dont think samsung puts that setting in there. hoowever you might be able to use an app called "keep the lights on" which will bind the backlights to screen on. that way they dont timeout at all
Yeah I was just wondering if there was a line that could be edited in the build.prop that you could change a standard value, like so many milliseconds to more milliseconds for the home keys alone. I wouldn't smythe entire display not timing out
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Morning,
I tried it, but is says su not found?
jj
Is there a way to make that work? you would just swipe from left to right or vice versa, the settings to search button, or backwards to unlock. Its a gesture method that I remember from my sisters HP laptop. She could swipe across all the capacitive shortcut keys at the top of the keyboard when the pc was off, and viola it would instantly turn on or start back up from sleep mode.
Thanks for suggestions!
tazbo28 said:
Is there a way to make that work? you would just swipe from left to right or vice versa, the settings to search button, or backwards to unlock. Its a gesture method that I remember from my sisters HP laptop. She could swipe across all the capacitive shortcut keys at the top of the keyboard when the pc was off, and viola it would instantly turn on or start back up from sleep mode.
Thanks for suggestions!
Click to expand...
Click to collapse
Sweet idea! Not sure if it can be implemented...but it can be looked into!
Sent from my SAMSUNG-SGH-I997 using XDA App
Not sure if u mean unlocking after screen is turned on or unlocking from screen off state.
Activating this mode right from screen off state would mean power always being supplied to the touch sensitive keys, even in deep sleep mode, and result would be battery drain.
This might be a good idea after power is pressed and phone is out of sleep mode.
The lights can be constantly on and the battery drain is still irrelevant.
As for the OP, you can have the menu key unlock the phone.
Sent from my Infuse 4G
old post but what i meant was to have it wake the phone and also unlock it to the home screen.
u should be able to have the bottom four buttons active all the time but with the lights off. also hitting any one or two buttons would do nothing. u would have to swipe all four to unlock and wake. or vice versa.
Sent from my SAMSUNG-SGH-I997 using XDA App
That'd be pretty cool but is there that much access to the hardware end to allow us to control what those buttons do?
Sent from my SAMSUNG-SGH-I997R using XDA App
Not 100% sure about that but I do know that there was someone who was able to unlock with just touching one button. I think its doable.
Sent from my SAMSUNG-SGH-I997 using XDA App
There is an App called buttonremapper by beansoft here on xda. Has a version for sgs variants. I tried it and set my search button to power my screen on and off, but only puts the screen in an off state. Didn't wake my phone up.
Sent from my SAMSUNG-SGH-I997 using XDA App
I'm usually one who doesn't like to sit and wait around having to hold a button to get something to work, and I don't usually have a heavy hand so I prefer a very short press and hold period. Is there any way to modify how long we have to hold down the home button to see the recent apps?
I changed the home button action in nova launcher so that it first goes to my main home screen. If it is already there a single press of the home button opens the recent apps list.
Sent from my SCH-I535 using xda premium
But what about if you aren't already at your launcher? Say... you're using Chrome and want to go to recent apps, right now it takes a press an hold of around 2 seconds or so. I would like to know how to change this to reduce it to a second or perhaps less.
In that case I hold it until the recent apps shows up. So I guess nova launcher settings only help if you're not in an app.
Sent from my SCH-I535 using xda premium
But that's exactly my point, is that right now you just hold it until recent apps shows up, which is like two seconds. To me personally, this is too long. I usually have quick hands and do everything really quickly, the long press I use for Swiftkey is set to 200ms. This is why I think it would be nice to change the recent apps to maybe a second or so, I'm just not sure how to go about doing this.
noingwhat said:
But that's exactly my point, is that right now you just hold it until recent apps shows up, which is like two seconds. To me personally, this is too long. I usually have quick hands and do everything really quickly, the long press I use for Swiftkey is set to 200ms. This is why I think it would be nice to change the recent apps to maybe a second or so, I'm just not sure how to go about doing this.
Click to expand...
Click to collapse
I was thinking of the same sort of thing before discovering Sheffy007's nav bar thread. I now think the nav bar is a more elegant solution.
If you're not a fan of the Nav Bar, you could study the changes he made to the key files and possibly swap home and recent apps (pressing home brings up recent apps, holding home brings up the home screen).
http://forum.xda-developers.com/showthread.php?p=30048716
Sent from my SCH-I535 using xda premium
Would a launcher help this issue?
Couldn't you set the double click assigned to the siri like Samsung voice to go to recent apps instead? That would be much faster...
Sent from my SCH-I535 using xda app-developers app
On cm10 I have my recent apps set to long press menu, it's less annoying than holding the physical home button just my. 02
Sent from my SCH-I535 using xda app-developers app
I'm fine with the use of the long press home button for recent apps, I just wish I didn't have to hold it for so long, although a double press wouldn't be bad either.
It seems like this should be an easy fix though, if we can just figure out where the file is that says to wait 2000ms before bringing up the recent apps, it should be as simple as changing that to a smaller number, shouldn't it?
noingwhat said:
I'm fine with the use of the long press home button for recent apps, I just wish I didn't have to hold it for so long, although a double press wouldn't be bad either.
It seems like this should be an easy fix though, if we can just figure out where the file is that says to wait 2000ms before bringing up the recent apps, it should be as simple as changing that to a smaller number, shouldn't it?
Click to expand...
Click to collapse
I looked through the SQL Lite DB on my device (TW based ROM), /system/usr/keylayouts and decompiled framework-res.apk, twframework-res.apk, and SystemUI.apk. I briefly looked through everything and the closest thing I could find was in framework-res/res/values/integers.xml
<integer name="config_longPressOnHomeBehavior">2</integer>
I don't think that's it, but it's worth a shot (nandroid first). Anyone else know where button duration is set?
I think this closely relates to what mybook already found, but I found this in framework-res/res/values/public.xml:
Code:
7946 | <public type="integer" name="config_longPressOnHomeBehavior" id="0x010e001d" />
Still has nothing to do with the duration, but it might be able to lead us to the duration.
I've noticed since flashing CM10 that the long press seems to much quicker, around a second or so, meaning this must be possible somehow.
I was searching for the exact functionality when i got to this thread, and I was disappointed. Surely someone in XDA can accomplish something like this?
I was hoping there would be a file somewhere in the root dir that holds the settings to this long press duration in an integer. Something like the sys/class/leds/led-backlight/brightness file that sets the softkey brightness to zero, effectively turning it off, which is really useful for night reading.
Has still nobody figured it out? :crying:
I have noticed since yesterday's Jelly Bean update (4.1.1) that if you have an app open (say a browser for example) and you let your screen timeout, when you press the home button it will turn the screen on screen up and take you back to your home screen. Used to with ICS it would just turn the screen on and you could continue in the app. Now it takes you all the way back home and you have to re-open the app to continue in it.
I was wondering if everyone is getting this same result or if it is just me.
Thanks!
I just tried it with Google Now and it returned to the app. I tried the Android browser and it returned the app as well. You might want to power down, pull the battery, then restart. Updates can sometimes act a little wonky at first. Occasionally (and unfortunately) a hard reset can FINALLY make an update work correctly.
Fixed this issue on my phone. The solution for me was to set up S-Voice, then go into it's settings and check the 'open via home key' option. After this, pressing the home key once simply wakes up the screen instead of also taking it to the home screen. Hope it works for you too!
Sent from my SCH-I535 using xda premium
Yea, that fixed it. I don't like S-Voice so I had that option turned off. Apparently it works different with this update then it did with ICS.
I've actually went in there and enabled that option then went into Application Management and disabled S-Voice. Now, if I accidently double tap my home button it just goes to a black screen for a second then back to the home screen. (Better than opening up S-Voice)
Thanks for your help!
I've found if you use a pattern password the home button "feature", to go back home works like how it used to
Sent from my SCH-I535 using xda app-developers app
Nice find! Now my dilemma is, whether the added "lag" when single tapping the home button is not as annoying as being taken to the home screen when pressing the home button after the screen times out. Having the double tap for S-Voice setting disabled speeds up that home button responsiveness.
Sent from my SCH-I535 using xda app-developers app
I find the lag to be to annoying when s-voice is enabled. A fast press of the power button will wake up the phone without closing the app you are using and you can keep s-voice turned off.
SlimSnoopOS said:
Nice find! Now my dilemma is, whether the added "lag" when single tapping the home button is not as annoying as being taken to the home screen when pressing the home button after the screen times out. Having the double tap for S-Voice setting disabled speeds up that home button responsiveness.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
grr, I couldnt agree more. I turned off that feature to reduce home button lag in ICS, now it closes any app open. Hopefully theres a fix
We'll find out. I dislike these small, unnecessary changes that Samsung has implemented. Horizontal pinch to expand notifications is another unnecessary change on VRBLK3.
Sent from my SCH-I535 using xda app-developers app
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
aromig said:
Fixed this issue on my phone. The solution for me was to set up S-Voice, then go into it's settings and check the 'open via home key' option. After this, pressing the home key once simply wakes up the screen instead of also taking it to the home screen. Hope it works for you too!
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Ohhhh thank you so much! This was driving me CRAZY! :laugh:
Oh, I spoke to soon. I have tried the S Voice option but it still takes me back to home when I wake with the home button :crying:
lv2bsilly said:
Ohhhh thank you so much! This was driving me CRAZY! :laugh:
Oh, I spoke to soon. I have tried the S Voice option but it still takes me back to home when I wake with the home button :crying:
Click to expand...
Click to collapse
I feel your pain i also suffer from this same problem i had ics stock rom upgraded to hpyer drive rl14 and after that my home button only wakes up to a long press nothing seems to work i even reassigned soft keys functions so home would do back option and same thing,
It may be a simple issue to fix, but it's annoying that I can't capture my screenshot the power button and volume down combination capture screen. I'm having to go to power menu and selecting screenshot.
Any thoughts as to how I get it back to default?
I'm using Paranoid ROM 4.1-Beta 2.
Sent from my Nexus 5 using xda app-developers app
PA could be using a different method (or keys are remapped when you enable in reboot menu). However it could be an error like Samsung devices have and you need to reboot for it to work (I imagine you've already tried this though)
I'm just saying this just in case because I have come across quite a few people with this issue and they were just doing it wrong.
Power and Volume down at the exact same time. If either are pressed slightly before the other it won't work.
Have you ever been able to elicit the screenshot functionality using the buttons?
If you are rooted use xposed with expansion menu when you press off key only menu Inc screen shot comes up on screen. It's in gravity box and others
Sent from my Nexus 5 using XDA Premium 4 mobile app
Thanks guys. Reboot didn't work and I'm quite aware of how to take a screenshot as I do it often but uninstalling a Xposed module must have fixed.
I was over Xposed with tweaks lol.
Thanks guys.
Sent from my Nexus 5 using xda app-developers app