[RC-FAQ]>> CM12 Frequently Asked Questions for Motorola Moto G [Updated: 2015/09/08]

matmutant

Senior Member
Mar 17, 2011
3,379
4,741
0
~/
andrux-and-me.blogspot.com
[RC-FAQ]>> CM12 Frequently Asked Questions for Motorola Moto G [Updated: 2015/09/08]

[SIZE=+3]Frequently Asked Questions[/SIZE]
[SIZE=+2] Motorola Moto G

[/SIZE]


Read Before Asking Please

[SIZE=+1]This a short list of frequently asked questions in this device forum and the answers often given as a response. It should serve as a starting point for gathering knowledge and finding solutions to many common problems. Please only post in this thread with feedback on how to improve this document. Do not post "Thank you" type responses. If you have additional questions or require more help, try to find an existing thread or create your own. Do not use this as a general help thread.[/SIZE]

To Browse quickly the FAQ and find what you need, Ctrl+F is the key feature ;)
You may search in Motorola help topics too

Table of content :


 
Last edited:

matmutant

Senior Member
Mar 17, 2011
3,379
4,741
0
~/
andrux-and-me.blogspot.com
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:
  1. download ROM and gapps
  2. Reboot to recovery
  3. 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.
  4. Sideload from Computer or install from storage depending on where the download was completed)
  5. wait
  6. Reboot
  7. wait (may take more than 3 minutes)
  8. 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]

  1. Enable Dev settings (multiple tap on "Build Number" in /settings/about phone/)
  2. Go to Dev settings
  3. 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 :
Code:
su
Code:
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 @attack11
  • 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:
  1. Plug device to PC
  2. Code:
    adb reboot bootloader
  3. Code:
    fastboot erase modemst1
  4. Code:
    fastboot erase modemst2
  5. 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,
Code:
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 @wskelly

[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:
Hi,
XT1033: bootloader unlocked, rooted, stock rom 4.4.4
TO: 5.0.2
Flashed 4118 bootloader, as detailed in http://forum.xda-developers.com/moto-g/help/rc-faq-cm12-frequently-questions-t2996087
It was successful.

Followed http://forum.xda-developers.com/moto-g/general/guide-how-to-flash-root-cyanogenmod-12-t3090805
formatted system, data, cache, wipe-cache (recovery: clockworkmod-6.0.4.7)

installed CM, Gapps
CM: https://download.cyanogenmod.org/?device=falcon
Gapps: https://www.androidfilehost.com/?fid=96039337900114916

After rebooting, the phone is stuck on the Cyanogenmod boot icon (blinking cat face) since past half hour.
Please guide how to debug/recover.

Thanks,

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 @luca020400 who modified the way proximity sensor is checked to get closer to motodoze's way)
Here the fork : http://forum.xda-developers.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 @AChep '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://forum.xda-developers.com/mot...-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:
Code:
fastboot flash partition gpt.bin

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

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

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


*​


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
 
Last edited:

Marco_Mena

Senior Member
Jan 21, 2012
86
7
0
I'm having issues with the camera. Both the cyanogenmod camera and the good camera aren't taking any pictures. Both apps open and otherwise function properly, but whenever I try to take a picture it just doesn't work: the animation of a taken picture occurs, but then nothing happens. What can I do? This had been a persistent problem for the last couple of nightlies.
 

Shub77

Senior Member
Dec 30, 2014
241
79
0
I'm having issues with the camera. Both the cyanogenmod camera and the good camera aren't taking any pictures. Both apps open and otherwise function properly, but whenever I try to take a picture it just doesn't work: the animation of a taken picture occurs, but then nothing happens. What can I do? This had been a persistent problem for the last couple of nightlies.
You can try this, read on from post #255: http://forum.xda-developers.com/mot...ficial-cyanogenmod-12-nightly-t2994749/page26
 

jglm4u

Senior Member
Oct 12, 2011
719
104
73
Ok I just came back to my Moto g. And now that I would like to flash a cm12 rom I don't know which one because theirs more than 5 cm12 roms out there!!!.. Can anyone point me to the one that is best to flash plz.
 

Shub77

Senior Member
Dec 30, 2014
241
79
0
  • Like
Reactions: jglm4u

mystic0101

Member
Jan 12, 2015
5
0
0
camera

Initially the camera seems to work. I can reboot and the camera works for a few hours. After a few hours it stops working. It takes a pic and then doesn't save it...This has been the case since the first official nightly.

I'm sure it will get ironed out! So far, working mostly great otherwise!

XT1045 & cm-12-20150114-NIGHTLY-peregrine.zip
 

Shub77

Senior Member
Dec 30, 2014
241
79
0
Initially the camera seems to work. I can reboot and the camera works for a few hours. After a few hours it stops working. It takes a pic and then doesn't save it...This has been the case since the first official nightly.

I'm sure it will get ironed out! So far, working mostly great otherwise!

XT1045 & cm-12-20150114-NIGHTLY-peregrine.zip
Ok, phase 2 :) Me and others are trying out this one: http://forum.xda-developers.com/showpost.php?p=58171653&postcount=296

I just flashed it, and I will try not to reboot for a day or so, 'cause the problem seems to arise after some time, as you said in your post. :) Right now camera is working well.
 

mystic0101

Member
Jan 12, 2015
5
0
0
Ok, phase 2 :) Me and others are trying out this one: http://forum.xda-developers.com/showpost.php?p=58171653&postcount=296

I just flashed it, and I will try not to reboot for a day or so, 'cause the problem seems to arise after some time, as you said in your post. :) Right now camera is working well.
Got it :good:
Downloading and reflashing now! I'll report back!

---------- Post added 15th January 2015 at 12:16 AM ---------- Previous post was 14th January 2015 at 11:30 PM ----------

Got it :good:
Downloading and reflashing now! I'll report back!
That kernel doesn't seem to be working for my...wasn't able to boot for some reason :(
Don't know what's up.

Reverted back to the latest nightly. Maybe have more time to play with it later...
 

Homigura

Member
Sep 1, 2014
10
0
0
camera?

Please, i'm having issues with the camera since i was trying to use early versions of CM12 ...

Camera loads up, but when i click to shoot a photo, the picture freezes, and nothing happens. Tried with Google Camera ( and updated version) , with Motorola Camera ( and updated version) and several apps, like Whatsapp,Snapchat,etc...

Anyone knows how to fix that, or a previous version where the camera works?
 

lilsidsri

Senior Member
Oct 18, 2014
217
212
0
Hyderabad
for taking a pic when its not saving

just press and hold befolre hitting the capture button

I'm using moto camera
& i press & host the screen for about 1 sec & it captures the pic and saves it
 

Shub77

Senior Member
Dec 30, 2014
241
79
0
Please, i'm having issues with the camera since i was trying to use early versions of CM12 ...

Camera loads up, but when i click to shoot a photo, the picture freezes, and nothing happens. Tried with Google Camera ( and updated version) , with Motorola Camera ( and updated version) and several apps, like Whatsapp,Snapchat,etc...

Anyone knows how to fix that, or a previous version where the camera works?
Read a coupl of messages before yours...

Got it :good:
Downloading and reflashing now! I'll report back!

---------- Post added 15th January 2015 at 12:16 AM ---------- Previous post was 14th January 2015 at 11:30 PM ----------


That kernel doesn't seem to be working for my...wasn't able to boot for some reason :(
Don't know what's up.

Reverted back to the latest nightly. Maybe have more time to play with it later...
Sad :( I've been using version 01.14 of the nightly, and it seems no problem (of that kind at least) on my XT1032.
Devs suggest to use TWRP latest (2.8.some.thing) as custom recovery.