yashsingh1/xdaforums huggingface dataset:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
@ allEncrypt0rs:

You can change your encryptionPW with the following line in a shell [ensure you are root]:

vdc cryptfs changepw password <currentPW> <newPW>

And you can verify it with:

vdc cryptfs verifypw <passwd>

If you get an "answer" with a 0 (zero) at the end, all went well.

If you get an "answer" with a -1 (minus one) at the end, something went wrong, probably a faulty password.

Please DO a backup of your files!

It worked for me without any issues, but this doesn't mean that it will be the case for you.

If you want more to read: https://source.android.com/security/encryption/full-disk

PS: It can work with a terminal app but I strongly recommend to use adb with another PC for this.

Don't close the terminal window on the PC until you can successfully reboot your MotoZ.

Why not to close it? If you mistyped something, you can look at what you did wrong.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Abhilash.shekar:
Actually they do

I reverted back to stock and then installed twrp after which I used twrp to install twrp and VoLTE started working again
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

Will you try to release an update today?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
please don't ask for ETAs my friend

https://www.androidfilehost.com/?fid=962021903579488735
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Ok, sorry.

Won't happen again.

But thanks for new build. :)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] tasar:
And is Volte now working with new build ??
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
I don't know, sorry, but I don't USE VOLTE.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
No,

i'll tell you personally whenever i fixed this volte :cyclops:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
which is the latest Moto Mods Platform are using with this ROM?

I'm asking just for knowing if new Moto Mods are available for using with this ROM

regards

Enviado desde mi XT1650 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Jeik:
This rom features the 2.0 one. It should support the 2nd generation of mods.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

I wasn't able to flash the latest Turbo Z kernel at the newest update of RR.

My fault?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] StefanV3:
It seems to be a fault of you because i flash it with no problem...

StefanV3

Gesendet von meinem XT1650-03 mit Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Thanks, I'll try it again later.

Edit: tried again, was successful.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] vivekdn2504:
can u give me stock OS link ? which version you flashed?? 7.0 or 7.1.1 ?? from where you get the version?

---------- Post added at 09:09 PM ---------- Previous post was at 09:07 PM ----------

can u give me stock OS link ? which version you flashed?? 7.0 or 7.1.1 ?? from where you get the version? ? ?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Can't you use Erfan ROM?

It's the Stock ROM, just flashable, but I don't know if VoLTE works.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Abhilash.shekar:
Stock 7.0

I reverted to stock 7.0 I'll send you the link via direct message are u trying to revert to stock if so you can revert to stock 7.0 in case you have never updated then u can go to 6.0 which is very stable & if you want to update to 7.1.1 first revert to stock 7.0 then I'll sned you another link/thread where you can generate a link for update OTP

---------- Post added at 04:05 PM ---------- Previous post was at 04:04 PM ----------

As far as I can tell VoLTE works

---------- Post added at 04:06 PM ---------- Previous post was at 04:05 PM ----------

As far as I can tell VoLTE works
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] 7bob:
This link unfortunately doesn't work. Could you fix it or post your article somewhere else? That would be great!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Just use the pdf version, it's same
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
is there another kernel that works with last build?

Enviado desde mi XT1650-03 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] StefanV3:
Hi,

i use erfanoabdi's TurboZ Kernel. It works great.

I tried flar2's EX-Kernel but camera is not working.

Btw, @ erfano latest rr build 20171106 works great.

StefanV3

Gesendet von meinem XT1650-03 mit Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
Camera not working with 1029 build also...

I will test the new build.

The camera works at the beginning but later it stops.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Benni:):
For me only 1080_60 is not working on 10/29.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
also [MENTION=6298645]erfanoabdi[/MENTION]

Camera works right after a reboot. But some time later I get "failed to open camera"...

The logcat has no errors when opening OpenCamera.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] hpbrasil:
Use app Câmera Motorola...
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
You really think this will make a difference?

I used it (OpenCamera) before with an older build (I think from september) and it worked there. So the app isn't the issue, I believe.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] N4MC0D:
I can't install any magisk modules. No errors but when I reboot it no modules is showed on modules menu. Has anyone run into the same problem? :(
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
I have to remove (inside TWRP) /system/addon.d/99_magisk (or somewhat with magisk and a number in the name) before I flash the ROM.

Otherwise magisk is being flashed twice... maybe you need to do that also. (Make sure system is mounted!)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] N4MC0D:
So...

1 - delete (inside TWRP) /system/addon.d/99_magisk

2 - Flash Magisk twice

That's right?

Another option would be uninstall all magisk and flash it again.... :confused:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
no...

1. delete /system/addon.d/99_magisk

2. reflash ROM (once)

done

While ROM is being flashed, magisk will be flashed too.

If your problem persists, try to clear data of the Magisk Manager app.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
can't update moto mods app via Play Store

last moto mods works with 1106 build?

regards

Enviado desde mi XT1650-03 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
Did you do a search in this thread?

It was mentioned before by erfanoabdi.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
Went back to RR after 3 months of ErfanRom. Working great so far except the JBL Soundbooster 2 App doesnt work so i cant use the DIRAC Panorama Sound :/ Maybe because its not the newest version of Moto Mods?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] SamLehman617:
Anyone having issues where your phone will die with no warning when it gets below 15ish percent? I'm wondering if my battery is dying, but I'd like to make sure it's not a software thing.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
Haven't experienced this... which build are you using?

Maybe it might help if you delete a file,

/system/bin/mods_camd

but I haven't had problems with 15% bat since the nougat kernel sources.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
what version r u using?

Enviado desde mi XT1650-03 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
Im using the latest 14 November Version. To be clear, the Soundboost 2 mod itself is working, but the app to control it crashes right after start. So i cant use the full features of the mod like the DIRAC Panorama Sound.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
somethings wrong with this log

did you start my adb command then connected the mod ?

because in this log no mods attached
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
Did my log work? I wasn't sure, but the file size is bigger than his so fingers crossed.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
your log is good but it's also weird (seems like the mod is attach and detach continuously)

so i need kernel logs too please when your phone freezes, on rebooting use key combo to boot straight in recovery

and in recovery->advanced->terminal:

adb shell cat /sys/fs/pstore/console-ramoops > sdcard/kernel_proj_logs.txt

send kernel_proj_logs.txt for me here. tnx
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
I did detach and reattached it cause I reread what you said. I'll do that and send logs shortly

---------- Post added at 01:28 PM ---------- Previous post was at 01:27 PM ----------

Im getting a adb not found message back
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
Ok, I did the first log again. Also I couldn't get adb on my devices TWRP terminal. But I used TWRP copy logs to get the kernel log. Let me know if that didn't work.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Emirati:
No, but maybe because i had to hard reboot the device? Because whenever i connect the mod and try it the phone freezes and i have to reboot. Also I'm unable to run adb shell commands in TWRP.

So I've taken the logs after the device was rebooted.

Please let me know if I'm doing something wrong.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Emirati:
I did the same thing as [MENTION=529552]kuruptnation[/MENTION]. Hopefully this time the log files are more helpful.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] hpbrasil:
I will wait for the correction of the items responsible for the sound, such as volume and other things ... The Moto MODS until it is not so necessary, better to correct first those of daily use:laugh:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
There's an issue with sounds? Mine are fine, loud and clear. Must be lucky.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] lollyjay:
No problem with sound on mine :confused:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] hpbrasil:
Call Speak....
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
Oh I'm really sorry

My bad

Use this on TWRP terminal :

cat /sys/fs/pstore/console-ramoops > sdcard/kernel_proj_logs.txt
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
I'm still not having any luck. Not found
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
I'm back and I think I got the logs.

Crossing my fingers!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
thanks this is helping :good:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
new version (12jun) is available to download

please test Projector Mod,(hope to work this time)

**Do NOT flash ProjMod_fix.zip**
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
I'm on it!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
Didn't work. You want me to clean flash since I did flash that fix file earlier? Though flashing the new build should have overwritten that right? I got more kernel logs.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
ah :(

no dirty flash is OK, tnx for kernel logs

but i need logcat too

please do not detach mod
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] kuruptnation:
New logs
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
how many times i have to say

"send logs to help development"

:crying: :crying: :crying: :crying:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
Im pretty much a noob when it comes to that so i dont really know how :S

Edit: sent you a private message with my logs. hope you can work with it! Thanks!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
I'm really want to help development, please tell me how can I help, which app do I have to install in order to share my log?

regards

Enviado desde mi XT1650-03 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
flash this zip
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
could I try too?

also, I want to update moto mod app, just in case if my future Moto Mod (Gamepad) doesn't work

I want to test all, this ROM is excellent

Enviado desde mi XT1650-03 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
the app still crashes as soon as i start it. maybe its a problem with the app itself it got very low ratings in the store too :(

heres the link to the store if you wanna try yourself https://play.google.com/store/apps/details?id=com.harman.jblsoundboost2&hl=de
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] erfanoabdi:
take logs again after flashing that zip
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
Force close

I can't share my log

alogcat doesn't work

Enviado desde mi XT1650-03 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
[MENTION=6298645]erfanoabdi[/MENTION], I'm having some new issue since build of 6th november. (kernel is the one in the ROM)

My USB-soundcard (the one I'm having issues since the beginning) now stops working randomly. Logcat shows nothing but dmesg:

[ 1583.846849,2] smbchg_heartbeat_work: EB Input 0 mA, PMI Input 0 mA, USBC CL 0 mA, DC 900 mA
[ 1583.846874,2] smbchg_heartbeat_work: Step State = NONE, BSW Mode OFF, EB State DISCONN
[ 1583.847021,2] smbchg_charging_en: Charging Enabled when OTG Enabled: Fix
[ 1583.850841,3] healthd: usbc: Unknown power supply type
[ 1583.860754,0] usb 1-1: USB disconnect, device number 2

As I understand some fix to enable charging while using an otg-device does something and interrupt the connection.

Any advice on how to disable it?

The weird thing is, with the 20171106 build this problem was random, sometimes it worked for a very long time, but then it began to interrupt.

But with 20171114 I get this nearly instantly... but I use this build only since today, so this might be a coincidence.

Btw. I need to donate you on christmas because of your efforts on this device and especially this ROM.

As soon as there is a stable LineageOS with MotoMod compatibility (keyboard MotoMod is coming in a few months), I will switch to that ROM. (With XPosed and GravityBox I can enable nearly all of those RR mods.)
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
What soundcard are you using? I got a Dragonfly Red here which i tested briefly and worked fine.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
[MENTION=8556691]ninetylol[/MENTION], it's an older batch of this one -> https://hifimediy.com/Sabre-9018-Type-C-DAC

More info you find here -> https://xdaforums.com/showpost.php?p=73289331&postcount=497

It doesn't have a separate power source, so everytime USB-C of the Moto Z stops providing power, it's over.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
The Dragonfly Red is USB powered too. I didnt do any long listening sessions since i flashed RR, maybe ill have some time tonight to share my observations.

However i had this issue before on ErfanRom when i replugged my Powermod during listening. I had to restart the phone (with the mod attached or detached is irrelevant, just dont change it after you boot the phone) to remove this problem.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
I don't have a power mod but this will change in the future.

Thx for the advice!

My USB-soundcard isn't always recognized when connected to the phone, so I have some general issue with it. I thought that it might be some USB power issue, but if it works for you, there must be something else.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
any progress? or anything else i can help with?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] StefanV3:
Hi,

Is there any way to raise the volume of speaker? I tried so many tweaks but nothing helps...

StefanV3

Gesendet von meinem XT1650-03 mit Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
I did a longer listening sessions last night (~90min) and didnt have any problem with my Dragonfly Dac. So its not a problem with the rom. Maybe its your usb-otg-cable which is defect?

Cheers!
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
There is no usb-otg-cable, just the usb-c cable directly soldered to the pcb of the soundcard.

I also did a longer listening session last night and it worked for over 90 minutes without any problem. Then suddenly the soundcard shut off. I replugged it, then it either shut off instantly or in less than a minute. There was no difference if I heard to music or not, it just shut off.

I then switched back to a bluetooth device with a 3.5mm jack, which still sounded better than this crappy adapter Lenovo gives us.

You could of course say "then it's a problem with the souncard", I have to test that yet (on the PC) but I guess it's not... because it always worked without any problems on my PC, even for longer than 90 minutes.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
new Moto Mods are coming

I've just bought Moto Gamepad and another Moto Turbo Power Pack

maybe tomorrow I'll test those babies and check if this will work with last build of this ROM

Regards

Enviado desde mi XT1650-03 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
[MENTION=8556691]ninetylol[/MENTION], I just tested my soundcard via microUSB -> USB-A + USB-A -> USB-C adaptors for about 3 hours, no problem with it.

I will do a more thorough test in a few days.

I am convinced that the new problem isn't the result of my USB-soundcard, I believe it is the new feature (charging while otg connected).

Guess I should begin to try to make my own builds and seek for a little support on kernel changes. I think erfanoabdi might want to help but he/she can't or is out of ideas. I cannot program but I can make sense of some things and with a little help I should be able to change the code. erfanoabdi already showed some reference where I could begin (kernel commit of the moto-team on usb power).
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
Moto Gamepad runs flawlessly

the problem is Moto Turbo Power Pack, needs an update that this ROM can't let it install

Enviado desde mi XT1650-03 mediante Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
Use "adb logcat" for this.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Ivan_Conde:
the problem is Moto Turbo Power Pack Mod, needs an update that this ROM can't let it install

i hope this willl help [MENTION=6298645]erfanoabdi[/MENTION]

regards
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
You should quote\mention [MENTION=6298645]erfanoabdi[/MENTION] instead of me.

I cannot program and I am also not involved in this project.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] velis74:
Light sensor & compass don't seem to work for me. Not sure how to generate appropriate logs for this. Any hints?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] StefanV3:
Hi,

No problems here. Tested with GPS-Toolbox.

StefanV3

Gesendet von meinem XT1650-03 mit Tapatalk
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] zeezk_here:
Does substratum theme works on this rom?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Benni:):
Yes. The oms version of the theme.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] crnkoj:
Sorry, probably it's been already asked, but I cannot find it. Do the ir sensors for display glance work, so that one can have display glance like in stock rom? Thanka
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Jeik:
You have to go in setiings>Display>Ambient Display to enable it
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Guth13:
Works in Moto Z Droid Force XT1650 02??
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
This Rom is for the Moto Z

not

the Force
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
Did you test that?

I have a normal Moto Z, not force but my bootloader tells me "sheridan" instead of "griffin". The only difference between those two is force touch, so in theory it should work.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Sπake:
Hi guys

I'm new in this, can you help me please I can install this rom in my phone it's stuck "in patching system unconditionally" please tell me what I'm doing wrong. The bootloader it's unlock and the system is nougat 7.0 rooted and z kernel v1.4 is installed thanks in advance, and sorry for my bad English
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] icondeg:
Logs from the last build (22-11-2017)

[MENTION=6298645]erfanoabdi[/MENTION]

I'll present to you my logs from last build

in this logs shows that i can't update my Turbo Power Mod and updates from Play Store

Regards
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] vache:
Could you give more details on current behaviour ?

What does "ROM can't let it install" mean ?

Edit : Damn, ninjad.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] icondeg:
means that with last build i cant install the update from Play Store

in my last post i share my logs from 22-11-17 build

regards
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
[MENTION=6298645]erfanoabdi[/MENTION]

I still have problems with my battery life (about 9 hours in STAND BY!!), with the latest build too, but it's normal, if I activate airplane mode (strange??).

Do you also have these problems?

Do you need logs?

EDIT: after making a clean flash of the newest version the problem seems to be gone.

I don't know why, but know it works. O.o

EDIT 2: I've found the problem: I had installed the Xposed Framework, but it doesn't like this ROM.

After uninstallation everything worked fine again! :D
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] ninetylol:
You dont have to update the Moto Mods app from playstore (you cant but you dont have to anyway). My Turbopower Mod is working fine with the rom!

The JBL Soundboost2 app still crashes when opening though, even with the newest version :crying:
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] shmp30:
Hi. i flashed this rom today.

When i plug phone to the charger i see a little led light on left side of front flash, is that a normal thing?

Can i turn this off? for some reason i get anxiety when see that abnormal light.

Thanks
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] djeniuss:
I would like to test this ROM. How do I begin?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Yes, you can disable the LED, search on the settings app for "LED" and you will find the option to disable it.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] stunner2002:
Thanks. Was going nuts about the battery drain. Did you try it with latest Xposed (88.2)?
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] Loader009:
The red light is part of the proximity sensor, there is also one on the right of the fingerprint sensor and is sometimes enabled when the display is off.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] TobiPeter:
Yep.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] RoderikAndara:
Yes, you can turn it of. it's a hidden LED. You can it use as Accu-Led and/or as notification LED. Search in preferences with the keyword "LED" to find easy the LED options.
[Moto Z ROMs, Kernels, Recoveries, & Other Developm] shmp30:
Thanks guys, turned off that LED light. :highfive:

Hi.

1 - Unlock Bootloader (you will lose all of your data) - LINK

2 - Install Custom recovery (TWRP) - https://xdaforums.com/moto-z/how-to/guide-how-to-root-moto-z-supersu-t3551113

3 - Flash magisk to root the phone

4 - factory reset the phone from TWRP then flash the ROM.zip and the gapps.

Done