yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] woozie.2007:
is set never, and location-scanning wi-fi-on

today i coming back from the holiday, and after 900 km and 14 hours of driving, the phone is at 77%, so 90% deep sleep, but when i'm connected to wi-fi not going to deepsleep, only if i turn off wi-fi
[Moto G Android Development] lost101:
Okay. It could be related to the new Kernel and/or Wi-Fi modules. A quick test would be to flash the original Kernel/modules from the 'Kernels' section in OP.
[Moto G Android Development] woozie.2007:
i want to see untill tomorrow whats happen, because i think the problem could be the hotspot of the hotel where i stayed, now i am home and i want to see if the scenario it is the same. Thanks man
[Moto G Android Development] lost101:
The following post has been updated and is now linked to in OP.

http://xdaforums.com/showpost.php?p=68194950&postcount=1836​
[Moto G Android Development] lost101:
Wi-Fi drain issue has also been reported on the LTE ROM. First area to focus on is the Kernels.
[Moto G Android Development] woozie.2007:
i tried all kernels, including the original, wifi modules, reset networks....nothing, the wifi is awake nonstop
[Moto G Android Development] dannyfritz:
in-call screen

ROM: Identity Crisis 6 (Single-SIM) GNL v1.4a

Phone: XT1032

Extras: KaminariKernel R5, Google Dialer, Google Search, In-call Speaker Volume Increase

Problem: The in-call screen where you can answer calls or hang-up does not show up. http://forums.androidcentral.com/at...roid-m-incoming-call-screen-concept-pic-2.jpg

Solution: Switch back to the Stock Dialer to replace Google Dialer. [UPDATE] Follow FAQ and set default app for phone if you want to keep Google Dialer.
[Moto G Android Development] lost101:
From FAQ in post #3:

Explain Marshmallow and it's 'Default Apps' feature?

Google 'Now on Tap' | Search | "OK Google" and Google Dialer will not function correctly, or at all - if you do not set them as default apps. This also applies to any custom replacement apps for handling search, calls or sms.

Settings > Apps > Settings Gear Icon (top right) > Default Apps​
[Moto G Android Development] lost101:
The Kernel zips in OP may not undo entirely all the changes made by KaminariKernel. I was hoping they would do a 'good enough' job. The only way to rule out the Kernel as the cause, is to clean flash ROM v1.4a (as described in OP) and not change Kernel. If issue still occurs, then clean flash v1.4a with original Kernel and modules pre-installed.
[Moto G Android Development] woozie.2007:
now, i'm on v1.4 clean install, before this i was all changes of the kernels without succes. What i see is on v1.4 the min freq is 300 mhz and on the 1.4a is 787 mhz. The phone works very well with min freq 300 mhz, the only issue is that wifi because keep the phone awake. On v1.4 keeps awake, with v1.4a keeps awake...i don't know what can i do to go the phone in deep sleep. With airplane mode on, goes to deepsleep :(
[Moto G Android Development] lost101:
How do you know v1.4 has a min freq is 300 mhz?
[Moto G Android Development] woozie.2007:
kernel adiutor, without any changes, just installed and status
[Moto G Android Development] Biz92k:
What about the magisk thing and this rom? Any known/expected issues so far?
[Moto G Android Development] jeff425:
[MENTION=1006674]lost101[/MENTION]: Got a quick question to ask. I'm sure many of us here play Pokemon Go and having issue with the root system. By any chance is your rom is fully compatible with Magisk Systemless Root system? So we can bypass the SafetyNet Check API.

Cheers. All helps will be appreciated.
[Moto G Android Development] himu_joy:
unfortunately but don't know I found latest build slower then all previous build....

nothing changed on kernel auditor.
[Moto G Android Development] lost101:
It would be helpful if you could try different Kernels to help identify if the newly included Kernel is the cause.
[Moto G Android Development] ivantyr:
Is it possible to return back to lollipop in case of trouble or will the 6.0 bootloader cause a brick like when 5.0 was released and made flashing 4.3 impossible?
[Moto G Android Development] koshikas:
what you should avoid is downgrading bootloaders, downgrading ROMs is a non-issue. downgrading to a ROM which is earlier than LP with LP bootloader or later installed, will cause scan lines till you put the device to sleep which is a very trivial issue
[Moto G Android Development] lost101:
There is no 6.0 Bootloader for Falcon and never will be.
[Moto G Android Development] Biz92k:
[MENTION=1006674]lost101[/MENTION], any hints about Magisk? Sorry for bothering :D
[Moto G Android Development] kasth:
Those tips applies to every rom?

No gapps?

Also i think we can safely restore user apps and data, things can easily break though if we restore system apps.

Thanks!!
[Moto G Android Development] kasth:
There's no need to be a jerk. I did not meant to be lazy if that's what looked like. Since i quoted the OP i didn't think it would be a problem to ask here. Thank you for your answers.
[Moto G Android Development] lost101:
I know the instruction regarding Titanium Backup is very general, but it has not been demonstrated beyond doubt to me that you can restore some apps without causing an issue. Motorola Stock ROMs are very sensitive to app data files - perhaps more-so than AOSP/CM - that is why the flashing instructions are specifically making you format /data so nothing remains. I do not believe the issue with Titanium Backup is simply limited to 'System apps.'

You are free to do as you wish, but if problems arise - you can guess why.
[Moto G Android Development] lost101:
I'm going to have to upload a new version (v1.4b) that includes the 'Original' Stock Kernel and Modules. There are just to many changes in v1.4 and this is going to help identify problems and their cause. An LTE user has said the 'original' kernel resolved his Wi-Fi drain issue.

I'll look into it.
[Moto G Android Development] kasth:
Hi.

I agree with you. Titanium can break some apps , i experienced two cases after a restore a couple of hours ago. I guess i'll just backup my save files manualy from now on.

Thank you for the explanation.
[Moto G Android Development] kasth:
I will not even read this. Moving on.
[Moto G Android Development] Yahyailham:
Unseen Signal Icon

can you check this out? the signal icon goes wrong when I turned on the cellular data and then I opened Google calendar and pixel launcher's app drawer. the color doesn't change (white in white) and the position was moved. but thank you in the beginning[IMG="Proof"]https://drive.google.com/file/d/0B-55k6zL9UPwQTRMTUFxLU9JaDg/view?usp=drivesdk[/IMG]
[Moto G Android Development] sandy_zc:
Is this only for Titanium Backup? I use Helium for backup/restore apps settings (especially, for SMS backup) - and as I can see, there are no any problems with it.
[Moto G Android Development] lost101:
No, not just Titanium Backup. The issue is the restoring of app data. I'm not saying you will definitely have issues, but I've seen it create them enough times to suggest it be avoided whenever possible.
[Moto G Android Development] SbM_:
When I use the stock photo app then slide to the left to open the gallery (which I flashed using the .zip provided in the original post), the Gallery often crashes on launch. If I launch it again, everything is fine.

Any solution?

I must say that's the only bug I've encountered so far, so no big deal really. :)
[Moto G Android Development] ReOmbra:
Try install moto contextual service from playstore.
[Moto G Android Development] SbM_:
OK thanks, just installed it, I hope it will fix the issue.
[Moto G Android Development] JLealNeves:
Do I need to go stock firmware to flash this or I can flash directly from my CM 13?
[Moto G Android Development] aryc.subash:
I had flashed from cm13 with no problem. But it will be better if you flash from stock..
[Moto G Android Development] JLealNeves:
Thanks for the information, man. Other question: When I flash my stock, Do I need to reboot and configure the android or i can install this custom directly after the installation of the stock?
[Moto G Android Development] aryc.subash:
Its your choice. I usually reboot in recovery and flash the file. I think its better for you to install stock, then create a system backup and flash the new file. So, you can revert back to stock if any error occur
[Moto G Android Development] JLealNeves:
Good to know, I'll do like you did. Thanks again, man.
[Moto G Android Development] SbM_:
Gallery crashed again today. :(
[Moto G Android Development] lost101:
The instructions for flashing are in first post. Nothing else is required other than to follow them exactly. You do not need to return to Stock firmware.

If the crashing was simple to fix - I would have included Moto Gallery in the ROMs. Search this thread if you want more explanation.
[Moto G Android Development] Penemue:
It's me again. ^^ My battery details are attached, thought I share after seeing the recent wi-fi battery drain discussion. As of how to reproduce it, I have no idea. I clean flashed 1.4, KaminariKernel + 1.4a patch on the day it was released and I'm only noticing this since yesterday. Wi-Fi on sleep is set to Never. If there is any extra information that I can provide, please let me know. (This is all assuming it is a battery drain)
[Moto G Android Development] Choochter:
Just a thought. Some time back I recall reading about WiFi drain issues on the CM13 Moto G thread caused by leaving a WiFi zone to which you were connected while WiFi was still switched on. Was solved by turning off WiFi before moving away. Now that [MENTION=5736790]Kamin4ri[/MENTION] bases his kernels on CM, could there be a connection?
[Moto G Android Development] woozie.2007:
i can confirm that, when i stayed at a hotel in holiday i install the rom, and i made all settings from begining, but no succes. The battery drain was terrible there, but when i return to home, the wifi is always on, and the wakelock detector report 5-6% awake, and the kernel adiutor the same, 85% deepsleep, so its matter the hotspot is responsable for the battery drain
[Moto G Android Development] SbM_:
OK no problem, I can live with the Gallery app crashing from time to time. I like its edit capabilities too much. :)
[Moto G Android Development] Penemue:
Well, I am also using a hotel Wi-Fi and I do walk away from the Wi-Fi area without disconnecting or turning it off. It was fine while I was at home so that could be it. Still, it is an issue obviously. Hope this info helps getting it fixed!
[Moto G Android Development] Biz92k:
Ok, I was really curious about this method (@Kamin4ri too mentioned that here) so I tried to install Magisk, phh supersu and Xposed systemless. Everything working good so far, no evident issues or bootloops.

The only problem I can see (but I'm gonna post that in the kernel thread too, maybe is more appropriate) is that (with Kamin4ri permissive kernel R5) I can't switch the selinux to enforced but it stays locked on permissive. I tried install the Regular R5 but it doesn't boot. What I did wrong? Magisk is supposed to make root systemless, so the regular version is supposed to work...
[Moto G Android Development] sandy_zc:
Try Moto Gallery from G4. The link was somewhere in this thread.
[Moto G Android Development] SbM_:
OK thanks. I'll have to figure out how to remove the stock app first, though.
[Moto G Android Development] ganeshkmr21:
Is there any way to update Quickpic.? also are the stock kernel installed with the ROM same as Kaminari-Optimized .? the one u posed in OP
[Moto G Android Development] lost101:
KaminariKernel is not included in these ROMs. If it was, I would say so.
[Moto G Android Development] ganeshkmr21:
The Kernel Version is showing the name Kaminari. That's the reason i asked you. Also the the Media volume is bit low then the 5.1 ROM is there any way i could boost it. It's not a big issue but still :P
[Moto G Android Development] lost101:
I acknowledge the naming conventions are confusing. But I repeat, these ROMs do not include KaminariKernel - the Kernel used here is a mostly untouched Stock Kernel - ported by the same Developer.

Can you explain more regarding media volume - do you mean with headphones?
[Moto G Android Development] ganeshkmr21:
yeah. Over the headphones.!

I was on 5.1 optimized ROM before & the audio used to be very loud but in this ROM it's almost 75% of the it.

Googled for a solution & found this tweak working.

Changed the value to "40" in the system/etc/mixer_paths.xml
[Moto G Android Development] lost101:
v1.4b of all ROMs now available in OP.

Changelog:

Changed: Reverted back to 'Original' Stock Kernel / Modules

Changed: Minimum / Idle CPU Frequency changed back to 300MHz

Added: Magisk systemless root support

Replaced: SuperSU with phh's Superuser

Replaced: Catapult with updated Trebuchet

Updated: Adreno Graphics / GPU driver (MOB30M - June 2016)

Updated: Calender (v5.5.20) | Play Store (v7.0.12)

Updated: Google (Search) app (﻿v6.4.31) [GNL ROMs only]

Tweaked: Increased headphone volume​

Notes:

Clean install (as described in OP) necessary.​
[Moto G Android Development] lost101:
Drivers aren't needed in Linux. It's maybe a Fedora issue.

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install android-tools-adb android-tools-fastboot​
[Moto G Android Development] zbashunc:
Is the Kaminari's last kernel still better for battery backup and faster working for 1.4b?
[Moto G Android Development] lost101:
I'll assume you are talking about KaminariKernel R5.

It should be better in every way, but it's up to you to decide. I recommend to not flash any Kernel for a few days, then you will see the difference and if any problems are created by KaminariKernel R5.
[Moto G Android Development] Biz92k:
So now Magisk and phhsu are already in the rom? Or we need to manually install them? (I'm going to update for sure in the next days, just asking to download everything :) )

As always thanks for your aewsome rom (and for keeping it up)!
[Moto G Android Development] lost101:
Everything is pre-installed and ready to go.
[Moto G Android Development] Biz92k:
That's awesome! :)

Did you manage to make the sepolicy toggle work too? Or we still need to use the permissive mode (for kamin4ri kernel for example)? Thanks!
[Moto G Android Development] woozie.2007:
Thank you Lost, but i already use quickpic cloud and i can't install it because you put the quickpic like as system app, how can i install my vresion? Thank you again
[Moto G Android Development] Mindvisi0n:
Wifi is not working in v1.4b what to do ?
[Moto G Android Development] mec17:
the ROM is smooth, everything is working perfect, no errors till now. no battery drain.

Thank you very much, Lost101
[Moto G Android Development] lost101:
Using a root-access file explorer, delete: /system/app/QuickPic

Flash the ROM exactly as described in first post.
[Moto G Android Development] lost101:
Everything appears to work with the included Kernel. That's all I can say at this time.
[Moto G Android Development] Biz92k:
Gonna test it out when I'm gonna update. Maybe in the meantime another kaminari kernel build would out, Who knows :D

Thanks as Always! :)
[Moto G Android Development] ale467:
What about new adreno drivers? Anyone tested GTA San Andreas? (It lags on every rom but it's so smooth on Moto E for example)

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] woozie.2007:
Thanks, it works
[Moto G Android Development] lost101:
I don't know the situation regarding KaminariKernel and the new root method. I have not had time to test it. The priority is seeing if the included Kernel performs well without WiFi drain issues.

Magisk only works with phh's Superuser at present - that is why I changed to it. And yes, I did try SuperSU 2.78-SR1.

As for audio changes, I only made the system/etc/mixer_paths.xml edit mentioned in an earlier post. Again, waiting for feedback if it's enough, or too much.
[Moto G Android Development] SbM_:
Same question for Motorola Gallery, installed via the .zip you posted : do I only need to delete /system/priv-app/MotGallery2 ?

There's a /system/etc/init.d/MotoGallery too, do I need to delete it as well?

Thx!
[Moto G Android Development] Biz92k:
Installed regular kaminarikernel R5 ans it works with 1.4b non-gnl clean installed (and even successfully restored some non-system apps with tibu :D)

Selinux is set to enforced and the toggle works as expected.
[Moto G Android Development] lost101:
Yes. Also delete /system/etc/init.d/MotoGallery.
[Moto G Android Development] SbM_:
OK thx. Tried the G4 version but it doesn't work well with the Photo app (when you slide to the left, it only displays pictures but won't let you modify them). So now I've tried installing Motorola Gallery from the Google Play Store. Will see if it works better…
[Moto G Android Development] teckem:
I've been experiencing forced close behavior randomly while playing "Clash Royale" and a not so smooth scrolling, anyone is having any issues on the new version with the updated graphics drivers ?, BTW I did a clean install as stated on the installation guide.
[Moto G Android Development] miguelrivas:
Can i use supersu 2.76 magisk versión? i been looking for that pph superuser and itsn updated a long time ago, or maybe im wrong.

btw Thanks dude.
[Moto G Android Development] lost101:
This version did not work for me.
[Moto G Android Development] Choochter:
Came across this article today. Now that IDCrisis is on Phh/Magisk, some of you might find this useful:

http://www.androidpolice.com/2016/09/18/automagisk-allows-root-users-play-pokemon-go-use-android-pay-without-constantly-toggling-root-off/
[Moto G Android Development] Biz92k:
That Automagisk thing actually broke my install... Don't get me wrong, everything works fine except Pokemon GO, but instead of help the game doesn't make me connect to the server anymore... An I'm not banned 'cause I can still play on iPad... I'm gonna reinstall the whole thing if I don't find a fix... Clear cache and dirty flash rom again didn't help 'til now

Edit: I found out that Automagisk actually worked good, the issue was caused by the new SafetyNet detecting Xposed too..
[Moto G Android Development] Bleak3993:
I thought the new Adreno drivers weren't meant for Adreno 305, just for 330.
[Moto G Android Development] himu_joy:
yes sir, I found that ur stock kernel (not optimize) is most butter and stable kernel among all (for idcrisis 6)
[Moto G Android Development] lost101:
Following file added to "Extras" section in OP: (For people having problems running games with the new driver)

Original Adreno / GPU Driver​
[Moto G Android Development] lost101:
After a few days of use and many apps installed - V1.4b with included Kernel - has the best performance and battery-life - I have seen to date. The new GPU driver I suspect is helping, but I do not install games and there appear to be some compatibility issues in that area.
[Moto G Android Development] nnayak:
[MENTION=1006674]lost101[/MENTION], does this rom support OMS substratum themes? :)
[Moto G Android Development] srpengg:
substratum will work but as subtratum legacy mode which is a layer mode....make sure your themes support substratum legacy mode....or u may just use layers manager with old layers..
[Moto G Android Development] renatohm:
Great job, thanks.

I'm on 1.4a now, upgraded from 1.4, upgraded from... Can I upgrade again, or a clean install is demanded?

Edited to add: Upgrade + wipe dalvik+cache works like a charm. Mine is running just fine. Will test a couple of days to see how battery does.
[Moto G Android Development] Cragman:
You just quote post. It says "clean install is necessary". Why You asking?!
[Moto G Android Development] renatohm:
Well, I did the upgrade, and all is well so far. So, the post could be updated.
[Moto G Android Development] SbM_:
So basically what you did is skip steps 1 and 3 in the "How to flash" section?
[Moto G Android Development] Hisoh:
after i installed the room the wipe and install function in twrp doesnt work anymore, the device still boots as if i havent wipe the system and this already happened with xposed, so i dont know if its a problem from the room or twrp. Any help?
[Moto G Android Development] renatohm:
I took full responsibility for not following the dev's instructions.

I followed the instructions to the T on the 1st install, version 1.0. Since then I've been upgrading via flash + wipes and haven't seen any problems.

I hate to format my phone because of my bank, making it work again after format is a pain.
[Moto G Android Development] Roginho:
Congratulations for this wonderful release. Version 1.4b is very fast and fluid and with an optimal battery life. You could add the latest security patch in the next version?
[Moto G Android Development] indianbull:
Error: Updater process ended with ERROR: 7

Hi everyone after 3-4 times installation, I had got the OS. But my second sim is not showing signal. Kindly help..

Update: Am unable to send messages even, I tried SMSC settings even.. No use...:(
[Moto G Android Development] jaco313:
Hi to everybody, I installed yesterday the 1.4b and it works very good; I have an only issue,in magisk manager the option selinux status does not turn on.... how can I do? I installed xposed framework and kaminari kernel.
[Moto G Android Development] indianbull:
Hi are you able to use both sim's??
[Moto G Android Development] woozie.2007:
I have xt1033 and i used both sims everyday, works perfect
[Moto G Android Development] indianbull:
Am too using XT1033, am from India. Do we need to do any configuration after booting??
[Moto G Android Development] woozie.2007:
No
[Moto G Android Development] sandy_zc:
I just have disabled it.
[Moto G Android Development] SbM_:
Same here: takes too long to reconfigure everything. So I'll try your method next time I want to upgrade, thx!
[Moto G Android Development] Choochter:
Read the FAQ
[Moto G Android Development] renatohm:
I hope all goes well for you, as has been my case!
[Moto G Android Development] lost101:
Motorola have only released this version of Android Marshmallow. This ROM is not open-source, and cannot simply be given a new security patch. We must wait for Motorola to release a new version, and / or security update.

You must follow the flashing instructions in first post exactly. Reading the FAQ also helps. If you have serious issues such as you describe, then you have either (a) not flashed the ROM as instructed, or (b) done something to break the ROM.
[Moto G Android Development] indianbull:
Thank you very much for the reply, yes I didn't read the FAQ before installing later on the suggestion I made it. Now dual sim's are working fine, once again Thank you very much for the support..:)
[Moto G Android Development] woozie.2007:
Lost, I noticed something, when the phone enters sleep mode, it cuts all aplication which are open in background. I used an app for my work, and everytime when open I must to log in again, with 1.3b doesn't happen this. You think the ram management is responsable for this? And what can i do to avoid that. Thanks
[Moto G Android Development] lost101:
Nothing has changed in that area from v1.3b to v1.4a. If you are dirty flashing, that may be the cause. Apps are also always changing and evolving, so their RAM usage may increase and it has nothing to do with the ROM.

If you feel comfortable doing so, you can tweak the LMK value in: /system/etc/init.qcom.post_boot.sh:

Add the following to the end, leaving an empty line for the very last line:

# Change adj level and min_free_kbytes setting for lowmemory killer to kick in

case "$target" in

"msm8226")

echo 0,1,2,4,9,12 > /sys/module/lowmemorykiller/parameters/adj

echo 2560 > /proc/sys/vm/min_free_kbytes

;;

esac​

I will test and maybe make flashable zip patches for this soon.
[Moto G Android Development] lost101:
Did you flash the ROM exactly as described in first post?
[Moto G Android Development] woozie.2007:
Clean install, i will try your solution when i go back to home. Thanks
[Moto G Android Development] Roginho:
Certainly always follow exactly the procedures described in OP. I wonder if the dysplay ambience is not working right so to me or to other users as well.