yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] murrayhawk:
Still no network! :eek: I went back to stock firmware and the problem persist. Could it be a hardware issue? Do you know where is located the antenna? Maybe I can test it with a multimeter. One interesting thing is when I turn on the wifi, near the empty signal bars appears a G letter.
[Moto G 4G Android Development] lost101:
If you start a thread in Q & A, I will try to help you there. Don't pull your phone apart until other options are exhausted. Add the tag [MENTION=1006674]lost101[/MENTION] to get my attention on your thread.
[Moto G 4G Android Development] wagmic:
Merci

Thank's for the job.

incredible work!

Encore merci :good:
[Moto G 4G Android Development] n0elite:
Welp, first ''custom rom'' on my Moto G. I just had the phone for a week, but wanted to root it, so I thought why not trying 6.0 anyway.

Going to play with this rom, see if it's stable for me and maybe flash custom kernel after a while.

It's been running fine so far, I'm installing apps and going to try see how Pokemon Go works with this rom.

Thanks OP :)
[Moto G 4G Android Development] n0elite:
I was wondering, I installed Motorola Gallery, but I read that it was removed from the ROM because it caused crashes. Is it working with 1.3b now?
[Moto G 4G Android Development] lost101:
I provide detailed change-logs for every version of these ROMs. Motorola Gallery will still crash - I consider the performance gains by not having the required services running, far outweigh having that app fully functional. There is also the potentially very serious situation of having an official Motorola OTA Update get through. Accepting such a update (intended for Thea) would likely destroy your handset.
[Moto G 4G Android Development] n0elite:
Alright, I uninstalled the app. Thanks for the quick response. :)
[Moto G 4G Android Development] panagiotis15:
xt 1040 dead

Hi .I have a xt1040 with the last 1.3 d rom.Last night let my phone home with 80 percent battery.When i returned back i found it switched off.I tried to turn it on but with no luck.The only thing that does is when i connect the charger turns on the white led.Cant enter to recovery cant do nothing.Is there any solution?I am writing to that section because maybe someone has the same rom and faces the same problem.
[Moto G 4G Android Development] Pupet_Master:
Sound like a dead battery, not a ROM/Software issue.

If the battery was ok, it would start on the bootloader atleast.

But if you are sure its a software corruption, you can put the phone in download mode (as this mode enter even with a bad battery) and check a tutorial to install the stock rom via adb.

But i must say, it is the battery not the software so i wouldn't mess with adb in download mode
[Moto G 4G Android Development] panagiotis15:
Well....i believe the same.....i made a further step and opened the phone and disconnected the battery from the motherboard and connected directly the wall charger to the phone.Nothing happened.Continues with the white led and doesnot start.I dont give a minimum chance of corrupted software but i would believe that just with the charger the phone would start but i have no experience how the moto g works.In my previous Milestone A853 the phone was starting just with the charger and without baterry connected but this doesnt happen to all phones.Thanks for your reply.I will test a new baterry to see what happens.....believing that i have not a dead motherboard...
[Moto G 4G Android Development] lost101:
[MENTION=5265789]panagiotis15[/MENTION] - This is a common issue (I have experienced it myself many times) and is covered in the Moto G FAQ:

Q28: Moto G will not power up​

Something (an app or service) has caused severe battery drain and thus shut the phone off with zero battery. It's not an issue with this ROM, but something you have done to the ROM. You must follow flashing instructions in first post exactly.
[Moto G 4G Android Development] Pupet_Master:
Sadly modern smartphones just don't work with a bad battery or with no battery, so disconnect the battery and the phone to not boot up is actually normal.

What you need is to buy a new battery and then connect to it, it should work.

If not, then it is a deeper hardware problem.

The phones only work on download mode without a battery sadly.
[Moto G 4G Android Development] panagiotis15:
I am sure 100% that is not a ROM issue.I tried a lot this ROM and worked perfectly for me...I dont know.....i installed a incoming call app to make a restriction but i thing that cant drain the battery.When i flashed the ROM was working perfectly ...i had no issues with it at all
[Moto G 4G Android Development] lost101:
You can speculate all you want - there are a million and one things that can happen with Android. Just try those steps above before ordering a new battery.
[Moto G 4G Android Development] panagiotis15:
News updated.I opened my moto g again took off the battery and replaced with the battery of my wifes Xt1040.For my surprise it didnt work at all did not come alive.No signal of life .The biggest shock i got was when i put to her phone my dead phones battery and it started working and continued normally with no issues at all.

At this point i wanna add that her phone has a Inentity Crisis 1.3d Rom and works perfect since the early days of Identity Crisis.

Seems that i have a severe hardware issue that could be a dead motherboard at all.For sure that is not a battery issue ,and thats why the steps you gave me to do did not worked for me :(
[Moto G 4G Android Development] Pupet_Master:
It may be a dead motherboard or the memory got corrupted bad.

I think now is a good idea to put the phone on download mode and adb flash the stock ROM and the bootloader again.

I mean if it was a dead motherboard even download mode would not work
[Moto G 4G Android Development] panagiotis15:
Unfortunately doesnot enter to download mode.Actually does respond to any actions, just get the white led when i connect the wall charger
[Moto G 4G Android Development] matthias1976:
Battery iss copletly empty !?

When battery iss copletly down i often got that probkem with white led and no charging.

Dibt touch telephone for a day and then use a good powerful charger, no usb cable on computer, and connect to chargen and wait. For me telephone come back after some time
[Moto G 4G Android Development] n0elite:
After trying this rom out for the past 2 days I noticed that Pokemon Go doesn't run as good as on stock lollipop. GPS connection gets dropped a few times per hour and after GPS disconnect I have to close pokemon and open again in order to get a GPS lock. Are there any tweaks that can be applied to have less disconnects?
[Moto G 4G Android Development] J0hnick:
Doesn't Pokemon Go require 2GB of ram ?, our phone only has 1, I'm amazed it runs at all.
[Moto G 4G Android Development] lost101:
GPS Status and Toolbox might help.
[Moto G 4G Android Development] M_Naranjo:
What is "Post-install zipaligning (Darky / Fly-On Mod™)" ??
[Moto G 4G Android Development] alnaufra:
Hi,

Awsome room, just a little thing, i can't use the smartunlock feature with my xiaomi mi band.

This happens in all the 6.0 i've tried.

Someone has got it to work?

Thanks in advance.
[Moto G 4G Android Development] lost101:
What is 'Zipaligining' | Post-install zipaligning?

Zipaligining

It makes apps use less RAM. Longer answer.

Post-install zipaligning

Newly installed apps are zip-aligned after reboot. This process occurs only once per app, as a database exists in /system/usr. When an app is updated, the new apk will also be zip-aligned and added to the database.

According to the FAQ in this thread you need a MIUI ROM - that's probably the place to ask if the situation has changed.
[Moto G 4G Android Development] alnaufra:
Okay, i'll look into it, but with lollipop this was working with my moto so thats why i asked.

Thanks!
[Moto G 4G Android Development] supersutra:
I have done a dirty flash from Android 5.1 for me (no format data ) and i have no problem thank you very much for this rom.

Envoyé de mon XT1039 en utilisant Tapatalk
[Moto G 4G Android Development] pio80:
Hi guys,

Before I've done this I had some bad feelings...because of cm13 (very good release , stable, clean, without any bugs, I was thinking is it worth to change..) and now I know I will stay here for a long time..[emoji1]

After some usage of time I didn't find anything wrong in this compilation (idcrisis1a), aosp experience, no fcs and good battery life (to verify..).

I have to add one thing : flashing rom in the twrp recovery takes strangely long time and after that I noticed one random? purposeful? reboot instead of proper start[emoji6]

Thanks
[Moto G 4G Android Development] pio80:
What the...Am i blind ..[emoji13]
[Moto G 4G Android Development] raf.lozano:
Comparing to cm or any other MM ROMs, how do u think it's the battery in this one?
[Moto G 4G Android Development] supersutra:
Hi I have just found two bugs : the auto brightness turn the screen black when the brightness is under a certain minimum value and the other, the compass is disable.

Envoyé de mon XT1072 en utilisant Tapatalk
[Moto G 4G Android Development] pio80:
In my opinion battery consumption is more hm..predictable and the important thing is , compare to the cm13 that initial fall of battery percentage is lower than expected.
[Moto G 4G Android Development] Jeconias Santos:
Very good! I am awaiting the new builds. xD
[Moto G 4G Android Development] pio80:
I found this bug as well. When we turn slider max to the left - the screen flickers strong enough - its a bad thing[emoji22]

From the other side I am not sure if sound output is too strong , I can hear some distortions compare to the cm or stock lollipop , (to verify)

Regards
[Moto G 4G Android Development] lost101:
'Extras' section added to OP:

Google Dialer (Caller ID and search nearby businesses)​

Note: The zip will remove the Stock Dialer.

EDIT: Sorry, removed file - needs fixing.

EDIT2: File re-added.
[Moto G 4G Android Development] mosta00:
Don't work for me,, XT1040 , google phone app stoped! :rolleyes:
[Moto G 4G Android Development] lost101:
Yeah, I tested with a fresh Android install and it seemed to work without problem. After restoring a TWRP system backup - it crashes if flashed.
[Moto G 4G Android Development] tenchi16:
doubt

hill in Brazil . I wonder if this rom catches in my cell because the signal towers are different . and also and I will not lose my imei
[Moto G 4G Android Development] lost101:
You certainly won't lose your IMEI. It's safe to test and then report back to us.
[Moto G 4G Android Development] lost101:
v1.1 is now available in OP.

Changelog:

Fixed: Compass - No longer need SELinux=permissive - (thanks [MENTION=5736790]kingkaminari[/MENTION])

Fixed: Auto-brightness calibration (thanks [MENTION=5723969]parrotgeek1[/MENTION])

Fixed: init.d support

Added: Post-install zipaligning

Updated: SuperSU v2.65 to v2.68

Changed: Removed 'System Updates' menu item from Settings > About phone​
[Moto G 4G Android Development] geokor:
Will dirty flash work ? Keeping the already installed apps and settings?
[Moto G 4G Android Development] rouyal:
I'm just trying this rom out tonight. I tried flashing latest 1.1, and after finishing flash, phone boots straight into fastboot menu. Tried 1.0a and it boots fine.

message in fastboot --> fastboot reason: fall-through from normal boot mode
[Moto G 4G Android Development] sztandi:
I have the same problem phone boots in fastboot mode
[Moto G 4G Android Development] tme_007:
Hi,

At this time, I tried v1.0a during all week-end but unfortunately I found that battery consumption is higher than your previous 'Optimized' version (in 5.1). Then I switch back to this last one.

I can use it during 1 very long day but compared to 2 days of Optimized one, this is different ... so is there planned to include your 'optimized' tips & tricks in this ROM ?
[Moto G 4G Android Development] lost101:
Can you try this: Flash ROM and then immediately KaminariKernel IDCrisis Edition.
[Moto G 4G Android Development] lost101:
Can you describe exactly what the issue is? Can you pair by Bluetooth?

Edit: Check out the last two pages of this thread. Various solutions suggested.
[Moto G 4G Android Development] alnaufra:
Yes, the band sync correctly with the app, but doesn't appear in bluetooth devices. Normaly you enter into the app an it makes it visible but this is what is not working.
[Moto G 4G Android Development] lost101:
http://en.miui.com/forum.php?mod=redirect&goto=findpost&ptid=154842&pid=5457375​
[Moto G 4G Android Development] alnaufra:
Looked into thah before... won't pair. Aparrently in 6.0.1 this is fixed, i'll try and let you know.

Thanks!
[Moto G 4G Android Development] lost101:
v1.4a of all ROMs now available in OP.

Changelog:

Added: New Optimized Stock Kernel / Modules (Thanks [MENTION=5736790]Kamin4ri[/MENTION])

Fixed: Low Brightness Flicker (Thanks [MENTION=5968106]juancmb[/MENTION])

Fixed: Auto-brightness calibration (thanks [MENTION=5723969]parrotgeek1[/MENTION])

Fixed: Corrected power-profile settings (thanks [MENTION=5723969]parrotgeek1[/MENTION])

Updated: Calender (v5.5.18) | Calculator (v7.0.1) | Play Store (v6.8.44)

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

Updated:: SuperSU (v2.78)

Updated: Newest Emojis included with final Android 7.0 (pulled from Nexus 5x 7.0 firmware image)

Tweak: Disable 'ADB Debugging' notification

Removed: 'System Updates' menu item from Settings > About phone

Changed: Minimum / Idle CPU Frequency is going back to 787MHz for now​

Notes:

Clean install (as described in OP) highly recommended.

I think I've finally figured out the correct way to modify framework-res and other system apks - Tutorial here.

Battery-life should improve overall due to the power-profile corrections and the included Optimized Stock Kernel. You may also notice better performance because of the new kernel, however most of the changes in that area are security patches.

To clarify, v1.4a includes a new kernel which has been patched for kernel-related vulnerabilities. Android itself does not have any additional security patches.

A note regarding Play Store; a bug occasionally appears during initial setup where apps will not install. This seems to be related to the T & C agreement pop-up not appearing. To resolve: Clear data for Google Play Services and Play store and reboot.

Settings > Apps > Google Play Services > Storage > Manage Space > Clear all data

Settings > Apps > Google Play Store > Clear data​
[Moto G 4G Android Development] lost101:
Apologies, but links for v1.4 temporarily removed due to possible Kernel issue. They will be restored asap.
[Moto G 4G Android Development] lost101:
Links for v1.4a now available in OP. Same changelog as above.
[Moto G 4G Android Development] wurstel:
hey lost101, is this a newer Version ported from thea? what security patch level date does it have?

edit: oups, I read that again and found the info, sorry...
[Moto G 4G Android Development] razlack:
Hi [MENTION=1006674]lost101[/MENTION], is this built in kernel KaminariKernel R5?​
[Moto G 4G Android Development] lost101:
No. The change-log is detailed and as clear as I can make it.
[Moto G 4G Android Development] razlack:
No worries, just contemplating which kernel to use. I will be installing 1.4 today at some point. Never had a bad experience with this ROM.

Thanks for your hard work!
[Moto G 4G Android Development] wagmic:
Thanks for the job

one question if i remove SuperSu from tge zip can i still encrypt the phone ?

If yes can i use after encryption that one one you propose in the first post ?

Thanks by advance
[Moto G 4G Android Development] lost101:
That's two questions, but yes is probably the answer to both.
[Moto G 4G Android Development] panagiotis15:
A dirty install upon a 1.3b version could be an issue?Could cause any problem?
[Moto G 4G Android Development] lost101:
Changes to framework-res and other system apks could result in OS instability if you 'dirty flash.' It's your choice, but be prepared to have to clean install (as described in OP) anyway.
[Moto G 4G Android Development] Eddy Stark:
Fixed: Low Brightness Flicker (Thanks [MENTION=5968106]juancmb[/MENTION])

Fixed: Auto-brightness calibration (thanks [MENTION=5723969]parrotgeek1[/MENTION])

Now the is rom perfect! Thanks
[Moto G 4G Android Development] panagiotis15:
After received a displacement logic board i managed to make a clean fresh install.Yes the changes are noticable and the Rom works better than ever!
[Moto G 4G Android Development] benjoe1:
Does it contain hungarian language?
[Moto G 4G Android Development] vinimdi:
Sorry to bother you. But the output volume on headphones has been changed? I noticed that the volume on headphones lost some gain on this last release. Any of you experienced this too?

But man, this ROM is awesome, you gave new life to my phone, thank you so much for your hard work.
[Moto G 4G Android Development] lost101:
Not at this time. I'll see if it's possible to add it.

How did you flash the ROM?
[Moto G 4G Android Development] benjoe1:
Thanks for your effort.
[Moto G 4G Android Development] vinimdi:
I did the clean flash. I've followed the step by step on the first page. I didn't wipe the system partition, cause it wasn't on the instructions, should I did?
[Moto G 4G Android Development] lost101:
There was no deliberate change to volume headphone gain in v1.4/v1.4a. I need to be sure it's not an issue you have created, or just your imagination. Wipe system also before flashing, although a factory reset as instructed in OP should do so.
[Moto G 4G Android Development] Eddy Stark:
I found a little bug on v1.4a

When I connect the phone to your PC and delet the memory card files even though they are deleted the card, the card continues to show that it is full. you must restart the device to realese space

sorry for my bad english and thanks for the amazing rom!
[Moto G 4G Android Development] lost101:
You must flash the ROM exactly as described in first post.
[Moto G 4G Android Development] Raikem:
I've clean installed 1.4 and the recomended kernel. I was previously on 1.3a since it was released and it was working perfectly. But now, maybe because of the new version or because of the kernel, wifi is using most of my battery. You can see that in the photo.

Overall, solid ROM thank you.
[Moto G 4G Android Development] lost101:
There is a new 'Kernels' section in first post. 'Original' version was included in ROMs prior to v1.4, 'Optimized' version is included in v1.4 and newer.

Flash the 'original' version, test for WiFi issue. Flash the 'Optimized' version and test. Report back.
[Moto G 4G Android Development] Raikem:
I'm using KaminariKernel, but I'll try original and optimized. Can I flash a kernel without wiping my data?
[Moto G 4G Android Development] Eddy Stark:
I made it. I use your rom since old versions, but never had this problem before. and yes, I did a clean installation.
[Moto G 4G Android Development] Raikem:
With 'original' version the problem is fixed.
[Moto G 4G Android Development] vinimdi:
I made all tests as I could, and yet I notice lost gain on headphones output on this last release. But we need more people to test it. Like you said, could be my imagination, but I asked more people to hear, and they noticed the same as I did.
[Moto G 4G Android Development] Raikem:
'Optimized' has the same problem. So for now I'm going to use the Original kernel, if you need to test something let me know.
[Moto G 4G Android Development] dovahkiin4756:
[MENTION=1006674]lost101[/MENTION] is there any way to disable the setup wizard like it used to happen on earlier versions of this ROM? I tried removing "setupwizard.apk", but the home button won't work when I do that, and the notification drawer gets locked.
[Moto G 4G Android Development] lost101:
That's already known, considering that is the Kernel used in v1.4a.

Edit the build.prop prior to flashing the zip:

ro.setupwizard.mode=DISABLED
​
[Moto G 4G Android Development] carlos@18:
Hello, I like your ROM, is very fast, but I believe that the version of Android should be updated, from 6.0 to 6.0.1 and update the Android security patch level, it's only a suggestion, sorry for my bad english, good night
[Moto G 4G Android Development] lost101:
Motorola have only released this version of Android Marshmallow. This ROM is not open-source, and cannot simply be updated to 6.0.1. We must wait for Motorola to release a new version, and / or security update. The other option is to port a 6.0.1 ROM from another device - which is much harder, and may not even be possible.

That being said, this is not technically 6.0. It has features that only exist in 6.0.1. It's a hybrid of 6.0 / 6.0.1.
[Moto G 4G Android Development] carlos@18:
Ok tank you for you answer, so I'd like to you add a gesture of CM13, double tap in the power button open the camera in shutdown screen, is it possible?
[Moto G 4G Android Development] cpvm:
This is like a stock rom, CyanogenMod features cannot be added.

Enviado desde mi XT1021 mediante Tapatalk
[Moto G 4G 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 4G Android Development] vinimdi:
Hey Lost,

Thank you very much for giving attention for the headphone volume thing. I'm sorry if I bothered you with this. I'm gonna test the new version asap. And thanks for giving new life to our Moto Gs =D
[Moto G 4G Android Development] Wickie69:
Thank you. Everything is working fine (incl Pokémon go). But i have a Problem with Google fit. It doesn't work.
[Moto G 4G Android Development] lost101:
Could you be more specific? In what way does it not work?
[Moto G 4G Android Development] thE_29:
Damn it.. Just installed the ROM yesterday on my GF phone and now Magisk version.. Now everything again :/
[Moto G 4G Android Development] pan05:
[MENTION=1006674]lost101[/MENTION] thank you again for your awesome work for our peregrines!

I've tried the 1.4x series of the rom, found no major issues at all but i think i'll stay with the 1.2b version which uses supersu and works really really good for me. Would it be possible to inform us a bit about the screen flickering fix as I was wondering if I could apply just this fix on my 1.2b rom?

Thanks again for your time and effort.
[Moto G 4G Android Development] lost101:
Replace the /system/framework/framework-res.apk in v1.2b, with the one in v1.4b.
[Moto G 4G Android Development] pan05:
Thank you for your answer. It works great!
[Moto G 4G Android Development] gamingcrack:
returns to SuperSU, please :(

As Magisk uninstall? also I wanted to change the app "phh'ssuperuser" with the SuperSU of Chainfire in 1.4b.

Clash royale is laggy, also freezes and closes.

Thanks for you work :D
[Moto G 4G Android Development] M_Naranjo:
As SuperSU change ? and because royale clash quits unexpectedly ??

please help :(
[Moto G 4G Android Development] Wickie69:
It shows no goals. The timeline doesn't shows the actual and the last day and the map in the recent workouts doesn't work. But I made a clean correct installation as you prefer.
[Moto G 4G 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 4G Android Development] damian3581:
Excellent
[Moto G 4G Android Development] lost101:
Flash the Original Adreno / GPU driver in TWRP.
[Moto G 4G Android Development] Wickie69:
QUOTE=lost101;68753265]Could you be more specific? In what way does it not work?[/QUOTE]

It shows no goals. The timeline doesn't shows the actual and the last day and the map in the recent workouts doesn't work. But I made a clean correct installation as you prefer.

What could be the Problem.

Have only i this Problem?