yashsingh1/xdaforums huggingface dataset:
[HTC One S] :
Q&A for [ROM][CM11][21 OKT] Codename Lungo

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM][CM11][21 OKT] Codename Lungo. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[HTC One S] Ranger78it:
Thank you very much for this ROM! It is really what I was looking for so long time, it's perfect! Fast, smooth, great battery life, no crapware and so far no complain! :) Thank you so much! Long life to Codename Lungo!
[XDA Assist] kingo4luv:
My Google play services is not supported on my device anymore... I have flash gapps... Not still work... Please help
[XDA Assist] :
Hi,

You've been shown where to look and where to ask for help in your device section in your previous Assist thread.

Please use those links as suggested.

Xda Assist is here to help members navigate the site, not for support.

Thank you for understanding, thread closed.
[Nexus 5 General] qsec:
Factory image is up now, for real :)

https://developers.google.com/android/nexus/images

Direct link for hammerhead

https://dl.google.com/dl/android/aosp/hammerhead-lrx21o-factory-01315e08.tgz

Chainfire's auto root. Man, he is fast.

http://download.chainfire.eu/363/CF-Root/CF-Auto-Root/CF-Auto-Root-hammerhead-hammerhead-nexus5.zip
[Nexus 5 General] DrearierJester1:
Still nothing from my end
[Nexus 5 General] galapagos:
Clear your cache & reload.
[Nexus 5 General] hussainmushahid:
Not sleeping tonight :D
[Nexus 5 General] djlars:
Does anybody know if you can root the factory image with SuperSU-Zip?
[Nexus 5 General] Hiro Nakamura:
Nice finally official Lollipop for nexus 5 :victory:
[Nexus 5 General] dmillerzx:
Bout to load up now, will test the current SuperSU zip. Wonder if this includes active display.
[Nexus 5 General] kidkoala_uk:
Yup it's there code updated to r4 build LRX21O new binaries also available now

https://developers.google.com/android/nexus/drivers#hammerheadlrx21o

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.0

TARGET_PRODUCT=aosp_hammerhead

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-30-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=LRX21O

OUT_DIR=out
[Nexus 5 General] simms22:
hammerhead factory img is live https://dl.google.com/dl/android/aosp/hammerhead-lrx21o-factory-01315e08.tgz
[Nexus 5 General] andQlimax:
How the battery life???

/kidding
[Nexus 5 General] Raistlin1:
I just hit refresh and it was there! Was going tp post on that other thread but it was closed, lol.

Seriously this is all because of me, I literally just installed an aosp 5 rom and just finished updating all the apps and settings... as soon as i was done the factory image popped up.
[Nexus 5 General] Altrezia:
Hmm.. what's this problem then - first time I've seen it?

OKAY [ 30.945s]

writing 'system'...

OKAY [ 66.316s]

erasing 'userdata'...

OKAY [ 12.928s]

formatting 'userdata' partition...

Creating filesystem with parameters:

Size: 29236371456

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 32768

Label:

Blocks: 7137786

Block groups: 218

Reserved block group size: 1024

Created filesystem with 11/1785856 inodes and 156120/7137786 blocks

malloc: Not enough space

Cannot generate image.

FAILED ()

finished. total time: 116.020s

Press any key to exit...
[Nexus 5 General] klitzkrieg:
Just got the same thing. Never had an issue with this before. MD5 checked out. Is there a newer adb or something?
[Nexus 5 General] sfidelisrp:
So can I just use TWRP to flash this official zip or do I need to go back stock recovery?
[Nexus 5 General] cbowens:
Happened to me as well
[Nexus 5 General] 4I-I:
maybe it was trying to backup your data before encrypting it? did you guys use the flashall method? i think you have to either skip the userdata.img (mybe causes errors) or free up some space on your phone before flashing it?

just my thoughts though...
[Nexus 5 General] Isus <3:
I received it over OTA :P

[IMG="L"]http://puu.sh/cO9Xz/cf80abe4b6.jpg[/IMG]
[Nexus 5 General] italia0101:
Corrupt image maybe? mine flashed fine
[Nexus 5 General] simms22:
are you seriously asking?

its a factory img, not a flashable zip. you need to flash it via fastboot while youre in your bootloader.
[Nexus 5 General] philrigby:
I'm not even getting that far...

G:\Temp\Phone\Nexus 5\hammerhead-lrx21o> flash-all

target reported max download size of 1073741824 bytes

sending 'bootloader' (2579 KB)...

OKAY [ 0.295s]

writing 'bootloader'...

OKAY [ 0.480s]

finished. total time: 0.779s

rebooting into bootloader...

OKAY [ 0.105s]

finished. total time: 0.107s

target reported max download size of 1073741824 bytes

sending 'radio' (45521 KB)...

OKAY [ 1.622s]

writing 'radio'...

OKAY [ 3.128s]

finished. total time: 4.752s

rebooting into bootloader...

OKAY [ 0.098s]

finished. total time: 0.098s

target reported max download size of 1073741824 bytes

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

failed to allocate 1005154516 bytes

error: update package missing system.img

Press any key to exit...

All files are there / in the zip...
[Nexus 5 General] jsgraphicart:
Well I would hope so. It's the final release.
[Nexus 5 General] lionheartk:
Interesting, for other devices Google just posted what seems to be a newer version, LRX21P.
[Nexus 5 General] Guiper:
Its on the accessibility... Need to enable it there. Lost some minutes to figure it out...
[Nexus 5 General] reinert012:
factory reset via phone settings or recovery.
[Nexus 5 General] Link2811:
Do you know that the recovery with red triangle is the stock recovery ?

You just need to hold Vol- for 5 seconds (or something else) to wipe or whatever.
[Nexus 5 General] gaurav2009:
After some reboots,size error was gone,don't know how,but I still get malloc error at the end but it boots fine..
[Nexus 5 General] blizzardproof:
i got an error saying that system.img is missing
[Nexus 5 General] Werlboss:
how do i install it?

how do I install it? given i am rooted and running twerp custom recovery?
[Nexus 5 General] BrunoLopesBR:
I'm using the previous build 21M, what's the difference? Has the multitask bug (when u change the time and change back) been fixed? And what about the bug that u cant use head phones without mic to calls (the phone mic wouldn't work)?
[Nexus 5 General] riniah:
Just doing factory reset from inside the os sorted mine back to 32GB.
[Nexus 5 General] Raistlin1:
No, I did not now that. I really thought there was also some text on the stock recovery screen.

Tried what you said and pressing either vol button does nothing.
[Nexus 5 General] omrij:
Thanks

:cyclops:
[Nexus 5 General] feered:
You've got to download the factory images from Google to install it. If you are trying to install via TWRP, you will have to wait for someone to package it up to install nicely with a recovery. There isn't any currently.

Does anyone know how to get root working on this yet? I know Chainfire made a patch to Boot.img but I wasn't sure whether the new factory images Boot.img was any different from the preview build.
[Nexus 5 General] kidkoala_uk:
Just use TWRP if you cant get the stock one back on http://techerrata.com/file/twrp2/hammerhead/openrecovery-twrp-2.8.1.0-hammerhead.img

Rename the .img file to recovery.img then fastboot flash recovery recovery.img
[Nexus 5 General] Link2811:
[MENTION=3009783]Raistlin1[/MENTION] :

Yep, it's kind of strange.

In fact, you need to hold vol+ and press power.

Then, the text will appear :)
[Nexus 5 General] jsgraphicart:
Press volume up and down at the same time. I think that's how you get the text to show. Another person just posted that they did a factory reset within the OS and that solved their storage issue too.
[Nexus 5 General] THE_KINGDOM:
hey guys after flashing Nexus 5 factory img, and TWRP latest Recovery.img..

can we root this with flashing SuperSU v2.19 in recovery?
[Nexus 5 General] riniah:
Yep I lost half my storage, did factory reset from inside the os and it sorted my phone back to 32GB, didnt do anything else.
[Nexus 5 General] vercety974:
No way. That doesn't work. When I push vol down and power, then choose Recovery, I have one android with red triangle.

When I flash TWRP, it work ONE time, and after a reboot, it dies.
[Nexus 5 General] radkor:
No. You need to flash root permissive kernel.
[Nexus 5 General] noodles2224:
Does anyone have their Gallery?? Mines missing. Did they remove it from this release. It was in there in the latest preview... ?

Sent from my Nexus 5
[Nexus 5 General] THE_KINGDOM:
has that been published yet? Can you provide a link?
[Nexus 5 General] Link2811:
You need to hold vol+ and press power when you see this triangle.
[Nexus 5 General] gyoung:
If I am not mistaken, stock kernel doesn't support TWRP. Try flashing a custom kernel img using fastboot that u previously used. gl =)
[Nexus 5 General] radkor:
You can use Wug's Nexus Root Toolkit v1.9.3 to root your Nexus 5.

EDIT:

NRT caused bootloop on My Nexus 5 so I don't recommend it yet.
[Nexus 5 General] jsgraphicart:
It was in the latest preview probably because they had all AOSP apps in it. Now they probably have photos pre-installed right?
[Nexus 5 General] Werlboss:
ok, will i got the factory image, i'm willing to bypass twerp if i can...
[Nexus 5 General] gaurav2009:
There is definitely something wrong with flash-all.bat,Firstly it was giving me missing system.img error after some search someone said might be memory issue or something like that,so i disabled most of the startup progs and restarted after restart missing system.img error was gone but i get malloc error now after erasing userdata,i simply started the device by hitting power button,everything is ok now...
[Nexus 5 General] snappycg1996:
Ugh my laptop keeps getting stuck on "calculating time required to copy files" and it is taking FOREVER to manually backup my SD card. Dx
[Nexus 5 General] anshmiester78900:
Guys while using flash-all.bat its saying missing system.img
[Nexus 5 General] feered:
Same thing happened to me. It will kick in, just wait.
[Nexus 5 General] trawel:
I've mannaged to flash that image, but now it's booting for almost 20 minutes and nothing...

Anyone knows a solution?
[Nexus 5 General] MrMagic:
Did anyone find a way yet to dirty flash from the dev preview?
[Nexus 5 General] anshmiester78900:
Here is the screenshot
[Nexus 5 General] czacha234:
Had the same problem. I didnt want to wait, so I copied several folders at time until everything was copied.
[Nexus 5 General] jsgraphicart:
Why would you do such a thing?
[Nexus 5 General] Highway 55:
After fastboot flashing the .img files you need to (WITHOUT REBOOTING) flash custom recovery, TWRP etc... After that from the bootloader reboot into TWRP or whatever. When your in the custom recovery you need to adb push a permissive stock kernel or custom kernel as well as suspersu.zip. Again, without rebooting into the system, flash the kernel first then supersu. Now you can reboot into the system. :cool:

EDIT: BTW is there a permissive stock kernel available yet?
[Nexus 5 General] gaurav2009:
Try this-
[Nexus 5 General] THE_KINGDOM:
the permissive boot.img from this thread has anybody tried it in combination with SuperSI 2.19??
[Nexus 5 General] heavyarms1912:
Used default script on Mac OS X 10.10

rebooting...

finished. total time: 151.735s

:D

Boot took 5-10 minutes. Updating apps now :)
[Nexus 5 General] jsgraphicart:
Probably because the Nexus 5 doesn't mount as a storage device. It's basically for transferring pictures. It's a lot slower. I use Filezilla and FTPserver from the play store to transfer everything over WiFi. It's faster and I don't have to plug my phone into my computer.
[Nexus 5 General] THE_KINGDOM:
has anybody confirmed if this is working?
[Nexus 5 General] GtrCraft:
No it doesn't, use chainfires CF autoroot
[Nexus 5 General] THE_KINGDOM:
I've never used a CF-Autoroot before. how does it work? How is it different?

Do you still flash it through recovery?
[Nexus 5 General] procitysam:
Just to be sure before I take the dive, this is what I do:

Manually flash radio, bootloader, boot.img, cache.img, recovery.img, system.img, and userdata.img. Then go to recovery and factory reset/wipe data. Then use CF-Auto Root to gain root access then flash a TWRP recovery image.

I'm going to use this method (if its correct) because it seems like people are having issues with flash-all.bat. Thanks in advance!
[Nexus 5 General] testamentg:
Dirty flash

Have anyone tried without flashing userdata.img and recovery.img?
[Nexus 5 General] Origin8:
Did they not include the stock Gallery app with 5.0? It was missing as soon as I checked the app drawer so I'm not sure if it's just me.
[Nexus 5 General] Mikulec:
use this: http://xdaforums.com/showpost.php?p=56700032&postcount=299

unzip it on your pc and run while in bootloader

---------- Post added at 12:28 AM ---------- Previous post was at 12:28 AM ----------

no gallery, just Photos app
[Nexus 5 General] reinert012:
Updated the script, i've ran it 3 times on my device...works like a charm!

http://xdaforums.com/google-nexus-5/general/getting-memory-error-flashing-5-0-t2937800
[Nexus 5 General] anshmiester78900:
Can anyone please help me with this error ?
[Nexus 5 General] noodles2224:
Yeah, Photos is in there.. So that's the app from now on then??

Sent from my Nexus 5
[Nexus 5 General] micromax:
Having a little bit different issue than the rest. Everything booted fine, and apps seem to be working fine. My issues lie in the Google Now homescreen I think. My home button doesn't work. My pull down settings don't work. My swipe up to Google Now doesn't work. Swiping from the left to Google Now does work though. Any ideas?
[Nexus 5 General] kaiserb_uk:
Really weird that the batch files seem to fail or 'finish' far too quickly, but running the commands manually seems to work properly.
[Nexus 5 General] Origin8:
Ahh I see thanks!
[Nexus 5 General] betovanbuuren:
Does this factory release comes with ambient display?
[Nexus 5 General] reinert012:
Look at the post above yours :)
[Nexus 5 General] neo2306:
No.
[Nexus 5 General] Oferpaster:
yes it happend to me with 2 phones, just reboot and wait and the system will be up :)
[Nexus 5 General] Sarusani:
Everybody thats has the "Not enough space" issue.

You need to use the latest platform-tools, it won't work with the old ones... Once I updated it worked perfectly.
[Nexus 5 General] anshmiester78900:
That thing put my phone into bootloop with the twrp dude
[Nexus 5 General] alexeius:
I have already experienced android (kernel) drain, omg. After rebooting twice it seems to be ok..
[Nexus 5 General] hussainmushahid:
curious, was the new messenger app not included with the release ? have only hangout.

Downloading now from playstore.
[Nexus 5 General] reinert012:
Did you run it from the bootloader or TWRP? It works perfect on mine, it does wipe the device clean however.
[Nexus 5 General] anshmiester78900:
After reboot was there an android with its ears swinging ?

---------- Post added at 05:12 AM ---------- Previous post was at 05:10 AM ----------

Boot loader but after reboot it opened twrp and strted to go into boot loop with the twrp
[Nexus 5 General] reinert012:
Sounds like the bootloader wasn't flashed right with the script or you didnt have the recovery.img in the right spot?...have you ran the updated script?
[Nexus 5 General] dunjamon:
I've updated...but can't seem to get the notification light to work. Anyone else having this issue?
[Nexus 5 General] Origin8:
Anyone else getting total space 12.55GB in storage options but they have a 32GB N5? What's up with that?
[Nexus 5 General] and313:
Jp u aint the only one... I just cfrooted it and nothing else but battery is definitely a thing left to improve via updates

Edit: or not... Right now not draining
[Nexus 5 General] cowfodder:
adb pull /sdcard/ /sdcard/

after update

adb push /sdcard/ /sdcard/

*edit* oops, forgot to quote. This is for the people that are having slow file transfers while backing up their storage.
[Nexus 5 General] konradbnet:
I am confused. Don't know where to write. :<

Why there is no messenger application? There is hangouts instead.
[Nexus 5 General] Oferpaster:
yes but look here for a solution:

http://xdaforums.com/showpost.php?p=56700567&postcount=1
[Nexus 5 General] anshmiester78900:
Yes i did that still It didnt work
[Nexus 5 General] NOTilyass:
no messenger app ? wtf ? nexus5 users don't deserve it ? -___-
[Nexus 5 General] MrMagic:
Because it's much less work than having to restore all my settings and apps manually?

Yeah, doesn't work. Phone gets stuck on a black screen with only a back button after first boot and upgrading all apps.
[Nexus 5 General] adolfo778:
Download it from the play store
[Nexus 5 General] THE_KINGDOM:
archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

and vendor and system

I got this same error but then it wrote these partitions anyways....???
[Nexus 5 General] Isus <3:
For anyone who wants Google Messenger app:

https://play.google.com/store/apps/details?id=com.google.android.apps.messaging
[Nexus 5 General] adolfo778:
To everyone complaining about it not having messenger installed, who cares its Android you install it from the play store and if you can't you side load it
[Nexus 5 General] S3cret:
I thought 5.0 would have encryption activated by default!?! Because in settings->security I still can enable encryption. Anyone knows about this?
[Nexus 5 General] vboyz103:
Only for new phones like N6.
[Nexus 5 General] THE_KINGDOM:
I'm assuming after flashing the system image right?
[Nexus 5 General] konradbnet:
Maybe I failed something? So I am worried why I don't have messanger. Can someone post link to it? Can't find messenger on market. :o
[Nexus 5 General] snappycg1996:
flash worked just fine here for me. Booting~
[Nexus 5 General] S3cret:
Ah, ok ty

Search for any google app like Maps. Search for other Apps by Google Inc.

https://play.google.com/store/apps/details?id=com.google.android.apps.messaging
[Nexus 5 General] NOTilyass:
YUP ! It was there thx ! btw am I the only that finds it a bit laggy ?
[Nexus 5 General] anshmiester78900:
Guys how to solve the malloc error ?

As i tried these steps still It didn't work for me . at the step of flashing the system image it says system.img not found

fastboot flash bootloader bootloader-hammerhead-hhz12d.img

fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.21.img

fastboot flash system system.img

fastboot flash userdata userdata.img

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot erase cache

fastboot flash cache cache.img

fastboot reboot
[Nexus 5 General] konradbnet:
Nope http://i.imgur.com/qF2pibt.png
[Nexus 5 General] NPS_CA:
My steps to get working Root + tested working Titanium Backup

I posted this in the basically dead Android L Preview root thread; if this helps anyone else great... Hint: Titanium Backup packaged beta6 is busted (or mispackaged) using Beta 5 no issues... links below:

My working steps

- Backed up my phone apps

- Did adb reboot bootloader

- Installed Factory Image (flash-all NOT keeping old data)

- Rebooted and made sure phone is working with LRX21O; enabled dev mode [tap build version 10 times in about]

- Did adb reboot bootloader

- Used CF Autoroot for hamerhead + LRX210 (from here: http://autoroot.chainfire.eu/ - choose hammerhead near bottom + LRX210)

- Installed on reboot (used OI File Manager to get to storage and copied using Android File Transfer) BETA 6 link looks OK now and works: http://bit.ly/1zk8W3M
[Nexus 5 General] criccio:
Are there mirrors for the factory image? My download is chugging along and the estimated time is jumping between 2 and 4 hours. :eek:
[Nexus 5 General] Apoplectic1:
http://www.apkmirror.com/apk/google-inc/messenger-google-inc/messenger-1-0-123-1577662-08-apk/
[Nexus 5 General] sookieball:
ok idk what ive done wrong

downloaded the .tar file from a bunch of links and extracted to adb and not a single flash-all.bat...

am I retarded or???? I know I am a little but...

what the hell am I not downloading?>
[Nexus 5 General] jsgraphicart:
If you don't wipe everything and do it how it's supposed to be done, there is a higher risk of having issues. Just saying...
[Nexus 5 General] testamentg:
Dirty flash works!

Hate to lose any userdata and do back up so I did a dirty flash. I worked just fine. (Don't worry if wifi doesnt work at the first boot, just reboot and wait) :silly:

fastboot flash bootloader bootloader*.img

fastboot reboot-bootloader

fastboot flash radio radio-tilapia-1231_0.18.0_0409.img

fastboot reboot-bootloader

fastboot flash system system.img

fastboot flash boot boot.img

fastboot format cache

fastboot reboot
[Nexus 5 General] reinert012:
my SU is failing to flash via twrp.
[Nexus 5 General] PsychDrummer:
Extract the 2nd zip that's inside the first one. The system.img and the rest of the .img files are in there.
[Nexus 5 General] anshmiester78900:
Anyone please help
[Nexus 5 General] Carol Barros:
Is there any other mirror I can download the factory image from? I keep getting this error on chrome at the end of the download. :mad:
[Nexus 5 General] konradbnet:
I think I had that error too. (no system.img) But I just rebooted phone to recovery, wiped data/cache and it booted. Have you tried it?
[Nexus 5 General] Rusty!:
Update your platform tools
[Nexus 5 General] gaurav2009:
I used flash-all.bat and I got malloc error after erasing userdata than it just finished,then i rebooted and its working fine,is there any imp step after erasing userdata??or i am good to go??
[Nexus 5 General] anshmiester78900:
And i have to put them in the same folder?
[Nexus 5 General] sergini:
Don't remember seeing so many errors in latest releases...

Anyway, not having ambient display is ridiculous! Luckily our great devs have already ported it.
[Nexus 5 General] Raistlin1:
Doing a factory reset from settings solved my storage only showing half of my 32gb.

But no combination of button pushes or holds works when I am in stock recovery mode, this time the dead android with red triangle had the words no command underneath it. Pressed vol +- together for five seconds, vol- and pwr and vol+ pow for five seconds and nothing happens while at that screen with the dead android and red triangle.

I have no idea what is going on with this.
[Nexus 5 General] gaurav2009:
Follow this guide-

Link
[Nexus 5 General] PsychDrummer:
No, I tried doing that and it's much easier to just go inside the second folder.
[Nexus 5 General] iwebsource:
Awesome. Rooted and latest TWRP installed.

I miss the ambient notifications from aosp though.
[Nexus 5 General] reinert012:
1. Download the factory image from Google.

2. Extract those contents into your platform-tools folder wherever that is.

3. Go to the extracted folder, copy ALL the contents back to your platform-tools folder

4. Extract the contents from image-hammerhead-lrx21o.zip (this was in the extracted folder from step 2, which you copied in step 3) and make sure it's in the platform-tools folder again.

5. Make sure script is in the platform-tools folder too, and run it.
[Nexus 5 General] anshmiester78900:
Thanks mate

---------- Post added at 05:52 AM ---------- Previous post was at 05:50 AM ----------

Thanks a lot mate now its booting up :)
[Nexus 5 General] tonyt3rry:
Why isn't gallery installed any more? Is messaging not installed by default either?
[Nexus 5 General] konradbnet:
My eyes are crying because of that 1 too much pixel at left side of app drawer. :( GOOGLE SHAME ON U :(
[Nexus 5 General] reinert012:
hells yea!