yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] y@$h98:
The error 6 is due to cwm 6.0.4.7

Use a different recovery....(twrp or philz)
[Moto G Android Development] mightysween:
Sorry for the long post but dropping this here in the hopes that it will draw some attention... Logcat for an attempted outgoing call on XT1028

first thing that happens when send is pressed is a cellbroadcastreceiver dies

...why?
[Moto G Android Development] i_rnb:
Root is disabled by default in CM12. You have to enable developer settings(tap on build number couple of times) and enable root from there. CM12 added superuser equivalent settings in privacy guard. So use that to control root access.
[Moto G Android Development] jameshonke:
I've tried that, but I'll try it again with the wipes. Do I need to boot CM11 in between?

I just find it strange that I'm having trouble upgrading from PA which is CM11 based, and also having trouble booting any CM12-based ROM... MokeeOS, Validus etc.

I've even tried flashing a custom kernel (that was one reputed fix) but it doesn't appear to help.
[Moto G Android Development] askarme:
Oh dude camera started to freeze like you said! Whats the exact problem?
[Moto G Android Development] mbj731:
With a lot of tweaking of the build.prop I even had one version telling me "you have lost data connectivity because you left your home network with data roaming turned off" also had a R on top of the signal with exclamation. I'm assuming that indicates roaming? I tried every combination of build.prop tweak and that's the closest I got is it telling me I lost connection that I didn't truly have. :D

---------- Post added at 06:33 PM ---------- Previous post was at 06:27 PM ----------

What variant phone do you have? I've never had a problem doing wipes and flashing CM12 ROMs with Philz touch 6.58.7. I've installed every ROM on XDA on my XT1031 and several of them multiple times. Always using the "wipe to install new ROM" in Philz recovery.
[Moto G Android Development] mightysween:
I believe you actually DID have a data connection. It is just that android doesn't know how to use it. Go to settings>about phone>status and look at Service State. The phone is registering on the data network, and at some level knows it has a data connection.

That said...if you can find those changes, it may be worth trying on current build... many changes have been merged into CM and many variables fixed in bharats build last week or two. At the very least you may stumble across something in the process
[Moto G Android Development] mbj731:
That's the problem... I have no idea what changes I made. I literally spent a couple of hours just inserting and changing around lines. I don't even remember which build I was using since I've tried different things on several builds. I was hoping to stumble on a fix and then I could relay it here. I was in all or nothing mode. :P I'm no dev, I've had past experience with build.props though. I just changed things I thought pertained to radio or sim etc... I had some old CM11 props saved that had some things that these builds didn't so I tried different combinations and settings. I couldn't replicate the roaming thing. Also, instead of saying "insert a sim" when I clicked the Mobile Plan option, it said "please connect to the internet".
[Moto G Android Development] jameshonke:
I used TWRP 2.8.4.0 on an X1032. Trying again now, but I'm starting to give up hope, not really sure why this error keeps appearing.
[Moto G Android Development] virat rajj:
AUDIOFX is also not working in build 41.whats the problem?. camera freezes and photos are not getting saved.i have tried 4 camera apps but the problem is same with each app.:(
[Moto G Android Development] mbj731:
Try PhilZ. I know everyone recommends TWRP but I've had better experiences with it than TWRP even with KitKat ROMs. Also, if i remember correctly, from what I've read the latest TWRP still has some bugs with Moto G.
[Moto G Android Development] jameshonke:
Tried PhilZ. Same result.

Officially given up with this - I'll stick to 4.4.4.
[Moto G Android Development] inyourface09:
I got that too while inserting build prop lines like a month ago. i was able to show the signal strength in the top bar but at least it was one step closer. i just have no idea what i did to get there.
[Moto G Android Development] piyushrawat01:
confusion

Is it necessary to flash cm11 first before flashing this rom ,cant we directly flash this one:(:confused::confused:
[Moto G Android Development] mykehdoom:
How long does the first boot take after a fresh install of latest build?
[Moto G Android Development] smyk009:
So i have been using this rom from last 3 days, build 40 doesn't include the camera fix but when i flashed build 41 and accessed root rights in the developers mode and installed superuser, and rebooted 3-4 times, camera, audiofx all is working fine. Googlw camera and nexus camera are working fine and saving photos, no camera freezing problem anymore. Rom is fluid, the only issue is the battery is draining very fast, any fix for that? And i want to use the moto camera app, i flashed the one provided for cm 12 5.0 moto devices which i got from a xda thread. It is not working and force closes every time i take a picture any fix for that?? Thanks in advance..:D:highfive:

---------- Post added at 03:32 AM ---------- Previous post was at 03:27 AM ----------

Yes, it is necessary. I also flashed it directly over the stock rom after rooting and it was stuck in a bootloop, then i flashed cm11 rom( cm 11 purity rom 4.2) and then over it i flashed this rom and now everything's working fine.
[Moto G Android Development] narenderreddyn:
Is anyone on build 41 able to save the pictures taken from the main camera?

I have tried with Google Camera & also Nexus Camera, but the app gets stuck after I capture the picture & doesn't even save it. But the front camera works totally fine & also saves a pic. I don't understand what the problem is.
[Moto G Android Development] tandon.ayush:
That's the only bug from a long time.

And bharat is traveling so we won't be getting any fix for some time.

Sent from my Moto G

Hit Thanks if I helped.
[Moto G Android Development] narenderreddyn:
Flash a pure CM11 milestone (I flashed M6). Boot into the device & run it for a while. Copy CM12 build 41, PhilZ recovery into sd card.

Try using pure CM roms. May be it'll work.

---------- Post added at 11:25 AM ---------- Previous post was at 11:10 AM ----------

Ok. Do you have any occational jitters with the build?

For instance, I was using Endomondo app along with Play Music while a bicycle ride. Endomondo force stopped several times & I lost my workout entry. This used to happen on CM11 too.

It never happened on stock.
[Moto G Android Development] tandon.ayush:
No such problems with me.

I flashed it over PA with philz recovery.

Sent from my Moto G

Hit Thanks if I helped.
[Moto G Android Development] y@$h98:
Battery drain IS unnaturally high in this...I installed greenify and put most of my apps in hibernation....now my battery life is ALMOST on par with the battery life on my KK ROM....
[Moto G Android Development] tandon.ayush:
I'm gonna try the official one for a while now.✌

Sent from my Moto G

Hit Thanks if I helped.
[Moto G Android Development] i_rnb:
I flashed official CM12 nightly first then flashed this one. Preloaded camera indeed fails to save the image. But I can capture photos using Google camera and vignette.
[Moto G Android Development] KapilFaujdar:
Try this

---------- Post added at 12:26 PM ---------- Previous post was at 12:25 PM ----------

yes
[Moto G Android Development] tandon.ayush:
Can you please post the init.qcom.rc?

Sent from my Moto G

Hit Thanks if I helped.
[Moto G Android Development] lilsidsri:
can you give me your

' init.qcom.rc ' file

it is located in ' / '
[Moto G Android Development] bharat_goku:
Refer this

http://xdaforums.com/showthread.php?p=58171653

I'll merge it tomorrow or day after
[Moto G Android Development] troytheboy:
People with camera issues flash the zip from

http://xdaforums.com/moto...-apps-t2965282

it is the stock moto cam and gallery with Material icons.

works fine for me.

no unresponsive camera after clicking photo.

It is a CM bug and is there in every CM rom, but this one works for me, try it out.
[Moto G Android Development] tandon.ayush:
Its working.

saved the picture everytime!:D
[Moto G Android Development] Rahul Balachandran:
Yes, its working ..

Sent from my Moto G
[Moto G Android Development] devilzassasin:
Wifi not working

Hi,

I flashed the rom and the gapps and all is working fine. But when i switch on the wifi it wont find any network and then switch off automatically........can i get assistance on this please.
[Moto G Android Development] rockuppl:
Dude contact's name is not displayed in the Dialer ,Text Messages or when there is an Incoming Call

Is this same for you??? Like i have contacts but they are not displayed anywhere

Is this a BUG or wat??:confused::confused:
[Moto G Android Development] tandon.ayush:
Are your contacts synced to the google account?

---------- Post added at 08:53 PM ---------- Previous post was at 08:52 PM ----------

Flash the kernel Bharat mentioned and try it after that?
[Moto G Android Development] devilzassasin:
Can you help me with that thread or how do i find bharat. I am new to XDA.
[Moto G Android Development] bharat_goku:
Good news cm seems to have merged all my changes ,should fix dual sim in today's or tomorrow's nightly now I think I'll focus on CDMA ,
[Moto G Android Development] W3ND31:
there some official news? any post?
[Moto G Android Development] tandon.ayush:
http://xdaforums.com/showthread.php?p=58171653

Download the attached zip.

Flash it with your recovery.
[Moto G Android Development] bharat_goku:
Na I was reviewing commits Ethan Chen just committed em in github.com/themuppets under proprietary_vendor Motorola
[Moto G Android Development] mykehdoom:
Any more progress on CDMA support? I tried the latest build and still doesn't work.
[Moto G Android Development] Blaze:
:/

sometimes works. then stops working. got to restart my device...
[Moto G Android Development] sauja:
Had the same problem. I removed my google account , cleared data and cache of Contacts and Contact Storage apps and added the account again....
[Moto G Android Development] knizmi:
This is confirmed to work for the camera issue ;)

http://xdaforums.com/showpost.php?p=58190256&postcount=330
[Moto G Android Development] fusionice:
Factory reset within settings and go through setup, then it will work
[Moto G Android Development] igoorsoouza:
Is it possible to the system hide the SIM2 info when there none inserted in this slot? Like Motorola does? I have a XT1033 and I do like to use just one SIM but the NO SIM2 info stays in the systemui. Thanks for the great work!
[Moto G Android Development] andogeek10:
A commit for that was merged yesterday to CM. The next build should contain that feature.
[Moto G Android Development] bharat_goku:
New build today in a while,
[Moto G Android Development] russ722:
Awesome man ,appreciate your hard work and dedication, any CDMA progress?
[Moto G Android Development] bharat_goku:
I'm searching for ideas the fact that only CDMA isn't working is annoying since I made progress on that initially,

I'm not sure if fsg is correctly detecting radio either ,can u send me the build.prop as is from old build ?I'll send u a modified one to test
[Moto G Android Development] russ722:
Don't have build prop right now ,im back on kitkat. I dont know how to add files but here is logcat for build 40.

Logcat for xt1031 CDMA build 40 :

------- beginning of main

W/InputEventReceiver( 5463): Attempted to finish an input event but the input event receiver has already been disposed.

I/Timeline( 5463): Timeline: Activity_launch_request idrg.jtb.alogcat time:171089

W/InputEventReceiver( 5463): Attempted to finish an input event but the input event receiver has already been disposed.

I/Timeline( 5463): Timeline: Activity_idle id: android.os.BinderProxy@2f6c42c8 time:171359

I/Timeline( 5463): Timeline: Activity_idle id: android.os.BinderProxy@ba8d9a1 time:172934

I/WebViewFactory( 5463): Loading com.android.webview version 37 (d869e6c910-arm) (code 100001)

I/LibraryLoader( 5463): Loading: webviewchromium

I/LibraryLoader( 5463): Time to load native libraries: 100 ms (timestamps 3989-4089)

I/LibraryLoader( 5463): Expected native library version number "",actual native library version number ""

V/WebViewChromiumFactoryProvider( 5463): Binding Chromium to main looper Looper (main, tid 1) {1856dac2}

I/LibraryLoader( 5463): Expected native library version number "",actual native library version number ""

I/chromium( 5463): [INFO:library_loader_hooks.cc(106)] Chromium logging enabled: level = 0, default verbosity = 0

I/BrowserStartupController( 5463): Initializing chromium process, renderers=0

W/art ( 5463): Attempt to remove local handle scope entry from IRT, ignoring

W/chromium( 5463): [WARNING:dns_config_service_posix.cc(293)] Failed to read DnsConfig.

W/chromium( 5463): [WARNING:resource_bundle.cc(315)] locale_file_path.empty()

W/AudioManagerAndroid( 5463): Requires BLUETOOTH permission

I/chromium( 5463): [INFO:aw_browser_main_parts.cc(63)] Load from apk succesful, fd=56 off=46092 len=2953

I/chromium( 5463): [INFO:aw_browser_main_parts.cc(78)] Loading webviewchromium.pak from, fd:57 off:228796 len:643667

I/Adreno-EGL( 5463): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.04.04.02.162.107_msm822 6_LA.BF.1.1__release_AU ()

I/Adreno-EGL( 5463): OpenGL ES Shader Compiler Version: E031.25.01.03

I/Adreno-EGL( 5463): Build Date: 10/28/14 Tue

I/Adreno-EGL( 5463): Local Branch:

I/Adreno-EGL( 5463): Remote Branch: quic/l_LNX.LA.3.6

I/Adreno-EGL( 5463): Local Patches: NONE

I/Adreno-EGL( 5463): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.04.04.02.162.107 + cb93e16 + f50fe49 + d7c18e6 + 5b9a565 + 0f3a25d + 607156e + 75511aa + e4d16c0 + 686f3eb + 211a271 + dd281ee + NOTHING

I/Timeline( 5463): Timeline: Activity_idle id: android.os.BinderProxy@ba8d9a1 time:327887

I/art ( 5463): Background sticky concurrent mark sweep GC freed 372(15KB) AllocSpace objects, 0(0B) LOS objects, 0% free, 10MB/10MB, paused 6.260ms total 20.955ms
[Moto G Android Development] droider007:
Will new build have theme choser and quick settings customizations ( merged in cm)?
[Moto G Android Development] bharat_goku:
yes
[Moto G Android Development] Completely Absurd:
CM11 last build please?

Can someone please mirror the last CM11 build? The links are broken in the official site. The link in the OP post is not working as well. Thanks.
[Moto G Android Development] lilsidsri:
Eagerly waiting for your new build :)

I hope you'll disable KSM code for making the camera perfectly work :p

Gud Luck !! :good:

---------- Post added at 11:45 AM ---------- Previous post was at 11:37 AM ----------

heay [MENTION=4125857]bharat_goku[/MENTION]

Theme Engine for CM12 is released :D

https://plus.google.com/117889454318656086861/posts/ZTk2TAdi7NM

Can we see this feature in your latest build, which you said you'llbe releasing today.
[Moto G Android Development] -TheKoolAnie-:
In latest build.. All thing is working perfectly?
[Moto G Android Development] bharat_goku:
It should theoretically i'm adding the sabermod tool chain to my builds too so need to c how it goes

I've made the required KSM changes too and a little better build.prop settings for cdma hopefully i figure out everything soon,the sabermod is taking time to download so just gotta wait a bit
[Moto G Android Development] MasterAwesome:
I fixed the camera in my build. Just disable ksm from the init scripts.
[Moto G Android Development] bharat_goku:
Ah did it in kernel for now,I haven't really added any tool chains now ,wanna start adding features now and side by side add CDMA fixes
[Moto G Android Development] nbansal:
I can confirm that Multi-SIM is now working in a build which I made purely from cm12 sources and TheMuppets blobs (i.e. without using any custom repos/sources from this thread). So yes, today or tomorrow onwards the official nightly will work too.
[Moto G Android Development] bharat_goku:
Thank you time to cleanup My code and set up my base neatly again :)
[Moto G Android Development] lilsidsri:
Features :);):fingers-crossed:

Voila !

I hope you dont forget about the Double Tap 2 Wake feature in your Kernel :cowboy:

And as I said earlier, I'll be happy to help you in Graphics stuff like Custom Boot Anim & Boot Logo :laugh::highfive:

I'm a Freelancer by the way so I'm not just saying, I will definitely do it for the Community :laugh:
[Moto G Android Development] Eurofighter_ty:
Guys I have a little question...If we wipe the system partition before flashing CM 12 why we need CM 11 as a base beacuse the CM 11 will be erased.

The CM 12 does write in other partitions ? (excluding data cache and system and boot )

Thanks !
[Moto G Android Development] lilsidsri:
By the way [MENTION=4125857]bharat_goku[/MENTION]

I decompiled your Settings.apk

I'm sure that If we replace the code of ' multi_sim_dialog.xml ' from stock lollipop to your file then we will get the Sim selection like in OTA

What say ?

Can any one provide me the framewor-res.apk & settings.apk from Stock Lollipop of XT1033
[Moto G Android Development] bharat_goku:
Haha so do I not as a freelancer though

I'm kinda stuck with the changes so working em out

R u referring to strings?
[Moto G Android Development] Eurofighter_ty:
Here you go...

http://www.mediafire.com/download/5x4atdrecswxn5f/Settings.apk

http://www.mediafire.com/download/vkp787cwpo7kl04/framework-res.apk
[Moto G Android Development] lilsidsri:
Yes

but its in Settings.apk :confused:

But it should be located in SystemUI.apk

searching for another file

I guess its the wrong file, I think its for the SIM Cards section in the Settings
[Moto G Android Development] i_rnb:
I can confirm, I flashed official CM12 before I flashed Bharat's build and it is working just fine. Everything's working. Also so far Google camera never failed to save images. So no camera bug. I guess, it is better to flash CM12 instead of CM11.
[Moto G Android Development] lilsidsri:
Can you provide me the systemUI.apk & Dailer.apk as well ?
[Moto G Android Development] Eurofighter_ty:
Sure !

http://www.mediafire.com/download/xwr6mg8km3ltvuk/Dialer.apk

http://www.mediafire.com/download/r5sr2gc1pkh8kwm/SystemUI.apk
[Moto G Android Development] lilsidsri:
Thanks !! :)
[Moto G Android Development] knizmi:
I´m wondering why everybody loves sabermod so much recently. Is there any reason for that? As far as I remember Linaro always used to be #1 choice for custom kernels. Thanks.
[Moto G Android Development] bharat_goku:
Linaro is stable when it comes to usage saber is more for speed ,although I'm not able to compile so scrapping it for now maybe next build if I'm not feeling lazy
[Moto G Android Development] Rahul Balachandran:
How can we select "2g only" option ? I couldn't find it.
[Moto G Android Development] MasterAwesome:
Profiles and set it there
[Moto G Android Development] khalidkls:
Moto G dual Sim

how can i set it plz detail
[Moto G Android Development] MasterAwesome:
Settings --> profiles --> configure some profile by clicking the gear icon and set it there
[Moto G Android Development] khalidkls:
ohhh thanx a lot can i use it on my s3 neo having cm 12 (also cant use 1 sim on 3G and 2nd Sim on 2g) thanx in advance
[Moto G Android Development] nischalnischal:
The only missing thing in Dual Sim multivariant rom

The only missing thing I find in Dual Sim ROMs is Call Blacklist Option,this option is seen only when we flash a kernel that supports a single sim. Installing software from play store to blacklist calls with dual sim mode Wont work too. Does anyone have any suggestions?
[Moto G Android Development] mightysween:
If you still need it, there is a build.prop from a fresh install of your last build on XT1028 here:

http://xdaforums.com/showthread.php?p=58151919

[CM12][5.0.2][STABLE][UNOFFICIAL][Multi-Variant Support][12/1/2015]

---------- Post added at 10:08 AM ---------- Previous post was at 10:01 AM ----------

I did a nandroid of that install so I can test build.prop changes pretty quickly.
[Moto G Android Development] bharat_goku:
Quick question can u open /fsg folder and temme what u c ?screenshot it?
[Moto G Android Development] RoganJosh96:
In the system updates. I get cm12 updates. Assuming I'm not to flash that if I don't want to brick my phone. On bharat gokus build 38
[Moto G Android Development] mightysween:
Wow, having trouble. I have been flashing back and forth between CM11 and CM12 nandroids constantly the past few days without trouble. Just now, wiped davlik/data/cache/system and restored CM12 nandroid and it would not boot. I booted to bootloader and tried to enter recovery and ended up in a bootloop there. And now, even fastboot flashing the same recovery I have been using for weeks does not work. So strange.

So I am soft bricked at the moment...heading back to stock 4.4.4 to start over.

EDIT: This happened to me with a fresh CM12 install last week. I have also experienced CM12 booting as if it were already installed from a fresh install over a full wiped system... I am starting to wonder if there is some persistent data being erroneously written to the wrong partition.

UPDATE: Just flashed everything but gpt and mototboot and still could not boot past recovery. Had to reflash motoboot.img from 4.4.4 so something is definitely writing to the wrong place at some point with CM12

UPDATE2: Got recovery installed and booting, but file system for /data is totally fried. May have to go all the way back to 4.4.2 to fix this.

FINAL UPDATE: Phew! 4.4.4 stock would not boot. Had to restore from scratch all the way to 4.4.2 in order to get initial boot which apparently rebuilt the file system enough so I could then go back and nandroid. This all happened simply by restoring a CM12 nandroid. Perhaps there is some kind of incompatibility going on with TWRP (been using v2.8.3.0)
[Moto G Android Development] PRINCE2013:
[MENTION=4125857]bharat_goku[/MENTION]

Nice work! I have a question. Does this ROM have the option to save SIM preferences for contacts individually i.e. call/message from SIM1 or SIM2 saved permanently so one does not have to choose every single time?
[Moto G Android Development] bharat_goku:
hmmm i'll look into it in a while i need to work on a new recovery as we progress with this,

I think i finally got the cdma fix i'm cleaning up my build environment sabermod simply didn't compile so sticking to a more customised kernel for now,if the next build fixes the cdma issue i'll work on customizations

EDIT: Network didn't get detected at all when i set it to ruim right?

on build 41? i mean? u weren't able to get incoming calls too right?
[Moto G Android Development] mightysween:
Correct, the network was not present and no calls/sms worked. Manually switching to NV caused it to begin working.

Yeah, I really think the problem was with TWRP. I ended up having to wipe userdata as well to get things working. Still working on getting back to CM11 so I will wait for your next build to test.

For the future, the TWRP errors I was getting when trying to install/restore ROMS/nandroids all began with "E: unable to stat" and all on the /data partition. I just flashed fully to 4.4.4 VZW stock and resinstalled TWRP 2.8.3.0 and was able to nandroid (via MTP) and restore it with no problem. So I am ready to break it again! :)
[Moto G Android Development] acidhax:
Looks like I'm in the same boat as you.
[Moto G Android Development] bharat_goku:
New build is up do check this!

A small note to everyone

Please go easy on private messages for repeated questions on thread i'm sure solution is here somewhere for everything just SEARCH THE FREAKING THREAD!

And please stop asking FOR OTHER DEVICE SUPPORT! I have a moto g i'll support the moto g variants not a freaking samsung g or a lg g2 i really can't!
[Moto G Android Development] mightysween:
Bummer...PM me if you need any help getting it back running
[Moto G Android Development] lilsidsri:
Finally bruh !! ;)

DT2W support :fingers-crossed:

Thank you very much for considering my request :highfive: