yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] FelipeBHZ:
I'm now using the configuration mentioned above. Don't have a screenshot before applying this configuration, but now it's just like img attached.

[emoji1] [emoji2]
[Moto G Android Development] MasterAwesome:
Free ram isn't a criteria of speed. All the apps are cached right into memory to provide faster access
[Moto G Android Development] Silver Droid:
amazing deep sleep!!!!

Well I can't completely say that the ROM has got better battery life but I can assure one thing after using so many ROMs this is the first ever ROM that after putting the device into sleep it only consumes less than 2% I'm really amazed by the deep sleep

Great work [MENTION=5321417]MasterAwesome[/MENTION]
[Moto G Android Development] Silver Droid:
Well I have been using the cm 12.1 with disabled wake up and keep awake of Google play services yes deep sleep is really amazing. Coming to cpu frequency yes I do keep changing the values yet battery life is not impressive but is better with this ROM
[Moto G Android Development] tzzeri:
Google keyboard is very similar to stock, try it out. And you can uninstall aosp keyboard with a root file browser.
[Moto G Android Development] askarme:
Help

Mate please guide me install this ROM.

Since you have provided the Recovery.img i'm confused

I've installed TWRP on my Moto G and I'm on tandon.ayush's [CM12][5.0.2][STABLE][UNOFFICIAL] Now.

Is' it possible for me to install your ROM via TWRP? What for your recovery.img.. Sorry for being noob here..

:confused:
[Moto G Android Development] poran123:
sometimes i cant hear anything if i call from sim2. anyone having the same issue?
[Moto G Android Development] MasterAwesome:
Can anyone confirm/negate this?
[Moto G Android Development] bandelguy:
Tried Google Camera?
[Moto G Android Development] rockuppl:
Unable to Root same as it was in Bharat's build... anyone is able 2???
[Moto G Android Development] MasterAwesome:
It's a confirmed issue, i fixed it though, uploading now. and CDMA users can you test this

adb shell
//once youre in the shell
su
setprop ro.telephony.get_imsi_from_sim true
setprop ro.telephony.ril.config writeaidonly,usevoicetechfordata
reboot
[Moto G Android Development] MasterAwesome:
Settings-->Development Options-->Root Access. If you cant see dev options menu, go to about phone and tap the build number 7 times.
[Moto G Android Development] classic757:
You can try Google Camera or Open Camera (a really nice camera). Both are in the Play Store.
[Moto G Android Development] MasterAwesome:
Any recovery which has the new function to flash .dat files implemented in it will work. If you have flashed 5.0.x with the recovery you are using and it worked, use it.
[Moto G Android Development] MasterAwesome:
[MENTION=5103750]W3ND31[/MENTION] [MENTION=5253054]rockuppl[/MENTION] [MENTION=5130332]Lemagex[/MENTION] [MENTION=5107100]MelihCaliskan[/MENTION]

12th January 2015: Version :2b

.Fixed TimeService dependencies.

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

.Fixed Camera libs.

.Fixed random AudioFX crashes.

Links here
[Moto G Android Development] KDB223:
Can you please upload the new camera libs so I can copy them into my device (bharat's build 39) directly and not have to download the entire ROM again?

Correct me if I'm wrong though.
[Moto G Android Development] MasterAwesome:
Too many changes to libs and device tree, you can try but i strongly suggest you download the rom and clean flash it unless you have another version cm12 running.
[Moto G Android Development] sanchit0403:
Camera is fixed[emoji106] but pics are reddish and dull in color and ram management is very poor please fix these things
[Moto G Android Development] sanchit0403:
One more bug volume is not going below

Its like it is stuck and it is not changeable via touch
[Moto G Android Development] MasterAwesome:
Works well...
[Moto G Android Development] MasterAwesome:
Update : ram usage seems fine
[Moto G Android Development] W3ND31:
I'm catching the 5.0.2 Soak test official now. After this, i'll test your build!
[Moto G Android Development] Cheddart:
Mirror Please!!!!
[Moto G Android Development] y@$h98:
[MENTION=5321417]MasterAwesome[/MENTION] does the camera work in this build or it stops working after some time, like in bharat_goku's build? Also can I dirty flash this over bharat's build?
[Moto G Android Development] Lemagex:
Good work man. Camera problems are gone and I can listen to music without it sounding dull again. This will be my daily from now on.

---------- Post added at 03:45 PM ---------- Previous post was at 03:01 PM ----------

New bug: music app keeps crashing. Tried wiping data and flashing clean. It worked fine for a while.

---------- Post added at 03:56 PM ---------- Previous post was at 03:45 PM ----------

Fixed by clearing media storage data and removing songs containing non English characters...
[Moto G Android Development] FelipeBHZ:
I really do not care about free ram. I work with I.T and when friends or clients say that their computer is using too many GB of RAM I usually say: 'The computer uses RAM to provide the better user experience it can offer. If you don't want it to use the whole RAM, remove it and keep it on your pocket." hahaha

---------- Post added at 09:21 AM ---------- Previous post was at 09:12 AM ----------

Thank you! Really nice and well written guide.

Just one question about Google Play Services: Does it affect any core functionality of the system?
[Moto G Android Development] OldYellowBricks:
yo what is this for tho lol

EDIT: did sonme googling and found out. its for battery calibrating. It calibrates the stats tho, not the actual battery

https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
[Moto G Android Development] MasterAwesome:
Some time the system skips the % of battery sometimes from 100% to 96% without 97%,98% this jumping of battery can be changed with this, this won't improve battery life. It will show the correct%. Felix had a sudden drop at the end in his screen shot so I suggested it to him
[Moto G Android Development] DigiGoon:
Hey, wrong thread man. :D
[Moto G Android Development] FelipeBHZ:
I did some tweaks on CPU and system settings and edited build.prop like suggested some posts ago to improve battery and calls through Whatsapp. After a reboot, I got into loop. I rebooted the phone, first time showed that 'improving apps' screen, I waited for it to finish, then, when changing to 'starting apps', phone restarted. Once again, same screen, same reboot. I had to flash the ROM again, because neither my nandroid backup was working. Bootloop or stuck on Cyanogenmod screen.

Hope this information helps. I really don't know if the problem is with build.prop or anything else.
[Moto G Android Development] kodachrome:
Glad it helped you ;) As for any core functions... i dont know yet. The only thing i can think of is it might not show apps that need updated in the status bar. Im waiting to find that out myself. None of the apps i have installed have needed to be updated today. But that should really be the extent of it, if it even removes that funcitonality of it. If that does end up being the case, and you use that fix, you would just have to open up Play Store, go to My Apps, and manually see if anything needs an update.

Not sure what went wrong with your build.prop stuff, it shouldnt cause any major issues like that. I've had to use that same fix for every 5.1 ROM on here. Its mentioned in other threads as a fix as well, and none of them have had any issues with it. Just double check you're changing the proper setting in there. (use.voice.path.for.pcm.voip=false). Good luck
[Moto G Android Development] FelipeBHZ:
Yeah, I know that build.prop fix is common and every 5.1 needs that. Anyway, I don't know what happened here. But, I will charge my phone again and try to change build.prop again to see if I will have the same issue.

Your guide is clean and smart indeed. No need to worry. Maybe it was just some sort of 'Moto G craziness' haha

Thanks!
[Moto G Android Development] OldYellowBricks:
Even the samsung htc high end phone dudes get this. I get this sometimes tbh. Its soooo annoying
[Moto G Android Development] dr_jimit:
Google search app (even not using google now cards ) is using up to 70 to 90 mb of ram. what is the solution to decrease ram usage of these google search app?

I fc it.

Any other solution than uninstalling it.
[Moto G Android Development] Silver Droid:
May be greenifying but not sure
[Moto G Android Development] Eurofighter_ty:
What kernel with d2tw could I use with this ROM ?

Thanks !
[Moto G Android Development] FelipeBHZ:
You can check if Optimus Kernel will work. Last build I tested it had dt2w. But, I'm not sure if it's recommended to change ROM's Kernel. Because this ROM is made to extract the most of Battery and Performance.

Moto G - XT1033 - CM 12.1 TWEAKED
[Moto G Android Development] Eurofighter_ty:
ok, then I will stay with the stock kernel. now other question: is just me or the AudioFX doesn't work ? I tried with Google Play Music and CM Audio Player and no effects or other stuff.
[Moto G Android Development] FelipeBHZ:
I only have Spotify to test here. It worked fine. I even tried setting to 'custom' and setting everything up and down to make sure it is working.

Moto G - XT1033 - CM 12.1 TWEAKED
[Moto G Android Development] Eurofighter_ty:
I tried also with MaxxAudio EQ flashed via TWRP and still no effects... [MENTION=1321663]MasterAwsome[/MENTION] what could be the problem ?
[Moto G Android Development] tzzeri:
When you're low on RAM, the system will start killing apps and processes to free up ram, but sometimes it's a process you don't really want running that is using up the ram, thus making processes you do want to be killed, thus making the phone slower when you go back to those processes.
[Moto G Android Development] FelipeBHZ:
Yes, I know that. But on mobile there's not much to do. You will have to lose here or there. Get performance, poses battery. Too many apps open, loses multitasking speed. Hehe Best to do for now on is choose mobiles with at least 2GB RAM.
[Moto G Android Development] Eurofighter_ty:
In my country Spotify is not availabale but I will try with VPN to see if it's working. If you have any suggestions on how could I get AudioFX working please let me know :)
[Moto G Android Development] MasterAwesome:
New build coming soon

. carrier text toggle(bringing back good ol' features)

. system now occupies lot lesser RAM.

. much tweaks such wow.

. memory allocation happens better to apps that require it, priority based allocation.(changed malloc rules)

. I've added some battery tweaks since you guys requested.

This update gonna be amazing trust me :)
[Moto G Android Development] FelipeBHZ:
Waiting in line for that! haha

Want to see my Moto G running smooth and fast like a LG G3. LOL :p
[Moto G Android Development] padhu1989:
Masterly Awesome... !! You beauty.. Check out my Atuntu score.. Tweaked CM12.1+ Optimus R21 kernel..
[Moto G Android Development] FelipeBHZ:
Cool! Could you post Optimus Kernel's settings you are using? I was afraid of changing original Tweaked CM12.1's kernel but Optimus seems to be REALLY good at this.
[Moto G Android Development] MasterAwesome:
I think this is the highest score on a moto g. Hip hip hurray!
[Moto G Android Development] padhu1989:
Governor: Smartmax

I/O Scheduler: Fiops

TCP Congestion : Westwood

GPU Governor : Simple Ondemand

Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )

Powersuspend : Use LCD PANEL mode

I am using Kernel Auditor to tweak the kernel..
[Moto G Android Development] FelipeBHZ:
Is there a way to backup my current Kernel (Tweaked CM12.1 original) to flash it back if I'm not satisfied with Optimus?
[Moto G Android Development] MasterAwesome:
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=boot.IMG

You guys vote what kernel I should pack with for the next build
[Moto G Android Development] padhu1989:
My suggestion is to release the build with the default one and let the user chose whats kernel to use.... The options differs for each users.

---------- Post added at 10:57 PM ---------- Previous post was at 10:55 PM ----------

you can use TWRP to backup up your Kernel.. just backup boot.img using TWRP
[Moto G Android Development] Silver Droid:
Hurtsky
[Moto G Android Development] Eurofighter_ty:
I don't care what kernel it is as they can deliver good performance and baterry. AudioFX is not working any help please ?
[Moto G Android Development] FelipeBHZ:
Great. IMG file created. If I want to revert to original can I flash it using TWRP install option? Like we do with ZIP files?
[Moto G Android Development] Silver Droid:
[MENTION=5321417]MasterAwesome[/MENTION] can you incorporate call recording option in your next build I'm in badly in need of it tried many apps but none satisfied...it would be really helpful if you do so
[Moto G Android Development] kedar512:
Attacked kernel
[Moto G Android Development] Silver Droid:
Yes

---------- Post added at 06:41 PM ---------- Previous post was at 06:39 PM ----------

Yes
[Moto G Android Development] FelipeBHZ:
Optimus Kernel R21 flashed. First print 18k in Antutu with Tweaked CM12.1's Kernel, second one, 21k with Optimus Kernel.

[IMG="Antutu - Tweaked CM12.1 Original Kernel"]http://i.imgur.com/X2YF7oXl.png[/IMG]

[IMG="Antutu - Tweaked CM12.1 Optimus Kernel R21"]http://i.imgur.com/vYVAbNql.png[/IMG]

Well, I think it just changed I/O and Database. I will see if its performance will really get better.

What do you think guys? I/O and Database can really change a Moto G performance?

;)
[Moto G Android Development] MasterAwesome:
How did io get that high? Impossibru. Unless the io was done to the ramfs. That's too fast for disk io
[Moto G Android Development] Silver Droid:
Edit: Also please bring back the merge call option

---------- Post added at 07:20 PM ---------- Previous post was at 07:16 PM ----------

Really??? Is optimus R21 that good?? But before flashing this ROM few days back I was running R20(on primary ROM) with multirom but after flashing this ROM(on secondary slot) my phone was stuck in bootloops so I switched to included kernel
[Moto G Android Development] FelipeBHZ:
Configuration I used after flashing R21 Optimus Kernel

I don't know much about kernels and benchmarks. LOL - All I do is to test it as a user. Is there anything I can do for you? Like sending you any file or log?

Yes. It is. Just follow the configuration options mentioned above and I'm pretty sure you can get this same results.

-------------------------------------

Btw, I turned off my phone, turned it on again and run Antutu to double check. Results are attached.
[Moto G Android Development] sagematt:
Done flashing, ROM 12b everything working correctly :)

Complete noob here. I had never in my entire life done any Android flashing whatsoever. I did have some experience with S60 devices, though.

Now, the instructions provided to flash this ROM were too short for me to make sense of them :p

However after reading for hours (and always afraid to brick my XT1033) I was able to do it. I might end up writing a guide about it since I got into so much trouble.

Some of the problems I found:

Since I had to reboot the phone several times (due to recovery problems, explained below), the stock firmware would actually wipe my recovery so I had to reflash the recovery several times.

I was unable to flash the ROM with the provided recovery.img (coming from stock 4.4.4). First, ADB would show as "unauthorized" when loading that recovery image (so I was unable to push the ROM into the device after wiping partitions). Even rebooting the phone, deleting the RSA keys from the computer and then reauthorizing the device would still result in "unauthorized" when loading the provided recovery image. I had to use CWM to wipe the device and push the ROM instead (since CWM and TWRP wouldn't show as unauthorized). However...

Wiping partitions didn't work with CWM right away for some reason (using the main menu options). I had to manually wipe the specific mount points in a submenu, I don't remember what they were right now. It was complaining about being unable to mount/unmount stuff a few times, but after wiping partitions individually it worked.

Bootloader was 0x4113 and upgrade wasn't working via CWM/TWRP, ROM would complain that it needed a 0x4118-0x4119 bootloader. Later I learned that it was because the most recent CM nightlies were no longer compatible with my older bootloader and I had to upgrade to the Lollipop bootloader (0x4118) before doing the upgrade (I was able to find the 0x4118 bootloader for Retail Asia XT1033 -compatible with my Latam XT1033- in the forums). While researching the bootloader issue I started using TWRP instead (thinking it was a bootloader issue).

Screen flickers under TWRP with bootloader 0x4118 :D (didn't happen with bootloader 0x4113). Dunno why but it doesn't bother me right now, I will do aditional research to fix this later.

CyanogenMod setup wizard crashes during phone initial setup (specifically when selecting the SIM you'll use for Data). I simply skipped this step and continued with the rest of the initial config.

Anyway I am glad I learned a lot during this ordeal but I wouldn't wish it to anybody else to be honest :) Maybe I'll write a more comprehensive guide or something... But kudos for this ROM it's working perfectly on my XT1033, dual sim/camera/wifi everything good so far :good: Looking forward to the announced improvements!
[Moto G Android Development] Silver Droid:
Well the screen flickering is due to Motorola kernel... If you hate it you can flash latest philz recovery it has been fixed

---------- Post added at 06:32 AM ---------- Previous post was at 06:30 AM ----------

I don't know why you encountered so many problems I did flash a cm12 rom on Moto E running kitkat without any kinda issues
[Moto G Android Development] toxicro:
Very nice ROM MA after using stock so much i don't regret flashing this beast ROM, but I have 2 bugs I don't know if is CM related !!!

First one is renaming the sim's from sim settings, reset to default after reboot.

Second one after save what sim to use to call someone from contact next time you want to call same person you are asked what sim to use again it's like don't remember what sim you choose first time.

But because ROM is so great I can't go back to stock now :D I will live with this bugs.

Thx for this great ROM MA!!!
[Moto G Android Development] naaiil:
i think this is the most stable custom rom for my xt1033 ds and battery is great too.. but sometimes aosp keyboard and messaging app fc but its rare and random..

[MENTION=5321417]MasterAwesome[/MENTION] on the next build any plan for add some freature from feature request tab? thanks

sorry for my english..
[Moto G Android Development] FelipeBHZ:
I've been testing almost 6 ROMs in the last 2 weeks. This is the best ROM indeed. Those FC happened also on all other ROMs I tested. Maybe it's a Cyanogenmod bug. Even SwiftKey sometimes crashes.

Moto G - XT1033 - CM 12.1 TWEAKED
[Moto G Android Development] MasterAwesome:
Check the progress of each request. "In progress" will be merged to next build.
[Moto G Android Development] ashis1989:
Hi there,

I'm from India and new to this forum and last 7 days my warranty expired. I heard about custom rom to improve functionalities, so i was following some threads to install CM12.1 properly on my XT 1033. Here the OP (masterawesome) mentioned it safe to flash CM12.1 directly over Stock Lollipop Rom (got from OTA updates), whereas in other thread "http://xdaforums.com/moto-g/general/guide-cm12-moto-g-t2952031", the OP mentioned "Do not flash CM12 if you flashed lollipop OTA.. It will hardbrick your mobile" in bold red letters. Also at one point MasterAwesome said "Do not use system updates to update your phone. Try flashing over a KitKat ROM , or the last working cm12 without clean flashing it" . So, I've done unlocking bootloader , rooted it, installed cwm recovery and downloaded gapps, cm12.1 for moto g(dual sim) from download section and how to proceed , i'm but confused.
[Moto G Android Development] sathvik07:
Dont worry ......just wipe dalvik cache/cache/data/system ..flash the Rom ...flash the gapps ..(make sure it is compatible with 5.1) ..Reboot .Done....first boot will take 10 mins
[Moto G Android Development] sagematt:
Thanks for the heads up, I'll keep it in mind.

Well keep in mind that I was an absolute noob, it was my very first time doing this (not to mention I encountered many fortuitous issues).
[Moto G Android Development] padhu1989:
Use TWRP from MotoG development session.. It doesn't have screen flickering issue
[Moto G Android Development] Juste300:
I have dual sim variant, I'm on CM 11 4.4.4 custom rom. My phone bootloader was unlocked at 4.4.2 ver.

I have few questions in my mind before flashing this rom:

First can I safely flash this ROM or another cm 12 rom over cm 11 4.4.4 custom rom?

In case if I want to switch back to 4.4.4 rom can I safely do it?

How do we check the bootloader version; is it by going in fast boot flash mode? Mine says 41.13 correct me if I am wrong?

What about screen flickering issue?
[Moto G Android Development] OldYellowBricks:
Man, I love this rom.

Coupled it with latest Optimus kernel and its doing wonders
[Moto G Android Development] ashis1989:
thanks, successfully installed this cm 12.1 on moto g.. working so far.. initial preview is wow !
[Moto G Android Development] Silver Droid:
[MENTION=4587443]Juste300[/MENTION] Yes you can safely flash cm 12 but format everything before flashing

To avoid screen flickering you need use latest recovery its been fixed

And about reverting back to kitkat cm11 yes you can do and again format needed

Yea that's a kitkat booloader version and when flash lollipop it will be 41.18

---------- Post added at 05:16 PM ---------- Previous post was at 05:12 PM ----------

@MasterAwesome these are the two benchmark tests for your ROM

Hurtsky kernel-https://docs.google.com/file/d/0B2bP1xVjXs7iY1lPQmJodmJSam8/edit?usp=docslist_api

Optimus kernel-https://docs.google.com/file/d/0B2bP1xVjXs7iTkZIQlhhd2xIRkE/edit?usp=docslist_api

You have done a fantastic job and hope it gets even better with your next build
[Moto G Android Development] drgopi1234:
sorry for posting request here. but pls include FM radio in next build
[Moto G Android Development] padhu1989:
Share your kernel settings pls
[Moto G Android Development] Silver Droid:
Hurtsky kernel:

CPU governor-intelliactive

CPU hotplug- intelliplug with 2 cores online when screen off

GPU governor: simple_on demand with simple GPU algorithm on

I/O scheduler:Fiops

Power suspend mode:LCD panel

TCP congestion:default

And for optimus kernel

Three changes

CPU governor: smartmax

Hotplug:screen off frequency to 787mhz

TCP congestion: westwood
[Moto G Android Development] OldYellowBricks:
Can we dirty flash your next update?

Thanks soooo much

Alsooooo

WHY THE FUDGE doesnt cm (in general) use google's androidwebview that can be updated via playstore?

Can anyone clarify this?

Maybe it gets updated differently?

This is the only thing that is bugging me about CM roms
[Moto G Android Development] Juste300:
My bootloader version is 41.13 ( on KitKat); Can you kindly share the procedure of how we can update the KitKat bootloader to Lollipop bootloader?

---------- Post added at 11:52 PM ---------- Previous post was at 11:41 PM ----------

Thanks for answering the queries mate. By formatting everything, you mean format everything except internal storage? I am using latest TWRP 2.8.6.0 is it safe and good enough to avoid screen flickering?
[Moto G Android Development] Silver Droid:
Well I don't think that's required coz on moto e running kitkat I successfully flashed Blisspop without no issues..here is the video demonstration

https://www.youtube.com/watch?v=J1n5BpkVZCs&t=13

Besides this if you wish to upgrade just flash motoboot.img from stock lollipop

---------- Post added at 08:05 PM ---------- Previous post was at 08:01 PM ----------

Yup you are good to go but I suggest you to format even the internal stotage
[Moto G Android Development] sagematt:
Follow these instructions:

http://xdaforums.com/showpost.php?p=59520890&postcount=233

Do pay attention to all the warnings given in that post.