yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] Lurker-Observer:
Hi.

I just wanted to tell my "way" of encrypting the device, tried to do it like [MENTION=7497489]luks333[/MENTION] said, but didn't understand/doesn't work.

- Flash TWRP and flash Identity Crisis and other zips if you like.

- Reboot your Android to Bootloader.

- Flash CM Recovery (any Nightly version)

- Boot your Android to Recovery JUST AFTER THE FLASH (so you don't do twice the next step)

- In CM Recovery use the Factory Data Reset.

- Wait then reboot to system.

- Encrypt your phone.

- Reboot to Bootloader then flash TWRP (or your Recovery of choise) and done.

This will obviously delete the data, this way is only for the fresh install of the custom ROM.

The phone doesn't ask for passcode/pattern?

Change/re-enter your passcode/pattern then choose the ask for passcode on reboot.

Hope this helps, encryption is a must for security and awesome if your device gets stolen.

Finally [MENTION=1006674]lost101[/MENTION] Will you please answer my questions of the two previous Question posts? I'm thinking about using this ROM if those things can be fixed.

Is there a way to flash Open Gapps without the bugs? or how can I put GApps on the ROM to have the stock experience?

Thanks.
[Moto G 4G Android Development] lost101:
[MENTION=6657428]Lurker-Observer[/MENTION] - Please watch the tone of your posts, they come across as very hostile. You must follow the flashing instructions in first post exactly. You must not flash gapps. Do not restore apps via titanium backup. Do not hack / mod the ROM in some way.
[Moto G 4G Android Development] Lurker-Observer:
[MENTION=1006674]lost101[/MENTION] I'm reading them again and find nothing hostile, I was just asking some questions so I can donate to the developer, in this case, you.

But, thanks, I guess it is hard to modify/repair the visual/sound bugs. Keep the good work and sorry if my posts were hostile.
[Moto G 4G Android Development] lost101:
You keep making assumptions. I'm telling you - flash this ROM properly - or you will have all sorts of issues.
[Moto G 4G Android Development] Lurker-Observer:
Don't know if you've tried on your own device, or some of the users here can report to help, don't have reasons to lie to you, that I admit is a really good ROM.
[Moto G 4G Android Development] lost101:
Can we start again? The flashing instructions in first post are specific.

A factory reset in TWRP is not good enough

. I want to establish how you have flashed this ROM.
[Moto G 4G Android Development] Lurker-Observer:
I followed the instructions, then I did a dirty flash (the first time when I said it in the post). Then I tried again after some time following the instructions without dirty flash and that's when I reported the bugs.
[Moto G 4G Android Development] rockethot1587:
Life Battery

very good job, the room is excellent and run faster and no problem. but the life batery of mi Moto G is very short. With Lollipop during max 24 hours, with 6.0 no pass of 12 hours. although i prefer more internal store, i love this funcion :D

Again, thanks
[Moto G 4G Android Development] lost101:
[MENTION=6657428]Lurker-Observer[/MENTION], [MENTION=7549783]rockethot1587[/MENTION] - Did you format Data in TWRP prior to flashing the ROM? Wiping is not the same thing, nor factory reset. The specific instruction is in first post for a reason.
[Moto G 4G Android Development] Lurker-Observer:
Yes sir, I always follow the instructions, maybe is the thing I said on the past posts (the visual bugs because of Thea port, etc) also I almost forgot, when you hit the 5% of remaining battery it instantly turns off.
[Moto G 4G Android Development] lost101:
I wish you would stop making assumptions about this ROM. You have still not provided enough information - state everything you have installed after flashing the ROM.
[Moto G 4G Android Development] Lurker-Observer:
Ok, I give up. I will stop "making assumptions" only thing I say is if you have a Moto G that is not Thea, test your ROM and you'll see all the things I said on previous posts, I'm not going to post screenshots of the bugs because you will not going to believe me.

As I said before, goodbye, I'll stick to Stock of Peregrine. Nice port.

Again if I sound hostile in the past or now I just wanted to get some answers (I thought I was going to get them first) and help this ROM to be more complete.
[Moto G 4G Android Development] Pupet_Master:
Lurker, make a test, see if it work. In a older device i had this hard to be done.

Try to flash the bootloader and radio from LP again.

Then wipe:

Art/Dalvik Cache

Data

Internal Memory

System

Then flash the latest CM13 and see if it boot.

If, so Wippe

Art/dalvik cache

Data

System

*but keep internal memory for now

Flash this ROM and after the boot if it loop again, wipe internal memory.

It may work.
[Moto G 4G Android Development] lost101:
And exactly how is Peregrine different from Thea? If you actually did the research you would see they are almost identical hardware. The issues you describe have nothing to do with this ROM being released for 'Thea.' This ROM is not hacked together, it is a near clean port. Any behavior you see is most likely by design by Motorola. Thea users experience the exact same system behaviors. Android will change over time as apps get updated.

I've been working with Moto G for many years and 99.9% of the time, ROM issues are created by people themselves who have done something to break the ROM or not flashed it properly. Stock ROMs (such as this one) need to be flashed after formatting /data, otherwise a wide variety of issues can arise.
[Moto G 4G Android Development] panagiotis15:
Mate i have installed the Motog4 pluc camera as its described onthe motog 2015 section.It works like a charm .Have a try ....its very nice.But follow exactly the orientations!Have a good luck!
[Moto G 4G Android Development] mizi_:
Please, post log on pastebin, not here ?

Inviato dal mio Amazon Tate utilizzando Tapatalk
[Moto G 4G Android Development] necr:
Hi, is the encryption tested in v1.3?

I need to enable it for work, but don't want to wipe my phone for nothing, because now it's rooted and it doesn't work
[Moto G 4G Android Development] lost101:
Encryption will work in any version of this ROM, if you are unrooted. Root after enabling it.
[Moto G 4G Android Development] necr:
Well... I removed supersu, flashed the rom normally, just added my google account, didn't recover anything, encryption does just a soft reboot. :(
[Moto G 4G Android Development] tonibm19:
The rom includes root by default.

You've to flash the rom, disable root, encrypt and reenable root.
[Moto G 4G Android Development] necr:
As I said, I removed supersu from the zip, before flashing the rom. Isn't this enough to remove root?
[Moto G 4G Android Development] tonibm19:
Sorry, I missunderstood you.

It should be.
[Moto G 4G Android Development] Pupet_Master:
I don't think so.

SuperSU is just a software to make the interface of a root access and the user to give input.

There are ROMs with root that still is rooted even if you take off the SuperSU, as you can install SuperSU on a unrooted ROM and the ROM wont have root access.

To disable you need to change more.
[Moto G 4G Android Development] johan111:
In the SuperSU settings you will find the "full unroot" option. I think it will make what you want.
[Moto G 4G Android Development] Pupet_Master:
Yea but it he remove it from the ZIP, he wont unroot for real ;)
[Moto G 4G Android Development] lost101:
Yes. The ROM is completely unrooted if you remove the 'supersu' folder from zip prior to flashing. Your issue is something else. You must make sure you do a clean install as described in OP.
[Moto G 4G Android Development] murrayhawk:
Hi, I tried to install 1.3 and 1.1 but it keeps crashing no matter whats, Reason: "Fall-trough from normal boot mode". "Boot up Failed" I have the XT1072 Thea with MM 6.1 stock (Bootloader unlocked, TWRP 3.0.2-3). Any ideas?
[Moto G 4G Android Development] lost101:
This sub-forum is not for your handset. It's strictly Peregrine only. This ROM has been ported and will only boot on Peregrine handsets in it's current form. If you flash the Thea 6.0 Kernel, the ROM will boot.

The Moto G 2nd Gen LTE sub-forum is here:

http://xdaforums.com/moto-g-lte​
[Moto G 4G Android Development] lalasus13:
It worked for me like a charm! I had to flash radio firmware 5.1 because WIFI and calling didnt work! Thanks lost101!
[Moto G 4G Android Development] lost101:
v1.3a of all ROMs now available in OP.

Changelog:

Updated: Google Clock (v4.5.1) | Calender (v﻿5.5.7) | Keyboard (v5.1.13) | Play Store (v6.8.20)

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

Updated: Google TTS (v3.9.14)

Updated: Busybox (v1.25.0)​

Notes:

Dirty flash, probably okay. Any issues, clean install (as described in OP).​
[Moto G 4G Android Development] gb2b:
thank you for your work
[Moto G 4G Android Development] mustapha.dkhissi:
Hello,

Thanks for that Awesome ROM !!! There is no better than STOCK + XPOSED.

can you change the model recognized on system to XT1039 ? or how can I do that after installation ?

Thanks !
[Moto G 4G Android Development] panagiotis15:
Dirty flash upon a fresh installed older version.No issues at all.The Rom is working like a charm.Perfect work!
[Moto G 4G Android Development] Zdog291:
Hello, fantastic ROM, I was wondering how you managed to get the brightness so low. It is by far the best ROM interms of reaching a great minimum brightness and I use it a lot for bedtime browsing. I'd like to be able to reproduce it on my future phones.
[Moto G 4G Android Development] damian3581:
The screen flickers a bit, the less brightness the more you can see it (best results if you turn slider max to the left, go to dark room and check something with a white background, eg. Settings menu)
[Moto G 4G Android Development] lost101:
I have thought about it and asked myself (a) is it necessary, and (b) worth doing. The answer was 'no' to both. There may come a time when that identifier is important. Learn how to edit Android xml files if you want to change it.

The minimum brightness has not been changed and is default. I have not noticed what you mention; perhaps it is a consequence of what I describe below.

There is a Bugs List in post #2. Origin is suspected to be Bootloader / Kernel compatibility issue that may never be resolved. Essentially the Peregrine Bootloader has not been updated to fully support the Stock Marshmallow Kernel - such a scenario has resulted in flicker issues with earlier versions of Android.
[Moto G 4G Android Development] Vermillion96:
I might be slightly out of topic with this, but recently, somebody in the forum found a way to fix kernel issues in Moto G. He found out the solution for the Kitkat screen flickering with Lollipop bootloader. It is made by applying some patches published by Motorola on Github.

Perhaps I was wondering: if you apply those patches to the Marshmallow kernel, could it work to fix the flickering bug on the Identity Crisis ROM?

Maybe I´m saying something without any back ups, but who knows...
[Moto G 4G Android Development] cyphoro:
I am not able to encrypt my phone after flashing this Rom with the kanin4ri kernel.

Starting the storage encryption under Settings, Security, the phone immediately reboots.

Can anyone confirm this?
[Moto G 4G Android Development] Vermillion96:
Unroot the phone, encrypt and root the phone again.

If the phone is rooted, you can´t encrypt the phone.
[Moto G 4G Android Development] itslumxz2:
just moved from cm13 to this, great job, works flawlessly on my peregrine.

one thing though, I'd love the Night Mode on the drop-down menu just like cm13 has it, other than that I have no complains.
[Moto G 4G Android Development] R3ISEN:
Testing on XT1045... so far very good :D.

Thank you!
[Moto G 4G Android Development] Vermillion96:
Mmmm, lost already said that he wants to keep this ROM as similar as possible to Motorola Stock. That´s why he doesn´t add too much stuff.
[Moto G 4G Android Development] Wyneg:
Confirmed in my case, dirty flash running smooth ;)

Thanks again!
[Moto G 4G Android Development] lost101:
It was my theory also that Kernel / Bootloader was the cause, however [MENTION=5736790]Kamin4ri[/MENTION] has investigated and it is apparently not so. The mentioned patch is not necessary, more-so the Kernel changes between Lollipop and Marshmallow are not as significant as those between KitKat and Lollipop.
[Moto G 4G Android Development] cyphoro:
unfortunately that does not work. I unrooted my phone, tried to encrypt it and again I saw a wired droid and after a view seconds it started again.

I thought the reason could be the hybridstorage I use (SD card marked as internal). hence I unmounted my SD card and tried to encrypt the phone again. without success.

any other ideas?
[Moto G 4G Android Development] Vicsa:
First of all my thanks to lost101 and all of the guys that helped making this awsome rom work! :good:

Model name can easily be changed by changing the last two digits of 'ro.product.model' in build.prop. I 've done it with 'es note editor' within 'es file explorer' (see picture: just hit the pencile in upper right corner, make this change, exit - save, reboot, done) :)
[Moto G 4G Android Development] Vermillion96:
At the moment, this is the only workaround.

If you want it to appear as "Moto G (1st Generation) with 4G", you have to edit some XML files.
[Moto G 4G Android Development] Ninefox93:
I flashed Kaminari's kernel last version and now i get bootloop if I change to Motorola's kernel, any idea?
[Moto G 4G Android Development] ranoc:
Hi, I installed that Rom 3 weeks ago, and I have to reboot my phone regularly.

It's like that my rom is in read only.

For example: Pictures in whatsapp stay blury, I can't create folder with es explorer, I can't take photo...

What can I do to fix that?
[Moto G 4G Android Development] lost101:
I'm fairly certain your problems have nothing to do with this ROM itself. Did you flash exactly as described in first post?

Another possibility is that your Moto G is starting to die, as read-only issues are a classic indicator of corrupt emmc - for which there is no cure.
[Moto G 4G Android Development] ranoc:
Nooooo, you can't say that :crying:

In fact, my phone works well (although gallery crashes very often) and at a moment, I can't write on memory.

I use SD card to expend ROM.

After reboot, I always have "Please reinsert SD Card" (not the exact message 'cause in french) and I have to reboot one more time.
[Moto G 4G Android Development] mizi_:
Use SD card for expand ROM on this phone is a bad idea: it causes a quick sdcard dead.

Inviato dal mio Amazon Tate utilizzando Tapatalk
[Moto G 4G Android Development] lost101:
[MENTION=7620810]ranoc[/MENTION] - You must flash the ROM exactly as described in first post.
[Moto G 4G Android Development] pio80:
Hi,

Heh I have to add something [emoji16] this sentence makes me sad and shows the main problem. We need to ask ourselves can I trust moto g? What the fu..is this : corrupt mmc! (In less than a year or close). I feel strange and I'am laughing cause I experienced the same situation. Interestingly I bought new moto g3 and I wonder if I didn't make a mistake..

Wysłane z mojego MotoG3 przy użyciu Tapatalka
[Moto G 4G Android Development] lost101:
[MENTION=6633647]pio80[/MENTION] - All phones will likely get emmc corruption eventually. There is nothing wrong or weak about Moto Gs. My launch day (Nov 2013) Falcon is still going strong. I'm only saying the issue has come up multiple times in Q & A section because Moto G (1st Gen) is now a few years old. Any other phone this old is just as vulnerable.
[Moto G 4G Android Development] pio80:
Ok I hope g3 will work more than "unlucky one"[emoji1]

By the way I have grave reservations about motog3 touchscreen - it behaves not properly , too sensitive , problem with recognize more than one touch point ..

"Low price , low quality" I hope this saying is not true

All of these things raise concerns, if I can unlock the bootloader and take advantage of custom roms (2 years warranty)...

Regards
[Moto G 4G Android Development] karbon222:
My moto g 1st gen lte after 2 years the same behavior..damage emmc -

Errors, i cant boot system.

I think.about honor 5x, moto g3 2gb again or k10 lte dual..
[Moto G 4G Android Development] pio80:
Hi,

Can I suggest something?

My wife has a Samsung Galaxy a3 and its great , size , performance , amoled display (only low resolution - it doesn't affect our usage at all), small battery 1900 but I can't really see diffirences, the almost same specs like moto g3...

As for me I am thinking about xiaomi mi4 , mi4c or redmi3(note) - they have good reviews, You can unlock the bootloader without losing Your warranty, probably this will be my next one after mmc corrupted hehe (joke) ?

Regards

Wysłane z mojego MotoG3 przy użyciu Tapatalka
[Moto G 4G Android Development] DoctorStrange96:
The stock kernel was indeed compiled with Linaro 4.9. For my custom kernel is compiled with Linaro 5.3 but I'm gonna switch to 4.9.
[Moto G 4G Android Development] Benfll:
Hi, I'm thinking of unlocking my phone and installing this ROM. One question I have is that the Motorola FM Radio app isn't in the list of flashable apps in the OP. Is it pre-installed or can I get it working from the Play Store?

Thanks,

Benfll
[Moto G 4G Android Development] lost101:
It's not included in the ROMs, but is available via the Play Store.
[Moto G 4G Android Development] Benfll:
Thanks, I'd just wanted to know that it would work with the ROM. Also, just out of curiosity what camera app does it use? The Motorola Lollipop one or the Google one?
[Moto G 4G Android Development] lost101:
The first post has a screenshot showing what apps are pre-installed. This ROM includes the Motorola camera app.
[Moto G 4G Android Development] lost101:
Google Dialer flashable zip in first post updated to latest version (v4.0.1290).

Remember you must set as 'default phone app' via Settings - see FAQ.
[Moto G 4G Android Development] lost101:
v1.3b of all ROMs now available in OP.

Changelog:

Updated: Google Clock (v4.5.2) | Calender (v﻿5.5.14) | Keyboard (v5.1.23) | Play Store (v6.9.15)

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

Updated: SuperSU (﻿v2.76)

Updated: New Dialer icon (Thanks [MENTION=4758250]Bert98[/MENTION])

Fixed: GPS when using mobile data (Thanks [MENTION=5736790]Kamin4ri[/MENTION])​

Notes:

Dirty flash, probably okay. Any issues, clean install (as described in OP). Report back if there are any SD Card problems with this new SuperSU.​
[Moto G 4G Android Development] hasck:
Hi there, thank you so much for your work.

keeping our 3 year old budget devices running like champs!!

Quick question: is there a way to manually apply monthly security patches? I'm thinking the rom being so close to stock maybe a repacked version of the patches would work? (I'm no dev BTW, and not demanding at all, just wondering)
[Moto G 4G Android Development] lost101:
Motorola have not released a security update, but I'm hopeful they will. Maybe we shall be lucky and an August 2016 OTA Update will appear.
[Moto G 4G Android Development] protivaban:
network issue with xt1039

Android 6.0 doesn't work in my device(xt1039), when I was using your rom everything was fine for few days... then one day only cellular network stopped working. I did reflash several time with no result. Then I tried cianogen, where the result was same... after one/two days no cellular netrork. *#*#4636#*#* menu shows radio off but wont turn on. Only by flashing stock 4.4 firmware and updating to 5.1 worked for me. For some unknown reason I can only use stock firmware in my device(xt1039).
[Moto G 4G Android Development] lost101:
Avoid OTA Updates, there is a real risk of 'hard brick.' Fastboot flash the latest Android 5.1 XT1039 Firmware image from here, and then flash this ROM.
[Moto G 4G Android Development] protivaban:
Flashing 5.1 didn't help with network issue. For me the only method worked is, flashing 4.4 firmware>ota update(patch)>update motorola update services>update Ota5.1. Installing any custom 6.0 results cellular network loss after few days of use. I googled a lot about this problem and found it wasn't uncommon in the device, motorola released ota updates to solve this problem. I've gone through these steps sevaral times to try different 6.0 roms, but it doesn't work. whenever I go from 5 to 6.0 after few days cellular network stops working. maybe it has something to do with the radio firmware.

I liked your work a lot, its sad that I cant stick to your rom for this issue.....

http://www.androidpolice.com/2014/0...ng-connection-after-the-android-4-4-2-update/

in this state only cellular network doesn't work, wifi and other options workes flawlessly.
[Moto G 4G Android Development] lost101:
As your issue is not related to this ROM, and to benefit others - it would be best to start a thread in Q & A. I want to see a log of the fastboot flashing process. Copy and paste command prompt screen. Take screenshots if necessary. Include [MENTION=1006674]lost101[/MENTION] to get my attention.
[Moto G 4G Android Development] protivaban:
Exactly identical in every detail

This is a post with exactly the same problem, even to the screenshots. I've tried everything he had and more. And found no solution except sticking to stock.

http://xdaforums.com/moto-g/help/xt1039-signal-anymore-t3116391

:(
[Moto G 4G Android Development] lost101:
[MENTION=7620362]protivaban[/MENTION] - When flashing this ROM, did you follow the instructions in first post exactly? A factory reset in TWRP is no good.
[Moto G 4G Android Development] protivaban:
yes

Yes I followed instructions precisely. But when it didn't work I I I tried cianigenmod as well with no result. But it did work for a short time when when I manually advance wiped data,system,cache,dalvic for cianogen. This time cellular service lasted for 6days... then it was gone again. [MENTION=1006674]lost101[/MENTION]
[Moto G 4G Android Development] murrayhawk:
Hi, I installed this rom a few days ago and it worked perfectly until today when I lost my network signal. I tried everything I know but I'm still having 0 bars, no sms, no calls, can't even search for the networks providers. Any thoughts?
[Moto G 4G Android Development] Wyneg:
Hi!

Do you installed Kaminari Kernel new stock version?
[Moto G 4G Android Development] murrayhawk:
My actual Kernel is 3.4.41IDCrisis. I can see that there is a new release 3.4.42, do you know if this is a known issue for my Kernel version?
[Moto G 4G Android Development] Wyneg:
Hi!

I asked because when I installed new stock kernel from OP's thread I lost network too... if You flash again the IDCrisis ROM, You can recuperate your network

---------- Post added at 11:58 PM ---------- Previous post was at 11:57 PM ----------

Dirty flash!
[Moto G 4G Android Development] murrayhawk:
So, do you recommend to stay with my actual Kernel version 3.4.41 and flash again the ROM? or should I flash kernel 3.4.42 from http://xdaforums.com/showpost.php?p=66541361&postcount=344 first?
[Moto G 4G Android Development] Wyneg:
If you want to recuperate your network, dirty fash ROM, after that if you want a excellent kernel, flash kaminari kernel R4, R5 is available too, but It's in beta yet.
[Moto G 4G Android Development] murrayhawk:
I did everything, still no network. Here what I tried:

Dirty Flash

Install stock Kernel over Crisis6 1.3 -

Install Kaminari R5 Beta1

Format Data, Factory Reset, install Crisis6 1.3 with KR5

Any thoughts?

PS: I placed my chip on another mobile and it works fine.
[Moto G 4G Android Development] Wyneg:
I don't said install stock kernel, only dirty flash ROM and flash kernel R4 or R5 ;)
[Moto G 4G Android Development] murrayhawk:
Yep, I did that already. No Network :(
[Moto G 4G Android Development] Wyneg:
But you don't need to install stock kernel, only install ROM and kernel R4 or R5...
[Moto G 4G Android Development] murrayhawk:
Correct, I tried the stock Kernel after the rom and R5 didn't work. It's kinda of weird cuz I was using the rom (crisis6 1.3gnl) right out of the box without issues for almost a week.
[Moto G 4G Android Development] Wyneg:
Don't try stock kernel, install R4, if you want R5, you can flash over R4 ;)