yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] trippme:
Locked bootloader?

I feel like I have everything in place and ADB/Fastboot can see the phone but it's complaining that it's locked:

C:\android-adb_fastboot-16.01>flash-all

sending 'bootloader' (2203 KB)...

OKAY [ 0.075s]

writing 'bootloader'...

FAILED (remote: not supported in locked device)

finished. total time: 0.086s

rebooting into bootloader...

OKAY [ 0.004s]

finished. total time: 0.004s

< waiting for device >

sending 'radio' (45537 KB)...

OKAY [ 1.441s]

writing 'radio'...

FAILED (remote: not supported in locked device)

finished. total time: 1.450s

rebooting into bootloader...

OKAY [ 0.002s]

finished. total time: 0.003s

< waiting for device >

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

archive does not contain 'system.sig'

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

Bootloader Version...: MAKOZ20i

Baseband Version.....: M9615A-CEFWMAZM-2.0.1700.84

Serial Number........: 005e2fb48b0c28c8

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

checking product...

OKAY [ 0.003s]

checking version-bootloader...

FAILED

Device version-bootloader is 'MAKOZ20i'.

Update requires 'MAKOZ30d'.

finished. total time: 0.016s​

I don't see instructions that you have to have an unlocked bootloader, does it? How do you do that?
[Nexus 4 General] torresfelipe:
You have to unlock it. Keep in mind that unlocking it will wipe your device.
[Nexus 4 General] dEris:
I can see why people break their devices. They're doing things that they shouldn't be cause of lack of knowledge. If you're learning, that's great. But read first. Every page. Then re-read. Don't rush things because you want to upgrade to Kit Kat as fast as you can. This will end up taking you longer because you don't know what you're doing.

Learn what fastboot is. Learn what adb is. Learn why you need those. It's crucial. I see some people here who don't even know how to extract files from the factory image. If you can't do that, I'm sorry but learn that first. You need to be semi-advanced in how to use a computer and cmd prompt.

You can seriously brick your device and not know how to fix it. To fix it, it requires knowledge of everything I explained above. You will be in an endless cycle and you will seriously regret it.

Again, I'm all for learning this stuff. It's awesome. But please learn the concept of how to swim before you jump in the pool. We will be your floaties. So to speak.

Or just wait for the OTA or flashable zip.

↗device: mako

↗rom: rastakat

↗kernel: ak

↗recovery: cwm
​
[Nexus 4 General] memi_pt:
somebody tell me: Is the zip file flashable in MultiRom mod?
[Nexus 4 General] mannu_in:
Thanks it worked.... :good:
[Nexus 4 General] sordna:
Should be same as on linux, as long as you have fastboot command (you could check this thread if you don't)

This is what I did after downloading the factory image on my linux computer:

tar xzvf occam-krt16o-factory-75ccae7a.tgz

cd occam-krt16o

zip -d image-occam-krt16o.zip userdata.img

Now I put my phone in the boot loader and did this:

fastboot reboot-bootloader

fastboot flash bootloader bootloader-mako-makoz20i.img

fastboot reboot-bootloader

fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1700.84.img

fastboot reboot-bootloader

(at this point I verified that both the bootloader and the radio where newer versions that I had before)

And finally:

fastboot update image-occam-krt16o.zip

The first boot took about 10 minutes (don't panic, let it run) and all my files and programs where there.

Not sure I like it ... first thing I'm noticing is the mail app doesn't have buttons to move to the next or previous email, you have to swipe left and right which is a far bigger movement of the hand. Also, I HATE the new keyboard :(
[Nexus 4 General] Mercado_Negro:
Don't worry! I'm not after thanks anyways, I'm here because I like to help whenever I can ;) I'm glad you're set now!

Yes, of course. You can flash all images but the stock recovery and use your preferred custom recovery instead. Just make sure to do a factory reset and wipe your device cache after flashing everything so you won't end up in a bootloop.
[Nexus 4 General] nithin1992:
Your bootloader must be unlocked. If you unlock bootloader using fastboot it will wipe your device, if you dont want the wipe, install BootUnlocker from playstore and unlock your bootloader first.
[Nexus 4 General] Mercado_Negro:
You must unlock the bootloader first. Use:

Note: this will wipe your device.
[Nexus 4 General] vickpick:
edit: nvm too late
[Nexus 4 General] tekilaworm:
I have my Nexus 4 Up and Running 4.4 Nice Post

How do i get the Nexus 5 Wallpapers??
[Nexus 4 General] iggie94:
I managed to do it! Thanks to everybody who helped! Now I'm just waiting for it to finish booting up.

---------- Post added at 10:51 PM ---------- Previous post was at 10:48 PM ----------

I usually have 11 gigs free but this time I only have 10. Is that normal?
[Nexus 4 General] dEris:
http://www.androidpolice.com/2013/11/03/download-8-wallpapers-from-android-4-4-kitkat/

I found it by Googling "Nexus 5 wallpapers"

↗device: mako

↗rom: rastakat

↗kernel: ak

↗recovery: cwm
​
[Nexus 4 General] Mercado_Negro:
Here you go:

KitKat Wallpapers
[Nexus 4 General] tekilaworm:
Many Thanks, downloading :good::good::good::good:
[Nexus 4 General] snak3ater:
..When i saw the home screen of kit kat,i thought that i might have flashed 4.3 img instead.Checked the settings to confirm lol..Even the wallpapers were that of JB..

Default launcher is exactly like the one in JB..Only difference is the white color of statusbar icons.Google is going in a strange direction.Everything that N4 got in 4.2,Gnex also got the same thing..No difference.But now look at N5 & the older devices.Yeah surely we can install the GEL but still why this difference in the first place..
[Nexus 4 General] Mercado_Negro:
Glad you're up and running now :thumbup:

Please go to storage and show us a screenshot of that page so we can see what's taking up your space and what's the real state of your storage.
[Nexus 4 General] Vitamin_D:
Thanks for the help. I actually found the 4.3 instructions and they look identical to the ones you posted. It's installing right now so wish me luck. I think the .bat stuff is what confused me because I haven't rooted or updated a phone on Windows since having an OG Incredible. I thought maybe there was a new way of doing things since I only do this every 6 months, and by then my brain has replaced flashing instructions with youtube videos of puppies and kittens.
[Nexus 4 General] himzz0007:
how do get transperacy? bez 4.4 for nexes 4 have no tranperacy can u send the link of launcher
[Nexus 4 General] Mercado_Negro:
It's like having two girlfriends, one natural (Nexus 5) and the other one with new boobs (other Nexus devices). It depends on how they fit and feel for the end-user :D ... Both do the same job on the long run :p
[Nexus 4 General] nithin1992:
http://www.androidfilehost.com/?fid=23212708291676903
[Nexus 4 General] memi_pt:
Any Idea?
[Nexus 4 General] nitin.chobhe:
Can someone please upload the factory image on some other site? I don't have access to https://developers.google.com/android/nexus/images

Or if it is already available can you please share the link? I;'e searched on XDA and Google but couldn't find any source other than Google :(
[Nexus 4 General] snak3ater:
You can try the flashable Rom from the development section..Bootloader & Radio are also available separately
[Nexus 4 General] nitin.chobhe:
Thanks but I would like to install the complete image with flash-all.bat
[Nexus 4 General] snak3ater:
Then wait for someone with fast net to upload it..If i start uploading it now..It'l take a full day for me lol :p
[Nexus 4 General] Mercado_Negro:
I'm planning to upload the .tgz file to Mega as a backup just in case but this will take a couple of hours and I'm going to bed right now. If you can wait 5 hours I'll be back with a link for you.
[Nexus 4 General] nitin.chobhe:
Thanks a lot...! I'm in office for 5 more hours so I think I'll wait :good:
[Nexus 4 General] :
i did the directions and just got an update. i want to completely erase and ind install the full 4.4 rom
[Nexus 4 General] Mercado_Negro:
Ok, I'm uploading it right now. See you in a few hours :thumbup:
[Nexus 4 General] Aspire:
Here's a mediafire link

http://www.mediafire.com/download/foc6d7xsuw7ycuu/occam-krt16o-factory-75ccae7a.tgz

Also, shouldn't it be Volume Up + Down + Power for Fastboot in the original post?
[Nexus 4 General] Goku80:
Volume Down + Power
[Nexus 4 General] quickfastgoninja:
Flashed from stock-rooted 4.3 (franco kernel #193) using this method - perfect result on the first try. Removed the "-w" parameter and user data remains intact. Flashed CWM-touch, then superSU flawlessly. Thanks, OP!
[Nexus 4 General] hittingsmoke:
If you have the LTE hack, you can install this without losing LTE.

Instead of running fastboot update, extract the images from the zip file (except userdata.img) and flash them individually as such:

(you still have to flash the bootloader first and reboot)

fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img

This will update you to 4.4 without loasing your LTE radio or wiping your user data.
[Nexus 4 General] Zinken:
So, I'm locked and want to flash the factory image - I know it will wipe my device. But will it include the storage/emulated SD?

I mean, if I back up some app settings to the "sd-card" will they be lost as well along with pictures etc.?
[Nexus 4 General] nitin.chobhe:
Thanks a lot! Downloading now...
[Nexus 4 General] GenghisKhan67:
Same here, flashed through fastboot (from stock 4.3, unlocked bootloader but otherwise unmodified) and never got it going. Going back to 4.3 until I can figure out how to make 4.4 work.
[Nexus 4 General] RealiZms:
This is why I prefer OTA...less problems. A bad download sideloaded via fastboot is a recipe for disaster. My nexus is more efficient at downloading a large file than my PC.
[Nexus 4 General] GenghisKhan67:
Downloaded the image file without any problems directly from Google at https://developers.google.com/android/nexus/images#occamkrt16o. MD5 check was good, so the problem is not a bad download, at least not in my case.
[Nexus 4 General] Rusty!:
Yes. It will wipe everything.
[Nexus 4 General] ScoolAir:
I tried to install manually the 4.4 KK UPdate, with toolkit.

My Driver work fine, without one thing, when its rebooting my phone the driver gone, its like "Rebooting Your phone" its work

"check your Fastboot MOD" and its not work, becuase the driver gone

solution please plessss
[Nexus 4 General] robin_amko:
The factory image is not proper

the factory image posted by google still has to .84 radio and the 20 bootloader whereas the other images need the .97 radio and 30 bootloader inorder to be flashed...that is why the error...
[Nexus 4 General] GenghisKhan67:
Ok, finally got it to work by reflashing the stock image using Mark Skippen's N4 Toolkit. His flashing routine for stock images includes some extra steps at the end (formatting userdata for example) that did the trick.
[Nexus 4 General] Rusty!:
The archive contains the right images, they're just misnamed.
[Nexus 4 General] deeppans:
WiFi not turning on

Wifi is not turning on.

Please note I used flash-all script and did not removed -w parameter. Meaning I wiped everything.

Is WiFi working well?
[Nexus 4 General] nithin1992:
You did not flash a custom kernel right? If not, Try a reboot. And yes, wifi is working well.
[Nexus 4 General] twowheeler:
if i don't edit the file and let it wipe, does that mean only a data wipe(like apps) or is it like totally formatting the "sd-card" . I hope it's the last one, cause my storage is kind of a mess right now.
[Nexus 4 General] Rusty!:
It will clear everything. The phone will back it's out of box stage (albeit with 4.4).
[Nexus 4 General] DiDk070:
I can't flash it... stuck on waiting for device... Can someone give me the drivers?
[Nexus 4 General] luiseteyo:
Check this for installing drivers. Easy and intuitive http://xdaforums.com/showthread.php?t=2015469
[Nexus 4 General] DiDk070:
Thanks... started flashing. Now I must wait... I can't wait -_-

Ready. Thanks mate. I totaly forgot about this toolkit. Finaly Android 4.4 KitKat.
[Nexus 4 General] rey.ginete:
Running 4.4 with GEL
[Nexus 4 General] :
and when I remove this -w parameter what will be kept? content of sd-card for sure, but all my installed apps and their settings, sms, mms, call logs also?
[Nexus 4 General] luiseteyo:
I allways do

fastboot erase system

fastboot erase cache

fastboot erase boot

fastboot erase recovery

fastboot erase userdata

and then I exetute the flash-all script

(on windows)
[Nexus 4 General] :
Yeah, but this isn't answer for my question, and i don't want my userdata to be erased
[Nexus 4 General] Didusieq:
And do you have transparent bars on lockscreen? Because mine looks like this:
[Nexus 4 General] luiseteyo:
then don't erase it :confused:
[Nexus 4 General] gogus:
I have a question. If I flash my nexus with this method, my data will be wiped? I have clear 4.3 no root, no unlock bootloader.

Wysłane z mojego Nexus 4 za pomocą Tapatalk 4
[Nexus 4 General] RealiZms:
Dude just misworded his question bro.
[Nexus 4 General] Limewirelord:
Does anyone know if the stock image uses audio tunneling with the S4 Pro DSP?
[Nexus 4 General] goraps:
If you remove the -w from the update script (.bat or .sh) file before you run it.

I am not 100 % but I believe that will skip the wipe.

i.e. change

fastboot -w update

to

fastboot update
[Nexus 4 General] Imperticus:
Looks like the same radio still radio-mako-m9615a-cefwmazm-2.0.1700.84

Uploading to mega as we speak.
[Nexus 4 General] Krotox:
I've got bootloop...
[Nexus 4 General] TheSopranos16:
This is the full rom not the OTA upgrade right? Will I lose all my apps and data if I flash this?
[Nexus 4 General] stevew84:
I don't know where my "fastboot" folder is located on my PC. I'm in fastboot mode, USB plugged in, getting errrors while double clicking the bat file.
[Nexus 4 General] bpear96:
It must be a typo because it installs as m9615a-cefwmazm-2.0.1700.97
[Nexus 4 General] 22sl22:
It's different. Some people have already flashed and reported it as .97. Google just didn't bother rename the files
[Nexus 4 General] BTslo:
Waiting for flashable zip. :D
[Nexus 4 General] kzoodroid:
no this is not a zip file you can flash. read the op the directions on how to install it are there but be warned those instructions will wipe your phone clean. you have to edit the flash-all.bat file to remove the wipe command(-w) from the fastboot update command line.
[Nexus 4 General] miticogirl:
I've got question, can I root 4.4 ? I want to install it but cant loose my data so I decide to make backup with titanium backup and after flash and root 4.4 if I can restore my data
[Nexus 4 General] memi_pt:
Do you know How much?
[Nexus 4 General] gpvecchi:
Modem should be the same as 4.3. And bootloader?
[Nexus 4 General] alvin182:
if i flash supersu.zip with latest trwp, root will work?
[Nexus 4 General] kzoodroid:
yes its the factory image and teh instructions in the op will wipe clean your phone.

you have to edit the flash-all.bat file and remove the wipe command (-w) from the fastboot update command line
[Nexus 4 General] a5ehren:
If you're stock and don't want to mess with the batch files, the OTA should be coming soon. Waiting another little bit for 4.4 won't kill you :P
[Nexus 4 General] stevew84:
Stuck on "waiting for device".
[Nexus 4 General] BTslo:
Probably not long. :)

It should: http://www.androidpolice.com/2013/1...riants-of-nexus-7-2012-and-2013-and-nexus-10/
[Nexus 4 General] Taxiback:
I hope not I had to go back to 4.2.2 to get a signal on vodafone in the UK. Using Rastakat now and have a full signal again.
[Nexus 4 General] maryisk:
follow this for flashing on mac. you need to put the fastboot and adb files in the same folder as your factory image

http://xdaforums.com/showthread.php?t=1917237
[Nexus 4 General] LePeR1898:
Flashing using the batch all file without wiping (removed -w command) worked perfectly over here and flashed the latest twrp + superuser without issues.. Now to try out ART when i get home from work incase my phone craps out on me

Sent from my Nexus 4
[Nexus 4 General] DiDk070:
I have tried ART but on most of my apps I get only FC... back to dalvik -_-
[Nexus 4 General] :
maybe you should read my first post carefully once again, before replying EOT
[Nexus 4 General] Rusty!:
Then you can't use this.
[Nexus 4 General] gogus:
So, when Google put this for normal update?

Wysłane z mojego Nexus 4 za pomocą Tapatalk 4
[Nexus 4 General] Rusty!:
Who knows, but it should be soon.
[Nexus 4 General] Aspire:
I guess it will start rolling out pretty soon
[Nexus 4 General] nithin1992:
You can download BootUnlocker from playstore and unlock your bootloader. Then flash the image files except for the userdata.img[-w command]
[Nexus 4 General] hamedunix:
In the .tar file I downloaded there is a .zip file called (image-occam-krt160.zip) should I also extract the contents of it in the fastboot directory?
[Nexus 4 General] gogus:
What about warranty?

Wysłane z mojego Nexus 4 za pomocą Tapatalk 4
[Nexus 4 General] SpasilliumNexus:
It gets voided. You could've looked this and your other back to back questions up on this site and Google.
[Nexus 4 General] abdussamad:
HELPPPP

i flashed 4.4 via nexus root toolki.my phone is working fine but im getting 5.6gb of internel space.my phone has an internal of 16gb please help!!!!!!!!!!!!!
[Nexus 4 General] MelquiXDA:
In Windows, use "Free download manager". I never get a corrupted file after years of use...
[Nexus 4 General] vanmarek:
nvm. Delete this post, please.
[Nexus 4 General] nithin1992:
Do a factory reset, should do the trick :)

You can lock it again once your done flashing
[Nexus 4 General] matthewgwilt:
I've only just noticed that myself! I wonder what's happened there?!? Anyone else with this problem??
[Nexus 4 General] abdussamad:
Factory data reset your device
[Nexus 4 General] :
You can always check the md5 sum once it's downloaded.
[Nexus 4 General] Rusty!:
A bad factory image download isn't going to extract anyway.
[Nexus 4 General] Mercado_Negro:
I saw someone uploaded it as well but here you have my link as promised:

KitKat Factory Images (Occam)
[Nexus 4 General] vtedesque:
i flash on my nexus 4 and works fine... with GEL
[Nexus 4 General] mihai.enea:
Stuck in a boot loop

Hi guys, I also flashed 4.4 after I unlocked it and it stuck on the colored circles screen.

Do you have any advice on this?
[Nexus 4 General] anazhd:
omg i lost all my data!!!!!!

loljk. I did that on purpose, to align everything back to stock. first time back to stock. never used stock before ( bought N4 few months ago, unlock bootloader and flash CM straight away, without even test the phone from factory )

---------- Post added at 09:19 PM ---------- Previous post was at 09:12 PM ----------

flash custom recovery first

did you run flash-all ?
[Nexus 4 General] Mercado_Negro:
Do a factory reset and wipe cache in recovery.
[Nexus 4 General] osugsxr:
relock bootloader and unlock it again, that worked for me.
[Nexus 4 General] Rusty!:
The only reason that would help is because the unlock process factory resets the phone.
[Nexus 4 General] zerohunk:
I am totally stock with locked bootloader .. can i flash it directly?
[Nexus 4 General] Mercado_Negro:
No, you need to unlock your bootloader first but keep in mind this will wipe your device (including storage). To unlock it, just use:

---------- Post added at 09:32 AM ---------- Previous post was at 09:21 AM ----------

I found this:

http://www.addictivetips.com/androi...-galaxy-nexus-bootloader-without-wiping-data/

Apparently it can unlock your bootloader without wiping your device.
[Nexus 4 General] Bobvark:
stuck in bootloader

ok, I ran flash-all.bat and it ran looked right, but then I can't start. I have to plug it in and unplug it just to get it to turn on and it stays in bootloader... Any ideas?
[Nexus 4 General] nitin.chobhe:
Thank you so much. I appreciate that :highfive:
[Nexus 4 General] Mercado_Negro:
Press power button to "Start"?
[Nexus 4 General] Bobvark:
yes, then it turns off. Then I have to plug it in and unplug it to turn back on. Then it only boots into bootloader. Trying to download again, noticed it said

"invalid bootloader image"

archive does not contain boot.sig

archive does not contain recovery.sig

checking product....

failed...

guess it didn't download properly??? but it unarchived fine with no errors....
[Nexus 4 General] Bronk93:
This isn't related to the factory image but rather the GEL launcher. Has anyone noticed that using the stock launcher that came with the factory 4.4 image the power control widget is 4 x 1 but with the GEL launcher it is 3 x 1 so it's not centered on the screen?
[Nexus 4 General] apelael:
Here are my steps to get it 100% working:

1- Backup manually what I've wanted.

2- Used Nexus Toolkit to get it back to 4.3, unrooted, locked.

3 - Placed all the files from the OP on the Nexus Toolkit Fastboot folder.

4 - Restarted using the combination (vol +, vol - and power).

5 - Waited to get my device recognized and ran the flash-all.bat.

6 - Waited a couple minutes and done.

Device rebooted and got all working.

I really don't think all that wipe is necessary. BUT, in my case, i WANTED to.
[Nexus 4 General] TheeWolf:
I have a problem. I installed ADB for dummies from here: http://xdaforums.com/showthread.php?t=502010

I then rebooted into the bootloader and tried to run the flash-all script but it says 'fastboot' is not recognized as an internal or external command,

operable program or batch file.

I'm using Windows 8. I know there are problems with windows 8 and the drivers but I'm not sure what to do.

Thanks!
[Nexus 4 General] Bronk93:
I'm using Windows 8.1 and not having any issues. Are you opening a command prompt in the folder that has all of your fastboot files?
[Nexus 4 General] Rusty!:
Yeah it breaks a few widgets from what I remember.
[Nexus 4 General] TheeWolf:
Yes of course. it is a folder called C:\android-sdk-windows\platform-tools.

I managed to reboot to the bootloader using adb so I'm pretty sure it's the correct folder.

I saw this post:

http://xdaforums.com/showpost.php?p=33463359&postcount=109

But I don't have the "general" in step 3, maybe it's because of Windows 8.1?

Edit: I wrote the command fastboot devices and still got the fastboot not recognized.
[Nexus 4 General] Bronk93:
Is your phone in debug mode? Just for grins make sure you are opening the command prompt in the platform-tools folder and not the android-sdk-windows folder
[Nexus 4 General] TheeWolf:
Yes of course. Like I said I opened cmd in the platform tools folder.
[Nexus 4 General] vmartinez39:
I had to use the toolkit for this as well. I tried installing the full wipe and didn't work for that. Removing the -w from the "Flash-all.bat" works for upgrading, but doesn't for a full wipe. Had an infinite bootloop. Using the toolkit fixed that.
[Nexus 4 General] equiliym:
yeah, thats rather annoying having my most used widgets messed up.. didnt find any solutions so far about this issue
[Nexus 4 General] Wassupdog:
Thanks!

I flashed it and downloaded Nexus 5's launcher.

If Google will release new version (like 4.4.1), I would be able to update straight from the device? (OTA).

My bootloader is unlocked, unrooted.
[Nexus 4 General] Barbatos19:
Just a quick question. No need to fastboot the recovery ? Only the bootloader system and radio?
[Nexus 4 General] kzoodroid:
No to get an OTA you have to be 100% stock.
[Nexus 4 General] TheeWolf:
[MENTION=2122967]Bronk93[/MENTION], Never mind, I gave up and used a toolkit to flash. Thanks anyway for trying to help!
[Nexus 4 General] kooocko:
If I edit the flash-all.bat by removing the -w to avoid wiping, does it still flash userdata.img and thus deleting all my data?
[Nexus 4 General] gd6noob:
is it me or is there only 1 file inside that .tar? I downloaded 3 times and same thing...

EDIT

Ok... I was using IDM to download it which I think caused the problem.. using the browser to download the file worked.. flashing now...