yashsingh1/xdaforums huggingface dataset:
[Android Software Development] IronTechmonkey:
Just a bit of round up in re LMT over lock screen. The more I test and ponder the more this seems to be is a hole in the ROM. The lock screen does prevent pie from running anywhere except the camera so it is the way that camera app is running from default lock screen shortcut that is bad. Also, it would be unreasonable to expect any 3rd party application like LMT to respect the hidden QTs when the native system does not even have that properly worked out. i also wonder if this has anything to do with the fact that I've got Selinux set to permissive and LMT enabled in accessibility settings.
[Android Software Development] kolyan:
gmd full screen app says no root needed and as far as i know it hides navi keys
[Android Software Development] IronTechmonkey:
That one gives you per-app immersive most which doesn't have the same degree of functionality to control the Nav-bar as Autohide Soft keys but if it works for you that's good. Thanks for the info.
[Android Software Development] azndan2:
Hello! I can't get gestures or isas to work on lg nexus 5x. Any suggestions? Thank you for your hard work.
[Android Software Development] Hrithan2020:
Hi,

I've been trying to make Now On Tap work. I'm running the latest Nexus 6 Chroma build, and tried setting navbar height to 0% (tried setting navbar width as well to 0%). But still nothing :(

Any tips? Anyone else figured out a way. I tried setting key 219, longpress home key. But none of them working.
[Android Software Development] MCT_:
Perhaps in the settings of Your device, point/ a special features/ to give permission for the collection of information.

/system/usr/~ keylayout/Generic.kl/ "#"
[Android Software Development] MrKaon:
LMT without root doesn't even work with Marshmallow. So root is must have.

I stopped using LMT few days ago, I really enjoyed it for period of long time, but with every Android release it lost functionality, unpinning apps with Lollipop and Google Now on Tap with Marshmallow.
[Android Software Development] IronTechmonkey:
Good to know. I've only taken quick peeks at M but wouldn't dream of not being rooted anyhow.

Indeed. Lost to new features as well as security doors being closed by boogle. Still, just for the type of interface that LMT Pie provides I have found it worth the work to use Tasker/Secure Settings which, in addition to feeding shortcuts into Pie, grew into a homegrown extension of Pie which I call Cake. Pie and Cake both use some of the same Tasker.tasks and cake can be invoke from Pie.
[Android Software Development] Hrithan2020:
Hi,

Thank you. I edited the file to remove the comments [#] corresponding to 219.

But, still no luck ?

Any other alternatives?
[Android Software Development] MCT_:
Hi,

If it really works for Nexus 6 Cataclysm, to try to look through its designation button settings "219".

What function performs for him.
[Android Software Development] MrKaon:
Key 219 works with Cataclysm because it is not disabling soft keys but reducing height of it to zero.
[Android Software Development] Hrithan2020:
Key 219 for me is showing FINANCE KEY. Can someone help me out there?

BTW, I uncommented Key 218 and 219, and suddenly, my power on switch stopped working. Fortunately, working again now.

In the latest Chroma build also, such an option is available to reduce the height to zero, which is what I tried to do.
[Android Software Development] Magpie42:
Anything found ...?

Cheers, Magpie - desperately hoping for a solution ...
[Android Software Development] Nbsss:
Anyone got ISAS to work on the nexus 6p?

Imput device 0 at 100% isn't working, should based on terminal results though?

TIA
[Android Software Development] kolyan:
Yes it does. I've been using it without issues on Nexus 6 without root
[Android Software Development] MrKaon:
Try KILLAPP in advanced commands

Or LASTAPP normal commands then you get this one :
[Android Software Development] kolyan:
Those need root, but pie itself works fine
[Android Software Development] noname81:
Hi, fyi: Basic pie features work also without root. You can activate Lmt in accessibility settings to even get back and menu actions working without root. Gestures, isas and a lot of actions need root.

On marshmallow Google seems to have changed who can invoke unpinning apps. I successfully implented it now as action in Lmt.

Now on tap is another story. I saw in Android's bugtracker, that already for the M Preview it was mentioned, that now on tap activation is broken, when the navbar is hidden. I also checked the corresponding aosp systemui code and when the navbar is hidden, the activation code is _broken_. It's an easy one liner to fix in systemui but this is not an option for people not using a custom rom. The only option, until Google fixes this, is not hiding the navbar, but setting its height to zero.
[Android Software Development] RoboJoe:
FYI, I'm on the Nexus 6 Chroma build 11/1 and setting the navbar height to 0 and using keypress 219 works fine for me.

Edit: What does "not working" mean, anyway? System UI crash?
[Android Software Development] Magpie42:
Starting Apps, KillApp and Tasker Tasks now working!

Ok - following the SELinux hint, given over here, I was able to sort it out myself. "Just" had to set enforce to permissive ... :good::cowboy:

As this took a little bit of investigation, I'll quote my successful steps over here: Enter the following stuff in a terminal session

su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" >> /system/su.d/permissive.sh
chmod 755 /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce

Pay attention to the ">>" in the second echo command, as using ">" again (like some guys posted in other threads) will render the first echo senseless.

After rebooting, KillApp and calling Apps from LMT does work again.

Edit: Ok - got the second issue sorted out, too: :cool:

And it was a real piece of cake: Just had to enter the Task's name with double quotes ... thought I had tried that before ... and it resulted in a "not found" or so ... hmmm ...

Nevertheless, the error message is extremely misleading ... :silly:

But - issues solved and that's the main thing! :o

Thanks a lot!

Cheers, Magpie42
[Android Software Development] MrKaon:
Thanks for reply :good:

How we can set navbar height to zero on stock rom with root access?
[Android Software Development] the_wookie:
deactivate swipe through

I have searched for this but can't find an answer.

Hopefully you guys could help.

I am using LMT because I hate Samsungs implementation of hardware buttons on the Galaxy Tab s 10.5. So I have disabled them and use LMT exclusively.

However one thing that I do not like, mostly because I sometimes activate a function of LMT unintentionally.... . Is that sometimes when reading comics or a newspaper or book, when I go to swipe to the next page I accidentally activate LMT and swipe through an LMT button and trigger it.

Is there anyway to deactivate swipe through?

Meaning that I would like LMT to activate when I'm in the trigger area but only fire the button that I am pressing when I am actually on that button and not if I have swept through it on to another part of the screen and then lift my finger to fire as is its default.

thanks so very much.
[Android Software Development] noname81:
Actually someone asked this some time ago. This "swipe through" was implemented as a feature, because without it and when swiping really fast on the pie, sometimes you swipe too far and the action is not triggered. This is exactly the other way around use case :D. But I can also understand your position:

I made it configurable now. Will be part of the next beta...
[Android Software Development] noname81:
Actually I'd like to understand, why it's not working for you in enforced SELinux mode. Lowering security just for tools is not the proper way imho. What system setup do you have (Sorry if I already asked that before :D)?

- Phone

- Rom version

- Android version

- SuperSU version

Thanks!
[Android Software Development] Magpie42:
Totally agreed, but as I did not get any response any more, I had to find a "solution" ... I'm not pleased with this way, too, but, to be honest, it's better than nothing. :fingers-crossed:

In fact we already arrived at a catlog ... :cool:

- Phone - Sony Xperia Z

- Rom version - Stock

- Android version - 5.1.1.

- SuperSU version - v2.46

History:

- http://xdaforums.com/showpost.php?p=63363824&postcount=10892

- http://xdaforums.com/showpost.php?p=63368936&postcount=10897

- http://xdaforums.com/showpost.php?p=63370049&postcount=10899

- catlog: http://xdaforums.com/attachment.php?attachmentid=3511150&d=1445208616

Would be great if you would have an "a little bit less intrusive" solution. :)

Cheers, Magpie42
[Android Software Development] noname81:
Did you try to install a more recent version of SuperSU? Perhaps the latest beta? Chainfire had to fix a lot of stuff for Android M and SELinux. Perhaps this also helps you with your ROM (Could be that Sony already merged more SELinux changes into your 5.1 Rom compared to the AOSP counterpart)

Btw: Now I remember also checking your logcat. But I was not able to track down the issue only via trace... :D
[Android Software Development] noname81:
I'm still undecided if I should add support to LMT for hiding the navbar. But seeing that Google messed up the NowOnTap code with hidden navbar, pushes me into the direction to at least check if I add the support... :D Actually it should be easy to implement: 1/2 days if I would only support Android M and greater. For older Android versions hiding via build.prop is still one of the best options (stock rom).
[Android Software Development] Magpie42:
2.46 is the latest (free) version, thus I installed the 2.52 beta via apk, allowed it to update the binary and rebooted ...

Seems so, cause ... it is working! :D

Or, at least it looks like ... is there any way to check the enforce state?

I of course removed "/system/su.d/permissive.sh" and changed the content of "/sys/fs/selinux/enforce" back to "1" (and the "1" is still there after rebooting),

but as `sestatus` does not work over here ("no such command") and "About Phone" does not show anything concerning SE, I can not really check. :(

Is there another way to proof that it's engaged again?

Cheers, Magpie42

---------- Post added at 08:20 PM ---------- Previous post was at 08:15 PM ----------

Just add this line to /system/build.prop:

qemu.hw.mainkeys=1

This was the way I hided the softkeys.

HTH - Cheers, Magpie42
[Android Software Development] Hrithan2020:
Interesting. Will give it a try again. I flashed the latest build today.

May i know whether you have set Google app in assist and voice input settings under app settings.

By not working, i mean nothing happening when trying keypress 219. Is it crashing for you?
[Android Software Development] MrKaon:
You haven't read last few page?

Google Now on Tap doesn't work with that method.
[Android Software Development] DutchDogg54:
This post made me very happy
[Android Software Development] IronTechmonkey:
Like... totally radical, dude!
[Android Software Development] asj0422:
I have not read any other replies besides the op (sorry, tl;dr), but on my oneplus one running CyanogenMod 5.0.2, I got a notification from play services warning me that this app could harm my phone or my data. I love this app and have been using it a while. Rooted, running plenty of other root apps, but I don't allow lmt root. What gives?

---------- Post added at 03:33 AM ---------- Previous post was at 03:31 AM ----------

Also, whenever I connect or disconnect from a power source, lmt crashes. I then have to go into the app and turn on pie again, and go into my accessibility settings and turn lmt off and back in again in order for the back button to work. What could be causing this?
[Android Software Development] JRJ442:
That's just Google's scare tactics to get people to use Google Play exclusively rather than sideloading apps. If this was on the Play Store you would have never gotten that warning. Nothing to see here.
[Android Software Development] noname81:
Actually it seems like he's still using 2.4. I fixed the issue in 2.5. So please update.
[Android Software Development] MrKaon:
Any app with a method in it which can touches SELinux mode is harmful in Google eyes, all such apps are been removed from Play Store. If sideloaded that warning will shows up.
[Android Software Development] asj0422:
What's it do with selinux that other root apps don't do?

FYI I updated to 2.5 and the whole thing stopped working. I downgraded to 2.4 and everything worked again. (Then again I only use pie controls.)

---------- Post added at 11:49 PM ---------- Previous post was at 11:46 PM ----------

BTW, since I don't think I've said it yet, I love this app. I run cm12 on my oneplus one and I'd been looking for a way to add pie controls from paranoid android for a while, but nothing was good enough besides this. I was coming from a 4 inch phone, so this certainly made the 5.5inch screen easier for my small hands.

---------- Post added at 11:50 PM ---------- Previous post was at 11:49 PM ----------

Aaaaand one more random thing, what's lmt stand for?

I've seen various versions of this app copied elsewhere (one was a scetchy Chinese app lol), are they all derived from your code?
[Android Software Development] Exprince:
Heya everyone.

I just stumbled on this awesome program and i love the way it works or will work when i get it to. Thats why im here. I downloaded the latest beta realese for android M and on it the "Back" and "Home" buttons are not working. The "Recent Apps" is so im kinda wondering if i did something wrong here and how can i make them all work?

Nexus 5, Marshammalow 6.0, Rooted.

Thank you for your time
[Android Software Development] combat goofwing:
Looking at removing the stock controls on my nexus 6P and using this app,would Google now on tap be possible ,it works by a long press on the home button
[Android Software Development] Pecata:
Not yet, I have seen that the developer is considering adding the functionality to it in the future, but as of right now-now on tap doesn't work with lmt.

---------- Post added at 07:52 ---------- Previous post was at 07:50 ----------

I am no expert but I think this may be an issue with root...Have you tested if you are truly rooted?
[Android Software Development] Exprince:
I am no expert but I think this may be an issue with root...Have you tested if you are truly rooted?[/QUOTE]

Well i rooted using the Wugs Toolkit and i am using several apps that require root and they all work fine. Also i forgot to mention i am using ExperimentalX kernel.
[Android Software Development] noname81:
Nowadays root is not root anymore, since SELinux was introduced. When "root" is working for you, it means that simple root apps are working. Due to restrictions with SELinux, apps like LMT only work correctly if the su feature set for handling different SELinux contexts is working correctly. This is what chainfire is constantly fixing so my advise would be (at least to get LMT and other more advanced root apps working):

- Do not use CM su or other builtin root mechanism

- Always update to the latest beta from SuperSU, because this is work in progress

With latest SuperSU LMT runs flawlessly on my M devices.

Let me know when you still have issues. Thanks!
[Android Software Development] Exprince:
Thank you very much for a quick answer, now i know i should not be bothering you with such a silly question but i cant seem to find the answer on google. How do i update to the latest SyperSU beta ? I cant seem to find the option in the app itself and no help from google. Also does updating to the latest SuperSU mean erasing the old app (ie. loosing root) and then rooting again with a new one ?

Thanks again for your time
[Android Software Development] noname81:
"I cant seem to find the option in the app itself and no help from google. "

--> The download is in the OP of http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133. You have to flash it via Recovery

"Also does updating to the latest SuperSU mean erasing the old app (ie. loosing root) and then rooting again with a new one ?"

--> No
[Android Software Development] Adreaver:
This is patently false. The only way Now On Tap doesn't work is if you disable the nav bar altogether. If you leave the nav bar on and launch pie form the sides, for example, you can configure long press home as key 219 and Now On Tap works fine.

I even have the nav bar shown, but set to 0px height, and it works fine.
[Android Software Development] Pecata:
True, I do apologize.... Just because when I am using LMT I am disabling the nav bar completely, I am thinking everybody else does the same thing... Thanks for providing more accurate information
[Android Software Development] italia0101:
I take it you can't do that on a stock ROM though ?
[Android Software Development] DutchDogg54:
Correct, at least not that I know of...there may be some ADB command that could set nav bar height to 0 but I'm nowhere near smart enough to figure it out. Those that have the nav bar height control are 99% of the time running a custom rom...or xposed, I suppose could do it, too.
[Android Software Development] noname81:
Yes, but I'm working on a fix...
[Android Software Development] DutchDogg54:
Which is awesome news...but, please, don't call it a fix - there's nothing wrong with your application which I've relied upon for many years now. It's simply wonderful. If anything, hiding the nav bar as a part of LMT is an enhancement that pairs with your utility like bread and butter.

Do you have a donate link or any kind? I feel it's long overdue to get your compensated for your work on LMT.
[Android Software Development] noname81:
I'm afraid a cannot fix the problem with the one x without your help... Is our phone rooted? The test procedure is really easy: Just download terminal emulator from the play store and enter 'su' enter and afterwards 'getevent' enter. Then touch the screen and post a screenshot...

Sent from my Nexus 7
[Android Software Development] tiho5:
WORKING

Working now. I think I was so used to it that the path of the gestures I was doing to test if it was working was way too short for the default path to activate. Now I tried linger path and it is working. I'll change tha path setting to shorten it and now I am happy.:o

Please, tell me what is "min gesture score"?
[Android Software Development] noname81:
Whenever you're touching the screen, lmt calculates the 'distance' between the user gesture and the predefined gesture/character/symbol. With min gesture value (0-100%) you can define when lmt should accept the gesture. Check e.g. with the debug overlay how 'perfect' you did he gesture...

Sent from my Nexus 7
[Android Software Development] nakeman:
is it possible to add more gestures say, 3~4 fingers pinch in/ pinch out etc? :D
[Android Software Development] ailai55:
thank you so much for your work . man

I love it !

is there a way to simulate long press power button ?

because I am using Paranoid Android Rom and by long pressing power button there's an option to "extend desktop" ( perfectly hide nav bar)
[Android Software Development] k00zk0:
So, the pie method is good for when you remove the on-screen buttons on the Galaxy Nexus.

Now with a case on the phone is it is very hard to slide from the side. It is possible to make the trigger area along the bottom but then the pie still opens sideways.

I would like this app, or any app, which can support the pie from the bottom! It could work as the gestures does but be contained to an area. Eg, single finger upwards swipe at the left side from the bottom (where the back button is) triggers back command. Center swipe upwards is home. Etc. This seems like the easiest replacement for the on-screen buttons.
[Android Software Development] lost_man10002:
Noob question here. So I got my sprint galaxy nexus on a aokp codename 3.3.1 rom . figured out how to get pie and guestures working really like it. How do I get rid of my navigation buttons ?? does it happen automatically and my rom isn't allowing it work correctly?? ty

figured it out just use this : http://xdaforums.com/showthread.php?t=1497558
[Android Software Development] xternal:
This!!! Swiping from bottom, left triggers back, centre home and right recents would mean no need for soft Kenya and Max real estate on the nexus. Can it be done?
[Android Software Development] ahse0w:
how do i put google now into the pie?
[Android Software Development] noname81:
It should be Keycode 219... HTH!
[Android Software Development] ahse0w:
Thanks! It worked.

Where do you get a list of these codes?
[Android Software Development] noname81:
I posted the link in the OP:

http://developer.android.com/reference/android/view/KeyEvent.html
[Android Software Development] gaetanolip:
HI

Does it replace the launcher ( can i uninstall launcher) or does it need any launcher to work?
[Android Software Development] noname81:
Actually LMT is just a small tool on top which runs in the background and giving you the possibility to connect commands to gestures and the pie. So you still need a "normal" Android launcher...
[Android Software Development] AABatteries:
Hi!

I would like to report LMT v1.5 working flawlessly on Nexus S running Android 4.1.1 - both gestures and pie controls are working, no bugs present yet, testing already for a few weeks. Feel free to add this to the OP, NS users will be thankful :)

You just need to set it to Input Device 0 - same as SGS, Nex 7, and HD2.

Great work noname81! This app is awesome!
[Android Software Development] noname81:
Added the info to the OP! Thanks for the info. In general LMT should work on nearly every device. You just have to find the proper input device...
[Android Software Development] Mario1968:
Hi noname81, thank you for this awesome app, works well for me, but today I've try to setup a double swipe gesture and seems that I can't use this, because only the single finger gesture are recognized, there is settings I can play to fix this?

I'm using only the gesture, not the pie.

Thank you

Mario

Inviato dal mio Galaxy S2 con Tapatalk2®

XWLPF Stock

Siyah 4.1.2

Jkay V14.1
[Android Software Development] noname81:
Are you using a GS2? In the last post I said that LMT works on nearly every device but I remember that I once analyzed a trace from a guy with a GS2 and the conclusion was that LMT has a problem with special touch driver versions/ROM versions on the GS2... :( You could follow the troubleshooting section in the OP ("Then create a logcat...") and send me the logcat to make 100% sure that this is the problem...
[Android Software Development] Mario1968:
Thanks for the fast reply, yes I have a Samsung Galaxy S II (GT-I9100) with Italian ICS firmware.

I'll do the logcat and send to you.

Thank you

Mario

Inviato dal mio Galaxy S2 con Tapatalk2®

XWLPF Stock

Siyah 4.1.2

Jkay V14.1

---------- Post added at 04:34 PM ---------- Previous post was at 04:03 PM ----------

Hi noname81, follow the catlog and the getevent trace.

http://db.tt/RvdWhzZa

http://db.tt/8y1FiFBa

Thank you

Mario

Inviato dal mio Galaxy S2 con Tapatalk2®

XWLPF Stock

Siyah 4.1.2

Jkay V14.1
[Android Software Development] lost_man10002:
Loving this app very useful. I use it all the time on the train. Pie controls help me not to drop my nexus. Great job on this!!!

Sent from my Galaxy Nexus using 4.1.1
[Android Software Development] IronTechmonkey:
Indeed. IMO LMT is in a category with a few other things that fill gigantic holes in the droid-i-verse and complete the device. Anything added is gravy.
[Android Software Development] segfault82:
i'm having the same issue (back and home doesn't work) on a nexus 6P running the latest marshmallow stock image and LMT 2.5 beta 3 with supersu 2.46. it worked fine though on my nexus 6 which was also running marshmallow. i've also enabled LMT in the accessibility menu.
[Android Software Development] DutchDogg54:
As the OP stated only a few posts ago, you'll need the latest SuperSU beta to have root deal with SELinux appropriately for intensive root apps like LMT. Grab it in the OP here: http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133 and flash in recovery.