yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] lost101:
[MENTION=5511663]lazarillo92[/MENTION] - Here is a screenshot to prove that the Wi-Fi drain in battery stats is not a visual bug - despite reports elsewhere on the internet that it is. If you are seeing an uninterrupted line, it's being caused by an app.

Settings > Wi-Fi > Advanced > Keep Wi-Fi on during sleep: Never.

Settings > Location > three dots (top right) > Wi-Fi scanning: Can be on or off

Viber > General > Wi-Fi sleep policy > Use device's settings​
[Moto G Android Development] lost101:
New FAQ entry added:

Wi-Fi very slow to re-connect using quick settings tile?

This is a known bug in Android 6.0. Perhaps a future version of Android will resolve it. For now, a workaround is to enable 'Wi-Fi Scanning.'

Settings > Location > Tap three dots (top right) > Scanning > Wi-Fi Scanning​
[Moto G Android Development] fonz93:
We are having this bug on CM13, i am able to reproduce it by doing this:

- Connect to your WiFi network

- Keep the device connected and go far from the router (or just switch the router off) so that the device gets disconnected

- Your wifi is now ON, but is not connected to a network

- Now, even if you switch it OFF, you'll see the uninterrupted wifi line in your battery stats until you reboot the device

Can you try to reproduce it?

Note: Here happens even if no apps are installed and with location and wi-fi scan disabled
[Moto G Android Development] lost101:
I did some testing today. At 1330 with XT1032 connected to Wi-Fi, router was turned off.

- 1330 to 1430 - Wi-Fi enabled, Wi-Fi scanning enabled.

- 1430 to 1600 - Wi-Fi enabled, Wi-Fi scanning disabled.

As you can see; when screen was off, Wi-Fi line is interrupted - regardless of whether Wi-Fi scanning was enabled or disabled. I normally use DS Battery Saver, but disabled it during this test period.
[Moto G Android Development] lost101:
Android N 'Developer Preview 2' Emoji flashable zip seems to work fine with this ROM. Tested using Google Keyboard v4.1.2622203.

http://xdaforums.com/nexus-6p/general/android-n-emojis-flashable-zip-t3360836​
[Moto G Android Development] lost101:
[MENTION=5439829]fonz93[/MENTION] - I forgot to say that during yesterday's test, Wi-Fi Sleep policy was set to: Never. (Changed via Settings > Wi-Fi > Advanced)
[Moto G Android Development] X-Flies:
I was using an AOSP MM for my xt1033 but someone recommended this and I gave it a try but I cannot access otg usbdisk.

As in my other ROM it shows a notification of "Corrupted Drive" but, despite this, in my previous ROM I could access it using StickMount and some file explorer. In this rom Stickmount won't mount the usbstorage folder. Anyone with the same problem?
[Moto G Android Development] Choochter:
Just tried it on my phone and it allowed me to explore a USB card without any problems
[Moto G Android Development] X-Flies:
My install steps were:

1. Boot in recovery (TWRP)

2. Wiped Cache, Dalvik, Data, System, Internal

3. Reboot into Recovery

4. Install ROM from OTG

5. Reboot into System

Did I miss any step?

My card is in exFAT but it was working in the Marshmallow ROM that I was using before.
[Moto G Android Development] lost101:
Please follow the instructions in first post, exactly.
[Moto G Android Development] StefanoGY:
Do you suggest me to use kaminari kernel? thanks
[Moto G Android Development] Eurofighter_ty:
I just get some days ago a random reboot during a phone call..What logs do you need ? XT1032.
[Moto G Android Development] lost101:
Try without for a few days first, then you can appreciate if things are better with it.

I've not had any random reboot since installing v1.2a over 10 days ago. A logcat of the event itself would be helpful. Side-note; I don't use xposed framework or any system mods.
[Moto G Android Development] allanlgz:
I've got a spare XT1031 Boost Mobile Moto G (cdma) that I don't use with data/calls, my main is an LG G3 but my moto G has just been sitting there and I'd like to repurpose as a wifi only device to check fb, twitter, snapchat etc at home (those eat my G3's battery). Can I flash this rom or will I get zip problems in twrp when trying to flash since this isn't xt1032/33?
[Moto G Android Development] lost101:
You can flash the Single-SIM version without issue.
[Moto G Android Development] X-Flies:
I've done it but I have the same result...

1) TWRP and Format Data (Wipe > Format DATA > Yes)

2) Transfer ROM to Internal Storage in Windows via MTP

3) TWRP > Wipe > Factory reset and flash ROM.

4) Reboot.

5) Install stickmount

6) Connected OTG, smartphone recognizes a otg device that I associate with stickmount but no Active mounts

Don't know what to try more.

My OTG card is where I keep my Nandroid and Titanium Backup files...
[Moto G Android Development] pradeeppk:
I am using esfile explorer for USB otg and it works fine.
[Moto G Android Development] AssoDiPicche:
[MENTION=1006674]lost101[/MENTION] You have not responded to my comment, Can I make a single SIM version waiting your official?
[Moto G Android Development] lost101:
Apologies. I will be adding multiple versions of this ROM to OP - Single-SIM, Dual-SIM, AWS and hopefully CDMA.

As far as I am concerned, you are welcome to take any and all ROMs I am involved with and start your own project(s). However other people ([MENTION=5736790]kingkaminari[/MENTION] | [MENTION=5573353]VitaTaf[/MENTION]) are contributing their time and effort here - I think you should consider them.

The ROM as you can see is still a work-in-progress.
[Moto G Android Development] AssoDiPicche:
Okey! I've flash this ROM yesterday, it's perfect, the battery is ok, 75% at 13.10 o' clock. All day battery, like Moto G3. This night I'll upload the single SIM version..
[Moto G Android Development] moso11:
Anyone who switched from CM13 to Identity Crisis?

How's the battery life holding up? What SoT are you getting?
[Moto G Android Development] Eurofighter_ty:
Much better than CM 13. About 5 hours of SOT vs CM 13 3 hours
[Moto G Android Development] Chandresh204:
has motorola included moto doze, hand wave gesture in this stock Rom?
[Moto G Android Development] Eurofighter_ty:
No.
[Moto G Android Development] DoctorStrange96:
Flash it over the existing one.

---------- Post added at 11:39 AM ---------- Previous post was at 11:08 AM ----------

Some more findings.

- When listening to music, AudioFlinger seems to write something to logcat regarding a mixer ID and "throttle time".

- AudioFX + Spotify causes the sound to go haywire (this is related to the issue above). It worked fine with Walkman though. (Stock "Audio Effects" doesnt even work with spotify.) Havent tested either dsp manager or viper4android.

[MENTION=5573353]VitaTaf[/MENTION]: Do you think we need the audio libraries from falcon?

Edit: Here's what the logcat shows.

02-29 12:13:04.313 429 1584 D AudioFlinger: mixer(0xb433d008) throttle end: throttle time(52)
[Moto G Android Development] pio80:
Hi lost101 ,

Can we expect something for peregrine?
[Moto G Android Development] himu_joy:
only reason i cant stay on stock becoz dolby not works on it.

sir, can anyone help mee to activate dolby onn stock rom from this link : http://xdaforums.com/moto-g/themes-apps/dolby-sound-marshmallow-6-0-t3266713

TIA
[Moto G Android Development] SH1M4BD3:
Finally comes,downloading
[Moto G Android Development] kalafior12:
I have question about bootloader. I have Your LP rom , but i'm still on KK bootloader on my 1032. Do You sugest bootloader update before flashing this rom or not? MM has a new bootloader?

Regards and thx for a great job.

Wysłane z mojego LG-D855 przy użyciu Tapatalka
[Moto G Android Development] DoctorStrange96:
In your case, we would need a rom ported from thea, not titan. Otherwise you wouldn't have lte.

But since almost all thea variants are dual-sim, and peregrine is single-sim only, im not sure if you'd have network signal and/or mobile data. (Maybe some build.prop edits could do the trick.)
[Moto G Android Development] SH1M4BD3:
Awesome...really much love, xposedframework + gravity mm and Layers manager works perfect here, say goodbye mokee, lets see how was the battery backup
[Moto G Android Development] lost101:
XT1072 is Thea and Single-SIM.
[Moto G Android Development] lost101:
Just flash the ROM and see what happens. It works fine with LP Bootloader. There is no MM Bootloader for Falcon.
[Moto G Android Development] Leonardohernandez98:
Is this 6.0 or 6.0.1?
[Moto G Android Development] Rocketval:
6.0
[Moto G Android Development] :
Hopefully, soon CDMA users can join in the stock marshmallow fun. I just got data working on XT1031. Now I need to get calls working. I have data and SMS, but no calls. I got a little side tracked playing with Xposed, Gravitybox and Layers, which all seem to be working great.

Edit: MMS is working with a third party app.
[Moto G Android Development] cdvsnp:
Some of the flashable fixes break SU, just flash it again.
[Moto G Android Development] Choochter:
I use Solid Explorer and it works fine with OTG. Maybe the card itself has a problem.
[Moto G Android Development] X-Flies:
Anyone with exFAT? Maybe this is my problem in this ROM.
[Moto G Android Development] Choochter:
I'm using FAT32
[Moto G Android Development] X-Flies:
I guess my Moto G doesn't like it.

Already tried on exFAT, FAT32, NTSF, another Card, another OTG reader, ES File Explorer and always the same result.

It attached a screenshot to show how it appears when i try to access it using root

I guess I have to give up and just go back to stock or something like that.

Thanks for your help guys.
[Moto G Android Development] lost101:
[MENTION=2090674]X-Flies[/MENTION] - Check the permissions for your file explorer.

Settings > Apps > app_name > Permissions​
[Moto G Android Development] X-Flies:
For ES File Explorer I have Storage and Phone, both enabled
[Moto G Android Development] lost101:
If you google "OTG marshmallow issues" you will see there are general OTG complications for all devices running Marshmallow. This thread has some solutions: http://xdaforums.com/moto-x-2014/help/otg-issues-marshmallow-xt1092-t3279115

One suggestion there seems to be that OTG usb drives work better than OTG card readers.
[Moto G Android Development] Choochter:
This may be true, but I'm using a years-old OTG card reader I picked up cheap in a Hong Kong market and it works flawlessly
[Moto G Android Development] X-Flies:
Tried a usb pen with OTG adapter and had the same result. All these combinations I tried (changing filesystem, card reader, pen using otg adapter) worked on other marshmallow roms just not this one and this was the ROM I really wanted to work because it has the little things that motorola did that I miss, like choosing default sim card for call or messaging by number instead of choosing one to all calls and messaging.

Can't find a reason why is not working...

I use a meenova.
[Moto G Android Development] lost101:
[MENTION=2090674]X-Flies[/MENTION] - It might be worth flashing the motoboot.img and gpt.bin from the latest available 5.1 factory firmware image for your model. Obviously OTG USB is working, so the issue is your phone or adapter. There is no point comparing the OTG implementation in this Stock ROM to any other AOSP offering, as this is closed source and developed by Motorola themselves.
[Moto G Android Development] pradeeppk:
[MENTION=2090674]X-Flies[/MENTION] you may looking at wrong directory for otg at esfile. Please add a screenshot of esfile homepage after connecting otg
[Moto G Android Development] Choochter:
[MENTION=2090674]X-Flies[/MENTION] Can you access the card using TWRP's file manager? Might help you isolate whether it's a software or hardware problem. Also try Solid Explorer.
[Moto G Android Development] X-Flies:
Never flash them with other files than stock but I'll do it.

I took these steps again:

1. Flash stock motoboot.img and gpt.bin

2. Format Data

3. Transfer zip file using adb push ROM.zip /sdcard/

4. Factory Reset

5. Install ROM

6. Reboot System

7. Reboot Recovery

8. TWRP Backup

9. Reboot System

10. Install ES File Explorer

11. Connect FAT32 OTG

12. OTG Detect in ES Explorer

13. Installed Stickmount

14. OTG not detected in Stickmount and ES Explorer

15. TWRP Restore Backup

16. Install Stickmount

17. Connect FAT32 OTG

18. OTG not mounted, /sdcard/UsbStorage not accessible but can access in root (/data/media/0/usbStorage)

It only showned internal SDCard but now I think that it was some incompatibility with stickmount

It works fine, is what i use to make my TRWP backups.

-----

I guess my problem is with Stickmount in this ROM. The OTG isn't accessible from /sdcard/usbStorage

Either using ES File Explorer or accessing using stickmount by root (/data/media/0/usbStorage), I yet didn't find a way to access my backups from Titanium Backup. I'll try find some more solutions.

Thanks for the help, so far.
[Moto G Android Development] Choochter:
It should work just fine without Stickmount
[Moto G Android Development] X-Flies:
Stickmount is to mount it on a folder that is accessible by other applications. Without stickmount TB can't acces backup folder...
[Moto G Android Development] jussticer:
google maps, gps still doesn't lock while on mobile data for v1.2a.
[Moto G Android Development] Choochter:
Sorry, I wasn't clear enough. You have a problem accessing your card which others on this ROM don't have, so my point was that there is a good chance that Stickmount won't solve your problem. Stickmount is not required to access cards on this ROM.
[Moto G Android Development] Gabriele_Treglia:
Does this rom still have problems with the gps? I want to try it this evening, the problem with the led and the missed calls is not a problem for me but I use the gps a lot so I need it..

Inviato dal mio XT1032 utilizzando Tapatalk
[Moto G Android Development] jussticer:
yes, gps problem still continues.
[Moto G Android Development] lost101:
New FAQ entry added:

GPS Optimization and issues with Google Maps

Firstly GPS on any ROM is not optimized for speed and accuracy. In addition, the service 'GoogleLocationManager' present in this ROM appears to cause issues with Google Maps.

This is how the ROM was designed to work by Motorola

. You have the option of disabling this service yourself, but the effect on other apps is unknown.

To greatly improve the speed and accuracy of GPS in this ROM, it is recommended you install GPS Status & Toolbox and follow this tutorial to configure it correctly.​
[Moto G Android Development] ironman38102:
What bugs are present in this ROM? Seems like OP isn't updated since in the last page someone said there is a bug related to missed calls.
[Moto G Android Development] lost101:
Missed calls problem is fixed. See changelog. If there are other bugs I would have listed them post #2.
[Moto G Android Development] pradeeppk:
Haven't faced any issues after disabling Google location manager service and Google maps works with accurate GPS lock.

If anybody need to know how to disable Google location manager service please read my posts #1142, #1143 and #1144
[Moto G Android Development] artikeln:
I have tested this solution for several days ans it's really useful. Thanks pradeeppk
[Moto G Android Development] dhabsot:
Disabling that service breaks smart lock based on location. Except for that, I didn't noticed anything else.
[Moto G Android Development] Choochter:
It occurred to me that disabling GoogleLocationManager service might have unwanted side effects. I've found that if you rely on Android Device Manager to find your phone when lost then it won't work if you disable this service. I don't use Google Now but I'm guessing that this will be equally screwed. Worth bearing in mind.
[Moto G Android Development] lost101:
I found getting a GPS lock in Google Maps was much less of an issue after installing and configuring GPS Status & Toolbox. Perhaps it's not necessary to disable the 'GoogleLocationManager' service at all.
[Moto G Android Development] :
For me, disable GoogleLocationManager perfectly fix google maps, before that it didn't lock gps even after GPS Status & Toolbox optimization. Disable that service seems to give no issues apart from very rare and harmless google now crash.
[Moto G Android Development] Choochter:
GPS Status and Toolbox always worked for me with Google Maps, not worth disabling the GLM service for the side issues it causes
[Moto G Android Development] lost101:
Here are some posts from the Moto G (2014) Q & A subforum:

http://xdaforums.com/showpost.php?p=66424359&postcount=19

http://xdaforums.com/showpost.php?p=66169468&postcount=1​

It's also being reported on the official Motorola Moto G (2nd Gen) Forum:

https://forums.lenovo.com/t5/MOTO-G...gle-Maps-buggy-since-Marshmallow/td-p/3305797

https://forums.lenovo.com/t5/MOTO-G...hese-issues/m-p/3293757/highlight/true#M14167​

Motorola / Lenovo might provide a fix if it's brought to their attention repeatedly. If anyone here posts or creates a thread on the official forum, it would probably be wise not to say you are running a ported 6.0 ROM on Falcon - as you will be ignored. They will only support Moto G 2nd Gen (Titan) or Moto G 2nd Gen LTE (Thea) users who officially got the 6.0 update.
[Moto G Android Development] pradeeppk:
GPS issues are notonly related to motog but also for other devices running android 6.0

https://code.google.com/p/android/i...tars Reporter Opened&groupby=&sort=&id=190376
[Moto G Android Development] N3tro:
Hi. How can i fix the google music bug? My music skips intermittently.
[Moto G Android Development] ironman38102:
[MENTION=1006674]lost101[/MENTION] I flashed radio files to get WiFi back but they are not working and my MAC address isnt right. What should I do? Reflash the ROM?
[Moto G Android Development] Bleak3993:
Hi, first of all, thanks for porting Marshmallow to our Moto G.

Now, I've been using this ROM for a week, Installed the latest version already and everything works perfect, sometimes WiFi works a little slow to reconnect, but the workaround fixed it, I figured out how to fix the screen brightness issue, if you have Gravity Box installed, go to screen settings, brightness settings and set the minimum brightness to 10 and de dim level to 10 too and reboot, that worked for me.

I have just one annoying issue, every time I reboot the device I have this one app (just one) always "optimizing" (you know, "android is starting..." dialog) is not like the phone wont start, but it takes every time like 10-20 minutes (even more) to start and I find that's a little too much for a reboot, just that, I don't even know if I'm the only one though, but I hope someone could help me.

Thanks in advance!
[Moto G Android Development] lost101:
Did you flash ROM as described in OP? Do you restore apps via Titanium Backup?
[Moto G Android Development] fonz93:
It's probably related to xposed, if you post a log of the boot phase we will probably see xposed trying to replace an .odex file
[Moto G Android Development] Bleak3993:
Yes, I followed every step, and no, I didn't restore any app.

I don't know, because it has been behaving this way for 2 days, I'm going to get the log... how can I do that by the way?
[Moto G Android Development] fonz93:
Install catlog or matlog, run it just after the boot, save the .txt and post it here
[Moto G Android Development] vinardi32:
It happened the same to me several times and neither xposed installed here nor titanium backup. But it takes 10 minutes to start.

Enviado desde mi XT1063 mediante Tapatalk
[Moto G Android Development] Bleak3993:
Here, I did the procedure twice, the logs were too big for txt upload.
[Moto G Android Development] fonz93:
It seems to not be related to Xposed this time, the first log shows dex2oat compiling the dalvik cache for the Facebook app (and it takes a lot of time, the Facebook app sucks, a lot), the second log seems to be ok, try to uninstall/reinstall the Facebook app, if it still continues doing that post a new log again

(Did you update the Facebook app recently?)
[Moto G Android Development] Eurofighter_ty:
[MENTION=1006674]lost101[/MENTION]

I modified your build and I successfully booted with Setup Wizard enabled without a crash. If you want to includ in the offcial release please tell me and I will post the build.prop file :)

I won't upload the entire build without your permission.
[Moto G Android Development] ironman38102:
So that's why there was no setup wizard xD

Also I don't really have any issues with GPS after using GPS Status and Toolbox. Though the flickering bug is troubling me alot!
[Moto G Android Development] Eurofighter_ty:
Yes, was related to the device name and I changed somehow to XT1032 and falcon and here is the result:

I will try to fix the picture too somehow :)))
[Moto G Android Development] lost101:
Share the build.prop please. Did you change anything else that may have corrected the Model name?
[Moto G Android Development] Eurofighter_ty:
Here it is:

View attachment build.zip

No, I just added my stuff to the build to personalize it like Motorola and Google apps. As far as the name goes just in the build.prop I did some modifications.
[Moto G Android Development] DeryckNS:
How it behaves with the build.prop mods?
[Moto G Android Development] DEATHPHANTOMG49:
Will this also work for Moto G Falcon XT1031?
[Moto G Android Development] eurohunter:
I do not have the Moto G with me at the moment, but one day on my Galaxy S3 I changed name, model, and version on build.prop, as a joke to fool my friend. Later, I realized that the Exchange e-mail wasn't functioning properly (I could not receive or send emails due to some "internal error"). I am wondering if changing such values (or just one of these three) would affect the exchange e-mail. Hopefully it doesn't.
[Moto G Android Development] Eurofighter_ty:
The same. Just the names are changed.One thing that doesn't work is taking screenshots. I don't know why :))

I will test this now with Outlook.com.

/// Sending and receiving Exchange emails is working. Calendar and contacts sync also working ///
[Moto G Android Development] lost101:
CDMA is not fully supported at this time. You can still flash the Single-SIM ROM and get partial functionality.
[Moto G Android Development] sharath_babu:
Can we expect an update?
[Moto G Android Development] grosobart:
congratulations and thanks for your work, newly installed and everything working perfectly
[Moto G Android Development] nekobibu:
Hello! After two weeks spent testing and testing again, tracking every possible app, tinkering with every option I can think of, I can certify my Wi-Fi is always on (that is to say, it shows as always on in both the battery setting screen and in BetterBatteryStats), no matter what option I choose, and, even harder to believe, even when I manually turn it off! Only when I am in airplane mode is Wi-Fi disabled... I'm really clueless here, so, any help is appreciated. Thanks!
[Moto G Android Development] Choochter:
Have you disabled WiFi scanning in the location settings (via the three button menu)?
[Moto G Android Development] nekobibu:
Yes I have. ;)
[Moto G Android Development] Choochter:
Could try a clean install of the ROM - if it's not happening then, it's probably a rogue app calling home every now and again, need to disable them one at a time to find the culprit.
[Moto G Android Development] nekobibu:
Yes, I think that's what I'll do, eventually... But I think I've already tried to disable every possible app to no avail. Thanks for the help, anyway. :)
[Moto G Android Development] dhabsot:
I had the same issue and I solved it doing a clean install (as described by lost101).
[Moto G Android Development] nekobibu:
Ok... I'm just too curious to stay passive any longer, I guess... Time for me to take the plunge! ;)

I'll be back. :D

[Edit]

And back I am... I did a clean install, followed every step, chose "Never" as Wi-Fi sleep policy, etc.

Wi-Fi never turns off, even when I manually turn it off. Going to airplane mode is still the only way it will actually show as turned off in the battery stats. I don't understand. (And I haven't installed any app yet...)
[Moto G Android Development] zeratos:
I have the same bug on cm13, the only way to avoid it is to do a reboot and start turning of your WiFi every time you are about to leave the place you are getting WiFi from (only need to reboot once)