yashsingh1/xdaforums huggingface dataset:
[Android Software Development] noname81:
Hi all,

I just uploaded LMT v2.5 beta4 to the OP. The changelog:

- Added action to unpin a pinned app (only tested on M! I think it won't work on L)

- Added action to show Google Assist ("Now on tap")

- Added "Expand trigger area" pie configuration option

In addition I was checking how we can have a hidden navbar + NowOnTap working on Android M, since NowOnTap is broken when you hide the navbar via "hw.mainkeys=1" in build.prop. Since Android M is now supporting RRO layer themes out of the box, I decided to not build the navbar hiding feature into LMT but instead created a simple theme with 0 height navbar. Just copy LMTFrameworkResLayer.apk from the OP to /system/vendor/overlay/ on your device and restart. Then the navbar will be hidden but NowOnTap is still working. To install the theme you can also use the Layers Manager App from the PlayStore.

Enjoy!
[Android Software Development] Broooooook:
The layer workaround and beta 4 work perfectly ! Thank you!

I used layer manager to apply the layer, but if you would do this manually you'll have to set correct permissions IIRC.
[Android Software Development] T.M. Wrath:
I don't know what I did wrong but when putting the layer in as suggested I get a bootloop

Stock 6.0 nexus 6
[Android Software Development] wucinac:
This is great. Now on tap is working exelent on N6 Cataclysm rom.

Sent from my Nexus 6
[Android Software Development] DutchDogg54:
Did you already have the Nav Bar hidden with the build prop tweak? You'll need to remove that line, reboot, apply the layer, reboot & you should be good.
[Android Software Development] T.M. Wrath:
Nope it's been active still have bootloop issues. This is weird because all other layers work.
[Android Software Development] noname81:
Can you try applying the theme with the layer manager app? You know how to get out of the bootloop without reflashing, right?
[Android Software Development] DutchDogg54:
All working swimmingly for me - great work! Shamu stock rooted M
[Android Software Development] T.M. Wrath:
Yes of course lol and I tried both ways with Manger and without.
[Android Software Development] noname81:
Just to confirm. :D We have always quite different skill levels here and I wanted to make sure, that the bootloop not leads to reinstalling the system.

What I don't get is that the same setup is working for me. Is the adb deamon already up before the crash and you're able to provide a logcat?
[Android Software Development] T.M. Wrath:
I figured it out seems your layer is conflicting with Jimmy setiawan's colors magi pie plug in layers. when selecting a background layer and having your layer installed makes device bootloop

---------- Post added at 05:58 AM ---------- Previous post was at 05:49 AM ----------

Right now I'm not near a laptop sadly but I hope that providing the way to reproduce the issue helps you figure out what's wrong lol
[Android Software Development] noname81:
Ah ok, conflicting themes is the problem. I'm not too familiar with conflicting themes but I just checked the config and saw, that I still had a _debug_ priority for the theme configured: 1. The RRO wiki states regarding this:

"Below 10, let's not play here and don't be a **** and put your priority here because you don't understand how priorities work and you don't want anyone overlaying your theme or changes. I think we might end up putting a filter here to reject anything with a number below 10 just in case of that."

:D

I don't want to be a ****, so I updated it and uploaded it to the OP. This is just a guess but can you test again with the new theme? Thanks!
[Android Software Development] T.M. Wrath:
OK i download it and sadly it still creates a bootloop
[Android Software Development] noname81:
Then I'm afraid only a logcat will give us at least more infos...
[Android Software Development] T.M. Wrath:
OK give me a few and I'll see if I can find ouout who has my laptop...... If anyone asks I didn't do it and I was with yall from 1am to 3am

---------- Post added at 06:58 AM ---------- Previous post was at 06:46 AM ----------

Well good news and bad ews the bad news is I'm unable to get a logcat from adb because we'll it doesn't decked my devices and such. Is there another way to get a logcat .. The good news is Celldwellers new album end of an empire is out.
[Android Software Development] Alonzzo2:
Hi, this app is great, and I really want to use google now on tap. I'm familiar with rooting and all, I'm on omni mm, oneplus one, but I'm not familiar with layers. Can someone please explain me what I need to do withLMTFrameworkResLayer.apk? I've installed layers and that framework and rebooted but when I activate now on tap using lmt I get system ui crash

---------- Post added at 05:31 PM ---------- Previous post was at 05:24 PM ----------

Never mind, all good! Had to enable the nav bar as is stated.... Amazing works! Gonna buy the dev a beer or two now:)
[Android Software Development] Natakranta:
[MENTION=1864347]noname81[/MENTION], where I live is enough to buy a pint of beer in a pub. Enjoy!

Confirmation number: 8FJ05622E08612716

Thanks for LMT and keeping it up to date. You are awesome!

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[Android Software Development] noname81:
Thanks for the donation. Will definitely buy a beer from it. :D
[Android Software Development] T.M. Wrath:
Talked to one of the deva over on the g+ community for layers development and we'll seems there is a limit to only 4 layers that touch framework and that's where the conflict is
[Android Software Development] T.M. Wrath:
I will also like to add so people can see that when using the layer that hides navbar that the bottom isa does not work.

Edit: you'll have to reconfigure after the layer installation.
[Android Software Development] combat goofwing:
I don't have nav bar hidden on my N6P,been waiting for now on tap function,so do I just Install then add build prop line to remove nav bar ?
[Android Software Development] DutchDogg54:
1. Install latest LMT

2. Install layers manager - you'll need to get the latest beta of this app to get this working on a 6P. Surely the beta will become the standard app soon, but bitsyko said he's not ready to push the beta changes to the stable version. Just search bitsyko on Google +, join the community & then become a tester. You'll then get the beta version as an update in the play store.

3. Get the layer in the OP. Open layers manager & install the layer.

4. Open LMT & map now on tap activity to a button of your choice.

5. Enjoy

No build prop changes needed, in fact, that method of hiding the Nav Bar will break NoNames's latest awesomeness.
[Android Software Development] combat goofwing:
So this will hide the nav bar as well?,I'm not rooted as I need certain apps to work,but BL unlocked and looking to get rid or immerse nav bar
[Android Software Development] DutchDogg54:
Yes, that's what the layer does - it makes the Nav Bar zero height instead of hiding it like with the build prop, thus allowing now on tap to work.
[Android Software Development] Pecata:
I have followed the instructions to the dot and LMT and the overlay are installed but after reboot the nav bar is still there and lmt won't remember any options of the buttons I set on it. It's just a blank pie....Any idea what I did wrong? It almost feels like the layer somehow disables lmt buttons from being assigned...
[Android Software Development] combat goofwing:
Searching bitsyko on G+ nothing coming up
[Android Software Development] Pecata:
Here: https://plus.google.com/communities/102261717366580091389
[Android Software Development] DutchDogg54:
There have been reports of conflicting layers causing problems so you may need to remove others, if you have any installed. You also need the latest SuperSU which you can grab here: http://xdaforums.com/showthread.php?t=2868133

[BETA][2015.10.10] SuperSU v2.52

I had a world of trouble getting this going on my buddies 6P earlier until I got the beta layers manager - once that was installed it was good to go. But yours is sounding like possible conflicting layers.
[Android Software Development] Pecata:
I have no other layers and I am running the same SU version already.... I am not sure what I am missing...is it possible my permissions on the layer are not correct? What should they be?
[Android Software Development] DutchDogg54:
If you're installing through layers manager (are you?) you don't have to mess with permissions. If you install the layer with a root browser you'll need to set them like this before rebooting:

XX-

X--

X--

Wish I had another suggestion for you - mind sharing some details?

Device? Xposed? Rom? Kernel? Other apps/mods that might touch the Nav Bar? What are the steps your taking & the result you're seeing from those steps?

If using layers manager, when you swipe in from left and tap "uninstall..." what do you see? If the layers not listed there it's not truly installed. This was the problem I was having with my friends 6P - needed the beta of that app & it worked right away.

Might consider uninstalling LMT & Layers Manager so you can re-grant superuser permissions to each upon first run.

Also, may need to install & ensure binaries are up to date on busy box from the play store.
[Android Software Development] Pecata:
I am running stock, rooted. No xposed. Have installed the layers manager and when I wanted to uninstall the layer-it was listed there. I don't have busybox installed... Could that be the problem? Which busybox app would you recommend?

What I did is setup lmt, installed the layers manager and installed the layer...rebooted and then my nav bar was still showing and all the buttons on the lmt were blank..couldn't re-aasign them until I manually deleted the layer and rebooted, then re-installed lmt...
[Android Software Development] DutchDogg54:
Hmm, you're stumping me! I'm stock M rooted with no xposed as well. The layer being present in the uninstall menu means it's installed, so your Nav Bar should be zero height - very odd.

Possibly a bad download on the layer too - I uploaded the layer file I used to Drive here https://drive.google.com/file/d/0B26pk_eeJ6EbSzFYYUMzNlg1Zlk/view?usp=docslist_api - the Dev uploaded a tweaked one to try to help somebody so not sure if that one doesn't like you or something. This link is the first one he posted right away at release of beta 4 in my Google Drive.

Busy box I'd recommend is here: https://play.google.com/store/apps/details?id=stericson.busybox - just tap install once it opens up & it will do the rest.

Honestly I think the "uninstall/reinstall/re-root" option might be worth trying if nothing else above helps.

We're gonna get you going here!
[Android Software Development] sykopompos:
Busybox not installed is definitely your problem since busybox is used to mount system read/write.

As far as busybox, use busybox on rails, some people had conflicting apps that also use busybox with stericon's
[Android Software Development] Pecata:
Ok, I will try this layer and I will report back. I appreciate your help very much...I will try again tomorrow... It's getting pretty late

---------- Post added at 00:17 ---------- Previous post was at 00:12 ----------

Ok, ty. Installed busybox on rails. Will play with the laer more tomorrow... For now I have just disabled the nav bar and I am not uaing now on tap, but If I can have both hidden nav bar and lmt with now on tap my life would be complete ;)
[Android Software Development] noname81:
The weird part is that lmt seems to be broken after installing the layer. Both normally have nothing to do with each other!? What is a console (e.g. terminal emulator from the PlayStore) showing if you enter these commands?

u0_a105@shamu:/ $ su

root@shamu:/ # ls -l /system/vendor/overlay

-rw-rw-rw- root root 4015 2015-11-06 07:12 LMTFrameworkResLayer.apk

root@shamu:/ #
[Android Software Development] sykopompos:
Correct. Stock can only handle 4 overlays on framework, it is a bug that has a fix sitting on the aosp gerrit but Google didn't merge it into marshmallow.

The fix was merged into custom lollipop roms but not into marshmallow roms because in order to fix the crash caused by the bug, it flips the priority resource matching from what stock is (which is a headache and a half) so it is being avoided for now.
[Android Software Development] sykopompos:
The 6p and 5x has a seperate vendor partition, you need to have it at /vendor/overlay/ not system/vendor/overlay (which is what the beta version corrects (also is on the latest build on pushbullet ) that mounts to the partition.

I can't remember what the folder needs to be at off the top of my head permission-wise
[Android Software Development] Pecata:
I forgot to ask since I am not sure if the layer app is the right version. Mine is 4.3.3. Is that the correct one?

---------- Post added at 00:30 ---------- Previous post was at 00:25 ----------

Oh, ok. Well it was installed in system/vendor/overlay....that must be the problem then...so if I install it manually in root vendor/overlay...what permissions do I have to set on the layer file?
[Android Software Development] noname81:
I don't think it needs special permission. Mine has 0666...
[Android Software Development] Pecata:
Ok, thanks...I will give it a try tomorrow again-I do appreciate your help and hard work!

And just to confirm I need to move the layer apk to vendor/overlay.....not system/vendor/overlay? Correct?
[Android Software Development] noname81:
Ok, thanks for the hint. Seeing that Google introduced an own vendor partition instead of leaving it in system looks like they are preparing Android for a clean integration of vendor specific blobs and hopefully also themes via rro layer.
[Android Software Development] sykopompos:
Eh, I wouldn't put much faith in that especially with the verity check on vendor partition in the 6p and 5x.

That's is really only meant for vendors to preload the overlays.

There is aosp code sitting up on the gerrit for downloadable overlays but it isn't much use when it has signature checks against the app that it wants to overlay meaning only overlays signed with the app's key will work
[Android Software Development] sykopompos:
https://www.pushbullet.com/channel?tag=bitsykohourlies

The one on the bottom there is the latest one and meant for the 6p and 5x, just gotta make sure once roms are up, it doesn't break them before it gets pushed to the play store as the standard one
[Android Software Development] Pecata:
Thank you kindly[emoji56]
[Android Software Development] noname81:
Yes, I was mainly talking about vendor themes here. Having just a vendor specific overlay (and perhaps some patches/additions to the code) instead of their complete own branches of AOSP, where the vendor customizations are hacked down, will be a lot faster and easier maintainable for them. This will help with faster Android updates from the vendors...
[Android Software Development] Pecata:
Thanks everyone who helped me last night to setup the layer-I just did it this morning and it worked like a charm! You guys rock! That is why I will always stick with Nexus and XDA -for amazing people and developers like you!

It looks like busybox not being installed was the problem..

I have noticed however that the layer manager installs the layer in both vendor/overlays and system/vendor/overlays.

Thanks again and donation is on your way [MENTION=1864347]noname81[/MENTION] :good::D:cool:
[Android Software Development] MCT_:
Folders = 755

Files = 644

set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/overlay/LMTFrameworkResLayer.apk");
ui_print ("- Done !");
[Android Software Development] Nbsss:
Has anyone got ISAS working on marshmallow? Specifically nexus 6p? TIA
[Android Software Development] sykopompos:
That's a symlink that you are seeing there.

Stock links them together, we just do the same too
[Android Software Development] noname81:
They are working perfectly on my Nexus 6 with M. I didn't hear that someone has them running on the 6p, but they normally should work...
[Android Software Development] Nbsss:
Thanks for the reply.

I've tried to troubleshoot with catlog, let me know if you need more info.

Much appreciated!
[Android Software Development] arbit12:
Bit of a strange issue here.

I have 2.5b2 on both my Note Edge (5.0.1) and Note 10.1 2014 (5.1.1).

On the Edge, all functions work perfectly.

On the Note 10.1, apps don't launch from the pie, plus killapp doesn't work. Back, home etc work fine. 2.5b4 doesn't work either.

Both are rooted, Edge with Supersu 2.46 and Note 10.1 with Supersu 2.52b

Both are stock touchwiz. Both have SE enforcing, as I don't want to have an insecure kernel just for a few apps.

Any suggestions?
[Android Software Development] asj0422:
Yesterday I encrypted my phone, a oneplus one running cm12. Since I only use the pie controls, I don't let lmt have root (want as little root as possible for security reasons). However, now that it's encrypted, when I go into my accessibility settings to enable lmt it tells me i need to enter my pattern as lmt messes with encryption. What exactly is it doing? Also, all buttons besides the recent apps one stopped working. Running v2.4
[Android Software Development] azndan2:
I'm on the newest beta and also supersu 2.52 on LG nexus 5x. Unfortunately I still can't get gestures or isas to work.

I tried auto configuration for device input and also tried all the possible options but it wouldn't work.

Any suggestions?

I appreciate the hard work :)
[Android Software Development] noname81:
Please don't use 2.4 but latest beta instead. Lmt is not messing with encryption but 2.4 used to mess with selinux mode to get it running. In 2.5 I fixed this issue (With the cost that you have to use latest SuperSu).
[Android Software Development] noname81:
Hm, in the trace I can see, that gestures are configured correctly. What was your exact use case? Are gestures like double swipe up working for you? Are only ISAS broken? What values are shown when doing the auto configuration?
[Android Software Development] Nbsss:
Autoconfig shows: 0, 100, 100 - which is correct according to terminal

ISAS does not trigger.

However if i turn on gestures, the gesture occasional gets detected eg double swipe.

But the ISAS action would then be triggered not the gesture action

I'll try to post a screen record, let me know if you need any more info, thanks!

https://vid.me/Dbsr
[Android Software Development] asj0422:
I updated to the latest 2.5 version but the home and back buttons don't work, nor does triggering some specific app. (Messaging, settings). Since I'm only using pie controls, I don't allow root, but I should still be able to use the pie without that, yes? (Also of note after downgrading to 2.4 everything works again.

My goal is to be able to use this on my new nexus 6p w/o root whenever I get my fi invite.
[Android Software Development] Pecata:
I don't think you will be able to use LMT without root on Android 6.0...

If I am wrong, please someone correct me...
[Android Software Development] asj0422:
I'm on 5.0.2 using without root
[Android Software Development] synesthesiac:
Hi, I'm having a problem opening lmt over my keyboard. If I unchecked keyboard listener, it works for a little while, but always stops pretty quickly. I'm having this problem with SwiftKey and the BlackBerry keyboard. I'm using the latelatest beta, but I'm trying some older versions, because I never used to have this problem.
[Android Software Development] abnormalreply:
I noticed some people can't use the home and back button without root, but I'm rooted with permissions grated to LMT and these buttons aren't working. On the Nexus 6 with Marshmallow--any suggestions? I've tried the latest beta and also went back a few versions--same deal. It was working fine on 5.1.1.

Edit: I apparently needed SELinux to be permissive.
[Android Software Development] DutchDogg54:
Have you updated to the latest SuperSU beta? I believe you'll need it for M http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[Android Software Development] Tex99:
This app works great on nexus 5 MM, thank you for the hard work!!

The only missing things are:

-backup option

-screen off command

Also the icons in pie slice are not in the center, but they are positioned above the middle, I tryed to change this without success

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Software Development] 530farm:
Is there any way or any plans to change the activation gravity, to different areas than just top/center/bottom? I was hoping to be able to set the activation area about 1/4 distance from the top, a more natural position for my thumb than center.
[Android Software Development] DutchDogg54:
Backup would be sweet, but I've trained myself to remember the changes I make so when booting up a fresh rom install it only takes me a minute to get LMT back to where it was..even with colors (I've installed fresh probably 100 times since starting to use LMT, it's a problem, I know).

For screen off, I'd recommend this very simple app that respects Android's Smartlock http://xdaforums.com/android/apps-games/app-screenoff-soft-screen-offrespects-t2993259

Just install it and then map whatever you want on LMT to the app - there's no interface, just locks the screen when elicited.

I have the same desire; my solution is to set to top and then lengthen the activation area. I set mine to about 1300, I think. That brings the activation area down to about half way down my 6P.

Edit: Ninja'd by OP :)
[Android Software Development] noname81:
So why not just set it to "top" and adjust the length until it's big enough for your needs?
[Android Software Development] 530farm:
The reason I'm not a fan of this solution as I don't like the activation area running up to the top corners, as it can cause accidental activation when reaching for overflow and hamburger menu buttons. Also, if you activate two high up on the screen, the to portion of pie can be cut off. And the reason I don't like using Center, and increasing the length, is because it gets in the way with apps who have screen edge gestures.
[Android Software Development] DutchDogg54:
I've definitely had the overflow menu problem, but I've learned to tap in a bit from the edge because I know LMT is there, just like using the keyboard space button - I tap a little higher. (Yes, I know about the keyboard listener, but I don't bottom pie gone on keyboards.)

It would be cool if you could set the length and then "slide" it up and down an edge with an up/down arrow of some kind. Surely not a quick coding affair, so I'll understand if the OP isn't jumping up and down at this suggestion. :silly:
[Android Software Development] noname81:
Actually what I can easily do, is to offset the activation area, if the gravity is set to bottom or top. Then it'll be just below the action bar or above the navbar. I think this will already solve your problem.
[Android Software Development] chikimonke:
This may not be wide spread, but I've noticed that Pie won't activate over the top of Link Bubble windows on my N6P. I'm guessing it has to do with the "Draw On Top" permission in MM and LMT and Link Bubble are fighting with one another, and LB wins. I did have LB installed first, though not sure if that makes a difference. Not sure if there is a log that would be helpful with this or not, but let me know.
[Android Software Development] DutchDogg54:
That would be the bees knees amigo - you keep the punches coming, bro!
[Android Software Development] urnamese3:
[MENTION=1864347]noname81[/MENTION] would you ever consider adding an option to invert the colors?

Sent from my quantum computer yëyě
[Android Software Development] noname81:
What color do you mean? Actually you can already configure every color in LMT. :D
[Android Software Development] urnamese3:
My bad, didn't explain myself correctly: I meant the option in settings - accessibility (not 100 % that it's the right name) and there you'll find color inversion (subcategory of display)

Sent from my quantum computer yëyě
[Android Software Development] Linuxx84:
Noname81 kill app function don't work with jelly bean on latest beta. Please fix it...