yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] mightysween:
also, cdma radio log:

looks like success in the "no sim" functions... And also registering voice as CDMA. Still not sure about the LTE stuff... It certainly is looking for LTE but I am not sure that is what is breaking a 1x or EvDo connection from being connected. It is registering the proper voice and data connections...

I can't figure out why we can't at least dial out on voice.

Possible that the dialer is screwed up for non-SIM devices??

And is our data problem maybe no longer in the RIL but higher up the chain in network handlers?

https://docs.google.com/file/d/0ByZWXbOZqmVqWHpZVjNDRFhobXM/edit?usp=docslist_api
[Moto G Android Development] mightysween:
Trying to test my dialer theory (though I don't think it is the problem)... I have tried replacing /system/priv-app/dialer/dialer.apk with a bunch of replacements and setting correct permissions as root, but so far none work all. I just end up with no dialer at all.

Anyone suggest any Lollipop compatible dialer apks other than google and aosp dialer? Not dialer apps, but actual system dialer replacements.
[Moto G Android Development] tzzeri:
No
[Moto G Android Development] Awesomeslayerg:
Ill be leaving the moto G family soon. I think ima get a samsung galaxy s3 because of lack of storage on this device but i still love it. So ill try to send as many logs as possible. This phone will probably be my logcat/ custom rom phone.
[Moto G Android Development] Dark Raven:
Is it possible to flash it on 5.0.1 GPE converted xt1032?
[Moto G Android Development] mightysween:
Thanks for the help. I will probably upgrade soon too...but I have four of these G's in the house being used as phones, wifi only "mini tablets", and even as a dedicated remote control and media streamer in the living room. (it costs less new than an actual remote!). I will also be sticking around these threads :)
[Moto G Android Development] tzzeri:
How do I get 'power button ends call'? I really need that option.
[Moto G Android Development] tzzeri:
Anyone?
[Moto G Android Development] gharrrrrr:
On GPE moto g and still have problem with system partition install. I so want a custom ROM for this device but all the ones based off CM fail to install on a true GPE device.
[Moto G Android Development] tzzeri:
Maybe convert it to a normal one, with firmware
[Moto G Android Development] Sik-1:
You have to use the vanir ROM on gpe edition, the only rom I have read that works on those phones
[Moto G Android Development] bharat_goku:
NEw build up :) do send me logcats

Added a few patches for CDMA and fixed the ril starting issue I'm starting another build now with custom ril headers
[Moto G Android Development] Sik-1:
How does one get the download link on the browser since I don't have Google drive installed???? Don't really like the way drive handles files actually
[Moto G Android Development] KaaMyA:
I just use Chrome, go to the site, press menu and change site to desktop version.

After reload, just click the downlod button at the top.

Chrome will start to download as usual.

You could also try a download manager that features a built-in browser with desktop mode feature like ADM).

Google Drive app isn't necessary to be able to download files from Google Drive site.
[Moto G Android Development] bharat_goku:
Made another build for anyone whose interested in doing some testing,I've been working on this for about 2 weeks i really would like to close this thread soon,so requesting people to keep sending me logcats as and when possible
[Moto G Android Development] Sik-1:
Thanks that's wat it was changing to desktop mode

---------- Post added at 02:40 AM ---------- Previous post was at 02:36 AM ----------

Downloading build 31 now
[Moto G Android Development] sanchit0403:
Have you applied any patches for dual sim in the new build should i test the new build on xt1033 or only cdma patches are applied.
[Moto G Android Development] bharat_goku:
I've mixed both dual and CDMA patches build 31 has a new libril rectifying an an unsol error which occurred in earlier builds I'm considering recreating the telephony neater in the next build once I get all unsol errors fixed
[Moto G Android Development] classic757:
[MENTION=4125857]bharat_goku[/MENTION],

Okay, I flashed build 31(did not try build 30) and I get a signal bar with an exclamation point and an "r" in the status bar. I believe the r means the phone is in roaming mode and not connected to my carrier's network, is that correct?

Anyway I am not able to make calls out and no data either(no internet connection without wifi)

See screenshots below and recovery log:
[Moto G Android Development] bharat_goku:
I think i got the data issue seems ril doesn't know how to handle an unsol namely "RIL_REQUEST_ON_GET_DATA_CALL_PROFILE"

which in old RIL seems to be RIL_REQUEST_GET_DATA_CALL_SUBSCRIPTION and that causes a break for data connection

There also seems to be a missing unsol value namely "RIL_UNSOL_OEM_HOOK_RAW" so i've decided to over write it my self now,

Made a new build with these 2 changes should be uploaded in a bit

I told myself 31st i'll finish this so bear with numerous builds i'll be making to achieve this

EDIT:Test build 32 with the fixed unsols i missed out in last build
[Moto G Android Development] classic757:
Downloading build 32 now and will flash immediately. Thanks.
[Moto G Android Development] classic757:
Okay [MENTION=4125857]bharat_goku[/MENTION],

On build 32 there is a no signal icon in the status bar.

And when I go to the data settings>more>mobile networks- the screen goes black except for the status bar and the soft keys at the bottom. See screenshots and recovery log:
[Moto G Android Development] bharat_goku:
Quickly can u pull an adb logcat -b radio?
[Moto G Android Development] sugarbuger70:
I've noticed (build 28 or 29) if I deny all permissions to telephony.apk phone.apk and messaging. Apk, the no sim card icon is replaced with an empty triangle(no signal) and in settings status showed signal dBm etc and connected but nothing connected after shows no service etc. So I know these 3 apps need looked at idk. Hope that's helpful. Also using sqlite editor on telephony.apk on kitkat, there's a CDMA field but all is blank. In the telephony.apk for this ROM, no CDMA instead there's a sim field (also blank within) will upload screenshots

---------- Post added at 09:07 AM ---------- Previous post was at 09:01 AM ----------

Had to deny perms to phone and messaging of course cause the force close if I only deny to telephony.apk (phone/messaging storage app)

Also under carriers in db in telephony.apk using squlite again shows boost as 1 under the current field in kitkat., this ROM boost is there along with all carriers, but no current so I edited by adding the 1 and didn't solve anything
[Moto G Android Development] classic757:
Sure, I'll do that now.
[Moto G Android Development] sanchit0403:
On build 31 sim is not detected on xt1033 it is showing no sim inserted in setting logcat coming soon
[Moto G Android Development] classic757:
[MENTION=4125857]bharat_goku[/MENTION],

Here you go:
[Moto G Android Development] mightysween:
I get no service on Build 32, and force close when I try to enter mobile network settings (xt1028)

Radio log:

https://docs.google.com/file/d/0ByZWXbOZqmVqM211akxaSWtCQ3c/edit?usp=docslist_api

Logcat:

https://docs.google.com/file/d/0ByZWXbOZqmVqdDM3ZmI1TVV0WDg/edit?usp=docslist_api

skipped testing build 31... Roaming indicator was a good sign, will drop back and test that now
[Moto G Android Development] xutienan9520:
Hi everyone.

Im holding a Moto G XT1028 model with 4.4.4 firmware.

I still could not figure out how to root/unlock BL this device.

Pretty jealous you all got lollipop :(
[Moto G Android Development] bharat_goku:
Made the dumbest mistake hold on rebuilding

By the way I'm getting a new laptop on 1st mostly so maybe after that u can expect builds faster
[Moto G Android Development] mightysween:
Fwiw, I did not get the 'R' icon on build 31... was hoping too because this is normally how a working new install of a custom ROM behaves at my location. Initial boot has roaming indicator until I dial *228 to activate.

Oh well, onward to build 33! :)

Note: one of these builds also made persistent radio change that disabled radio when I nandroid back to 4.4.4. Just a quick fastboot flash of modems to fix
[Moto G Android Development] sanchit0403:
Sim is not detected how to take radio log

Here is the logcat

http://speedy.sh/ayXkb/logcat.txt

---------- Post added at 09:12 PM ---------- Previous post was at 08:53 PM ----------

Here is the radio log for XT1033

http://speedy.sh/EXbD4/radioXT1033.txt
[Moto G Android Development] sugarbuger70:
I understand all the other fixes it needs, thanks to all should I decompile both the phone and telephony apps to look at differences between kitkat and lollipop since other phone apps from other lollipop ROMs are incompatible, could be the apk is specific to the model and causes the force close on dial out. Just a thought y'all might of already tried
[Moto G Android Development] mightysween:
I started working on this idea yesterday but dont have time/resources to test it. I agree it is possible that cdma IS working but dialer and telephony are not compatible
[Moto G Android Development] Sik-1:
Doesn't sprint have the n6, maybe you can look thru their apps and maybe find whats missing from ours
[Moto G Android Development] bharat_goku:
New build up,

Kind off is in the telephony but more in the RIL layer since lollipop filesystem changed more than one expected i think our big flaw was we depended too much on blobs while changing to lollipop we didnt decide to make an open source RIL layer and fix it more easier portability it's an idea but it'll take time to work on,
[Moto G Android Development] mightysween:
Build 33 had force close then black screen on initial boot, and "no service"...same as 32. Also FC/crash on dialer, network settings, or Testing phone information.

Cant get play store to work either, so no logcat until I get to a PC later
[Moto G Android Development] Awesomeslayerg:
I would test but i lost my OTG usb drive and until i find it i dont want to test it. The reason is because all of my custom roms are on there and adb sideload is such a pain in the ass.. Sorry [MENTION=4125857]bharat_goku[/MENTION]
[Moto G Android Development] mykehdoom:
Has anyone tested it on XT1031 yet?
[Moto G Android Development] DoctorStrange96:
Will test here on XT1033. I'll also test Aneriks build and pull some logs from there too
[Moto G Android Development] mightysween:
Mine is XT1031 just flashed to Verizon... should act the same on Boost. (build 32/33/not working)
[Moto G Android Development] DoctorStrange96:
Hey [MENTION=4125857]bharat_goku[/MENTION], it seems that RIL is still broken in build 33. No sim cards detected at all. I've also tested Aneriks build. Its the same thing as one of your earlier builds. Only first sim seems to be detected, can't register in any network, and only the first IMEI shows up.

I've got logs from both your build and Aneriks build for you to check.
[Moto G Android Development] bharat_goku:
Argh this is annoying the java class error is occurring again :(
[Moto G Android Development] bharat_goku:
A little update I have bought a new system it'll take me a day or 2 to setup next build in the new year! Wishing everyone a happy new year :)
[Moto G Android Development] owaisnaim:
Dual Sim compatibility XT1033

Samsung Grand 2 have same chipset as our Moto G and it supports Dual Sim as mentioned in this thread

http://xdaforums.com/galaxy-grand-2/orig-development/dev-preview-lollipop-galaxy-grand2-sm-t2949693

Pls look at this thread, Ask the creator abt Dual Sim or U can check his source..

& Also, A warm HAPPY NEW Year to you..

Regards.

Owaisnaim
[Moto G Android Development] russ722:
Not sure if this will help but , theres a galaxy s3 sprint rom with working network. Maybe the op can contact him and see if theres anything were missing to get data/calls to work?id do it but i have no idea what to ask )

Link is here:http://xdaforums.com/galaxy-s3-sprint/development/rom-unofficial-cm12-lollipop-t2953040
[Moto G Android Development] mightysween:
Just read that XT1033 official OTA is pushing in India... this should solve dual sim issues pretty quickly
[Moto G Android Development] russ722:
N/m :)
[Moto G Android Development] mightysween:
Right, but if it really is an official OTA that is a good sign that things are moving along at Motorola. Hopefully we at least get a peek at the XT1031 code soon
[Moto G Android Development] :
source and link of the this "ota release" news?
[Moto G Android Development] mightysween:
I still havent been able to confirm it anywhere else.

http://customstoday.com.pk/android-5-0-lollipop-update-for-moto-g-xt1033-20/
[Moto G Android Development] :
Looking at other posts, its more than obvious its fake.

Enough off-topic.
[Moto G Android Development] OldYellowBricks:
Googled the firmware number version stated and got results dating back to 8th december so I think its a red herring
[Moto G Android Development] mightysween:
Off topic? Just trying to help. Guess this article just recycled old info from the soak test...oh well. Happy New Year
[Moto G Android Development] Awesomeslayerg:
Happy new year to everyone :D. I started going to the gym which is a good start and im lovin it. Hopefully we will get cdma in the next build.
[Moto G Android Development] azascan:
forgive my ignorance

I cannot figure out how to flash this rom..i took the web address of the drive page, opened it on google drive app....it seems to download then sends me to rom managers pre rom install....i install it but doesnt get to the wipe phase.....
[Moto G Android Development] bharat_goku:
I did although I realised they have a file named libsec-ril.so which handles their ril layer need to check if we have something similar also he got his fix by using the s3 device tres
[Moto G Android Development] merothh:
[MENTION=4125857]bharat_goku[/MENTION]

Looks like you didn't pay attention to the above quote.......

"Samsung Grand 2 have same chipset as our Moto G and it supports Dual Sim as mentioned in this thread"
[Moto G Android Development] pico hackr:
please check the above post its been answered already
[Moto G Android Development] :
https://github.com/Klozz?tab=activity

Klozz/TeamMex added some test ril commits for dual sim falcon, you may wanna check those!
[Moto G Android Development] DoctorStrange96:
Ok, no problems. But anyways, thanks for replying :)
[Moto G Android Development] rizki_Alkaf:
same here, i'm using xt1033 asia retail, flashed build 11, any fix yet?
[Moto G Android Development] bharat_goku:
Any logcat?

OK that's good in settings are you able to see status of both Sims?

Any change in reading sim status?
[Moto G Android Development] Lucas Eugene:
In xt1031 it is still showing as no Sim card. However I am able to receive calls and text messages like in other cm12 roms
[Moto G Android Development] bharat_goku:
Ur able to receive calls and texts [emoji15] might be a smaller bug than I thought ,I'm making a new build in a bit.
[Moto G Android Development] Lucas Eugene:
Yes i am thanks
[Moto G Android Development] rizki_Alkaf:
and how to do so? sorry :p
[Moto G Android Development] bharat_goku:
Send me a log?

Use adb logcat *:E

Sim status isn't getting updated in systemui apparently
[Moto G Android Development] Lucas Eugene:
I'm sorry i cant im back to 4.4.4 will post log on next weekend
[Moto G Android Development] rizki_Alkaf:
here you go, hope it's the right one :p
[Moto G Android Development] bharat_goku:
Perfect ,sim card state isn't initialising properly as I thought phone Id is being set to null for some reason new build will be up soon
[Moto G Android Development] rizki_Alkaf:
thanks! :D

can't wait for the next build
[Moto G Android Development] sanchit0403:
Thank you very much for working on dual sim cm12 for our xt1033 can i flash it on soak test 5.0
[Moto G Android Development] pico hackr:
For now its not a good idea to flash it over soak

And please check previous posts for answers by [MENTION=5075997]==vj==[/MENTION] here http://xdaforums.com/showthread.php?p=57484699
[Moto G Android Development] Sorrido_Suneko:
Hello sir,

I would like to ask you, would this ROM work with the ZTE Blade Vec 4G? It too has the MSM8226 CPU.

Thank you in advance for your reply and work
[Moto G Android Development] Lucas Eugene:
Um no but why did you even asked :p
[Moto G Android Development] bharat_goku:
Na there are too many things which are different such as vendor files structure of ur system if u wanna brick ur phone u can try but don't hold me responsible :P

New test build is up ,check OP
[Moto G Android Development] thuva06:
ok so now am currently running Mokee 5.0.1 larest on my GPE converted xt1033 ... i wanna test your latest build... for a clean install should i just format system / factory resent/ clear dalvik and cache and flash this rom ?

or to check the dual sim compatibility do i need to flash the asian 4.4.4 firmware ?
[Moto G Android Development] bharat_goku:
Ull need to be on Asian retail to check dual sim the new build will work on gpe but with single sim
[Moto G Android Development] thuva06:
thank you ! but i got less time so i ll flash it above the GPE and let you know any bugs :)
[Moto G Android Development] bharat_goku:
Not really he's using the wrong unsols doubt it'll fix anything he seems to have forked the grand 2 file as it is and changed the name for falcon that's ,i've mentioned in an earlier post regarding the unsols which need to be corrected maybe u can help him by sending that message through

EDIT :Checked again he added the RIL patch for S3 neo variant not really a fix
[Moto G Android Development] lovemax.k:
Hi I have 2 basic questions

1) using XT1033 duel sim Indian version, stock rom 4.4 Asia retail, unlocked, rooted, cwm installed, I know the bugs of this rom and I don't have any problem should I install this?

2) when we get official lollipop OTA from Motorola, can I easily revet or flash that rom? Please help
[Moto G Android Development] iamVinter:
Hey man.

First of all 1) This rom works differently varying on the model number of your device, and whether or not your phone is dual sim. This rom is still in progress, so things may be buggy, or they might work great. Its a chance that is worth every second.

2) No one knows for sure exactly when the official OTA update is coming out. When it does, yes, you can revert root etc to stock, and then recieve the OTA, or you can flash another version of any compatible rom you want to.

hope this helped :)
[Moto G Android Development] Lucas Eugene:
On this Rom on XT1031 I am able to receive calls but not place any. Also I can only receive new msgs but not type anything new. However on other cm12 msgs worked both ways. See here
[Moto G Android Development] merothh:
* The cm12 (unofficial) builds right now only natively supports the xt1032 variant of the moto g (other variants such as the xt1033,xt1028,xt1031 have issues with sim gettiing detected and so on)

*So for except the xt1032 variant every other variant of the moto g has issues with getting connected to the network

*So the OP is trying to fix these issues (Hats off to [MENTION=4125857]bharat_goku[/MENTION] for the progress we have made so far.He"s very involved and upto my knowledge the only one who cares about the other variants getting support)

*Right now we are having a shortage of xt1033 testers , (So if you can you better help us out )and so the focus is mainly on CDMA users (dont worry they will get to us soon enough,its just that the priority is lower)

*Its possible to get a single sim working on our variant(xt1033) by converting to 4.4.4 GPE and then flashing this build on top of that and then to flash donkey kang kernel to fix a single sim working..........Even our operator has said to "steer clear off" this build as he is trying to resolve the issues and it may mess up the phone (just the cellular connectivity i guess, and he told not to take the risk)

*So you can like me and many users Go over to aneriks cm12 build (its build directly from cm sources) download that convert your phone to 4.4.4 GPE and then flash the rom and flash the latest version of donkey kang kernel to temporarily resolve the issues with the first sim

*Be warned though it is not a daily driver to use and also WiFi hotspot is not working it is not stable if you can suffer the bugs and occasional crashes and be ready to flash back to kitkat then go ahead flash it.....

*Also be prepared to flash the 4.4.4 factory images to get back the dual sim functionality and get to stock when the official updates comes out........

Hit that thanks button if i helped:D.It took a lot of time to explain this much..........
[Moto G Android Development] W3ND31:
i can be an xt1033 tester. I will test the last build. i hope that the multisim support will be fixed soon!

- Build 28 --> first sim with the "no sim card" icon. Second sim with the signal bars empty.

How i make all logcats, dmgs and others bug list to help the OP?
[Moto G Android Development] pico hackr:
hope this helps you http://xdaforums.com/moto-g/themes-apps/easy-logcat-andy-log-root-t2969633
[Moto G Android Development] mightysween:
...aaannd we have CM nightlies. Things are moving more rapidly now, and I suspect we will see good progress this week.

http://www.cyanogenmod.org/blog/the-l-is-for-lollipop

BTW, official CM blog claims "full" support for calls and data on falcon...but I havent seen anything on Gerrit that looks to solve XT1031 and XT1033 issues

Here is the quote:

I am guessing this isnt exactly correct... "falcon" probably means XT1032

But we shall see... keeping an eye out for that build
[Moto G Android Development] shadie21:
I hear Wi-Fi hotspot is fixed in a newer build of cm12 also, I don't know how true that is tho
[Moto G Android Development] Lucas Eugene:
Sorry for the ot but do you get 3G on other cm11 Roms. I could get only 1x on custom Roms based on cm. I have the cdma variant
[Moto G Android Development] ImmU94:
Sim Card Not Detected

Hi, I installed CM 12 in my XT-1033 and my both SIM cards are not getting detected and, i'm not able to get back to my stock ROM too, Please somebody help me :(
[Moto G Android Development] sanchit0403:
If you are restoring backup which error are u getting
[Moto G Android Development] abhifx:
Dont forget jira.. bugs filing is gooo!
[Moto G Android Development] bharat_goku:
Ok took longer than expected for the next update,just got my hard drive caddy off ebay today ,shall be installing ubuntu today and setting up base again probably a day more for me to get back,

Sorry for the delay...
[Moto G Android Development] manoj36:
Waiting for official cynogenmod nightly which is to be launched soon..
[Moto G Android Development] sanchit0403:
No problem but you should wait for cm12 i guess today its going to released n it shall be multi support if it doesn't happen then start your build.
[Moto G Android Development] sanchit0403:
anyone tested cm12 official it is not booting on my xt1033

edit sim card is not detected working in xt1033 but hotspot is working
[Moto G Android Development] ImmU94:
Sorry for the delayed replay i'm getting "Error Flashing zip":confused:
[Moto G Android Development] classic757:
Okay guys, flashed official CM12 on my xt1028 CDMA Moto G and got bootloop so I restored my stock backup and then flashed cm11, 4.4.4 gapps and supersu 2.4.3, rebooted, then dirty flashed cm12 and 5.0.1 gapps over cm11, rebooted.

Here's the deal: Same as unofficial cm12 builds. No data/calls. :( (Can receive calls but not able to make calls. Did not try sms) Also get the sim card symbol with the slash across it in the status bar and the "NO SIM CARD- T CDMA 64" error in the staus bar as well.

This is obviously a build only for xt1032, just like all the othe cm12 builds. I give up. Just gonna wait for the ota from my carrier. Probably gonna be 5.0.2. Maybe that's why they(the carriers) are taking so long because 5.0 and 5.0.1 have some bugs that need to be worked out.