[APP] [4.3+] Hold Back To Kill [ROOT] - Android Apps and Games

Here is an app that allows you to hold your back button to kill the currently open application.
If popularity is high enough, I will update it with things like whitelist etc.
If you use a Samsung device, the only problem is that you can't show the MultiWindow bar anymore. I will work on a fix for it. I only made this because xposed doesn't work on Samsung Lollipop yet so this is what I wanted until it is. Once it works, I prolly won't ever touch this app again.
Thanks everyone!
UPDATE:
- Performance improvement

useful, thanks for this!!!!

Great job! I've been missing this feature since I switched to Lollipop. Thanks!

hi,
It seems to be working on CM12 but a little too good
Apps get killed right away when i press "back"whatever time-out i set in the settings.

Droidphilev said:
hi,
It seems to be working on CM12 but a little too good
Apps get killed right away when i press "back"whatever time-out i set in the settings.
Click to expand...
Click to collapse
I dont know i dont have cm12. i know cm12 has a default native option to hold back to kill maybe that is enabled?

elesbb said:
I dont know i dont have cm12. i know cm12 has a default native option to hold back to kill maybe that is enabled?
Click to expand...
Click to collapse
Hello, CM12 with standard navbar (3 buttons) doesn't have that setting. It s only implmented in roms with navbars with extra settings like opening an app etc etc

Having Trouble
I'm having a similar problem where even a single tap on the back button is closing the app. I have a rooted Galaxy S4 running Android 4.4

Droidphilev said:
Hello, CM12 with standard navbar (3 buttons) doesn't have that setting. It s only implmented in roms with navbars with extra settings like opening an app etc etc
Click to expand...
Click to collapse
ndg1988 said:
I'm having a similar problem where even a single tap on the back button is closing the app. I have a rooted Galaxy S4 running Android 4.4
Click to expand...
Click to collapse
So this is happening when using the navbar and not the physical buttons?
It seems like the up action isn't being triggered. I could try to implement maybe a double click back to kill option. Ill try to debug on my 5.0 emulator that uses the navbar and see if i can figure anything out. Weird how that's happening.

elesbb said:
So this is happening when using the navbar and not the physical buttons?
It seems like the up action isn't being triggered. I could try to implement maybe a double click back to kill option. Ill try to debug on my 5.0 emulator that uses the navbar and see if i can figure anything out. Weird how that's happening.
Click to expand...
Click to collapse
hello again,
No, i dont use the navbar In cm12 (disabled) I use hardware buttons. If ndg1988 uses stock then he doesn't have a navbar so i guess he uses the hardware buttons too

Droidphilev said:
hello again,
No, i dont use the navbar In cm12 (disabled) I use hardware buttons. If ndg1988 uses stock then he doesn't have a navbar so i guess he uses the hardware buttons too
Click to expand...
Click to collapse
Hm, I truly don't know then. I really would need the device in hand to test with. I could try to do testing by sending you a file with loads of debug information in it. Would you mind that?

Good News
elesbb said:
So this is happening when using the navbar and not the physical buttons?
It seems like the up action isn't being triggered. I could try to implement maybe a double click back to kill option. Ill try to debug on my 5.0 emulator that uses the navbar and see if i can figure anything out. Weird how that's happening.
Click to expand...
Click to collapse
I was just an idiot that assumed the activation time was in units of seconds, not milliseconds. This may be what most people are having trouble with. It works well now, so thank you and keep up the good work.

ndg1988 said:
I was just an idiot that assumed the activation time was in units of seconds, not milliseconds. This may be what most people are having trouble with. It works well now, so thank you and keep up the good work.
Click to expand...
Click to collapse
Haha okay good. Nice one It does say "milliseconds"

elesbb said:
Hm, I truly don't know then. I really would need the device in hand to test with. I could try to do testing by sending you a file with loads of debug information in it. Would you mind that?
Click to expand...
Click to collapse
no, but it will take a while. i need to test multirom on my device and i have have to finish the translation of an app first.

Thanks mate

Awesome - best thing that can happen to a rooted stock rom.
btw its labled "Main Activity" in App Drawer, not "Hold Back To Kill"

Droidphilev said:
no, but it will take a while. i need to test multirom on my device and i have have to finish the translation of an app first.
Click to expand...
Click to collapse
What delay are you setting for it in the settings?
leechseed said:
Awesome - best thing that can happen to a rooted stock rom.
btw its labled "Main Activity" in App Drawer, not "Hold Back To Kill"
Click to expand...
Click to collapse
Yup. Realized that after releasing and didn't care too much about it. In the next update (if ever one would exist) i'll fix it.

elesbb said:
What delay are you setting for it in the settings?
Click to expand...
Click to collapse
I have tried 2, 3, 4 and 5 seconds

Did you put in 2 or 2000? (check post #11)

leechseed said:
Did you put in 2 or 2000? (check post #11)
Click to expand...
Click to collapse
DAMNED!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you, leechseed! Was making the same mistake.
OP please forget all my postings. Working very well!!!

leechseed said:
Did you put in 2 or 2000? (check post #11)
Click to expand...
Click to collapse
Droidphilev said:
I have tried 2, 3, 4 and 5 seconds
Click to expand...
Click to collapse
Droidphilev said:
DAMNED!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you, leechseed! Was making the same mistake.
OP please forget all my postings. Working very well!!!
Click to expand...
Click to collapse
That is why I asked. I have it set to milliseconds because I have mine set to a value of 200 milliseconds
Love seeing everyone helping everyone. Thanks guys!!!

Related

Touch not responds after a long press...check reply #5

P3100(stock rom) Touch not responds after a long press(noticed in games).
Especially in game:Monster Shooter: Lost Levels,sometimes in gta(while driving).
When i long press a button in game after sometime screen do not responds and i have to wait for few seconds...
Pls tell me if anyone have this problem too and any solutions???
Maybe just processor lag? Is the game otherwise smooth? Are you using a screen protector?
Else games are super smooth.no lags at all.yes i am using protector
Can you long-press something else and see if it works normally?
MultipleMonomials said:
Can you long-press something else and see if it works normally?
Click to expand...
Click to collapse
no buddy there is problem...
Try this out:
go to settings.long press any option say display or sounds...
Then it will automatically release the touch(approx 10-15 sec) and screen will not respond to touch for approx 2sec......
Droidlover123 said:
no buddy there is problem...
Try this out:
go to settings.long press any option say dock or software...
Then it will automatically release the touch(approx 10-15 sec) and screen will not respond to touch for approx 2sec......
Click to expand...
Click to collapse
there's no option like that on settings
Rotundjere said:
there's no option like that on settings
Click to expand...
Click to collapse
bro try long pressing any option in settings like display....
Droidlover123 said:
bro try long pressing any option in settings like display....
Click to expand...
Click to collapse
I tried long pressing the software button in the settings and nothing happened. I don't have the same issue. Tried with the galaxy tab 2 10.1 5110. Full stock (not even rooted yet)
This sounds like what my Motorola Photon would do. The fix for the Photon is here.
http://forum.xda-developers.com/showthread.php?t=1469904
It's a rain drop detection "feature". I don' know if this can be ported or not.
frogman74 said:
This sounds like what my Motorola Photon would do. The fix for the Photon is here.
http://forum.xda-developers.com/showthread.php?t=1469904
It's a rain drop detection "feature". I don' know if this can be ported or not.
Click to expand...
Click to collapse
buddy so this mean that rain drop detection feature is inbuilt **** by samsung in my tab???
Droidlover123 said:
bro try long pressing any option in settings like display....
Click to expand...
Click to collapse
mine works fine, seems your device not working properly
Rotundjere said:
mine works fine, seems your device not working properly
Click to expand...
Click to collapse
i too think so...
Pls tell me Did you installed that 64 mb update via ota?

Easiest way to disable capacitive buttons

Hi guys,
I tried searching for this but I keep running into very old threads.
I read on Android Central forum that there's a zip file to make Galaxy S3 CM10 have the same exact menu bar as Nexus devices and completely disable the capacitive buttons.
Could someone please point me to this zip file? Also, is it possible that this is already just an option in CM10?
This is honestly the only thing stopping me from getting this phone. Since I have Nexus 7, I don't like how I have to adjust to buttons every time I use my wife's Galaxy S3.
Thank you.
T-R said:
Hi guys,
I tried searching for this but I keep running into very old threads.
I read on Android Central forum that there's a zip file to make Galaxy S3 CM10 have the same exact menu bar as Nexus devices and completely disable the capacitive buttons.
Could someone please point me to this zip file? Also, is it possible that this is already just an option in CM10?
This is honestly the only thing stopping me from getting this phone. Since I have Nexus 7, I don't like how I have to adjust to buttons every time I use my wife's Galaxy S3.
Thank you.
Click to expand...
Click to collapse
you should definitely check out paranoid android and all its modes that are available.
ddurandSGS3 said:
you should definitely check out paranoid android and all its modes that are available.
Click to expand...
Click to collapse
Thank you! This is just what I need but it doesn't seem stable in this video I found (perhaps because it's outdated). I can't post a link since I'm a new member.
T-R said:
Thank you! This is just what I need but it doesn't seem stable in this video I found (perhaps because it's outdated). I can't post a link since I'm a new member.
Click to expand...
Click to collapse
I am running the 9/6 build and i havent had any issues with the ROM.
not one reboot, no screen flicker, everything works for me.
just do a nandroid prior so you can revert back.
if i remmeber correctly, there is a bug that causes the backlights of the keys to stay on. nto sure if its been fixed
ddurandSGS3 said:
I am running the 9/6 build and i havent had any issues with the ROM.
not one reboot, no screen flicker, everything works for me.
just do a nandroid prior so you can revert back.
if i remmeber correctly, there is a bug that causes the backlights of the keys to stay on. nto sure if its been fixed
Click to expand...
Click to collapse
Cool, thanks. I will definitely book mark the link to this ROM.
T-R said:
Cool, thanks. I will definitely book mark the link to this ROM.
Click to expand...
Click to collapse
I think most CM based Roms have the option to disable the capacitive buttons and enable the on screen navigation bar.
Unless it's been fixed now, when I was running Paranoid Android every time you reboot your phone you have to go back in to the settings and disable the lights on the capacitive buttons.

[Q] How to restore capacitive button functions?

I'm running AOKP jelly bean and was wondering how I can make the app switch button actually bring up the app switcher and get the soft menu button back.
I've searched up and down and I feel like I must be the only person that wants to do this. I honestly can't stand the delay to bring up the app switcher.
MeetShawn said:
I'm running AOKP jelly bean and was wondering how I can make the app switch button actually bring up the app switcher and get the soft menu button back.
I've searched up and down and I feel like I must be the only person that wants to do this. I honestly can't stand the delay to bring up the app switcher.
Click to expand...
Click to collapse
Go to settings -> system and there should be an option called hardware keys or hardware mapping
absolutelygrim said:
Go to settings -> system and there should be an option called hardware keys or hardware mapping
Click to expand...
Click to collapse
I'm on AOKP JB and there's no hardware keys or mapping in settings.
MeetShawn said:
I'm on AOKP, not stock.
Click to expand...
Click to collapse
Does AOKP not have it? Paranoid Android has it, I also believe CM10 has it. (in settings -> system)
absolutelygrim said:
Does AOKP not have it? Paranoid Android has it, I also believe CM10 has it. (in settings -> system)
Click to expand...
Click to collapse
Gah, meant to edit my post to clarify but theres the stupid 5 minute wait. Yeah I looked all over, I don't think AOKP has that option. You can turn on soft buttons but you can't change the hard button functions.
MeetShawn said:
Gah, meant to edit my post to clarify but theres the stupid 5 minute wait. Yeah I looked all over, I don't think AOKP has that option. You can turn on soft buttons but you can't change the hard button functions.
Click to expand...
Click to collapse
Does your multitask button actually bring up multitasking? If so, there is a way to change it to bring up the menu.. It's probably more hidden in AOKP
absolutelygrim said:
Does your multitask button actually bring up multitasking? If so, there is a way to change it to bring up the menu.. It's probably more hidden in AOKP
Click to expand...
Click to collapse
No they have it set solely as the menu button. You hold home to bring up multitasking.
Has anyone figured this out? It's driving me nuts
regder said:
Has anyone figured this out? It's driving me nuts
Click to expand...
Click to collapse
I'm running the PACman ROM. Based on aokp. And remap of the buttons is in setting s under system.
Sent from my One X using xda app-developers app
strange that it's not there in AOKP
regder said:
strange that it's not there in AOKP
Click to expand...
Click to collapse
I have no idea then. Maybe the dev removed it? I'd read through the thread to see.
Sent from my One X using xda app-developers app
regder said:
strange that it's not there in AOKP
Click to expand...
Click to collapse
You sure settings/system/hardware keys ?
Sent from my Nocturnalized One XL using Forum Runner
hold home button for multi-tasking
MeetShawn said:
No they have it set solely as the menu button. You hold home to bring up multitasking.
Click to expand...
Click to collapse
Seems like this post got missed...Thanks Shawn. Was having the same issue.
I was under the impression that the AOKP team didn't care to include the functionality. I don't think it's in the current AOKP nightlies or milestones and it definitely isn't in Rohan's King Kang ROM, at least, as of the most recent release (11/25).
As much as I like AOKP, this has always bothered me enough to make me keep CyanogenMod on my phone. It's not even so much about the key setup itself; I can get used to new layouts. However, AOKP's always been about being able to customize the hell out of your phone, so why isn't this a feature when CM10 has had it for some time now?

Anyone managed to get to system ui tuner?

The instructions to enable system ui tuner on the web don't appear to be working...holding down the sprocket on the toggle screen till it spins doesn't enable the menu...anyone else know how to get to it?
Also still looking for a way (non xposed) to assign long hold of back button to kill foreground app.
Should say system UI tuner added to settings after holding for about 5 seconds.
seabro01 said:
Should say system UI tuner added to settings after holding for about 5 seconds.
Click to expand...
Click to collapse
It should..I agree...thats what all the suggestions say and I can see the wheel spin....but it's not in the list. Are you saying it worked for you? If so I may need to go back to a fresh install and try this again.
famewolf said:
It should..I agree...thats what all the suggestions say and I can see the wheel spin....but it's not in the list. Are you saying it worked for you? If so I may need to go back to a fresh install and try this again.
Click to expand...
Click to collapse
Yeah, I have system UI tuner in settings.
famewolf said:
It should..I agree...thats what all the suggestions say and I can see the wheel spin....but it's not in the list. Are you saying it worked for you? If so I may need to go back to a fresh install and try this again.
Click to expand...
Click to collapse
For me also it worked.
I finally got the thing to appear and I'm still not certain how...I think marshmallow is much more picky about the touchscreen and the glass screen protector I have on it....taps are not being interpreted right all the time....anyway thanks for confirming. Ironically by the time I enabled the menu I had already enabled xposed and found ways to set all the things I woul d have been able to do from system ui.

Alert Slider Customization for OxygenOS 3

Hey Guys,
i guess the most of u know the app "Vibrate Mode" from the Oneplus 2. And maybe u also know this app doesnt work anymore.
It seems like there is a method to get those features by using tasker, but i dont like this, since it is still buggy.
Maybe we can reach a dev, who can bring the "Vibrate Mode App" features back to the Oneplus 3, using OxygenOS and root/xposed.
I think there are really really much people out there, which would like to have the ability to change the alert slider to "all - vibrate - silent".
Since this is the only logical function imo. :cyclops:
Please push this thread to heaven, so we maybe get some dev's to work on this! :good:
Cheers!
I've already contacted the devs that made the previous mods. No reply
Use this app
https://play.google.com/store/apps/details?id=com.nqk.vibratemodeextended
And in settings allow all contacts in alert slider > priority
Works for me
Sent from my ONEPLUS A3003 using Tapatalk
If some dev happens to read this I'd love to have more features with the slider. For example best for me would be Normal - Flashlight - Silent etc.
Let's hope someone does this
There's already one xposed module (Alert slider) but it's old and not supporting op3.
for me VibrateMode works perfectly...
Pratik_Thakkar said:
Use this app
https://play.google.com/store/apps/details?id=com.nqk.vibratemodeextended
And in settings allow all contacts in alert slider > priority
Works for me
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
Does not work for me, when sliding back it stays in vibrate mode
mag13 said:
Does not work for me, when sliding back it stays in vibrate mode
Click to expand...
Click to collapse
Same here for me..
Sledge2013 said:
for me VibrateMode works perfectly...
Click to expand...
Click to collapse
Are u using it with xposed?
Mannikkk said:
Are u using it with xposed?
Click to expand...
Click to collapse
no, just rooted
Sledge2013 said:
no, just rooted
Click to expand...
Click to collapse
And u don't face the Problem, when switching back from vibrate to all, that the vibrate Icon keeps alive and also Sound is set to vibrate?
Mannikkk said:
And u don't face the Problem, when switching back from vibrate to all, that the vibrate Icon keeps alive and also Sound is set to vibrate?
Click to expand...
Click to collapse
until now it didn't happen to me
Even with using xposed, sliding back doesnt work. Sound remains on vibrate
Sent from my ONEPLUS A3003 using Tapatalk
nickporwal said:
Even with using xposed, sliding back doesnt work. Sound remains on vibrate
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
Im also having the same issue (with xposed).
Cmon Devs
Get this App working again... guess the most out there would be willed to donate u money for bringing this feature back.
This shouldn't be that hard for a Coder, since the device sources are out :-/
mag13 said:
Does not work for me, when sliding back it stays in vibrate mode
Click to expand...
Click to collapse
Same issue. When sliding back down from Silent to All, it remains in Vibrate :\
I can confirm Tasker works, and should remedy the issue of it remaining on vibrate. I'm now waiting for a way to reverse the slider, and I'm sure a free solution will come along soon enough too.
try the beta for oos3. it works for me
https://bit.do/vibratemodeoos3
dlhxr said:
try the beta for oos3. it works for me
https://bit.do/vibratemodeoos3
Click to expand...
Click to collapse
I can confirm this work!!! Now just an option to revert.
Are you sure it works? I have tried all the builds and I'm pretty sure this build was the closest as it worked correctly. However, every so often it doesn't go into vibrate mode or doesn't restore the volume level.
activeservo said:
Are you sure it works? I have tried all the builds and I'm pretty sure this build was the closest as it worked correctly. However, every so often it doesn't go into vibrate mode or doesn't restore the volume level.
Click to expand...
Click to collapse
yes. keep it alive in background and don't switch it too fast

Categories

Resources