yashsingh1/xdaforums huggingface dataset:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
You have to enable it from developer option ..

Select root for apps and adb ...that's it

Note:- you have to flash addon-su from here [1]

[1] https://download.lineageos.org/extras

First flash addon-su ... Then go to developer option and under root access select app and adb ...enjoy
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] midhunmanohar:
Battery graph from last night. Looking very good, just 5% drop in 8 hours
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] ramsaicharan:
Hi anyone, please see the target location or sets to flash, is that an issue that causes my phone not to boot... It stays on the boot logo forever
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] defilip69:
oh ... dint know that :PP

but can i remove hashtag from statusbar? :P
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] midhunmanohar:
I don't think you can remove it. It's an indicator to show the root option is enabled in the developer options.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
[MENTION=5719174]defilip69[/MENTION]

Definitely you can remove it .... That's the magic of opensource

Do the following ( backup is always your friend ) AS USUAL DO IT ON YOUR OWN RISK I'M NOT RESPONSIBLE IF YOU BRICK YOUR DEVICE

1. Go to Settings > status bar > icons

2. Uncheck and re-check one of the items (to make sure the required settings entry is created)

3. Backup the file /data/system/users/0/settings_secure.xml

4. Open /data/system/users/0/settings_secure.xml with a text editor (as root)

5. Search for "icon_blacklist"

6. you will find something like this in a line

<settings id="260" name="icon_blacklist" value="other,icons" package="com.android.systemui" />

7. If value is not empty, just append ",su" (with a seperating comma):

Note:- id may be different in your device in this case it's 260

8 now your line will look exactly like following

<settings id="260" name="icon_blacklist" value="other,icons,su" package="com.android.systemui" />

9. Save the file

10. Reboot

Enjoy ...:cowboy:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] midhunmanohar:
This is cool. Didn't know that. :victory:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] defilip69:
oh ... nice ...il try later :D

and do you know is there a way to port motos ambient display? :P
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] DeividMS:
Arm or Arm64?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jimi Mack:
Or you can install SuperSu from the Play Store and uncheck notifications... I find that easier.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] midhunmanohar:
Moto Z Play firmware is 32bit, it should be ARM.

---------- Post added at 03:24 PM ---------- Previous post was at 03:23 PM ----------

Okay, I have unrooted my phone cuz my office email can't be configured on rooted phone.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
That only works with SuperSU.... But not for Los root add-on
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dpavani:
Anyone has any news about that?

I went back to stock because of this issue with my GPS not fixing fast enough but I am never satisfied with stock.

I read that we can fix the GPS on stock and then flash LOS over. But does anybody know how exactly to do it? I mean, do I erase data and a cache?

Tks
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jimi Mack:
I have used the LOS add on in the past and SuperSu as a method to remove the hashtag. Odd if no longer works.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] FreedFromDeath:
Use this app to remove the #.

https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] defilip69:
i have triggered rotation ... and on icon_blacklist search i dont get other,icon,packages.. i got rotation. ( see orange line i screenshoot)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jatinkhatri:
Just add ,su after headset ...like "value=something,something more,headset,su"
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] kaue152:
Hey folks, I don't have words to say thanks for that rom! Stock rom from Moto Z Play is awful. I get 12 hours of SOT since yesterday. Using streaming, whatsapp, web navigation and a some videos. I believe that I found two bugs.

- I tried change the caller from the stock for by the Google, and after I disable that app come with rom , the Google app basicaly don't work, the screem stay all white and I only can turn off the calling rebooting the phone. I'm not sure if this happen because to work the phone need the stock app.

- Audio FX not working, i tried with Spotify, Deezer and Pulsar Player. And I tried equalizer from Play Store and nothing working too :(

Thanks again for developers!

[IMG="SOT"]https://uploaddeimagens.com.br/imagens/whatsapp_image_2017-05-21_at_20-06-14_-1-jpeg[/IMG]

[IMG="SOT"]https://uploaddeimagens.com.br/imagens/whatsapp_image_2017-05-21_at_20-06-14-jpeg[/IMG]
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jimi Mack:
Thank you for the tip.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] defilip69:
omg ... thank you ... you are the king :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] user822:
Does anyone here NOT have slow GPS?

I found somewhere else it might have to do with the mobile provider/APN config

If someone has normal and fast GPS, I'd appreciate to know your carrier/APN config

Thanks!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
Never had issue with GPS.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Not the kernel one (that just makes the detection faster) but this one (just wanted to be sure it was fixed before saying it and this is the second day it works fine). I'm not going to release a new build just for two files though. If you want to make it working just download them from github (Click on "View" and then "View Raw" from the previous link) and replace the old ones in /system/vendor/lib (remember keeping the same file permissions as the old ones else you may get a bootloop).

You may need to enroll fingerprints again... if Settings doesn't allow removing them, go to /data/system/users/0/fpdata, remove user.db and eventually user.db.bak. Now go to FP Settings and you should be able to remove them (it may take few seconds).

Interesting but camera is a dead point, our stack is closed source. Only a Nougat update from Motorola can fix it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dansdantas:
Nice job man! Did what you told, about FP and i now it's working again. Thank you!

Edit: Is there a way to lock with FP?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] MuyKurioso:
Totally awesome, updated the FP files and is so awesome, I'm just having and issue with FB it closes so often that it's really annoying. Thanks for the hard work, I can't thank you enough for the ROM. :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Enable fingerprint home button from Settings -> Gestures and then set "Turn screen off" from Settings -> Buttons -> Home long press action.

I'm unable to do this directly from the kernel for some reason...
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dansdantas:
Nice! Thank you man!

Edit: [MENTION=4480917]Alberto97[/MENTION] are you having a kernel wakelock that does not let enter on deep sleep? its netmgr_wl . know something about it?

http://cloud.tapatalk.com/s/583d3bd072b2d/Screenshot_20161129-062303.png?

http://cloud.tapatalk.com/s/583d3bebb1a37/Screenshot_20161129-062242.png?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] MuyKurioso:
I'm having lots of random reboots with the last update. Anyone else?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jon7701:
I havent tried it yet, but have you already tried wiping your caches? If that fails you could backup your data partition and try a clean flash and see if you stil get random reboots.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] MuyKurioso:
It was a clean install.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jon7701:
Downloaded the rom and wiped caches, and I am also having the same issue. I've had about 3 reboots so far 2 of them cold reboots and 1 a hot reboot. It seems to only happen when the phone screen is off.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] pillopoulos:
[MENTION=4480917]Alberto97[/MENTION] Why is that happening?

Στάλθηκε από το XT1635-02 μου χρησιμοποιώντας Tapatalk
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jon7701:
12/3 build seems to fix the wakelock from cyanogenmod settings, but it has random reboots. From what I can tell the random reboots happen when the phone tries to go to sleep (locking the phone with nothing going on in the background usually causes it to hard reboot.) You can take the boot.img from the 11/19 build and flash it which will give you the old kernel back which stops the random reboots, but you will lose wifi (it wont turn on). Wifi might be fixable through copying some files from the 11/19 build to the 12/3 build.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dekuyt:
Oficial cm14 is possible? Or not??
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] AxlAndr3:
Câmera is Working ??
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jon7701:
As it says in the OP, and has been talked about in the thread several times, no. It will not be fixed until Lenovo updates our device to 7.0 or 7.1.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] AxlAndr3:
Okay, thanks, Sorry for this, i'm using Xda Labs app, sometimes bugs...
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] akshay rohida:
Has any1 tried volte? Does it work? [MENTION=218829]ALBERTO[/MENTION]?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
I've released a new build which includes december security patches and Android 7.1.1. Also the blobs have been updated to the latest Motorola Marshmallow release (MPNS24.104-44-7). I've switched back to v3.18.24 kernel so random reboots should have been fixed.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] pillopoulos:
Flashed it, 2 hours ago and I had two random reboots. Any thoughts?

Στάλθηκε από το XT1635-02 μου χρησιμοποιώντας Tapatalk
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] MuyKurioso:
Yeah, lots of random reboots, unlike the last build when it rebooted whenever it tried to sleep, I can't seem to find any event related to it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jon7701:
Same here, still getting random reboots on 12/10 build. Flashing the boot.img from the 11/19 build still keeps the reboots away, but also still kills wifi.

Edit: I shouldnt say random reboots, its the same kind as the 12/3 build which seem to only happen when the phone is allowed to go to sleep.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Hitachy:
After almost 6-7 second.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
Often 2-3 seconds, sometimes more than 30 seconds.

it is randomly, not after reboot.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] user822:
Very odd.

Could you tell me which carrier APN config it is using please? From the settings, the profile name

Edit: I might have fixed it. I got the full APN config from my carrier, and also enabled the "supl" server from google and the correct ntp server in the gps.conf
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] douglasvbarone:
So... Did it really fix it? Can you provide instructions for me to test it too?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] user822:
I think it did, but only when my rough location can be found from cell towers. No promises though.

I am using this config at the moment, but it was just guesswork, I am not saying it is the ideal config to use

That goes into /system/etc/gps.conf and you might want to use other NTP servers depending on your region

Let me know how it goes
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] kankonq8:
when support Moto Mods ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
I tried to change gps.conf

The gps-fix is slower than before :(
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dpavani:
Can anybody tell me if LOS has the option "Double tap to wake on doze" on the Ambient Display" settings, please?

AOKP has it and for me it is a must, but the ROM itselt has several bug yet.

Tks.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] DeividMS:
24 hrs with this rom. I'm in love.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dachau:
Is this ROM equal or better than the current Stock ROM in terms of battery life, responsiveness and camera quality?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
Good question, but I think it would be very hard to be better than stock. On stock I have amazing battery life from over 15h sot with watching video and web surfing. If LOS 14.1 get 20h sot, I would switch to it immediatly ;)

But, there is one thing which I missing on 7.0 stock: dynamic app shortcuts. Hope we get 7.1.2 on stock, too :p
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] derdjango:
Anybody knows how to get the incipio battery mod to show the percentage and set it to efficiently mode?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
No way at the moment.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] derdjango:
That sucks. Flashed it yesterday, the mod does not even charge through the phone while off. Hope mod support will come soon :good:

Good thing I still have a griffin laying around, the mod is at 0% :mad:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] josip-k:
There's not much need for it anyway on the z play
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] defilip69:
hey guys ... is there a way to make fingerprint sensor to lock the phone like on stock? and do you know is back glass below sticker scratch resistance?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] xxBrun0xx:
You can use the app below to lock your phone with fingerprint. Worked well for me during my time on this rom.

https://play.google.com/store/apps/details?id=com.superthomaslab.fingerprintgestures

The back plastic of the phone is not scratch resistant (although I'm guessing it can be replaced with a skin, so not a big deal).
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] defilip69:
thank you for the app :D

but ... you can remove plastic from back .... and im curious is it gorilla glass or what?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] defilip69:
app works ... but when is enabled sometimes i have delays on navigation bar o.O
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] hayashiyaw:
Hello guys! Sorry for inconvenience.

In that ROM, performance and battery life improved in comparison with a Stock Rom?

And, an functionalities are better or equal than Stock?

thanks a lot!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
Dear Moto Z Play Lineage League,

I got these 3 new modules submitted to the official Magisk repo, waiting for approval:

MagicGApps [7.1.x]

https://xdaforums.com/apps/magisk/module-systemless-beansgapps-mini-7-1-x-t3611362

Miracast + Tethering Enabler

https://xdaforums.com/apps/magisk/module-miracast-tethering-enabler-adb-t3611335

Magisk-Essentials-All-in-One Installer

https://xdaforums.com/apps/magisk/magisk-xmod-1-0-3-one-massive-t3610313

About the First One

You may be asking yourself, "But... why?"

Well, this systemless implementation of GApps makes it very easy to customize and update the included Google setup.

For instance, ever seen that feature in Titanium Backup, "Integrate system app updates into /system?" Exactly. Now you can do that without writing to the system partition and then repack the module with the updated changes, if you are into doing this sort of thing (more info in the thread).

Moving on, you can add/replace/remove things from the package to suit your needs the easiest and fastest way possible (you'll see some of these cool tweaks if you follow the link). One more advantage: your ROM updates will be slightly faster, since GApps don't have to be backed up and restored afterwards every time you flash a new version of your ROM (i.e., LineageOS adon.d backup feature). AND my favorite, you can make regular backups of your magisk.img file to simplify future ROM setups even further!

I'm looking for additional testers. Initially, I created the modules exclusively and specifically for LineageOS/AOSP Moto Z Play ROMs. Now they are universal (device wise only). The more testing and report data we get, the more I'll be able to improve upon what I've already accomplished. Any help with that will be greatly appreciated and beneficial to all.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] hmnk:
First of all, thanks [MENTION=4480917]Alberto97[/MENTION] for providing us this Official Lineage OS ROM.

Now I've been using this ROM for a few weeks now, and I must say its pretty stable, great battery backup, good usability.

But I still shifted to Stock Nougat (Just didn't want to do this).... Why I shifted back to stock??

This ROM being great for daily use, it is having some tiny bugs that are enough to throw off most potential users having similar usage patterns as me, in my opinion. The bugs being:

The internet / data connectivity goes off automatically very frequently and it needs me to manually turn off and then manually turn data back on to get the data connection working. This is particularly annoying when I don't even know that my data is off until I turn the screen on and see the 'X' of doom on the signal icon in the statusbar. Yes I call it the 'X' of doom becasue this is really annoying.

The moto camera isn't fully functional. I know this isn't something one should expect from a custom ROM, but the Moto Cam behaves very erratically. It wouldn't turn on many times, it would crash, etc. Even the camera that comes with Lineage OS (in-built) does not justice to this potentially brilliant ROM. Sometimes, photos and videos are saved with nice (sarcastic) green patches on them.

Bluetooth issue 1: When I connect the phone via bluetooth to my car, the contacts get read initally, then the contacts don't get read. But when the contacts don't get read, the voice command of my vehicle manages to access the contact. I have connected Addison Stock MM and N, 4 more android phones (moto, LG Nexus, Sony Xperia, Samsung), none have such issues regarding bluetooth connectivity.

Bluetooth issue 2: This is probably the least annoying or a bug that one can live with. When connected to a bluetooth device, even when the bluetooth device is practically out of range, the phone still shows as being connected to the bluetooth device.

Now, it is great to have the Official Lineage ROM for us but [MENTION=4480917]Alberto97[/MENTION], can you please fix the above issues or incase I'm doing something wrong kindly suggest me the corrective actions. Really wishing to use this ROM.

Cheers!!

---------- Post added at 07:26 PM ---------- Previous post was at 07:18 PM ----------

Performance: Our Addison is a good performer with Stock ROM it self. No noticeable difference in performance.

Battery life: The phenomenal battery backup of the stock ROM is bettered further by this ROM.

Functionalities: On paper Yes. In reality, there are some annoying bugs which I've mentioned above.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mackers345:
Sorry to be a pain...been searching around on this site for a correct working way to root and install this rom. I am in the UK, on the newest nougat update. I have experience with rooting phones before but people seem to be struggling with bootloop issues, having to reflash boot.imgs, does someone have a safe, correct way to root and flash this while maintaining Magisk as I rely on Android Pay quite a lot. I'm not sure which kernel patches are the newest or which order to flash everything in.

Thanks for your help!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
1. Flash LineageOS.

2. Flash this kernel https://xdaforums.com/moto-z-play/development/kernel-lineageos-kernel-f2fs-safetynet-t3610638.

3. Flash Magisk.

4. Flash GApps (optional).

5. Install yourself into the cache partition (mandatory) just kidding. ;)

Note: if you want to root stock, use this kernel instead https://xdaforums.com/moto-z-play/development/kernel-stock-kernel-f2fs-patched-t3546732/page27.

Hope that helps.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] mackers345:
Perfect, thanks for your help! I'll give this a go tonight :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] leooliveira00:
Thanks!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] leovarghese1232:
Unable to flash opengapps.

Hello Guys.

This is the first time i have posted into this thread . I have a moto z play device. Today I had installed Lineage OS onto my MPZ. After flashing ROM and the supersu(arm64) i flashed opengapps(arm64 7.1 pico latest build). But giving me error 64 : this update cannot be installed on this device architecture. select architecture: arm. Then afterwards I tried to clean flash rom again and install arm version of pico gapps. Still i am unable to flash this package too. Please help me in flashing process. Thanks.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
All currently available Z Play ROMs are ARM. Use ARM GApps and this for root. SuperSU won't work out of the box.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] leovarghese1232:
But I tried flashing the ARM gapps 7.1 pico. Still it's showing the same error: this update cannot be installed on this device architecture. So what can be the possible issue?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] VR25:
Reflash LineageOS first.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] leovarghese1232:
Thank you so much VR25, for helping me out. I actually didn't flash su bin file arm version. So after doing a step by step clean flash(lineage+ su+ opengapps), I successfully got gapps onto device. Thanks once again.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Future updates

Since Motorola introduced with Nougat the possibility of turning off the screen with the fingerprint sensor, starting from the next build the option "Fingerprint as Home" is gone in favor of "Fingerprint sleep" which matches the stock behavior and is implemented in a smarter way (I'm quite late, I know :p). If you are a fan of the home button though, you can restore it with a little modification to system/usr/keylayout/fpc1020.kl by replacing "SLEEP" with "HOME".

I'm also testing a new GPS configuration in attempt to fix its slowness, I'm basically using the oneplus 3 one which enables XTRA data injection and gives to GLONASS position more importance.

With this configuration I still have to experience slowness but I don't have too much time to test currently so if you guys want to try it out you're welcome. I'm leaving it in the attachments; rename it to gps.conf, replace the one in system/etc with this and reboot.

Let me know after some days of tests if you notice improvements or not, please.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] felipevsw:
Thanks for the efforts Alberto!

I have been using this new gps.conf file since last night. I couldn't test it properly this morning when I was driving to work because it's raining as hell here and not even stock works well when it's raining, but I have a question: the original gps.conf (which I renamed to gps.conf.orig) has -rw-r--r-- permissions and when I copied yours to /system/etc/ it got -rw------- as permissions, will this affect its effectiveness?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
This wasn't on 6.0? Good to know. Thought this feature was there from beginning :D Now I can thought about to switch to LOS14.1 :o
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] dpavani:
When you do test if the settings improved the speed of fixing, please, could you tell us?

Tks
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] felipevsw:
That's my main concern as well so I'll sure test this and report back.