yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] jeff425:
Hi there,

Im using CM Nightly 20160520, and i want to update to the latest nightly. Can anyone kind enough to tell me the steps to clean flash it?

Many thanks.
[Moto G Original Android Development] Gill Android:
Factory Reset. In Advanced Wipe, Wipe Cache, Dalvic, System and Data (your media will remain intact). Flash ROM+Gapps. Wipe Cache and Dalvic (it never hurts to be extra safe). Reboot and enjoy
[Moto G Original Android Development] jeff425:
Thx.
[Moto G Original Android Development] Tridon:
Hi !

I last used CM13 back in Feb, when msim (dual SIM) support was missing. Could someone tell me the experience of this ROM on XT1033 (dual SIM phones) ?

TIA.
[Moto G Original Android Development] ps_minky16:
Dual sim working fine on latest snapshot.

Its smooth. You can try it
[Moto G Original Android Development] Waancho:
Also it works awesomely on my XT1033!
[Moto G Original Android Development] TabascoJoe:
No dice on today's nightly... Same MMS and com.andriod.phone crash.

Should there be a step after updating to get MMS working?

I cannot get the logcat at the moment but will try later tonight. How do I pull the logcat?

I noticed the known issues it says a 3rd party app could work, I've tried Hangouts and Google Messaging, both did not work. Is there one that would work?
[Moto G Original Android Development] SHEER TERROR:
Serious honest question.. Do people still use mms?
[Moto G Original Android Development] wskelly:
Just want to report this issue and solution:

Problem: Moto G will not connect to carrier data.

Changing APN settings does not have any effect. The first time this happened to me, I went to the AT&T store, and they made me a new SIM card. They tried my SIM in another phone which worked fine. The conclusion was, my phone was messed up. I did a factory reset, wiped data, flashed a different ROM, etc. Nothing helped. After flashing stock I did get it working again.

Now everything has been working fine for a few weeks. Until today. I'm sitting at work and suddenly I see the unlocked bootloader screen appear. The phone randomly rebooted itself. When it finished booting, it would not connect to data services. I can get a normal cell signal but without any data connectivity.

SOLUTION: reflash the modem (make sure you use the correct binary for your device) using the mfastboot utility:

mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot reboot

It may be that only an erase of modemst1 and modemst2 will solve the problem as well, would be worth a shot if anyone else has this happen.
[Moto G Original Android Development] bigalbklyn:
Couple of bugs.

OK, I have an xt1031 and installed the latest snapshot with only one major problem: my WiFi will not authenticate unless I use the WPS button. Then if I reboot for any reason WiFi won't automatically try to reconnect, and when I try to connect manually it won't authenticate without using the WPS. I never had this problem on any rom before this. So I followed the directions and did a clean update to the latest nightly and no change in WiFi and now super su won't install binaries, that problem didn't happen with the snapshot.

Of course since this is cdma no voice mail app will work, but I like most everything else about this rom and would live without voice mail if the WiFi and super su bugs can be corrected.

Anyone have any suggestions for my WiFi problem?

Thanks to the OP and his team for bringing MM to our Moto G.
[Moto G Original Android Development] methuselah:
[MENTION=1006674]lost101[/MENTION]

mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot reboot

are these commands are universal on every phone ???
[Moto G Original Android Development] zeratos:
Which one is for the xt1032?
[Moto G Original Android Development] UltraMaks:
Can't imagine why this technology can be used if we have viber, what's up, FB messanger etc :)

to all:

I have the latest snapshot: cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J1-falcon.zip

I wonder why do I have these situations when

1. I see that WiFi was on while the phone was in Airplane Mode. You can say that the viber is the reason, but in its settings wifi policy relies on the phone policy, so when WiFi is off in settings it should be definetely off

2. This spaces in battery discharging? Wat is this?

I would not say that my battery drains fast, but this things are not clear to me
[Moto G Original Android Development] alfick3:
Means your phone did a reboot during those blank space times.
[Moto G Original Android Development] UltraMaks:
It can't be. Take a look at the timings. It was rebooting for hours while WiFi was on?
[Moto G Original Android Development] alfick3:
OK. Not sure then. Usually, when you have that blank spot it's because the phone was off or rebooting.
[Moto G Original Android Development] tpa-moto:
I think you need an app that allows you to set the APN for MMS (missing APN is probably the reason why MMS don't work for you). I remember other users mentioned 8sms, probably there are others.

As for the logcat, you can use adb, terminal emulator (https://wiki.cyanogenmod.org/w/Doc:_debugging_with_logcat) or some app (I looked for "logcat" on the Play Store. Although I never used it, this one looks nice: https://play.google.com/store/apps/details?id=com.tortel.syslog).

Grab the logcat after the crash. A complete logcat (modem, main etc) right after a reboot could also be useful.

1) That's a known bug of the stats, WiFi is actually off. (https://code.google.com/p/android/issues/detail?id=81501).

2) I can't explain the gaps, I've never seen anything like that.
[Moto G Original Android Development] Mysto-Gun:
Just Reboot your phone with flash light tile on it will be fixed
[Moto G Original Android Development] hemantkarandikar:
Thank you. My flash tile is there in quick settings panel. It does not work. I know that the flash LED is working because it worked for a while during one nightly about a month back. It then stopped.`

(I switch off and on phone every one or two days)

I have checked using camera flash and flashlight apps it doesn't work (:-

Thanks
[Moto G Original Android Development] Hiraethic:
best i have found till now.but when i install xposed and some modules,it starts lagging.should i clean install the rom again?
[Moto G Original Android Development] shkz:
Hey, i've been using the latest nightly and haven't found anything wrong except the microphone when using a headset. Before flashing this ROM, I was able to use the headset microphone but now it won't get recognized, I'm only able to use the phone's internal microphone. Im currently on 13.0-20160921-NIGHLTY-falcon.

If there's any sort of information you need me to add in order to solve this please tell me.
[Moto G Original Android Development] lost101:
Most Motorola phones, yes. I have no idea about handsets from other OEMs.
[Moto G Original Android Development] LuK1337:
I wouldn't recommend wiping modemst1 / modemst2 on non-Moto phones. Unless you want to lose your IMEI.
[Moto G Original Android Development] methuselah:
thank you for quick reply :)
[Moto G Original Android Development] wskelly:
For my retail US Falcon, this is what I did. You may need a different modem bin.

This happened to me while using the last snapshot: cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J1-falcon

And when it happened before, I don't remember which build it was. But it has happened twice now. FYI.

---------- Post added at 03:48 AM ---------- Previous post was at 03:45 AM ----------

You will have to find it, there is a thread with all of the stock firmwares, you just need to reflash the mod bin and the two erase steps.

Honestly I would try only the erase steps first and see if it solves it. The modem bin should be read-only while there might be some flash storage that is written to occasionally, which is why the two erase steps are in there.

---------- Post added at 03:51 AM ---------- Previous post was at 03:48 AM ----------

Also I have the impression that mfastboot is a Motorola-specific utility, so please do not use this utility on other phones.
[Moto G Original Android Development] UltraMaks:
Thanks.

And today I found another issue that successfully has gone... I guessed so. But now it happened again. After my phone was charged it started to drain battery quick because of "awake" mode. Today there was no WiFi in battery's statistics but despite the fact of "Airplane mode" the phone did not get asleep

I complained a lot during months about these on some nightly builds but then (after upgrading to some version) the issue had gone. And this is the first time I see it with the snapshot

Hope this won't happen again
[Moto G Original Android Development] tpa-moto:
Oh, I remember you now: http://xdaforums.com/showpost.php?p=66537616&postcount=2757

I'm still not sure the compass was the problem, I only saw that tiny log you posted there that showed little to nothing and I don't know if that dirty workaround had any effect.
[Moto G Original Android Development] UltraMaks:
If this situation continues I will be digging into this problem. For now let's wait a 'lil' :)
[Moto G Original Android Development] metsapicasso:
I'm experiencing a similar problem, with a bluetooth headset connected as commucations device calls (both speaker and audio) don't go through the headset.
[Moto G Original Android Development] andromobilogy:
When I use the 3G i usualy have a very weak signal on my XT1032 model and sometimes when am indoors it even goes off completely. But when I change it to 2G in 'Preferred Network Type' menu the signal comes strong again and not a problem with it. Any idea why this happens? I am on the first Snapshot now but i can say even on previous Nightlies was the same situation. And i dont think its a Carrier problem. Thnx.
[Moto G Original Android Development] UltraMaks:
Can you try using this sim card on another phone? If the situation is the same the problem is in the operator's network. If all is ok with 3G network on the another phone, I think you'll need to change your "modem" that suits best for you
[Moto G Original Android Development] hemantkarandikar:
Apps stop working 24 Sept nightly

After updating to 24/9 nightly uisng CM updater I find that Titanium Back up (Pro) and CM downloader apps are force closing.

I tried clearing Cache and Fixing Permissions in TWRP recovery. Didn't help.

Any solution?

Thanks
[Moto G Original Android Development] TabascoJoe:
8sms worked perfect for receiving MMS. What is interesting is 8sms had the correct APN settings for Boost Mobile. The one odd thing is I can receive MMS pictures and group messages. I can send MMS group messages but not pictures. Pictures never show up to who I sent them to, could be a Boost thing.

Still working on getting the logcat.
[Moto G Original Android Development] optimuspnj:
No updates since 24th...

What should be the reason for that? A new release? Or a big update? Or Cynogenmod 14? Really really excited :D
[Moto G Original Android Development] koshikas:
more like no changes to the build. there is a new one today, a very minor change. refer; http://cmxlog.com/13/falcon/

if you are interested in CM14, there is an unofficial at; http://xdaforums.com/moto-g/development/alpha-cyanogenmod-14-falcon-t3455616/
[Moto G Original Android Development] brchickery:
I flashed the cm14 test that is on here and then i went back to this cm13. Now i have no wifi. Anyone know what the fix could be? Thanks!

EDIT

Fixed it by restoring an old TWRP image i had.
[Moto G Original Android Development] andromobilogy:
Moto G XT1032

CM13.0-20160816-SNAPSHOT-ZNH5YAO0-falcon

I wanted to give it a try to Unofficial CM14.0 and:

1) Did a full backup of CM13.0 with TWRP 3.0

2) Clean Installed CM14.0

3) Got back to CM13.0 with restore back up from TWRP after i wiped everything from CM14.0 i used for sometime.

4) Had an error at the end of Restore procces with the "Persist" option

5) Re did the Backup Restore again without the "Persist" (Unchecked it)

6) Mobile booted normally as before at CM13.0 but now am having problem with Wi-Fi as i cant activate it.

Wifi stays close and when i try to activate just tries to connect but it doesnt. Everything else works fine data, calls, bluetooth etc.

I rebooted twice, did a wipe cache too but still the same, as wifi doesnt connect anymore and doesnt show up any wifi network at all.

I dont know what went wrong but chronologically the above steps are all i did. Also took a logcat (its in attach) but havent used logcats before and dont know if its taken properly.

If someone has an idea what wifi problem is and how to make it work before i try to do a new clean install of CM13.0 because i dont

want to lose the back up i have.

PS: Wifi was working fine in the CM14 unofficial.

Thnx
[Moto G Original Android Development] brchickery:
I had the exact same issue step by step to the T JUST NOW lol. First I updated to the latest TWRP which is https://twrp.me/devices/motorolamotog2013.html then I wiped everything a few times using all methods to wipe the phone, then mounted all my options under mount then i restored from my old TWRP and it fixed it.
[Moto G Original Android Development] merothh:
Being a flashaholic I couldnt wait..

Went ahead and flashed..yeah I noticed something in the commits to improve camera comparability but I didn't care as I don't use the camera that often..

And regarding vibrator my phones vibrator doesn't work..it got detached from the board !!

So if you want it to vibrate you have to vibrate the phone itself !! :p
[Moto G Original Android Development] nikilpereira:
Help!

I've the same issues + when you move few of the tiles from the task bar the UI crashes. .

Apart from this everything works.
[Moto G Original Android Development] SH1M4BD3:
Anyone???what's actually overcounted for???
[Moto G Original Android Development] tzzeri:
It's the opposite of miscellaneous. The system calculated an extra 69% of battery being used which wasn't actually used. So it's juice that was accounted for by mistake as it wasn't actually used.
[Moto G Original Android Development] bloodhound42:
anyone on latest build can confirm whether sims are hot swappable ?
[Moto G Original Android Development] nikilpereira:
Hot Swap

Yes
[Moto G Original Android Development] merothh:
Is there anybody here GPE-converted XT1033 with single sim successfully..

And also somebody who got past the boot screen after flashing super-su(IF YES WHICH VERSION ??)
[Moto G Original Android Development] bloodhound42:
no need to flash super su rom already pre rooted
[Moto G Original Android Development] merothh:
I know that..but I'm gpe converted and I'm not able to get my sim working properly (dialler does not hang up) even after forcing single sim..

From lollipop days I think I remember the need to flash super-su after forcing single sim so that the dialler will hang up properly(that's why I asked if there's someone running a gpe converted device smoothly in the first place..)
[Moto G Original Android Development] karthikkh20:
How do I uninstall all the C-Apps ?
[Moto G Original Android Development] bloodhound42:
delete addon.d script and dirty flash rom

---------- Post added at 06:49 PM ---------- Previous post was at 06:29 PM ----------

Ambient Display back or not ?
[Moto G Original Android Development] karthikkh20:
No ambient display yet
[Moto G Original Android Development] bloodhound42:
Phone app fcing on latest nightly
[Moto G Original Android Development] indrasatrya:
Not for me. No FC on phone app, sir.
[Moto G Original Android Development] SH1M4BD3:
Everythings fine here , its smoother and faster response ,also they've fixed protected apps and its my fav one now its possible to hide icons app from drawer
[Moto G Original Android Development] nikilpereira:
Hot Swap

Yes. THey're hot swappable
[Moto G Original Android Development] bloodhound42:
weird i clean flashed and flashed open gapps can u please call a number and check whether phone app is stopping ?

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

No we can't disable sims :p
[Moto G Original Android Development] indrasatrya:
Here, no FC.
[Moto G Original Android Development] objr:
No problems here either!!

Are you using C-Apps... It's dialer is known to have FC in calling mode :)

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Original Android Development] hemantkarandikar:
bootloop: please help

In order to solve bootloop problem after flashing CM 13 4/12 nightly (clean update as per OP) I tried restoring stock Lollipop so that I could falsh CM 13 again.

I followed OP procedure in thread [GUIDE] Moto G - Restore stock firmware http://xdaforums.com/showthread.php?t=2542219

But I couldn't restore stock

here is are the details:

1) My device journey:

stock 5.1 > CM 12.1 nightly 29 /11/2015 (this was working well and I came here after several nightly updates

On this I flashed CM 13 (official) nightly of 4/12/2015 (followed clean update procedure in OP) and this caused bootloop

I was able to get in bootloader and at times in twrp. I updated twrp to latest ver. Now I can boot in recovery from bootloader.

I tried reflashing CM 12.1 this agian caused bootloop. On that thread I was asked to restore stock and reflash CM 13.

So came to this thread and downloaded stock XT1032_FALCON-RETGB_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF.xml and followed procedure in OP of above Guide thread

I get following errors when I try to execute commands

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

D:\MotoGGBStock\XT1032_FALCON-RETGB_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF.xml>mfast

boot flash partition gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.030s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.321s

D:\MotoGGBStock\XT1032_FALCON-RETGB_5.0.2_LXB22.46-28.1_1_cid7_CFC_1FF.xml>mfast

boot flash motoboot motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1953 KB)...

OKAY [ 0.099s]

writing 'motoboot'...

(bootloader) Motoboot: Preflash validation for tz

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.352s

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

Will be great if I get a solution...

Thanks
[Moto G Original Android Development] andromobilogy:
Updated latest TWRP and the Back up restore went great. All is working normally. Thnx
[Moto G Original Android Development] TheKsprx:
Guys theme chooser does not apply the icons of the themes, is this something known or it happens only in my device?
[Moto G Original Android Development] BryanByteZ:
Working fine here 23/9 build.
[Moto G Original Android Development] ShapeShifter499:
OK well data doesn't work on my device, how can I fix that?
[Moto G Original Android Development] tpa-moto:
Try with

fastboot erase modemst1
fastboot erase modemst2
[Moto G Original Android Development] jeff425:
I have a question, why is theme choose used instead of theme engine? Arcus theme don't seems to work for me though.
[Moto G Original Android Development] ShapeShifter499:
I tried this but I still cannot get data. I see a 'R' and "Roaming Indicator On". When I tried to access the "cellular networks" settings I got "Unfortunately, the process com.android.phone has stopped."
[Moto G Original Android Development] tpa-moto:
Could you grab the logcat of said crash? I'm still waiting for someone to post it.
[Moto G Original Android Development] ShapeShifter499:
Ok here ya go, I triggered the crash a few times, toggled airplane mode, and toggled the switch next to "cellular network" while capturing 'adb logcat' to a file. The following gist link is that logcat, please let me know if it's good. https://gist.github.com/ShapeShifter499/bcc3a4ace654d59067687e36924f8d5f
[Moto G Original Android Development] tpa-moto:
https://drive.google.com/open?id=0B9vNfsTdldibMFFWXzVPQXN6SzA

Replace /system/priv-app/TeleService/TeleService.apk
[Moto G Original Android Development] ShapeShifter499:
I replaced the file, chmod 644 on it, and I'm now able to access the "cellular networks" section of settings now but my device still does not connect to data even after a reboot. Any further ideas? Here is a new logcat https://gist.github.com/ShapeShifter499/9eade9f4ccdc59916d23b2d761f3556f

EDIT: Logcat includes output from me toggling all sorts of settings inside "cellular network settings" to try to get data working.
[Moto G Original Android Development] tpa-moto:
'Roaming Indicator On' is there because there's no ERI for U.S. Cellular, but that's just a default string (this will be fixed shortly).

I'd need a radio logcat for more info, possibly right after a reboot. However, 'Roaming Indicator On' is used when everything's fine. If you want to get rid of it right now, you can try this framework-res.apk.
[Moto G Original Android Development] ShapeShifter499:
Data doesn't work though, even with with the roaming indicator.

---------- Post added at 05:22 AM ---------- Previous post was at 05:08 AM ----------

Do I leave 'adb logcat' running so it catches my phone log right at reboot?
[Moto G Original Android Development] tpa-moto:
adb logcat -b radio

Run it right after reboot, when the splash screen is shown. If you start it before you reboot, the command will exit.

In any case the framework shouldn't be chatty enough to fill the buffer, if you are quick, but that will ensure nothing is lost.
[Moto G Original Android Development] ShapeShifter499:
Here is the new logcat, taken from the moment the bootlogo showed up. I let it boot, unlocked, and went to "cellular network settings" to toggle some stuff in another attempt to get data working. https://gist.github.com/ShapeShifter499/0b9176d7816cb179fec0c81321061d2a
[Moto G Original Android Development] UltraMaks:
I wonder why last night my batter line was not horizontal... Can anyone advice why? :)

There are screenshots of battery and wakelock (installed as system)
[Moto G Original Android Development] SHEER TERROR:
I'm using the latest snapshot and I believe I found a bug. I'm not sure if this has already been fixed in the latest nighlies but here goes.

1. open camera

2. switch from rear camera to front facing camera

3. exit camera app

4. open camera again and switch back to rear camera

5. the icons on top disappear
[Moto G Original Android Development] tiagosantos88:
The front camera dont have HDR por flash

Switch back to rear camera exit and open again ....
[Moto G Original Android Development] tpa-moto:
Could you flash 20161011, run

fastboot oem config carrier boost

and see if you can use MMS with the stock app?

PS: I no longer need to logcat, the settings should no longer crash, but may not work properly (e.g. no APN shown, adding new APNs is not possible).
[Moto G Original Android Development] TabascoJoe:
Updated to 20161011, ran the fastboot command after. Command ran sucessufly.

I was not at the phone, just walking the user through the motions and running the fastboot via a remote session.

The cellular network setting did open. I could not tell you what apn setting were listed just that it opened.

We tested with the Google messenger, it failed sending asking to insert a SIM card. I will have more details tomorrow.
[Moto G Original Android Development] vkp1997:
[MENTION=5778309]luca020400[/MENTION] As you are the official maintainer for TWRP for falcon, I want to report a bug....

Bug in Latest TWRP 3.0.2 :

Aroma package text overlap with background log (tried OpenGapps Aroma)
[Moto G Original Android Development] TabascoJoe:
Closer to a solution, still MMS is broken...

The Cellular Network setting opens and all setting work without a crash. What is odd is there is not APN settings. If you choose to defult the APN nothing happnens.

If you try to manually add the APN and click save nothing saves, the APN list remains blank.

The built in SMS app errors out with "Cannot send" when trying to send a MMS.