yashsingh1/xdaforums huggingface dataset:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] @rafaelreis:
So for you I think you need to upgrade to Android Oreo first, then you can then upgrade to Android AOSP Pie from @ Albert97 ok. I believe after that it is better to format everything and download the latest build of [MENTION=4480917]Alberto97[/MENTION] to have on your device without any problem!

---------- Post added at 06:49 PM ---------- Previous post was at 06:49 PM ----------

So for you I think you need to upgrade to Android Oreo first, then you can then upgrade to Android AOSP Pie from @ Albert97 ok. I believe after that it is better to format everything and download the latest build of [MENTION=4480917]Alberto97[/MENTION] to have on your device without any problem!

---------- Post added at 06:59 PM ---------- Previous post was at 06:49 PM ----------

[MENTION=9759901]albert97[/MENTION] would you like to receive humble help from us to exchange your battery for a new one? I think everyone who likes Moto Z Play with their construction of Android AOSP will want to help, I help okay. Just tell me how I can.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] masivb:
Thanks [MENTION=4480917]Alberto97[/MENTION]!

Flashed the latest AOSP-9-20190609-addison-alberto97.zipand everything runs great. My only problem is how do I remove the ASOP SMS app? I just want to use the GApp Messages version but it seems that it is the only ASOP app that cannot be Force Disabled in settings?

Edit:

I fixed the ASOP problem, I just switched from using Gapps Nano to Gapps Stock...but now Google Photos won't load up. Anyone else experiencing this?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
July security patches are out.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] allrightlite:
That's really fast. Faster than Google :D
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
Damn you're quick, even if this is not your main anymore.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Bunt007:
Thanks mate, appreciate your work.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
[MENTION=4480917]Alberto97[/MENTION] I don't know if when you build this rom you make volte works, but, if you apply in this rom, how i should proceed to make it work? In stock rom brazilian volte works good but i don't have many knowledge on signal, call e etc, and i don't know if has a way to make it work if possible, if it's possible can you give some information of how to? Thanks in advance, and you're job in here is amazing, thanks by maintain this :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] i286:
Thanks [MENTION=4480917]Alberto97[/MENTION] I finally migrated to this rom when my work decided to cancel our enterprise management for Android 8 devices.

Your rom is a winner compared to the stock rom I was on, however I stumbled on a problem when trying to enroll the device into Android Enterprise MDM. It uses a separate work profile and this fails to work stating unable to find Google Play Services (I am using opengapps nano).

I did many reflashes to try figure this out but then I did some digging and turns out there is one or two XML files that requires the google play store services listed to function.

Files appear to be "vendor_required_apps_managed_device.xml" and/or "vendor_required_apps_managed_profile.xml"

From Logcat, there is many messages about "GooglePlayServicesUtil: Google Play services is missing." which also shows up in MaaS360 logs when i try to enroll

Please find the information here: https://source.android.com/devices/tech/admin/implement

It looks like adding the 2 or 3 lines to vendor_required_apps_managed_profile.xml does the trick

Reported here with fix (2nd link below): https://www.reddit.com/r/LineageOS/comments/87dy69/android_for_work_afw_cant_create_work_profile/

Fix here: https://github.com/googlesamples/android-testdpc/issues/22

It looks like it was implemented in LOS: https://review.lineageos.org/c/Line...lues/vendor_required_apps_managed_profile.xml

I thought Id try to have a look into adding this myself, then I realized I am far too incompetent to even get started.

As a last resort, I have decided to ask kindly would it be possible please if you at least have a look if this is something you could possibly entertain to implement.

Appreciate your time, thanks!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] keulieminogue:
did the update from June to July version - runs smooth so far.

one thing... after 5-7 Days of usage the applications in the background like musicplayers stopp unexpectedly, they crash.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] rafaelfurt:
Does anyone indicate any Particular zip/add on that works nicely along this rom, in particular? I've using FDE.AI but it's buggy on Moto z play - draining my battery away. So, would there another to optimize this rom?

Thanks.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] 勾俊凯:
No matter CDMA or ccmc, as long as you open the LTE network, you can't talk normally. If you make a call, you will be disconnected. If someone else can't get in, you can send and receive text messages.

---------- Post added at 04:45 AM ---------- Previous post was at 04:39 AM ----------

And the camera is always out of focus, very blurry, can only pull the distance of the phone to focus.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Surprize:
About the camera issue, enable camera2 api and it should be gone

Be warned, you lose HDR (at moto app, other apps might recognize it), slow mo and 1080p video stabilization (it was ugly anyways).

I've experienced some strange call drops, after a minute talking it suddenly goes silent, but it is very likely an issue with my carrier.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] 勾俊凯:
Before the card is used, CDMA can only access the Internet and can't call the phone. If you drop to 3G, you can make a call on the Internet. Now you only use the CMCC card. No matter how the gms signal can only be used for LTE Internet access, the call ends immediately after a call*#*# 4363#*#*You can't do it in all kinds of modes. Thank you for your help.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] chii888:
I think there's a problem with GAPPS Stock. My Google Photos and Gmail were not working properly, so I unistalled them with Link2SD and reinstalled both apps using Play Store. And now they're working properly.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] marinz:
I have been using the ROM for a few months, the system is extremely fast and responsive, no crashes, the apps working very well (eg Signal Telegram Skype Satispay Sygic Gmaps K9mail .. never a notification lost),

Excellent ROM built by Alberto97 nothin 'else to say.

Motorola should be ashamed of letting this device die.

I'll never buy a Motorola product again.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] 勾俊凯:
CDMA card default 3G network can guarantee online and normal communication, if you switch to lte4G
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] TazZ.HD.:
Just installed this ROM -everything so smooth so far!

Love to see, that I can use Photo Sphere again. (hadn´t flashed a ROM for years..)

Edit: some Google apps are in English language and not German (system language). Is this ROM-related?

And Voip HD isnt working,too? Voice quality is not good?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] eskimos2000:
Love that rom, I was brave enough and flushed Artx 2.0 kernel and battery efficiency is insane, I am a medium user (a bit of web, small games, a few calls, Spotify, youtube) and I can get 2 days! On 3 years old phone, very happy.

One issue only after reboot I always need to set up custom ringtones as they revert to default. Everything is good but only that ringtons, weird. It was even before I flushed kernel, so this is rom. Any suggestion, please?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] hamudistan:
Take a root file explorer and copy your ringtones into the phones ringtones file somewhere under /data/media
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] eskimos2000:
Worked Thx mate :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Rashad79:
would you share your configurations for Artx 2.0 kernel?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] marinz:
OT - I found this command to disable popup notifications, maybe it can be useful to someone (https://xdaforums.com/oneplus-6t/how-to/guide-to-peeking-pop-notifications-off-t3864399)

adb shell settings put global heads_up_notifications_enabled 0
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jatiyanon:
How about this ROM (this thread) compare to LineageOS?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] irekj:
I use both. LOS16 is more customizable and has Privacy features. The stock AOSP by Alberto is very stable too and works great with Gapps and Magisk. Both roms are very good, but I prefer LOS16 due to more features for my liking. AOSP I use with GAPPS, LOS16 I use with no gapps and just f-droid apps (wonderful experience).
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] eskimos2000:
I just use it as it is, default. Maybe I start tweaking but so far so good.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Jatiyanon:
Thanks, but now, no more update for LOS16 , what you ganna do next?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] rpfs:
This rom is a great piece of work! Thanks.. It's the first time I'm using a custom rom in many years. :D

I'm not sure I like this new Android version very much. Perhaps it's also because stock does look quite different from the original Moto version. All those sliders and gestures and the new app overview are not really my thing. I've always preferred button actions over swipes and all but that's just the way it is.

I have one real issue with this rom and that's echo. That is to say the people I call hear themselves when I put them on speaker. And I put people on speaker a lot. In the past that wasn't an issue because the stock rom filtered out background noises and echo really well and people could hardly tell whether they were put on speaker or not. So this is quite troublesome for me. Is there some known fix that can take care of this particular problem?

Fortunately I made a system image backup before I flashed this rom so I can always go back to stock but I'd strongly prefer to keep using this one, despite my other small problems with it that I described. I'm sure I wll get accustomed to it soon. :angel:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] yenonmc:
volume rocker on headphones

Thanks for creating this beautiful rom, highly appreciated.

I just have a single issue running this rom: The volume rocker on my headphones can only decrease and pause, but not raise volume. If the raise volume button is pressed, it seems the volume dialog is instantly dismissed, suggesting input is coming through. Also, the little bell icon seems to flash shortly before it closes.

The headphones have been confirmed to work with a Samsung A500. If you need the headphones themselves, those are the SoundMagic E11C.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] irekj:
Not too worried. I am a light user and don't need up to date device. I was thinking to get the Moto X4 but the Z Play is still working fine with stellar battery life (I do use a battery limit magisk module). As for the future, some affordable official LOS supported device, maybe the OP6.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Delwor:
Display bug during call

Only bug I've found so far is when dialing a number, and while i am recieveing a call: display turns off, and cannot turn it on again until the call is over. It was latest build, clean install without restore data. No screen protector installed.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] TazZ.HD.:
There are two dialer apps installed. maybe you can change it?

And how is your voice quality in phone calls? Mine is very low, because HD is not active.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Delwor:
Didn't find two, just stock Phone one. Even tried to check with System app remover, no luck. Phone calls sound great, no problems there.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] TazZ.HD.:
ah, now I think I installed the second one by installing Gapps package? !
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Delwor:
Not sure that Gapps are the problem :/ I've installed it too (micro package).
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
August security patches are out. For whatever reason it looks like that Google published September security patches too kernel side in the sources. Those have been picked as well.

This will probably be my last AOSP release.

IMS is enabled for all IMS enabled Brazilian carriers configured in the latest oreo stock release in the latest build. It should only be a matter of configuration at this point since it was reported to be working on other carriers (IIRC). Note that you're still required to create an ims apn yourself. You might want to double check this, your carrier might use different settings but usually these are the fields:

Name: whatever you want, often just "IMS"
APN: ims [I](must be lowercase)[/I]
Type: ims [I](must be lowercase)[/I]
Protocol: IPV4V6
Roaming Protocol: IPV4V6

Fix picked from LineageOS is available in the latest build if you are still interested :)
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
Thanks a lot, Alberto! If you stop your great work, is it possible to share your roomservice.xml file? Thanks a lot in advance.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] @rafaelreis:
IMS Carrier Settings Enabled in Brazil (wow that too)

@ Alberto 97.

Thank you so much for the new construction, your work is very good. I'm glad with each update, just have to thank for everything. You are very good, do not abandon us brother. : : o :Boa:: :Boa: :Boa:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Sure, here you go. Just initialize AOSP manifest (android-9.0.0_r46) and put those in your local_manifests folder. I should have done that a long time ago but I never found the time.

Note that I directly reference AOSP repositories on my local workspace and I checkout everything after every repo sync. That's easier to me when it comes to downloading major releases (I don't have to re-download everything) so I don't really use local manifests. I wrote that down based on my checkout script. All the repositories should be there but you might find typos :p
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
I tried it, after repo sync and starting:

brunch aosp_addison-userdebug

There is an error:

error: art/build/Android.bp:1:1: "soong-art" depends on undefined module "soong-apex"

See attached file. Google can't help me ...
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
You downloaded the master branch instead of android-9.0.0_r46. You have to specify it in the repo init command with "-b android-9.0.0_r46"
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
Thanks, that works better. After a long night and day with repo-sync and brunch - there was this error:

hardware/sensors/motosh_bin/motosh.cpp:22:10: fatal error: 'SensorHub.hpp' file not found

#include "SensorHub.hpp"

More information in the attached file.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] UberJaeger:
Thank you so much for the updates, really appreciate it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Move the sensors repo from hardware/sensors to hardware/moto/sensors
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] masivb:
Thank you for the new security fixes :good: . I'm sad to hear its your last though :crying:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] heysage:
Thanks alot [MENTION=4480917]Alberto97[/MENTION] sir for making this build ❤️
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] masivb:
Anyone know how to pass the ctsProfile check in Magisk? - I am having problems with Google Pay and RBC Mobile Wallet and my mobile transit Presto app, it won't let me NFC on a rooted device - does ctsProfile fix that? I use the magiskHide feature but it doesnt matter it seems - the app can still detect its a rooted device.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
Use module magisk hide props and select a pixel fingerprint(as they always have updates on fingerprint certificate)

Obs. : Module name is MagiskHide Props Config. My mistake sorry
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
thanks for awnser and for this incredible build, i will test later but if not works probably my provider is messing something, thanks for the support
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] eskimos2000:
I am using Moto G6 (9) from props fingerprint and never had any issue with GP since I stopped using pixel fingerprints.

But maybe that's only my experience.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
Great, thanks a lot! First build successful. :)

But it's not so easy like LineageOS. There is no aosp-addison-xxx.zip-file for flashing with twrp-recovery. I tried to flash the image with fastboot, after I can't boot system. Do you have a good tutorial for it? I tried to find it wiht Google, but it's not so easy to find real good and new information about.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
the only problem if the fingerprint is not updated with last security patch, but if its not outdated a lot, don't give any problems, i sugested pixel's fingerprint as have monthly updates and has less chance to get outdated
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] irekj:
Thank you!

Thank you Alberto, I salute you. I am a bit sad to see you go because the Z Play is such a great device thanks to your hard work. Please tell us what will be your next project (maybe I missed the post, sorry), as I will consider switching over to support your work. I sure hope someone as talented as you will continue to build for the Z Play, as it's long from being forgotten, it's a great device IMO. Cheers!
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] djdelarosa25:
Lots of people in this thread don't know how to quote properly.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] klofisch:
Hello,

I have a Problem. After a reboot, my phone shutsdown shortly after the Dialog for entering the SIM-Pin appears.

How can i fix this? I have the version from 11th June installed

Thanks

Peter
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
After compile the AOSP-sources, I tried to flash the new ROM with:

fastboot flashall

There is this error:

Device version-bootloader is 'moto-msm8953-C1.82'.

Update requires '0xC180' or '0xC182'

What can I do? I'm using Albertos ROM, newest build? What is the difference to my own build?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] @rafaelreis:
My humble opinion.

Is your device on the latest bootloader 0xC182?

I think that might be it.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
Sure, see attached file.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Alberto97:
Sorry, I'm late. These are the steps I use:

. build/envsetup.sh
lunch aosp_addison-userdebug
make bacon -j[I]*your_pc_threads*[/I]

This way you'll get the usual zip package.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] daljo25:
I just installed it with the TRWP and when rebooting it stayed in an infinite boot, any solution?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
What ist "it"? Your own ROM? Latest Alberto-ROM? Or . .. ?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] daljo25:
Sorry, i install last Alberto ROM, and never complete the first boot, only Infinity boot un Android logo
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
did you clean cache, dalvik, system and data before install? once i forgot and got bootloop.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] daljo25:
Yes, my procedure is clean all, install rom + gapps, reset

Install 2 times and the results is Infinity boot logo
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] guenterm800:
Thanks a lot, this works: I have the zip-file for TWRP.

But the ROM don't boot, it stops by boot-logo.

I compared Albertos-zip-file with mine, there are only diffs in the files metadata, boot.img, system.new.dat.br and system.transfer.list.

Here are all my steps:

repo init -u [url]https://android.googlesource.com/platform/manifest[/url] -b android-9.0.0_r46
copy the local_manifests-folder (aospp.xml, external.xml and roomservice.xml)
repo sync
. build/envsetup.sh
lunch aosp_addison-userdebug
make bacon

The build is succesfull, but the ROM does not start.
[MENTION=4480917]Alberto97[/MENTION]: hope you can help again, sorry for inconvenience.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
Weird... Check if your bootloader, modem, etc.. is updated If It is, redownload rom and gapps and try tô flash
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] LuisJugo33:
Hi guys!! I was reading all the pages of this post and I am trying to install Android 9 on my Z play bike but I am afraid of losing the IMEI or being in an infinite boot !! Does anyone give me any recommendations to avoid? I am in Android 8 stock. previously with my Nexus 6p it was quite easy to do this.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Surprize:
You don't have to worry about that if you're coming from Oreo.

That's very unlikely to happen anyways.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] LuisJugo33:
good thank you!!! And how do I know which one I have to download? arm or arm64? and in case something goes wrong? can you flash again oreo stock? Sorry for my English, I am using Google translator : /
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Surprize:
arm

You can return to Oreo withou any issues, you can also do a "nandroid"backup (full system backup) before installing so you can return to your old ROM easily
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] LuisJugo33:
And what gapps do you recommend? because there is no link in the main post: /
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Surprize:
The most similar package that Motorola uses in the stock rom is opengapps-mini
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] TazZ.HD.:
I tried this, too several times. Now I dont have bootloops anymore, but Pixel Launcher is crashing (like before with bootloop)

I just mini gapps now and full/super gapps.

Edit: Even the second last update isn running. I have seen, my IMEI is gone., too.
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] @rafaelreis:
Encrypt Android 9 pie AOSP

Can anyone tell me if encryption works in this ROM without losing any data or bootloops?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] jst98:
Yes, without no problems
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] @rafaelreis:
Thank you :Boa:
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Glas109:
Any solutions for these bugs?

Sorry, I don't wanna do this, but I'm tired, I'm new on this BTW

1. No SIM detected My (My imei is fine, but can't detect the SIM, also I reinserted it, I'm Mexican btw, so that can be a problem? Anyways I backup my EFS and Modem, but the second one can't be restored)

2. When I turn off the screen, after some seconds... The phone restarts! Anyways it starts normal, kinda annoying

PD: Actually SIM Toolkit detects it, can say it bc my company is called "weex"

Any solution?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Surprize:
Clean install?
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Glas109:
Maybe, i mean, i used to have Lineage 15.1 (Oreo), but due i had an outdated bootloader (0xC112), i had to install stock oreo (without booting for evade encryption) and i installed aosp, first it used to detect my sim, but i got Imei 0, restore the EFS and the IMEI got back, but the OS stops detecting the SIM
[Moto Z Play ROMs, Kernels, Recoveries, & Other Dev] Surprize:
I suggest you try the stock oreo rom, and if everything works fine, wipe data and install aosp9, it should work fine