yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Q&A, Help & Troubleshooting] PartyMango:
Hm, I successfully flashed vendor.img using

fastboot flash vendor vendor.img

But I'm not sure whether that was the correct way to go about things.
[Nexus 9 Q&A, Help & Troubleshooting] PhilipL:
Hi

Thanks everyone for the replies/responses.

I will try and flash each image separately, however this shouldn't be necessary and means the image (or some setting on the Nexus 9) is wrong or broken. The whole point of the factory image is that it flashes with ease to get us back to a clean slate (well tablet), so a bit worrying they've not seemingly tested it too well.

Note I've flashed factory images dozens of times to Nexus 4, 5, 7 (both years) and never had this problem.

Perhaps Google will post a fix soon.

Best Regards

Phil
[Nexus 9 Q&A, Help & Troubleshooting] ilatimer1:
I think you need to run these two commands before you flash the rest of the .img files?

fastboot flash bootloader bootloader-flounder-3.43.0.0114.img

fastboot reboot-bootloader
[Nexus 9 Q&A, Help & Troubleshooting] mingiunate:
here are the steps i took to manually flash:

run the flash-all.bat up until the point where it fails

unzip image-volantis-lrx21l.zip

fastboot flash system system.img

fastboot flash recovery recovery.img

fastboot flash cache cache.img

fastboot flash boot boot.img

fastboot flash userdata vendor.img - looks like userdata should be vendor? - mine worked with userdata regardless

from tablet - select hboot

select factory reset

Done!
[Nexus 9 Q&A, Help & Troubleshooting] PhilipL:
Hi

I did this as the first step as that is what is in the batch file with all/most Nexus factory images, didn't make a difference though. Something is definitely broken somewhere. However installing the images separately seems to work.

Best Regards

Phil
[Nexus 9 Q&A, Help & Troubleshooting] cundiffr:
When was the last time you updated your SDK? Try downloading the latest SDK and run the flash-all
[Nexus 9 Q&A, Help & Troubleshooting] PhilipL:
Hi

As I mentioned in the first post, after the first failure I updated my SDK to the very latest version, the result was the same. The image doesn't flash unless you separate out the individual parts and do it separately. Either the Nexus 9 isn't configured to allow enough space to accept the entire image (which clearly Google think it should as that is how they instruct it to be installed), or the image is broken in some way.

I'm sure it will get fixed at some point.

Regards

Phil
[Nexus 9 Q&A, Help & Troubleshooting] Longi94:
The same thing happened to my while I tried to flashed the newly released lollipop image to my nexus 5. I only had to restart my laptop and it worked.
[Nexus 9 Q&A, Help & Troubleshooting] PartyMango:
Yep, vendor should be flashed to the "vendor" partition.

userdata is emptied during factory reset.
[Nexus 9 Q&A, Help & Troubleshooting] scotty1223:
Are you sure the prollem is with the tablet? When running a full ruu on other HTC devices, the failure to allocate space prollem arises from not having enough ram on the pc. Could be why flashing the images separately is working.
[Nexus 9 Q&A, Help & Troubleshooting] PartyMango:
It's the image or tablet that's at fault. I ran the flashing process on a high-end machine equipped with 32 GB of RAM.
[Nexus 9 Q&A, Help & Troubleshooting] ch3rryassassinx:
Restart your computer!

I sat here forever trying to figure why the hell i couldn't get 5.0 to flash to my nexus 5. I looked everywhere and didn't find anything that helped at all. I restarted my computer and tried again and it worked instantly. The first thing i said to myself was are you ****ing kidding me.... my computer was the issue. Dont tell yourself bull**** about how your computer is the bees knees. Mine may only have 16 gb of ram but restarting it worked perfectly.
[Nexus 9 Q&A, Help & Troubleshooting] jamalau:
Do i make a fullwipe, befor i flash the Image Files, if yes how i do this.

format system

format data

format cache

????????
[Nexus 9 Q&A, Help & Troubleshooting] Zilol:
fastboot flash userdata vender.img actually worked for me
[Nexus 9 Q&A, Help & Troubleshooting] PartyMango:
Of course it worked: But what you did is flash the "vendor" image to the wrong partition. Userdata should be empty, to be filled with user data.

In essence, you didn't update your device's "vendor" partition with the latest image and filled "userdata" with useless content.
[Nexus 9 Q&A, Help & Troubleshooting] ilatimer1:
So to try and make things easier for myself, I edited the flash-all.sh to this:

fastboot flash bootloader bootloader-flounder-3.43.0.0114.img

fastboot reboot-bootloader

sleep 5

fastboot erase system

fastboot erase recovery

fastboot erase cache

fastboot erase boot

fastboot erase userdata

fastboot erase vendor

fastboot flash system system.img

fastboot flash recovery recovery.img

fastboot flash cache cache.img

fastboot flash boot boot.img

fastboot flash vendor vendor.img

fastboot reboot

How does this look?
[Nexus 9 Q&A, Help & Troubleshooting] Inforc3r:
Hey. I am gonna try it this way but how long does the flash system.img process take? Sending takes 23 seconds but the writing part takes ages. 5 Minutes and still the same

writing "System"
<bootloader>device state : Unlocked

Any tips or tricks for that?
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
System takes a long time and in breaks it up to 4 or 5 smaller flashes
[Nexus 9 Q&A, Help & Troubleshooting] Inforc3r:
Thanks but how long does it take? 20 Minutes running so far.

edit: Now i turned the N9 off and back on to fastboot mode. Changed the cable from original n9 to my old n7 grouper and used the same usb. now it worked.
[Nexus 9 Q&A, Help & Troubleshooting] ilatimer1:
Just a FYI, this is an incorrect statement: fastboot flash userdata vendor.img. It should be fastboot flash vendor vendor.img.

I just ran my modified script and it worked great.
[Nexus 9 Q&A, Help & Troubleshooting] :
can't flash system.img

I got this error

fastboot flash system system.img

target reported max download size of 518205818 bytes

Invalid sparse file format at header magi

fastboot: ../libsparse/sparse.c:143: write_all_blocks: Assertion `pad >= 0' failed.

Aborted

It's the Q factory image from google
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
Could be a corrupted file. Try downloading again
[Nexus 9 Q&A, Help & Troubleshooting] :
I had tried several times... Both the Q and L
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
Have you tried different usb cables and ports? I just flashed it yesterday and it worked for me
[Nexus 9 Q&A, Help & Troubleshooting] :
And I think I also erased my original system data so when I try to boot my N9 it will stuck at the Google frame forever.

I tried AOSP to save it but although everything is OK when i flashing the sys image and the boot image, after I reboot It still stuck at the Google frame..........
[Nexus 9 Q&A, Help & Troubleshooting] aaronc_98:
I cannot seem to get the vendor.img - I keep getting the error- "Target reported max download size of 518205818 bytes Error;Cannot load vendor.img". So right now I am screwed. I did flash each other module successfully, but I cannot finish.

What do I do? If this question was answered in this thread, I missed it.

EDIT:I got it working, totally user error. it helps if you flash the right vendor.img...

thanks,
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
Does your device boot? You're probably ok without the vendor flash
[Nexus 9 Q&A, Help & Troubleshooting] DutchClock:
failed sending system.img

Hi,

upon manually flashing the separate files of the q update I receive an error: "failed (remote: data length is too large)"

do you know how to solve this ?

cheers,

Mark
[Nexus 9 Q&A, Help & Troubleshooting] Agazoth:
Thanks for the tips guys. Unzipping and flashing individually did the trick. If you want the powershell version, here u go:

.\adb.exe reboot bootloader

.\fastboot.exe flash system .\Nexus9\volantis-lrx21q\system.img

.\fastboot.exe flash recovery .\Nexus9\volantis-lrx21q\recovery.img

.\fastboot.exe flash cache .\Nexus9\volantis-lrx21q\cache.img

.\fastboot.exe flash boot .\Nexus9\volantis-lrx21q\boot.img

.\fastboot.exe flash vendor .\Nexus9\volantis-lrx21q\vendor.img

.\fastboot.exe -w

.\fastboot.exe reboot
[Nexus 9 Q&A, Help & Troubleshooting] StuMcBill:
What does fastboot - w do?
[Nexus 9 Q&A, Help & Troubleshooting] Agazoth:
It wipes userdata and cache
[Nexus 9 Q&A, Help & Troubleshooting] StuMcBill:
Ah cool!
[Nexus 9 Q&A, Help & Troubleshooting] reijndert:
Performed updade too, successfully.

Started with a rooted machine.

The image i downloaded was actually a TAR file.

After extracting I ended up with a file without an extension. Renamed it to ZIP.

Now i was able to extract the IMG files and perform the flashing in this order ( as mentoned before ):

.\adb.exe reboot bootloader

.\fastboot.exe flash system .\Nexus9\volantis-lrx21q\system.img

.\fastboot.exe flash recovery .\Nexus9\volantis-lrx21q\recovery.img

.\fastboot.exe flash cache .\Nexus9\volantis-lrx21q\cache.img

.\fastboot.exe flash boot .\Nexus9\volantis-lrx21q\boot.img

.\fastboot.exe flash vendor .\Nexus9\volantis-lrx21q\vendor.img

.\fastboot.exe -w

.\fastboot.exe reboot
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
Where did you get a tar and why didn't you just download the image from Google?
[Nexus 9 Q&A, Help & Troubleshooting] Agazoth:
You get the tar file here: https://developers.google.com/android/nexus/images
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
That's a .tgz file. Not a tar
[Nexus 9 Q&A, Help & Troubleshooting] Agazoth:
It is inside the tgz file. Google are double zipping :D
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
There's always been a zip file inside the .tgz.
[Nexus 9 Q&A, Help & Troubleshooting] Agazoth:
volantis-lrx21q-factory-10521789.tgz is the name of the factory image for Nexus 9 on Googles site. That file contains volantis-lrx21q-factory-10521789.tar, which contains a folder with a volantis-lrx21q.zip file containing the required img-files.
[Nexus 9 Q&A, Help & Troubleshooting] fazbender:
Sigh. read dam it

double zipping was the least of my concerns...on my return to reseting the device to the factory image I downloaded fugu instead of voltaireinatlantis or some othersuch correct image name : \ ..... 3rd failed flash made me giggle. "Dam it" said homer ... "I said fugu me !!!! " . I'm off to dig up those old cassette tapes with Larry King narrating now, see ya.
[Nexus 9 Q&A, Help & Troubleshooting] androidtoy09:
Guys, Im having same problem. Got exact same errors as OP did.

I have the lastest USB driver from google.

Lastest fastboot.exe

Swapped out numerous usb cables

Reboot my laptops twice

I flashed bootloader, boot, recovery, system, vendor. All the manual flashes went fine. But now my tablet is boot looping. I've been waiting over 30mins and those flying colors wont pass.

Im really lost. :confused :(

Edit:

Omg can't believe it. A simple Factory Reset fixed it. Sigh..

I hope this helps
[Nexus 9 Q&A, Help & Troubleshooting] tturcot:
Need help Please!

Ive been trying to fix my nexus 9, i rooted and then factory reset. I couldnt get passed the update screen when setting the tablet up. So i had the problem that everyone else has had, but when i go to run fastboot flash system system.img it gives me an error

load_file: could not allocate enough space 1814205204 bytes

error: cannot load 'system.img'

Does anyone know how to fix this?

i erased system so it should be empty.
[Nexus 9 Q&A, Help & Troubleshooting] g_what:
I am attempting to flash my Nexus 5 back to stock and having the exact same error as described in the OP. I just did a google search for the error and this thread came up.
[Nexus 9 Q&A, Help & Troubleshooting] wildestpixel:
To try to simplify this process I have created a zip (LTE Only) with everything ready extracted and with working flash-all scripts for Windows and *nix like systems.

https://drive.google.com/file/d/0B1b6rgRiJPLsMGFGVUtJZGNqTWc/view?usp=sharing

Hopefully this de-mystifies the process for some.
[Nexus 9 Q&A, Help & Troubleshooting] bluepresto1:
I ran into this too. You need a newer fastboot that splits the big file into small chunks
[Nexus 9 Q&A, Help & Troubleshooting] Smokuevo:
I think find on google mfastboot and try flashing with that. As mfastboot flash system nameofile.IMG
[Nexus 9 Q&A, Help & Troubleshooting] japie06:
I'm using Wugfresh tool to install 5.1.1. but it gives me the same error. What can I do to flash it the right way?
[Nexus 9 Q&A, Help & Troubleshooting] cam30era:
Follow this guide > http://xdaforums.com/nexus-9/general/guide-how-to-unlock-bootloader-flash-t3035153
[Nexus 9 Q&A, Help & Troubleshooting] maxtcee:
im having a problem trying to factory reset my tab and it keeps saying connot open the bootloader img can someone please help i already erased my recovery and data and system
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
You're doing the factory reset in the stock recovery? You might have to re-flash the bootloader.img with fastboot. I have to say I've never seen the error your getting before.
[Nexus 9 Q&A, Help & Troubleshooting] maxtcee:
im trying to flash the bootloader using adb but i says cannot open the file
[Nexus 9 Q&A, Help & Troubleshooting] cam30era:
You have to use fastboot, while booted in bootloader. Not ADB
[Nexus 9 Q&A, Help & Troubleshooting] maxtcee:
i am using fastboot and my tab only go nto bootloader because every hing is deleted bu t wont flah he ootloade or anythin else

---------- Post added at 08:56 PM ---------- Previous post was at 08:53 PM ----------

Microsoft Windows [Version 6.0.6002]

Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Owner>fastboot flash bootloader bootloader.img

error: cannot open 'bootloader.img'
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
Is bootloader.img in your c:/Users/Owner folder?
[Nexus 9 Q&A, Help & Troubleshooting] maxtcee:
Thanks I had the wrong path but now when I go to flash the system I'm having tge same problem as the others in this post where the file is to large. Where can I find a fix? someone said use a newer fastboot can you direct me ?
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
Google 15 second adb install xda. That'll update adb and fastboot
[Nexus 9 Q&A, Help & Troubleshooting] maxtcee:
i did that but it still says file to large

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

Microsoft Windows [Version 6.0.6002]

Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Owner>fastboot flash bootloader bootloader.img

target reported max download size of 518205818 bytes

sending 'bootloader' (2915 KB)...

OKAY [ 0.220s]

writing 'bootloader'...

(bootloader) Device State : Unlocked

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[bct] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[mts_preboot_prod] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[mts_prod] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[hboot] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[nvtboot] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[nvtbootwb0] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[tos] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[sp1] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[gp1] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[pt] unzipping & flashing...

(bootloader) ...... Successful

OKAY [ 5.431s]

finished. total time: 5.651s

C:\Users\Owner>fastboot flash system system.img

target reported max download size of 518205818 bytes

erasing 'system'...

OKAY [ 0.443s]

sending sparse 'system' (499123 KB)...

FAILED (status read failed (No such device or address))

finished. total time: 33.181s

C:\Users\Owner>fastboot flash system system.img

target reported max download size of 518205818 bytes
[Nexus 9 Q&A, Help & Troubleshooting] jd1639:
You've got another problem, which unfortunately I don't know what it is. It's doing what it's supposed to do, except for the "no such device or address" This will wipe your device, but what happens if you lock you're bootloader then reboot, fastboot oem lock. Does it lock, or does it stay unlocked? You can check by booting into the bootloader and using the command, fastboot oem device-info.
[Nexus 9 Q&A, Help & Troubleshooting] maxtcee:
i could flash recovery and bootloader but it wont let me flash the system

---------- Post added at 09:33 PM ---------- Previous post was at 09:31 PM ----------

Microsoft Windows [Version 6.0.6002]

Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Owner>fastboot flash bootloader bootloader.img

target reported max download size of 518205818 bytes

sending 'bootloader' (2915 KB)...

OKAY [ 0.220s]

writing 'bootloader'...

(bootloader) Device State : Unlocked

(bootloader) zip header checking...

(bootloader) shift signature_size for header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[bct] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[mts_preboot_prod] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[mts_prod] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[hboot] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[nvtboot] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[nvtbootwb0] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[tos] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[sp1] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[gp1] unzipping & flashing...

(bootloader) ...... Successful

(bootloader) start image[pt] unzipping & flashing...

(bootloader) ...... Successful

OKAY [ 5.431s]

finished. total time: 5.651s

C:\Users\Owner>fastboot flash system system.img

target reported max download size of 518205818 bytes

erasing 'system'...

OKAY [ 0.443s]

sending sparse 'system' (499123 KB)...

FAILED (status read failed (No such device or address))

finished. total time: 33.181s

C:\Users\Owner>fastboot flash system system.img

target reported max download size of 518205818 bytes
[Nexus 9 Q&A, Help & Troubleshooting] maxtcee:
Got it working thanks for all your help
[Nexus 9 Q&A, Help & Troubleshooting] hoseman1979:
I may well have destroyed my N9. I erased the system, cache, boot, vendor, recovery, and userdata. Then, upon flashing the Marshmellow stuff, "cannot load 'system.img' kept popping up. Like a true ding dong, I typed in "fastboot oem lock" which locked the device and now, I have no system to boot and a locked bootloader that will not unlock.

<bootloader> ability is 0

<bootloader> Permission denied for this command!

Any help?
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
Why did you erase everything? Even wiped vendor and recovery? Ugh. Yeah locking the bootloader after the factory image flash killed you. Dead. RMA is your only option.
[Nexus 9 Q&A, Help & Troubleshooting] hoseman1979:
I figured so. The all the other partitions flash back fine, just the system.img wouldn't flash. Maybe they'll swap it with me.
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
They should. Quite a few ppl have had the same problem. Had you not locked you could have tried flashing again.

That stupid little switch... Allow oem unlocking. Let us know how it goes bro.
[Nexus 9 Q&A, Help & Troubleshooting] bratwurstmc:
[MENTION=4694185]hoseman1979[/MENTION]: same here .... system.img wouldn't flash

i get

C:\android-sdk-windows\platform-tools\Minimal ADB and Fastboot\volantis-mra58k-factory-cc430962\volantis-mra58k>fastboot flash system system.img

error: cannot load 'system.img'

older images, no problem

anyone an idea?
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
Are your storage and cache partitions full? Free up some space maybe.

Also, and this is the most important, make sure you have the most recent version of fastboot from the newest sdk.
[Nexus 9 Q&A, Help & Troubleshooting] drawde40599:
Vendor.img

This vendor.img is now part of the N6P factory img and I can't seem to find any real definition of exactly what it is but this thread came up in Google search . I see it mentioned here a bunch of times but I don't see definition .
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
It contains the stuff for 64 bit processing. 6P is 64 bit like n9.
[Nexus 9 Q&A, Help & Troubleshooting] enriquejones666:
More specifically, the vendor image contains all the drivers for your specific hardware. It gets flashed to the /vendor partition.

Sent from my Nexus 9
[Nexus 9 Q&A, Help & Troubleshooting] whyareallusernamestaken:
I wasn't able to flash system.img trying any of the suggestions in this thread, but using WugFresh's toolkit worked for me.
[Nexus 9 Q&A, Help & Troubleshooting] Dariovsky:
I use mfastboot.exe instead of fastboot.exe and that worked for me
[8125, K-JAM, P4300, MDA Vario Software Upgrading] philnhot101:
ok im having problems uploading this rom... i keep getting error 260 on every rom. i tried to change it from 3.3 v1...it seems that the only thing its alowing me to do Is degrade every rom... i went from 3.3 to 2.24(moliski's version) succesfully. From 2.24 i tried to up date to 3.3 v2 unsucessfull. Then i tried to update from 2.24 to 2.26(moliski's version) unsucessfull. Then went from 2.24 to 1.05 and it work successfully. From there i went from 1.05 to faria's 3.3 v2 and it didnt work, i kept getting error 260 on the computer when its in the IPL SPL with the 3 colored screen on my phone. and now im stuck on 1.05... i dont know whats going on and i asked for help b4 but no one helped. Every flash procedure i did was right (including cid unlock etc) PLEASE CAN ANYONE HELP MY POOR WIZARD ;-;
[8125, K-JAM, P4300, MDA Vario Software Upgrading] TomInMB:
1.05 to 2.X to 3.3

You need to upgrade from 1.05 to a 2.X before going to 3.3
[8125, K-JAM, P4300, MDA Vario Software Upgrading] faria:
have you considered that you may have a corrupted rom?

download again.

and please try to title your problems accordingly. ...lets not spread rumours[farias 3.3 v2 problems....:eek: ]

you are having trouble upgrading your device...not problems with the rom itself.

thanks.

here is your new title

unable to upgrade to faria 3.3 v2...help welcome.;)
[Nexus 9 Q&A, Help & Troubleshooting] juicytuna:
Does anyone with a Nexus 9 in their possession care to run the 7-zip benchmark? Instructions are found in this thread @ beyond3d.com

I'd like to know how Denver does in this test as all we have so far are bunch of browser benchmarks. My Snapdragon 805 Note 4 gets around 1500 in a single thread run and the A57 in the Exynos Note 4 gets around 1900.

Please run in 1, 2 and 4 thread modes. Thanks in advance!
[Xperia Z3 Q&A, Help & Troubleshooting] cwoodffr:
I have a ZL configured the way I like. I have a new fresh Z3. Both are stock. What is the best way to port to the new phone with a minimum of configuration re-do?
[Xperia Z3 Q&A, Help & Troubleshooting] Jiyeon90:
Sony companion's backup and restore feature

Sent from my Xperia Z2