yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] bharat_goku:
The link is 3years old and there are devices running CDMA perfectly example -HTC desire 816/shamu /ghost

We probably missed something which doesn't set subscription right ,build 43 sets it correctly from what I read, I might've added a bit too many changes ,I'm reverting kernel with no changes as ksm is now disabled in the device tree a bit more better

I'm merging a few more changes which aren't yet merged so let's c if it stabilises the issues...
[Moto G Android Development] mightysween:
This has been my theory all along... both for telephony and dialer apks. Everything was coded and compiled for GSM variants.

We started going down this road, but never were able to find any compatible versions.

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

I have said this already 5 or 6 times but I really believe we have had working CDMA since mid to late December. What we do not have is a dialer that can send calls on a network we know is present or a telephony system that can establish a socket connection with the data network that we also know is present.

If the issue were actual radio/modem incompatibility, we would not have incoming calls, SMS both ways, and data network in service
[Moto G Android Development] :
I believe you may be correct. In settings with the right build.prop entries my XT1031 will have all the right info like carrier label, phone number, signal state is connected but the only thing missing is CDMA network type which shows unavailable instead of EvDo Rev.A. It's not picking up the right network type. Some of these builds I noticed also have a build.prop line for RUIM/SIM subscription type, it should have NV instead.
[Moto G Android Development] mightysween:
To clarify what I am saying, I think the solution will still end up being found by making what we have communicate properly with dialer and telephony and not vice versa, which is what dev here has been doing all along.

Prior builds have had proper network detection and connection but no outgoing calls or network regardless of dozens (probably hundreds) of build.prop changes.

[MENTION=4125857]bharat_goku[/MENTION] do you have archive of build 28-31? That one still intrigues me...had ota carrier detection, signal bars with roaming icon, and working incoming and SMS.
[Moto G Android Development] diogobuique:
can i install your rom over the soak test brazilian 5.0.2???

---------- Post added at 06:01 PM ---------- Previous post was at 05:32 PM ----------

I saw this response few pages ago: " install twrp that i put some posts before, make a system, data, cache and dalvik wipe. install the rom... works great. You only will have a flickering in the screen... but power off the screen and power on and will solve.", is correct [MENTION=5103750]W3ND31[/MENTION]
[Moto G Android Development] K3VYNC:
How didn't anyone notice the SIM Label overlaying the navbar when the statusbar is pulled down?
[Moto G Android Development] igoorsoouza:
i took some time to test the build 42 and still there is no option to hide the SIM2 from system when there is none inserted. Noticed that some things seems a little strange in dual sims, like the gap space between icons in the status bar and the Sim Label overlaying the nav bar. I did too took some screenshots, the first three are from this ROM and the last with cm12 rom i used with single sim working, its possible to see the gap between wifi and sim icons and battery too. Hope it can be fixed and this post helps in any way. Thanks for the good work!
[Moto G Android Development] bharat_goku:
New build is up

Cdma users kindly try this to update PRL

Go to settings, more, cellular network, carrier settings, then update prl.

might be an issue i missed
[Moto G Android Development] kingedgar:
Any changes in CDMA land?
[Moto G Android Development] Sajoeee:
try and report
[Moto G Android Development] crouse:
Trying now, same file name?
[Moto G Android Development] kingedgar:
Already way ahead, flashed and booting at the moment...
[Moto G Android Development] crouse:
no carrier settings options to update, sim card missing icon back but it seems the radio is on again like it was in 42? so i would guess texting and one way calling again
[Moto G Android Development] kingedgar:
None of those options exist on my device xt1031 however baseband version is back in about phone. Screenshots attached and logcat to follow.
[Moto G Android Development] bharat_goku:
Try this dial ##72786#

Tap yes and wait for restart

What happens when u press the system select option?
[Moto G Android Development] crouse:
##72786# didnt do anything for me =[

and nothing happens when you hit system select, you get home only or automatic
[Moto G Android Development] kingedgar:
Dialing that has no effect, just returns me to recent call screen.

System Select gives me the option of Home only or Automatic in the form of radio buttons, shall I select one or the other?
[Moto G Android Development] russ722:
I'm gonna try this on build 28,where we had cell signal with the exclamation point.
[Moto G Android Development] kingedgar:
Don't have this build, and it's no longer in the OP. Any chance you could upload that somewhere? I'm willing to give anything a shot at this point...
[Moto G Android Development] bharat_goku:
Try the options and c what happens

There is a possibility the old overlays need to be updated for the new libs ,

If partial sim works in the new build that means it's not an ril based issue just a missing setting somewhere this time I didn't set to ruim and set a default subid I'll have to set a default phoneid too I guess,I'll do one thing I'll move the overlays to the falcon tree instead of common qcom tree and manually edit with the nexus/desire 816based changes ,it's probably just not setting a fake phoneid which is needed for CDMA when no sim is present I'll try making a new build in a bit
[Moto G Android Development] Lemagex:
Guys is the music playback working on this ROM for extended periods? On all other cm12 I try system restart after 1 hours
[Moto G Android Development] russ722:
I would if I could but only internet I have is 3g (phone) and i passed my data cap so its ow again :(
[Moto G Android Development] russ722:
Man,I have no idea what your talking about :) but I will try it anyway,keep up the good work.

---------- Post added at 01:03 AM ---------- Previous post was at 12:40 AM ----------

Didn't work, punched in the code ,then just goes back to main phone dialer screen.
[Moto G Android Development] joker_wuww:
The new official cm12 supported dual sim? Build 0118 ?
[Moto G Android Development] shadie21:
I can't upload my logcats so I will post them here from my xt1031

https://docs.google.com/file/d/0B_DNsulDtL2_RGptS08ySDBIdUU/edit?usp=docslist_api
[Moto G Android Development] bharat_goku:
Yes it should be
[Moto G Android Development] crouse:
well we should feel better, the new official build doent work with cdma either, no baseband issue. but they did fix it so i dont have to dirty flash it and can walk through the proper setup and the default launcher works
[Moto G Android Development] bharat_goku:
Oh and I think I missed this in changelog I increased zram size according to caf values and added some changes for speed improvements in my last build,since there's no issue reported about it I'm guessing it's stable ,

I've also increased camcorder volume and increased sound I think I'll rebuild in a while either way
[Moto G Android Development] joker_wuww:
I tried it , don't support dual sim
[Moto G Android Development] bharat_goku:
New build up i've rebased alot in this build so do check this out
[Moto G Android Development] KDB223:
Doesn't really work, its exactly same as the earlier builds.
[Moto G Android Development] ralp88:
İ flashed supersu 2.40 after installed the rom but couldnt root the phone. Should i install directly from playstore ?
[Moto G Android Development] bharat_goku:
Root is now in developer options please search thread next time
[Moto G Android Development] lilsidsri:
hey [MENTION=4125857]bharat_goku[/MENTION]

it would be clean if you make a new thread in Q/A section for discussion

it will help in keeping this thread clean.

Think about it ;)
[Moto G Android Development] droider007:
Ril is not working in latest build on dual sim devices.....i guess u didn't merged that bootflag commit...
[Moto G Android Development] Lucas Eugene:
Cdma is still showing searching for service
[Moto G Android Development] bharat_goku:
Searching for service? that's actually new :eek: what exactly happens any logcat?
[Moto G Android Development] kingedgar:
I'll be flashing mine (xt1031 CDMA) in less than 5 minutes. Logcat sure to follow.
[Moto G Android Development] kingedgar:
Boost xt1031 CDMA reporting for duty! Back to the baseband version unknown this build. It tried to search for cell service at the beginning of setup but failed after about 5 minutes of trying. Once XDA app is installed on the device I will upload some screenshots, for now though logcat is attached.
[Moto G Android Development] bharat_goku:
That's odd everything gets set properly MCC/MNC tables are set to detect Verizon but randomly vanish
[Moto G Android Development] kingedgar:
Well, the screenshot I wanted to show vanished from the device. All it was was the device searching for cellular service screen. I'm turning in for the night/morning but keep up the great work!!! I look forward to your next build, I know one of these days you will get CDMA working correctly!
[Moto G Android Development] -TheKoolAnie-:
I tried latest build on my xt1033..

But I can't got root access even I on root in devloper option & also tried supersu.. But root is not working..
[Moto G Android Development] indrasatrya:
Just flash superSU if you think root in latest build have a problem :D
[Moto G Android Development] SummerRainbowz:
RIL Issue

Baseband showing up as Unknown on latest nightly (official and unofficial), clean flashed on xt1032.

Logcat here: http://pastebin.com/snM1tySE
[Moto G Android Development] indrasatrya:
I just read post konstat on modaco.com. he's just release RIL for XT1033 maybe it's can fixed for have a problem with can't active data cellular
[Moto G Android Development] mightysween:
For me at least on XT1028, built in root has been broken for quite some time... flashing root was a fix, but now doesn't work either.

I can test builds for function but without root I am pretty much useless otherwise.

Did someone say they have a copy of build 28?
[Moto G Android Development] mbj731:
[MENTION=4125857]bharat_goku[/MENTION] take a look at Dirty Unicorn source. I say this because it registered BoostMobile as the network, which I haven't had with any other build. Maybe that's a step in the right direction? I even accomplished getting a signal bar icon with no exclamation on the DU build with build.prop tweaks. Of course the network was still disconnected, but it was exciting to see. I may be way off base...but registering the correct network seemed like a good sign. I didn't know if maybe there was something in their build that you didn't have in yours. Thanks for all your work on multi variant support, sir!
[Moto G Android Development] -TheKoolAnie-:
I flashed supersu but can't succeed [emoji53]
[Moto G Android Development] mbj731:
Flashed SuperSU 2.37 on the last few builds and it worked fine. Just flash it after you flash the ROM, enable root in Dev options and it should work.
[Moto G Android Development] mightysween:
Doesn't work for me. Device freezes when any call to root is made.
[Moto G Android Development] bharat_goku:
Never mind I missed the ril fix in last build since CDMA props worked in last build but the bootflag made all base bands fail to work hopefully this next build I'm preparing addresses both issues
[Moto G Android Development] Shinin' Bright:
Thanks so much! This ROM is working perfectly for me once I flashed the gapps using TWRP. The only thing I don't like much is that every once in a while,

the System UI force closes.

Everything else is working for me! :D
[Moto G Android Development] mightysween:
Earlier builds here back in mid-late December were registering Boost network too.

Also, the exclamation is supposed to be there if no internet is available. Same with WiFi icon.

Just got CM12 update notification on CM11 with default settings...that is gonna mess some people up! :)
[Moto G Android Development] mbj731:
Oh, from what I could remember, the network always registered as unknown. I've tried so many builds with so many tweaks that its hard to keep up with at this point! :D thanks for replying. I thought I was on to something, but guess not. Maybe bharat_goku can get everything implemented and get the ball rolling soon!

I
[Moto G Android Development] crouse:
so build 45? im losing track haha
[Moto G Android Development] bharat_goku:
Ah no i'll post up once new build is up i've made a big cleanup process in this build u can review my sources for all changes
[Moto G Android Development] Sajoeee:
what build.prop edits did you use to get a signal bar icon?
[Moto G Android Development] mightysween:
I believe the root problem some of us have may be related to recovery issues... what recovery version are you using?

When CM installs it is also flashing root in the process. Buy maybe TWRP version is simply unable to do so. I have tried 2.8.4, 2.8.3, and 2.8.1.

Heading back to dhackers 2.7 build and will see if I get root.
[Moto G Android Development] russ722:
I have CWM recovery and use eu.chainfire.supersu-2.44-244-Android-2.1 and I get root.justbgoogle it as typed.idk how to upload files.
[Moto G Android Development] mbj731:
Philz 6.58.7 I've had no problems with bootloops or getting root by flashing SU zip. I keep seeing people having problems with TWRP. To me, Philz has been the better recovery since owning the Moto G.
[Moto G Android Development] mightysween:
Funny, have always had better luck with TWRP until last 3-4 builds of CM12.

Will try a few different ones today and report on compatibility

UPDATE: Philz worked fine. So TWRP >2.7 is broken (or at for root. Dhacker's 2.7 build of TWRP works fine, but I can't mount or use adb with it...
[Moto G Android Development] bharat_goku:
Build 46 is up
[Moto G Android Development] Sajoeee:
someone test cdma & give proper feedback
[Moto G Android Development] mykehdoom:
How about you test it?
[Moto G Android Development] Sajoeee:
don't have time right now or else i would
[Moto G Android Development] kingedgar:
I'll test give me about 15 minutes...
[Moto G Android Development] dhruv7855:
Use chainfire auto root.....that finally worked
[Moto G Android Development] Hountrax:
Hey bro, the new build of today has a problem... I dont have phone service. Please I need to make calls tomorrow, can you fix it or something?.

Thanks for all the support really I love this ROM.
[Moto G Android Development] mykehdoom:
If you need to make calls that badly then downgrade to 4.4.4. This isn't meant for a daily driver yet.
[Moto G Android Development] bharat_goku:
Build 46?can u send me a screen shot?
[Moto G Android Development] mightysween:
Give me 10 minutes I will have report and logs for you... finally got root with Philz but need to nandroid CM11 first because it will not restore my TWRP backups.
[Moto G Android Development] Hountrax:
Sure :)

I think I can't put here the link, but i can send you a PM
[Moto G Android Development] mightysween:
Back to where we have been pretty much all along...

- SIM icon with line through it is present.

- Cellular network is registered but no carrier name. Incoming calls and SMS working.

- Default band #1 is GSM-850, #2 is Cellular 800 (cdma) and #3 is PCS 1900 (evdo)... #1 should not be there on this variant.

- Mcc/Mnc both "0". CID unknown.

- Phone, MEID, MIN IMEI all OK from OTA.

- Verizon PRL correctly downloaded.

- Evdo Rev.A network present but no IP address or local socket.

- Dialer FC's with "Call not sent" message.

RADIO LOG: https://drive.google.com/file/d/0ByZWXbOZqmVqM3llclhyRHBKbVU/view?usp=sharing

FULL LOGCAT: https://drive.google.com/file/d/0ByZWXbOZqmVqdmo3SlR6a015cDg/view?usp=sharing

BUILD.PROP: https://drive.google.com/file/d/0ByZWXbOZqmVqNEVZcHk2VGluOUU/view?usp=sharing

(XT1028)
[Moto G Android Development] W3ND31:
I'll test right now.

All is working good in xt1033... I can't give more results cause i'm going play soccer... After i come back, i'll post some bug (if exists...)
[Moto G Android Development] kingedgar:
Boost xt1031 CDMA here...

Got baseband version back in this one, but the no-sim icon is back. Can receive incoming sms and calls.

my adb logcat -b radio.... https://drive.google.com/file/d/0B4WRgfcsXHndVDNxWk4wQkxfeGs/view?usp=sharing
[Moto G Android Development] n4naveen:
Can someone address this issue ? .. I can't even figure out the root of this issue ..
[Moto G Android Development] aachman:
A little help needed.

Can I flash cm12 on my XT1033? I'm currently using official lollipop on my device.
[Moto G Android Development] jglm4u:
This is what someone say on android forums.. I haven't try it and none has reply if this work or not.

Wait, are calls (RIL) working for you? If data is the only problem, then I may have a (temporary) solution for you. I know it's a long shot, but worth trying.

1. Download the SH File:*http://d-h.st/dPZk. Then, put it in /system/ and change its permissions to 777.

2. Download SManager from store and find the file in /system/ and tap on it. Then, click su and net.

3. Disable WiFi,*enable data*and click run.

This is what we used for our LG L70, it works flawlessly, it may work for you guys... Thought it's worth of sharing. Good luck!
[Moto G Android Development] kingedgar:
I just wouldn't right now, either this mod or cm12 since you already have lollipop!
[Moto G Android Development] mightysween:
Checked this... it does not work, returns invalid IP and exits. Thanks for the suggestion though!
[Moto G Android Development] russ722:
Damn, google, damn motoraola, get on the damn ball and update our phones :).I hate to say this but I'm considering a iPhone.
[Moto G Android Development] W3ND31:
[MENTION=4125857]bharat_goku[/MENTION]

BUILD 46

when i go to "Keyboard & Input methods and try to activate other keyboard (swiftkey) the Settings FC... :/ In the overall the rom is running very good! (I think i will back to 42 build...) You want Logs?
[Moto G Android Development] Madafacka86:
How to activate the DT2W function in day build 18? :eek:
[Moto G Android Development] mightysween:
Not sure that this is of any use, but it had been awhile since I tried flashing 4.4.4 modem/fsg and booting CM12. It boots fine on XT1028, and I have working incoming calls and SMS but no data. Only difference from regular boot is that I now have "No SIM card - ROAMING" in status bar, "Roaming" as network status. So it is affecting SOMETHING. (also shows "R" on network icon in quicksettings when I enable airplane mode, but not when airplane mode is disabled. strange!).

[MENTION=4125857]bharat_goku[/MENTION], I think you were on to something considering /fsg as the culprit. Perhaps it is not looking at the right vendor?

Here is the radio log for this setup (build 46 on XT1028 with flashed NON-HLOS.bin and fsg.mbn from stock 4.4.4)

https://drive.google.com/file/d/0ByZWXbOZqmVqVGl0bEZqcVlWSGc/view?usp=sharing
[Moto G Android Development] bharat_goku:
Strange it seems evdo mode is unrecognised in this manner,try changing subscription type in *#*#4635#*#* and c if your getting a signal?

Made a new build with Xperience Kernel modifications Thanks to [MENTION=4403780]TeamMex[/MENTION] for the features :)

Shall update OP later i'm getting late for work a few cdma changes done too let's c where it goes
[Moto G Android Development] nmssyafiq:
updated 18.1

I flash the rom, then my phone didnt detect my sim,and at updated 16.1 phone detect my sim but cant receipts and accept sms, please fix, btw this a good rom!

On xt1033
[Moto G Android Development] aachman:
Any specific reason ?

Like would it brick my phone or create some problems if i already have lollipop?
[Moto G Android Development] bharat_goku:
Can anyone on CDMA show me a screen shot of ur /fsg folder?
[Moto G Android Development] kingedgar:
Sure, xt1031 build 46 here...
[Moto G Android Development] VitaTaf:
Sure... (XT1031, Stock Asian Retail 5.0.2)
[Moto G Android Development] mbj731:
Back to sim icon and showing no details in settings/Status menu. It does show Boost Mobile as the network this time. I changed build.prop "persist.radio.apm_sim_not_pwdn=1" to 0 and got the signal bars with exclamation again. Just trying different tweaks and that seemed to be the only one that made a difference, one way or the other.
[Moto G Android Development] srisurya95:
Theme engine added?
[Moto G Android Development] indrasatrya:
Yes
[Moto G Android Development] bharat_goku:
Interesting calls work?
[Moto G Android Development] mbj731:
Can receive calls, but can't send. Can send and receive text.
[Moto G Android Development] bharat_goku:
Send me a log please?
[Moto G Android Development] Geek.Phemy:
Wifi not working in Latest Build 47

Heyy Goko thanks for your work Man .. I really appreciate your efforts . i have a slight problem after flashing your last Build 47 . with Xperience Kernel . Wifi seems to be broke . can you have a look into it and Make it worked in your next build. Thanks Again n keep it up the splendid work. :)
[Moto G Android Development] Sajoeee:
-- delete
[Moto G Android Development] mbj731:
Just a normal logcat? Or radio? I'm at work at the moment so all I can do is boot it up and run logcatXtreme. If I can remember in the morning I can pull proper logs via adb.
[Moto G Android Development] bharat_goku:
Radio logcat if possible
[Moto G Android Development] mbj731:
Logcats and radio logs before and after tweak. Pulled via logcatextreme so I hope they're of any help.

https://docs.google.com/file/d/0B-lOZaFdyllSUmp1SkFJcEJkMjg/edit?usp=docslist_api

---------- Post added at 09:57 AM ---------- Previous post was at 09:49 AM ----------

By the way I can try pulling a radio logcat via adb in a few hours if that would be more helpful! I'm not sure if there is a difference between logs from adb and logs from an app?
[Moto G Android Development] luistomas_lm:
WiFi

Since build 42 i've been getting no signal bars and no carrier name on GSM xt1032 (of course no phone, data or texts). On build 47 this is fixed (though there's still a bug where it takes some time to recognize the sim (it says no sim at first), but WiFi is broken. We're back to the "turning on WiFi" bug...
[Moto G Android Development] -TheKoolAnie-:
In build 47 I can't got root access even I on root access in devloper setting, flashed Supersu 2.40 zip

But still don't have root in my Xt1033
[Moto G Android Development] mbj731:
Strange, since root was fixed for me in build 47. Did you dirty flash?
[Moto G Android Development] -TheKoolAnie-:
Nope.. Btw which recovery r u using

Mine is twrp 2.8.x.x

& u have Xt1033?
[Moto G Android Development] lilsidsri:
Bug

Hey [MENTION=4125857]bharat_goku[/MENTION]

flashed on my falcon :D

Everything is working fine except WiFi

Yes WiFi module broken :(

As [MENTION=5190317]fermasia[/MENTION] said, WiFi modules are included inside the rom. So i guess removing them ( the .ko files ) from the kernel would work.

I'll be ready to test it If you are willing to compile the kernel by removing WiFi modules from it & just nothing else. :fingers-crossed:

Waiting for your reply :laugh:
[Moto G Android Development] mbj731:
I use PhilZ. And I have a xt1031.
[Moto G Android Development] mightysween:
See my posts yesterday... confirmed that TWRP 2.8.x.x is no longer compatible and breaks root.
[Moto G Android Development] rokban:
Loaded build 42, installed over crdroid 4.4.4 after full wipe , used philz recovery. Everything went smooth. Enjoying lollipop. Thanks for the great build. Keep it up. No issues faced so far, almost 5 hours since install battery is excellent.
[Moto G Android Development] Lemagex:
Latest build:

root - working with twrp.

WiFi - broken.

Signal - mediocre, works for incoming. Haven't tested outgoing.

3g - working.

Music has a bug with long use again where audio will mute and become unusable until reboot but this problem wasn't present in the build before this.

XT1033