yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] babyboy3265:
ANy possible way to make this work with a software back button on android 10?

Gravity box used to do the trick but it seems on android 10 it is not yet stable.
[Android Apps and Games] fstd:
I don't think so. After all, I've only resorted to the volume buttons because the software back button isn't available with an accessibility service.

No idea how xposed does it, I haven't checked.
[Android Apps and Games] babyboy3265:
Trough exposed you have install GRAVITY BOX and then GB gives you a lot of functionality over a lot of things, including all the software buttons. So trough it you can set the back button to kill foreground apps.

However, GB is in beta and not fully recommended for most phones. Even though it works for the purpose i use it on the s9.

Maybe since you have programming knowledge you could figure out how does GB use the soft buttons and can kill, then replicate it trough a Magisk mod?
[Android Apps and Games] fstd:
On the first glance GB seems to draw its own overlay over the navigation bar, so any softbutton presses will be processed by GB and, if no custom action is configured for the event, it will inject the key event back to the system. [MENTION=2675647]elesbb[/MENTION] has expressed this idea before.

So that way it would be possible, but I don't think it's something I want to do -- too much effort for too little gain; I'm fine with using the volume keys on the (rare) occasion that I actually need to kill an app.
[Android Apps and Games] babyboy3265:
Fair enough buddy, thank you for clarifying ??
[Android Apps and Games] leechseed:
Hey,

nice thx for your effort. Im currently on my unrooted official cellphone but armed/disarmed works so i guess it would kill if i root.

Good job. :)
[Android Apps and Games] JesterDoobie:
I know im very late to the party here but is there a link available to D/L this app or has this functionality (downloading FOSS apps) been subsumed by the horrible site/pseudo-network changes ?
[Android Apps and Games] vettermanrostin:
Hello, I'm sorry but I can't find your post with [APP] [4.3+] Hold Back To Kill [ROOT] anywhere, can you please send me a link or explain where I can find it? I'm new here. I am very interested in your work thank you

Translated by DeepL https://www.deepl.com/app/?utm_source=android&utm_medium=app&utm_campaign=share-translation

Dobrý den, omlouvám se, ale nemohu nikde najít váš příspěvek s [APP] [4.3+] Hold Back To Kill [ROOT], můžete mi prosím poslat odkaz nebo vysvětlit, kde ho najdu? Jsem zde nový. Vaše práce mě velmi zajímá děkuji

Přeloženo pomocí DeepL https://www.deepl.com/app/?utm_source=android&utm_medium=app&utm_campaign=share-translation
[Android Apps and Games] rhetorician:
Anyone aware of a root solution for this feature? Tasker is slow and clunky.
[Android Apps and Games] filchi756:
Wow! nice app you have here mate. Hope you continue developing this app. This is useful for those who are not always a fan of xposed modules like me. Hope you can add a switch off button(am planning to use it as system app.),whitelist and an option to use the multiwindow on Samsung phones on your next update..By the way its working fine(awesome) on Note3 N9005 lollipop rom.Thanks alot.:good::good::good:
[Android Apps and Games] leechseed:
To bad its not working on my lenovo yoga 2 tablet. Dunno if this helps https://mega.co.nz/#!jh4QBR6R!giV7qKG2WdMVPUDOHZI4O6onXJ5HJSRrP0VE46LGACo
[Android Apps and Games] situ1962:
Thanks for this useful app.I am using it since the day it was released.I love it.
[Android Apps and Games] elesbb:
Hey thanks! I may add an option to "turn off" the killing. You could always just turn off the accessibility service. Also, to make it work with multiwindow, i was thinking of double clicking back, turns off the killing effect, then tap a third time and hold to launch mu.tiwindow, then killing is enabled again. I still need to decompile the new multiwindow to see how it shows and hides the bar. Plus i would like to add "any app multiwindow".

Can you please elaborate upon your issue? What exactly doesnt work? What happens when you try to use it? The logcat is nice but i dont know what im looking for that pertains to your issue.
[Android Apps and Games] filchi756:
Thanks for responding.:good: I will be waiting for the update then.Yes I just found out today I can just turn it of in accesibility/services. I'mnot sure if its related or what but when I use your app my backlit button don't light up but after turning off your app in accesibility the buttons lights up. Other than that awesome work mate.:good::good::good:
[Android Apps and Games] GokulNC:
Sorry, but this is not working on my Android One phone Micromax Canvas A1
[Android Apps and Games] leechseed:
I downloaded the app on my tablet and installed it. I openend the app and put in 500 and activated the additional service. Then i started playstore and tried to kill it but nothing happens. Is there any notification "killed xyz" or something lije that? Nothing popped up and playstore was still running, just as i exited it with back button.
[Android Apps and Games] elesbb:
It might be since im intercepting the keys before the system gets them. Ill see if i can fix it.

You need to elaborate upon your issue please.

Hmm. Strange. Yes you should see a message at the bottom signifying that app xyz has been killed. When you press the back button and hold it, does the standard back action happen? Or does it stay at whatever screen you were just on?
[Android Apps and Games] GokulNC:
I set kill time to 3000ms. So whenever I hold back button in any app, it doesn't kill (close)/

And no notification that app has been killed is displayed. My phone is Android One Micromax Canvas A1
[Android Apps and Games] elesbb:
Does anything at all happen? Does it go back to the previous thing as if you regularly pressed the back button?
[Android Apps and Games] Témlain Divertissements:
Perfect app for me, I was using battery-saver apps which are too complicated to configure, this just assure the memory used by each application is liberated one you closed it . That's ok and tha'ts just enough!
[Android Apps and Games] GokulNC:
Yes, it just works like the normal back button
[Android Apps and Games] Majood7:
good app i wanted on LP a lot .. Tx :good:
[Android Apps and Games] nec947:
please put this app on the google play store
[Android Apps and Games] leechseed:
It stays until i release the back button.

Oh i see [MENTION=6319272]GokulNC[/MENTION] seems to have a similar problem.
[Android Apps and Games] MichaelGroth:
Thank you for this :)
[Android Apps and Games] jainanshal:
Doesn't work for me with LG G3 on stock rooted 5.0.1 .

Long press on back button activates the 2 apps simultaneously on the screen feature (don't remember the exact name) which I believe is the the stock action for back button long press. Tried changing the time to no avail.
[Android Apps and Games] Droidphilev:
Hi,

After 2 days of searching i have found a nasty bug with this app on CM12 Lollipop:

Make a new user

switch to user

switch back to main user > touchscreen doesn't work anymore, only hardware buttons. Only reboot is left

Without this app switching between users works fine.
[Android Apps and Games] ivanfix:
Work perfectly on my Galaxy S5 phone.

Don't work on my Galaxy Tab S T800 with stock rom 5.0.2. :crying:
[Android Apps and Games] leechseed:
Any updates planned? [MENTION=2675647]elesbb[/MENTION]
[Android Apps and Games] quazar2k:
Not working on rooted AT&T S5 with Lollipop

Hello. Great app. Im running on rooted S4 with Lollipop.

However, have an S5 on rooted Lollipop thats not working. Will hold the back button, pops up a notification at the bottom "Killed XYZ"....but it does not do anything.
[Android Apps and Games] mohsenking:
I have note 4 lilipop

So it didn't work for me ?
[Android Apps and Games] kickandscream:
WOW

That's actually a really useful feature instead of going to a task killer app and use that as a workaround. I wish it could be supported by non-rooted devices too :)
[Android Apps and Games] jemeljsh:
Please accept a small donation on my behalf ;)

By the way, why is this (Observe text that you type) necessary for the app to work?
[Android Apps and Games] amp77:
Please explain why permission "Observe text that you type" is naccassary ?

Is it safe to use?
[Android Apps and Games] elesbb:
Because I am listening to which buttons get pressed. That is the only way I can intercept the back key. I'm guessing I can listen for other keys too like actual letters that you type with the keyboard as per Google docs. But I only care about the back button. That info is just displayed letting you know the app has the potential. But I am not looking into the keys that you type, just the back key. In addition, even if I was, there is no internet permission given to the app, so I couldn't do anything with the stuff you type. If you don't trust me, don't use it. I have quite a reputation on XDA, so I am fairly certain if there was any issues with my apps, things would have been done about it.

I understand your concern though! :)
[Android Apps and Games] elesbb:
I answered this in previous post. Sorry guys, haven't been on XDA much recently.
[Android Apps and Games] JoeFCaputo113:
Any plans to support the Galaxy S6?! And the new 5.1.1 update... Thanks!
[Android Apps and Games] elesbb:
Sure when you buy me one so I have one to test with ;)

Haha, what doesn't work on it? It really should just work. I'm not doing anything magical. Everything I do is implemented by Google in native android code. Unless the actual root kill method isn't working. But I don't see how that is the problem.
[Android Apps and Games] thommi12:
Works with the S6 920F without any problems.
[Android Apps and Games] anewday:
Thanks, will try to S6.
[Android Apps and Games] samep:
I know a lot of custom ROMs have this retain launcher feature in build.prop and Nova and other launchers have the aggressive desktop feature in advanced settings but to avoid killing the launcher when keyboard is displayed on a back button kill, set this in your build.prop if you don't know how else to set it.

ro.HOME_APP_ADJUST=1

White listing would help but that cured the only real problem I've seen with this application on rooted stock Note 4 on lollipop without Xposed. Actually finding a lot of alternatives to Xposed. This really helps.

Simple and effective. Thanks OP.
[Android Apps and Games] itraceyou:
Just quick comment.

A Back button killed app perfectly but when i press the Recent app button, it's still showing the killed app on the list. Is it possible to make killed app disappear from Recent app list?
[Android Apps and Games] JoeFCaputo113:
+1 !! :good:
[Android Apps and Games] elesbb:
That would require xposed, or too much of my time just using root. Don't think this will be a feature :P Sorry.
[Android Apps and Games] jester450:
Anyone get this to work on a LG g pad 8.3 on L?
[Android Apps and Games] MichaelGroth:
I have no Idea why... but this app no longer works on the latest CM12.1 nightly. (Note 4 snapdragon) tried uninstalling/ reinstalling, disabling/enabling service. No go... No longer works for me... Really sad..

Edit: This is most likely not due to your app. Just that the newest CM build looks to actively kill the service. I have reverted to a previous build because of this. I just can't live without this app. And the built in back button kill feature in cm sucks. Great app btw. Would you consider making it open source?
[Android Apps and Games] leechseed:
[MENTION=2675647]elesbb[/MENTION]

Tablets need this app :)
[Android Apps and Games] elesbb:
Bleh :P

I don't own an Android Tablet anymore.. So I can't test. It really should just work.. I really don't have time for this cause I'm working on things I can make money off of. Which I really need right now lol.
[Android Apps and Games] leechseed:
To bad, as what i've read it seems it doesnt work on tabs. Go for the money, maybe somebody knows whats the problem.
[Android Apps and Games] elesbb:
If I can find my source code, I'll upload it and you guys can have at it. :)
[Android Apps and Games] -zalo:
interestin app!! thanks!!
[Android Apps and Games] Liko2k:
Tried it today, but it seems to kill random app instead of the one I'm currently using. I'm using Archidroid 1.7.18 Stable ROM based on Android 4.3...
[Android Apps and Games] samep:
If this isn't in your build.prop, add at bottom and reboot.

ro.HOME_APP_ADJUST=1

Or, some launchers have equivalent settings like Nova, advanced settings, aggressive desktop.
[Android Apps and Games] sielhadi:
Any update
[Android Apps and Games] elesbb:
Read the thread. I do not plan on updating this. I use xposed now. Unless people REALLY express an interest in this, I won't update it. I don't think I have source code anymore anyhow.
[Android Apps and Games] Martin6040:
I really like the back to kill feature and I would like to use it in the stock 6.0 rom.
[Android Apps and Games] elesbb:
I have nothing but the emulator to test on for android 6.0. And that is nothing but painful. I would rather peel off my skin and dump bleach on me then use the emulator for testing xD

So in order to develop for that, I will either need someone to work with in a live session where we can text chat and communicate, or I would need to get a device that has a 6.0 ROM for it (which I am broke so this won't happen).
[Android Apps and Games] merrickville:
Damn, just read this thread, I'm running stock (but rooted) Android 6, I miss the kill feature.
[Android Apps and Games] samep:
I hope you or someone on marshmallow will consider volunteering to support the OP's request above your post.

[MENTION=2675647]elesbb[/MENTION]

I've used this app exclusively in Lollipop despite using Xposed for a short period. I found little want for Xposed since upgrading to Android 5.1.1; less modules required due to the fixes in Android 5.1.1 and the changes that Android 6.0 is expected to introduce. I hope this app will support marshmallow.

Thanks for considering future support.

In regards to updates, the app works as expected using the build.prop edit:

ro.HOME_APP_ADJUST=1
[Android Apps and Games] merrickville:
I'm not a developer, but I would certainly help out if I could. I'm an UNIX Systems administrator, and I know my way around the command line like the back of my hand.
[Android Apps and Games] KryptosXLayer2:
This was working like a treat for many of my devices, and then just stopped.... I uninstalled / reinstalled, added the "ro.HOME_APP_ADJUST=1" addition to build.prop, have it enabled in Accessibility, even converted it to a system app, and I get the second vibrate when it's supposed to be killing the app, but nothing happens - if I release the back button, it just goes back once, doesn't kill it. I thought I remembered seeing it in SuperSU but I don't see it there anymore, is that it? How do I get it back to allow root? This is for anyone else still using it, I realize it isn't being updated anymore, which is a shame because of how useful it is - could really use this on 6.0 when I get that soon as well too!
[Android Apps and Games] samep:
Odd you mention this after I just had the same issue. I had just installed a new 5.1.1 ROM with a different version of SuperSU and Xposed framework by Wanam integrated.

Back to kill was working fine until yesterday morning. Cleared data, removed it from SuperSU but it didn't ask for permission again. I cleared data and reinstalled and it's been working since. I'm switching to the Xposed back to kill method to test further. Admittedly, I haven't narrowed the problem but may maybe one of those you changed recently?
[Android Apps and Games] KryptosXLayer2:
Nothing changed on my end like that, but I've tried to use Gravitybox to do my hold back to kill duty and still can't get it to go - I'm getting the second vibrate but not the kill. Which Xposed module did you use to kill apps? I'm hoping for a stand-alone one like this app that does nothing but kill, because when bundled like Gravitybox, I think there might be issues getting it to take.
[Android Apps and Games] samep:
I switched to Wanam for Samsung to test for a bit but this app was working after removing from SuperSU permissions, data/cache delete, uninstall and reinstall.

Personally, I like this one better. Wanam has a blacklist but doesn't vibrate when activated like this one does.
[Android Apps and Games] KryptosXLayer2:
Agreed, the vibrate is nice. I've done all that and still can't get it to clear SuperSU permissions again when reinstalling it. I can get Accessibility to work but not root, which I think is all I need to get it back up and stable.
[Android Apps and Games] elesbb:
That is fine. I just need someone to pull logcat files for me and send them to me over skype or something. Skype is easy cause you just drag and drop the file you want sent and thats it. That way I don't have to wait for a log to get uploaded or anything and I can debug on the fly.
[Android Apps and Games] samep:
Wouldn't hurt to try full un-root in SuperSU and reflash the SuperSU beta zip in recovery.

I had no problem whatsoever with SuperSU 2.49 beta using this on Lollipop 5.0.1 and 5.1.1
[Android Apps and Games] KryptosXLayer2:
Nope, just tried that too, once I reinstall this app, I can't get it to ask for root. Still not listed in SuperSU. You would think like every other root app that when it needs root, SuperSU would prompt, but everything else that requires root works just fine. Using SuperSU Free 2.48.
[Android Apps and Games] dennistjahyadi:
thank you for sharing :)
[Android Apps and Games] Chad The Pathfinder:
Try going into SuperSU/settings. Uncheck "Re-authentication" then uninstall/reinstall. This worked for me.
[Android Apps and Games] merrickville:
Please PM me with details.
[Android Apps and Games] KryptosXLayer2:
This has always been unchecked on my SuperSU - hated having TiBU miss an important scheduled backup because it didn't get permissions with an update occurring overnight. I thought that might have been the issue with it constantly asking for root when holding back throughout the day, but that has always been unchecked.

Who are you referring to? EDIT - nevermind, saw your earlier convo
[Android Apps and Games] merrickville:
I do not even get offered the allow elevated privs dialog box, when I hold the back key, after a fresh install, and SuperSU set as described, I can hold for a minute, it's like a placebo on Mallow 6.
[Android Apps and Games] leechseed:
Maybe this log could also bring this awesone app onto tablets. :)

Ok it wont prompt root rights, thats the problem
[Android Apps and Games] samep:
To update my status, I was using SuperSU 2.46 which was integrated into the ROM flash.

I had switched to Xposed back to kill but prefer this one.

I flashed SuperSU beta 2.49 and disabled Xposed back to kill and back on this one in fresh install through apk installer.

I'll report if I encounter errors again. No updates would be good news.

http://xdaforums.com/showthread.php?p=63390771

Edit: Leaving Re-authentication checked, I can remove su permission from this app and it properly requests su permission again when triggered on next event.

IIRC, this app asks for or utilizes the correct interactive shell command or permission so that "Mount namespace separation" can be used in SuperSU as Chainfire recommends for security reasons. Android System UID 1000 is less secure. I believe I read somewhere that Google was removing apps that didn't adhere to interactive shell. This is how I ran it before with no long term issues.
[Android Apps and Games] arkhampy:
great work, i will test it..
[Android Apps and Games] KryptosXLayer2:
I've tried absolutely everything you did, even went as far as the 2.52 beta SuperSU, and still can't get this app to ask for root....... There has to be another way to force the app to ask if it doesn't on its own but I can't figure out how!
[Android Apps and Games] samep:
Did you try clean install of your ROM?

Admittedly, it was the new ROM with SuperSU 2.46 integrated that upset the function of 3 apps on my end. Flashing the 2.49 beta got things functional again.

There was also Hornet Antivirus Free that wouldn't auto scan new installed apps and Recently Pro by Chainfire that wouldn't start, just continually show me a spinning wait animation when I opened it. Oddly, SuperSU appeared functional with just these exceptions until I flashed the 2.49 beta. The first thing I noticed was this app quit working, eventually I noticed the other 2 apps weren't functional either.

I thought the SuperSU beta 2.50 and 2.52 were for marshmallow? Either way, 2.49 beta has been super for me on Android 5.0.1 and 5.1.1 If it ain't broke, don't fix it.
[Android Apps and Games] bbadim:
Will it fit for 4.2 ver.?
[Android Apps and Games] elesbb:
Well, the reason it may never ask for root is because the part that actually does the killing may not be getting triggered due to some inconsistency in the android coding. I will try to take a look at this this weekend. I will hopefully get a debug release posted, meaning you will see a lot of messages and such tracking events so I can better track where the issues are occurring at and squash them.
[Android Apps and Games] Mr Impossible:
I'm using it on an S6+ 5.1.1 Rom with no problems. Rooted kernel and Super SU installed. Only problem I see is with Multiwindow. It over rides the key press maybe making the time out longer would help but haven't tried yet.
[Android Apps and Games] KryptosXLayer2:
That's really awesome of you if you aren't concerned with wanting to do anything more on this app! I will be glad to help as much as I can, but I just had surgery this morning and not gonna be 100% throughout the next few days, but I know this is important enough for me to focus some time on if I can
[Android Apps and Games] elesbb:
The time out won't affect anything. But my brother has the S6 and he activates multiwindow through long press recents button.

Well, it seems like this thread is getting a lot more attention than I expected. So I will try to keep up with it. I have chemistry homework that takes on average 5 hours to complete.. so i'm quite busy. especially while working 6 am to 2 pm on days I don't go to class. Plus I have Algebra and Bio homework. lol. Its fun!
[Android Apps and Games] OpenBlade:
Doesn't work on Android Marshmallow concept (Xperia z3c) :(
[Android Apps and Games] elesbb:
This has been stated already as well as me stating I do not own a marshmallow device. So there is no need to reiterate the same thing over.
[Android Apps and Games] OpenBlade:
in this page ? no ? ok than... :rolleyes:
[Android Apps and Games] elesbb:
You gotta read the thread bro.
[Android Apps and Games] msohail_7:
I own OnePlus 2 with lollipop5.1.1 but this app doesn't work. Please find a way thru...
[Android Apps and Games] KryptosXLayer2:
Any update, [MENTION=2675647]elesbb[/MENTION]? One week later from your last post on here, just checking on it and seeing if we need to schedule someone to do your chemistry for you so we can get this thing to ask for root again! Haha, thanks in advance
[Android Apps and Games] elesbb:
This made me laugh :D Thank you! You are awesome!!!

I have looked for my source code and I kind of deleted it xD So I will have to re-create it and will release a new one once I get around to it. I actually just took a chemistry test today.. Don't think I did as well as I would have liked to. But now hopefully I'll have time for some more coding. Been working on a Kernel for the S6 as well.