yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] lost101:
You cannot dirty flash this version. You must do a clean install exactly as described in first post.
[Moto G 4G Android Development] Wickie69:
It was clean as descriped
[Moto G 4G Android Development] Eddy Stark:
Bug with google calendar on 1.4b the incons of gc continues over the status bar icons.

thanks for u hard work. the rom is amazing!
[Moto G 4G Android Development] lost101:
LMK (Low Memory Killer) Tweak zips can be found below. Feedback appreciated.
[Moto G 4G Android Development] murrayhawk:
Hi, I'm using 1.3 on my xt1040 and it worked great except for the random signal loss issue. Tried everything written in xda forums. Do you know if 1.4 fix this issue?
[Moto G 4G Android Development] lost101:
Your issue has nothing to do with this ROM.
[Moto G 4G Android Development] mathproblem:
KaminariKernel , Regular Version or Permissive Version ?
[Moto G 4G Android Development] lost101:
I believe 'regular' will now work since v1.4b.
[Moto G 4G Android Development] natenjo:
hast anyone got the Identity Crisis ROM to pass the SafeteyNet test?

I unrooted my phone using superSU and uninstalled xposed by flashing the uninstall zip. My "CTS profile match" is still on false

Could someone check if their device passes the test (e.g. using SafetyNet Helper )

Or will it generally fail on this ROM because of it beeing pre-rooted?

Thanks you for your feedback.
[Moto G 4G Android Development] lost101:
v.1.4b includes Magisk and will pass 'Safety Net' test. Install ROM exactly as described in first post.
[Moto G 4G Android Development] drw22:
Hi, running systemless xposed, toggle off, reboot phone, toggle magisk manager root off. Running safety net test passes for me.
[Moto G 4G Android Development] wagmic:
Hi i have juste install the last build and i can't modify the build.propr. i have try with kernel adiutor and other app but the change wasn't saved.

Any idea?

Thanks you for your amazing job:svetius:
[Moto G 4G Android Development] Sniper Killer:
I think I am about to update my phone with marshmallow, but I am concerned about the performance I am going to get with this ROM. My dad's phone is a Moti G 2Nd gen 4G and has MM and not much free RAM space either. Is it the same for our device? Is this rom worth having on a daily basis?
[Moto G 4G Android Development] lost101:
/system is read-only unless you actually change it to R/W. In FX File Explorer you hit the 'padlock' icon.

Performance on Falcon is superior to Lollipop. I expect the same to be the case here.
[Moto G 4G Android Development] wagmic:
Thank you
[Moto G 4G Android Development] damian3581:
Link kaminari regular no found...
[Moto G 4G Android Development] damian3581:
please update
[Moto G 4G Android Development] redavenger:
lost

once again i have to say thanks for this rom. i've been using it on my spare moto g work phone and its great. it really is..

i would ask, if its possible, are you able to add the "close all" apps button maybe?
[Moto G 4G Android Development] wagmic:
You can use gravity box or android Nifi
[Moto G 4G Android Development] damian3581:
You can add proximity wake up?
[Moto G 4G Android Development] kurtbvb:
In the next update you should do this: "In order to bypass this, Sultanxda removed support for the verified boot flag from his modified kernel, thereby preventing the bootloader from passing the flag to SafetyNet. This gives SafetyNet the same response it would expect to see from a device that doesn’t support verified boot at a hardware level, and as a result SafetyNet allows the device to pass the test."

Was on xda portal.. Maybe would work on moto g?
[Moto G 4G Android Development] carlos@18:
Nice ROM, the only problem is that I can't move data of games with FOLDERMOUNT. Do you fix this problem? Sorry my bad english
[Moto G 4G Android Development] sirxdroid:
I have an old Moto G LTE peregrine that's still on KK. Not going to do L on it. Worth using MM and in particular this ROM on it?

Any other MM ROMs known to work well and has anyone tried N on it?
[Moto G 4G Android Development] tonibm19:
Tried IDCrisis MM, Cyanogenmod 13 and Cyanogenmod 14. In this order.

If you want a 100% bug-free rom use idcrisis or cm13, both marshmallow. I personaly prefear cm13 but it's a personal choice, both work well, better than stock KK or L.

Cyrrently, I use CM14 (nougat), which works well, but has some bugs that can be annoying for some people (not my case).

Both of the 3 roms (MM roms the most) are great as a daily diver.
[Moto G 4G Android Development] sirxdroid:
Thanks. Any tweaks that should be applied after like LMK, for MM to work best? Or just flash the ROM as is?
[Moto G 4G Android Development] tonibm19:
I flash the rom as is and sometimes use a custom kernel (Valkyrie for cyanogenmod, and kaminari kernel for IDCrisis).
[Moto G 4G Android Development] sirxdroid:
Do you find the LMK useful on this (very) low memory device?

http://xdaforums.com/showpost.php?p=68812950&postcount=638
[Moto G 4G Android Development] demoncamber:
Anyone else getting an error 6 when trying to flash the Latest Adreno / GPU Drivers? Tried to re-download and reflash still getting error.
[Moto G 4G Android Development] lost101:
Fixed zip: https://www.androidfilehost.com/?fid=529152257862673570
[Moto G 4G Android Development] sirxdroid:
What radio/baseband should be used with this ROM? My Moto G is still on KK, not sure whether I need an updated radio.

And I don't need to flash opengapps or similar, correct?
[Moto G 4G Android Development] J0kker:
Hi there, first of all, sorry if my question is a little off topic, and i want to thank [MENTION=1006674]lost101[/MENTION] for all the work he have done, i've been running on optimized EU 5.1 for a long time before i switched to another phone, and now my gf took my Moto G LTE, so i didn't follow the development for some months.

As many girls, she liked to play Pokemon Go, and as most (if not all) of you know, with some recent update, you can't play with a rooted phone, so you need to have magisk, supersu and xposed systemless, and this rom seems to suit perfectly the needs here.

So i tried it yesterday, updated TWRP, wiped the phone, installed the rom, then the system booted fine, did all the usual account stuff and apps (and pokemon go, ofc), updated magisk, installed xposed and updated to the latest supersu beta (as there was a notification after each reboot saying the binary needed an update bout could not find how to update it through the superuser app.

Everything works fine, BUT she can't log in to pokemon go... lol

So all i want to know is if it's something with the rom, or others can log in without problem ?

When clicking on google log in it loads for some time then authentication failed, try again (or something like that, the phone is in french language).

The strange thing is that after you click the google log in, there seems to have a window opening because the screens turns black for less than a second, then back to the loading scree.n, just like if there would have a page to open to select your account, i tried to install multiple browsers, including chrome, to see if it was related, but no luck

Also install google play games but nothing to do with POGO, maybe it's just a problem with the game and i lost the last ten minutes of my life but who knows...

Thanks for any help !

Edit: Nevermind, seems like playing POGO on a rooted phone is harder than i though, it has nothing to do with this brilliant rom.
[Moto G 4G Android Development] lost101:
[MENTION=4546445]J0kker[/MENTION] - At time of ROM release, Pokemon Go was working with included Magisk and phh's Superuser. I haven't followed developments closely, but it now appears you need to use Xposed v86.6 - Universal Systemless Compatibility in addition.
[Moto G 4G Android Development] sirxdroid:
My current baseband version: MSM8926BP_101.90.49.01R, retusa_glb_cust

Any newer version that's needed with this ROM? What version do you guys use? Thanks.
[Moto G 4G Android Development] demoncamber:
Why did we switch from supersu? Never heard of this new one, what's the benefit?
[Moto G 4G Android Development] lost101:
At time of ROM release, it was the only way to make Magisk work. That has since changed and a new ROM (v1.5) is coming in the near future that will use SuperSU again. Having said that, some people prefer phh's Superuser because it is open-source, whereas SuperSU is not and is now owed by a Chinese company. Google for more info on the topic.
[Moto G 4G Android Development] sirxdroid:
Anybody?
[Moto G 4G Android Development] gb2b:
hello

will this rom works for real xt1072 ?
[Moto G 4G Android Development] damian3581:
please update :o
[Moto G 4G Android Development] lost101:
The latest available radio firmware are here: http://xdaforums.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816

It's been so long since I started this ROM that I can't remember how heavily modified it was. It's highly likely if you flash this on XT1072 you will have no audio.

Can't do it just yet. Soon.
[Moto G 4G Android Development] sirxdroid:
Thanks [MENTION=1006674]lost101[/MENTION]. Any estimate how far we are from a new release? Trying to see if I should wait for the new release, unless it will be possible to just dirty flash the new one rather than starting from scratch again.
[Moto G 4G Android Development] lost101:
Even if I had the free time, I could not begin development of v1.5. Sorry, but all I can say is asap.
[Moto G 4G Android Development] lost101:
Finally, good news. I have everything I need to start v1.5. I hope I can begin this weekend.

EDIT: ro.build.version.security_patch=2016-08-01 (1st August 2016)
[Moto G 4G Android Development] damian3581:
:fingers-crossed::highfive:
[Moto G 4G Android Development] ph_quiste:
Hey, I am having a problem. My battery is been drained by wifi. What should I do to fix it? I am using the last version (without GNL) and Kaminari kernel. I can't post a screenshot here, cause I'm using a PC right now, but I think someone has already reported it to you. Please, tell me there is a fix hahaha
[Moto G 4G Android Development] Kai B:
Hello, here the same problem with stock kernel and with Kaminiari kernel. I use the latest version too (without GNL). Here are 2 screenshots

Gesendet von meinem XT1072 mit Tapatalk
[Moto G 4G Android Development] lost101:
[MENTION=7856852]ph_quiste[/MENTION] [MENTION=3887688]Kai B[/MENTION]

From post #3:

Wi-Fi Sleep policy: Never. (Changed via Settings > Wi-Fi > Advanced) - Check Battery stats occasionally | some Apps will force Wi-Fi to be always on - i.e Viber​
[Moto G 4G Android Development] Benfll:
I've been using this ROM for a while now and I just have a few problems with it.

One is that sometimes (most of the time when I need it, annoyingly) the compass doesn't work. It'll be stuck pointing north It'll think I'm always facing north and normally a reboot fixes it.

Another is that the mobile data management window accessed through settings has no option to set when the plan should reset (it's just set to the 6th of every month) which basically renders the feature useless but I pretty much need the feature due to my limited data plan.

I think I remember having a few other minor bugs with it but I'm useless and now I can't remember what they were :silly: but if these two things could be fixed I would be very happy, thanks :).

EDIT: Correct bad wording.
[Moto G 4G Android Development] _that:
Isn't that what a compass is supposed to do? :D
[Moto G 4G Android Development] Benfll:
I explained that badly didn't I. I mean it think's I'm always facing north.
[Moto G 4G Android Development] FrozenDroid90:
Hey there,

I know this thread is not for this app, but I was wondering if you or someone could help me out with this. I have installed Magisk, phh's Superuser(I think, it appears to be the same one from the Play store though....) Xposed v86.6 Universal Systemless Compatibility, and suhide.
[Moto G 4G Android Development] damian3581:
Module to wake up with proximity?
[Moto G 4G Android Development] demoncamber:
anyone know how to fix the gallery force close error messages when installing the moto gallery?
[Moto G 4G Android Development] damian3581:
Will be updated once more ...:o
[Moto G 4G Android Development] lost101:
I've explained before. The issue is that the Motorola services I removed to improve performance break compatibility with this app. I consider the best overall experience priority rather than supporting an individual app.

Yes, I will try to update ROMs based on new firmware image soon. I am very busy with work / recently moved house. Next week should offer a few days to focus.
[Moto G 4G Android Development] FrozenDroid90:
Anyone else having loads of sd card read errors? I have to reinsert it constantly, like once every few days, to get some of my apps and photos back
[Moto G 4G Android Development] lost101:
An earlier version of this ROM had such issues and it was related to a specific version SuperSU. Changing the version resolved it.
[Moto G 4G Android Development] martinezcb:
Hi there,

I have the same problem as described by ph_quiste or Kai B. Regardless of the setting of the principles of the Wi-Fi ( "never" or "the call"), if screen goes off, LTE is turning on and wifi icon goes off but GSam Battery Monitor and System Info battery shows the wi-fi is working 100% of the time if wi-fi scanning is enabled. I tried both the normal / version GNL. I used this rom (normal version) some time ago, and I'm pretty sure there were no problems with wi-fi when scanning always on was enabled. It was sleeping most of the time.
[Moto G 4G Android Development] AdYp98:
Hi !

I'm trying to play Pokemon Go with this ROM, but I can not, even if I disable root with Magisk Manager. I tried to uninstall my xposed framework to use the systemless version, but it doesn't work ... Could you please help me ?
[Moto G 4G Android Development] dovahkiin4756:
sorry, didn't read right.
[Moto G 4G Android Development] peelie:
does anyone get bug crash reports from time to time in version 1.4b?

thanks
[Moto G 4G Android Development] damian3581:
Calendar frozen in 31...?
[Moto G 4G Android Development] wabicek:
Is there a way to pass safety net with this rom?
[Moto G 4G Android Development] lost101:
v1.5 of all ROMs now available in OP.

Changelog:

Updated: Gboard - (Google Keyboard) 6.0.79 | Play Store (v7.4.12)

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

Updated: Busybox v1.26.1

Updated: SuperSU v2.79-SR3

Changed: Removed Magisk support​

Notes:

New firmware base. Security Patch Level now: August 1st 2016. Clean install (as described in OP) necessary. 'Pure' ROM is unrooted, includes Busybox, but init.d support does not work until rooted.

Regarding Magisk; Apologies, but I can no longer maintain support for this feature. I wish to take an extended break from working on ROMs and this may be the final update these ROMs receive.​
[Moto G 4G Android Development] carlos@18:
Hi, in the 1.5 versión, it's necessary flash original GPU drivers? Or it's included? Sorry my bad english
[Moto G 4G Android Development] lost101:
Original GPU Drivers are included - no changes.
[Moto G 4G Android Development] Joel Oliveira:
After installing the rom, my computer recognizes the phone as XT1072. How to reverse this?

---------- Post added at 10:48 PM ---------- Previous post was at 09:58 PM ----------

Twrp also reports xt1072. My cell phone is XT1040 !!!!!!!! .. How to solve this ???.

I can not install kernels because it does not recognize as xt1040. I need a heelp ! :(
[Moto G 4G Android Development] lost101:
There is no issue here. Anyone who flashes this ROM will have their phone renamed XT1072. This will keep compatibility with future Motorola apps. Do not install CM/AOSP Kernels with this ROM! Only those that support Stock MM ROMs.
[Moto G 4G Android Development] Joel Oliveira:
But my recovery recognizes the device as XT1072. Is there any way to reveal this? Have tried rom stock, but continue xt1072.
[Moto G 4G Android Development] Pupet_Master:
This ROM is a direct port from XT1072

Just ignore it, compile your stock kernel as peregrine and done.
[Moto G 4G Android Development] Joel Oliveira:
Any way to rename to XT1040 again? Sorry my english .
[Moto G 4G Android Development] Pupet_Master:
No, this ROM was made for the other device and it will always display as such.

If it was possible lost would done it i think
[Moto G 4G Android Development] Joel Oliveira:
But on your device, does TWRP appear as XT1072 or XT1040?.. Sorry my english
[Moto G 4G Android Development] pan05:
So far it works great as usual!

[MENTION=1006674]lost101[/MENTION]

Thanks again for the update.
[Moto G 4G Android Development] pled:
I installed v1.5 yesterday and it works like a charm. Previously, I was running 5.1 stock ROM, then IdCrisis v1.3b. All worked perfectly to me. [MENTION=1006674]lost101[/MENTION] , thanks A LOT for all your work.
[Moto G 4G Android Development] Pupet_Master:
XT-1040 as i never installed this stock ROM.

But it is normal as far as i know with this ROM, since it is a port from the MM XT1070 phone it need to "trick" the firmware that you are using the ZT1072 phone.

But don't worrie, it still is the peregrine hardware and the ROMs are using peregrine "drivers" and ID.

Just ignore it says another phone.

If you want to "fix" it, you will need to flash the full stock firmware.
[Moto G 4G Android Development] Joel Oliveira:
How im install full firmware stock ?
[Moto G 4G Android Development] Pupet_Master:
You are gonna need ADB and follow this topic:

https://xdaforums.com/moto-g/4g-development/xt1039-moto-g-4g-stock-firmware-kxb21-t2805619

After it you will need to install the LP bootloader by go to the topic of it ROM and extract the bootloader from the zip Then install TWRP again
[Moto G 4G Android Development] Joel Oliveira:
Thankyou.. Will this block my bootloader again?
[Moto G 4G Android Development] lost101:
Flashing the factory firmware image will not 'fix' this ROM. There is no Marshmallow factory firmware image for Peregrine. The entire point of this ROM is to give you the best experience possible on your handset, and you will not get that from a factory firmware image.

To change the model number, you can start by looking at /system/build.prop. If you are not comfortable modifying system files, I suggest you try to live with the ROM in it's current form; because it has no negative consequences whatsoever.
[Moto G 4G Android Development] lost101:
New FAQ entry added to post #3:

What is the difference between 'Pure' and 'Deviant' ROMs?

There is a slight low-brightness screen-flicker issue with this ROM in it's original form. Some people don't mind it. In order to fix it, system (framework) files have to be modified. However, there is some debate as to what affect such changes have on the smoothness of the ROM. I have done my best to research and modify the ROM in way that has no impact on performance at all.

Regardless, I've made two versions of this ROM: Pure and Deviant.

'Pure' retains the original unmodified system files and is unrooted. 'Deviant' has the low-brightness screen-flicker problem corrected, along with a few other fixes that are only possible via modifying the system files and is rooted. Otherwise, the two ROMs are optimized and essentially the same.

The choice is yours.​
[Moto G 4G Android Development] Joel Oliveira:
But recovery recognizes the device as XT1072, even installing the stock again. This does not let install some kernels, because it does not identify the cell phone as MotoG peregrine, but rather as XT1072.

I suggest you put on top of your topic that this rom will rename the cell phone to XT1072 Thea.

For people to know this before installing your system.
[Moto G 4G Android Development] lost101:
You need to be more clear about what has happened. When you flash a custom ROM zip, recovery is not changed. The only time when your phone will be identified as XT1072 is when this ROM boots.
[Moto G 4G Android Development] Joel Oliveira:
After installing your rom my TWRP only identifies the cell as XT1072, if it was just the system, editing the build.prop would solve. But no, I changed something that turned my XT1040 into XT1072. When I connect the phone to the computer through TWRP, the computer recognizes it as XT1072. See the pictures of how my device is. Sorry about my English .
[Moto G 4G Android Development] lost101:
The recovery on your phone remains unchanged. Your version of Windows has chosen to 'remember' the device as XT1072.
[Moto G 4G Android Development] Pupet_Master:
No, this will still keep your bootloader unlocked.

How ever as lost said, it wont "fix the rom" it will just make your PC to see it as the XT1040 again... but as soon as you install this ROM again, the "issue" will come back.

How ever, this isn't a real problem that worth the work i feel
[Moto G 4G Android Development] Joel Oliveira:
Thankys guys !
[Moto G 4G Android Development] dovahkiin4756:
MOD skip track

The only thing I missed when I moved from Cyanogen to IDcrisis was being able to skip tracks by holding the volume keys. I know this can can be done with xposed modules, but I didn't really want more apps running in the background. After a lot of google search I was able to mod this ROM through decompiling and recompiling this file in /system/framework/services.jar. I've attached the modded version if any of you guys wants to try it out. It works with Spotify, Deezer, Google Play Music, Pocket Casts, etc... Long pressing the volume buttons will only skip track if the screen is off and there is already something playing in the background. How to flash it:

Boot into TWRP recovery

Mount the system partition

adb push services.jar /system/framework/services.jar

adb shell chmod 644 /system/framework/services.jar

adb reboot

Ps.: Also, volume rocker will control media volume all the time instead of ringer (just personal preference).
[Moto G 4G Android Development] smartuser8:
Can I update my Moto g 4G from 1.4b to 1.5 without wipe? (I mean only wipe cache but not the rest?) Thanks
[Moto G 4G Android Development] AdYp98:
Hey, I still can not pass the safetyNet check even if the 'Pure' version... Any ideas ?

Is it totally impossible to play PokemonGo with this ROM ^^ ?
[Moto G 4G Android Development] lost101:
It's not recommended.

The 'Pure' ROM is unrooted and should work. Just to clarify, you have not rooted the ROM yourself?
[Moto G 4G Android Development] AdYp98:
Nope, I juste tried again : I was in v1.4b GNL, wipe data and factory reset, flash Pure 1.5, installing Pokemon Go and safetyNet checker : both failed.

But I saw that I still have /supersu folder when I use the TWRP File Manager.
[Moto G 4G Android Development] _that:
That exists only in TWRP's ramdisk.
[Moto G 4G Android Development] lost101:
The instruction is first post is to 'format' data before flashing.
[Moto G 4G Android Development] AdYp98:
My bad, it's what I did.

So, have you got any idea to fix this :( ?
[Moto G 4G Android Development] lost101:
Maybe somehow Busybox is being detected - remove it from /system/xbin. Also, if files are remaining despite formatting /data - it's possible you have some emmc corruption - something which has no cure.
[Moto G 4G Android Development] mt12345:
system is read-only so I can't move apps to system partition :(
[Moto G 4G Android Development] lost101:
Read the words you quoted.
[Moto G 4G Android Development] mt12345:
I want t use Link2SD not FX.
[Moto G 4G Android Development] AdYp98:
ok , so I followed the instructions to flash the 1.5 GNL Pure version, then I booted into recovery, I mounted /system and I found a "busybox" file in /system/xbin. I deleted it (I checked that it doesn't appear after a reboot), but I still can not pass the SafetyNet Check and I still can not play Pokémon Go. Do you have any ideas of others files that haven't been deleted during the wipe ?

Edit : Moreover, I have a /supersu folder and a /sbin/busybox file that I can not delete with TWRP : they appear again after rebooting the recovery