yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] redavenger:
another bug i found, which i dont think is necessarily to do with this rom, by maybe MM, because i see it evident on cyanogenmod rom too,

is that the wifi has trouble turning on/connecting after the phone has been sitting for a while and you turn the screen on.

it will not connect or connect after a very long time.

but if you quickly turn the screen off, and then back on the wifi will connect very quickly.

so its though as the wifi doesnt come out of sleep properly or something.

then again this could be limited to the type of wifi router you have too etc etc
[Moto G 4G Android Development] lost101:
This is apparently a 'feature' of Stock Android 6.0 / 6.0.1 - a Titan user reported that it's present on their handset. Try enabling 'Wi-Fi scanning' to see if that changes things. This may result in battery-drain.

Settings > Location > Tap three dots (top right) > Scanning > Wi-Fi Scanning​

I personally simply go to to the Wi-Fi option in the notification dropdown > view connections - to connect immediately.
[Moto G 4G Android Development] redavenger:
hmm ok interesting.

i wonder if enabling the scanning will reduce battery life and by how much.

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

i have to say lost, good work with implementing the emails and exchange on the phone. it works. and it works when you have 2 or more email addresses.

in cyanogenmod 13, if you have 2 or more email addresses, you dont receive notifications (and led) for the 2nd, 3rd etc email address.

i tried to report it to cyanogenmod, but it seems they are not interested.
[Moto G 4G Android Development] lost101:
Having 'Wi-Fi scanning' enabled does not appear to cause any obvious battery drain and does not force Wi-Fi to be always on. It also seems to resolve the issue with the delayed connecting to Wi-Fi network. Report back your own experience if different.
[Moto G 4G Android Development] redavenger:
you were right enabling wifi scanning does fix / resolve the issue. many thanks.

Hey I've also noticed that the dial pad tones don't work, when your dialling a phone number. even if you have the option turned on.
[Moto G 4G Android Development] redavenger:
I swear the dial pad tones didn't work yesterday...now today they are working..ohhh well.

I also had the gallery has stopped message too
[Moto G 4G Android Development] lost101:
If you look at the changelog history you will notice Motorola Gallery was only recently added. This was because I've removed some Motorola Services to stop OTA Updates getting through and destroying peoples phones. The removal of those services has broken complete support for Motorola Gallery and I've done my best to restore it.
[Moto G 4G Android Development] redavenger:
yeah the gallery stopping isnt that much of a issue.

i just had a look at the battery stats and on my phone it shows the wifi being on all the time, since the wifi scanning option was enabled..hmm
[Moto G 4G Android Development] lost101:
I've not experienced that. Are you sure it's not being caused by an app?
[Moto G 4G Android Development] redavenger:
how can you check which app it is?
[Moto G 4G Android Development] lost101:
Viber has a setting in General > Wi-Fi sleep policy. Not every app will have such an option, but check. All you can do if the issue persists is to clean install ROM as described in OP and one by one start adding your apps to see when the problem reoccurs.

There may be apps (or an xposed module) that will allow you to stop apps changing the Wi-Fi sleep policy. I've not done any research on the topic.
[Moto G 4G Android Development] Raikem:
Amazing job and amazing nickname and avatar ; )

Is v1.2b the final version if no more bugs are found? I'm planning on flashing this rom but i don't want to lose all my data updating if a new version comes out.
[Moto G 4G Android Development] lost101:
[MENTION=6715685]Raikem[/MENTION] - No new versions are planned at the moment.
[Moto G 4G Android Development] Wyneg:
Hi!

Maybe in next new version you can up-to-date security updates, please!!!!

Only if you can ;)

Thanks!
[Moto G 4G Android Development] lost101:
Added - Android N 'Developer Preview 2' Emoji flashable zip link to first post. Works fine with this ROM. Tested using Google Keyboard v4.1.2622203.

http://xdaforums.com/nexus-6p/general/android-n-emojis-flashable-zip-t3360836​

The Android 6.0.1 update will bring latest security updates. Expected in the next few weeks.
[Moto G 4G Android Development] baxtex:
Were do I find the thread regarding kamari kernel for this device?
[Moto G 4G Android Development] damian3581:
Flicker corrected ?
[Moto G 4G Android Development] lost101:
http://xdaforums.com/moto-g/orig-development/kernel-kaminarikernel-v2-0-t3345716​

It's being investigated.
[Moto G 4G Android Development] necr:
I was about to through my Moto G 4G to the trash can because of multiple issues lately.

This rom gave a new life to my phone, thank you so much!
[Moto G 4G Android Development] PremiumMediocre:
I don't know if this is the rom or some problem with the apps, but when I try to play a video in bubbleupnp the mx player doesn't come up in the list of availible players. I don't see this on any other device I own, so I ask. Is this something anyone else has noticed?
[Moto G 4G Android Development] redavenger:
hey lost

maybe you can help me out to get the "show mobile network" option available in mobile network settings.

basically i installed the xposed module called motoguide. in there there was a option to enable/disable the carrier name in status bar.

anyway after enabling that feature, the option "show mobile network" showed up in mobile network settings.

anyway are you able to tell me how i can enable this option, without having to resorting to installing xposed modules?
[Moto G 4G Android Development] lost101:
I'll try this today.

The 'show mobile network' option is available out of the box on the Falcon version of this ROM. It's a standard Stock Motorola ROM feature. I'll check this out today.

I have read that if you edit /system/build.prop in the following way, carrier name will be disabled:

from:

ro.carrier=unknown​

to:

ro.carrier=OPEN​
[Moto G 4G Android Development] lost101:
[MENTION=4882695]PremiumMediocre[/MENTION] - Did you follow the flashing instructions in first post exactly? I'm not seeing this issue.

Are you restoring apps or settings via Titanium Backup? Make sure to install the actual player, and not just the arm7 codec - an easy mistake to make.
[Moto G 4G Android Development] shyam96189:
msgs not coming not going

there is no incoming msgs and outoing msgs with my moto g 2013 after installing this identity crisis 6
[Moto G 4G Android Development] lost101:
What model Moto G LTE do you have? Did you follow the flashing instructions in first post, exactly?
[Moto G 4G Android Development] PremiumMediocre:
I did follow the flashing instructions, but I did try to use a TB backup, but uninstalled it and installed it anew. It's all very strange, vlc is not on the list as well, and MX player do works just running it.
[Moto G 4G Android Development] lost101:
It appears you broke the ROM and need to clean install as described in OP. Avoid TB Backup.
[Moto G 4G Android Development] redavenger:
hey lost,

just going back to what someone mentioned,

do you remember where edit the details to show the correct model type in the about menu?

i changed all the details in build.prop but that doesnt seem to work. not sure if its another file that needs to be changed, or something else?
[Moto G 4G Android Development] lost101:
Thanks for the reminder. I need to make another attempt at editing the settings.apk. If not done correctly, it can introduce system lag and possibly other issues.

As build.prop edit is not enough, the next area to focus on would be a decompiled settings.apk. I've checked settings.apk, framework-res.apk and SystemUI.apk. Here is the only reference I've found so far.

settings.apk/res/xml/device_info_settings.xml:

<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />​

Perhaps [MENTION=5573353]VitaTaf[/MENTION] can help with his expertise in this area.
[Moto G 4G Android Development] demoncamber:
If we wanted to go back to the kernel provided in this ROM, what would be the easiest way to do so?
[Moto G 4G Android Development] lost101:
For anyone who has flashed a custom Kernel and wants to return to the Stock Kernel / Modules originally included in this ROM, flash the following files in TWRP:
[Moto G 4G Android Development] lost101:
New FAQ entry added to OP:

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. More on this subject here.

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 4G Android Development] pio80:
Hi , if you could prepare the same for 5.1.1 stock will be great as well , thanks

Regards
[Moto G 4G Android Development] Panderine:
Does encryption really work? I could make it work on LP 5.1 optimized.
[Moto G 4G Android Development] willowen100:
Well it certainly asks for a password on startup.

[/IMG]
[Moto G 4G Android Development] Panderine:
Thanks!, I meant I couldn't make it work on LP.

Does this appear right on when you turn on your phone? So after this you have the boot logo and then the pattern or pin enter screen.

Also if you boot from recovery does it ask you for the pin when mounting the partitions? This would be a clear indication that disk encryption is really working.
[Moto G 4G Android Development] willowen100:
Starts with boot logo, then asks for pin/pattern etc to unlock encryption then carries on with boot logo before logging you straight into the home screen.

In regards to the recovery I was prompted to enter the password and if I did everything worked as normal. On the other hand if you pressed cancel the only thing you can perform is a factory reset.
[Moto G 4G Android Development] Panderine:
That's it. Thanks for the confirmation ! [emoji2]
[Moto G 4G Android Development] baxtex:
Hi, two questions.

*How did you encrypt phone? Do we have to change any build prop or something?

*How is the performance when using it encrypted? Is it slow or laggy, worse battery etc?
[Moto G 4G Android Development] willowen100:
To encrypt phone you got to settings > security > encrypt phone

Performance seems the same. I used to own the phone on stock LP and it still feels the same on this MM ROM.
[Moto G 4G Android Development] baxtex:
I tried this but when I have pressed "Encrypt" and entered my pin, the phone soft reboots.
[Moto G 4G Android Development] willowen100:
There should be a confirmation message saying something along the lines of it will reboot phone to encrypt your phone, where then a progress bar is displayed showing how far it has gone through the encryption process.
[Moto G 4G Android Development] PremiumMediocre:
I got the same problem.
[Moto G 4G Android Development] tonibm19:
6.0.1

Has it been confirmed if moto g 2014 will receive 6.0.1?

I found that moto X play and moto g 2015 will or have already, but nothing about moto g 2014, the one that really matters to us.

I'd like to update from stock LP to MM when no more updates are planned.
[Moto G 4G Android Development] lost101:
ROM can not be rooted prior to enabling encryption. Download ROM, unzip, delete 'supersu' folder and rezip. Flash ROM, enable encryption and flash supersu zip via link in OP.

'Do not disturb' and updated Emoji where made part of the Motorola Android 6.0 firmware. These are Android 6.0.1 features. It's possible other aspects of Android 6.0.1 have also been already implemented. I still expect a 6.0.1 update including latest security fixes.
[Moto G 4G Android Development] baxtex:
Ok, so it's not possible to just uninstall Supersu now? I don't feel like reinstallning the phone again.
[Moto G 4G Android Development] lost101:
Try and report back.
[Moto G 4G Android Development] gb2b:
This rom (+ xposed) is really the best combo

Envoyé de mon XT1072 en utilisant Tapatalk
[Moto G 4G Android Development] lost101:
v1.2c of all ROMs now available in OP.

Changelog:

Fixed: Android Setup Wizard (thanks [MENTION=5573353]VitaTaf[/MENTION])

Updated: Google Calender (v﻿5.5-12) | Keyboard (v5.0.18) | Play Store (v6.4.20)

Updated: Google (Search) app (﻿v5.13.26) [GNL ROM only]

Added: Google TTS (required for Setup Wizard)

Added: Android N ‘Dev preview 2’ emjoi​

Note:

Many new features in Google Keyboard v5.0.18 - here is a video overview.​
[Moto G 4G Android Development] AdYp98:
Hey,

First : thanks for this great ROM !

if I flash the v1.2c from the v1.2a, will I have the fixes of the v1.2b ? Or should I flash v1.2b then v1.2c ?
[Moto G 4G Android Development] lost101:
You can go directly from v1.2a to v1.2c. Be aware; with dirty flashing, files that would be removed with a clean install - now remain.
[Moto G 4G Android Development] Majaque:
Something is messed up with the gyro, again:

Screenshot made with no movement at all. (excluding Earth rotation and so on)
[Moto G 4G Android Development] lost101:
Nothing related to this has changed between v1.2b and v1.2c. If you have not flashed the ROM according to instructions in first post, consider doing so. If you restore apps with Titanium Backup - try not doing so.
[Moto G 4G Android Development] damian3581:
screen flicker corrected ?
[Moto G 4G Android Development] WarMiguel:
It works on the moto g1 4g xt1040 or xt1045?
[Moto G 4G Android Development] Samet_Aler:
nope, although I bypassed it by putting the brightness in 50%.

I think that 0% is much less bright than in other roms
[Moto G 4G Android Development] DeX1009:
[MENTION=1006674]lost101[/MENTION] the rom is stable, thank you for the great work. I have just one little problem:

Every time I reboot the phone, it doesn't recognize the SIM. I have to remove it and insert again, and it works. While it isn't recognizing the SIM, the "no SIM" icon doesn't appear (it appears when I remove it). My phone acts like a tablet.

I don't know whether it's a rom related issue, or my SIM is breaking. Should I provide a logcat or more information?
[Moto G 4G Android Development] karbon222:
hmmm...my Google Play Store is still 6.4.12 ... other apps from changelog are updated ok...
[Moto G 4G Android Development] lost101:
You must flash the ROM exactly as described in OP. If you have never updated Radio Firmware - consider doing so. It's available here: http://xdaforums.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816
[Moto G 4G Android Development] DeX1009:
I think I never flashed Radio Firmware. Is it safe to install it? I see it's for Lollipop.
[Moto G 4G Android Development] Wyneg:
A petition, only if you can/want to:

Can you make a ROM version without SuperSu 2.65?

I use beta systemless version and takes a lot to boot when android is optimizing apps.

So, after install ROM, we can install SuperSu any version we want (Come on! It's easy, boys. If you can flash a ROM, you can beat supersu too. Only one step more).

No issues, I have no complaints of your work and appreciate it, I only ask you as personal petition ;)

Thanks!
[Moto G 4G Android Development] lucasmgiu:
Hello, I would like to know why a folder called OAT .odex with downloaded applications and occupy nearly double the space created files. Any chance to deodex rom? sorry for my English
[Moto G 4G Android Development] lost101:
I don't Deodex because it can often create issues with Motorola apps. You are free to Deodex the ROM yourself with available tools.
[Moto G 4G Android Development] AdYp98:
Yo,

So I flashed the v1.2c (clean flash) but I still have the Gallery FC's...
[Moto G 4G Android Development] lost101:
Try installing Motorola Contextual Services.

A workaround had to be employed to make Motorola Gallery work, as I have disabled some Motorola services. These services where disabled to protect Peregrine phones from death by OTA Update. Current Motorola Gallery functionality is as good as it will get. Alternative galleries exist.

If I continue to get reports about Motorola Gallery crashing, I will have no choice but to remove it entirely.
[Moto G 4G Android Development] wurstel:
I recommend installing quickpic legacy version if you have problems with the stock gallery. the current version in playstore is full of bloat, you can find the last version without all the BS here: click
[Moto G 4G Android Development] lost101:
Are you formatting /data before flashing?
[Moto G 4G Android Development] minimale_ldz:
always. Now I removed only the stuff I used to remove from 5.1 without any issues, but is't not working.

---------- Post added at 01:20 AM ---------- Previous post was at 01:12 AM ----------

Funny thing - I accidently removed package installer :)
[Moto G 4G Android Development] minimale_ldz:
[MENTION=1006674]lost101[/MENTION]

After removing GApps you can't unlock developer options by tappping build number. I'm wondering if google has done it on purpose
[Moto G 4G Android Development] lost101:
Identity Crisis 6 LTE v1.0a is now available in OP.

Changelog:

Fixed: Error in install script

Removed: LauncherConfig​
[Moto G 4G Android Development] raf.lozano:
Delete
[Moto G 4G Android Development] DoctorStrange96:
People, as some of you know, I'm the mastermind behind KaminariKernel for falcon. And now that Id Crisis is out, I've made the kernel compatible with it, but only for falcon till now. But not anymore!

Here's a KaminariKernel "IDCrisis Edition" build for peregrine.

Differences between this and the rom's stock kernel:

- More cpu governors & i/o scheduler

- Power-efficient workqueues

- Kcal, faux sound, dt2w, adreno idler, among others

- Selinux set to permissive (so the compass might actually work)

Download the attachment, put it in /sdcard (not inside any subfolder!!!) and flash it via recovery.

Systemless root users: You'll need to re-flash SuperSU afterwards.
[Moto G 4G Android Development] mosta00:
Really Great Work!! i'm testing right now, no data issues, even 4g! but i' miss "extended desktop" from cm13.. any chance, we could get it ?
[Moto G 4G Android Development] Pupet_Master:
Good Job [MENTION=1006674]lost101[/MENTION] and every one envolved.

XDA 23385347893574923

Motorola 0

;P
[Moto G 4G Android Development] DoctorStrange96:
Xposed + GravityBox, mate.
[Moto G 4G Android Development] minimale_ldz:
I don't wanna spoil the joy of having MM on our device but I can see some rally bad things Google has done to Android. Long story short is that if you remove gmscore apps which are basically a set of google's spyware, you won't be able to use the system. After installation it starts Setup Wizard (even though it's disabled in build.prop) and shows some ridiculous message that you need to login with your google account to unlock the system, but even if you want to do it you can't becase Setup Wizard won't work without gmscore. The only way to avoid it is restoring gmscore, or deleting Setup Wizard but if you delete it you'll find something even more ridiculous - as a non-logged user you don't have enough privileges to use SU (yes, root is not working for you), and you can't even unlock Developer Options to eg. fix it with ADB (and even with ADB you can't do much here without root).... I hope there are some ways around it.
[Moto G 4G Android Development] Pupet_Master:
Dude, there are ways around gmscore, SU and dev options are still there and set system folder as read and write is easy with init.d

That's the beauty of linux, We can modify, use custom ROMS based on MM... also LP has most of those issues too.

In the end, iOS and Windows Mobile have the same problems if not more. I have to admit i'm not using stock MM, but i'm very happy with it, i can't go back to KK or LP.
[Moto G 4G Android Development] minimale_ldz:
It was much easier to get rid of gmscore in LP. I believe there is a way around the issues I described - it just looks like Google is taking over Android and merging it with its own services, and I don't think it's good.
[Moto G 4G Android Development] Pupet_Master:
Idk, in CM13 i seen people doing it as "easy" as in LP.

Also maybe you need to try a read and write script in init.d for the system folder, that turn "MM" in to "LP" on the permitions
[Moto G 4G Android Development] sztandi:
Doze is Enable?

Edit:

:(

https://www.reddit.com/r/MotoG/comments/476kho/explained_why_doesnt_moto_g_2nd_gen_support_doze
[Moto G 4G Android Development] dc239:
I´ve got problems with root.After I open SuperSU it just pops up with a message "the SU binary needs to be updated.Continue?" after i hit continue I got this message.I tried rebooting, reflashing the SuperSU and still nothing
[Moto G 4G Android Development] sztandi:
Flash new version v2.68

http://xdaforums.com/showthread.php?t=1538053
[Moto G 4G Android Development] minimale_ldz:
Debloated and GApps free version is now ready, thanks for all support.
[Moto G 4G Android Development] TheDemonOfSky:
error of script :'(
[Moto G 4G Android Development] sztandi:
Did you reboot recovery after format data?

Wysłane z mojego XT1072 przy użyciu Tapatalka
[Moto G 4G Android Development] lost101:
Follow flashing instructions in first post - exactly.

Not necessarily.
[Moto G 4G Android Development] AdYp98:
Ok thanks, so I installed it but it stills crash :(

Yep I already used this app ^^ thanks for the link !
[Moto G 4G Android Development] ryanch94:
Don't know if others have this problem but the rom crashes once or twice a day for me, usually taking 3 or 4 boot loops to start again. Sometimes the screen just shuts off and the phone restarts, other times, the screen turns completely blue, then restarts
[Moto G 4G Android Development] lost101:
You must follow the flashing instructions in first post exactly. If you have already done so, then something you have installed is creating your issues. Do not restore apps or settings via Titanium backup.
[Moto G 4G Android Development] hegwidil:
Camera error

This ROM causes the front facing camera to fail. I have the latest version. This happens since the 1.2b
[Moto G 4G Android Development] triloger:
I would recommend a clean install of the ROM camera is working fine here and it's not a common bug
[Moto G 4G Android Development] Danielnc43:
What's is the "the more stable build" ?...the latest build has a many bugs ?

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] lost101:
This ROM is very stable. People reporting otherwise have not flashed the ROM correctly, or have broken it by their actions.
[Moto G 4G Android Development] hegwidil:
I did
[Moto G 4G Android Development] karbon222:
still no 6.0.1 for thea witch latest security patch from Motorola?

now thea = peregrine ;)
[Moto G 4G Android Development] key-ancel:
I can not find Audio Effects in app configurations??
[Moto G 4G Android Development] VivaLaVent:
How fast is this compared to stock 5.1 or CM 13 nightly?
[Moto G 4G Android Development] Axaion:
not sure if its my device thats special..

But both this and CM13 just soft-boots when i try to encrypt, no errors, just a softboot

Running TWRP 3.0.2.0m which is suggested for it

Tried formatting, erasing several times and without SD card

Anyone have any ideas?