[Moto G Q&A, Help & Troubleshooting] matmutant:
FAQ part #1

[SIZE=+1]Q1: How do i Install CM12?[/SIZE]

From CM11 or CM12: simply download ROM zip and gapps, then Flash

From other ROM:

download ROM and gapps

Reboot to recovery

Format /system, /data (data content will be lost, but should not impact /data/media), /cache and wipe dalvik-cache.

==> this is for CWM, on TWRP, better use the factory-reset option.

Sideload from Computer or install from storage depending on where the download was completed)

wait

Reboot

wait (may take more than 3 minutes)

enjoy!

Rq:

For Falcon, Nightly releases on official CM12 are reported working on XT1032, XT1033 and XT1034 and GPE XT1032. The XT1028/XT1031 (non-LTE 3G CDMA) are not able to get data, calls and SMS

For Peregrine: ?

[SIZE=+1]Q2: How to get root?[/SIZE]

Enable Dev settings (multiple tap on "Build Number" in /settings/about phone/)

Go to Dev settings

Root access : Change to Apps and ADB

[SIZE=+1]Q3: Where is the Terminal?[/SIZE]

It is now disabled by default, simple enable it in Dev Settings by toggling "Local Terminal"​

[SIZE=+1]Q4: What's that # at the to right corner of my screen sometimes?[/SIZE]

This icon warns you that an app or service is currently using its granted root access, maybe your file manager or some automated actions like Greenify auto hibernate is running (in the background?)​

[SIZE=+1]Q5: How to set SELinux state to Permissive?[/SIZE]

Open terminal (see Q3), type :

su

setenforce 0

Done!

An app does it too : SELinux Mode Changer

More about SELinux :

SElinux and Android

SELinux explained for Gentoo systems

script to enforce Permissive SELinux state for GS5

[SIZE=+1]Q6: Having Issues with minfree settings and RAM management?[/SIZE]

Get this script by [MENTION=4359180]attack11[/MENTION]

Paste it to /etc/init.d, set permissions to -rwxr-xr-x and edit extension to .sh to file manager can execute

Execute the script manually at each boot if your SELinux state is anything above Permissive (init.d scripts are not granted SU rights when in Enforcing mode).

[SIZE=+1]Q7: Having issues with GPS?[/SIZE]

Erase modems as explained on this post:

Plug device to PC

adb reboot bootloader

fastboot erase modemst1

fastboot erase modemst2

Reboot

[SIZE=+1]Q8: Why can't i install Xposed on CM12?[/SIZE]

Take some time to read rovo89's post about his own project and why Xposed isn't supposed to work (yet)​

[SIZE=+1]Q9: Why do i get screen flickering (until i turn off/ON screen) and how to get rid of it? (nightlies 20150315-->20150324)[/SIZE]

The answer involves upgrading your bootloader, be extremely careful.

Follow this short step-by-step guide​

[SIZE=+1]Q10: Why does the installation abort? (nightly 20150324+)[/SIZE]

If the error message you are facing is the following,

this package support bootloader(s): 0x4118: this device has bootloader 0x4113.
E: Error in /data/media/0/cmupdater/cm-20140324-NIGHTLY-falcon.zip
(Status 7)
Installation aborted

then The answer involves upgrading your bootloader, be extremely careful.

Follow this short step-by-step guide

If for some reason you can't (or don't want to) update your bootloader, then read this post by [MENTION=3101826]wskelly[/MENTION]
​

[SIZE=+1]Q11: How do i report an issue to get some help?[/SIZE]

Here is a nice example of how to report an issue:

It says the device model, the Bootloader version, the ROM (the one coming from and the one where the problem occures), and some more informations about the process.
​

[SIZE=+1]Q12: Why Ambient display and gestures are gone and how to get it back?[/SIZE]

Ambient display and gestures were handled by motodoze which conflicted with Android's way of turning screen On and Off, this application from motorola has its sources closed and thus cannot be modified by CM team to handle the conflict.

Motodoze has been nuked (20150903)

But we have a new king to rule the kingdom: AcDisplay !

​

(or its fork, built by [MENTION=5778309]luca020400[/MENTION] who modified the way proximity sensor is checked to get closer to motodoze's way)

Here the fork : http://xdaforums.com/showpost.php?p=62668999&postcount=4587 (using motodoze implementation for gestures)

Here is the official app : https://play.google.com/store/apps/details?id=com.achep.acdisplay&hl=en (using [MENTION=3685328]AChep[/MENTION] 's implementation for gestures)

Play with settings and tune the app to get either the closest experience possible you were used to, or make it fit better to your own needs.
​

[SIZE=+1]Q13: Having issues with your partition table?[/SIZE]

When installing CM you may experience being stuck at "Patching system image unconditionally..." mainly if you device was converted to GPe.

This happens because the recovery tries to write a block that exceeds the partition size (/system of the GPe partition table seems to be smaller than the CM one) ==> this also happens when you want to upgrade a MotoE (Condor) from stock 4.4.4 to CM12.1

In that case the following may help you (Falcon ONLY): http://xdaforums.com/moto-g/general...-gpe-stuck-t2970842/post57444986#post57444986

If you are running any other device than a Falcon, then download a stock firmware (Lollipop), extract the gpt.bin and flash it:

fastboot flash partition gpt.bin

[SIZE=+1]Q35: [?][/SIZE]

[...]​

[SIZE=+1]Q35: [?][/SIZE]

[...]​

[SIZE=+1]Q35: [?][/SIZE]

[...]​

*​

Forum Rules | New Users Guide | XDA Tour | Report Posts​

This FAQ is part of a Recognized Contributor Group Initiative. Please look for a similar FAQ thread when visiting another device forum.​

A special thanks to everyone who contributed to the production of this FAQ​