Hi, i have a nexus 5 rooted on stock android 5.1.1 . I am trying to flash the 5.1.1 factory image to unroot my device. But unfortunately i just get this message when its trying to flash the system.img and my device is now bricked
target reported max download size of 1073741824 bytes
load file:could not allocate 1073741824 bytes
error: cannot load 'system.img' : not enough space.
If someone could please help me with this i would be so greatful.
thank you
this is posted on the wrong section but i had this problem, i just went to
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
and did the second method and it worked
ok thank you so much! are you sure it works?
stanleylam24 said:
this is posted on the wrong section but i had this problem, i just went to
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
and did the second method and it worked
Click to expand...
Click to collapse
thanks so much are you sure this works?
I agree, this method works for me
yeah It works, I have this issue to every update now.
you need to extract the files in the zip and flash them one by one
fastboot flash bootloader bootloader-hammerhead-hhz12k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.27.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot reboot
of course I don't flash userdata, I don't want to wipe my n5
Matrix_19 said:
yeah It works, I have this issue to every update now.
you need to extract the files in the zip and flash them one by one
fastboot flash bootloader bootloader-hammerhead-hhz12k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.27.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot reboot
of course I don't flash userdata, I don't want to wipe my n5
Click to expand...
Click to collapse
ok thank you! im gonna try flash the 6.0 image, wish me luck!
stanleylam24 said:
this is posted on the wrong section but i had this problem, i just went to
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
and did the second method and it worked
Click to expand...
Click to collapse
hi it didn't work, just shows this:
C:\Users\my name\Desktop\Minimal ADB and Fastboot>fastboot fla
sh system system.img
target reported max download size of 1073741824 bytes
error: cannot load 'system.img'
Matrix_19 said:
yeah It works, I have this issue to every update now.
you need to extract the files in the zip and flash them one by one
fastboot flash bootloader bootloader-hammerhead-hhz12k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.27.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cache cache.img
fastboot reboot
of course I don't flash userdata, I don't want to wipe my n5
Click to expand...
Click to collapse
hi it didn't work, just shows this:
C:\Users\my name\Desktop\Minimal ADB and Fastboot>fastboot fla
sh system system.img
target reported max download size of 1073741824 bytes
error: cannot load 'system.img'
It could be the wrong system path, file name, folder name, cmd prompt not as admin. You have to have some sort of knowledge to figure out yourself. I had this problem but was able to fix it on my on. There are many factors that might cause this.
maybe try to find a more recent version of your ADB/Fastboot tools ? I've never had any issue manually
***EDIT*** platform-tool file outdated dag-nam-it... all fixed got mm installing as we speak thanks @Matrix_19 for the pointer :beer:
***EDIT "*** attached a.zip of platform-tools taken from the latest android-sdk
Related
It's fair to say I'm an idiot. I couldn't update my OPO to XNPH30O, so I thought it was a good idea to reboot the recovery (TWRP) and reset my device. I clicked on advance and checked all the boxes, including system... So as dumb as I was I didn't know what it meant, so accidentally I erased my operating system. Now I don't know what to do. Could somebody please help me. I already tried this, but I received an error: http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
pronkjuweel said:
It's fair to say I'm an idiot. I couldn't update my OPO to XNPH30O, so I thought it was a good idea to reboot the recovery (TWRP) and reset my device. I clicked on advance and checked all the boxes, including system... So as dumb as I was I didn't know what it meant, so accidentally I erased my operating system. Now I don't know what to do. Could somebody please help me. I already tried this, but I received an error: http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
Click to expand...
Click to collapse
Goto android development and download any rom mahdi or calkulins and perform full wipe from twrp and flash it...if that didnt bootnurbdevice foral a reason or other u have to flash stock using fastboot,
Try and lets see
Nickthegr8 said:
Goto android development and download any rom mahdi or calkulins and perform full wipe from twrp and flash it...if that didnt bootnurbdevice foral a reason or other u have to flash stock using fastboot,
Try and lets see
Click to expand...
Click to collapse
That's exactly what I did: [GUIDE] Return your OPO to 100% Stock (Current Build - XNPH30O) , but it failed as I showed above.
What is the step that you want to achieve? Stock ROM? Custom ROM?
If you're able to get into fastboot and recovery mode, your device is not bricked
If you have fastboot or can access your recovery your fine. You have wiped your complete phone so you will need to sideload an appropriate ROM or put it onto a USB stick and use USB to loaf ROM from twrp
zephiK said:
What is the step that you want to achieve? Stock ROM? Custom ROM?
If you're able to get into fastboot and recovery mode, your device is not bricked
Click to expand...
Click to collapse
I want stock ROM.
nathlynn22 said:
If you have fastboot or can access your recovery your fine. You have wiped your complete phone so you will need to sideload an appropriate ROM or put it onto a USB stick and use USB to loaf ROM from twrp
Click to expand...
Click to collapse
I can access my fastboot and my recovery (TWRP). How do you sideload an appropriate ROM or put it onto a USB stick and use USB to load ROM from twrp?
Thank you both for your help
pronkjuweel said:
I want stock ROM.
I can access my fastboot and my recovery (TWRP). How do you sideload an appropriate ROM or put it onto a USB stick and use USB to load ROM from twrp?
Thank you both for your help
Click to expand...
Click to collapse
Just browsing the forums don't have a OPO but its all the same with twrp if you have a USB otg cable put the stock ROM you want which you will find in development put that onto the USB stick then connect USB stick to otg cable then install through twrp. Or of you can't do that search on google how to sideload an app using twrp and you will find your answer and flash it that way
nathlynn22 said:
Just browsing the forums don't have a OPO but its all the same with twrp if you have a USB otg cable put the stock ROM you want which you will find in development put that onto the USB stick then connect USB stick to otg cable then install through twrp. Or of you can't do that search on google how to sideload an app using twrp and you will find your answer and flash it that way
Click to expand...
Click to collapse
Do you know which one of these two version I need to download?
cm-11.0-XNPH30O-bacon-signed-fastboot.zip
or
cm-11.0-XNPH30O-bacon-boot-debuggable.img
pronkjuweel said:
Do you know which one of these two version I need to download?
cm-11.0-XNPH30O-bacon-signed-fastboot.zip
or
cm-11.0-XNPH30O-bacon-boot-debuggable.img
Click to expand...
Click to collapse
Your best bet is asking @zephiK that as I'm pretty sure he has the phone so he could help better there.
pronkjuweel said:
Do you know which one of these two version I need to download?
cm-11.0-XNPH30O-bacon-signed-fastboot.zip
or
cm-11.0-XNPH30O-bacon-boot-debuggable.img
Click to expand...
Click to collapse
fastboot.zip
zephiK said:
fastboot.zip
Click to expand...
Click to collapse
I downloaded the file, how do I put in on my phone?
pronkjuweel said:
I downloaded the file, how do I put in on my phone?
Click to expand...
Click to collapse
http://forum.xda-developers.com/oneplus-one/orig-development/discussion-cyanogenmod-11s-t2840305
Follow the instructions under "Instructions." You'll need fastboot environment set up.. http://forum.xda-developers.com/showthread.php?t=2788632
zephiK said:
http://forum.xda-developers.com/oneplus-one/orig-development/discussion-cyanogenmod-11s-t2840305
Follow the instructions under "Instructions." You'll need fastboot environment set up.. http://forum.xda-developers.com/showthread.php?t=2788632
Click to expand...
Click to collapse
I downloaded the file from the site and followed the instructions, all the steps worked, expect the last one:
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot update -w cm-11.0-XNPH30O-bacon-signed-fastboot.zip
There isn't such an file when I unpack the zip.And if you checked out the attachment on my original post you see that I got an error with this method? Any idea how to fix that? thanks alot.
Had the same weird boot.sig error when following the CM11s guide too. It seems the last command didn't want to work for me either. Here's how to fix it:
Get the CM11s zip and extract the contents. Stick the OPO into fast boot mode and open your command line.
Then do each command manually (copy/paste):
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot reboot
Source: http://forum.xda-developers.com/showthread.php?t=2770535
That should get you back up and running.
kinghu said:
Had the same weird boot.sig error when following the CM11s guide too. It seems the last command didn't want to work for me either. Here's how to fix it:
Get the CM11s zip and extract the contents. Stick the OPO into fast boot mode and open your command line.
Then do each command manually (copy/paste):
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot reboot
Source: http://forum.xda-developers.com/showthread.php?t=2770535
That should get you back up and running.
Click to expand...
Click to collapse
Thank you man! It worked. The rest of you who helped my out also thanks.
Now that's what I like seeing. People helping others. Great job guys
When i try to flash my factory image 5.0.1 on my nexus 5 (i got twrp recovery and DU rom) i got the message you will see in the picture... What shall i do? Thanks in advance.
Post a screenshot of your folder structure where the fastboot.exe and flash-all.bat are located. I guess you forgot to copy over the zip archive which contains the system.img / cache.img / userdata.img and so on.
experience7 said:
Post a screenshot of your folder structure where the fastboot.exe and flash-all.bat are located. I guess you forgot to copy over the zip archive which contains the system.img / cache.img / userdata.img and so on.
Click to expand...
Click to collapse
ok
Does the image-hammerhead zip file contain system.img file? If not you maybe got a corrupted download and have to d/l the factory image again...
experience7 said:
Does the image-hammerhead zip file contain system.img file? If not you maybe got a corrupted download and have to d/l the factory image again...
Click to expand...
Click to collapse
Yeah it does!..
Okay then try this:
1) Erase all partitions manually like this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
2) Then extract the content of the zip file and flash each img file manually like this:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
Bootloader and radio don't have to be flashed because they have - as I can see in your screenshot - successfully been flashed with the flash-all.bat.
experience7 said:
Okay then try this:
1) Erase all partitions manually like this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
2) Then extract the content of the zip file and flash each img file manually like this:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
Bootloader and radio don't have to be flashed because they have - as I can see in your screenshot - successfully been flashed with the flash-all.bat.
Click to expand...
Click to collapse
Does it need something like "fastboot reboot bootloader" after every command?
experience7 said:
Okay then try this:
1) Erase all partitions manually like this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
2) Then extract the content of the zip file and flash each img file manually like this:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
Bootloader and radio don't have to be flashed because they have - as I can see in your screenshot - successfully been flashed with the flash-all.bat.
Click to expand...
Click to collapse
i went to fastboot flash boot boot.img and im stuck on google logo
GiwrgosP- said:
Does it need something like "fastboot reboot bootloader" after every command?
Click to expand...
Click to collapse
Use this tutorial its helped me in past hope it will help you also>http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701 Thanks to> @abaaaabbbb63
Mobile Solutions said:
Use this tutorial its helped me in past hope it will help you also>http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701 Thanks to> @abaaaabbbb63
Click to expand...
Click to collapse
Thats what i did...
GiwrgosP- said:
Thats what i did...
Click to expand...
Click to collapse
Please explain what you did here? use 2nd method
What you did:
fastboot reboot bootloader
That's wrong. It's
fastboot reboot-bootloader
You only flashed stock kernel which is not compatible with DU ROM hence the bootloop.
Never mind. Just turn it off by holding power button. As soon as the screen is off also press vol down to boot in fastboot mode again.
Flash all the partitions like I said without reboot. After you've flashed all partitions type
fastboot reboot-bootloader
experience7 said:
What you did:
fastboot reboot bootloader
That's wrong. It's
fastboot reboot-bootloader
You only flashed stock kernel which is not compatible with DU ROM hence the bootloop.
Never mind. Just turn it off by holding power button. As soon as the screen is off also press vol down to boot in fastboot mode again.
Flash all the partitions like I said without reboot. After you've flashed all partitions type
fastboot reboot-bootloader
Click to expand...
Click to collapse
Thanks doing it right now, hope it works. I will post soon
GiwrgosP- said:
Thanks doing it right now, hope it works. I will post soon
Click to expand...
Click to collapse
Thank you soooooooo much you helped a lot THANKS
No problem mate Don't hesitate to use the forums thanks button if a post was valuable and helpful
experience7 said:
No problem mate Don't hesitate to use the forums thanks button if a post was valuable and helpful
Click to expand...
Click to collapse
I have already done this
hello fellas
I just unlocked my bootloader, flashed aokp and used a little bit.
every Gapps i install stayed buggy, so I decided to install the original firmware than root it.
So I downloaded the original stuff
then:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
Then it keep showing boot logo then android robot with deleting (something like that) on screen
and keep rebooting and doing this stuff for ever
Yes, I downloaded the right files for my phone
xt1544
I can still flash custom recovery and flash custom roms and boot them, but no stock roms
Could anyone help me?
Steps are looking correct... Is the file got currupted or what? I mean did u paused the file during downloads?
sagar27691 said:
Steps are looking correct... Is the file got currupted or what? I mean did u paused the file during downloads?
Click to expand...
Click to collapse
Nope :/
and it installs everything with no errors
OtavioMalzone said:
Nope :/
and it installs everything with no errors
Click to expand...
Click to collapse
Then u need to ask any dev. Or try steps again...
I've found my error. very stupid acctualy haha
my xt1544 has 6 system.img_sparsechunk parts, and all tutorials went only util .5
That's why it was not booting correclty!
anyway, tnx
First I unlocked the bootloader, and then I tried to use chainfire's root method by flashing the boot-to-root-img through fastboot. The phone will no longer boot to system and I cant seem to get google's factory image to install via fastboot. The flash-all would only flash the bootloader and radio, but would fail after that. I also cannot manually flash the stock system.img file. I get an error that reads " remote: data too large ". Not sure how to get out of this so any help would be GREATLY appreciated.
Did you manually flash the boot and system.img to each slot?
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Fastboot flash system_a system.img
fastboot flash system_b system_other.img
Use these commands assuming your boot slot is slot_a...if your boot slot is slot_b then use
Fastboot flash system_a system_other.img
fastboot flash system_b system.img
Hope this helps!!!
You need to update your fastboot version....then the system file will flash for you. Only the newest supports large files.
Sent from my Pixel using Tapatalk
maulich said:
You need to update your fastboot version....then the system file will flash for you. Only the newest supports large files.
Click to expand...
Click to collapse
Good call...totally forgot about that man
BakedTator said:
Good call...totally forgot about that man
Click to expand...
Click to collapse
Thanks to both of you! I actually did get my phone to boot up just before you replied by flashing to boot.img to both slots. Just installed TWRP and flashed superSU after that to get root. All is well now!
Im reverting back to android 6.0 for my k1
But when i go to flash userdata its says userdata isnt found
And i look in the zip and it wasnt there so i downloaded again and it still wasnt there any suggestions
1 more thing nvidias instrucrions say to
Fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
And rhats it do i reboot after blob?
Cause someone elses tutorial says to
fastboot flash recovery {dir}/recovery.img
fastboot flash boot {dir}/boot.img
fastboot flash system {dir}/system.img
fastboot flash userdata {dir}/userdata.img
fastboot flash staging {dir}/blob
fastboot flash dtb {dir}/tegra124-tn8-p1761-1270-a04-e-battery.dtb
Tjeres an extra command?
Which do i use?
Thx
Iceek1 said:
Im reverting back to android 6.0 for my k1
But when i go to flash userdata its says userdata isnt found
And i look in the zip and it wasnt there so i downloaded again and it still wasnt there any suggestions
1 more thing nvidias instrucrions say to
Fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
And rhats it do i reboot after blob?
Cause someone elses tutorial says to
fastboot flash recovery {dir}/recovery.img
fastboot flash boot {dir}/boot.img
fastboot flash system {dir}/system.img
fastboot flash userdata {dir}/userdata.img
fastboot flash staging {dir}/blob
fastboot flash dtb {dir}/tegra124-tn8-p1761-1270-a04-e-battery.dtb
Tjeres an extra command?
Which do i use?
Thx
Click to expand...
Click to collapse
Don't worry, that one isn't included in the latest Nougat builds as well and they still flash normally.
Just proceed without that