yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] steroideg:
Ok, don't worry.

But you update it in the future?
[Nexus 4 Android Development] toyes:
Yes. May be a couple days as I will be fairly busy the next while.
[Nexus 4 Android Development] steroideg:
Perfect, thanks for your work!
[Nexus 4 Android Development] toyes:
Update!!

- R1.4

- Update to android-5.1.0_r5

- Update Proprietary Files to 5.1

- Headup Improvements

- Dynamic Location and Cast Tiles

- Lollipop Bootanimation

- Awesome Battery Life!!

Download and install/update instructions in the OP.

Thanks, Toyes
[Nexus 4 Android Development] elgar:
The download links don't work, can't download. Any mirrors?
[Nexus 4 Android Development] toyes:
Download links working fine here. No I don't have any mirrors.
[Nexus 4 Android Development] elgar:
Strange. If it's possible to provide a mirror, would be great.
[Nexus 4 Android Development] steroideg:
ADB

Install ADBlocker. Work for me! :)
[Nexus 4 Android Development] fthkrtl:
Google play services is keeping device awake. I m on latest version (R1.4)
[Nexus 4 Android Development] toyes:
Not seeing that issue here. This is off the charger for about 10hrs

Which gapps did you flash?
[Nexus 4 Android Development] fthkrtl:
After full charging, everything is ok. No awake problem. I am using pa gapps reborn 10.04.15
[Nexus 4 Android Development] sulaimanz:
Best battery life

I keep switching ROMs quite often, but this has been the best Lollipop ROM for stability and battery life.

I get more than 4 hours Screen on time, keeping 2g at most of the time.

The only feature missing for me is volume rocker wakeup, as my power button has gone for a toss. Please try to add this request
[Nexus 4 Android Development] steroideg:
Can you add the volume's menu like CM?
[Nexus 4 Android Development] GiantFurby:
The download page for this rom doesn't work. There are two buttons, "download" and "download now"... Okay. Pressing download reloads the page. Download now brings me either to some scum app in the play store or a scum ad that makes my phone vibrate. Nice.
[Nexus 4 Android Development] toyes:
Download page, links and button working fine here.
[Nexus 4 Android Development] icu64:
i have to say that I do think this is a very well made rom and is what I want right now so thanks. you add things that make sense and nothing more. you also made sure we could use lte and that's a big one for me. the only issue ive found with this rom is that it wont install unless I go unmounts the system partition then flash it. it perfect outside of that issue
[Nexus 4 Android Development] GiantFurby:
Had to download on my computer because the link isn't working on my phone. Anyways. Installed. All good but, no root access. Does the rom not come rooted?
[Nexus 4 Android Development] toyes:
Glad you got it running. No the rom does not come rooted. Just flash the zip that you can find in this link. http://xdaforums.com/showthread.php?t=1538053
[Nexus 4 Android Development] toyes:
Updated the OP with an additional download link for those having troubles with devhost. Hope that helps

Toyes
[Nexus 4 Android Development] XBMi:
Had the same small issue as icu64 said a few posts above with unmounting /system before installing zip but other than that everything seems great! Thanks a lot I love it, just the features I want (espacially App Ops and Reboot Menu) and quick updates! (got tired of waiting for PA 5.1)
[Nexus 4 Android Development] toyes:
Release 1.6

Update!!

- R1.6

- android-5.1.1_r1

- LMY47V

- UI speed increased

- Volume Rocker wake added

- allow installation of non-market apps by default

ADDON added

- Hybrid LTE modem 27/106

Toyes
[Nexus 4 Android Development] tendyfish:
thank you very much ,..........flashing :)

edit: did a clean flash, have been using for a few hours now, UI speed is now a flash, battery seems to drain much more slower than 1.4. In essence all i can say is so far so good!!!! great ROM indeed !!!!
[Nexus 4 Android Development] RandomAwesomeName:
google sheets fc

Hi fellow users. Please test google sheets to see if it force closes for you.

Edit: fixed after updating to 1.6
[Nexus 4 Android Development] small2cats482:
This is the only rom which has no bloatware at all, strictly features that matter. I have a little request though, can you add the CM theme engine into the rom? I love themes but I want a light and clean rom, and all the roms that have theme engine are loaded with other stuff I don't need/like.

I'd really appreciate if you could do that. But if not, this will still be the best performing rom for me. Cheers!
[Nexus 4 Android Development] sulaimanz:
Thanks once again for a great ROM

Full wipe and flashed today morning with the updated ROM. Very stable, battery drain is slower than the previous build.

Thanks for adding the volume rocker wakeup, I really appreciate of you being considerate towards our requests, job well done !

:good:

:good:

:good:
[Nexus 4 Android Development] toyes:
Thanks for the input. Unfortunately no I will not be adding the cm theme engine. It requires too many changes to frameworks and settings that I feel will compromise the stability of this rom. As well as I would never use it... Also maintaining the forever changing/number of updates to the theme engine from cm would require more time than I have available to do. So at this point I have no plans to implement it.

Other discussions/opinions welcome.

Thanks, Toyes
[Nexus 4 Android Development] smokyhill:
I'll try this ROM. Thanks a lot.
[Nexus 4 Android Development] fthkrtl:
Play services has been keeping device on when I last tried this ROM. Does this issue resolved?
[Nexus 4 Android Development] xshallowgrave:
Does this rom have layers support?
[Nexus 4 Android Development] fthkrtl:
No
[Nexus 4 Android Development] HiM@L:
i think the only thing that this ROM needs is the ability to resize nav bar height.
[Nexus 4 Android Development] tonysansone:
Same to me :(

What can I do?
[Nexus 4 Android Development] RandomAwesomeName:
Suggestions

Hi there, Toyes!

Thank you for this ridiculously stable and fast rom. Thank you for taking the time to make sure that we are updated.

Will we see quick settings pull down and clear all recents in the future?
[Nexus 4 Android Development] steroideg:
Thanks for the update Toyes.

My power button doesn't work, can you add the "double tap to status bar" for turn off the screen?

Thanks, very stable ROM. It's the only ROM that haven't random reboot.
[Nexus 4 Android Development] steroideg:
The ROM will be update in the future?
[Nexus 4 Android Development] toyes:
Yes. I had an issue with my computer so I am working on setting up my build environment again as well as trying out a different Linux distro. It will be a few days yet before I will be able to get to building again, due to being busy with work etc..

Toyes
[Nexus 4 Android Development] chenshaoju:
The AppOps will crash in scroll Apps lists when Installed specified App,Here is logcat:

http://pastebin.com/wzqSXVXb

Version:R1.6

Clean install.

Here is the App (Shadowsocks) will cause this issue:

https://play.google.com/store/apps/details?id=com.github.shadowsocks&hl=en

Thanks. :)
[Nexus 4 Android Development] huzdy:
Thanks bro :)

---------- Post added at 06:59 PM ---------- Previous post was at 06:55 PM ----------

Nice work!
[Nexus 4 Android Development] toyes:
Release 1.9

Update!!

May 23,'15

- R1.9

- Update to android-5.1.1_r3

- Update proprietary files to 5.1.1

Download link in OP

Also updated the LTE Hybrid Radio to use the latest 107 radio.

Toyes
[Nexus 4 Android Development] rockerblood:
so far doing good, diesnt heatup my devuce unlike cm12 based roms. hope nav bar will hide on next update :) thanks
[Nexus 4 Android Development] rockerblood:
waiting for updates
[Nexus 4 Android Development] gvic1:
Any update about Stagefright?

Thanks
[Nexus 4 Android Development] smartAgent47:
[MENTION=4779173]toyes[/MENTION]

thank you for your aosp fr mako ... does d rom work on prebuilt kernel or kernel_google_msm ??
[Nexus 4 Android Development] nks2105:
Hi Toyes,

I was wondering if you're planning on updating this rom in a near future...

Thanks!
[G 2014 General] Lucas Eugene:
Pre-requisites:

a) Download and install Motorola Moto GDrivers

b) Download and extract the stock Firmware of your choosing

c) If the firmware file you downloaded is a .xml.zip file then download Motorola Fastboot View attachment 2427667 (attached to this post) and extract the .exe into the same folder as the stock firmware files (the same folder as the .bin and .img files). If your firmware is a .tar.gz file then skip this step.

d) Get ADB (if you don't already have this, I suggest downloading and installing Minimal ADB and Fastboot by shimp208:

Direct Download

Disclaimer:

Follow these instructions at your own risk. If something goes wrong don't blame me!

These are the original stock signed image files from Motorola it should work on all Moto G (2015) Variants.

Steps to restore stock firmware:

1) Reboot the phone into bootloader mode. There are 2 ways to do this.

I) The 'hardware' way.

a) Unplug the USB cable and power off the phone.

b) Press and hold 'Volume down' then power on the phone.

c) Connect USB cable to your computer.​

II) The 'software' way.

a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')

b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)

c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.

d) Open "Minimal ADB and Fastboot". Type:

adb reboot-bootloader

You should see the Moto G bootloader screen with the following options:

Normal Powerup
Recovery
Factory
Switch Console [NULL: null]
Barcodes
BP Tools

2) Open a command prompt / terminal (Start -> cmd.exe in Win7) and browse to the folder with the extracted firmware.

In my case:

cd c:\falcon_retgb_user_4.3_14.10.0Q3.X-76-LGG-8_54_release-keys-cid7-Retail_GB

3)

Flash each of the partitions in sequence using mfastboot, you need to enter the following commands one-by-one checking that each one returns an [OKAY]

mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata

​

Please make sure to verify the system.img parts from your corresponding firmware before flashing

4) Wait, you should now be rebooted into a fully stock Moto G firmware.[/FONT][/SIZE]

Original Thread

Credits:@tbon3

[MENTION=4554317]lohanbarth[/MENTION] for instructions and firmware images
[G 2014 General] Lucas Eugene:
FAQ

Q1: Will this work on locked bootloaders?

Ans: Yes as stock firmwares are digitally signed by Motorola.
[G 2014 General] Lucas Eugene:
RESERVED
[G 2014 General] Gustavo47:
The link to stock Firmware are broke.
[G 2014 General] cagechen:
Firmware link is broken

Your're link is broken can't download.

Can I flash this firmware on Moto G 2nd LTE XT1079 (buy from China)?
[G 2014 General] Lucas Eugene:
The links aren't up yet
[G 2014 General] aditya rockzz:
work

it will work on moto g 2014
[G 2014 General] mtkpunisher:
you know when will be available for download?
[G 2014 General] Lucas Eugene:
Yes it will but make sure you flash the right firmwares from your thread.

I don't know. It generally is uploaded within a month. But I could be wrong.
[G 2014 General] Lucas Eugene:
Firmware images are now uploaded for both 4g and 3g variants
[G 2014 General] Ashwin Prasad:
Will this re-enable further OTA updates from Motorola?
[G 2014 General] bornoxt:
In combination with a full un-root yes.
[G 2014 General] daringsmart:
I updated my moto g 2 to lollipop through ota I want to downgrade to kk. Can I try this method to downgrade ? BTW I'm on stock
[G 2014 General] 367:
The XT1079(Buy from China) can flash the firmware?

thanks!
[G 2014 General] dr.nic:
Noob question, the XT1072 ROMs you offer are fine for both 8GB and 16GB ? becouse i have the 8GB
[G 2014 General] leon. ittiachen:
Hi Lucas,

Am quite new at this so will try to be as clear as I can.

Got a new Moto G (4G) from China Model XT 1079 that is unlocked and has got TWRP already installed on it.

Since it has a lot of Chinese stuff on it which I dont need/cant understand I want to do either one fo the following

1) Install a good custom Rom (Either Cyanagen mod or Titan if any compatiblke custom ROMS for this model is available)

2) Get back to the original stock firmware

Your help is gratefully needed

Cheers
[G 2014 General] DragonautMk:
For me it said: "The image is too large"

How i can fix?
[G 2014 General] puccaso:
im stuck on the warning bootloader unlocked page??

any ideas?

it won't boot up

though i can get into bootloader
[G 2014 General] Max B.:
I flashed the EU firmware, and I changed 2° command 'fastboot flash bootloader bootloader.img' with 'fastboot flash motoboot motoboot.img' and i restored successfully the firmware.

Sorry for my english
[G 2014 General] fabinppk:
Really work

successful!!!
[G 2014 General] Andrea_19:
Why I get this error when trying to open mfastboot.exe
[G 2014 General] Wolfcity:
The error message tells you what to do. There is a adb dll missing, reinstall mfastboot or install Minimal ADB & Fastboot,normally it brings all files with it and for me it works quite as good as mfastboot.

Sent with somewhat
[G 2014 General] Andrea_19:
hey guys i dont have an bootloader.img file in my firmware that i download what i need to do see the picture
[G 2014 General] Andrea_19:
what i need to do
[G 2014 General] PatrikSelin:
Where can I download Moto G drivers?
[G 2014 General] Wolfcity:
Here: https://motorola-global-portal-de.custhelp.com/app/answers/detail/a_id/91819

Sent with somewhat
[G 2014 General] busquet:
Edit: sorry, I did not used your version, downloaded a link provided for mega because I could not download from file factory... I am quite desperate here :p

I tried to go back my xt1078 to stock after root in order to get OTA updates, used the firmware that your post said it was for my phone. Phone booted, no wifi for some resets but then it finally connected. I checked for updates, it downloaded then asked for reboot. Android guy is doing it job then all of a sudden it turns off and I can not turn it on. Phone is detected as qhsusb_bulk. Tried qboot for moto g without success. Anyone has a tip? Thanks in advance!
[G 2014 General] kehlan:
OP, be responsible. Change the title of this post so that it doesn't look like it's a thread for the Moto G3, because it is not. This is the Moto G2 forum.
[G 2014 General] Siddhartha9964:
Hello,

Can anyone please send a link to the stock boot.img for osprey running marshmallow XT1550?

Basically marshmallow boot.img. I already have boot.img for lollipop, will there be a change in the boot.img after the marshmallow update?

---------- Post added at 05:31 PM ---------- Previous post was at 05:26 PM ----------

OMG,

Im so sorry for posting about osprey in moto g 2014 thread.

The title is very misleading.. then i saw the thread.
[G 2014 General] anurag7k:
when i go to this cmd ==> mfastboot flash bootloader bootloader.img

error <bootloader> permission denied.

please help
[G 2014 General] Snappiestjack:
full un-root? so flashing this + ... ?
[G 2014 General] nitu12345:
invalid piv signed system image , preflash validation failed

Whenever i flash sparsechunk.0,1,2,.. i get invalid piv signed system image , preflash validation failed error.

My device is Moto G3 . locked bootloader, unrooted

please help me , how do i flash stock rom?
[G 2014 General] Wolfcity:
Just read OP, this is for Moto G 2nd Gen.

Sent with somewhat
[G 2014 General] Max B.:
My moto g 2014 lte is bricked and i just go into fastboot mode, my bootloader is locked and i can't restore the device...someone can help me please?
[G 2014 General] Devendra0086:
I have Motorola XT1068 commonly known as Moto G(2nd Gen). It is running on android 5.0 Few hours ago, I decided to root it and installed kingroot apk (downloaded from link : http://xdaforums.com/andr...x-5-0-t3107461) .

Everything went smooth, phone was rooted and I checked it with root checker basic. Then I thought everything is done and I uninstalled kingroot application and root checker(Just like we uninstall any regular app). After few minutes I rebooted the device, and it automatically launched AP Fastboot Flash Mode. Below are the information I am seeing on this black screen.

Code:

AP Fastboot Flash Mode(S)

48.86 (sha-5497c4, 2015-01-17 15:10:51)

CPU: MSM8226 CS

eMMC: 16GB Sandisk RV=07 PV=01 TY=57

DRAM: 1024MB Elpida S4 SDRAM DIE=4GB

Battery OK (Charging)

Device is LOCKED. Status code: 0

Transfer Mode: USB Connected

-------------------------------------------------------

Boot Mode Selection Menu

Vol Up Selects, Vol Down Scrolls

Normal Powerup

Recovery

Factory

Barcode

BP Tools

-------------------------------------------------------

hab check failed for boot

Failed to verify hab image boot

failed to validate boot image

Fastboot Reason: Fall-through from normal boot mode

USB connected

Unfortunately, I remember that the USB debugging mode along with developer options were disabled befoor I booted device

I am stuck here and cant boot my phone. Every time I press Up button on Normal Powerup option, It gives me the same error

Code:

hab check failed for boot

Failed to verify hab image boot

failed to validate boot image

Boot up failed

USB connected

Please please please help me get rid of this screen and boot my phone. I am not much of android guy.
[G 2014 General] Wolfcity:
First of all: Don't ever use kingroot!

Everyone who rooted with this strange tool got problems.

The only way to root your XT1068 running lollipop :

-Unlock bootloader.(Your device is still locked, check for unlocking bl tutorials)

-Flash twrp custom recovery (install minimal adb & fastboot tool and motorola drivers, place recovery file inside minimal adb and fastboot folder)

- open cmd window there and use command : fastboot flash recovery "name of twrp recovery".img

-Flash actual superSU zip through twrp.

There are several tutorials here on xda.

In your situation you should flash original stock firmware and start the above process then.

Sent with somewhat
[G 2014 General] qazedc1212:
How long am I supposed to wait after the last command? Do I just reboot?
[G 2014 General] joj 141:
command "fastboot flash partition gpt.bin" fails

Hello,

I want to restore my Moto g xt1550 to stock firmware, using Minimal ADB and fastboot. I did it first installing 6.0 but the Cyanogen recovery that I had on previously stayed there. I want to flash 5.1.1 to see if I can get back to the original recovery but the first line fails - fastboot flash partition gpt.bin.

It sends the partition then The error message is preflash validation failed

What should I do, anyone?
[G 2014 General] JaredTamana:
Not sure if this is still relevant to you, but try formatting your device. I haven't used CMR but I know in TWRP it's found under Wipe > Format. There must be an equivalent in your recovery.
[G 2014 General] KbZonFS:
Any 6.0.1 XT1072 signed firmware? :s Thanks!
[G 2014 General] mahonrimaia:
Interesting… Unlocking bootloader is really required?
[G 2014 General] plopingo:
Doing this re-lock the boot-loader or not?
[Xperia Z General] natibongo:
Hi folks, [MENTION=3911109]pabx[/MENTION] has taken time off his busy schedule to update our beloved xperia Z to android 5.1. Kindly follow this link to get the update http://www.blinkenlights.ch/ccms/android/yuga-l.html

Installation instructions

A full wipe is required to upgrade to Android 5.1. (I also strongly recommend a full wipe if you installed any other Android 5.0 ROM)

Step 1

Download from the link above and extract the ZIP file

Step 2

Flash all 3 files to your phone via fastboot

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash userdata userdata.img

fastboot reboot

Credits: [MENTION=3911109]pabx[/MENTION]

Version 5.1.1-p1 (Released 2015-05-15)

Version 5.1.1-p1 (Released 2015-05-15)time to match upstream value

Experimental support for Ext4 formatted SD Cards

What's new?

Upgraded to android-5.1.0_r3

Upgraded netmgr blobs to hammerheads 5.1 version

Fixed bluetooth audio issues (?)

Replaced the (unmaintained) Google AOSP Browser with Cyanogenmods fork (not sure if i'll keep it like this - feedback?)

Version 5.1.0-p1 (Released 2015-03-24)

What's new?

Changed the linux kernel from sony-283+kernel.org to a combination of sony-292+CAF(LA.AF.1.1-02010-8064.0)

Upgraded prima-wlan to LA.AF.1.1-02010-8064.0 branch

Hopefully fixed the random reboot issue

Version 5.1.1 (Released 2015-04-25)

What's new?

Upgraded to android-5.1.1

Use GPS and netmgr blobs from Makos (Nexus4) 5.1 release

Change ntp server used by GPS to time1.google.com (faster fix)
[Xperia Z General] Artyomska:
That was fast. Thank you [MENTION=3911109]pabx[/MENTION] for your hard work. :)
[Xperia Z General] redlee:
i'm very sad, it's for c6603

Does it work on c6602 ?
[Xperia Z General] natibongo:
Sure.

But may cause WiFi issues
[Xperia Z General] tOrNadO™:
Flash only baseband from C6602 ftf..
[Xperia Z General] jpacho89:
Is baseband independent to the ROM? I mean,can you flash stock based ROM's basebands on an AOSP based ROM? I thought that it would cause a bootloop...
[Xperia Z General] CryptoRishabh:
can you post it for xperia zr also... please...
[Xperia Z General] yashkadam0012:
any bugs ???
[Xperia Z General] tOrNadO™:
Oh yes i forgot. Oops. :P BTW it works on Stock based ROMs coz i tried it and it worked. But in CM/AOSP ROMs, wifi blobs and ril blobs are compiled from sources, so that wouldn't be a problem. ;)
[Xperia Z General] LaurynasVP:
I wasn't expecting to see this update for our beloved Xperia Z so fast. Can't wait to see the newer version in custom ROM versions, I'm very excited.
[Xperia Z General] Ben Ling:
Working fine so far... no noticeable bug
[Xperia Z General] CryptoRishabh:
hello please can you send build.prop of your xperia z after installing android lollipop 5.1
[Xperia Z General] CryptoRishabh:
can anyone here send build.prop of their xperia z after installing android 5.1
[Xperia Z General] CryptoRishabh:
thanks a lot...
[Xperia Z General] yashkadam0012:
hey this rom is bugs free or not
[Xperia Z General] Ben Ling:
There is a thanks button...

---------- Post added at 10:02 PM ---------- Previous post was at 10:01 PM ----------

Almost... The only thing is sometimes after you restart it doesn't detect sim card but it works after another restart..
[Xperia Z General] smardu:
Never had that sim problem.

Im using his version since last summer and they are bug free. You dont have the cm customization bundle but there is gravity box.
[Xperia Z General] glückspilz:
hey, what about App ops , xprivacy or privacy guard? is one of these apps included in the rom? if not can we install them? what are the differences between cm and this rom? thx for your help
[Xperia Z General] smardu:
It's 99% pure AOSP, no customizations like in CM, you can use Xposed.

It's rock stable, im running 502 because 5.1 does not support Xposed...yet and i need RootCloak.

I've used 4.4 and 5.x.x, all i can say again..rock stable, with 5.0.2 i have 22-23h usage, with stock i have 19h max(sync on, LTE blablabla)
[Xperia Z General] gedhe:
And here with twrp
[Xperia Z General] pascal_:
Thank you very much guys!

Another question. I have the latest TWRP installed via Rashr (FOTA Kernel).

If i install this ROM, will my TWRP still work?

I don't want to have to use flashboot etc. Too advanced for me...
[Xperia Z General] Cr33D OrB:
For usually it wont,

however try to flash instead the Boot.ing the current TWRP IMG.
[Xperia Z General] pascal_:
What do you mean?

(sorry for the persistence, i'm novice here)
[Xperia Z General] loukky:
do u have Google Dialer？Because the native dialer does not show calls attribution .