yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Original Android Development] Piyoosh_Singh:
Which FM radio?

1. Spirit FM radio

2. Motorola FM radio

3. Something else like Stock FM
[Moto G 2015 Original Android Development] squid2:
August 11 Release

I've posted a new build with several improvements. The download is up on the first post. There are enough changes that a clean install might be a good idea.

I've replaced MotoDoze with a variant of CMActions by [MENTION=3857343]crpalmer[/MENTION] that I ported over from the 2014 Moto X (victara). You can configure it under Settings->Gestures. It supports Chop-chop for torch activation, Double-twist for camera activation, Lift and Stow gestures for ambient display activation, and also features MotoDoze-style proximity sensor ambient display activation. If it doesn't work on first boot, just open up the Settings->Gestures panel one time and it should work from there onward.

[MENTION=4480917]Alberto97[/MENTION] added in an option for disabling the charging light that can be found under Settings->Display and lights->Battery light. He's also been working on improving and restructuring the device tree as well as cleaning up the vendor blobs.
[Moto G 2015 Original Android Development] androidbaba:
thanks [MENTION=6485916]squid2[/MENTION]

i am unable to connect ro wifi in 8th aug version

i will check out latest build

i am on xt1550 inidan/16 GB
[Moto G 2015 Original Android Development] Alberto97:
CyanogenMod FM Radio but Spirit FM should work fine too
[Moto G 2015 Original Android Development] DJTeeJay:
Thanks for the updates!!!
[Moto G 2015 Original Android Development] XMoDuLeSx:
Works oke on xt1540 /11 build :D
[Moto G 2015 Original Android Development] MortaLPortaL:
can anyone confirm if the call volume is fixed in this one? or is it still low.
[Moto G 2015 Original Android Development] mykenyc:
Wow don't know why it is so smooth now but great work. I would advise people with the 8GB version to download the nano of pico gapps and move stuff like Google play music, YouTube, etc to sdcard.
[Moto G 2015 Original Android Development] XMoDuLeSx:
Using these gapps : http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368

all run perfect without any FC's :fingers-crossed:
[Moto G 2015 Original Android Development] Piyoosh_Singh:
Motorola FM radio will work or not if i backup and restore with Titanium.

I just love the new Motorola FM radio.
[Moto G 2015 Original Android Development] Alberto97:
It won't, anyone has been able to port it into custom roms
[Moto G 2015 Original Android Development] androidbaba:
[MENTION=218829]ALBERTO[/MENTION]

cant connect to wifi on 1108 nightly

also ril dissappeared when i tried to change it from LTE to 2 G

then no network

pls help...

on XT1550 indian/16 GB

edit i also flashed patch for wifi on cr droid thread without any success
[Moto G 2015 Original Android Development] Alberto97:
http://xdaforums.com/showpost.php?p=62285232&postcount=10
[Moto G 2015 Original Android Development] androidbaba:
thanks for your prompt reply

but i wanted solution to ril problem too...:o
[Moto G 2015 Original Android Development] Alberto97:
Give me a logcat and/or a radio log so I can advice you something
[Moto G 2015 Original Android Development] hossman:
This one had almost same result.

But after first boot, I was able to switch to cdma and signal showed up as US CELLULAR.

My phone number was still messed up so I rebooted. Now it is stuck in GSM again.

I tried to pull a logcat and toggle cdma, but the txt file was empty.

If I have some free time today I will try again, but the wife has me painting walls....

Thanks again!
[Moto G 2015 Original Android Development] Alberto97:
Derp, I have written in the code "ro.boot.hardware.carrier" instead of "ro.boot.carrier", so device recognition was broken. I hope one of these will work:

1st try (tweaks only from VM build.prop)

2nd try (1st + ro.cdma.home.operator.numeric=311490 + ro.cdma.home.operator.alpha="Virgin Mobile")

3rd try (2nd + gsm.sim.operator.numeric=311490)
[Moto G 2015 Original Android Development] nelsonw:
Hi! What's the benefit of this commit for tomorrow's build?

"don't build camera hal"

Thanks!
[Moto G 2015 Original Android Development] Alberto97:
Nothing, just cleaning the device tree. Our Camera HAL is prebuilt so we don't need to say to the environment "build it".
[Moto G 2015 Original Android Development] Hedied4me:
Well I tried all three. I flashed one over the other, not sure if that matters. I rebooted after each one and tried changing to CDMA or VM in the apn area Access Point Names in settings. Im not sure that Im doing it right but it never changed out of "no service" for me. Just wanted to say that Hossman and I really appreciate your help Alberto. Thanks
[Moto G 2015 Original Android Development] hossman:
No luck on the first two

After flashing the third one, I was able to get data, and was even able to send a text, but it took some work and was still buggy.

I deleted apns and replaced with the virgin one I need. Carrier showed as virgin, but my phone number is not correct. When trying to make a call, I get a voice message saying " error 62"

After rebooting, carrier shows sprint, and I was not able to text.

I seems as though my phone needs to 'activate'

After restoring stock nandroid I had to update prl and profile before my service was restored.
[Moto G 2015 Original Android Development] vicky_ag:
So I finally took the plunge and tried it by installing this ROM. Casting doesn't work. The casting option under "Display" is just for show.

There was a build.prop hack which worked on stock ROM. When applied on this ROM, receiving device ie. my LED shows up correctly but then it gets stuck at "connecting" for a long time.
[Moto G 2015 Original Android Development] Hedied4me:
Same here.

Sent from my Virgin Mobile CDMA Moto G3
[Moto G 2015 Original Android Development] rcaliman:
Cool!
[Moto G 2015 Original Android Development] felipovicc:
Gonna flash nightly tonight.. can anyone confirm installing moto camera from playstore works on todays build?

Thanks very much!
[Moto G 2015 Original Android Development] sevenrock:
I think this patch is needed for this: http://review.cyanogenmod.org/#/c/107682/
[Moto G 2015 Original Android Development] hossman:
So an update... This ROM is now working on my Virgin Mobile moto!

When wiping everything then flashing this ROM, I lost cell service and could not get the phone to stay on cdma,..always stuck in gsm mode.

So after many attempts I flashed the Candy5 rom WITHOUT wiping and was able to flash the derp boot #3.

Then I deleted etc/apns config file and replaced it with the virgin one I have.

I did have some apps force closing, but I uninstalled them with the app manager in settings and rebooted and no more issues...was clock and fb messenger and something else...

Reboot and bam I have service! Lte is working, call MMS all working!

Carrier says sprint, but I don't care, calling 611 takes me to virgin and my number is correct.

So I decided to try cm12.1 on top of candy and everything is working!

I did not reflash the modified derp boot and my phone now reads the cm kernel. I am about three nightlies behind so I'll try and update soon.

Only thing I can figure is when wiping something must be needed from maybe the data partition?

I have no clue but I know my phone is working!

Thanks for your patience Alberto!
[Moto G 2015 Original Android Development] rcaliman:
Here it is working, but did flash the ROM and the camera yesterday and today the Play Store asked me to actualize. It is working perfectly, including slow motion.
[Moto G 2015 Original Android Development] Hedied4me:
So can I ask you Hoss, what are you doing exactly to get it to switch from GSM to CDMA mode? I could never get it to give service no matter what I did. Thankd

Sent from my Virgin Mobile CDMA Moto G3
[Moto G 2015 Original Android Development] keylocker:
What is the difference between this ROM & the one's in Cyanogen website for Osprey? That seem to be Official but why haven't been used?
[Moto G 2015 Original Android Development] hossman:
Go to dialer

*#*#4636#*#*

Go to phone info

Near the bottom select LTE/CDMA (AUTO)

[/URL]

[/IMG]
[Moto G 2015 Original Android Development] creative21:
[MENTION=6485916]squid2[/MENTION] many Indian language fonts are missing in CM official nightlies (system/fonts). fonts files are listed in fallbackfonts.xml. can you please fix it? Indian languages were supported on stock rom.
[Moto G 2015 Original Android Development] Ragarianok:
They're the same.
[Moto G 2015 Original Android Development] ==vj==:
Last two changelogs are impressive. Have you tried installing motorola camera from play store..?
[Moto G 2015 Original Android Development] ranaxda200:
[MENTION=6485916]squid2[/MENTION] and [MENTION=4480917]Alberto97[/MENTION] can you please port stock like active display to this rom? I think it'd be very cool. ;)
[Moto G 2015 Original Android Development] pavanjadhaw:
All the capabilities of stock ROM are added to latest official nightlies.
[Moto G 2015 Original Android Development] rouyal:
Doesn't show up in store for me
[Moto G 2015 Original Android Development] Hedied4me:
Well I finally tried CM again tonight but I am unable to get CDMA to stick, it always reverts to GSM. It was weird, the first time I tried after just flashing CM, CDMA mode stuck. So I rebooted to see if it would stick and it would not unfortunately. Is there anything else that you have done [MENTION=4985023]hossman[/MENTION] ?

Is there anything else that we can do [MENTION=4480917]Alberto97[/MENTION] ? I really want CM to work on my phone. Thanks for your help guys.
[Moto G 2015 Original Android Development] steffano:
Doe's this work for the dual sim variant??
[Moto G 2015 Original Android Development] creative21:
yes
[Moto G 2015 Original Android Development] digiscales:
Hi just ordered device as my ex stamped on g2 2nd gen screen ... cm13 has for that device they have fixed dual sim on cm13 ... is cm13 being developed and can you use fix on thi srom or on caf 6.0?
[Moto G 2015 Original Android Development] hossman:
I have not been able get service when flashing this from a total wipe.

Candy5 allowed me to flash over stock without wiping, and I was able to get service as stated in my previous post.. From there I just flashed cm on top and deleted extra apps.. I have been able to update to every cm nightly since then, I just have to replace apns config each time to keep service.
[Moto G 2015 Original Android Development] charutl:
Then why moto display is not working?
[Moto G 2015 Original Android Development] pavanjadhaw:
Be sure to flash the latest official nightly... I have 20151105 build and moto display is working like charm I don't know what went wrong with it on yours device.

---------- Post added at 05:02 PM ---------- Previous post was at 05:01 PM ----------

Also check whether ambient display is on in display and lights settings. Hope you have found solution till now.
[Moto G 2015 Original Android Development] christopherrrg:
Stock (or stock based ROMs) has moto display, CM has ambient display.

I'm currently cooking up a custom ROM based off of retail Canadian 1GB edition which will include moto display. I would post what I have now but I haven't changed much yet other than bootanimations etc. Definitely a big WIP, I'm using Rapture as a reference.
[Moto G 2015 Original Android Development] pavanjadhaw:
So all the best for your upcoming work be sure to share it with us... ?
[Moto G 2015 Original Android Development] charutl:
Bro am asking moto display only not an ambient display
[Moto G 2015 Original Android Development] pavanjadhaw:
But it works exactly same as that of the moto display.
[Moto G 2015 Original Android Development] HelpMeruth:
How do i install moto display? In the playstore it says that its incompatible.
[Moto G 2015 Original Android Development] shadie21:
Awesome work guys
[Moto G 2015 Original Android Development] Piyoosh_Singh:
Thanks [MENTION=6485916]squid2[/MENTION] for making google camera for installable from play store.

I have a few queries? what it would to take to make installable to some other moto applications

such Moto FM radio(my wish) and moto display as others are emphasizing on this.

Do you have any progress in Marshmallow nighties?

Thanks for your work keep it up?
[Moto G 2015 Original Android Development] garumoron:
Why the slow mo is so chopy?
[Moto G 2015 Original Android Development] Bangbang_cannon:
[MENTION=6485916]squid2[/MENTION]

Can you add c-apps in the next build plz
[Moto G 2015 Original Android Development] eng.stk:
C-apps are not meant to be added to CM builds, there's a zip in CM website made by CM themselves in order for you to flash.

https://cyngn.com/c-apps
[Moto G 2015 Original Android Development] Jamesnewton1406:
When is cm13 coming out?
[Moto G 2015 Original Android Development] christopherrrg:
Probably not for a while now because you're asking. ?? but in all seriousness I think Alberto is cleaning it up before posting the thread.
[Moto G 2015 Original Android Development] Jamesnewton1406:
OK thanks
[Moto G 2015 Original Android Development] rouyal:
Anyone else have issues with picture messaging (mms)?

The issue I had was that mms would not send/receive at all while connected to wifi (like it wouldn't auto switch to mobile data to send message). When off wifi, it would work only sometimes. Most times it would hang on 'sending' or 'downloading'.

I checked, and even wrote completely new, apn settings (per Cricket site). Tried numerous messaging apps, and checked all settings. Problem is on every CM version I've flashed.

I've had this problem for a while, but chalked it up to Cricket's problem. Today, I decided to flash the factory firmware, and all problems went away. I can send and receive mms while connected to wifi, and it sends and receives almost instantly. Even using Google Messenger.

FWIW, I am using the 1gb US retail model on Cricket Wireless.
[Moto G 2015 Original Android Development] christopherrrg:
I have this problem with wind mobile as well, I usually just cut the WiFi and let LTE do it's thing.

I never thought it was widespread.
[Moto G 2015 Original Android Development] hossman:
With the latest nightly, and the no derp3 boot.IMG and changing my apns_config.XML I have full service from a full wipe and clean install.

I believe the key to the success was changing CDMA subscription to RUIM/SIM in Mobile connections.

Several reboots and phone has service on virgin mobile.

Thanks Alberto97!

Here is the virgin APN I used

https://www.dropbox.com/s/96wnvah13ilbt9d/apns-conf.xml?dl=0
[Moto G 2015 Original Android Development] hossman:
If I don't flash the derp3 boot, I do not get the option for CDMA subscription
[Moto G 2015 Original Android Development] ranaxda200:
A WiFi glitch is occurring now specially while watching videos on YouTube. WiFi is connected to AP but shown no Internet nor loading videos. Reboot is also not fixing it. Please help me.

EDIT: Reinstalling YouTube solved the issue and I think it was an xposed module problem.
[Moto G 2015 Original Android Development] bluesock:
Hey, I looked with "CPU Spy" on my device, and the 200 MHz mode is always "unused".

I then temporarily enabled it with KernelAdiutor ( https://f-droid.org/repository/browse/?fdid=com.grarak.kerneladiutor ), and so far there is no obvious issue.

Any reason for not enabling it? Maybe there were some considerations for power saving, and it's actually better to skip the 200 MHz and only use from 400 upwards? Or was it a mistake? Thanks for clarifying!

Otherwise, much thanks for porting this! It's working very well, even if there have only been Nightly's so far :)
[Moto G 2015 Original Android Development] charutl:
What about snapshot? Any bugs?
[Moto G 2015 Original Android Development] qew204:
I had this issue too, when connected to WiFi I cannot send or receive MMS. My workaround was to download Textra and restart the phone afterwards. If it still isn't working, then try manually creating an APN with the AT&T settings and setting that as the profile used. Then go back to Textra and try to send an MMS with WiFi on.
[Moto G 2015 Original Android Development] Bangbang_cannon:
what's the difference between snapshot and nightly builds?
[Moto G 2015 Original Android Development] asrupesh:
- Nightly: usually generated every 24 hours, experimental, newest features, unstable.

- Experimental: testing version requested by device maintainers to evaluate specific changes.

- M Snapshot: milestone snapshot, more stable than a nightly but potentially some issues.

- Release Candidate: last builds before stable release, few minor issues, mostly stable, and safe for daily use.

- Stable: most stable version available, all or nearly all issues resolved.
[Moto G 2015 Original Android Development] Bangbang_cannon:
Thanks I didn't really know why the new build said the type is snapshot
[Moto G 2015 Original Android Development] JackSparrow17:
Any other way to change navigation bar DPI without installing xposed and gravity box...?
[Moto G 2015 Original Android Development] christopherrrg:
Manually in the buld.prop I believe, I'm not sure if navigation is tied in universally or not. I'd like to check this also.

---------- Post added at 03:20 PM ---------- Previous post was at 03:17 PM ----------

I believe the min values for osprey are 400 MHz.

One of the kernel devs could give more clarification.
[Moto G 2015 Original Android Development] dandrake47:
Amazing work by the devs. I haven't rooted mine yet (just got it last week. Still in honeymoon stage) but when I do, I'll be loading this firsthand. :)
[Moto G 2015 Original Android Development] theShadow800:
Capps theme engine is crashing on the latest snapshot

android.database.sqlite.SQLiteException: Can't downgrade database from version 19 to 17

at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:360)

at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:254)

at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)

at org.cyanogenmod.themes.provider.ThemesProvider$VerifyInstalledThemesThread.<init>(ThemesProvider.java:477)

at org.cyanogenmod.themes.provider.ThemesProvider$1.run(ThemesProvider.java:228)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5294)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

---------- Post added at 12:54 AM ---------- Previous post was at 12:37 AM ----------

I wiped the system partition and refreshed the snapshot, still the same problem, so it's not related to Capps
[Moto G 2015 Original Android Development] christopherrrg:
Are you wiping all of these?

Cache, dalvik cache, system, internal?

That's how I usually clean flash. (SD card used, some prefer internal so you don't have to wipe, I'm just a neat freak when it comes to app data.)
[Moto G 2015 Original Android Development] Hedied4me:
Thanks, think I'm finally gonna give CM a go again. How do I use this config? Where is the folder located and do I need to mess with permissions? Thank you
[Moto G 2015 Original Android Development] theShadow800:
Working now, I had to wipe the data partition to make it work.

Thanks :)
[Moto G 2015 Original Android Development] hossman:
Here is what I did. I gave these instructions to another VM user and they had success. I have also used the same process on 3 other ROMs and have had success personally.

Good luck!

Flash the latest cm nightly

Flash gapps

Sign in and download root browser, flashify, and change APN from the playstore.

Enable root in dev options

Use root browser to replace etc/apns-config file and set permession to rw-r--r-- and ownership to root

Now go to flashify and flash derp cdma boot.IMG

Reboot

Now go to change APN and hit restore default.

Select the top APN.

Go to dialer and type *#*#4636#*#*

Go to phone info and change to CDMA/lte and reboot

This is where you need to be patient.

Go to phone info and make sure it is on CDMA/lte.. If not change to CDMA only.

Now go to settings/mobile networks and click cdma subscription.

Make sure ruim/sim is selected.

Make sure preferred network is lte and not 1x

Reboot.

Keep checking phone info each time you boot.

If it changes to gsm, keep changing it to CDMA only and make sure the previous steps are still good. And reboot.

It may take several reboots, but your provider will be listed as sprint and your phone will work.

I know the 3rd no derp IMG works, and I'm pretty sure the 1st one works as well... I've mixed them up on my phone, but I'm almost positive the 1st works.
[Moto G 2015 Original Android Development] rouyal:
Well, factory firmware started doing the same thing after a while. So I re-flashed back to CM, installing apps bit by bit, and sticking with the default MMS app to see what happens. Works so far, but I'll see after a few days.
[Moto G 2015 Original Android Development] acejavelin:
I had this issue on Cricket as well, but not on Go Phone or AT&T post paid... The phone didn't seem to matter, my SGS2, Nexus 4, and Moto G all had that issue, and a friend with two Zenfone 2 has the same issue on both on Cricket but found a fix. It seemed to me that trying different messaging apps, I don't remember which worked, if it was Hangouts, Google's Messenger app, or Textra
[Moto G 2015 Original Android Development] Hedied4me:
Followed your directions to the "T" and it worked perfectly. I could not have done this myself. Thank you so much Alberto and Hossman. So happy I finally have a phone with Cyanogen again.... woohoo
[Moto G 2015 Original Android Development] Hedied4me:
I get a number sign (for root access) and a star in the notification bar. Is there any way to hide these two? Thanks
[Moto G 2015 Original Android Development] christopherrrg:
The star would mean our phone is on priority mode and you know I've been waiting for the exact same thing as the root icon gets in the way when you have a centered clock & an alarm.
[Moto G 2015 Original Android Development] creative21:
use chainfire's superSU and # will be gone forever :D
[Moto G 2015 Original Android Development] Hedied4me:
Anyway to get rid of the star like taking priority mode off (not sure how to do that). Thanks

Sent from my Virgin Mobile CDMA Moto G3
[Moto G 2015 Original Android Development] christopherrrg:
Oooh hit your volume buttons and you'll see three options, select all!

---------- Post added at 02:15 AM ---------- Previous post was at 02:14 AM ----------

Worked!
[Moto G 2015 Original Android Development] Hedied4me:
Since you guys have been so helpful to me was hoping I could ask a few more. 1. Im unable to uninstall certain apps via Titanium like cm calendar or audio fx. They just keep coming back after restart. Im guessing something about system being read-only. I don't think I can flash a custom kernel because I have to use the modified boot to get Virgin Mobile service. Any clue what I can do? 2. Also pressing the return button on the keyboard causes a text msg to get sent. Sometimes I hit it accidentally. Any way to change this. Im realizing this might be better in the q&a section so next time I will :D

Sent from my Virgin Mobile CDMA Moto G3
[Moto G 2015 Original Android Development] hossman:
You can change kernel.

If you update the rom, you will want to change the apn-config again though.

Use root browser to delete the apps you don't want in system/apps or priv apps.

Just make a backup first.

The enter button has to do with messeging app or keyboard settings.
[Moto G 2015 Original Android Development] rizwan.mahai:
Dual Sim ?

Does this rom have dual sim support ?
[Moto G 2015 Original Android Development] JackSparrow17:
Yes....
[Moto G 2015 Original Android Development] charutl:
Is this ROM support Dolby atmos?
[Moto G 2015 Original Android Development] Hedied4me:
[MENTION=4985023]hossman[/MENTION] Is there anyway to use the VM voicemail app from stock buddy?

Sent from my Virgin Mobile CDMA Moto G3