[G 2014 General] prathameshsd:
Install Android 6.0 Test Build On Moto G 2014 (2nd Generation)

XT1063, XT1064, XT1068, XT1069

By Restoring TWRP Backup Files

& Rooting By Modified Boot Image

[IMG="Android 6.0 Marshmallow on Moto G 2014 XT1068"]https://lh5.googleusercontent.com/-ZPYhUx8n8M8/VmBVh24Tz8I/AAAAAAAAC0k/lxz5166zULc/w963-h571/Preview1.jpg[/IMG]
​

Using this you can taste the preview build of Android 6.0 Marshmallow on your Moto G 2014. This method is very simple as compared to other one which lengthy & involves converting your device model into XT1069 model & later on flashing appropriate modem files. This method just involves downloading the TWRP backup, placing it in your phone & restoring it. No need of PC.

As this is a preview or "test" build of 6.0 it may contain 6.0 specific or Motorola specific bugs present in this ROM. You may face occasional lags, stutters, incompatibilities, force-closes, reboots once in a while on your Moto G 2014 model. This TWRP Backup contains system files of Brazil XT1069 which were flashed on Global XT1068 model & later backed up using TWRP 2.8.6.0.

This backup works on all Moto G 2014 models.Tried & Tested On XT1063 : Global Single SIM, XT1064 : US/Canada Single SIM, XT1068 : Global Dual SIM & XT1069 : Brazil Dual SIM.

#include
/*
* Your warranty is now VOID !
*
* I am not responsible for bricked devices, dead SD cards,
* accidental data wipe or a thermonuclear war.
* If you have any concerns about steps included in this
* guide please do some research before trying it!
* YOU are choosing to make these modifications & if you
* point the finger at me for messing up , I will laugh at you.
*
* GOOD LUCK !
*/

TWRP Backup ROM Details

Android Version : 6.0 Marshmallow

Android Security Patch Level : November 1, 2015.

Baseband Version : Will Differ As Per Your Phone Model

Kernel Version : 3.4.42, Fri Nov 13

System Version : 24.11.10.retbr_dstv.retbr.en.BR retin

Build Number : MPB24.65-10

Status : Non-Rooted

Requirements

Unlocked Bootloader : Status Code 3 (Check in AP Fastboot Mode)

Bootloader Version : 4882 or higher (Check in CPU-Z App, AP Fastboot Mode)

TWRP Version : 2.8.6.0 (Check in TWRP Recovery)

If you dont have it follow these below methods, only then proceed further.

Unlock Bootloader, Update TWRP : http://xdaforums.com/moto-g-2014/general/xt1063-t3018818

Update Bootloader

By Flashing Latest Stock Firmware : http://xdaforums.com/moto-g-2014/general/official-stock-firmware-5-0-2-lxb22-46-t3019612

By Flashing Latest Bootloader : http://xdaforums.com/moto-g-2014/general/bootloader-update-t3060007

Steps

Go in TWRP recovery > Tap on Backup > Select backup location from top bar > Select "System + Boot + PDS" > Swipe to Backup > Go Back > Reboot to system. This process will create TWRP directory inside Internal Storage or External SD card depending what you have selected.

Download the 6.0 TWRP backup file (615MB) zip from here : https://drive.google.com/file/d/0B3k7qoMwi-L4d2RyRmIzNWQ0aFU/view

Extract the contents of the zip. You will see "marshmallow_titan" folder, open it & you will see "2015-11-22--20-17-22_MPB24.65-10" folder.

Using ES File Manager or a PC, go to your TWRP folder inside your Moto G2 where you have backed up your previous ROM.

Open TWRP Folder, inside it there should be a "BACKUPS" folder, inside it there should be a folder having your "Serial Number" as its name.

Open that "Serial Number" folder & copy the extracted "2015-11-22--20-17-22_MPB24.65-10" folder in this "Serial Number" folder.

Finally it should look like this : Internal Storage or External SD Card > TWRP > BACKUPS > *Serial Number* Folder > 2015-11-22--20-17-22_MPB24.65-10

Go in TWRP recovery > Wipe > Factory Reset > Go Back

Tap on Restore > Select the location of the copied "2015-11-22--20-17-22_MPB24.65-10" folder from top (Internal Storage / External SD Card) > Select 2015-11-22--20-17-22_MPB24.65-10 > Select System + Boot > Swipe to Restore > Go Back

After going back to Main Menu of TWRP > Reboot > System. It will prompt to install "SuperSU" > Select "Do Not Install"

Be patient, 1st boot will take a long time. Around 15-20 mins to boot into system.

Rooting

Do not flash SuperSU zip via TWRP to root this ROM. It will result in a Bootloop !

You need to boot into system first. This ROM needs a special boot image to be booted up previously & then any SuperSU 2.4x or higher zip can be flashed later on.

Root Here : http://xdaforums.com/moto-g-2014/general/root-root-moto-g-2014-android-t3255711

Comments

Edit 1 : Works flawlessly on my XT1068, no FC's no bugs. Calling, SMS working on both slots.

Edit 2 : Root, Xposed framework & RRO Layers working.

Edit 3 : XT1063 & XT1064 users are facing SMS issues.

Fix : http://xdaforums.com/showpost.php?p=64067474&postcount=110

Original Source (Use Google Translate) : http://www.htcmania.com/showthread.php?t=1102169

Credits

[MENTION=6065596]Rijul.A[/MENTION] for hosting the TWRP backup files.

[MENTION=4460557]srinuchry[/MENTION] for the screenshots and [MENTION=7018637]karan_master25[/MENTION] for helping me to flash XT1069 firmware on my XT1068.

[MENTION=5046876]MarckozZ[/MENTION] for providing XT1069 Marshmallow 6.0 Test OTA Zip.

[MENTION=6450174]Emerson1[/MENTION] for his thread "[ROOT][XT1069][MARSHMALLOW] Root Moto G 2014 on Android Marshmallow 6.0 RETBR".

[MENTION=1756189]fr3d0x1[/MENTION] for his SMS fix for XT1063 & XT1064 users running 6.0 Test Build.

Please Hit THANKS if this thread helped you !​