yashsingh1/xdaforums huggingface dataset:
[Moto G General] mightysween:
check cyanogenmod.org... too detailed to explain here

Seems like about a dozen blobs missing from the device that this is going to want in order to compile. Will have to manually download and install them...
[Moto G General] mmims24:
The link about setting up a virtual machine?

Bleh I had SDK and Eclipse set up on my Mac, but the ex wife took that when she cleaned me out. -_-
[Moto G General] mmims24:
Looks like I have to start from scratch. Just another thing the ex has cursed me with. Marriage is a trap. Anyways, back on topic. Give me a little while to set up and I'll start plugging along with you guys.
[Moto G General] mightysween:
Running a clean build now to make sure it works before I change anything. Not sure what to expect for time, but initial build on vs980 took almost 3 hours so it'll be awhile. Then test builds should take about 20 mins or so
[Moto G General] inyourface09:
The Dummy sub id commit is the only thing that has made a difference. My build failed last night cause CM was merging 6.0.1 stuff. I've been studying the radio log and it seems its looping.

Telephony: Fix DcSwitchStateMachine issues This one looks useful.
[Moto G General] mightysween:
i will say, it is a bit of a pain with CM13 ... still a lot of java compatibility issues and other little things that make it pretty time consuming to set up and compiling without errors.

---------- Post added at 03:15 PM ---------- Previous post was at 03:04 PM ----------

Aw, crap...hope mine isnt pulling 6.0.1. Probably is since i just synced. Grrrr.

Anyhow, I am going to just go one commit at a time through the falcon and msm8226 trees for March-May 2015 (when data was fixed previously) and see what happens.

Once we have both run through and logged that, I would guess we will know what we are looking for.

---------- Post added at 03:15 PM ---------- Previous post was at 03:15 PM ----------

any harm in building out 6.0.1?
[Moto G General] tpa-moto:
I'm sure this was in the dev section, right? Because I'm sure I couldn't post and PMed inyourface09 because of that.

Anyway, if I understand correctly you got everything working but data. Looking at the log inyourface09 posted I think that:

https://github.com/CyanogenMod/andr...mmit/3c019b06a3f479c1e9691295f058108b120b533d +

https://github.com/CyanogenMod/andr...mmit/a5863fb36f12f7c18abd448e91dd61e420c9b778 (EDIT: probably not needed) +

https://github.com/CyanogenMod/andr.../telephony/dataconnection/DcTracker.java#L792 removed (as it was in cm-12.1 before a huge code cleanup, plus, it makes no sense to check it twice)

*might* do something.

[MENTION=3683732]mightysween[/MENTION]

I built cm-13.0 few hours ago and got stuck in a bootloop. My quick and dirty solution was to comment out the following line: https://github.com/CyanogenMod/andr...libstagefright/codecs/on2/dec/SoftVPX.cpp#L53. I don't know if the problem was fixed, but in case it wasn't try that.

And for what is worth, I think the is in the framework rather than the device tree.

EDIT2:

Yep, it was mismerge:

commit in cm-12.0: https://github.com/CyanogenMod/andr...a5c#diff-f0f717ea6b3aa5b66fb6933f6120233cL818

commit in cm-13.0: https://github.com/CyanogenMod/andr...3b1#diff-f0f717ea6b3aa5b66fb6933f6120233cR761

I'd be glad if someone of you could try it. I might be able to provide a build with the needed changes if no one else can.
[Moto G General] mrfeh:
It had been off. I turned it on yesterday to see if it would make a difference...

Just turned it off again; still no data.
[Moto G General] HandsomeOne:
Yes i have data and stock sms, just no stock mms. can use third party app if needed.
[Moto G General] tpa-moto:
OK, that was just a random guess, I could see several lines mentioning that data roaming was enabled and since there are several checks here and there on that, it was worth a try.

I really can't find the problem, I'm even comparing the logs and they all look mostly the same. I need to check them better, there has to be a difference.

OK, for a moment I thought you also had issues, because the logs looked way too similar.
[Moto G General] mmims24:
Maybe a little late but I also got a radio log fresh reboot on 20160203 nightly

https://mega.nz/#!zpERSJ4Q!dL_ob59KNpExwmnSY3pBzV6sAp-p7aaY750ggYmcSig
[Moto G General] mrfeh:
just an update

I took the plunge and did a factory reset and fresh install. Still no mobile data.

Is there a different ROM (other than CM) anybody could recommend?
[Moto G General] mrfeh:
FYI - I went back to CM 12.1 and still don't have data.

I think this may be a Ting issue. Many hits on the web regarding APNs when folks switch to Ting.
[Moto G General] mrfeh:
FYI - I now have data on CM 13.

It wasn't an APN issue. I have no idea why, but I needed to reactivate my phone w/ Ting. In order to do that, I had to go back to the stock ROM.

I activated from there, then installed CM11, 12, 13, checking mobile data at each step. All is good now.

:D
[Moto G General] Phrodini:
Where do yal get updated versions of cm13 roms like resurrection, cyanpop and so on for this phone? I'm outdated on the last link Amar posted earlier last month
[Moto G General] mrfeh:
The funny thing is that after all of this, I had to go back to CM 12.1. There isn't enough storage for both CM 13 and Gapps 6.0 on my XT1031.
[Moto G General] :
Why not is a smaller Gapps package? I usually use nano.
[Moto G General] mrfeh:
Even the smallest opengapps (pico) reported there isn't enough space.
[Moto G General] :
That shouldn't be happening. Otherwise I wouldn't be able to install them either and I have no problem doing so. What stock version did you install? Was it just a stock ROM or official firmware?
[Moto G General] mrfeh:
Stock ROM.
[Moto G General] :
Have you ever installed 5.1 either by ota update or flashing official firmware with adb? Or only installed stock ROM zips?
[Moto G General] mrfeh:
If you are referring to the Motorola firmware/ROMs, the answer is no. I replaced kitkat (I believe that's what was on it when I bought it) immediately w/ CM.
[Moto G General] :
There's your problem. The partitions are updated when you update with official firmware. Right now your system partition isn't big enough for the size of the CM13 system partition and Gapps. You also have the KitKat radio. Not sure if that could be messing up your data connection or not. Have you updated the bootloader or is it still 41.18?
[Moto G General] mrfeh:
I don't recall updating the bootloader. I can't say what version it's at.
[Moto G General] :
I'm guessing you still dealing with the screen flickering until you turn your screen off and back on again and in recovery. If you want your phone to fully function properly with 6.0 ROMs you'll have to update it. If we see CM14 you may not even be able to install it. You have 3 options,

1. Either download stock firmware here:

http://www.filefactory.com/file/6532dmxaeuu3/XT1031_FALCON_BOOST_5.1_LPB23.13-56_cid9_CFC.xml.zip and flash it with fastboot.

2. Take the ota update, which would require going through a bunch of trouble flashing the 4.4.4 firmware, recovery and all with fastboot. Then installing the ota update and then reflashing custom recovery.

Or, if you really don't want to go through all that trouble,

3. I can give you a link to another sight where you can find a flashable zip to update your partitions. Honestly, I would just go with the first option, but I can say the partition updater works since I have updated 2 of these phones with it and another with the ota update and I see no difference.
[Moto G General] mrfeh:
Ah, yes. Actually I must've updated it shortly after I got it, because I didn't like the flicker.
[Moto G General] :
The bootloader only?
[Moto G General] mrfeh:
I never installed any ROMs/firmware from Motorola, if that's what you're getting at.

So, yes, I'm sure my /system partition is not the size it should be for more recent ROMs/gapps.
[Moto G General] :
Yes, I'm absolutely sure that is your problem. You should get better performance from CM13 if you update your partitions. If you want to go the easiest route, I'll pm you the link for the partition updater.
[Moto G General] mrfeh:
I'd appreciate that. Will it destroy existing data? I'm not interested in reconfiguring my phone for a while...
[Moto G General] :
Here's the link to where this came from:

http://androidforums.com/threads/cdma-moto-g-stock-4-4-4-and-5-1-soak-tests-boost-mobile.837664/

Flash this zip:

https://mega.nz/#!R9xy2YBB!7fIoXHXqhmkks8CT7NErpMB5VHWUf1GTtd2jaVfFt-o

It was originally made by SuperR. from the first Boost 5.1 ota update soak test to be able to install 5.1 roms made from it and have the partitions, radio, bootloader and all updated like taking the ota update or flashing official firmware without all the hassle of using fastboot. I modified it by removing the bootloader, and adding the newest modem.img so you don't have to worry about anything bricking your phone, since you say you already updated the bootloader anyway. You likely updated your bootloader with a zip I posted that also came from the original partition updater. You should have a better data connection with the newest radio also. Just flash the attached zip, reboot recovery, then reflash CM13 without wiping data, but wipe dalvik cache. You should be able to flash GApps also. I just flashed it myself before uploading, so you shouldn't have to worry about anything, but I should say, I take no responsibility for anything that happens to your phone as a result of flashing this zip. Flash at your own risk... Blah, blah, blah.

Edit: no, it won't destroy any existing data.
[Moto G General] tpa-moto:
I don't think the partition layout ever changed, I think system had always been 976MB big. The following command will tell you how big /system is (actually, it will tell you how much space there is that you can use, some space is reserved, so you you'll see less than 976MB as available) and how much space is currently used:

df -h /system

Anyway, updating the modem could help and maybe that's what caused all the issues with mobile data.

FYI CDMA needs APNs only for MMS, mobile data works without them. It's Android that needs them. As long as you have a, let's say, proper APN profile, mobile data should work.
[Moto G General] HandsomeOne:
Tried to add APN for Boost Mobile but won't work is they a place I can add it manually ??
[Moto G General] mrfeh:
Thanks very much!

Before I do this, can you please report the size of your /system partition? I don't want to go through this for no gain.
[Moto G General] :
961mb. Do you by chance have a debug log in your sdcard from flashing GApps? If so, could you upload it so I can take a look at it?
[Moto G General] mrfeh:
I believe mine is also right around 1 GB, but I'll need to double check tomorrow.
[Moto G General] HandsomeOne:
My system part is 961mb also
[Moto G General] mrfeh:
My /system is 961 MB.
[Moto G General] :
I must be remembering wrong about the size of the actual system partition is bigger, but the whole partition table changed from KitKat to LP and there are other partitions that all work together that were changed. I've seen others with the same problem, that is how I guessed you hadn't updated officially. I didn't just pull this out of nowhere. I really don't care what you do, I was just trying to help. Take my advice or don't.
[Moto G General] toasterboy1:
Anyone get the stock MMS to work with page plus? Currently have boost moto g flashed to page plus running resurrection remix 20160211.
[Moto G General] FeRoCiiOuS:
Hi, I have a nexus 5 on cm 13 that was working with ringplus and I had lte. I updated to the new cm13 rom and now upon boot it shows an empty network connection bar. Can anyone help? I flashed the mvnoringplus zip I found in another thread and now upon boot, it wont even detect the sim card. I know this isnt the nexus 5 thread, but since its still cm 13 and I know it isnt a hardware issue cause I had it working just fine with lte prior to updating and clean flashing cm13 5/26 nightly.
[Moto G General] :
Your best bet is to try in the Nexus 5 thread.
[Moto G General] motisand:
Where can I download the ROM?
[Moto G General] :
This is a pretty old test thread. Go to the Moto G Android Development section, there's also some things in the Original Andoird Development section.
[Moto G General] motisand:
But I'm unable to understand which of the Roms would work for my specific model xt1031, do all roms work across all variants?

I don't need data or the network to be working, just need a working wifi device
[Moto G General] :
All the newer ROMs should work fine for you.
[Moto G General] n0ts0smart:
I have an XT1031 as well and can tell you that almost every current ROM here will work but not all are CDMA compatible.... but if you don't need a mobile network connection you will be fine.

Also since I'm in the thread has anyone found a fix or workaround to be able to send pics through Hangouts. Not really a huge deal as third party apps are available. I have gone so far as decompiling Hangouts to edit the xmls but sadly no matter what I've tried I am unable to gain the functionality.
[Moto G General] motisand:
Thank you, what Roms do you recommend? I flashed cm but it gave me a bootloader error
[Moto G General] hhp_211:
Update your boot loader

You can use this tool ,if you like, to help with the process

http://xdaforums.com/showthread.php?t=3093793
[Moto G General] motisand:
Any way I can flash it through recovery?

I'm on a vacation and don't have a PC around
[Moto G General] n0ts0smart:
https://www.androidfilehost.com/?fid=95916177934538145

The link is for a flashable zip zip to update your bootloader/partitions. It has been a long time since I updated mine but if I remember correctly in order to avoid errors in TWRP I had to follow this procedure. You might be able to do it more ways than this but it worked for me without issue.

1)Wipe Dalvik,Cache,Data and System

2)Flash updater zip provided in link

3)After flashing the zip reboot to recovery through TWRP as trying to flash a ROM and gapps without this bstep would fail due to errors.

4)After you are booted back into recovery flash as normal

Also on a side note be sure the ROM you intend to flash is LP or MM based. I have seen but don't know first hand that flashing a KK ROM after updating your partitions leads to errors and if you are without a PC might be a problem. Maybe someone else can confirm but I never went back to KK since so I could not tell you.
[Moto G General] Phrodini:
I wasn't able to go back to KitKat myself after updating the bootloader. It would give a drive error because of not being compatible in recovery.
[Moto G General] tpa-moto:
Is there someone who would like to try a build that should fix MMS and give you access to the APN settings?

Here the build: https://mega.nz/#!LEtnVKqJ!xerRK2H4NJFPtkbfNXo1L2UNZ2fTWOu-euDd3oQwoow
[Moto G General] :
Since no body else has, I can't check MMS because my Falcon isn't activated right now, but if it helps to know, I was unable to access APN settings.
[Moto G General] tpa-moto:
Thank you for trying. The two things (APN settings and MMS) should be related, but I hope they aren't in this case.

Forgot to mention the change: http://review.cyanogenmod.org/#/c/156661/. As you can see in the comments, the creator of the patch managed to get MMS working (with Sprint) on L900 (Galaxy Note II?).
[Moto G General] :
In case it helps, I've been using a Moto E 2015 on Boost Mobile and MMS works with the stock apk on CM13.

Edit: this phone has LTE though, not just 3G.
[Moto G General] tpa-moto:
Is that RUIM or NV? Because I think only the latter has issues and up until recently I though falcon was the only NV phone around (but apparently there's also this L900).
[Moto G General] :
Ah, I didn't think about that, it is RUIM.
[Moto G General] garrymar:
Mobile data doesn't work on LineageOS14.1 (CDMA)

Hello, Team!

Many thanks for mobile data support on CM13 for CDMA phones!

As CM13/LineageOS13 is no longer available for Falcon, I've migrated to LineageOS14. It works fine. The only issue I faced is lack of mobile data. I use XT1031 device, operator is 'Perfectum', code '43406' (Uzbekistan).

To fix the issue I tried to add following modifications:

/system/build.prop:

ro.cdma.home.operator.numeric=43406

ro.cdma.home.operator.alpha=Perfectum

/system/etc/apns-conf.xml:

<apn carrier="Perfectum" mcc="434" mnc="06" apn="default" user="perfectum@perfectum.com" password="a" type="default,supl" />

..., but no success.

I've attached radio logs, full one and the one after enabling mobile data.

Any help is much appreciated. Thanks!
[Moto G General] ShapeShifter499:
I'm also getting this issue. I have this phone falcon connected to Freedompop CDMA and it worked on CM13 but not on LineageOS 14.1
[Moto G General] tpa-moto:
The problem is due to missing APNs. The dummy APNs are no longer created and you can't just add the APN to the list like that. The list is re-read under certain conditions (data wipe, upgrade and don't remember what else). The APN preferences should now work though. If they do, you can just force a reload of the APNs from there. That will cause Android re-read apns-conf.xml. If that doesn't work, try to add you APN from the settings.
[Moto G General] ShapeShifter499:
Do I have to create the list and somehow get the system to reload them? I'm confused.

Moto G Falcon LineageOS 14.1
[Moto G General] tpa-moto:
Can't you just do Settings > More > Cellular networks > Access Point Names and do your things there?

To reload the list in /system (in case you edited it as garrymar did), you press the overflow button and select Reset to default.

If you didn't change the list in /system, then you can just add your APN manually from there.

I still don't know if these preferences work for you, but at least they should be there now.
[Moto G General] ShapeShifter499:
I compiled a version myself from sources about 9 hours ago to incorporate the patches needed to run "MicroG" which is a open source implementation of the Google Framework. I wiped everything clean before installing LineageOS 14.1 for the first time. Maybe I did something wrong but when I go to "Settings > More > Cellular networks" I get a error message "com.android.phone has stopped", I don't even get to the APN settings at all.

Here are some logs from this

logcat: https://gist.github.com/ShapeShifter499/c7ae08da7c7d8aefaf419675201cdfad

dmesg: https://gist.github.com/ShapeShifter499/8e91159342376930cc7679af44543e77

The patches I included was the the following two for MicroG support in Nougat.

Signature spoofing: https://github.com/microg/android_p...aster/patches/android_frameworks_base-N.patch

Non-system location providers: https://github.com/microg/android_p...aster/patches/android_frameworks_base-N.patch
[Moto G General] garrymar:
Hi tpa-moto,

I read the thread and I want to thank you for the great work done for Falcon CDMA community!

Thank you for suggestion, I tried to wipe data to reload apns-conf.xml, but it didn't work. Also, I can't access 'Cellular Network' because of bug reported. I've attached radio log after data wipe. Thanks you very much!
[Moto G General] tpa-moto:
Ugh, this is missing: https://review.lineageos.org/#/c/163954/

Can you pick that and rebuild TeleService (mkap TeleService)?

---------- Post added at 13:15 ---------- Previous post was at 12:57 ----------

The list is still empty for some reason:

buildWaitingApns: mAllApnSettings=[]

. I guess I should bring back the dummy APN profile. That wouldn't allow you to send MMS, but it should fix mobile data. It needs to be fixed though.
[Moto G General] tpa-moto:
For what is worth, this log reports:

RIL_REQUEST_OPERATOR.response[2], the numeric, is bad. Using SystemProperties 'ro.cdma.home.operator.numeric'= 00000

while the previous one had

RIL_REQUEST_OPERATOR.response[2], the numeric, is bad. Using SystemProperties 'ro.cdma.home.operator.numeric'= 43406

Before the wipe you had correct numeric, but no APNs. After the wipe you don't have the numeric set.

And for the record, probably no one is reading that thread. Report the bugs you find on Jira. If the bug isn't a regression (such as this one), you can report it here: https://jira.lineageos.org/projects/BUGBASH/summary (currently open only during weekends).
[Moto G General] garrymar:
You are right, before the wipe I've made update and it rewrote build.prop. I'll try it again tomorrow.

Should the RIL's failure to get numeric automatically be considered as a bug?

Thank you for the suggestions. The CM JIRA was a bit stricter for nightlies, so I used to post bug reports in official threads on XDA. As I understand, it is not necessary to report the bug about inaccessible cellular settings on JIRA, because you have committed the fix already.

Thank you!
[Moto G General] tpa-moto:
As far as I know that's been always like that and there isn't really much I can do. Stock firmwares either have the right numeric in the build.prop or have some binary that sets it. This is possible when you make one build per carrier, I can't do something like this for LineageOS since the same build is used for all the carriers. Unfortunately there's no known way to determine the carrier at boot time.

In any case, the numeric should be needed to get the right APN. If I manage to fix the APN preferences, it shouldn't really matter.

For your information, you can create /data/local.prop and put the properties there instead of editing the build.prop. In this way your props won't be lost when you update. I should probably add some info to the wiki, especially now that the dummy APN profile is not generated.

Yeah, I know that and yes, there's no need to report anything on Jira now.

---------- Post added at 20:54 ---------- Previous post was at 20:45 ----------

One more thing I forgot to mention. You can just delete /data/user_de/0/com.android.providers.telephony/databases/telephony.db and /data/user_de/0/com.android.providers.telephony/databases/telephony.db-journal instead of wiping /data (better if done while in recovery or with adb after running 'stop' as root).
[Moto G General] garrymar:
Thank you for the explanation. Understood.

Thank you for the suggestion! When I tried it first time it didn't work, it was created with 666 access mode by default. Then I changed the mode to 644 and it got parsed.

Thank you! It worked like a sharm!

The phone has mobile data now with your help! Thank you very much!

Can you advise the best directions I can take to get APN settings into default LOS14.1 apns-conf.xml (JIRA report?).

Below are my working APN string and home operator numeric for CDMA operator Perfectum, Uzbekistan (http://perfectum.uz):

--- apns-conf.xml.orig	2017-03-02 09:50:27.892104611 +0500
+++ apns-conf.xml	2017-03-02 09:19:32.542191331 +0500
@@ -3889,4 +3889,5 @@
<apn carrier="Claro MMS" mcc="748" mnc="10" apn="mms.ctimovil.com.uy" proxy="" port="" mmsc="http://mms.ctimovil.com.uy" user="" password="" type="mms" />
<apn carrier="Claro UY" mcc="748" mnc="10" apn="gprs.claro.com.uy" user="ctigpr" password="ctigpr999" type="default,supl" />
<apn carrier="Claro UY MMS" mcc="748" mnc="10" apn="mms.ctimovil.com.uy" user="ctimms" password="ctimms999" mmsc="http://mms.ctimovil.com.uy" mmsproxy="170.051.255.240" mmsport="9201" type="mms" />
+ <apn carrier="Perfectum" mcc="434" mnc="06" apn="default" user="perfectum@perfectum.com" password="a" type="default,supl" />
</apns>

# tail -n 1 /data/local.prop
ro.cdma.home.operator.numeric=43406
[Moto G General] aadityaraj1:
Hello.I'm using Moto G XT1028 and I'm from India.Does the Mobile data really working if yes then what would have to flash to get mobile data working.where's the link for rom.