yashsingh1/xdaforums huggingface dataset:
[Android Software Development] noname81:
On Android N (at least on my Pixel XL), this issue is fixed by Google in Android. Android will deactivate overlays like LMT whenever a permission dialog pops ups and activates it again afterwards. What Android version are you using? When other users mentioned this issue a while ago I thought about adding a feature to LMT to deactivate the service for x seconds, to be able to grant permissions without rebooting. Actually you could already do it via a script action in LMT. I just tested it out and it works. Just set this as script action and adapt the sleep time (here 10s) to your needs:

am stopservice com.noname81.lmt/.TouchService && sleep 10 && am startservice com.noname81.lmt/.TouchService

Let me know if this works for you. Thanks!
[Android Software Development] VNGRD:
asd

Been a fan since 1.1 - thanks for the great app

I've been running 2.7 but after a ROM upgrade (january 2016 marshmallow to august 2016 marshmallow on Nexus 4) and an upgrade to 2.8 my pie stopped lunching apps and the nova-app-drawer-shortcut. It just gives me the "LMT has been granted superuser premisson..." message. "home,back,taskmanager" all work. Tried rolling back to a Titaniumbackup form 2.7 and reinstalling the app - no luck thus far so I guess it could be my ROM upgrade, anything I'm missing besides rolling back to my old ROM?

Thanks
[Android Software Development] MysticGolem:
I am a root user, and I have a Galaxy S4, stock room, 4.4.2 and I am curious to know what permission is required to use Pie Pointer?

I understand that Pie Pointer requires root but I would like to know which particular permission does that feature need specifically please and thank you.

Also is there a way that I can figure out the permissions needed for certain features of LMT on my own?

I am using v2.8 and I haven't found any bugs.

Cheers!
[Android Software Development] Ali._.Goli:
Eagerly waiting for 2.9 with backward compatibility and full ka ability! ?
[Android Software Development] IronTechmonkey:
Eagerly awaiting viable bug reporting and development input instead of posts which mistake this for a free software and tech support portal. Feel free to test and report in the interest of development (which is the purpose of forums like this).
[Android Software Development] Ali._.Goli:
https://xdaforums.com/showpost.php?p=70417402&postcount=12431

Sorry, but didn't exactly get you... I've already registered the issue and as I'm highly dependent to this app for my daily usage (and specially the ka capability) I was just excited to get the new version ASA I can! :fingers-crossed:
[Android Software Development] noname81:
Hm, what do you mean with permissions in the context of root? The whole purpose of using root in an app is to bypass the normal Android permissions system. For pie pointer I e.g. need to inject a touch event at the given position. This is only possible with root (or system level permissions). There is no exposed way for you to tell which feature needs which permission. The only way to find out would be to start LMT without root. Then LMT will raise popups when an action won't work. In addition LMT can use accessibility service for actions (if you grant LMT that permission) and usage stats permission to query last apps without root, etc.
[Android Software Development] MysticGolem:
You are correct about having root bypasses the normal way Android handles permissions.

However, I've read online and tested Better Battery Stats (BBS) without root and performed an ADB command that explicitly gave BBS permission to the Battery_Stat permission and it worked.

This was the command stated in the XDA BetterBatteryStats page: "adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS"

Since we both know Pie Pointer really requires root to operate, would it be possible to know which particular permission it needed to function?

It would be nice to be able to use applications without root as well if we could figure this out.

Looking forward to hearing from you soon.
[Android Software Development] IronTechmonkey:
Fair enough but it is unlikley others would guess that history based on that one recent post. Now that you've connected the dots, although I did not mention it at the time of your original request I set up an Android KikKat VM on which to test whatever is released. It may not be a direct analog to your device but at least you wont be testing KitKat alone.
[Android Software Development] Ali._.Goli:
Guess you're right, I probably should've mentioned [MENTION=1864347]noname81[/MENTION] too,

And thanks for your your great lifesaving app again noname81... ?

BTW before you go, although it may not be a matter, I think after updating from 2.1 to 2.3 and higher, I felt a not totally pleasant "animation" experience and I was not sure that it have even been related to my version of android or LMT? Although I think it may not be as important as that Force Stop stuff and etc... I really appreciate it to give it a try if you have time though... :o

Thanks again
[Android Software Development] noname81:
Yes, LMT has problems with your SELinux setup. So it would work if you would set SELinux to permissive mode. I would not recommend it though since it weakens your security. What setup do you have? Android version, phone, etc. Thanks!
[Android Software Development] VNGRD:
before the update I was running my Nexus4 on some old Marshmallow build with 2.7 LMT

After I updated to MOB30Y (android-6.0.1_r60) and to 2.8 LMT , LMT stopped launching Apps

I tried restoring a titanoumbackup I had of 2.7, tried to restore only the data, data+app, but no bacon.

Anything else I can try besides that fix?

thanks
[Android Software Development] noname81:
What SuperSU version do you use?
[Android Software Development] VNGRD:
v2.79 RC2 - should I try to roll it back? I don't remember what I used but I guess I can try a bunch from the time period I did my last ROM upgrade...
[Android Software Development] 12gage:
[MENTION=1864347]noname81[/MENTION] is it possible to have the second row on Pie only appear on LongPress? I've tried leaving the second row blank and only selecting items on the long press section but nothing shows up. Thanks in advance.
[Android Software Development] Smeghead_:
I've just reinstalled this on my Note 4 after installing the M12 Dr.Ketan ROM, and for some reason I can't add Poweramp as an app shortcut? It doesn't appear at all as an available app. I can see the "full version unlocker" in the list, but the actual app isn't there. It worked fine when I was on the stock ROM before.

I can't even launch Poweramp via a Tasker task through LMT, but when I'm in Tasker itself and run the "launch Poweramp" task, it opens just fine, which is definitely strange.
[Android Software Development] obednal97:
Have venom pie running (lmt) but it isn't requesting root access so that I can use home and menu tasks

Any clue what to do?
[Android Software Development] Golf c:
Turn on LMT in accessibility settings.
[Android Software Development] obednal97:
It's already on
[Android Software Development] sga999:
I recently got a Leeco Le Pro 3. LMT works perfectly with the stock ROM for this device. However, I have installed two different custom Roms, and I cannot get the pie to display when I touch the activation area. I saw something in this thread about selinux, but I tried both permissive and enforcing and the result was the same. I am going to put a few lines from the bad log here. It does not look similar to what shows in a good log. I will not show that good one unless you need it.

02-13 19:36:27.043 W/PackageManager(1399): Not granting permission android.permission.READ_EXTERNAL_STORAGE to package com.noname81.lmt because it was previously installed without

02-13 19:36:27.043 W/PackageManager(1399): Not granting permission android.permission.WRITE_EXTERNAL_STORAGE to package com.noname81.lmt because it was previously installed without

02-13 19:36:27.043 W/PackageManager(1399): Not granting permission android.permission.CALL_PHONE to package com.noname81.lmt because it was previously installed without

02-13 19:36:27.682 W/PackageManager(1399): Not granting permission android.permission.READ_EXTERNAL_STORAGE to package com.noname81.lmt because it was previously installed without

02-13 19:36:27.682 W/PackageManager(1399): Not granting permission android.permission.WRITE_EXTERNAL_STORAGE to package com.noname81.lmt because it was previously installed without

02-13 19:36:27.682 W/PackageManager(1399): Not granting permission android.permission.CALL_PHONE to package com.noname81.lmt because it was previously installed without

02-13 19:36:41.166 I/ActivityManager(1399): Start proc 4088:com.noname81.lmt/u0a126 for broadcast com.noname81.lmt/.StartupReceiver

02-13 19:36:41.305 D/LMT::StartupReceiver(4088): Restarting TouchService

02-13 19:36:41.310 D/LMT::TouchService(4088): TouchService created

02-13 19:36:41.310 I/BroadcastQueue(1399): Delay finish: com.noname81.lmt/.StartupReceiver

02-13 19:36:41.311 D/LMT::TouchService(4088): App version v2.8

02-13 19:36:41.364 D/LMT::TouchService(4088): Resource path /storage/emulated/0/Android/data/com.noname81.lmt/files/

02-13 19:36:41.376 D/LMT::TouchService(4088): Resource path is not available containing 0 file(s)

02-13 19:36:41.402 D/LMT::TouchService(4088): TouchService started

02-13 19:36:42.348 D/AndroidRuntime(4131): Calling main entry com.noname81.lmt.InputContext

02-13 19:36:42.349 D/LMT::InputContext(4131): InputContext started
[Android Software Development] sga999:
I thought I would say a little more about that prior post. I had used titanium backup to restore the LMT app and data. But to make it simpler, I uninstalled and installed the 2.8 APK only. Then the log looks a little different but still seems to have permission problems.

02-13 23:02:05.905 I/ActivityManager(1351): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.noname81.lmt/.LMT bnds=[319,706][491,878]} from uid 10086 on display 0

02-13 23:02:05.925 D/LMT::LMT(4119): Starting GUI

02-13 23:02:05.948 D/LMT::PermissionChecker(4119): hasExternalStorageReadPermission(false)

02-13 23:02:05.960 D/LMT::PermissionChecker(4119): hasExternalStorageReadPermission(false)

02-13 23:02:05.961 D/LMT::PermissionChecker(4119): hasDrawOverAppsPermission(false)

02-13 23:02:05.963 I/ActivityManager(1351): START u0 {act=android.settings.action.MANAGE_OVERLAY_PERMISSION dat=package:com.noname81.lmt flg=0x10000000 cmp=com.android.settings/.Settings$AppDrawOverlaySettingsActivity} from uid 10128 on display 0
[Android Software Development] noname81:
As you can see in the log LMT has not the permission to draw over other apps. LMT should in this case forward you to the settings screen to allow this. If this is somehow broken in your ROM you can also grant the permission manually and restart LMT.
[Android Software Development] obednal97:
So I have viper rom installed on my HTC one m9, it has a version of LMT.

It works well however the home action button does nothing and when I select the menu action button it displays "This feature needs root permissions!" but it has never asked for root privileges however the other buttons work such as the back button, multitask button and search button.

Accessibility settings: On

Device Admin: On

Draw over apps: On

All other settings: On

It still doesn't work so I installed the latest LMT APK and restarted my phone and it still doesn't work, super user doesn't pop up asking to give LMT root Access. I have checked my denied super user requests in the Superuser app however it is empty and no LMT... Any ideas what to do? I can give more info if needed. Thanks
[Android Software Development] sga999:
Yes, I'm have always been getting the prompt to give permission to overlay. I just left that out of the log to make it shorter.. I was trying to show the log messages about read and write USB that were not allowed, thinking those were causing a problem.

After more experimenting, it appears it has something to do with the area that I am touching. On the stock ROM, I am able to touch very lightly on the right hand side of the screen, within a fairly big range up and down. With this custom rom, it appears that I have to slide my finger in order to get it to show the pie. I will see if I can change some of the settings to make that work better. So even though this is not an LMT problem, would you have any idea what settings would be different in this rom and stock that would cause LMT to behave this way?
[Android Software Development] shaqman89:
What version of viper are you using?

I'm using it with viper 6.0.0 and have no issues related to home button.

Have you checked super su logs?
[Android Software Development] obednal97:
Nothing relative shows in the logs

Venom 6.0.0

I think it is something to do with the accessibility settings as it glitched out earlier and reversed so that the home button worked but the multitask and back button didn't and it told me to turn on accessibility settings so I checked them and it was already on but I switched it off and on again to see if it changed anything and it changed it back.

Any ideas?

Also is there anyway to force it to request super user access?
[Android Software Development] shaqman89:
Is it shown as denied in Super su logging?
[Android Software Development] obednal97:
No there is no denied log, no granted log and nothing regarding LMT or Venom Rom Viper One in Super Su
[Android Software Development] Isley_:
I have a little issue, I can't install apk's. I can't press the 'Install' button, only the 'Cancel' one. I must to disable LMT, install the apk and then re-enable LMT. I've tried with the accessibility permission enabled and disabled, also with the navigation bar enabled and disabled, LMT has root access too. Is there a way to "fix" this?

I'm using a Nexus 6, Android 7.1.1. SELinux enforcing.
[Android Software Development] JRJ442:
Are you using a custom ROM or stock? One easy way would be https://play.google.com/store/apps/details?id=jp.sfapps.installbuttonunlocker. If you don't mind using another app that is. Some ROMs encountered this when introducing one handed mode. Pure Nexus was one, but it was fixed in the build released last night.
[Android Software Development] QuickInfo:
I can't seem to get PIE to come up on bottom when in portrait mode. Only happens when I use expanded desktop to hide navbar. While in landscape, it works fine. On latest PureNexus ROM on 6p (7.1.1). Any way to fix this?

EDIT: On top of expanded desktop, I had to go into Navigation Bar option and turn the navigation off from there. Working fine now :)

---------- Post added at 09:36 AM ---------- Previous post was at 09:33 AM ----------

Do you have LUX, Twilight, or any other similar apps that put a tint over the dispaly? If so, disable that and it should work
[Android Software Development] obednal97:
I had an issue where part of the pie wasn't working because of accessibility settings and it not requesting root permission, I have fixed that by wiping and flashing the rom again and that is sorted.

New issue though:

LMT prevents me from approving permissions for apps, the screen overlay won't let me click the approve button, only deny.

Before I installed LMT to this rom it was working perfect, then I installed it and I can no longer click the approve button.

Thoughts and ideas on how to fix this please!
[Android Software Development] noname81:
Some pages back I posted a solution how you can temp deactivate LMT's overlay via script action. This is the best I can provide from LMT side.
[Android Software Development] obednal97:
Thank you so much! When you ate talking about the script action, where do I insert that script?
[Android Software Development] noname81:
Just set for one pie item the action "Script" in the list and paste the line I posted in the pop-up which comes up. Then it should work.
[Android Software Development] obednal97:
Ohh right I get you!!!

You have just made my phone perfect for me, that was the only issue I had with it and you've fixed it! Thank you so much!!!
[Android Software Development] noname81:
You're welcome. Enjoy your phone! :D
[Android Software Development] Isley_:
I'm using a custom ROM. Thanks, but the link doesn't work.
[Android Software Development] JRJ442:
Try this one https://play.google.com/store/apps/details?id=jp.sfapps.installbuttonunlocker
[Android Software Development] Isley_:
It works, thank you.
[Android Software Development] djsubtronic:
Hey guys, I have not updated LMT in a while and been happily using 2.5 beta1 which expired a couple weeks ago. I tried to install the latest version but it installs as a separate app rather than update the existing one, with a fresh configuration. How do I update and retain my settings?
[Android Software Development] r.albu:
Hi,

Read here http://xdaforums.com/showthread.php?p=67662195 and search the thread for "xml".

See if it works for you.

Cheers
[Android Software Development] maoikozo1:
Anyone can help me Recents app not work on nougat. My rom is retruction remix, device note 4. Everything work fine expect recent app. What can i do. Sorry my bad english.
[Android Software Development] noname81:
You can activate LMT in the accessibility settings. Then it should work.
[Android Software Development] ajsmsg78:
I have a Mate 9 running stock Nougat. I disabled the navbar. The problem is that pie doesn't work at the bottom, only on the sides. I've tried everything to get it working. I'm rooted, everything is enabled, permissions are set. Do you guys have any suggestions?
[Android Software Development] Guitarfreak26:
I have same problem with v20. It's caused by the google now swipe up still being active despite the build prop edit

Anyone know of a fix?
[Android Software Development] Craxx:
Same problem here...hope there will be a solution..

best regards

Craxx

Sent from my Nexus 6p
[Android Software Development] Greedy242:
Recently updated to version 2.8 but lately have been seeing almost 30℅ battery drain in my battery chart before lmt never cracked 3℅ using on moto z play not rooted
[Android Software Development] noname81:
Do you see LMT in the list? Can you post a screenshot? Thanks!
[Android Software Development] yakie996:
I tried the tasker integration just now on my phone it works but it doesn't seem to take the icon I set in tasker for my task? is it possible to add this? thank you
[Android Software Development] dandrumheller:
I've been using V2.8 on unrooted MZP on MM (December security patch level) and have never seen crazy battery drain. just went to look, it's at 0.1% of app battery usage for the day for me.
[Android Software Development] Greedy242:
I think I'll just delete data and start from scratch see if that helps never had a problem with it before don't know if it's cause I tried like using the skip to last app or screenshot features and they require root so every so often it says root required for that action even though am not trying that function me it's in some wake lock state
[Android Software Development] corb06:
Im getting Screen overlay error message when trying to give other apps permissions. LMT is the only app that is causing this. Im guessing there is no way arround this.

Using it on stock rom for Samsung Tab S, Android 6.0.1.
[Android Software Development] noname81:
Just search the thread some pages back. I posted a solution to temp deactivate LMT. Other members posted an app from the play store to fix the issue.
[Android Software Development] xdax1:
app list not complete

Since i updated from LMT v2.5 to the newest v2.8, I have incomplete app list, I wasn't able to find "hangout" for example.

Then i just tried to install LMT on another phone with brand new rooted ROM, i can see hangout in the list but i am missing a few otheres app like "contact'

Anyone please help
[Android Software Development] caliban0511:
Shortcut不好用

Shortcut不好用，调用Folder Organizer ( com.abcOrganizer )com.abcOrganizer.lite.shortcut.LabelShortcut时，时灵时不灵。
[Android Software Development] Kyonex:
noname81, LMT v2.8 force closes (and deactivates) every time after stopping (saving) voice mic recording via stock recorder app on my LG G5 (stock ROM, android 7, rooted). Is it normal? How can I help to fix this bug?
[Android Software Development] carlosggb:
He needs logs from the fc, use logcat extreme to capture it. No logs, no help
[Android Software Development] Kyonex:
Attached the log. Recorder app name is "com.lge.voicerecorder". I investigated that force close appears only when stopping recording via notification panel, not via recorder app window.
[Android Software Development] NeutronBomb:
Does anyone know how to get the menu button to work? I have LMT set up and have done the build.prop edit to hide the nav bar. Everything works fine except I have one of the pie positions set up to be the menu button. Every time I click that button (such as in chrome to bring up the menu so I can go to bookmarks without having to reach to the top right corner) nothing happens. It just says "LMT was granted superuser permissions" and it does nothing. Not sure if there is anything I can do to get this working properly.

I'm on the Mi Mix with the global rom. I've enable every single permission and access I can find but the menu function of the pie will not work.
[Android Software Development] hydroxymoron:
edit expanded area actions

How to edit the actions on expanded trigger area?

They are super useful to pull down the status bar, but on my new phone this won't work. I could work around it if I could send a command...

please add both sides of expanded area as pie editable buttons. Thank you!
[Android Software Development] Pecata:
I have tried this on my 6P and it won't let me write anything in the vendor dir at all...I do have root and I am able to use the build.prop edit to hide the soft keys, but I would really want to use the layer file instead. Any help is much appreciated. Thank you.
[Android Software Development] TR2N:
Hi guys,

i have a problem on latest Nougat (March update) on my Angler. When i try to enable "Now On Tap" on Longpress the System UI is crashing. Is there any workaround?
[Android Software Development] Pecata:
Are your soft keys disabled? If they are disabled via build.prop edit-it will crash now on tap-that is why I am trying to use the layer file in the OP - that resizes the soft key bar to 0, so it isn't visible but technically it is still there and Now on Tap would work. I am having an issue though-even though I have root-it won't allow me to copy the file to vendor/overlay in order to work. Look at my previous post above yours.
[Android Software Development] noname81:
Hm, I don't know why the vendor partition is read-only on the 6P atm. You could check this workaround: https://xdaforums.com/nexus-6p/help/substratum-legacy-applying-themes-t3546939
[Android Software Development] Atomregen:
You can run this:

settings put global policy_control immersive.navigation=*

in a terminal App with root permissions.

This will hide your navbar like the immersive mode in gallery apps.
[Android Software Development] IronTechmonkey:
This is handy to know and works nicely in a Tasker shell command, in order to imitate the old easily toggled KitKat expanded desktop on Nougat. Thanks, I took a guess that to reverse the effect, run the same command without *, but if there is a more appropriate syntax for that please let me know. Sotty for the OT, I would only play with that because I have LMT.
[Android Software Development] TR2N:
Okay, I understand. But I would need to use a custom rom, correct? I am on Stock for now, so I can't use any substratum layer. :-/

Which Layer file do you mean exactly, the framework thing?
[Android Software Development] Atomregen:
Yes in a tasker shell it runs quite well. I use it in some apps to hide the status bar.

And yes, your guess is right, without the * you reverse the command.
[Android Software Development] nickyhicky:
This does not require root for pie controls correct? Im havong an issue keeping the service activated when i exit lmt after toggle service active