yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] mightysween:
Same here, incoming and SMS working. No data.

Seems that the data connection is available (as is voice network) but whatever is causing the network status to be "roaming indicator off" is also preventing data from connecting and dialer from reaching network.
[Moto G Android Development] Awesomeslayerg:
At least hes a few steps closer to get CDMA to work right guys :D
[Moto G Android Development] adarsh9628:
ok it might seem noob but y don't you check out the ota Brazilian firmware they have both sim working. i think that you know that already.
[Moto G Android Development] manoj36:
ur build working on any variant??
[Moto G Android Development] kviraj:
Improvement!!

Build 20

xt1033 Status bar shows 'No Sim detected' icon for 2nd sim, however fails to recognize sim1.

Developer is quite close to fixing this. Thanks for your hardwork!!:):)
[Moto G Android Development] bharat_goku:
Did try alot earlier but sort of gave

Cleaned my build again today and re implemented em today, let's c if it compiles

On gpe converted it does n partially on CDMA

Wait u have 2nd sim inserted or not?
[Moto G Android Development] kviraj:
Only sim1 inserted

The second sim is not inserted, so the build 20 correctly shows that in status bar, unlike previous builds. But that is not the case with sim1 slot which has my sim card.
[Moto G Android Development] bharat_goku:
Hmmm worth something getting somewhere new Test build is up quite a long time making this build had to be sure i tried all possibilities after updating to New rils

test and report
[Moto G Android Development] mightysween:
New build has no network on cdma. Not showing IMEI, MIN, PRL, etc. Calls and SMS not working.

Didnt have time to pull logs, will try in an hour or so
[Moto G Android Development] nuttkrakk:
Off topic but your post is not worth posting. I see that developer is extremely helpful in his responses and on top of this buried up to his neck trying to get things workong. Your reply doesn't even tell which moto g. No logcat no build reference. What's he gonna do with your so called report.
[Moto G Android Development] mightysween:
Thanks.

Read it again, it says cdma, newest build and xt1028. And it notes that what was working before is broken in the new build. And that I will send log as i have been doing for 2 days. Seems your post was less "worth posting" than mine.

LOGCAT and DMESG: http://pastebin.com/c7BLY9jj
[Moto G Android Development] tzzeri:
People don't necessary see the tiny signature at the bottom.

Either way, you should say what build you are as opposed to presuming people will read the signature, because no one does.
[Moto G Android Development] mightysween:
Can you either take this to PM or drop it altogether? Instead of debating my contribution or lack thereof, perhaps you post some data or test commands for the dev as well.
[Moto G Android Development] bharat_goku:
Started new build ,it'll be up in an hour
[Moto G Android Development] bharat_goku:
New build is up this should work on gpe as well do check tried not breaking stock ril this time around
[Moto G Android Development] kviraj:
Nope>>

xt1033

Build 21 (2014_12_18)

Both sims show no signal, one step back compared to Build 20,

Will test build 22 soon
[Moto G Android Development] kviraj:
Build22

XT1033

Build 22

System UI fc
[Moto G Android Development] bharat_goku:
oooh that's good send me a logcat?
[Moto G Android Development] mightysween:
Build 22 on CDMA has correct IMEI/MIN/PRL, evdo network properly detected (but disconnected), and SIM icon in the status bar. There is no cellular icon, and network status is "roaming indicator off" even when put into airplane mode.

Was not able to send SMS or receive call on this build

LOGCAT/DMESG: http://pastebin.com/wsQQeyNP

UPDATE: I noticed someone in another thread posted about SMS being broken in latest CM base
[Moto G Android Development] mightysween:
FWIW, the "Roaming Indicator Off" issue was present in early 4.4 builds as well. The fix back then was edits to apns_conf and build.prop to enable Boost or Verizon.

I am starting to suspect that similar changes will solve the CDMA problem here. On the next build that isn't looking for a SIM, I will try testing some APN and build.prop settings out.
[Moto G Android Development] shadie21:
I think the xt1033 is getting it's OTA right now, someone reported getting there's about a half hour ago
[Moto G Android Development] cmrainey:
Yes, but even then the network worked, at least on my 1031. I currently have the "roaming indicator off" in the status bar on CM11 4.4.4, but 3g etc. still works. Do you know what values in apns.conf/build.prop were modified?
[Moto G Android Development] mightysween:
Not 100% sure, build.prop was something to the effect of

ro.cdma.home.operator.numeric=311780

I am back on 4.4.4 at the moment and cant test. But may be worth trying on build 19 or 18 (whichever had closest to working cdma)

Will try to dig up apn_conf code as well

Not sure if we can post links to other forums...but dev SuperR at AndroidForums had a solution for the same type of bug in CM11 specific to Boost XT1031. Some people had the "roaming indicator off" and still had service, others did not.

Obviously, many changes to file structure and RIL with CM12… but principle is the same. And should also apply to XT1028 with just a few changes.

Perhaps there needs to be a user-defined selection of device model (or carrier) during setup. Then the installer could fork to either SIM based (GSM) install or NV (CDMA) code specific to that phone model and/or carrier. Or default to GSM and provide a flashable zip for CDMA.

Wish I could test changes to build.prop and apn-conf right now...but I cant. hope to have time over the weekend.
[Moto G Android Development] mightysween:
schedule changed :) Just had a chance to do some quick testing...

On build 22, adding this line to build.prop:

makes the phone pull MIN/PRL and shows cdma/evdo rev.A network recognized.

SMS works both send and receive.

Voice works incoming.

This is an XT1031 but running on Verizon with XT1028 firmware. For Boost, use numeric in prior post

i have about a dozen other keys to test in build prop, and will update as I go
[Moto G Android Development] cmrainey:
So 3G is still nonfunctional with those changes?

Edit: can you PM me a link to the forum post you referenced?
[Moto G Android Development] mightysween:
Yes, so far no 3g

Now up to 50+ changes in build.prop... unfortunately many Verizon specific so IF it works we would need to figure out new settings for Boost.
[Moto G Android Development] shadie21:
To remove the roaming indicator from the statusbar for Boost Mobile xt1031, you can make a .xml file and put it in data/ and give it rw-r--r-- permissions

If you have a carrier other then boost mobile, just change/replace the 3 lines that say Boost Mobile, so it reads Virgin Mobile, Sprint, Verizon, T-Mobile, or what ever your carrier is

<EriFile VersionNumber="1357" NumberOfEriEntries="3" EriFileType="1">

<CallPromptId Id="0" CallPromptText="CallPromptId0"/>

<CallPromptId Id="1" CallPromptText="CallPromptId1"/>

<CallPromptId Id="2" CallPromptText="CallPromptId2"/>

<EriInfo RoamingIndicator="1" IconIndex="1" IconMode="0" EriText="Boost Mobile" CallPromptId="0" AlertId="0" /><EriInfo RoamingIndicator="99" IconIndex="1" IconMode="0" EriText="Boost Mobile" CallPromptId="0" AlertId="0" /><EriInfo RoamingIndicator="123" IconIndex="1" IconMode="0" EriText="Boost Mobile" CallPromptId="0" AlertId="0" />

</EriFile>

eri.xml attached https://docs.google.com/file/d/0B_DNsulDtL2_eWhUdy1ET3Rnd1k/edit?usp=docsliapiapi

IE: that build.prop edit was specifically made for boost mobile mms problem we had on cm11, it was also updated to include this .xml file to remove roaming indicator

This was the updated fix for boost

https://docs.google.com/file/d/0B_DNsulDtL2_NGl5U0hPdVZaQ0E/edit?usp=docslist_api
[Moto G Android Development] mightysween:
Well nothing earth shattering to report...

I basically tried everything from a working build.prop on 4.4.4 and the only line that really has an effect is the one I mentioned before.

APNs all look fine in apn-conf...

Got to be a RIL setting/flag somewhere that can solve this. Back to digging around :)
[Moto G Android Development] Awesomeslayerg:
I am going to install Lolipop on my phone XT1031 boost again and ill send logcats this time. I have 3 weeks break so ill try to contribute as much as i can.
[Moto G Android Development] bharat_goku:
I thought i added a similar overlay in my builds which kinda fixed stuff for cdma,

are you able to see sim status with this?
[Moto G Android Development] :
No (sadly)

No dual sim support on mine...Does anyone know of a way to convert to single sim phone?
[Moto G Android Development] mightysween:
Yes, I think it was build 18 or 19 that had similar fixes for cdma that got us to the same point of having limited SMS and voice. As for SIM status, it seems the remaining piece of the puzzle for XT1028/1031 is that the device has no SIM slot but RIL is still looking for it.

Not sure if this is helpful but on build 22, the triangle signal icon is visible in the statusbar for a second before the "no sim" icon takes its place. This happens both on boot/reboot as well as airplane mode being toggled

Up until build 21, the "setting up cellular network" screen on first boot would take 3-5 minutes... on build 22 it takes just a couple seconds and we see that signal icon briefly before the SIM icon
[Moto G Android Development] Awesomeslayerg:
Here's my logcat

From Build 22

UPDATE: I have also included the version in which, thanks to [MENTION=3683732]mightysween[/MENTION] , with the ro.cdma.home.operator.numeric value added to the build.prop.
[Moto G Android Development] bharat_goku:
I've reverted the build with changes based on 18-19 now

I've noticed in the logcat sim did register and apparently unregistered too,not sure what's happening in that aspect,at some point ur signal might've registered for about 2-3seconds and then in registered?not sure why though,

Does anyone by chance have the gpe edition files of qcrilmsgtunnel.apk?I want the deodexed file which comes in gpe only ,xt1033 files are odexed copies and right now don't think we can de odex em

Secondly a request for anyone on cm12 by anerik if u have a log for different variants?
[Moto G Android Development] mightysween:
Logcat from Anerik's 12-17 for xt1028:

http://pastebin.com/kN3rN1xD
[Moto G Android Development] Awesomeslayerg:
I can try converting boost to gpe and get the apk from there.
[Moto G Android Development] bharat_goku:
It's alright don't risk it yet I've started a new build with some new configs I'm working on

Thanks for this hope I can get enough to fix the issues soon I've experimented too many things n I've kinda finally got the fix logic needed
[Moto G Android Development] Awesomeslayerg:
I know this sounds a little too much work or somethin, but I think we should make a seperaye ROM with cdma only and remove all the sim stuff from it.
[Moto G Android Development] russ722:
It defintly clear up some confussion on what works and what doesnt.
[Moto G Android Development] bharat_goku:
I could do that but truth is all builds face the same issue sim detection n registration,in a way if I get that part right I'm pretty sure it'll work straight ,

There is an issue with unsold pretty open which I'm not able to understand completely yet,the build I just started may not be an absolute solution since I still need to find ril constants n establish it more perfectly
[Moto G Android Development] xRogerxC:
I have both a Moto G XT1031 and a Moto X 2nd Gen, but my Moto G is my daily driver, otherwise I would be flashing this and trying to help. I do truly thank you bharat_goku for your hard work and efforts to get this to work for all variants, and I know you will get the CDMA variants worked out soon!
[Moto G Android Development] mightysween:
Not sure this is worth anything, but if I flash 4.4.4 modem over CM12 I get "NO SIM - SEARCHING FOR SEVICE" instead of the "roaming indicator off".

Phone still pulls MIN and Phone # but a different PRL.

Here is a logcat/dmesg for 4.4.4 modem over CM12

http://pastebin.com/KuyatyV7
[Moto G Android Development] bharat_goku:
New build up unfortunately i started the build late last night and fell asleep so uploaded now
[Moto G Android Development] Awesomeslayerg:
Downloading it now, gonna give three logcats now.

1. Unmodified Logcat = Basically no build.prop edits

2. CDMAEnabled Logcat = Basically added the ro.cdma.home.operator value added to the build prop

3. CDMAEnabled and flashed radio kernel (Thanks to sweeny) for the idea.

Hope this gets us closer to cdma and to fix dual sim.
[Moto G Android Development] bharat_goku:
I've added overlays this time around so hoping that won't be an issue

In the last build

ro.cdma.home.operator wasn't set?
[Moto G Android Development] Awesomeslayerg:
No it wasnt set. Just added it testing it now.
[Moto G Android Development] sanchit0403:
Anything new for dual sim testing
[Moto G Android Development] Awesomeslayerg:
Logcats

Here they are.

First one is just the build just flashed.

Second one has the build prop edit

THird one has build prop edit and radio kernel flashed
[Moto G Android Development] bharat_goku:
That was way too quick,what's the condition in the last build?
[Moto G Android Development] Awesomeslayerg:
Still same as the last build, incoming works no network, no outgoing and sms works as well.
[Moto G Android Development] AnkinDs:
Bluetooth audio works well in this rom??

Enviado desde mi Moto G
[Moto G Android Development] bharat_goku:
Not bad I managed to get it to this state with minimal changes from stock cm now it's only a matter of getting unsols corrected ,sim roaming icon still shows?
[Moto G Android Development] mightysween:
yes, can confirm sim icon with line through it is still there, status still "roaming indicator off" on latest build
[Moto G Android Development] pandeqi:
work well in my 1032

work well, but could not flash Gapps(1218 signed), what's wrong?
[Moto G Android Development] bharat_goku:
Might not be a rom problem check your gapps package
[Moto G Android Development] Awesomeslayerg:
What does unsols mean?
[Moto G Android Development] sanchit0403:
could you please move your thread to moto g android dev because many dual sim users are un aware of your thread due to which you are unable to get logcat
[Moto G Android Development] bharat_goku:
ah might take a while to explain but here try this LINK

i shall this next build should see some progress with all variants issues
[Moto G Android Development] mykehdoom:
So does this work on XT1031? Testing on my Boost Mobil XT1031 now.

Will let you know if it works.
[Moto G Android Development] bharat_goku:
I'm uploading new build now hold on for a bit
[Moto G Android Development] mykehdoom:
Okay. :) tested the newest build before the one you're uploading today. Everything works on it, except hotspot, calling, texting, data.

It runs pretty damn smooth.
[Moto G Android Development] bharat_goku:
New build up :) i understand texting works and incomming calls worked in the last build? a few pages back a script was made i think
[Moto G Android Development] mykehdoom:
Did you include this script in the new build?
[Moto G Android Development] bharat_goku:
Yes I think it should added overlays for both sprint and Verizon variants
[Moto G Android Development] __JOhnny:
Quick Question Dual Sim on XT-1033 working on your new build?
[Moto G Android Development] mykehdoom:
Nope no luck. =/ Just has sim missing icon, roaming indicator, and still no calls, data, texting, etc.
[Moto G Android Development] bharat_goku:
On the new build too?
[Moto G Android Development] mykehdoom:
Yes sir. =/ Still not working on Build 24.
[Moto G Android Development] Awesomeslayerg:
I'll logcat the next one. I really want this to work on xt1031
[Moto G Android Development] mightysween:
Indeed, no change in cdma on build 24.

logcat/dmesg... i tried to toggle a bunch of radio settings and maybe expose something new for info

http://pastebin.com/zwN9Bh4v
[Moto G Android Development] bharat_goku:
Your absolutely sure?

Cause in the logcat mcc/mnc values are correct 311870 everywhere could you check if calls/sms work?
[Moto G Android Development] DoctorStrange96:
Downloading the latest build now, hope it works properly on XT1033 (dual-SIM).
[Moto G Android Development] mightysween:
Sorry, by no change meant SMS and incoming calls working, outgoing calls and data not working.
[Moto G Android Development] bharat_goku:
Ah it's show connected to SIM this time now i need to figure out how to set the phone to check mcc/mnc table
[Moto G Android Development] Awesomeslayerg:
Well heres the next round of logcats you can work with.

It showed No Service for a few seconds then went back to no sim,

Other than that no change.
[Moto G Android Development] mightysween:
Also, just so people are aware, built in messaging app is still broken for sending SMS. I use Hangouts to test
[Moto G Android Development] DoctorStrange96:
Just tested it here, says "no SIM card" in slot 1 and "no service" in slot 2. I can briefly see the "no service" icon in slot 1 before the no SIM icon takes its place.

Reverting to stock now.
[Moto G Android Development] bharat_goku:
Could any of you pull the radio log in /dev/log i added a few parts to debug the radio segments hopefully it got captured
[Moto G Android Development] Awesomeslayerg:
Will do sir. Thankfully im still on the build still because i wanna charge my phone before i revert to a working custom rom since the battery is low
[Moto G Android Development] Awesomeslayerg:
Logcat Radio

Heres the radio logcat
[Moto G Android Development] russ722:
Just wanted to say thanks guys for your hard work and time .keep up the good work.:)
[Moto G Android Development] DoctorStrange96:
I reverted to stock for now, but I'll flash this rom again soon.

Edit: I'm preparing to flash the rom. I'll attach the logcat here as soon as I get it.

Edit 2: I'm having some trouble getting the logcat. ADB throws me a "couldn't open output file: Read-only file system" message.
[Moto G Android Development] bharat_goku:
Thanks it seems we are missing way too many ril requests with the old RIL file,i'll have to either make a new LIBRIL or try updating all vendor files might take a while before next build comes

in the xt1033 model did the second sim networks show up ? as in can u search for networks on second sim?
[Moto G Android Development] DoctorStrange96:
Well, when I choose the option, it stays on "Searching..." for a long time, nothing more. And here's the logcat.
[Moto G Android Development] mightysween:
Heh, look what I stumbled across:

http://review.cyanogenmod.org/#/c/79764/

Resolving the dependencies for this commit might solve our CDMA issue.

Bharat, there are quite a few cdma and apn constants in patch sets...any that you didnt have before?
[Moto G Android Development] russ722:
Awesome,

I dont really understand all that but i did see in the messages on the right that it will fix cdma issue. Lets hope so. Fingers crossed.:)
[Moto G Android Development] Awesomeslayerg:
Gonna try making my own build out of this thanks to your sources and such. Im a newb at this stuff so it might take a while to get the basics and stuff.
[Moto G Android Development] Deadwing_Sk:
I can't get any L rom to install.

In Twrp I get an "Error executing updater binary in zip ' /data/media/sideload.zip' "

I was on 4.4.4 before, Xt1033 converted to 1032.
[Moto G Android Development] panan.t:
I'm not sure if I'm the only one who has this issue. Once I flash this onto my 1033, it didn't detect 1st SIM card, any idea?

Thanks in advance.
[Moto G Android Development] bharat_goku:
Thats been added to my source already

The issue is something smaller im gonna update vendor filed today n c if i can get it working

I'll be changing stuff soon [emoji14]

Second sim is detected?
[Moto G Android Development] panan.t:
Nope. I should say not detect both 1st and 2nd SIM card.
[Moto G Android Development] Deadwing_Sk:
Guys please. I can't install this. E: Error executing updater binary in zip '/sdcard/filename.zip'\

Error flashing zip '/sdcard/filename.zip'

Unable to mount '/system'
[Moto G Android Development] mightysween:
Try installing from phone instead of sideload? Maybe incompatible TWRP version? Many, many possibilities..

you may have better luck in a troubleshooting thread than a dev thread
[Moto G Android Development] Deadwing_Sk:
I did. Twrp is compatible. I'm not sure why this is happening :S
[Moto G Android Development] panan.t:
I did follow the installation details. However, I'm not sure about step 1 to put ROM to virtual SD as I thought step 6 Format system will wipe everything from internal storage where I put ROM in root folder, so I skip this step 6. Not sure if this will affect this issue not detect any SIM cards.

Any idea?
[Moto G Android Development] bharat_goku:
rom wipes it anyway so not an issue..

Started a new build now ,this time using Radio files of GPE 5.0.1 without too many changes from stock cm-12,

added some hotspot fix i found ,should be ready in an hour
[Moto G Android Development] bharat_goku:
New build is up,Started with newer radio files from the GPE release lotta debugging to go around
[Moto G Android Development] Cheddart:
Can I flash it on unconverted XT1033?
[Moto G Android Development] russ722:
Tried latest build on CDMA xt1031,sorry didn't get a log don't know how.

Baseband shows unknown,no data,no SMS,,calls don't work.I get the triangle but no signal bars.
[Moto G Android Development] The "A" Factor:
[MENTION=4125857]bharat_goku[/MENTION]

Did you try to get [MENTION=4309448]varun.chitre15[/MENTION] help on fixing the dual sim ???

He was the first guy who got both sims working on the Android One (Sprout) for cm12 .

Maybe he can give you some pointers ...
[Moto G Android Development] xieunhan:
SIM empty

Both of 2 SIM empty, I don't know why. I flased 20141222 version. XT1033 asia.
[Moto G Android Development] sanchit0403:
please post your feed back with logcat it would be very helpful for the Dev
[Moto G Android Development] mightysween:
No data/voice/SMS

MIN/PRL/imei/etc are unknown

Logcat/dmesg:

https://docs.google.com/file/d/0ByZWXbOZqmVqUVhEcDloUkhnbms/edit?usp=docslist_api
[Moto G Android Development] mykehdoom:
Build 25 is the latest build right?
[Moto G Android Development] bharat_goku:
Sorry had to edit after checking could u gimme the result of adb logcat -b radio too?

After and before adding the file below

Yes

I've got a small glimpse it seems stock radio requires an additional file,

Add this libsubsystem_control.sofile to system/vendor/lib folder correct permissions and reboot

I'm not sure about the soc haven't checked yet I'll have a look in a while

Most dual sim working fixes till yday on cm were for broadcom chipsets
[Moto G Android Development] mightysween:
Sorry, missed the adb part until I had already restored nandroid. I did try that file with proper permissions set... here is logcat. I will try to get that adb output within the hour

https://docs.google.com/file/d/0ByZWXbOZqmVqcVNWNWN5Yl9pdlk/edit?usp=docslist_api
[Moto G Android Development] christuyi:
When i try to install the rom, I get the following error in CWM,

E: Error in /sdcard/cm-12.zip

(Status 1)

E: Installation aborted

Any help would be appreciated :(

---------- Post added at 06:26 PM ---------- Previous post was at 06:10 PM ----------

I've just tried flashing the ROM in TWRP instead and I get this error

E: Error executing updater binary in zip '/sdcard/newcm12.zip'

E: Unable to mount '/system'

Please help
[Moto G Android Development] mightysween:
I dont think your problem is specific to this ROM... check troubleshooting threads, maybe you need a different version of TWRP or have a corrupt/incompatible file system, need to re-wipe...many possibilities. Answers will more likely be found in other threads
[Moto G Android Development] christuyi:
Do you know of any troubleshooting threads your self :) Thanks for the response anyway