yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] Yahyailham:
GPS Issue

Nothing changed. Anyway thank you for trying to help me. Just forget about my issue, I will flash back to CM 13, because I really need maps in my everyday life, and in CM13 I didn't see this GPS issue
[Moto G Android Development] pradeeppk:
I am using HERE maps without any location problem, GPS lock within few seconds, Less detail compared to Google maps but it is the only choice now.
[Moto G Android Development] :
I have to try gps on the road but, in my house, everything is ok. In "high precision mode" with everything activated (wi-fi, etc.) and google maps optimized (by "Location accuracy tips"), it's perfectly accurate.
[Moto G Android Development] pradeeppk:
It is accurate in house, because it use wifi for accurate location, but otherwise it fails (GPS satalite based information)
[Moto G Android Development] :
Thanks for the info. I'm going to download here maps and try both this evening
[Moto G Android Development] nicoconunac:
if i remember well in previous versions, the first ones, gps worked... Is it hard "to come back" to those "build settings"? Sincereley i have no idea, just an hint, since everything works fine for me in v1.1d... I don't know if it is because of kaminarikernel (that works flawlessy with 300mhz min freq) or not
[Moto G Android Development] lost101:
Here is another fix to try: (I used GPS Status to pick up sats as I am currently indoors)

EDIT: 'Device only' is more accurate than 'High accuracy' in Google Maps.
[Moto G Android Development] lucastracq:
flashed v1.2a, GPS works, i answered yes when google maps prompted to use Wi-Fi etc.. and got my location. then i switched to "device only" mode and turned off any Wi-Fi scanning or similar and i'm still getting an almost instant and very accurate location.

thanks [MENTION=1006674]lost101[/MENTION] :)
[Moto G Android Development] :
Yep, GPS Status clearly highlights a problem only with google maps. With HERE maps the phone immediately connects to gps (the notification from gps status appear). With google maps nothing happens, but the phone seems recognize an approximate location (even with "device only" mode)
[Moto G Android Development] lost101:
I've checked in CM13, and GPS (device only) is even more accurate in Google Maps.
[Moto G Android Development] Cragman:
Thank You for tryin to make gps working!

I have test this fix (clear cash and data for google maps). The phone didn't found it's location...

P.s. Please note: for use gps I can use another prog. But make gmaps work maybe will be usefull for all, hwo use this program :)
[Moto G Android Development] chtbht:
[MENTION=252131]lost[/MENTION] 101

Gps location in Google maps:

Flashed the gps.zip , but doesn't seem to fix the problem.

The location on Google maps can't be located in device only mode (use gps to determine location). However, location is determined at approximately location with battery saving mode and high accuracy mode. But the accuracy of location is about 50 meter in both battery saving and high accuracy mode. It seems the Google maps require atleast the wifi or mobile network to determine location, and the Google maps can't determine the location with gps alone.

The gps was tested in both indoor and outdoor
[Moto G Android Development] Cragman:
I've use gps in gmaps on stock. It works

Right now I try it on nexus 10. Works in mode "only gps"
[Moto G Android Development] mahadev111:
[MENTION=1006674]lost101[/MENTION] if u upload with same gmap which was in this stock rom with same function(or folder).i think once should give this a try.
[Moto G Android Development] wide awake:
Moto Gallery Edit Force Close Issue

Hi! I'm using v1.2a built (duble-SIM). When I try to use edit function on moto gallery, app force closes itself. cleaning cache and data didn't solved force close issue by the way.
[Moto G Android Development] lost101:
From my tests, GPS in Identity Crisis 6 v1.2a functions exactly the same as in Stock 5.1, in terms of speed and accuracy. Putting Google Maps into 'Driving mode' can sometimes speed up GPS sat locking. Additionally, installing GPS status & Toolbox can quicken sat locking and position accuracy.

See this guide for more info: http://androidforums.com/threads/gps-fix-dummies-guide.761247/
[Moto G Android Development] mustapha.dkhissi:
upgrading to 1.2a

Hello,

I've installed 1.2 version and I installed my apps and XPOSEd, can I upgrade to 1.2a without formatting data or deleting anything, if yes, do I need to reinstall xposed after that ?

Thanks a lot for porting this Excellent ROM !!!
[Moto G Android Development] Chandresh204:
You need to clean install, besides 1.2a has fixes for GPS and notification led. For them to work clean install is necessary. If you don't want to clean install then stay with 1.2
[Moto G Android Development] mustapha.dkhissi:
There is a way to backup and restore everything

Hello,

There is any way to backup everything and restore them in one tap after clean install without problems ?

Thanks for info !
[Moto G Android Development] pavlat:
Just as information: I'm on stock 5.1, device only GPS position is 50m away. Device+wifi is not precise (20m far), the exact position is given only in high accuracy mode.

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] geopapai:
Installing 1.2a_gnl CLEAN INSTALL as we speak. Will report back for GPS and missed calls on my XT1032.
[Moto G Android Development] kevinkid1908:
me too. fix Moto Gallery...... lost
[Moto G Android Development] lucastracq:
i'm getting random crashes since i flashed 1.2a and messages on boot saying something like "/system process doesn't respond". what can it be?

i obviously followed the instructions and clean flashed as always.
[Moto G Android Development] haulangzu:
N

Gesendet von meinem Moto G mit Tapatalk
[Moto G Android Development] lucastracq:
actually it seems to be related to Xprivacy xposed module. on its github someone says it can be fixed by removing /data/system/xprivacy folder.
[Moto G Android Development] himu_joy:
I've fixed that by flashing MotoApps v16 (gallery& camera) from app and theme section.

Everything working.
[Moto G Android Development] eldoggor:
Can´t find it, would you mind sharing the link? Thanks
[Moto G Android Development] lucastracq:
i think it's this one

http://xdaforums.com/moto-g-2014/themes-apps/5-0-47-6-official-motorola-camera-t3187927

did you remove the original camera and gallery?
[Moto G Android Development] Bludwurst:
You can also uninstall the included Moto Gallery (via Link2SD or some such app) and reinstall it from the Play Store — that one works.

Maybe the one in the ROM is outdated or something?

Also, thank you for this ROM. It's wonderful. My only suggestions are getting rid of some other preinstalled apps (the stock Calculator is available from the Play Store, from Google themselves — and maybe the funky Email app? At least I never use it, and the time I tried it in this ROM it simply didn't work... Some "can't connect to server" weirdness), and maybe reboot options in the Shutdown menu (I do use SimpleReboot for this, but I think it would be good to have it straight in the menu like some other ROMs...). It still is an amazing piece of work.

And could we maybe see IDCrisis Android N version? Hehehe.

Have a nice day.
[Moto G Android Development] lost101:
With GPS Status you can improve accuracy to around 3m in 'Device only' mode.

Flashable zip for Motorola Gallery has been updated in OP, here is a direct link:

https://www.androidfilehost.com/?fid=24499762635998044​

You are breaking the ROM with what you are installing.
[Moto G Android Development] bajingku:
Since update from 1.2 to 1.2a I cannot succeed to pairing Bluetooth devices. My phone detected the Bluetooth devices but cannot paired.

Pleaae fix, or I should go back to 1.2?
[Moto G Android Development] lost101:
Do either of these help?
[Moto G Android Development] lucastracq:
so, still testing around, now i clean flashed the rom and playstore won't download anything.

3g and wifi work, i'm using tethering right now and i could even add my google account and sync it, but i still cannot update or install any app. it says "waiting for download" with no progress bar animation.

rebooted, nothing. wiped cache and dalvik, nothing. what else?
[Moto G Android Development] lost101:
From the recents menu, close Play Store.
[Moto G Android Development] lucastracq:
did it and nothing, but i went to settings-apps-playstore and then closed it.

everything's fine :) thanks!
[Moto G Android Development] lost101:
It's a quirk of Google Play and new installs. If you wait long enough, apps will start installing.
[Moto G Android Development] geopapai:
Updated info for GPS and missed calls after I clean installed 1.2a on XT1032:

1. Missed calls do not work.

HOWEVER, yesterday, I flashed the firmware and then by mistake I flashed the google dialer app provided here for earlier versions. Then tried to update to the latest one v2.3.x I think, I can provide the link) which crashed (...) and had the following behaviour: while calling, there was no call on screen, no answer buttons, nothing... BUT I had the missed call light! When I reflashed 1.2d (allover) the missed calls do not work again. Maybe if the google dialer (phone app) is updated to latest version in this build the missed calls light could work? [MENTION=1006674]lost101[/MENTION] : Should I flash the google phone app provided here again?- (please don't make me reflash the whole build...)

2. GPS is still the same.

I opened Google maps, said yes to everything and got signal! Then I used GPS Tool, all OK. Then Sygic and Tomtom Go. Then Google maps was lost again (#$%^&) EXCEPT when in driving mode - in other words, when it gets its position, it will guide you through your route. Sygic works 100% and Tomtom GO gets signal every 5-10 seconds or so, making it impossible to use...( PRETTY PLEASE if anyone can test Tomtom GO I would be greatful...).

Now I am at this stage; At APN settings, I added “default,supl,agps” - I am going to test further.

Also [MENTION=1006674]lost101[/MENTION] : I came across this (edited)https://www.reddit.com/r/Strava/comments/37bedx/gps_issue_fix/ and this https://code.google.com/p/android/issues/detail?id=81140, which are GPS bugs for the builds for Moto G 2014. Could this been transfered from XT1063 to our version for Falcon (XT1032 etc) and cause these problems?

Anyway, Lost101 thank you for your time and effort, I hope these may help a bit.
[Moto G Android Development] pradeeppk:
default,supl,agps,fota,dun are the default values at APN settings, no need to add anything. I don't think it is a GPS issue, but something in between Google Maps and GPS values. There is no GPS lock with apps in the case mentioned in above post. But our problem is a different thing. All apps other than Google Maps find accurate GPS lock instantly.

Also installed Maps as a system app, but still no improvement.
[Moto G Android Development] 3rre:
hi [MENTION=1006674]lost101[/MENTION] i found that the moto gallery in the zip in 1st post has no editor, when I press the pencil button to edit a photo, moto gallery crashes.
[Moto G Android Development] lost101:
[MENTION=7250679]geopapai[/MENTION] - missed calls works fine for me. As your links point out, the Google Maps issues are not related to this ROM. Maybe you guys should start your own thread / tutorial with workarounds. Google Dialer problems are because you have not made it the default phone app - see FAQ.

The zip has changed recently. Download and try again.
[Moto G Android Development] adri_sefp:
I'm on v1.2, haven't flashed v1.2a because it seems to have a lot of bugs :v. But since the first builds I've been having the audio issues, I mean... it works perfectly but when I use my BT speaker and then I play music by loudspeaker, it sounds "laggy" and the system sounds does not sound until I reboot the phone, same happens with handsfree. I'm using the last Kaminari kernel and also flashed the incall volume increase but got the same. Any help?
[Moto G Android Development] pradeeppk:
One more finding regarding the GPS issue.

Made a full backup, uninstalled the Google play services, rebooted the phone, and found Google Maps locked with accurate location instantly!.

Then copied a Google play services from 6.0 gappes installed as system apps with correct permissions, rebooted.

And opened Google Maps, found Gps was not locking any more.

So the Google play services have also a role in the GPS issue.
[Moto G Android Development] pradeeppk:
After a lot of tries found a temporary workaround for GPS fix.

1. Download Disable Service from play store

2. Install, open and give root permission.

3. Disable GoogleLocationManagerService from Google play services app

4. Open Google maps app

Wow it locks with accurate GPS position.

Note: Don't know the sideeffects, but getting a Google play services stopped error after closing Google Maps, but all other functions including sync and Google play store works.

Edit: Edited as per the suggestion from [MENTION=4137321]stranxk[/MENTION]
[Moto G Android Development] pradeeppk:
Screenshots
[Moto G Android Development] geopapai:
Thanks [MENTION=1006674]lost101[/MENTION] . Yes the dialer was my mistake as I pointed out. So any new Phone apk version can be installed (unkown sources) as long as it is made default?

I also "resolved" the Tomtom Go issue, updated to latest version and "seems' to lock correctly - if anyone has more feedback please let me know. Google maps -we know.

So all good!
[Moto G Android Development] mdsaif92:
Confirmed that disabling these services now triggers the GPS to start searching for location in device only mode which was previously not happening. I can confirm this because the now GPS status app notification comes up once Google maps starts searching for location using the GPS, just the way it happens with the other phones I have tried.
[Moto G Android Development] samuelcr93:
Hi everyone

Sorry for the dumb question but is anybody else having problems with Wi-Fi?

Sometimes it just randomly turns off and i have to turn it on again, specially when im using chrome

Thanks
[Moto G Android Development] lost101:
It might be best to put any new Dialer apk in /system/priv-app/Dialer and then rebooting.
[Moto G Android Development] stranxk:
I just needed to disable GoogleLocationManager to fix GPS. There is no need to disable the others.
[Moto G Android Development] pradeeppk:
You are right, After the finding of removing Googleplayservice.apk will solve the GPS issue, I tried to disable several services to get a GPS lock, tried Google map services, location services, Google play services. Some times get GPS lock but after reboot it may gone.

Thank you for suggestion, it works.
[Moto G Android Development] voland34:
I do. It seems Wifi has shortened range somehow, but the biggest annoyance is that it takes some 16 seconds to go back on if disconnected thorugh airplane mode or using leandroid or DeepSleep BS. In AOSP-CAF it doesn't happen, but i went back to stock 5.1 by lost101 because of this inconvenience.
[Moto G Android Development] lost101:
I really wish you guys would stop being so passive aggressive. Everyone is doing there best. This is the first release of a new version of Android, there are often irritations. Stock is not open source, so there is no point comparing to CM or any other ROM all the time. Stock 6.0.1 will hopefully smooth things out.
[Moto G Android Development] geopapai:
Honestly, is there even ONE forum that people are not complaining about bugs and features for their devices? Or are all stock phones functioning well 100%? Please people, developers are doing this in their free time, most without getting paid...

So , ASK POLITELY for something and most of the times you will see that you'll get it... Otherwise just flash your stock phone rom and ask Motorola to upgrade / fix it.

A big thanks to lost101 and everyone else for their help effort and TIME. Just my 2 cents...
[Moto G Android Development] lost101:
I want to fix problems with the ROM, but there are a number of things to consider.

Possible reasons for a bug:

(a) Stock Android 6.0 (new major revisions of Android often bring their own bugs - i.e Connecting to Wifi delay)

(b) the porting process (something I have done)

(c) user is not following OP flashing instructions exactly

(d) user breaking ROM by installing something or restoring apps.​

If you feel their is a genuine problem, and you have flashed the ROM as described in OP and have not restored apps or settings - then you should post about your issue with as much information as you can and if possible provide a logcat.
[Moto G Android Development] happytos:
Hi Lost101 ...

I am a great fan of your Lolipop ROMS for Falcon and just last night discovered this thread and flashed your latest 1.2a version.

The ROM flashed OK (dualSIM on my xt1033) and everything seems to work so far.

There is one strange problem though which may be related more to Marshmallow than your ROM. That is that neither ES Explorer nor Root Explorer defect my OTG storage when I plug it in.. although the built in file explorer detects it just fine.

Any idea as to why that might be. ?

Other than that.. many thanks for all you great work. Much appreciated and i will be keeping my xt1033 a lot longer than i originally planned.
[Moto G Android Development] lazarillo92:
First, thank you for this awesome work!

2nd, I need help :'v I'm using 3g only, WiFi is always off but looking in battery stats, there seems that WiFi is always on and draining my battery. I've readed this:

But looking in this thread, seems that nobody has reported the same problem. It's a kernel, ROM or visual bug? It has a solution?

This can be the BEST ROM in xda, if I did not have that problem :(

Pd: sorry my bad english, I'm on basic5 xD
[Moto G Android Development] William Salazar:
This ROM works very good. The best 6.0 rom for this phone. I am using version 1.0a with the etc folder from version 1.1b (this fixed the low incall volume). I had no problems with WiFi or gps. The distance errors observed in Maps are present in lollipop and kitkat too.

I did not flashed versions 1.2 or 1.2a, so i don't know if there was problems with those versions.

Version 1.0a is perfect for me.
[Moto G Android Development] nicoconunac:
Try to check in settings/location in the 3dots options if you have scanning for wifi networks always on. That was the reason in my case.
[Moto G Android Development] lost101:
It's Marshmallow. Google it.

It's not a visual bug. As I suggest, it can be caused by an app forcing WiFi to be always on. Viber and Whatsapp or any messaging service are the usual suspects.
[Moto G Android Development] zeratos:
You should have just keep it as stock as possible and just provided flash files for the things people wanted, listening and trying to comply every users request is a bad move because it will end up in tons of bugs.

The 1 . 2 version was awesome and didn't had any of those bugs I keep reading on this thread.
[Moto G Android Development] geopapai:
+1.

I think 1.2 and 1.2a are great.

Yes, OK sometimes Moto gallery crashes, just tap it again, no biggie... What the hell, I have MM on my Xt1032...!!! Thanks!
[Moto G Android Development] ppp2211:
I've flashed this today on my XT1032 coming from stock 5.1 - great firmware in terms of stability and speed so far, all the 6.0 goodies are a huge plus.

I'm having one cosmetic issue though. The network name is not being displayed anywhere, in fact the phone either says "no service" or just simply nothing under the signal meter, and at the bottom of the lock screen it just says "Emergency" - so just as if it really had no signal. However, the network works fine, I can both receive and make calls, so in general everything seems to be in order (don't know about 3G, the XT1032 is my secondary phone without a data plan). It's just that the indication seems to be off.

Would flashing a radio help? I'd rather not touch it since it actually works, but if it might help I'll consider it.

It did display the network at one point after a reboot, but after another reboot it was gone. It's very random, no idea what's causing this.
[Moto G Android Development] lost101:
[MENTION=5908073]ppp2211[/MENTION] - Did you follow flashing instructions in first post exactly?

A clean install or factory reset in TWRP is not the same thing

.

What is your About phone > Baseband version?
[Moto G Android Development] ppp2211:
Yeah, it was installed just like in the instructions. Since this was the first ROM I ever installed on the XT I had literally no other choice but to follow insutrctions ;)

Baseband ver: MSM8626BP_1032.3116.98.00R TESCOGB_CUST ---> I've just realised that this is probably a leftover of the handset being locked to Tesco Mobile, it's probably been unlocked by the previous owner before I picked it up on eBay for 30 quid.
[Moto G Android Development] lost101:
[MENTION=5908073]ppp2211[/MENTION] - No-one else has reported this, nor have I seen it. The radio firmware should not be the cause. Have you installed something like xposed framework, or restored apps or settings via titanium backup?
[Moto G Android Development] ppp2211:
I don't use Xposed nor any form of backup. The biggest modification was installing Nova Launcher, but that's hardly even a modification. I might just install it from scratch once again tomorrow, I just wanted to ask first if it's not a known bug or something. I'll let you know if it's fixed.
[Moto G Android Development] Choochter:
Actually I did, a few days back. You can get around it by going into Settings, More, Mobile networks, Network operators and waiting till it finds them.
[Moto G Android Development] ppp2211:
[MENTION=7356450]Choochter[/MENTION] - I think what you were reporting was that your phone didn't connect to network after a reboot. Mine connects fine, just doesn't display the name. But anyway, I tried this multiple times and it doesn't change anything for me, it searches the networks correctly, logs into the correct network, but still doesn't display the name.

I've reinstalled 1.2a from scratch following the instructions once more, no change. I've also reflashed the radio, but again to no avail. But at least I haven't bricked it (yet) :D

It either displays "no signal" or just nothing at all where the name of the carrier should be, pictures included: http://imgur.com/a/5leQ2

Even when it displays "no signal" I can make calls, which is slighly confusing, though I guess I'll just live with it, as long as the phone actually works it doesn't really matter. I'm on stock kernel, if this matters at all.

Edit: I also tried a different sim from a different provider, no matter what network it connects to it doesn't display the name.
[Moto G Android Development] lost101:
[MENTION=5908073]ppp2211[/MENTION] - When did you last do the following?

Wipe > Format DATA > Yes​
[Moto G Android Development] ppp2211:
[MENTION=1006674]lost101[/MENTION] This morning, before flashing the ROM, like described here:

I really did follow the instructions ;)
[Moto G Android Development] lost101:
I'd fastboot flash the latest 5.1 Firmware Image for your phone. There could be some partition / Bootloader corruption. Afterwards, flash this ROM again according to OP instructions.

Factory Firmware Images: http://xdaforums.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
[Moto G Android Development] ppp2211:
I'll try it when I have some free time again. Thanks for the help.
[Moto G Android Development] Choochter:
Actually, this is also what happened to me. A couple of days later I got a text immediately after rebooting, even though it said there was no network. So I WAS connected, just thought that I wasn't because that's what it was telling me.

Have you got the 'Show mobile network' box ticked in Settings?
[Moto G Android Development] ppp2211:
After sitting on my table for half an hour it randomly fixed itself before lunch and it's still working as of now: http://imgur.com/a/RHeCV

No clue why, but I'm not complaining.