yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] lost101:
It has nothing to do with these ROMs.

Flash the latest XT1032 (if that is your model) Factory Firmware Image using mFastboot.

mFastboot download: https://www.androidfilehost.com/?fid=24052804347778493

Firmware Images: http://xdaforums.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795

Fastboot Tutorial: http://xdaforums.com/showthread.php?t=2542219

If issue persists, post in the above 'tutorial' thread.
[Moto G Android Development] TedGrassman:
Thank you very much for your help.

So I flashed this version (XT1032_FALCON_RETFR_5.1_LPBS23.13-56-2_cid7) on my phone... Tada, sensors work properly! (just blank under Display rotation sensor, not sure what it is though...) :)

So how to make it work in Marshmallow ? :D
[Moto G Android Development] lost101:
It's blank for me also. One would suspect it's how the phone knows to rotate screen. If you change position of phone and screen rotates, then obviously it works fine.
[Moto G Android Development] TedGrassman:
Well, it rotates just fine so my guess is that it's okay ^^

Regarding the installation of Identity Crisis, do I re-try the normal way? :)
[Moto G Android Development] lost101:
Flash as instructed in OP.
[Moto G Android Development] TedGrassman:
I flashed TWRP3 and Identity Crisis (v1.5a 'Deviant Edition'). No luck, Magnetic field and Orientation sensors stay blank... (I rebooted the phone to make sure)
[Moto G Android Development] lost101:
They need to be in use for any values to be output. Run Google maps or Here.
[Moto G Android Development] TedGrassman:
I tried to run Maps or Here, and even apps specifically using magnetic field sensor, but they won't read any value and the row stays blanck in CPU-Z... :(
[Moto G Android Development] lost101:
I would say don't read into it. I suspect everyone gets the same info in CPU-Z. I doubt there is any issue here at all and you are just being obsessive.
[Moto G Android Development] TedGrassman:
Not being obsessive, I just find it strange that it works in 5.1 Stock but not in 6.0...

But well, as I said, no vital sensors here, I even doubt I often use an app needing those ^^

Anyway, thanks for your patience and help, and have a lovely evening :)
[Moto G Android Development] lost101:
I didn't mean to sound dismissive. I wasn't aware those sensors reported differently in 5.1. It might be worth trying alternative HW Info apps.
[Moto G Android Development] dhabsot:
Mine shows almost everything. I'm on v1.4b.
[Moto G Android Development] TedGrassman:
No problem ^^

I tried several hardware info apps and apps using magnetic field and orientation, they all detect the sensor but none of them can get any values...

Well, we'll see if anyone else encounters the same problem, but anyway I don't really need it :)
[Moto G Android Development] birdflesh:
Magnetic sensor does not work for me too on 1.5 pure edition (clean install). This sensor is helpful on navigation software, so it can detect a change in direction quicker. It will still work without it but not that accurately.
[Moto G Android Development] oscarmbv:
Greetings, I have the same isssue of magnetic and orientation sensor on 1.5a deviant (I install rom following instructions on the op as usual). Thank you awesome rom.

Enviado desde mi XT1063 mediante Tapatalk
[Moto G Android Development] poled:
I'd like lock-screen rotation to be turned off by default. What's the point of lock screen rotation?
[Moto G Android Development] lost101:
The cold reality is that the ROM is designed for me and has the features I want. I drive a lot and have phone in landscape position. Lock screen rotation means I can see the clock / notifications without effort.
[Moto G Android Development] NinjaFlood:
I always flash all the MotoG ROMs here on XDA and I always went back to IDCrisis. It's notorious how much effort and time you put on this project.

I really appreciate your work [MENTION=1006674]lost101[/MENTION]

Question time:

My interactive governor tunables do not stick. A few minutes after I apply my tunables they went back to the stock values. Is there any way to make them stick?
[Moto G Android Development] lost101:
[MENTION=5736790]Kamin4ri[/MENTION] is the best person to answer this. The currently included Kernel is essentially what Motorola provided; the only changes made are those required for it to boot on Falcon. I may be wrong here, but the Kernel probably needs further customisation to support what you are trying to achieve. Unless editing system/etc/init.qcom.post_boot.sh is a solution.
[Moto G Android Development] bayran321:
1.5a for dual sim?
[Moto G Android Development] Abraham_Lerma:
Identity Crisis will be updated to Nougat?
[Moto G Android Development] koshikas:
unlikely, but you never know with lost101
[Moto G Android Development] fr_jason:
Kernel Support?

I am about to put ID Crisis 6 on my falcon and was just doing necessary research before coming over however, Kamin4ri recently stated, "I NO LONGER USE IDCRISIS SO I CANT CHECK FOR BUGS ".

Here is the post where he says this; http://xdaforums.com/showpost.php?p=69098633&postcount=391

Is there an alternative kernel you can recommend or will the stock kernel suffice?
[Moto G Android Development] lost101:
[MENTION=5627119]jasonpremchand[/MENTION] - Please have some consideration for the amount of time and effort put into making these ROMs. Even with the included Stock Kernel, they are considered superior by some.
[Moto G Android Development] lost101:
v1.5a of AWS ROMs now available in OP. Pure Edition only for now, so bring your own root.

Changelog:

Updated: Calender (v5.6.2) | Calculator (v7.1.1) | Clock (v4.6.1) | Play Store (v7.1.15) | Text-to-speech (v3.10.10)

Updated: Google (Search) app (﻿v6.7.17) [GNL ROM only]

Included: Busybox v1.25.1

Tweaked: Increased headphone volume

Changed: ADB Debugging enabled by default / persistent

Changed: Default Animation speed to '.5x' (Requires reboot)​

Notes:

New firmware base. Security Patch Level now: August 1st 2016. Clean install (as described in OP) necessary. Regarding 'Pure Edition' - ROM is unrooted, includes Busybox, but init.d support does not fully work until rooted.​
[Moto G Android Development] fr_jason:
I meant no offence nor disrespect with regards to what you or any other dev puts into ROM development.

I re-worded my post to better reflect what I wanted to ask so as to prevent any confusion later on.

Thank you. lost101, for all the time and effort that you have put into making this ROM, it's iterations and it's ongoing development.
[Moto G Android Development] lost101:
Try with included Kernel for a few days. Then change to KaminariKernel if you want, but post in that thread if you have issues.
[Moto G Android Development] birdflesh:
The magnetic sensor works on 1.5 by copying two files from a previous version: /system/etc/permissions/android.hardware.sensor.compass.xml and /system/bin/akmd8963
[Moto G Android Development] lost101:
Thanks. TWRP Flashable zip attached.
[Moto G Android Development] lcosta2:
works on xt1033 converted to gpe ?
[Moto G Android Development] lost101:
Should be okay. If not booting, then f2fs /data partition is required.
[Moto G Android Development] mtolgae:
Sorry for the noob question in advance. first of all thanks for the efforts and support. I am on 1.4b for xt1033 and don't use the dual sim function. can I install 1.5a rom which is for single sim?
[Moto G Android Development] Penemue:
I've been waiting for the Dual-SIM version of the ROM but I saw this and flashed the Single-SIM version, clean & as described in OP as always. However, the phone is not able to recognize my SIM. I tried both the SIM slots and I rebooted to no avail. The icon for the "No SIM card" disappears when I plug the SIM into the first slot but in quick settings, it still says "No SIM card/Emergency calls only".

Did I misunderstand the question and the answer? I own a 1st-gen Moto G with Dual-SIM support but I use single SIM. [MENTION=5947264]mtolgae[/MENTION] did it work for you?

Edit: I flashed 1.5a Deviant Edition. I was on 1.4b before.
[Moto G Android Development] TedGrassman:
Wow, thanks a lot [MENTION=4260106]birdflesh[/MENTION] and [MENTION=1006674]lost101[/MENTION] :victory:

Works like a charm now :)
[Moto G Android Development] liboriof:
@lost101 Hi, i have a problem, with the missed calls the notification led is off. I have the clean flash 1.5a version and the Google dialer installing.

Thanks in advance
[Moto G Android Development] kukusiek97:
Snapchat

Hi!

I've tried ID Crisis 1.5a but I can't login into snapchat.

Any ideas to make it work ?
[Moto G Android Development] lost101:
Okay, thanks for mentioning it. I will investigate soon, but have a fair idea of the cause.

Flash ROM exactly as described in first post.
[Moto G Android Development] kukusiek97:
Installed as describtion, still can't login into snapchat
[Moto G Android Development] lost101:
Google search "snapchat rooted" - you will see Snapchat will not work if you are rooted. It looks like you need to hide root, by installing Xposed Framework with the Magisk Systemless root module.
[Moto G Android Development] lost101:
http://xdaforums.com/showpost.php?p=69434087&postcount=669
​
[Moto G Android Development] lost101:
[MENTION=4336485]alezardstar[/MENTION] - The only reason I stopped using SuperSU is that I could not previously make it work with Magisk. SuperSU is a bit more user-friendly in it's UI, and that's why it is now included again. You probably can safely use the 'unroot' option in SuperSU. The best idea would be to delete the 'supersu' folder in the ROM zip prior to flashing. Then root with Superuser.
[Moto G Android Development] peelie:
hi tried this patch, does not seem to make maganetic sensor work?

thanks
[Moto G Android Development] manohar3787:
Thank you very much for this incredible ROM , you guys are just awesome, i installed the Identity Crisis 6 (Dual-SIM) v1.4b ROM as per instructions and everything went silky smooth . Small confusion , after installation of the rom i already have the dialer so why is it provided as an extras in the homepage of this post and the other thing is , should i install the adreno (original/latest) graphics driver separately now or does my rom already have it .

Am currently on the stock kernel and battery life is just amazing and all sensors working fine .

Now for the other question , if i install the kaminari kernel and leave it at stock settings , can i gain even better battery life.

I use the Fm Radio quite a lot and this app is missing from the ROM , could i get it ?
[Moto G Android Development] Penemue:
1.4b uses the latest Adreno Graphics Driver, at least the changelog says so.

You currently have the stock dialer, the .zip in OP is Google Dialer, which is almost identical with some extra features, like it says in OP. Stock is also included in Extras for people who wants to go back.

You should be able to get FM Radio from Play Store. Here is a link to it.

About KaminariKernel, I used it for a while, there was a difference but it wasn't huge in my case so I didn' bother flashing it anymore but results will probably be different depending on the handset/usage?
[Moto G Android Development] manohar3787:
[MENTION=6466211]Penemue[/MENTION] thanks buddy , yes got the official radio app from play store itself . i use only whatsapp,gmail and google keep on my phone and hate to see my phone gobble up battery through the night . so was hoping i could use kaminari to stretch it a bit more.

If there is a profile for great battery on it , can someone recommend me.

---------- Post added at 07:22 PM ---------- Previous post was at 06:36 PM ----------

also noticed that the model name is changed to Moto G 2nd Gen even though mine is 1st Gen
[Moto G Android Development] Choochter:
It's not the ROM or kernel that's eating your battery, I only lose a couple of percent overnight
[Moto G Android Development] poled:
This is not happening with another android 6 roms, and the workaround is a battery drainer

Anyway this is my favourite rom, waiting for new version to come
[Moto G Android Development] lost101:
If you are saying what I have written is not correct, please prove it. It's a bug in Stock Motorola Android 6.0 and other OEM Stock ROMs. Saying it's not present in CM/AOSP 6.0+ ROMs doesn't change that fact.
[Moto G Android Development] poled:
No no, sure you are right, but an AOSP rom without that bug has patched it with a kernel or how? I know your rom is pure stock, that is not going to change, and I'm ok with that, just wondering another way to fix that bug, with a custom kernel maybe?
[Moto G Android Development] Penemue:
Hey [MENTION=1006674]lost101[/MENTION], any way to make the Single-SIM ROM work on Dual-SIM Moto G? I only use one SIM on it but when I flashed 1.5a, it wouldn't recognize my SIM. I tried both SIM slots. On slot 1, No SIM changes to Emergency Calls Only, it doesn't show me the PIN screen and slot 2 is just disabled.

I'm happy with 1.4b, just like to be on the latest version with everything, if possible. The Dual-SIM functionality that I don't use is holding me back!
[Moto G Android Development] Biz92k:
As I posted here, I think I found a bug...

Long story short, I'm unable to change some settings, like the animation speed, device wifi name, enable dt2w (on kamin4ri kernel), change governors... I thought it was a kernel related issue, but looks like is not, because it happens even with your default one... So should be a rom related issue! This didn't happened with 1.4b neither with 1.3, so should be the last release...

Any idea about how to fix that? :)
[Moto G Android Development] lost101:
GPE conversion might be what you need to do. Search this sub-forum.

No issues here. Are you flashing ROM exactly as described in OP?

No ETAs. No free-time. Cannot actually start working on Dual-SIM v1.5, even if I did have the time. Please wait.
[Moto G Android Development] Biz92k:
I did, clean install as always...
[Moto G Android Development] eazx:
This rom works with XT1032??
[Moto G Android Development] dannyfritz:
Yes. I have it installed on my XT1032
[Moto G Android Development] lost101:
v1.5b of all ROMs now available in OP.

Changelog:

Fixed: 'Missed Call' Notification light

Updated: Calender (v5.6.6) | Play Store (v7.2.13)

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

Updated: Busybox v1.25.1

Changed: ADB debugging enabled by default (Persistent)

Changed: Removed Default Animation Speed (Issues for some users)

Changed: Lockscreen rotation off by default (Popular demand)

Changed: Launcher rotation off by default​

Notes:

Dirty flash probably okay. Any issues, clean install (as described in OP).​
[Moto G Android Development] ThePhoenixBird:
considering to switch to this ROM, been looking around the thread but with 200+ pages its hard, but is there any known bugs compared to stock ROM?
[Moto G Android Development] lost101:
It is a Stock ROM - debloated and tweaked a little. Buglist is in post #2.
[Moto G Android Development] Jorge R:
How do I make myself detected as a model of the 1st generation bike instead of the second one?

PD: If you do not understand, it's because I use google translate
[Moto G Android Development] dannyfritz:
How do I enable lock screen rotation?
[Moto G Android Development] liboriof:
Thank you from your work. I flashing an dirty update and with the missed called the notificaion led is still off.

I try with clean istall.

Edit: Nothing. I did a flash a clean, but the notification led with the missed call is still off, with the app "Led controller" is all ok.
[Moto G Android Development] maurocds:
Identity Crisis 6 (Single-SIM) GNL v1.5b 'Pure Edition' (411mb)

Identity Crisis 6 (Single-SIM) GNL v1.5b 'Deviant Edition' (422mb)

what is the difference?
[Moto G Android Development] Penemue:
Main one is that Pure is unrooted, you can install whichever SU app you want while Deviant is rooted and comes with Chainfire's SuperSU.
[Moto G Android Development] hiepps:
Oh have not dualsim 1033 update.
[Moto G Android Development] Nbuulb:
After a dirty flash on my XT1032, I can confirm the notification led for missed call doesn't work.

Anyway, thanks to lost101 for his terrific job! :cool:
[Moto G Android Development] renatohm:
http://xdaforums.com/showpost.php?p=69548377&postcount=2378
[Moto G Android Development] birdflesh:
It seems that flashing idcrisis6_v1.5_notification_light_fix.zip is still needed on 1.5b pure edition. [MENTION=1006674]lost101[/MENTION] could you please let us know that this is your intention for pure edition?
[Moto G Android Development] Nbuulb:
Where can I download that fix from?

Thanks.
[Moto G Android Development] birdflesh:
Not being mean, I just don't get the point of your answer.
[Moto G Android Development] liboriof:
Naturally, i sharing the thanks for lost101. My second installation is a absolute clean flash.
[Moto G Android Development] Nbuulb:
I've flashed the fix above on Identity Crysis v1.5b Deviant, but the notification light doesn't work yet.

By the way, I'm using Google Dialer instead of the stock One.
[Moto G Android Development] birdflesh:
It seems that notifications for missed calls through led light do not work when using Google Dialer. It is a known bug on nexus devices:

https://productforums.google.com/forum/#!topic/nexus/pthbTAWLTrI

In this link a workaround is described (settings > sound & notification > when device is locked set it to don't show notification at all). It worked for me.

All other notifications (sms, gmail, etc) should work without any workaround or flashing the fix.
[Moto G Android Development] Nbuulb:
The workaround you're suggesting works, but... I also need to see the content of notifications, so actually it isn't for me!

Thanks anyway.

Any other suggestions?
[Moto G Android Development] liboriof:
I want see the notification on the lockscreen, so this solution don't like. I use a little app "Led controller" waiting a fix.
[Moto G Android Development] lost101:
Sorry folks, but I only have one day off work each week at the moment. An XT1032 is my only handset also. I just can't wipe and do testing during the week.
[Moto G Android Development] Nbuulb:
I completely agree. The notification light bug is not so important.
[Moto G Android Development] lost101:
All I've had time to do today is flash Single-SIM v1.4b, and discover missed call notification light was not working in that version either. Flashing the v1.5 fix changes nothing.
[Moto G Android Development] manohar3787:
I have installed the viper fx app and configured it as per their guidelines but it does not affect the sound quality on the earphones in any manner , should i turn on something for it work or does it start working out of the box once installed. by the way i have enabled the option in the app , still nothing
[Moto G Android Development] Choochter:
The app's a bit tricky - flash the zip for guaranteed results:

http://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709
[Moto G Android Development] Fupri:
Can't install Kaminari as it's "not a Moto G 1st Generation device"
[Moto G Android Development] abeloman:
Make sure you're flashing the one for IC, not the one for CM

http://xdaforums.com/showthread.php?t=3345716
[Moto G Android Development] cesarmatute:
After reading a little, it seems pretty clear that Titanium Backup should'nt be used in this rom, but i'm still not sure if there's any alternative that works, or that is less likely to cause problems. Is there any?
[Moto G Android Development] Megatron27:
True that.. Sometimes Wifi automatically get disconnected and then have to connect it.. Not a big deal though.. Can't ask more than this GEM.. Loving it
[Moto G Android Development] moso11:
Maybe it's Marshmallow thing.

It also happens to me on CM13.
[Moto G Android Development] Valbon:
Answers

Keep only one keyboard and select only one language :)
[Moto G Android Development] VitaTaf:
Sorry, I've been very busy with school. How's the audio working so far on this ROM, and could you link where you obtained AudioFX? As far as I know, there are no audio libraries from falcon (at least from the stock ROMs) that will help with any audio issues. Can you also describe how the sound goes haywire?
[Moto G Android Development] DoctorStrange96:
Audio's working well. I've modified the stock mixer_paths*.xml files, based on falcon's 5.1. Also, i used aospb's acdb files for everything except the speaker, since the volume is higher with the stock Speaker.acdb. As for audiofx, i just pulled it off of a cm13 nightly - i'll put a zip here soon. And as for the audio going haywire, i mean distortion and stuttering.
[Moto G Android Development] DoctorStrange96:
Here is a new KaminariKernel build for this rom. 2.0 is no more. This will be called "KaminariKernel IDCrisis Edition".

Its essentially a "2.0 alpha 2" with some of the tcp congestion controllers re-added.

Edit: [MENTION=1006674]lost101[/MENTION]: Could you update the faq, since the kernel is now an IDCrisis-only edition, and no longer "2.0"? And new builds will be posted directly on this thread
[Moto G Android Development] DoctorStrange96:
Notes regarding kernels.

1. Both the new stock kernel and the Kaminari build i just posted allow the rom to boot whether if /data is formatted to f2fs or to ext4.

2. With the stock kernel, SELinux is set to enforcing by default, but you can change it to permissive (required for, e.g. viper4android). But Kaminari has SELinux forcefully set to permissive. You wont be able to change it. Almost all custom kernels need a patch like that anyway, and mine is not an exception.

Edit: Stock kernel link removed because the kernel isn't even booting. I'll take a look into that.

Edit 2: The stock kernel is here. The problem turned out to be the toolchain (damn you, Uber. #LinaroFTW). Good ol' Linaro 4.9 did the trick.
[Moto G Android Development] Chandresh204:
[MENTION=5736790]kingkaminari[/MENTION] is the audio fix also done? And I'm on alpha 2 from your kernel thread.... Do I need to flash this IDCrisis edition over it?
[Moto G Android Development] DoctorStrange96:
The audio fix is here, in this thread. Remember to flash the third version. As for the kernel, you're not obligated to flash it, but i recommend you to xD

Edit: Clarifying. Flash the Kaminari IDCrisis edition. Don't flash the new stock kernel or you're gonna break stuff.
[Moto G Android Development] Chandresh204:
I was talking about the latest audio fix that you mentioned a few posts above that you are going to post a zip. I asked lost101 and he said audio fix 3 has been incorporated in 1.0c but I still face some audio stutter.
[Moto G Android Development] likurik:
KamiKer IDC Edition ;)
[Moto G Android Development] Chandresh204:
How to set the selinux to permissive ? Does compass work without it? I'm using root explorer
[Moto G Android Development] dark_knight_95:
i flashed the kaminari idcrisis kernel the beta 2 version my wifi is not turning on.

plaese help
[Moto G Android Development] DoctorStrange96:
Use an app, e.g. SELinux Mode Changer, or an init.d script. And no, compass doesn't work if selinux is set to enforcing. Alternatively, you can change it to permissive via shell (setenforce 0).
[Moto G Android Development] abeloman:
I'll upload a script that uses su.d to set permissive, but when I got my laptop... Right now using Tapatalk and I can't upload zips...
[Moto G Android Development] Chandresh204:
I read from the forum, and edited the file 08setperm in /etc/init.d/08setperm

And added these lines:

#!/system/sh

setenforce 0

Now how do I check if it is set to permissive? Not showing in about phone like it did in lollipop
[Moto G Android Development] kevinkid1908:
Bugs

Please fix some bugs. Thank pro:

- Can't use Google Now on Tap (Home Button) after installing Google from Play Store.

- Widgets disappear after reboot.

- Can't uninstall system apps (I use titanium back up)
[Moto G Android Development] abeloman:
Download selinux changer, just to check if you already are on permissive (by the script you made)... If permissive button is disabled, you're done... You no longer need the app

Edit: the app is no longer on PS, so you must sideload by doing some Google research
[Moto G Android Development] dark_knight_95:
guys please help :crying: wifi as well as hotspot not working after flashing latest kernel