[Moto Maxx Android Development] fgl27:
Below are some of the helps and or workarounds for the most occurring issues.

ROOT Use Magiks

GPS / Radio:

Changing/Updating the ROM may cause GPS lock problem, there is two separated help

option 1) Install "GPS Status & Toolbox" , open the app, slide the left option and open "Manage A-GPS state" click in Reset, after repete the process and now click in Download, close the app after receive the OK, wait a few seconds and try a gps lock using the same app, if that doesn't help try again after a reboot, if that doesn't help go to option 2 below

option 2) If the above doesn't help you can try to erase all the radio status

Erase the radio status also applies to the case you have No SIM Card or no Cell Signal level in status bar.

To erase the radio status is very simple just flash this zip "Clean_modem_status.zip" via TWRP no wipe is need, is also recommended to try option 1 after this if you flashed because of a GPS problem.

If after flashing the cleaner you find any problem related to lost of signal, re-try the flash of "Clean_modem_status.zip", if the problem persist, flash latest radio.img version via fastboot (aka "via bootloader")

mfastboot flash radio radio.img

find the radio.img inside the stock ROM xml.zip, some xml.zip and fastboot for windows can be found here (click here)

Random Power off or reboots?

To identify if the device random reboot or simply power it self off there is two ways.

1) If after the device goes black you can't power it up again without plunging the charger, then is because the battery is dead, even if yours battery had good % left before it shutdown yours battery is probably damage doesn't matter if the device/battery is new a battery can go bad simply by charging the device wrong, a wrong way to do it is let the device constantly go bellow 20% as low you let it get worse yours battery will be with time.

2) Check the boot reason prop "ro.boot.bootreason" :

Using the app BHB27 Kernel Audiutor > logs section > search in a log > mark getprop > search keyword "reason".

If the result is power_key_press the device didn't reboot it power off.

[ro.boot.bootreason]: [power_key_press]

On this case, is recommended to set the battery "Automatic power saver" from default 15% to a higher value then the one yours device is power it self off.

-----------------------------

If the result is reboot the device reboot it self

[ro.boot.bootreason]: [reboot]

On this case, is recommended to just share a log, do as is recommended on next post.

Bootloop to TWRP after a Factory Reset (Settings/System/Reset option/Factory reset):

This is a Nougat and up problem, it only happens if you are using a TWRP from the official site (with is not update to properly support Nougat and Up Android versions) or a old version of TWRP, to fix it just flash latest MOD TWRP version from the TWRP xda.

TWRP xda thread Click Here

Pictures access, view, sharing or related:

One thing that I notice regarding permission is if you have a app that access a folder that was created in older OS this app may be able to access this folder but not fully access the files like the below example.

You take a picture or a screenshot and can't see or share it with some apps, the simple fix is just erased/delete the folder with that problem for example the DCIM (camera folder) and or Pictures (Screenshot) folder under Main storage (or any folder were you face a picture or file access related problem), of course you can backup the files to another folders first using a file explorer that can see the files (maybe necessary one with ROOT access), then let the OS service recreate the folder, it will automatic recreates after you take a new picture or screenshot (or manually make the new folder if is a custom folder mane by you), test to see if the problematic app can see after.

USB OTG player:

On latest android version Nougat and above, to play anything from a USB OTG device is needed proper permission, that is not simple to give as the app must request it to be given, so to play anything from a USB driver find a app like this one

VVM XT1254 only

VVM app (VVM may only be accessible via play with the link, click here and chose open with play), VVM may not work correctly google has it on version is free and seems to work 100% Google voice, the in the phone app of b this ROM also has a dedicated option for voice calls