yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] lost101:
It's fair to assume Motorola engineers have tailored and optimized Android 5.1 for Peregrine (essentially Falcon) hardware. I would expect very good performance and battery-life.
[Moto G Android Development] xtrs84zk:
I'll check for it in the coming days :cool:

Will you build new rom with that one, and that kernel? (for clean flash)
[Moto G Android Development] iDynamics:
I downgraded my bootloader to 41.18 and wifi works! Thanks man. :)
[Moto G Android Development] lost101:
It would be helpful if you stated your Falcon Model number and the Peregrine ROM that you have flashed.
[Moto G Android Development] iDynamics:
XT1032 and I flashed XT1040_Retail_Canada_51_Optimized_v1.0a.
[Moto G Android Development] abeloman:
Same here, everything is working great!

Enviado desde mi XT1040 mediante Tapatalk
[Moto G Android Development] nekobibu:
Hi there!

Flashed XT1039_Retail_EU_51_Optimized_v1.0b.zip on my XT1032, bootloader 41.19, works like a charm, including wi-fi. :)

Thanks for the great job!!

Edit: EAP Sim with FreeWifi_Secure (I don't know if you remember about me, [MENTION=1006674]lost101[/MENTION]) also works!! :D

So basically, I have everything I needed, a functional 5.1 ROM with EAP Sim support! That made my day!! :good:
[Moto G Android Development] lost101:
Yes, I have been doing some testing. The WiFi issues have nothing to do with Bootloader version. It's certain routers and the way WiFi is implemented in Stock 5.1 that is causing issues.

EDIT: Rebooting my router fixed the WiFi problems I was having.

[MENTION=6630817]nekobibu[/MENTION] - Good news! :)
[Moto G Android Development] guitarfreedom:
I've installed XT1039 5.1 EU optimized on XT1032 (bootloader 41.19), all work fine...also Wi-Fi !
[Moto G Android Development] eemgee:
[MENTION=1006674]lost101[/MENTION] will you be updating the op or starting a fresh thread. It's all got me a bit confused here now :P
[Moto G Android Development] lost101:
Tell me about it. Might be easiest to start a new thread.
[Moto G Android Development] wulfiss:
i flash the XT1040_Retail_Brazil_51_Optimized_v1.0c on xt1032 and work like a charm..
[Moto G Android Development] ddiuit:
I flashed Retail EU 5.1 ROM (Untouched) on XT1032, bootloader 41.1A and it worked!!
[Moto G Android Development] likurik:
And impossible to restore apk's from Titanium!
[Moto G Android Development] lost101:
http://xdaforums.com/devdb/project/?id=7715#screenshots - unsure why they are not appearing as attachments in OP.

I'll look into it.

It should work, I will test it today.

Battery life seems very good, tested Sleeptime last night and this morning had around 20% more battery than in Stock KitKat.
[Moto G Android Development] dgjl:
Any idea where my old philz back ups have gone? They are in 0 folder somewhere as it's got nearly 6 gb in it, but the philz. cwm, and twrp folders say cannot be found...?
[Moto G Android Development] lost101:
Using a file explorer on phone; look in /sdcard/clockworkmod or /data/media/clockworkmod/ - older versions of cwm use the latter.
[Moto G Android Development] dgjl:
Thanks. However, sdcard doesn't have those files. 0 folder on sdcard does but data has nothing useful in it and cwm folder says it 'can't be found'... I'm using fs explorer and have a 4+gb file which I can't find...
[Moto G Android Development] lost101:
Can you explain your recent event history? Have your done a factory reset or 'Data' format?
[Moto G Android Development] dgjl:
I did a standard wipe of system and user data in philz before flashing the rom.
[Moto G Android Development] lost101:
A normal Factory reset will wipe: system, app 'data' and cache. Wiping 'user data' (the entire /data/ partition) is erasing both app 'data' and internal storage (all your files / TWRP | CWM backups) - but will only happen if you specifically choose that option. I think you have lost your backups, sorry.
[Moto G Android Development] dgjl:
That's what I've done before with out any problems - it's just the 'wipe before new install' option on philz... and the data is there because I have nearly 6gb in 'misc' I look under Storage which can't be anything else... Very strange.. It's got to be there somewhere ?

---------- Post added at 08:40 AM ---------- Previous post was at 08:36 AM ----------

Btw, I still have photos, docs etc. in sdcard/0. Only backup seems to be missing unfindable.
[Moto G Android Development] OldYellowBricks:
Yo HOLD ON.

GET A FILE EXPOLORER THAT CAN SHOW HIDDEN FILES. GET IT TO DO THAT. EVERYTHING IS IN THE 0 folder. IT HAPPENED TO ME ONCE AND I PANICKED LIKE **** BUT TURNED OUT THE FILES WERE IN THE 0 FOLDER. PLEASE CHECK IT OUT

ON LOLLIPOP THE FILES ARE HIDDEN UNLESS YOU USE LIKE FX (USE THE SHOW HIDDEN FILES FEATURE) FILE EXPLORER TO VIEW THEM. ONCE YOU GET HOLD OF THE FILES, MOVE THEM OUTSIDE OF THE 0 FOLDER...LIKE THE SD CARD....TRUST ME DOG....THE FILES ARE STILL THERE
[Moto G Android Development] lost101:
For now, APKs can be installed by transferring to /sdcard/ and manually moving with a file explorer (that has root access) to /data/app/.

I'm not sure if they are properly ART optimized by installing this way, but after reboot - 'optimizing' apps window does appear.

It's also possible to restore app data by placing backup of folder on /sdcard/ or using ADB i.e adb push gReader /sdcard/gReader/.
[Moto G Android Development] Lusbell:
already tested, work for me like a charm, finally no one other rom got this, just waiting for some mods :good:
[Moto G Android Development] dgjl:
Have you a recommendation? I'm using fs and have it set to show hidden and still get nothing.
[Moto G Android Development] lost101:
Battery Percent Enabler.
[Moto G Android Development] OldYellowBricks:
Try using FX file explorer. Not FS. If all else fails, try hooking up your phone and browse the 0 folder via PC. My solution lingered around this-ish
[Moto G Android Development] lost101:
[MENTION=4428810]dgjl[/MENTION] - if you have adb setup on pc, try: adb pull /sdcard/clockworkmod c:/motog/

What version of Philz are you using?
[Moto G Android Development] dgjl:
I've found it using fx - where should I move it to so it will function?
[Moto G Android Development] OldYellowBricks:
If you found the whole clockworkmod folder, move it to sdcard. If there is already a clockworkmod folder, move the folder that is in the backup (the folder is a combo of letters and numbers) folder into the backup folder thats on the clockworkmod backup folder on SDcard
[Moto G Android Development] dgjl:
It won't let me paste the folder.... Is it because it's too big? There doesn't appear to be a clockworkmod folder on SD card.
[Moto G Android Development] OldYellowBricks:
How much free space do you have?

1 rom backup should be around 2gigs. Did you copy paste or cut paste?

Youll have to CUT paste or in other words move.

Its a bit complicated sorting this out I know. Happened to me once. If you dont have enough space youll have to move some contents (including the ones in the 0 folder which contains all your files prior to lollipop flashing) to your PC.
[Moto G Android Development] dgjl:
The back up is 4.2gb. But it doesn't say insufficient space.

What I get is this: 'Moving clockworkmod from "0" to "sdcard"/'An item already exists with the name "clockwork mod"'

Only there is no folder on my sdcard called clockwork mod...

The back up file is currently in rootsystem/data/media/0/0/clockworkmod/backup

Which is why it was quite hard to find...

Any ideas?
[Moto G Android Development] OldYellowBricks:
BEFORE DOING THIS, REBOOT INTO RECOVERY ONCE. THIS WILL CREATE THE CLOCKWORKMOD FOLDER FOR YOU

Okay now thats done,

This is a wee bit risky but try moving folder by folder. Start with the backup folder (including its contents) into a seperate folder. If that works, Try moving the folder inside backup into the backup folder thats in the new clockworkmod folder. If you can, make a backup of the backup (lol) on your pc.
[Moto G Android Development] dgjl:
I tried the reboot, but it didn't create any folders... I've added a bit more info to my above post, if that helps...
[Moto G Android Development] bobrda:
Did a dirty flash, over 001. Just wipe data and dalvik. Everything runs smooth and i am satisfied with rom and battery usage. Will stay on rom this until Motorola runs stock version for 1gen. Thanks Lost101
[Moto G Android Development] dgjl:
I can't get adblock or adaway to load this way... ?
[Moto G Android Development] lost101:
Installs and loads for me.
[Moto G Android Development] dgjl:
Yes, thanks.. I've got adblock to install, though it won't update easy list so it's pretty useless... Says 'connection error' when connection is fine.

Adaway won't install that way.
[Moto G Android Development] lost101:
Sorry, I should have been more specific.

Adaway installs fine and updates for me.

Adblocks filter can probably be added manually.

Palemoon browser has an adblock add-on if that's of any help to you.
[Moto G Android Development] lost101:
https://easylist-downloads.adblockplus.org/easylist.txt

/data/data/org.adblockplus.android/files/
[Moto G Android Development] dgjl:
Thanks - but rather beyond my skill... ?
[Moto G Android Development] lost101:
[MENTION=4428810]dgjl[/MENTION], I've found out the issue with Adblock Plus is not specific to this ROM.

https://adblockplus.org/en/android-config​

Setup the proxy server on your WiFi as follows:

Server: localhost

Port: 2020

You should be able to download updates now.

----

Here are some recovery flashable zips to try:

Adaway

https://www.androidfilehost.com/?fid=95897840722645360​

Adblockplus

https://www.androidfilehost.com/?fid=95897840722645361​
[Moto G Android Development] xtrs84zk:
adb method...

the adb method using "adb install xxx.apk" command should work. it does? :confused: :D :fingers-crossed:
[Moto G Android Development] lost101:
You can't currently install an apk that way, only via flashable zip or as described here: http://xdaforums.com/showpost.php?p=58251325&postcount=51
[Moto G Android Development] dgjl:
Thanks to all who chipped in to help to day. :highfive:The upshot is I've gone back to Lost101's optimized KK4.4.4. Lollipop was nice to look at, but it felt like I was using the phone with gloves on - nothing was quite as slick or anything like as easy to do. Thanks, though, to Lost101 for giving me a look at the future - I'll take another look when the proper 5.0x for XT1032 drops and see if that's properly worked out to give a best)er Moto G performance than the current pick of the KK roms (which is also one of yours! :good:
[Moto G Android Development] k-kuchen:
I finally got to flash this ROM and everything's looking very good so far :good:

I believe one thing hasn't been mentioned yet. Like on any other Lollipop stock ROM for falcon, screen flicker is gone with bootloader 41.18
[Moto G Android Development] lost101:
While I find the speed of this ROM impressive - there is still the possibility for more.

Custom Kernels based on Stock Kernel sources can only improve things further - specifically in the areas of battery-life and performance. There is also the suggestion that Motorola have enabled 'userdata' encryption - something which would have an impact on the performance of Lollipop on Moto G. On other devices, encryption can be disabled with custom kernels.
[Moto G Android Development] mounkg:
fix room v001

fix audio, auto rotation and function also the installation

of apps moto g , only for the first of this rom vercion

¡eye only for the first vecion this room!

First you install this:

Mod edit

and finally:

mediafire. com / download/ 13c6217kw32sl60

:):):):): D: D: D
[Moto G Android Development] likurik:
The link doesn't work! put the correct link.
[Moto G Android Development] josip-k:
Yeah, this is the best ROM for our phone so far, but i can't live without APK's ,so i hope you are close to fixing it [MENTION=1006674]lost101[/MENTION]..
[Moto G Android Development] likurik:
I hope!
[Moto G Android Development] :
I hear that. This ROM running custom kernel will be BEAST!
[Moto G Android Development] :
How does Sony walkman mod help us install apps ? That is what you have linked too.
[Moto G Android Development] likurik:
the correct link dude:https://mega.co.nz/#!JZp01ZDS!GxFaMLjF1YDqPZGlFCLbZZjlb4WHgNgpWM_1Q8U 9LCM

Thank you for link!

Sound for notificacions does'n work,exemple:no sound notificacion for whatsapp!
[Moto G Android Development] likurik:
i sugest to install the first version https://mega.co.nz/#!bA5kyJTS!jkFTXlKt1hbkaRaKq6OucKnCInrbzWzHsBIDLUKteN8 install all apk's that you need from titanium backup or from internal memory then reboot/wipe Cache, Dalvik and flash identity crisis ROM v002
[Moto G Android Development] lost101:
Thanks guys for help. I had been focusing on init.qcom.rc in kernel - that didn't seem to be the cause and obviously not, if apk install worked in v001.

[MENTION=6342773]mounkg[/MENTION], please remove the mediafire link - it's confusing.
[Moto G Android Development] VitaTaf:
[MENTION=1006674]lost101[/MENTION], did you change anything else besides the fix for auto rotate and sound? This is because I flashed the first version, flashed the zip by [MENTION=6342773]mounkg[/MENTION], and copied some additional xml and conf files from /system/etc, and everything seemed to be working perfectly.
[Moto G Android Development] lost101:
Yes, I changed significantly more than that. I will go back and start again.
[Moto G Android Development] VitaTaf:
Oh, sorry, I didn't realize that.
[Moto G Android Development] lost101:
No need to apologize, your changes may be all that is needed.
[Moto G Android Development] methuselah:
Well I suppose you are using old clockworkmod recovery. Get adb working in normal mode I don't If i am right in getting your problem . but what I can guess you are unable to find your backup. Well here is the command to pull it in computer. " adb pull /mnt/shell/ emulated/clockworkmod/backup " .. This will make a backup folder with the date in your computer adb folder. Hope this works...
[Moto G Android Development] lost101:
v003 now available. Sorry folks, no dirty flashing allowed.
[Moto G Android Development] josip-k:
Thanks dude, and one more thing, in about phone says 2gen, you should change that in build prop. :) will download as soon as i get some wifi :D
[Moto G Android Development] Aayushya:
I see the app installation bug has been fixed! Is there any other bug that might be of concern? I'd like to flash this ROM, but I'm low on bandwidth, so it'd be great if someone could tell me!
[Moto G Android Development] :
All working good here, latest philz recovery, xt1032. Sound does seem a little bugged in sound settings. If you mess about with volume and ringtone changing, sometimes the sounds don't play and, media process fc. No big deal though as this ROM is soooo fast and smooth.
[Moto G Android Development] Aayushya:
Okay, thank you!

Will flashing the Walkman app not fix the media bug?
[Moto G Android Development] ATRIXXIRTA:
The only issue I can see so far is the screen flicker that happens when the phone first boots.

All you have to do is turn the screen off once, then back on, and no more flicker.

I would hardly call it a bug, just a noticeable visual anomaly.
[Moto G Android Development] lost101:
You can flash it, but it's not been made clear how it improves things.

That is due to the kernel, not this ROM and can be permanently fixed by flashing the Lollipop Bootloader. As I say in OP, hopefully custom kernels will be a better solution.
[Moto G Android Development] lost101:
If anyone wants to enable the 'Audio Effects' in Sound Settings, here is the flashable zip:

Nevermind, breaks audio.
[Moto G Android Development] VitaTaf:
If anyone wants to enable "OK, Google" from any screen, try flashing this.
[Moto G Android Development] Aayushya:
Been waiting for the ROM to boot since the past 12 minutes, clean flash, latest Philz. Also tried TWRP 2.8.0.1.

Didn't boot! :/
[Moto G Android Development] josip-k:
Newest twrp 2.8.4.0 should work, download it from twrp download page.
[Moto G Android Development] vinardi32:
Super smooth, stable this V003 but sound is really delayed for notifications and system sounds. Any possible fix? Thanks!
[Moto G Android Development] SamsungAdmire:
sound isn't working on speakers or earphones when i try to hear music (rotation still works though)

edit: seems like that sony walkman thing fixed it. Pretty strange. If i had to guess, i think the stock equalizer might've caused something to break the sound
[Moto G Android Development] lost101:
Yes, I just noticed this also. Stock equalizer (AudioEffects) breaks audio.

To remove, delete: /system/priv-app/AudioEffects
[Moto G Android Development] ATRIXXIRTA:
Will doing this fix the notification sounds? Thanks!

---------- Post added at 06:56 PM ---------- Previous post was at 06:49 PM ----------

No "AudioEffects" in priv-apps for me???
[Moto G Android Development] lost101:
Yes, because it's not pre-installed.

You need to explain more about what you are experiencing.
[Moto G Android Development] ATRIXXIRTA:
Having the issue with notification settings. When trying to choose a notification sound, the sounds don't play, and the app freezes up. No notification sounds are working, but vibration works. I can choose a ringtone for the phone however, which I find strange.

---------- Post added at 08:00 PM ---------- Previous post was at 07:40 PM ----------

Just to add to my previous comments, v2 the notifications seemed fine
[Moto G Android Development] VitaTaf:
For those who are having issues with media and notification audio, try flashing this zip for a temporary fix. Let me know how it goes.
[Moto G Android Development] Aayushya:
Nope, doesn't work. :(

No sound while playing music at all!
[Moto G Android Development] VitaTaf:
Could you try manually copying the files in the zip to the system partition? It worked for me.
[Moto G Android Development] jomplin:
Oh thank you!! It worked for me , just flash the zip file and all sounds come back : )
[Moto G Android Development] ATRIXXIRTA:
Thank you sir! Worked like a charm!
[Moto G Android Development] likurik:
After de flash the zip media and notification audio works but no sound on the stock radio fm :),in spirit2 radio, the sound work with poor quality!
[Moto G Android Development] lost101:
Building again..this time testing with Z-DeviceTest and other apps to check sound. I won't release another version until I've tested it thoroughly. Some people might want to go back to v002.
[Moto G Android Development] likurik:
With this widget https://play.google.com/store/apps/details?id=com.chislonchow.toggleheadp the sound in rom v003 work !all the problems related with the sound....gone! sound notificacions,poweramp,stock radio fm,spiritfm, all works.If you have the widget and flash the audiofix,the radiofm does't work!The sound of the calls not good,have to much bass.im on v002 with dirty flashing from v003.I have all the apps instaled and i wait the stable version!

Sorry my english it's very poor!Thanks [MENTION=1006674]lost101[/MENTION] for you work.good job!
[Moto G Android Development] nicolas4rd:
Change "Moto G (2nd Generation)" in About Phone

to change this line, decompiling Settings.apk and search /res/values and edit Strings.xml, look and edit the line:

to

:laugh:
[Moto G Android Development] lost101:
I have a build now that is looking good.

All of the following work:

APK installing via adb and on internal storage

Voice Calls seem clear

Notifications and system sounds

Changing system / notifications settings (no lag or crash)

Motorola FM Radio

Whatsapp sound effects and notifications
​

Is there anything else I should be testing?
[Moto G Android Development] :
Awesome :)
[Moto G Android Development] nicolas4rd:
sound works totally?
[Moto G Android Development] lost101:
It's working in every app I've tested so far.
[Moto G Android Development] vinardi32:
Dirty flash possible? Thanks a lot!
[Moto G Android Development] lost101:
You can try it.

Only sound issue I've found was with TTS voices - but I had manually installed an old apk for Google TTS - onced updated, distortion was gone.

I've tested a few games and can't find any problems.

I'll probably upload in a few hours.
[Moto G Android Development] taadow1030:
Do you know if the file system will change from KitKat? I like to keep nandroids of my favorite ROMs so I can restore at will for variety
[Moto G Android Development] tonyshixd:
no sound for google play music

No problems at all. But I can't get sound for google play music. Anyway I couldn't find any equalizer libs, is that relevant to the problem. I can have the logcat if you wish

---------- Post added at 01:47 AM ---------- Previous post was at 01:35 AM ----------

I flashed DSP and audio is up and running
[Moto G Android Development] nicolas4rd:
how much longer?
[Moto G Android Development] :
As long as a piece of string :)
[Moto G Android Development] josip-k:
[MENTION=1006674]lost101[/MENTION] when will it be up? I'd like to flash it before school :/
[Moto G Android Development] lost101:
Testing Google Music now in v004 build. No obvious issues.
[Moto G Android Development] lost101:
I tried with latest apktool (v2.0.0 RC3) but ROM crashes during setup with the rebuilt Settings.apk. I only changed that one value.
[Moto G Android Development] josip-k:
One more Q, is ambient display working for you guys?
[Moto G Android Development] lost101:
To make ROM more snappy, enable Developer options - repeatedly tap 'Build number' in About phone.

Change the three 'Animation scale' settings to: .5x

UPDATE: v004 added, if you still have audio issues - you need to factory reset. I installed this having wiped 'userdata' (Format Data in TWRP) and had no problems. Obviously backup Internal Storage if you plan to do the same.
[Moto G Android Development] :
V4 is all good here, sound working fine so far, apk install working, butter smooth. This is my daily driver now. Hopefully moto will release that kernel source soon, then its haply days :)
[Moto G Android Development] likurik:
[MENTION=1006674]lost101[/MENTION] :good: Sound Equalizer for this ROM?..if it's possible!
[Moto G Android Development] lost101:
None included. But you can flash this: http://xdaforums.com/moto-g/themes-apps/cm-t3004845
[Moto G Android Development] likurik:
Thank You! but with spiritfm not working!
[Moto G Android Development] lost101:
Could be that the app is not compatible with Lollipop / Motorola's Lollipop.
[Moto G Android Development] likurik:
It's compatible! without audiofix the spirit2fm work.

Does not matter! Thanks anyway!
[Moto G Android Development] josip-k:
Runs great, Viper4Android breaks audio, but no biggie :)
[Moto G Android Development] VitaTaf:
Have you tried setting SELinux mode to permissive?
[Moto G Android Development] AlaaTorinoo:
am getting massive battery drain like my phone got from 29/ to 15/ in less than 30 mn is it bug in the rom or just my phone so i need to reset my battery ps am on the latest build and it rocks thanks bro no problemes so far with great preformens :good:
[Moto G Android Development] lost101:
Check battery info to identify if a specific app is the cause. I'm personally finding the battery life as good as Retail Asia 5.0.2 Soak Test.
[Moto G Android Development] auntiegene:
1032 hanging on boot

Hey all. Can someone please advise how long the first boot takes? I've flashed the latest Philz recovery, done a full wipe and installed v003 and v004, but the phone is just refusing to boot. It's stuck on the splash screen. I'm using an XT1032.

I've also tried flashing the latest twrp, full wipe and flashing v004 (returned an error, perhaps a corrupt download); wiped again and flashed v003. On reboot, still hanging on the splash screen.

Any advice? I'm normally pretty good at this! :eek:
[Moto G Android Development] abeloman:
Same here... Stuck at logo android :/
[Moto G Android Development] Ann.Vogelfang:
I just finished installing this rom, so far, looks great! Thank you very much dev for this awesome work!
[Moto G Android Development] dgjl:
About 3-5 minutes booting in my experience on latest philz.
[Moto G Android Development] lost101:
Try TWRP 2.8.1.0 - that's what I have used mostly on XT1032. The Recovery is not perfect, sometimes you need to reboot TWRP or even reflash it.