yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] mightysween:
Just to be clear, I am testing on XT1031 cdma only with no sim... where did all the XT1033 testers go?

This bootloop is part of the CM base since the first official nightly build...not specific to yours or bharat's builds. As others have pointed out, dirty flashing over CM11 makes it boot suggesting something is missing in CM12 base that was there prior to official nightlies, and is being provided by remnants of CM11.

Unfortunately didnt see this post until after I restored to 4.4.4. Bedtime here... but will check for newer builds and try to get logs for you in 8 hours or so
[Moto G Android Development] bharat_goku:
New build up,updated vendor files mostly
[Moto G Android Development] DoctorStrange96:
I'm here! Haven't had much time to test lately, but I'm back. Will check the latest build now. Lets see if it works with a clean flash. If not, I'll try dirty flashing it over CM11. When I finish, I'll post a radio logcat and a dmesg here, as usual.
[Moto G Android Development] Pablo1994:
Bootloop

I've tried installing this version and also the nightly CM official version to my xt1032, and both times it didn't work, I couldn't get past the bootloop, so my question is: Do I need an specific kernel/recovery to install this ROM? I'm using CWM Recovery v6.0.4.6, I tried using PhilZ Touch but it has a bug so you can make a backup with it, and I've unsuccesfully tried installing TWRP. Thank you!

Edit: My phone is not the Gpe version
[Moto G Android Development] mightysween:
Has anyone tried a full format and adb sideload of CM to see if it still boot loops? I am not near a PC, but read a few threads that mentioned this as a workaround for being stuck at the animation
[Moto G Android Development] MasterAwesome:
Please post logcats of a clean install as well

---------- Post added at 01:24 AM ---------- Previous post was at 01:23 AM ----------

Works when fully formatted. Mine boots. As I said before I fixed everything other than RIL
[Moto G Android Development] mbj731:
Bootloop on latest build on xt1031 for me. CM nightlys take a LONG time to boot, but I waited probably 15 mins on this latest build and never booted. This is the first time I've experienced this. I use PhilZ and always do wipes and never have problems. I'll try again later.
[Moto G Android Development] mightysween:
Same here... waited 15+ mins on latest builds here and CM nightly for boot but something is broken in CM base that causes bootloop at least on cdma variants.
[Moto G Android Development] W3ND31:
XT1033 Tester Here!

I downloaded the last build, and will take all logcats in a blink of an eye
[Moto G Android Development] bharat_goku:
Hmmm nightlies also don't boot? I need to look at device tree today, there have been quite a few changes I opposed which got merged into cm tree over the last few days, now I need to figure out which one,any log I can use to trace?
[Moto G Android Development] Lucas Eugene:
To get it booting you'll have to format user data after flashing the rom. Or dirty flash over last cm11 nightly
[Moto G Android Development] mbj731:
I'll try a wipe after install. From what I understand a dirty flash over CM11 is no good for obtaining logs or debugging and that's our goal here with CDMA variants.

The first few nightlys DID boot, but took an extremely long time! Haven't gotten to test the latest nightly. Sorry, I know this info isn't useful to you without logs, but I'm not near a PC to pull logcats. I was just passing on info and curious as to if others had the same issue.
[Moto G Android Development] bharat_goku:
Are using ur build or on mine?
[Moto G Android Development] W3ND31:
WOW! i installed the last build 3 hours ago and still looping... i made system, cache, data (without sd) wipe and flashed with gapps. How to take a logcat with the rom booting if the adb is saying that the device is offline?
[Moto G Android Development] bharat_goku:
If adb doesn't work try dmesg or kmesg check if USB is detected using lsusb
[Moto G Android Development] W3ND31:
i'm using windows. how i do that?
[Moto G Android Development] bharat_goku:
Alright don't worry be ready for next build seems I missed some vendor files I'm gonna be making a new build soon cm12 nightlies working alright for u?any issues flashing that? Other than ril? I'm rebasing my sources now [MENTION=5321417]MasterAwesome[/MENTION]

We have a library issue it seems [emoji14] need to find em scrap the java class for now and clean up ur base [emoji14]
[Moto G Android Development] W3ND31:
i will install last nightly of CM12 to tell you that.
[Moto G Android Development] MasterAwesome:
My build...

---------- Post added at 01:31 PM ---------- Previous post was at 01:28 PM ----------

The library issue is fixable, ive tracked the source. the token is becomming null so we need to handle that. and build the cmril. so something like the telephony will use the cmril if the qcril gives a null token or directly handle it. I have no clue how i will implement it since i dont know what is calling the libril.so, i need to trace it and need to add a custom exception. That'll work atleast the UNSOLS are fixed and i also want to add that, initially during my android L boot, i did get signal for 5-6secs or so until I permanently lost signal. The token is queried and returned null i guess...
[Moto G Android Development] W3ND31:
CM12 by itself doesn't boot. I had to install the CM11 and dirty install the last Nightly. In the nightly, none of both sims are connecting the network, and the signal bars are empty.

i will install your build again. [MENTION=5321417]MasterAwesome[/MENTION] have any build to test?
[Moto G Android Development] MasterAwesome:
I built an eng variant that should allow you to debug even during bootloops, I uploaded a few posts back, if that boots I'll upload the one with the fix telephony.
[Moto G Android Development] W3ND31:
okay! i'll have to install cm11 on all cm12 builds... :/ but here we go!

---------- Post added at 06:49 ---------- Previous post was at 06:15 ----------

the Build 35 in dirty flash make all processes (boot, actualizing apps, preparing to inicialize...) but when seems that will work, go back to the boot and does a bootloop (for 5 minutes, now)
[Moto G Android Development] MasterAwesome:
Did you try mine yet?
[Moto G Android Development] W3ND31:
buddy, your build have booted. it's givin' me some "flashes" of red lines on the borders of the screen... i'll take logcats soon.

---------------------EDIT

when the animations on full screen happen, the "red lines" flashes... annoying...
[Moto G Android Development] MasterAwesome:
Yeah I made the red borders to show when there's an explicit io change
[Moto G Android Development] W3ND31:
Logs https://drive.google.com/file/d/0Bwray3U603G8dnFEUmlfMzVzZDA/view?usp=sharing

the other build you will finish today?
[Moto G Android Development] bharat_goku:
Uploading now should take 5 minutes or so

EDIT:Done check OP for new build
[Moto G Android Development] MasterAwesome:
Could you also upload only error logs? Something like

adb logcat *:E

. And radio logs by

adb logcat - b radio>filepath&&adb logcat - b radio *:E>filepath

. and

adb shell dmesg >filepath

and

adb shell cat /proc/kmsg > filepath

Upload these five files.
[Moto G Android Development] bharat_goku:
Check the new build and test it out i think it'll fix the issues,finally figured out a few missing vendor files i'll be fixing more soon
[Moto G Android Development] W3ND31:
i'm downloading.

bro, i'll try to take.

---------- Post added at 08:40 ---------- Previous post was at 08:03 ----------

Hey guys, the last build don't got signal (again) but i'm taking logcats how Master asked me to do. Afterwards, i'll take logcats of the master builds.

[MENTION=4125857]bharat_goku[/MENTION] get your logs
[Moto G Android Development] MasterAwesome:
Compress into a tar and upload so its easier to download and view, thanks.

Can you also check if it boots without a dirty flash and check if making a clean flash affects/changes anything.

TAKE BACKUP!
[Moto G Android Development] bharat_goku:
send me the logcat of

adb logcat -b radio
[Moto G Android Development] W3ND31:
you are in linux, right?

---------- Post added at 08:50 ---------- Previous post was at 08:50 ----------

it's in the zip. radio.txt
[Moto G Android Development] rgnicholas:
K ppl... just to add a little info... I tried flashing the Jan 10 CM12 nightly (from the CM site) on my CDMA Moto G and it is a no go. Flashes and hits a boot loop. After 15 minutes, I killed the power and restored. I'll try one of your new builds soon.
[Moto G Android Development] W3ND31:
bro, try install the last cm11 nightly. after this, install the last cm12 nightly... For some unknown reason, works... >:)
[Moto G Android Development] bharat_goku:
I'm uploading another build now a few more files ...
[Moto G Android Development] MasterAwesome:
Lol,

do a

adb shell su -c cat /proc/kmsg >filepath

all your kmsg says is no perms.

Also, did you do a adb logcat -b radio properly, i dont see any log messages about radio at all
[Moto G Android Development] bharat_goku:
Build 37 is ready

Here this link to test
[Moto G Android Development] W3ND31:
in your older post was like "adb logcat - b radio" i only follow your instructions hahahahaha

---------- Post added at 09:29 ---------- Previous post was at 09:26 ----------

I will take logcats of the Master build. After i will take logcats of Bharat.

beyond this logs, exists anymore thing to do?
[Moto G Android Development] W3ND31:
[MENTION=5321417]MasterAwesome[/MENTION] i can't get the kmsg log... but the others logs are here
[Moto G Android Development] W3ND31:
ATENTION! "one small step for [a] man, one giant leap for mankind."

FINALLY! OMG! I'M SO HAPPY111!!!!!! BOTH OF SIM WORKED! THANKS [MENTION=4125857]bharat_goku[/MENTION] THANKS! OMG OMG OMG!

I'LL TAKE LOG CATS SOON AS I CALM DOWN! BUT WORKED WITH CLEAN INSTALL! OMGOMGOMGOMGOMGOMGOMGOM
[Moto G Android Development] bharat_goku:
FINALLY!!!Send me a screen shot!
[Moto G Android Development] MasterAwesome:
You fixed it? How? Vendor rils were the only problem?
[Moto G Android Development] bharat_goku:
Don't wanna get carried away yet ,let's wait for a few screenshots xD
[Moto G Android Development] W3ND31:
Screenshot[IMG="OMG!"]https://lh3.googleusercontent.com/cgdXnrI5Q1YfZHq_Zx9h4lo9rNIS3ZLkv-MQ9YKY3J2o4TMgnvz64I0PDV8iPumRyPjUSytsHaY=w1246-h711[/IMG]

https://docs.google.com/file/d/0Bwray3U603G8THBtRWNvQUNyOUk/edit
[Moto G Android Development] MasterAwesome:
What were the missing ril files? O.o

---------- Post added at 06:48 PM ---------- Previous post was at 06:46 PM ----------

Sweet!
[Moto G Android Development] bharat_goku:
Plenty i nearly remade the entire Vendor folder of MSM8226-common with newer vendor files

Quickly, both sim networks working-calls,data,ril ?

Finally got a build right after more than a month xD
[Moto G Android Development] MasterAwesome:
Source of the newer vendor files? Code Aurora?
[Moto G Android Development] bharat_goku:
Na gpe release pulled the system dump and been replacing the existing tree i'll upload the vendor files as is now :P
[Moto G Android Development] W3ND31:
data and sms i couldn't test. but phone calls are working good
[Moto G Android Development] rchile:
Great work bharat @ W3ND31 so without converting to GPE you got the dual sim network working right?
[Moto G Android Development] MasterAwesome:
Ah, I did that today's morning build didn't flash it though. Was going to upload it.

Not from gpe build though from Brazilian soak rest
[Moto G Android Development] bharat_goku:
I initially thought i'll try with brazillian test then i realised apks are odexed and was too lazy to find de odexed files so had the gpe release cross checked all files and matched everything

Theoretically cdma should work too need the cdma people to test this soon
[Moto G Android Development] W3ND31:
yep! i never had converted my device to Gpe, btw. We need testers to data and sms!
[Moto G Android Development] rchile:
Downloading right now i can test data and sms
[Moto G Android Development] MasterAwesome:
Good job mate!
[Moto G Android Development] bharat_goku:
Check your pm :) i'll setup things nicely in a bit to send to themuppets tree in a while
[Moto G Android Development] W3ND31:
[MENTION=4125857]bharat_goku[/MENTION] seems that wifi isn't working... i have clean flashed again, only to be sure that is working.

logcats soon

-------------------------

adb seems isn't working too. i already activated but it's saying thats the device is offline
[Moto G Android Development] bharat_goku:
ah i'm cleaning up my mess now i'll make a cleaner build this one was very messy and didn't clean out certain aspects of the build gimme a bit too clean it all up
[Moto G Android Development] dhruv7855:
Thanks a ton to [MENTION=4125857]bharat_goku[/MENTION] for doing this great job
[Moto G Android Development] mightysween:
Still stuck in bootloop... waited 20 minutes first time. ADB connects, but is "unauthorized" so I can't do anything.

Wiping userdata caused a RECOVERY bootloop and soft brick.....Fastbooting back to stock now, will try again later.
[Moto G Android Development] bharat_goku:
Did you flash cm11 before installing this?apparently u need to dirty flash cm12 on top of cm11
[Moto G Android Development] mbj731:
Latest build booted fine on xt1031, clean flashed! Had empty network triangle until something force closed, then it was back to sim icon. No WiFi to download logcat app. I think the forceclose was something like "Qualcomm.timeservice'?
[Moto G Android Development] W3ND31:
in the first time that i install with the gapps that fc appeared to me too. i think it's normal

---------- Post added at 11:17 ---------- Previous post was at 11:15 ----------

i already got adb working. i'm taking logcats.

---------- Post added at 11:18 ---------- Previous post was at 11:17 ----------

what recovery you are using?
[Moto G Android Development] mbj731:
Haven't had it in any other build or ROM. I thought maybe it was network related since the empty triangle turned to a sim card when the process stopped responding. I've installed Gapps almost every time too.
[Moto G Android Development] MasterAwesome:
Yeah bharat_goku, your WiFi isn't working, I fixed it though. I'll upload it soon.
[Moto G Android Development] Lucas Eugene:
If you are extracting files from gpe 5.0 then Ril won't work on cdma as even with the gpe 5.0.1 Rom, Ril did not worked
[Moto G Android Development] droider007:
Someone plz upload working dual sim build with wifi fixed....also congrats [MENTION=4125857]bharat_goku[/MENTION] and [MENTION=5321417]MasterAwesome[/MENTION]

Sent from my Moto G
[Moto G Android Development] W3ND31:
Logcats Ready!
[Moto G Android Development] bharat_goku:
Alright cool let me know what I've broken :)

I'm cleaning up all files now and setting up new makefiles to fix the timedaemon issue

Gimme the night I'll get a cleaner build up
[Moto G Android Development] MasterAwesome:
OH fixed the time daemon too. Thanks for telling me. I'll let you know if it works by 11PM
[Moto G Android Development] methuselah:
Congrats for this extraordinary work...marvellous.... First time in 4 years

I see somebody making a thing working before official cyanogen . Now it's like they goona copy from your repo
[Moto G Android Development] bharat_goku:
Awesome I'm getting back to gpe 5.0.1 to get the corrected blob edits and testing the make files before I push up new vendor files to source for update
[Moto G Android Development] mightysween:
TWRP 2.8.3.0

Had been working with so many different builds, I think I just screwed something up along the way. Flashing back to CM11 now, will download this build and get logcats for CDMA soon.
[Moto G Android Development] bharat_goku:
Is it working on CDMA?

It should boot normally irrespective of cdma or dual or single sim not sure what's wrong there

I need to look into cm tree in a while and figure out whats wrong with the base
[Moto G Android Development] MasterAwesome:
I dumped the object of libril to find out that the older one was pointing to a random place in the memory where Java wasn't accessing it. Because all memory structures were changed due to art and Java memory definitions were also changed :)
[Moto G Android Development] W3ND31:
[MENTION=3683732]mightysween[/MENTION] try the 2.8.1.0... i'm using right now
[Moto G Android Development] mbj731:
Boots fine, but doesn't connect to network. Starts out like it's searching for a network and then the sim with the line through it pops up after a few seconds. I think someone posted logs a few posts up for CDMA.
[Moto G Android Development] Adityadua:
XT1033 Converted to GPe

Has anyone tried this ROM on xt1033 converted to GPe? Does RIL work as expected?
[Moto G Android Development] W3ND31:
why you will convert to GPE if are working with xt1033 without conversion?
[Moto G Android Development] Adityadua:
For users who have already converted...
[Moto G Android Development] pico hackr:
OMG [MENTION=4125857]bharat_goku[/MENTION] bro its awesome .. great success. Guys tip this thread for portal
[Moto G Android Development] Monkey D.Luffy:
Wifi not working :( on XT1033
[Moto G Android Development] Aayushya:
Commendable job, OP! Have been following this thread since the beginning, the amount of work put up by you and a few more devs have finally bore fruit! Thanks a lot, from all of us XT1033 users! :)
[Moto G Android Development] russ722:
I assume CDMA is still broken?
[Moto G Android Development] gameeater:
can i install this rom over official soak teste lolipop xt 1033?

or i need make a downgrade to 4.4.4?
[Moto G Android Development] sanchit0403:
awesome finally thank you bharat dual sim is working
[Moto G Android Development] mightysween:
Yes...same as before no outgoing calls. But this is a good development as focus will soon be on cdma variants.
[Moto G Android Development] W3ND31:
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.
[Moto G Android Development] russ722:
Awesome thanks for the heads up, and thank OP :)
[Moto G Android Development] bharat_goku:
can u get me a logcat for the cdma variants?
[Moto G Android Development] DoctorStrange96:
Guys, I completely forgot about testing yesterday's build, sorry. I can test today's build, though. And [MENTION=4125857]bharat_goku[/MENTION], if you still want those apks from the Brazilian soak test firmware, I have them deodexed here (but I don't have some of the libs, though). Tell me (either here or via pm) which apks you're gonna need and I'll upload them for you. Oh, and I wanna report an annoying issue that's present since CM11: audio channels are swapped when using headphones. There's a temporary workaround for that, but a soft reboot causes the bug to occur again. The only CM that has this bug definitely fixed is Quarx's unofficial CM11.

EDIT 1: Build is ready here. I'll just do the usual TWRP backup and start with them tests. As usual, I'll post a radio logcat and a dmesg here when I finish.
[Moto G Android Development] mightysween:
Working on it... Usb still not playing well from my Linux distro with CM12 installs so adb not working. Basically, it either connects and is not authorized (but RSA auth screen never pops up) or fails to connect at all. Problem is most likely on my end as I am running an older Debian RT kernel specific to audio hardware I use.

Tried to sideload Andylog but it fails as well due to unauthorized adb device.

May need to wait til next version with WiFi to use andylog.
[Moto G Android Development] manoj36:
Both Sims are working on this build??
[Moto G Android Development] bharat_goku:
It should,need some testing to be done...
[Moto G Android Development] thuva06:
ok so flashed it above my gpe coverted xt1033 along with gapps booted fine

detected one sim ( both sim indicators were on )

on my detected sim i couldnt make any calls or msgs. slot 2 even with a sim said empty

had to flash donky 3.0 kernal to get my sim working again

other than that still no bugs smooth
[Moto G Android Development] bharat_goku:
Making another build in a bit to c if updated vendor files can bring something new

I would really like someone to test and let me know if I've fixed stuff it's really hard to test when I have only one sim
[Moto G Android Development] diki124:
still don't work on xt 1033 in main screen unfortunately,system ui has stopped. but in rom alberto my phone work but no signal
[Moto G Android Development] bharat_goku:
Calls worked? I didn't get you?
[Moto G Android Development] syrkles:
Need a mirror error 509
[Moto G Android Development] diki124:
i don't know because i stuck in main screen
[Moto G Android Development] bharat_goku:
Once I make a stable build I'll add mirrors

Try flashing donkeykang kernel and let me know?

Could u pull a logcat?
[Moto G Android Development] doomwithdon:
What he is trying to say is that your ROM gives a systemui FC where as alberto ROM works fine but no network.. Cant chk if network works in your ROM...
[Moto G Android Development] diki124:
still not work
[Moto G Android Development] bharat_goku:
Could u send me a logcat? I've reverted the custom ril patch now,it seems it's doing more harm than good need to dig deeper before I re implement it again

I'll post a new build with updated radio blobs from the soak and gpe release in a while ,changed invoking method of radio config this time around to hopefully fix this radio issue,if by any chance ur able to go to settings and c msim settings do post a screen shot ?
[Moto G Android Development] bharat_goku:
New build added to OP

Changelog

CM updates

removed additional patches implement Stock method of calling ril daemon

updated to stock vendor files

Not sure if i added hotspot fix in this

Test and let me know,

I'll make a new build on tuesday next spent way too much time this weekend on this.

Hope to get some useful logcats by then ,

if not just wait till someone else decides to fix this
[Moto G Android Development] merothh:
Come on bharat,

Its only due to you that we have got so far and I would like see get dual Sim fixed.I"m sure within a few builds you will get this mess sorted up.

Wish I could help but i have got no bandwidth left for it.Hope someother xt1033 user takes a logcat !!!!!

Cheers,

r0hit
[Moto G Android Development] mbj731:
Can't download build 13. "Too much traffic" error. I was going to test with 1031 and send logs. Glad to see someone working on other variants!
[Moto G Android Development] bharat_goku:
I'll upload to my gdrive in a while
[Moto G Android Development] bharat_goku:
Added a mirror on my gdrive if ur unable to download from first link check OP
[Moto G Android Development] classic757:
[MENTION=4125857]bharat_goku[/MENTION] , thanks again for continuing your work on lollipop. :good:

Tried the latest build (12-14-2014) on my xt1028 CDMA Moto G and we are making progress. The "NO SIM CARD- T-CDMA 64" error is gone and I have a data bar but no signal. Also no baseband is listed in "about phone" settings. See screenshots below. Will try to flash stock radio and see what happens. will report back.
[Moto G Android Development] merothh:
Hey [MENTION=5222096]classic757[/MENTION]

Don't forget to get a logcat after clean flashing
[Moto G Android Development] felipeap:
On the XT1033, In the 13 build, my SIM was detected in the slot 1 but no signal... In the 14 was not detected. I don't know if i helps, just sharing. Thanks for your work... Looking promissing.
[Moto G Android Development] W3ND31:
back to other version, put this on your sd, install and take logcats
[Moto G Android Development] sanchit0403:
dual sim is working fine wifi not working and no superuser
[Moto G Android Development] mightysween:
Haha, thanks just doing the same thing... Heading back to CM12, Will post logs momentarily

well, sorta "momentarily"...forgot about the 15-20 minute initial boot. :)
[Moto G Android Development] deeplyyoung:
A beautiful quote "they can because they think they can" you did is bro...