yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] CodyF86:
Ok so that didn't work, but thing number 1002 to try and this looks even more promising...check this out.

dataregstate should be 1 it's currently 0.

Now check out this commit from cm-10.2 and cm-11.0:

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

Not even going to jinx myself this time, but another hour lol.

Cell state is disconnected because dataregstate is currently 0, needs to be 1 to be connected.

edit:

That commit is already in cm-12 so just going to try and add the flag...

ro.telephony.ril.config=usevoicetechfordata
[Moto G Android Development] DoctorStrange96:
Wrong filename, perhaps? KK firmares generally use the following filenames for system images:

system.img_sparsechunk.0

system.img_sparsechunk.1

system.img_sparsechunk.2

Only JB firmwares use these filenames (I might be wrong):

system.img_sparsechunk1

system.img_sparsechunk2

system.img_sparsechunk3

Check the filenames of the images that came inside the zip and try flashing again. And does the radio work with the stock firmware?
[Moto G Android Development] shikhar112:
No Incoming Calls

I flashed the 17/12/2014 build. I don't get any notification for incoming calls even though the person dialling the call can hear the phone ringing.

Also if I dial a call & hang up, the call is still continued. I can't place any other call after that. The ongoing call icon persists in the status bar.

Plz suggest a way to fix these issues so I can use it as my daily driver.

Thanks a ton
[Moto G Android Development] mightysween:
Interesting, tried something similar last night from HTC thread:

http://xdaforums.com/htc-sensation/development/rom-cyanogenmod11-ivanich-t2911152/page39

ro.telephony.ril.config=datacallapn,signalstrength

But I was not testing on a clean build...maybe if usevoicetechfordata fails, give that a try for attempt 1003 (i am at work, othrrwise would give it a shot)
[Moto G Android Development] Black River:
I followed this guide. http://xdaforums.com/showthread.php?t=2542219

I tried XT1032_RETAIL-GB_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml and

GPE_XT1032_KOT49H.M004_CFC.xml. I do not know if the radio works with the stock firmware, because I can not install it. I tried a untouched 4.4.4 NON-GPE, but there was no signal. Tried Vanir AOSP 5.0.1 - the same.
[Moto G Android Development] DoctorStrange96:
Hold on a bit, let me think abt a possible solution

Edit: If you have custom recovery, check this thread: http://xdaforums.com/showthread.php?t=2649763 – it has flashable zips of radio, recovery, and kernel for all variants and regions. Just for curiosity, what is your baseband?
[Moto G Android Development] CodyF86:
Found out just now testing it that using setprop only sets until a reboot and I'm not sure if adding it to the build.prop will set the value in time, so I added it in with:

https://github.com/codyf86/android_device_motorola_falcon/blob/cm-12.0/init/init_falcon.c (on my local machine for now)

Still building, but almost done.
[Moto G Android Development] Black River:
That is what I did. I tried 3108.94.00R - Google Play Edition (GPE) but still no signal.

Baseband MSM8626BP_1032.3108.94.00B

I think my biggest problem is, I can not flash firmware.
[Moto G Android Development] CodyF86:
That also didn't work, for try 1003 I'm going to build cm-12 with the ril/libril from cm-11, which I'm sure will die in a flurry of compiler errors, we'll see. That's all I got for today , I'll play with it more tomorrow after this.
[Moto G Android Development] DoctorStrange96:
Does fastboot fail to flash everything? Any firmware, regardless of version?
[Moto G Android Development] Black River:
With the guide you gave me, I was able to flash the Non-GPE Firmware 4.4.4 and the GPE 4.4.4 without error , but it stuck in Bootloader warning/google logo. Than I tried Vanir again hoping the radio will work, but it does not.

BTW if i long press the power button the airplane mode is ON, while in the quick settings is off. But nothing happens if I play with the settings.

EDIT: The funny thing is, that my phone do not normally power up, but start in recovery. I never had such problems with my nexus 4.
[Moto G Android Development] theepicflyer:
Hey guys. In the status bar network signal icon is showing H when I'm on 3G. Previously I was able to get H+. Can anyone check?
[Moto G Android Development] DoctorStrange96:
I'm starting to think your phone is f****d up, friend...
[Moto G Android Development] mightysween:
I posted this in the Multi Variant thread too, but just in case you missed it, I noticed that flashing 4.4.4 modem gives "NO SIM" message and instead of roaming indicator off, network status is " Searching for Service".

Still pulls MIN and Phone # but different PRL. Theres a logcat and dmesg posted there if you want to peek.
[Moto G Android Development] CodyF86:
Can you post a link when you have time to the post. (Not that I don't want to search, I just mean which particular thread is that?)

Anyway I'm just going to try it, but that either sounds really good (there are a few patches on the code review that might actually make data work with that, if it's not stuck in gsm mode after that) or really bad (I know it has signal just not connected to network, and now it has no signal at all.)

Is the no sim icon still there?

I'll just have to try it and see what I can come up with.
[Moto G Android Development] mightysween:
http://xdaforums.com/showthread.php?t=2971886

[CM12][5.0.1][UNOFFICIAL][Multi-Variant Support][17/12/2014]

Yes, the icon is still there...still appears to be in GSM mode, though using 800/1900 MHz cdma radio.

Edit: oops...last post in that thread: http://xdaforums.com/showthread.php?p=57644871
[Moto G Android Development] bharat_goku:
Don't try that instead I'll update my sources soon I have a few tricks I've been attempting the issue is not libril if it was we wouldn't have radio in any build, the funny thing is radio found and set CDMA specific configs and randomly removed it,I've made an over ride class to catch this and save I still need to check ril constants perfectly and set unsols right but it's less work than handling cm ril

Note:check HTC-816-dev sources-htc_a5 I think on github they've got dual and gsm data working ,they have an open source libril since cm11 so it wasn't alotta work for lp-

Starting from scratch now is too late instead re implement telephony /ril.Java to handle existing requests
[Moto G Android Development] Androlover98:
Quick tip-

You could disable CM Updater, because the nightly builds are of CM11.

Observation-

You could actually dirty flash the zips on CM12 (ONLY).
[Moto G Android Development] vhngu930:
H or H+ is actually faster than 3G.
[Moto G Android Development] theepicflyer:
H and H+ is 3G. H+ is faster than H
[Moto G Android Development] h2o64:
It's building ^^ (twrp in the background)

But surely booting!

UPDATE :

https://github.com/h2o64/android_local_h2o64/tree/cm-12.0
[Moto G Android Development] dhruv7855:
now every thing working with xt1033 converted to gpe.......it just needed to flash beta supersu 2.27 via recovery.....op can be updated...confirmed...using it
[Moto G Android Development] sanjeev7:
YES
[Moto G Android Development] derekokelly:
Minor bug

One minor bug is when the brightness is turned down fully: the screen turns off completely. It's only a small thing as I never have my brightness down to the lowest, however some people may do. Otherwise, fantastic work on this ROM, by far the most stable and functional out there :)

EDIT: This seems to happen only when on adaptive brightness.
[Moto G Android Development] ThomasPadilha:
ROM Working so fluid, perfect..no bugs at all.. sms, calls, music...everything working!! :victory::victory::victory::victory::laugh::laugh::laugh::laugh: Thanks
[Moto G Android Development] Bert98:
i've been trying to flash it without any success for two hours now, it keep telling me

failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: device or resource busy
failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: device or resource busy

Coming from PA 4.6

help please :crying:
[Moto G Android Development] damonteo:
I have had the same, tried many things but no luck on CWM, so flashed TWRP and no more issues. so worth a try
[Moto G Android Development] dhruv7855:
Twrp and philz touch are working
[Moto G Android Development] anerik:
So you basically came here to tell us you're building, you won't even share it, and then you complain about the forum being too spammed? The irony.
[Moto G Android Development] Membrillo007:
Update titanium backup to the latest version , it works for me

Tap-a-talked from Moto G running Stock 4.4.4 / Phantom Kernel
[Moto G Android Development] ATRIXXIRTA:
Anyone have a mirror? Google drive won't let me download because there have been too many :(
[Moto G Android Development] h2o64:
I posted here to show you some commits if you're interested in them.

Maybe they can improve your build, and the linaro idea definitely will.

I'm here to share and learn not to spam.
[Moto G Android Development] padhu1989:
Im getting a weirrd scenario.. When I try flashing CM12 23 nightly in my GPE converted Xt1033, I'm getting a error like "Error in executing the update Binary script, failed to mount /System" .. but When I flash over the Xt1033 (without converting in to GPE) its flashing fine.. phone booting up with no signal. I am using TWRP 2.8 latest version... kindly help me.. crying :(
[Moto G Android Development] peryndark:
Wipe /system & /data (without internal storage). Flash CM12, GApps, SuperSU (ignore the error you get) and reboot. Make sure your /data filesystem is f2fs.
[Moto G Android Development] padhu1989:
+1 im having the same issue...

---------- Post added at 03:06 AM ---------- Previous post was at 03:04 AM ----------

I think my filesystem is EXT4 if Im in GPE.. how to change that one?

Thanks,,,
[Moto G Android Development] peryndark:
BOTH OF THESE WILL WIPE YOUR INTERNAL STORAGE COMPLETELY!! BACKUP FIRST MMKAY?

Either flash retail software (not GPE) or in TWRP go to Wipe->Advanced->select /data->change filesystem->ext4->you know the rest...
[Moto G Android Development] padhu1989:
Sorry fr the noob question.. Only changing the data file system to f2fs is enough or need to change the System filesystem also ?
[Moto G Android Development] Bert98:
this doesn't support ext4 data? :(
[Moto G Android Development] peryndark:
Keep it ext4. It's ext4 both on GPE and Retail versions.
[Moto G Android Development] Adityadua:
Converted XT1033 bricked :(

I tried reversegear's method of changing build.prop, and it worked fine. However, I powered off my phone and now it doesn't turn on anymore. I had 30% battery when I turned off, but now it shows no sign of life. The screen doesn't turn on, no vibration, no notification led, and when I plug it into my PC, Windows says the USB device malfunctioned. :crying:
[Moto G Android Development] snehgada:
Tested? Do both sims work? :p
[Moto G Android Development] Black River:
No, mate! It is alive! I tried the guide again. I flashed stock 4.4.4 but ran of these instead:

mfastboot flash system system.img_sparsechunk.0

mfastboot flash system system.img_sparsechunk.1

mfastboot flash system system.img_sparsechunk.2

Now everything works just fine.

Thanks

BTW this ROM is running now too.
[Moto G Android Development] indrasatrya:
Sometimes i get random reboot. How to make a logcat :/
[Moto G Android Development] CodyF86:
Unfortunately...pretty sure you're right, did a build with their/your open source libril / ril going to try it out. I noticed you don't have an Android.mk in you're init folder. That's probably why the alpha and numeric weren't being set...init_falcon.c wasn't being built. (I was looking through your thread)

Also you'll need both of these in your board config if, if you want to use the custom libril also, I think you were missing one.

# RIL
BOARD_PROVIDES_LIBRIL := true
BOARD_RIL_CLASS := ../../../device/motorola/falcon/ril/

There is another one something something RILclass= name of the function in falconRIL.java or whatever ril file you're using I can't find atm of course, but i'll find it then edit this post. That i'm not sure if still is needed.

Sorry for the cross thread banter lol, we almost need to start a radio debug thread sometime soon, if we have to debug new unsol values one by one.
[Moto G Android Development] dethrat:
There just icons. You probably are on H+. Oh and technically is 3.5G
[Moto G Android Development] bharat_goku:
Yea updated my sources now without the open source libril for now,and i've added the FalconRIL.java class in the sources its in init function don't think we need to implement the android.mk in init since from most of the logic settings are getting done right now,I need to rebuild libril completely from scratch if we are to shift completely from current state and that is a little time consuming so trying some variations with java file now,the reason i'm doing this is also since one variant has network working,the other issue is i'll have to mostly edit reference ril instead of libril since our old ril file hasn't got all necessary lollipop headers need to spend time again deciding and figuring everything out,

if someone could help me obtain all RIL constants needed i could do it in a day maybe but i'm myself not sure how to get the required values so holding on to that,

let's move this conversation to my thread :) creating alotta disturbance for the dev here..
[Moto G Android Development] DoctorStrange96:
You're welcome. And with radio working too? That's good to see. Another Moto G brought back from the dead :p
[Moto G Android Development] Akshay7273:
A little query

Heyy [MENTION=4805102]anerik[/MENTION] bro...m not asking for eta...just wanted to know if next cm build be of 5.0.2 ??
[Moto G Android Development] anerik:
Yes and i'll release soon, probably tomorrow
[Moto G Android Development] Akshay7273:
ohh thats cool just waiting for that ram bug to be fixed...thanx for ur efforts
[Moto G Android Development] Black River:
Moto G never dies. It rests!
[Moto G Android Development] Eurofighter_ty:
Let's hope :) The RAM management was the only thing that bothered me on the CM 12. I think that tomorrow i will flash CM 12 again to see if is fixed :)
[Moto G Android Development] cheimon:
It'd be awesome to be able to turn off heads up notifications. I don't know if it's too much to ask for.

If anyone hates heads up in lollipop too please tell Google how you feel here so they pay attention to this.

https://code.google.com/p/android/i...s Owner Summary Stars&groupby=&sort=&id=79393
[Moto G Android Development] sLaughteRguy:
Can't wait for the new build, 5 days is a lot. Wonder if cm has looked into that RAM issues.
[Moto G Android Development] BriaN-:
Skype calls don't work completely, I can hear to the other person but, the other person can't hear me.

:rolleyes:
[Moto G Android Development] xilonq3:
I have the same problem, also on facebook calls.
[Moto G Android Development] luis_6_14:
today will build 22?
[Moto G Android Development] marcoms:
Pff, just going to flash this, I can deal with turning the screen off and on again to get rid of the horizontal line XD
[Moto G Android Development] Krizthian:
[MENTION=4805102]anerik[/MENTION]

Freezes and Random Reboots. And the launcher it's very very laggy.
[Moto G Android Development] cheimon:
Im, not having any of those bugs. Are you using last build?
[Moto G Android Development] Krizthian:
Yes,

And the Facebook Messenger app usually closes.

And, this bugs(Reboots,Freezes and closes) it's produced for the very RAM ussage.
[Moto G Android Development] xilonq3:
Try clean flash the latest build, also change the launcher to the "Nova Launcher" it's the best! :)
[Moto G Android Development] anerik:
Latest build added and OP updated. Sorry to keep you guys waiting
[Moto G Android Development] ReaverV2:
Just clean flashed the update, great work so far [MENTION=4805102]anerik[/MENTION], and thankyou for building this.

From first glance, it certainly feels a bit smoother, and my downloads don't seem to be having issues finishing tasks from google play like they were, previously they would hang at a random % for x amount of time, before finishing the task, wether this was a bug or just an individual issue I dont know, however it certainly looks like its gone for good!.

top work.
[Moto G Android Development] laugeek57:
Good work

Thanks for your ROM my wife use it with her moto G ( she's Argentinian) :)
[Moto G Android Development] marcoms:
Thanks [MENTION=4805102]anerik[/MENTION] for the new build! Do we need to flash supersu or is the current implementation fine?
[Moto G Android Development] simonhoubracken:
network icon

Thanks for the new build, running great.

I noticed one thing, the network icon shows an exclamation mark when mobile data and wifi is disabled. This was not the case with the previous builds. Is this normal?
[Moto G Android Development] Eurofighter_ty:
Yes is normal beacuse on the Nexus 6 stock ROM is the same thing. Feature from Google to let you know that you don't have Internet connection.
[Moto G Android Development] DanyStar:
Same Problem

I have the same problem - I can not hang up or recieve call. Hope u will fix that but i´m glad that u puplished the rom and gapps :)
[Moto G Android Development] Josuegrs:
Mirror on Mega updated. Cheers.
[Moto G Android Development] Fedescarpio:
Hi everybody! I bricked my moto g after the 5.0 GPe auto-update. Now if i try to instal this rom from CWM recovery and adb sideload i have on the phone:

Restarting adbd...

Finding update package...

opening update package...

Installing update...

E:Error in /tmp/update.zip

(status 1)

Installation aborted

Insted if i push the zip on the sdcard and instal it i have:

Finding update package...

opening update package...

Installing update...

E:Error in /data/media/cm-12.zip

(status 1)

Installation aborted.

What's the problem?:rolleyes:
[Moto G Android Development] Flashhhh:
Install vanir rom!!

It's the only rom which works on gpe!
[Moto G Android Development] sLaughteRguy:
I think you forgot to update the thread name to [5.0.2], [MENTION=4805102]anerik[/MENTION]. Besides that - it's gold and loads of goodness and some new features. Thanks for doing a great job man!
[Moto G Android Development] BriaN-:
But ... I thought that android [5.0.2] is only an update to correct something on nexus 7 ... So I guess that [5.0.1] it's ok...
[Moto G Android Development] Paul L.:
Not exactly, it also seems to correct a bug within file system optimization, fstrim was never run in any point, a change that is not device specific it seems.

fstrim discards blocks not in actual use when a system is mounted, which is useful in devices based on flash storage, like most smartphones. As in, once "discarded" those blocks will not retain any actual information, and therefore they will be ready for write, instead of overwriting; which is a performance-costly operation (a delete and then write operation).
[Moto G Android Development] anerik:
Sometimes it's fine and sometimes it's not, that's all i can tell you

Yeah, this is default Google's behavior

Done :D
[Moto G Android Development] alfick3:
I was wondering about this. I did some searching but could only find where it says to download from the Play Store. How do we disable the built in SuperSU? I haven't encountered this problem, but just incase I do, I'd like to know how to disable.

Thank you.
[Moto G Android Development] anerik:
In slim, you go into dev settings and there's a setting named Root access, you can disable it there. If i recall correctly, it should be there on CM too. I disabled it from there before flashing supersu. If it's not there, don't worry
[Moto G Android Development] Tatoh:
I just flash the 2.40 and overlap de supersu of CM12. I always do that xD.

BTW, the new build works really nice.
[Moto G Android Development] Paul L.:
SuperSU also seems to "respect" the CM SuperUser settings (it's an option inside th SuperSU app), so basically you can configure SuperSU within the SuperUser settings from CM (which were above "About" in Settings), atleast that is how it worked on CM11, it may be broken for now.
[Moto G Android Development] Mchasard:
Hot-spot wifi doesn't work ...I saw this function working in several rom lollipop ... Is there a way soonest to get it?
[Moto G Android Development] fobsi:
[MENTION=4805102]anerik[/MENTION], new screenshots for You. :)
[Moto G Android Development] mg_bruno:
can you give some extra explication to this?

How to do that?
[Moto G Android Development] anerik:
What several rom? I know it doesn't work. I listed it in the non working section... And i'm looking for a fix but so far i got nothing

Thanks!!

Search!!
[Moto G Android Development] simonhoubracken:
You download the file somewhere on your phone.

You open the build in file browser

Open the settings, general, set access mode to root.

You go to the location of the file you downloaded and check the checkmark

You browse to /system/etc/init.d

You click the lock and move the slider

You press the three ... in the lower left corner

Click copy here

Check the new file you copied

click the three dots

Click properties

Go to the second tab, check Owner: RWX, Group RX, Other RX
[Moto G Android Development] der-joker:
Is the GPS-battery-eating bug (see http://xdaforums.com/showthread.php?t=2654180) present in this ROM?
[Moto G Android Development] F3niX:
I have been searching and found that Grand Duos has CM12 with Dual Sim Support

Could you check if it might help us ?
[Moto G Android Development] prakharkmr27:
Broadcom & Snapdragon... different families of chipsets..
[Moto G Android Development] ralp88:
moto g 2014 version has cm 12 dual sim working. we dont need to go far for dual sim support

here is the link

http://xdaforums.com/moto-g-2014/development/xt1068-lollipop-dual-sim-t2938439
[Moto G Android Development] anerik:
That's not cm12. And guys, i can't just watch another rom and magically fix multisim, i'm not that good dev. Just hold on, cms gonna fix it like they did on cm11. Just use converted gpe in the meantime or use your own xt1033 firmware which is dual sim compatible, you're lucky the only one available is for you guys.

By the way, this applies to this rom too: http://xdaforums.com/showpost.php?p=57723172&postcount=81
[Moto G Android Development] ralp88:
thanks for your moto g works we waiting :cowboy:
[Moto G Android Development] Krizthian:
¿How to fix the VoIP calls on Android 5.0 Lollipop?

This guide:

http://xdaforums.com/moto-g/general/how-to-fix-voip-calls-android-5-0-t2983391
[Moto G Android Development] Fedescarpio:
You saved my moto g and my christmas day! Thank you very much! Why only this rom works? And when the official factory image wil came out, can i flash it as always? :) Happy christmas day!
[Moto G Android Development] DannyW1502:
This was for an older version, I was getting a lot of lag but a reflash fixed it.

Oh and I won't be contributing to this anymore, just upgraded to a Nexus 5 :p
[Moto G Android Development] Stefano187:
Hi all, even I don't have a moto G anymore, I'm still following this thread and I have to say that progress is really great! Kudos to you [MENTION=4805102]anerik[/MENTION]!

Even it is not development related, I'd like to wish you all a merry Christmas.

Keep up the great work

Regards

Stefano
[Moto G Android Development] darkshadow246:
Why does the YouTube app keep pausing videos when a notification arrives? It sometimes pauses the video for no reason too and it has to buffer again
[Moto G Android Development] eduzerokm:
I have a problem with Poweramp, when i change the song i'm listening the volume get louder until i stop the song or i change the volume
[Moto G Android Development] roxkiller:
It would be possible to carry pa dsb for anerik CM12, because it is better?
[Moto G Android Development] bharat_goku:
Doubt it from my research it's that we have lotta missing libril headers needed by lollipop

Also in lollipop I realised we ain't using stock ims library anymore ,from gpe variant release of 5.0.1 I realized the new ril has so many dependencies more than previous releases ,don't think cm will fix it for each vendor just have to wait for a maintainer to work on it I guess