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

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" if it is like the example bellow set to power_key_press the device didn't reboot it power off.

[ro.boot.bootreason]: [power_key_press]

Check the prop using :

Kernel Audiutor app > logs section > search in a log > mark getprop > search key word "reason".

If the Random power off are related to battery, BCL can help mitigate the problem.

BCL can be controlled via BHB27 kernel adiutor Power and battery section.

Lowering the BCL Max frequency or Making the number of hot unplugged core higher will help to mitigate the CPU power.

But if the problem persist is necessary to change the BCL low and high voltage threshold to higher values to make BCL to start sooner, the recommendation is to set they to 3700mV (Low) and 4000mV(High) and if the problem is resolved after that, the device stops randomly power it self off, lower the values 100mv it until you find a perfect value, or if the problem persist make the values 100mV higher.

Is also recommended to set the battery "Automatic power saver" from default 15% to a higher value, with is today max at 25%

If the device did just reboot just share a log as recommended on next post.

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

This is a Nougat and U 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 ROM phone app also has a dedicated option for voice calls