[Nexus 5 General] theburrus1:
Need help with flashing stock rom via fastboot on Linux

Hi, so I have a question here. I'm not sure why my stock rom file contains the files the way it does but here (please see attachment):

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/adspso.bin

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/boot.img

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/bootloader.img

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/flashfile.xml

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/fsg.mbn

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/gpt.bin

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/logo.bin

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/NON-HLOS.bin

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/oem.img_sparsechunk.0

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/oem.img_sparsechunk.1

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.info.txt

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/recovery.img

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/regulatory_info_default.png

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/servicefile.xml

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/slcf_rev_d_default_v1.0.nvm

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/system.img_sparsechunk.0

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/system.img_sparsechunk.1

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/system.img_sparsechunk.2

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/system.img_sparsechunk.3

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/system.img_sparsechunk.4

file:///home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/system.img_sparsechunk.5

If you notice, first it contains no radio.img file, nor is there a userdata.img nor cache.img. Furthermore the system.img is broken into sparse chunk images. So am I supposed to make one .img file first then flash the system? Although I'm doubting it would be successful as some hash or key would be bad. Lastly, using fastboot flashall to flash the flashfile .xml I get the error

linux-ki4n:/home/kevin # fastboot flashall /home/kevin/OWENS_SPRINT_NCR26.58-26_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/flashfile.xml
error: neither -p product specified nor ANDROID_PRODUCT_OUT set

So I am not sure what product or PRODUCT_OUT fastboot is looking for?

Any help doing all this successfully is appreciated.