yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] MasterAwesome:
Cyanogenmod 13.0

What works

.SIM

.Dual SIM too

.WiFi

.Camera

.Audio/Music

Custom Features

.Removed NO-SIM icons

.Removed CarrierText when no sim is inserted.

.Added my own optmization scripts.

.More features to come(If you think of something, request in the Features request tab)

What doesn't work

.CDMA SIM connectivity(Fixing)

THIS IS CM12 with my custom modifications and optimizations for both performance and a better battery backup. Device tree and kernel tree are present in my GitHub account(Any changes you feel are good, please use a pull request from your forked repository of mine) Thank you.

[B]WARNING:
"Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, and any kind of problems in your little life of yours.
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."[/B]

Let's get to business

Download links:

Android 5.0.2 builds

Build 1b

Build 2b

Build 3B

Build 4b

Build 5b

Build6b

Build 8b

Build 9b

Build 10b

Build 10b(Mirror)

recovery.img

Android 5.1 builds

Build 11b

Build 12b

Build 13b(Linaro build)

Build 14b

Build 15b

Build 16b

Build 17b

Build 18

Build 19

Build 20

Build 21

FINAL BUILD

Android 6.0 Builds

Build 1.0

Build 2.0

Now the screenies :cool:

[IMG="1"]http://xdaforums.com/attachment.php?attachmentid=3111330&stc=1&d=142106 9405[/IMG]

[IMG="2"]http://xdaforums.com/attachment.php?attachmentid=3111331&stc=1&d=142106 9405[/IMG]

[IMG="3"]http://xdaforums.com/attachment.php?attachmentid=3111332&stc=1&d=142106 9405[/IMG]

[IMG="4"]http://xdaforums.com/attachment.php?attachmentid=3111333&stc=1&d=142106 9405[/IMG]

[IMG="5"]http://xdaforums.com/attachment.php?attachmentid=3111334&stc=1&d=142106 9444[/IMG]

[IMG="6"]http://xdaforums.com/attachment.php?attachmentid=3111336&stc=1&d=142106 9444[/IMG]

[IMG="7"]http://xdaforums.com/attachment.php?attachmentid=3111337&stc=1&d=142106 9444[/IMG]

[IMG="8"]http://xdaforums.com/attachment.php?attachmentid=3111338&stc=1&d=142106 9459[/IMG]

[IMG="9"]http://xdaforums.com/attachment.php?attachmentid=3111339&stc=1&d=142106 9459[/IMG]

Comments

XDA:DevDB Information

Cyanogenmod 12.1(5.1), ROM for the Moto G

Contributors

MasterAwesome

Source Code: https://github.com/CyanogenMod

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Moto G 2013 devices

Based On: Cyanogenmod

Version Information

Status: Stable

Current Stable Version: 18

Stable Release Date: 2015-08-01

Created 2015-01-12

Last Updated 2015-08-01

XDA:DevDB Information

Cyanogenmod 13.0(6.0), ROM for the Moto G

Contributors

MasterAwesome

Source Code: https://github.com/CyanogenMod

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Moto G 2013 devices

Based On: Cyanogenmod

Version Information

Status: Beta

Current Beta Version: 11b

Beta Release Date: 2015-04-02

Created 2015-01-12

Last Updated 2015-12-11
[Moto G Android Development] MasterAwesome:
Instructions

INSTRUCTIONS:

- Use the recovery.img in the downloads section

-Remember to take backups

-Clean to install a new OS

- flash build

- flash gapps

- reboot
[Moto G Android Development] MasterAwesome:
Reserved

12th January 2015: Version :2b

.Fixed TimeService dependencies.

.Optimized better using better compilation args(-O3 flags)

.Fixed Camera libs.

.Fixed random AudioFX crashes.

16th January 2015: Version 3B

. removed kernel same page merging due to loss of memory(FIXED CAMERA!!)

.updated library files from stock 5.0.2

.merged all upstream commits

.syslinked /storage/sdcard1

4th February 2015(Version 8b)

Kernel tweaks

Added SIO ioscheduler

.Added intellidemand cpu governor

.Added intelliactive cpu governor

.Modified interactive governer to give a better battery life.

General tweaks

Modified the init.optimizations.sh for a better optimization at boot(Refer here)

.-O3 flags to build both arm thumbs and the kernel.

7th February 2015(Version 9b)

.Added "prevent unnecessary wakeups" (Enable through display-->prevent accident wake-ups.

.Tweaked OOM-killer of kernel so that it doesnt kill NEEDED processes

-->overcommit_ratio

-->overcommit_memory

.Swappiness increased as a consiquence of the OOM-killer change.

.Carrier text(REDUCED-for complete removal flash this)

.Unnecessary no-sim icons REMOVED

.Merged upstream changes.

.SIO/Intelliactive/Intellidemand removed and will be added in next build. You could flash the boot.img from previous build via fastboot and use these CPU Governors and IO Schedulers)

Since a lot of internal structure of the 'ROM' is changed I suggest you clean flash this version.

Links are HERE cm-12-20150207-UNOFFICIAL-falcon.zip.
[Moto G Android Development] nazz.rule:
Your name says it all.:D Good work, man. Unfortunately, I'm too busy with university right now.:( Will try it this weekend,though. Thanks man and good luck.:)
[Moto G Android Development] MasterAwesome:
Haha :P
[Moto G Android Development] W3ND31:
Thx master! All the best to you!
[Moto G Android Development] Adityadua:
Is this the version in the download link?
[Moto G Android Development] MasterAwesome:
Nope, should be up by tonight.
[Moto G Android Development] W3ND31:
Camera doesn't work... :/
[Moto G Android Development] MasterAwesome:
Hmm... In my screen shot I've posted it, it works, maybe try clean flashing it again or something? Does it crash or hang? logcats maybe?
[Moto G Android Development] sanchit0403:
After reboot camera is not working.
[Moto G Android Development] MasterAwesome:
That's weird, It's working for me... What device are you using? What kind of error messages are you given? Can you try Google Camera? Try the front camera. And report bugs with logs
[Moto G Android Development] Cybertron™:
recovery.img works xt1033 ??
[Moto G Android Development] MasterAwesome:
I have one and it works
[Moto G Android Development] W3ND31:
opens normally, i take a photo but don't save ç.ç i'm at work now, can't take logs... when i reach home i provide them to you! ^^
[Moto G Android Development] MasterAwesome:
Works well in my device, if you come home late, try me newer build i've added some legacy camera libs along with a modified TimeService.apk, that should fix camera and the FCs at the start.
[Moto G Android Development] marcuspereira:
[MENTION=5321417]MasterAwesome[/MENTION] I may probably look stupid asking this, but... did you removed the download link? I can't find in the thread / download section.
[Moto G Android Development] Lemagex:
I think I'm going crazy I don't see a download link
[Moto G Android Development] Cybertron™:
thanks i'm trying in few hours i'm backup my data...
[Moto G Android Development] MasterAwesome:
Hmm. thats weird it was there a while ago and i didnt delete it, looks like its gone along with the devDB settings, O.o and a clone thread is created in the "Android Development" without my knowledge
[Moto G Android Development] chetangole:
Great! Thanks.

At what time (IST) are you releasing the build? We are eagerly waiting.
[Moto G Android Development] cbd dvd:
Your nick not lie
[Moto G Android Development] indrasatrya:
sir, maybe you can look into source from konstat. he's build don't have camera freeze with KSM enable. just suggestion sir :highfive:
[Moto G Android Development] MasterAwesome:
KSM doesn't provide too much of a performance gain and also it drains battery trying to merge the memory and allocating. So better of without it...for now. And CDMA users, can you post your stock lollipop build.prop?
[Moto G Android Development] mbj731:
What do you mean by "stock Lollipop"? There has been no OTA update to CDMA variants...
[Moto G Android Development] MasterAwesome:
Sorry, any working ROM with which radio works.
[Moto G Android Development] mbj731:
That is also a hard one. Ha. What do you consider "working" ? As of now, there are no Lollipop Roms with working CDMA data connection. The closest we have gotten are text and receiving calls I believe.

From working with build props of several builds by different devs, I haven't noticed much change, if any between builds. I've tried several "tweaks" with just about every 5.0 builds out and have come up with nothing really.
[Moto G Android Development] MasterAwesome:
Hey guys,

My computer had to be reformatted so I couldn't upload a build yesterday,sorry about that. Although I had cm12 source backed up so I should be done with the build soon by today or tomorrow. So, again sorry for the delay issues.

Regards.
[Moto G Android Development] MasterAwesome:
New build released

.Added theme manager

.CDMA fixes???

.Vendor changes(Audio libs)

.low vol at calls must be fixed

https://drive.google.com/file/d/0B-Lz9LCHj2xAQW9fbVlMdE1MZkk/view?usp=sharing
[Moto G Android Development] W3ND31:
AEEEEEEEEEEWW! Thx Master! I'll test soon.
[Moto G Android Development] jayc137:
Soft reboots due to FC of a com.motog service (don't remember the exact FC).

Back on the 1st build.

---------- Post added at 10:37 AM ---------- Previous post was at 10:36 AM ----------

I've noticed that when dual sim is enabled, mobile data is slower. Can be resolved by disabling/removing one sim
[Moto G Android Development] MasterAwesome:
Could you provide a logcat maybe to identify which service is causing reboots?
[Moto G Android Development] troytheboy:
com.motorola.motgeofencesvc has stopped
[Moto G Android Development] MasterAwesome:
Here's the recovery compiled from source(Cyanogenmod Recovery), all it supports for now is only flashing roms, no backups. I'll try adding this. Meanwhile here is the recovery : recovery.img
[Moto G Android Development] MasterAwesome:
This should fix the failing APKs Fix.zip

Just install it after wiping dalvik cache and cache
[Moto G Android Development] W3ND31:
fix the settings FC's in keyboard choose?
[Moto G Android Development] sachin123:
I flashed GPE again. And then flashed the ROM.

Still no luck with SMSs.
[Moto G Android Development] MasterAwesome:
Waiting for you guys to report.
[Moto G Android Development] MasterAwesome:
Go back to dual sim stock 4.4.4, install it, or flash a CM-11 , check if RIL is working then flash my cm-12
[Moto G Android Development] sachin123:
I will try that.

But when I flashed an old build of CrDroid(the December 24th build), SMSs started working.

Something is really weird with my phone xD :p
[Moto G Android Development] saurabh258:
I tried the fix on the latest build, system was upgrading apps. After upgrading it rebooted(not soft reboot) and now it is struck at a bootloop.

ROM history

asian soak test

flashed your 3b build

latest build(with com.motorola.motgeofencesvc error

restored to asian stock

latest build with boot loop
[Moto G Android Development] MasterAwesome:
Ah... I'll take a look at it.
[Moto G Android Development] W3ND31:
in mine too
[Moto G Android Development] bharat_goku:
Remove motogeofence apk we don't seem to be using it anymore for GPS anyway
[Moto G Android Development] saurabh258:
I reflashed the latest build, then flashed the fix right after it and now it is working fine.

Just settings FC when choosing keyboard.

RAM management has also improved a little I think. :D
[Moto G Android Development] MasterAwesome:
Logs for the force close
[Moto G Android Development] W3ND31:
it's a cm bug that was fixed in the latest nightly... don't need logs
[Moto G Android Development] MasterAwesome:
Ah I'll merge and upload.
[Moto G Android Development] Mathsiel:
Hi all

I'm having such a hard time trying to boot this ROM. I installed this ROM and when I tried to update the latest version, I got stuck in the rotating cyanogen dude.

I already tried reflashing ROM. Wipe all, but sd with no success.

it seens not to pass this and finish boot into Android.

Any tip??
[Moto G Android Development] MasterAwesome:
Do not use system updates to update your phone. Try flashing over a KitKat ROM , or the last working cm12 without clean flashing it
[Moto G Android Development] Mathsiel:
Thanks for the reply.

I'm trying to sideload a KK ROM but it seems I stuck forever in the booting.

I'll try a CM11 over the current and wait it to boot then I'll report back here.

Anything else I could try?

Do you think flashing stock KK might help?
[Moto G Android Development] MasterAwesome:
If KitKat ROMs are bootlooping its something wring with your way of flashing it.
[Moto G Android Development] Mathsiel:
I understand but can't find the reason it doesn't boot. Anyone can help me troubleshoot it?

I'm with Philz Recovery (tried with TWRP too), then format factory, format /system.

I flashed the ROM (already flashed CM11, CM12 - official and unofficial) then gapps.

It should work right? :rolleyes:
[Moto G Android Development] MasterAwesome:
So wait , no ROM boots when you clean flash it? Even cm11? Try booting cm11 with gapps once it starts dirty flash it with my cm12 it should work.
[Moto G Android Development] MasterAwesome:
Uploading a stable build now.
[Moto G Android Development] indrasatrya:
I hope no system UI FC, sir :)
[Moto G Android Development] MasterAwesome:
Stable v1

1)Merged all upstream commits
2)Settings FC at changing keyboard should be fixed now
3)Removed KSM from kernel temporarily
4)Removed unnecessary proprietary apk which FC anyway

Download here:

cm-12-20150121-UNOFFICIAL-falcon.zip
[Moto G Android Development] indrasatrya:
Downloading now. Thank you

Sir, I just installed. Get system UI FC and reboot. How to solve that problem sir?
[Moto G Android Development] MasterAwesome:
You get systemUI crash still? Works properly here. Let me check again. Did you clean flash or dirty flash, could you provide logs?
[Moto G Android Development] Blaze:
theme

theme engine integrated in stable v1????
[Moto G Android Development] MasterAwesome:
Patch for FC's in SystemUI

Here's the patch just flash it and itll be alright.

Looks like it was just a bad xml file not patched earlier for MSIM. It should work now.
[Moto G Android Development] indrasatrya:
downloading. thank you very much, sir

it's works ,sir. thank youuu :D
[Moto G Android Development] MasterAwesome:
Haha that's great!, Can you send me a screen shot real quick.
[Moto G Android Development] indrasatrya:
sure.. this is, sir :highfive:
[Moto G Android Development] MasterAwesome:
I've managed to add some changes to the SystemUI can you check if it works? If it doesnt reflash the crashFix and you should be good to go.

.Unused SIM icons should not show up as empty/"nosim" icons.
. I just want to know if it runs without a force crash since i did not check the dependencies when i refractered it.
[Moto G Android Development] indrasatrya:
ah, my phone just give launcher 3 stopped and reboot, sir
[Moto G Android Development] MasterAwesome:
Can I get a logcat?
[Moto G Android Development] indrasatrya:
i am sorry, sir. too fast. after show message launcher 3 stopped my phone restart :eek:
[Moto G Android Development] MasterAwesome:
Are you debugging from the computer or using an app? If from computer just run adb logcat *:E and when the phone restarts the logs should end with the launcher close error log.
[Moto G Android Development] indrasatrya:
from app, sir. i don't have PC. i am sorry. i just using tapatalk, sir :(
[Moto G Android Development] suniselah:
Dear sir, thankyou for the awesome rom.i use the last previous build , I ve found problem whe during call, when i put my phone one my cheek, the screen is automatically off. The problem is touch screen still reponding, so when the screen touch my cheek, sometime calls ended,holded,muted by it self, because the random touch of my cheek. Is the newest build already fix this issue?
[Moto G Android Development] MasterAwesome:
Try it out, try the latest stable version and also remember to flash the crash fix patch all in the original post
[Moto G Android Development] shekhar1986:
Not working . I am on 4.4.4 used recovery provided in op ,flash ROM , flash crash fix ,flash gapps but not able to boot ROM. Always stuck at boot animation any help master
[Moto G Android Development] MasterAwesome:
Umm... Try booting it without the crash zoo and the gapps flashed, clean flash if it doesn't work ask [MENTION=4645888]indrasatrya[/MENTION] how he did it
[Moto G Android Development] shekhar1986:
Hi bro . I am having trouble booting this ROM could you please explain me the correct procedure how you succeed to boot it

---------- Post added at 09:06 AM ---------- Previous post was at 09:00 AM ----------

Tried with patch and without patch still same phone goes up to finalizing boot and then endless cyanogen boot animation only
[Moto G Android Development] MasterAwesome:
Try clean flashing it
[Moto G Android Development] sachin123:
I was stuck at the "Bootloader Unlocked" screen for 10 minutes. Is that supposed to happen? O.o
[Moto G Android Development] shekhar1986:
Tried clean flash over 4.4.4 ROM not booted . tried cm 11 successfully booted then again tried your build with clean flash and dirty flash still not passing boot logo.

May be it has some thing to do with recovery . I am using recovery provided by you. Can't get logcat as I don't have PC .
[Moto G Android Development] MasterAwesome:
And, no that should never happen since the kernel is working if it doesnt go past bootloader unlocked screen it means the bootloader isnt initalising the kernel. Have you messed with the bootloader before.

Maybe something with the recovery. Ask [MENTION=4645888]indrasatrya[/MENTION] he got my build running. The recovery.img is attached and doesn't have backup features but just able to flash, so try it and tell me the result.

And, [MENTION=4645888]indrasatrya[/MENTION] also managed to send a screenshot from my build so if its working for him it should theoretically work for you too.

New recovery: recovery.img
[Moto G Android Development] QBANBOY407:
CDMA?
[Moto G Android Development] shekhar1986:
Sir the cwm recovery you attached doesn't allow me to mount internal SD ,hence can't flash anything
[Moto G Android Development] indrasatrya:
just FYI sir, your patch works in vanir ROM too ;)
[Moto G Android Development] shekhar1986:
Bro please guide me complete procedure which you followed
[Moto G Android Development] indrasatrya:
i just flash it, sir. no special procedure. this patch works on CM12, vanir but not on slimpie, dirty unicorn

maybe you can try this method, sir. credit to agan [MENTION=3540286]nunogilberto[/MENTION] :D

(http://xdaforums.com/showpost.php?p=58315468&postcount=70)

1. first, edit Donkey Kang kernel v3.8 update zip and delete all files in /system/lib/modules.

2. do a clean install for this ROM. I'm using TWRP, anyway.

3. flash gapps (I'm using PA-gapss).

4. flash the edited Donkey Kang kernel.

5. flash SuperSU for root access.

6. reboot and let the phone finished booting up for the first time. at this stage, you will get broken wifi, but systemUI fixed with only one SIM signal and without systemUI FC-ing.

7. reboot again into recovery and flash this CM12_kernel from [MENTION=5354072]knizmi[/MENTION].

8. reboot and you will get XT1033 converted to GPE with this amazing ROM with working wi-fi, wi-fi hotspot, and without systemUI FC!
[Moto G Android Development] MasterAwesome:
Vanir ROM?
[Moto G Android Development] indrasatrya:
yes, i try installed vanir ROM and got system UI FC and i just flash your patch. it's works but not working on slim LP latest and dirty unicorn. i try all ROM, sir with your patch.. :laugh: but on CM12 when i set center clock i get system UI Fc looping again :crying: so i am reinstalling your ROM with your patch and normal again
[Moto G Android Development] chamicals:
please help i can't flashing crashfix.zip

i need help guys . i flashed rom but xt1033 restarting per 20 sec. i can not flashed crash.zip

my xt1033 not working properly and i havent got backup :crying::crying:
[Moto G Android Development] MasterAwesome:
Why can't you flash crash.zip? During the 20sec period transfer the crash.zip to the phone internal storage and flash it or if you have adb drivers installed sideload it.
[Moto G Android Development] chamicals:
i can not give link

hizliresim .com/pmMqRa

---------- Post added at 07:36 PM ---------- Previous post was at 07:30 PM ----------

set_per: set permision some changes failed

e: error in /data/media/o/crashFix.zip (status 7)

installation aborted
[Moto G Android Development] MasterAwesome:
What recovery are you using?
[Moto G Android Development] falquinho:
I Just cannot make this rom work o my xt1033

The following methods i tried:

-clean flashing over stock firware (4.4.4)

-clean flashing over another Lollipop rom (goku's build)

-dirty flashing over cm11 (saw this suggestion @ goku's thread, thought migth work here)

All methods result in bootloop, after aplying updates to apps.

Hope it helps make the rom better :)
[Moto G Android Development] MasterAwesome:
[MENTION=4645888]indrasatrya[/MENTION], looks like nobody is able to get it working, can you upload or link the recovery you are using and procedure for the threads sake along with the about phone screen shot just as a verification.

Try using the recovery in the download section. It works for me pretty sure it should work for you I clean flashed it.
[Moto G Android Development] chamicals:
reply

ClockworMod Recovery v6.0.4.7
[Moto G Android Development] MasterAwesome:
That's an old version. Use the one in my downloads page. The downloads tab in this thread
[Moto G Android Development] chamicals:
okey i will but i can nor reach android gui andorid os restarted 10 sec :(
[Moto G Android Development] falquinho:
Oh, right forgot to mention. I was using it. It's a philz touch recovery. Weird... I'm now (this very moment) reverting to goku's build.

Will try later, im without a working phone for a day now
[Moto G Android Development] chamicals:
i trying adb sideload but ''failed to write data 'protocol fault <no status>'

:( my phone is bricked ? ??
[Moto G Android Development] MasterAwesome:
Just push it to your sdcard then and flash it.

adb push ROM /sdcard
[Moto G Android Development] drgopi1234:
masterawesome

flashable zip of your recovery.IMG available pls post it
[Moto G Android Development] Lemagex:
crash fix isnt working, rom bootloops. tried twrp latest, philz latest, and the download section recovery. weird... previous builds ran fine

also one of the recoveries in your downloads section used the most weird logic... "cannot mount /data formatting instead" bye bye sdcard
[Moto G Android Development] MasterAwesome:
Wait what? It said can't mount data so formatting instead @_@? Which recovery did you use? Philz or the native cm recovery and which device do you use gpe or stock.

PS: I'm really sorry for your loss :P
[Moto G Android Development] indrasatrya:
[MENTION=5321417]MasterAwesome[/MENTION] no special procedur,sir. previously i am on slimkat > flash your ROM > > flash GAPPS > flash crashfix.zip. i am using TWRP 2.8.4.0 or you can using this method, this is working too for me http://xdaforums.com/showthread.php?t=2639583 if you get system UI FC looping
[Moto G Android Development] MasterAwesome:
Not about that, its working for me and you but many others report it doesn't work... I'm building a new one anyway so stay tuned guys
[Moto G Android Development] indrasatrya:
weird, it's works for me :eek:

nah, i think everything gonna be okay after new build, sir. because I try latest CM12 no system UI FC again