[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] T_I:
​

This ROM is in testing stage and not ready for daily use at the moment​

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community

First I would like to thank the following developers :

[MENTION=5426059]ashwin007[/MENTION]

[mention=4493088]Shreps[/mention]

[mention=5989241]elandoido[/mention]

[mention=68428475]vache[/mention]

I used the sources from [MENTION=5426059]ashwin007[/MENTION] as a starting point and combined them with Motorola's stock kernel sources to base this cm 13.0 build on.

Before you start

THIS ROM IS TESTED ON XT1622 UNTESTED BY DEVELOPER ON ANY OTHER MOTO G4

*
* Your warranty will be voided !
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*

About the ROM

Current state of ROM : BETA

What works/is Fixed

Boots

Sound (excl ringtones)

Mic

GSM (ril)

Dualsim detection XT1622

Wifi

Camera

GPS

Ringtones (no wav/mp3 support)

What is not working

Important

Single sim support not working.

Minor

Flashing red border around screen. (seems sound related)

Instructions

How to install CM13.0

If you don't have TWRP yet, get it from here : TWRP by bender1987 (Use the flash option, not just boot)

Download the ROM and the Gapps that are located below to your device

Reboot into TWRP by holding VOL UP + POWER + HOME on boot (Needs to be tested)

In case things go wrong make a backup

After the backup has completed return to home and select Wipe and then Advanced Wipe

Now ONLY tick Dalvik Cache, System, Data and Cache

After ticking those, Swipe below to wipe

Once the wipe has completed return to home and select the ROM

After you selected the ROM swipe below to install it

After the ROM has installed flash the Gapps

When all of this is done, reboot into system, wait, and enjoy CM12.1

How to ROOT

In CM 13.0 Enable the developer options

Select Root access

Select Apps Only

Done

Questions and bug reporting

The following questions will be ignored

Inappropriate questions

Forced orders, EX. : "PLS FIX!!!!!!"

ETA's

Often repeated questions usually by the same user

Requests that are out of CM's framework (Ex. Adding Samsung Apps)

How to report a bug/issue

Explain exactly what happens

Mention a log if you can (Please use hastebin or any other paste site to keep the thread clean)

If you can't mention a log, explain as precise as possible when, why and where it occurs!

Changelog

**********
29/08/2016 - Extra prop settings in init for non dualsim XT1622 models, based on work from [mention=68428475]vache[/mention].
**********
26/08/2016 - Slight prop changes in single/dual sim support. Maybe enough to get it to work on single sim. (dual works)
**********
25/08/2016 - Rild and libril build from source.
**********
24/08/2016 - Recompile, camera works again.
**********
23/08/2016 - Single sim settings (prop only) taken from XT1622 single sim and included. Build with detection. (Dual sim mode tested)
- Camera not working (something broke it)
**********
21/08/2016 - Disabled single/dual sim detection, limited 1 build to single sim for those who want to test if this could work. (20160821 build)
**********
20/08/2016 - Switched single/dual back to sim detection. (20160820 build)
- Changed default CPU governor from performance to Interactive to limit heat buildup.
**********
19/08/2016 - Switched single/dual sim check to hwrev based. Needs to be tested. (dualsim XT1622 works)
**********
18/08/2016 - Single sim needs to be tested, 2 'method' builds uploaded to test
- Enabled several decoding codecs, including aac and flac. (ringtones work better now)
- Did something not nice with sound, flashing red border around screen.
**********
17/08/2016 - Dual sim detection works (single sim detection working, sim not working)
- Memory option detection added. Settings split up between low mem (2G) and high mem (>2G) devices.
- Full cm phone support included
**********
15/08/2016 - [MENTION=5426059]ashwin007[/MENTION] git a working build, cloned his device and vendor tree to learn where I went wrong and to see if I had some minor changes done correctly.
**********
05/08/2016 - First bootable image using Motorola kernel (permissive)
**********
06/07/2016 - First compile (I hope)
**********

Downloads

Latest CM 13.0 build : https://www.androidfilehost.com/?fid=24591000424960822

All CM 13.0 releases can be found here :

All CM 13.0 testing releases can be found here : https://www.androidfilehost.com/?w=files&flid=90423

All CM 13.0 beta releases can be found here :

Recommended GAPPS by opengapps.org : http://opengapps.org/ (I use pico)

Source

All our sources can be found here : https://github.com/Moto-G4

Screenshots

DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU

XDA:DevDB Information

CyanogenMod 13.0 for Moto G4, ROM for the Moto G4

Contributors

T_I, ashwin007, shreps, elandroido

Source Code: https://github.com/Moto-G4

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Based On: CyanogenMod

Version Information

Status: Beta

Created 2016-07-06

Last Updated 2016-08-29