yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] itasoulas:
​

This is Google's Official KRT16M Factory Image for the Nexus 5, without any mods included, zipaligned/signed, unrooted, untouched and ready to be flashed through any custom recovery. It will always come handy to you if you want to return back to stock from a custom rom, do a fresh and clean install or simply use it as a base to add your own mods. It is not rooted as some may don't want a rooted rom but can easily be done at any time by the end user. It comes in 2 versions, odexed and deodexed. This was cooked with dsixda's Android Kitchen.

Download KTU84P/Android 4.4.4 - Odex New!!!

http://www.mediafire.com/download/5e8m6403zj806kr/hammerhead_KTU84P_ODEX_itasoulas.zip

Download KTU84P/Android 4.4.4 - Deodex New!!!

http://www.mediafire.com/download/cfgxfavc1dq1c3t/hammerhead_KTU84P_DEODEX_itasoulas.zip

Relevant post:http://xdaforums.com/showpost.php?p=53548698&postcount=130

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

Download KTU84M/Android 4.4.3 - Odex

via dev-host

Download KTU84M/Android 4.4.3 - Deodex

via dev-host

Relevant post: http://xdaforums.com/showpost.php?p=53145268&postcount=120

**** OUTDATED ****

Download KOT49H/Android 4.4.2 - Odex

via MEGA

via dev-host

Download KOT49H/Android 4.4.2 - Deodex

via MEGA

via dev-host

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

Download KRT16M/Android 4.4 - Odex

via MEGA

via dev-host

Download KRT16M/Android 4.4 - Deodex

via MEGA

via dev-host

Installation Procedure

- You need TWRP or CWM Custom Recovery installed on your phone.

- Wipe cache & dalvik

- Wipe data/factory reset

- Format system

- Flash rom

- Wipe cache and reboot

Root Procedure (optional)

Follow this thread by Chainfire. Once rooted you may also need to install Busybox

Odexed vs. Deodexed Mini Info

- Odexed may boot faster, can receive OTA updates

- Deodexed is easily customisable but cannot receive OTA updates

Note

: I do not own a Nexus 5 (I am a Galaxy Nexus/Nexus 7 2013 user) so I cannot test things for you. But it should be safe for you flashing this since the procedure with Android Kitchen is always the same. Again I am not held responsible for any damage or issues you may face with your device after flashing this. You do this at your own risk!

***

How to update Android Kitchen in order to cook succesfully Nexus 5 ROMS

***

(thanks to members a9y and Dirk64 for providing me the workaround)

- unzip the files as follows:

a. "hammerhead" in kitchen's tools/edify_defs folder

b. "api_level" in kitchen's tools/deodex_files folder (will overwrite default file in that folder)

c. "use_this_version" in kitchen's tools/deodex_files folder (will overwrite default file in that folder)

d. "smali-2.0" & "backsmali-2.0" files in kitchen's tools/deodex_files folder

- now you can cook succesfully!!!

Thread will be updated every time a new factory image from Google is available!
[Nexus 5 Android Development] rc420head:
mine! awesome thanks
[Nexus 5 Android Development] jenkins-84:
Fight Ya :p haha
[Nexus 5 Android Development] grneyez:
Ah, and so it begins. Cant wait till Monday when I get mine. Thanks
[Nexus 5 Android Development] Haeretik:
Nice, can't wait till i get mine... hrrr
[Nexus 5 Android Development] mymusicathome:
Thanks for sharing

Sent from my SGH-I337M
[Nexus 5 Android Development] troby86:
It has begun!!!
[Nexus 5 Android Development] itasoulas:
added deodexed version. I guess I am done for now. See you again when google releases a new factory image. Enjoy your awesome Nexus 5! :good:

EDIT: removed deodex, will re-upload in a while. Needed to deodex private apps folder, sorry about that!
[Nexus 5 Android Development] hyelton:
Here is a mirror if its ever needed of the STOCK factory rom from Google

http://storagecow.eu/index.php?dir=Xda/Nexus+5/Stock+4.4/
[Nexus 5 Android Development] Hand76:
You know I never really knew the exact diff. What can be customized on deodexed that can't be on odexed? Just curious.
[Nexus 5 Android Development] pert_S:
http://xdaforums.com/showthread.php?p=40026270 :good:
[Nexus 5 Android Development] itasoulas:
Fully deodex version link added @ 1st post (including the priv-app folder!)

As the Android Kitchen wasn't build to support Android 4.4, after I build deodex version, I had to manually go back and erase apps in working folder's system/app, move the apps from priv-app to system/app and deodex again. Now apps from priv-app folder are deodexed so I replaced the odexed versions in original deodexed zip and then zipaligned it via command through android sdk tools folders. So quite easy trick there!
[Nexus 5 Android Development] shivasrage:
I get same error like the other build posted here in this section on XDA:

Deodexed version:

TWRP install error:

Error executing updater binary in zip

FAILED

Has somebody a hint whats wrong..??.

TWRP or the build zip?

thanks
[Nexus 5 Android Development] Lal Ayer:
Wonderful Work

You are Awesome Bro Thanks for KitKat 4.4 Many user waiting for 4.4 wait is over Thanks for KitKat 4.4 Rom
[Nexus 5 Android Development] itasoulas:
I really can't test since I do not own the phone.

Maybe others give us some feedback, can you flash this people?

(don't know how many you already own the phone) I guess, if the bug is really there and not just you, updater-script or update-binary files might have a fault. Maybe Android Kitchen is not suitable to cook for N5? Maybe TWRP? Try CWM maybe? The process with Android Kitchen is quite straight forward, it shouldn't give errors.
[Nexus 5 Android Development] ltredbeard:
It's mostly just theming. Also, the longer boot time is only on the initial boot.
[Nexus 5 Android Development] Aerowinder:
TWRP has issues with some update-binaries (and the same one will probably work on CWM). Grab one of their binaries from another release they've done.
[Nexus 5 Android Development] Maurice5813:
Is deodexed booting?
[Nexus 5 Android Development] nkgangew:
I get the same error on both deodex odex version. Tried TWRP official and the 0.1. Oddly enough I can flash Slim rom. So I'm not sure if it's recovery or ROM.
[Nexus 5 Android Development] teshxx:
It's the binary and script. Kitchen hasn't been updated in a long time and its using old binary/script. Gotta update those.
[Nexus 5 Android Development] shivasrage:
[MENTION=2760012]teshxx[/MENTION]

I know your deodexed and rooted...builds for the other Nexus devices the

are all woriking very fine are you building one for the Nexus 5 also ...? :good:

greets :o
[Nexus 5 Android Development] teshxx:
I just got mine yesterday...still playing with KitKat. Will definitely make something for this. I just want to stay stock (rooted, but stock) for a few days to see how everything performs. Then start tinkering with it so that I know if its better or worse than stock.
[Nexus 5 Android Development] Hand76:
Great work OP. Can we get one of these with root built in?
[Nexus 5 Android Development] shivasrage:
[MENTION=2710166]Hand76[/MENTION]

can you install deodexed without an error?

greets
[Nexus 5 Android Development] Hand76:
No sir have not even tried yet. Have you been having issues with it?
[Nexus 5 Android Development] motoridersd:
I have the same problem with TWRP. I'll try CWM

Edit: It also fails in CWM
[Nexus 5 Android Development] J.S.C:
This may be a silly question but as updates come out does this get updated also?

i.e if there is a stock ota update will this be implemented for us to flash a new version?

Sorry for the silly question but coming from years of CM I haven't had to consider this before.

Thanks
[Nexus 5 Android Development] itasoulas:
member a9y gave me a hint of how to succesfully cook nexus 5 roms with android kitchen. Will try that trick and re-upload odexed/deodexed versions. Hope will boot this time!
[Nexus 5 Android Development] abalosmusic:
No more download links?
[Nexus 5 Android Development] itasoulas:
uploading. dev-host is very slow and stops my uploads for whatever reason. I will upload on MEGA now and upload on dev-host during the weekend since this is my primary file server.
[Nexus 5 Android Development] abalosmusic:
OK ty
[Nexus 5 Android Development] shivasrage:
Ok thanks for this ....

I´ve already read the OP...but can you explain a little more precise please.. ;)

What kind of file is it ?

Is it created with Notepad++ ?

Is it pushed directly in /tools folder?

greets :)
[Nexus 5 Android Development] itasoulas:
when links are up (should take a while, slow upload), will make it more simply to all and just give my file and path to place it to tools/edify_defs.
[Nexus 5 Android Development] Dirk64:
I've placed the "hammerhead" file in tools/edify_defs but hammerhead does contain system/priv-apps (SystemUI.apk....) and this apps won't be deodexed. So there must be some files changed in the deodex scripts. Will try...
[Nexus 5 Android Development] itasoulas:
Updated/Working Odex + Fully Deodex versions are live!!!

Ok guys, newly cooked odex/deodex versions are available. Uploaded on MEGA but will also provide dev-host links soon.These should be installing/booting without problems. Android Kitchen hasn't been updated since a long time as most of you know so the edify scripts in tools folder were missing the file for Nexus 5. That led to updater-script/update-binary in rom to be incorrect. Try TWRP or CWM...both or one of them should make this work. I really haven't followed progress of these two so don't know which one works best for nexus 5 to date.

I also provide @1st post a fix for those who want to cook with kitchen nexus 5 roms (thanks to member a9y who suggested this via a private mesage). Report back if everything is ok :good:
[Nexus 5 Android Development] Dirk64:
It works, booted fine, Kitchen works also, build one deodexed for me, thanks.

Sent from Google N5...
[Nexus 5 Android Development] kurbstar:
What happened to Google Now?
[Nexus 5 Android Development] Greg11784:
Tried the deodexed version and got a ton of FCs after initial Google setup. My attempt at kitchen with hammerhead did this also... Wondering if there are still more kitchen tweaks to be done
[Nexus 5 Android Development] maxal:
Hi, does the stock odex version have stock recovery.
[Nexus 5 Android Development] markwebb:
I would like to know that as well. I would think it should since it can receive ota.
[Nexus 5 Android Development] Hogyoku:
I think it keeps your custom recovery because you should be able to flash a official ota in custom recovery.
[Nexus 5 Android Development] maxal:
When I had my HTC One we needed stock rom and stock recovery before an update could be installed.
[Nexus 5 Android Development] markwebb:
That is true with most phones: need stock rom and stock recovery to get official OTA. However, if someone grabs the OTA and zips it up, then it can be installed via custom recovery. But usually, live OTA's are only via stock recovery.

Now, is the Nexus different in that respect?
[Nexus 5 Android Development] phishfi:
I believe you're correct (from my experiences with the gnex)
[Nexus 5 Android Development] shivasrage:
FC on deodexed build confirmed !!

After setting up Google with password ...Playstore, Hangouts, Calendar FC´es :(

greets
[Nexus 5 Android Development] vng10:
Is anyone experience only one speaker worker ? My right speaker doesn't seem to be working for anything..... I'm kind of concerned :/

EDIT: never mind. Used the googles. That's silly there is only one speaker
[Nexus 5 Android Development] Dirk64:
I changed in kitchen tools/deodex_files smali/baksmali to 2.0 and set "use_this_version.txt" also to 2.0. Now my deodexed hammerhead runs without fc. Don't forget to set API Level to 19! Sorry, can't upload, I've to slow internet and this is not my thread.
[Nexus 5 Android Development] itasoulas:
since I don't own the device...you say that by doing this, deodex version runs without fcs? If so I can cook and re-upload. So my odex rom runs fine but the problem is with deodex only? Can someone confirm this?
[Nexus 5 Android Development] shivasrage:
I have also allready build succsessfully a deodexed stock ROM 5 min ago...so it´s done...only inplementing new supersu failed..

so I have to re-root in recovery...:(
[Nexus 5 Android Development] EnzoFr83:
I have fcs too...

With the store and Smart Messenger
[Nexus 5 Android Development] Dirk64:
Did you cook your own deodex ROM? Read a few posts above, I'm running mine now since ~ 3 days without any fc.

http://xdaforums.com/showthread.php?p=47256651

Sent from Google N5...
[Nexus 5 Android Development] EnzoFr83:
No, but how cook the rom ?
[Nexus 5 Android Development] Dirk64:
I use Dsixdas kitchen and changed the files,I wrote above.

http://xdaforums.com/showthread.php?t=633246

Sent from Google N5...
[Nexus 5 Android Development] EnzoFr83:
Thanks, i installed Android Kitchen and changed the files but how open the file hammerhead with Kitchen ?
[Nexus 5 Android Development] Dirk64:
Put ROM in folder put_rom_here and extract it. Kitchen will recognize what ROM it is.

Sent from Google N5...
[Nexus 5 Android Development] J.S.C:
This seems an obvious question but it wasn't answered last time I asked.

Does the Deodex version get updated whenever Google push a new version and if so how quickly would I expect to be able to get this update?

Thanks guys :)
[Nexus 5 Android Development] Dirk64:
No, normally you get updates for unchanged system only. But, who can say, there was no update at this time so we'll see.
[Nexus 5 Android Development] EnzoFr83:
Cygwin don't work by my computer...

Someone can upload the cooked rom please ? I don't cook :(
[Nexus 5 Android Development] vng10:
so my camera app just broke itself today ... i dont know what happened i used it earlier today :( anyone have this issue? im on odexed
[Nexus 5 Android Development] EnzoFr83:
Please, someone have a link for download the stock deodexed rom (stable) ?...
[Nexus 5 Android Development] v1c70r:
+1
[Nexus 5 Android Development] moffa~:
Face unlock breaks the camera
[Nexus 5 Android Development] v1c70r:
I'm trying to make my own deodexed rooted clean rom, so I hope I can uploaded tonight to mega server.

EDIT: It doesn`t work on my Nexus so I restored my nandroid backup and hope someone could upload another one soon
[Nexus 5 Android Development] Dirk64:
So, if no one does it, here's my deodexed. Got it running now for nearly two weeks without issues but it's not pre-rooted. I've one but I don't want to upload again with my bad internet connection. The Rom doesn't contain Hindi and korean IME.apk any more! If you want it, go to store. But AOSP Browser and MMS/SMSF are installed. Also DeskClock is blacked out. Flash Rom - flash SuperSU 1.69 - done

Download
[Nexus 5 Android Development] itasoulas:
thanks and sorry for not being around for a while. Will fix and cook again now and upload soon fixed fully deodexed UNTOUCHED version
[Nexus 5 Android Development] Dirk64:
No I've to be sorry for hitchhiking your thread but I couldn't stand that asking for new version any more.

Sent from Google N5...
[Nexus 5 Android Development] itasoulas:
no worries dude :good:
[Nexus 5 Android Development] itasoulas:
Freshly baked fully deodex UNTOUCHED version uploaded [MENTION=528555]1st[/MENTION] post. This should be ok now without force closes on certain apps. I also updated the workaround to cook succesfully Nexus 5 Roms with Android Kitchen. Also I want to remind you that you don't have to pm me to use my cooked versions as a base for your rom. That's why I did it so use them without asking me.
[Nexus 5 Android Development] Globespy:
Thanks!

I've been looking for a deodexed pure untouched ROM that I can root and then if mods become available, I can add them (like battery percentage).

What I don't understand is that if you have not touched the ROM (other than deodexing), why has it been having issues with FC's?

Can anyone confirm if this new version is crash free?

Thanks.
[Nexus 5 Android Development] itasoulas:
The "UNTOUCHED" refers to the fact that the rom does not have any modifications on it. It's cooked using the official Google factory image with Android Kitchen. The last hasn't been updated for quite some time and the crashes were due to 3-4 things, like change API level for deodexed files, use new smali/backsmali .jar files and of course specify a new edify script for nexus 5. So crucial input data were missing from kitchen.
[Nexus 5 Android Development] v1c70r:
this one works perfectly!!
[Nexus 5 Android Development] ramdyc:
The new deodexed version seems to be working perfectly now. No problems yet. Thanks!
[Nexus 5 Android Development] angus242:
Quick question. And first of all, thanks for this. I got to modding and system.ui crashed looped. Oops. I used your odex version to start over. I have no problems whatsoever.

My question is about the dialer. I swear on the original ROM, the dialer pad had the new white color scheme. My dialer now has the 4.3 style blue keys. Is it just me?

Edit: It's just me :good:
[Nexus 5 Android Development] rivera618:
Will this be updated to KRT16S?
[Nexus 5 Android Development] ldubs:
Never mind delete

sent from my hammerhead
[Nexus 5 Android Development] Globespy:
I think it's best to wait until a nexus 5 specific update is provided. Never been a fan of ports from other devices.
[Nexus 5 Android Development] maddoggin:
deodex version link seems to be down! anyone have a mirror?
[Nexus 5 Android Development] luckylui:
Hey OP,

Thank you for refreshing my mind with the kitchen. Also, thank you and the people that helped out figuring out how to update the kitchen for hammerhead builds. I have made my set up off this kitchen and the provided updates to the tools folders. Thank you very much, I managed to put a stock ROM together rooted and ready to go :) thank you very much!!
[Nexus 5 Android Development] dream21:
Thnx mate - Ευχαριστώ :)
[Nexus 5 Android Development] Hand76:
So the deodexed works fine now? Thinking of giving it a go in the coming days.
[Nexus 5 Android Development] Venomous Viper 119:
Itasoulas! Nice to see you! I'm from the Ace forums! Loved your miracle rom & apocalypse rom! Got my Nexus 5 yesterday. Will try your ROM soon! Cheers!
[Nexus 5 Android Development] bmakk2055:
Is this the md5 for odex ?
[Nexus 5 Android Development] Ali812:
using the deodexed version (wanted stock ROM but deodex version in case I needed to install a mod), works great, no FC issues so far!
[Nexus 5 Android Development] dianlb50:
Kitchen

Has anyone managed to cook a rom with the patch ? For me it's an error in the update/r script :rolleyes:
[Nexus 5 Android Development] rasta312:
Today she Version 4.4.1 when you can count on deodex 4.4.1?
[Nexus 5 Android Development] GavinMazey:
Just flashed odex version of this then the 4.4.1 update and it worked great. Had to fastboot flash recovery after then flashed supersu.
[Nexus 5 Android Development] mjs2011:
What recovery did you use to install the update?
[Nexus 5 Android Development] GavinMazey:
Playfulgods clockwork.
[Nexus 5 Android Development] inspeckta_dek:
Where can I get the update? Link?
[Nexus 5 Android Development] GavinMazey:
http://xdaforums.com/showthread.php?t=2511952 here it is next time just look for it, it was only a few threads below this one.
[Nexus 5 Android Development] metayoshi:
Did the same thing. It worked pretty well.:victory:
[Nexus 5 Android Development] mjs2011:
I third that. This process was easy cheesy.
[Nexus 5 Android Development] GavinMazey:
I felt like it was almost to easy.
[Nexus 5 Android Development] inspeckta_dek:
What recovery did you guys use? I have cwm .45 and did the same but when I flashed the update, i got the dead droid with the heart sticking out
[Nexus 5 Android Development] Mikulec:
Anyone with other mirror that the ones that are in first post?
[Nexus 5 Android Development] GavinMazey:
I'm using the clockwork I linked you earlier. I had no issues flashing the ota but I had just clean flashed the stock rom here. After the ota I did have to re flash clockwork or I would get the droid you speak of which is stock recovery.
[Nexus 5 Android Development] itasoulas:
a few hours ago 4.4.2 official factory images appeared on google's page. I will update this thread with odex/deodex versions tomorrow!
[Nexus 5 Android Development] itasoulas:
1st post updated with odex/deodex versions of KOT49H (Android 4.4.2). dev-host links will be available tomorrow.
[Nexus 5 Android Development] jose makalolot:
What's the difference between this a the rest of the stock odex/deodex roms few days ago aside from this has no root?
[Nexus 5 Android Development] LNJ:
These are based on the factory image rather than the OTA right?
[Nexus 5 Android Development] Dzong:
Is better odex or deodex versione?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] fantomscribla:
This is from the factory images that google provided, the other stock roms available were compiled from the OTA update.
[Nexus 5 Android Development] itasoulas:
added dev-host download links @ 1st post. FYI, this thread may have nothing different from others that provide stock roms. But this thread was the

first ROM thread created in the Nexus 5 forums

. I wouldn't have created a thread that already existed. Anyway this info goes for the new comers. I will continue to update this thread when updates are available. It's all I can do since I do not own the phone. Have fun everyone! :good:
[Nexus 5 Android Development] honming:
according to the 1st page, it is noted that the difference between Odexed and Deodexed :

Odexed vs. Deodexed Mini Info

- Odexed may boot faster, can receive OTA updates

- Deodexed is easily customisable but cannot receive OTA updates

however, i also don't know which version is better in daily use :confused:

OH, I found this :

[Explained] Difference between Odex and Deodex?

http://xdaforums.com/showthread.php?p=40026270
[Nexus 5 Android Development] DRatJr:
Can I not use the root method (flashing SuperSU) as done in this thread once I flash this stock ROM?

http://xdaforums.com/showthread.php?t=2507905
[Nexus 5 Android Development] misterviolinguy:
Yes, you can.

Just wondering, does anybody else in the USA have issues with Google Play Books using this rom? I've redownloaded and reflashed, and it keeps saying that it "couldn't retrieve books." Thanks.
[Nexus 5 Android Development] william1974:
This ROM comes with lastest bootloader and modem?
[Nexus 5 Android Development] nadiros:
Just wanna check in that I've been using this ROM(deodexed) with Xposed and a custom kernel for months with no issues. Thanks for sharing the build.
[Nexus 5 Android Development] wigginst:
Just to be sure this would be the correct rom to flash if running stock and wanting to clear out stuff for trying different kernels etc. Correct? Many say it needs to be replaced when go from one kernel to another to clear out scripts etc so this would keep from losing setup (other than xposed etc that would have to be reinstalled).
[Nexus 5 Android Development] J.S.C:
I presume this means we will see a 4.4.3 update from you shortly?
[Nexus 5 Android Development] :
it's a stock ROM so it will be updated only when google will release the 4.4.3 factory image
[Nexus 5 Android Development] J.S.C:
Yes I'm aware, I was just bringing the subject up because I'm excited as we are likely to see it released within the next week or so.
[Nexus 5 Android Development] jpone7:
A bit confused

Pardon my ignorance but is flashing this rom the same as flashing any other rom via a custom recovery? I read the first post but it seems after I flash the rom it gives me a "No OS installed" in TWRP recovery, did I miss something?
[Nexus 5 Android Development] kevtrysmoddin:
Same here no os installed
[Nexus 5 Android Development] GtrCraft:
unmount system before installing
[Nexus 5 Android Development] asd87:
4.4.3 factory images https://developers.google.com/android/nexus/images#hammerheadktu84m
[Nexus 5 Android Development] itasoulas:
Yes I know... I will try to do this tomorrow morning. I have formatted my PC recently so need to reinsntall all necessary files and programs. But there isn't any special thing on this rom really except that it was the first ever appeared on this thread.