HELP Please (Can't flash boot.img in fastboot) - Nexus 6P Q&A, Help & Troubleshooting

Hi everybody,
I want to try some battery friendly rom based on android Marshamallow and currently I am on stock oreo.. The issue is I cant install android 6.0 and encounter error while flashing boot image in fastboot..
Can I directly flash 6.0 based rom through twrp on oreo?
And while I was doing this I wasnt even able to flash 8.0 boot img as well while I was able to install it through twrp..
Sorry If the question is not proper or I am unable to explain it properly
To be precise it gives fastboot: error: Couldn't parse partition size '0x'

joyyia said:
Hi everybody,
I want to try some battery friendly rom based on android Marshamallow and currently I am on stock oreo.. The issue is I cant install android 6.0 and encounter error while flashing boot image in fastboot..
Can I directly flash 6.0 based rom through twrp on oreo?
And while I was doing this I wasnt even able to flash 8.0 boot img as well while I was able to install it through twrp..
Sorry If the question is not proper or I am unable to explain it properly
To be precise it gives fastboot: error: Couldn't parse partition size '0x'
Click to expand...
Click to collapse
I think u also need to change vendor, radio, bootloader according to it. Or switch to stock mm first then flash
Sent from my angler using XDA Labs

Same problem, how I can fix it now? Pls someone help, I flash multirom recovery but I could not flash any rom so I decided back to stock and now I can’t flash boot.img same error help pls, I love my nexus

If you are experiencing what I am, this appears to be working...
In the old days, to flash a Nexus Device, wugfresh's Nexus Root Toolkit was what I used. With my current Nexus 6P, I'd recently been tinkering with a newer LineageOS unofficial ROM, and somewhere along the way, I ended up with that "Couldn't parse partition size '0x'" error, and sometimes others, when trying to flash the original ROM back, and was afraid my phone was history. However, I remembered wugfresh's Nexus Root Toolkit, and that it had options in it to "unbrick/debrick" a nexus device. So, I took my already downloaded latest official GOogle Nexus ROM, hunted down the wugfresh nexus root toolkit, and then it was readily able to restore my phone to its previously functioning state, just like in the old days. Now, at this very moment, I just did this... I don't know if anything else will pop up not right, but it didn't give any errors when it went to flash the official rom, it rebooted, and is now waiting for me to set up my nexus phone... lol... so it looks as though the crisis has been averted... Since it is no longer supported, and bitdefender throws up warnings when i try to go to their original website. I used the techspot's website to download the toolkit. And, of course, the official google android rom site for the latest official ROM.
1. Downloaded Wugfresh Nexus Root Toolkit.
2. Downloaded latest Nexus 6P (angler) official ROM.
3. Installed Wugfresh Nexus Root Toolkit.
4. Put phone in Bootloader and connected to computer.
5. Ran Wugfresh Nexus Root Toolkit
6. Manually selected Nexus 6P.
7. Selected any ROM version.
8. Under (Restore/Upgrade/Downgrade) - Flash Stock + Unroot ... I selected "Soft-Bricked/Bootloop ... and then hit "Flash Stock + Unroot"
9. Selected "Other/Browse... For use with any factory image package: zip/tgz"
10. Selected "I downloaded a factory image myself that I would like to use instead."
11. Clicked OK.
12. Selected the previously downloaded latest Nexus 6P (angler) official ROM.
13. Watched with gratitude as it seemed to resuscitate my favorite phone.
I hope this helps someone else who may have fallen into this... I'll post again if it turns out not to have solved the problem fully.

newcapricasean said:
In the old days, to flash a Nexus Device, wugfresh's Nexus Root Toolkit was what I used. With my current Nexus 6P, I'd recently been tinkering with a newer LineageOS unofficial ROM, and somewhere along the way, I ended up with that "Couldn't parse partition size '0x'" error, and sometimes others, when trying to flash the original ROM back, and was afraid my phone was history. However, I remembered wugfresh's Nexus Root Toolkit, and that it had options in it to "unbrick/debrick" a nexus device. So, I took my already downloaded latest official GOogle Nexus ROM, hunted down the wugfresh nexus root toolkit, and then it was readily able to restore my phone to its previously functioning state, just like in the old days. Now, at this very moment, I just did this... I don't know if anything else will pop up not right, but it didn't give any errors when it went to flash the official rom, it rebooted, and is now waiting for me to set up my nexus phone... lol... so it looks as though the crisis has been averted... Since it is no longer supported, and bitdefender throws up warnings when i try to go to their original website. I used the techspot's website to download the toolkit. And, of course, the official google android rom site for the latest official ROM.
1. Downloaded Wugfresh Nexus Root Toolkit.
2. Downloaded latest Nexus 6P (angler) official ROM.
3. Installed Wugfresh Nexus Root Toolkit.
4. Put phone in Bootloader and connected to computer.
5. Ran Wugfresh Nexus Root Toolkit
6. Manually selected Nexus 6P.
7. Selected any ROM version.
8. Under (Restore/Upgrade/Downgrade) - Flash Stock + Unroot ... I selected "Soft-Bricked/Bootloop ... and then hit "Flash Stock + Unroot"
9. Selected "Other/Browse... For use with any factory image package: zip/tgz"
10. Selected "I downloaded a factory image myself that I would like to use instead."
11. Clicked OK.
12. Selected the previously downloaded latest Nexus 6P (angler) official ROM.
13. Watched with gratitude as it seemed to resuscitate my favorite phone.
I hope this helps someone else who may have fallen into this... I'll post again if it turns out not to have solved the problem fully.
Click to expand...
Click to collapse
I tried this and flashed everything ok. But it´s still in bootloop. I did factory reset and same. idk what to do next.

herr.dalay said:
I tried this and flashed everything ok. But it´s still in bootloop. I did factory reset and same. idk what to do next.
Click to expand...
Click to collapse
Try flash "Blod Patch" after flashing everything

haitham0 said:
Try flash "Blod Patch" after flashing everything
Click to expand...
Click to collapse
Thnx! I used the BLOD patch and it´s back. No performance issues so far using havoc rom.

Thanks very much for pointing me towards Nexus Root Toolkit... its a great bit of software

newcapricasean said:
In the old days, to flash a Nexus Device, wugfresh's Nexus Root Toolkit was what I used. With my current Nexus 6P, I'd recently been tinkering with a newer LineageOS unofficial ROM, and somewhere along the way, I ended up with that "Couldn't parse partition size '0x'" error, and sometimes others, when trying to flash the original ROM back, and was afraid my phone was history. However, I remembered wugfresh's Nexus Root Toolkit, and that it had options in it to "unbrick/debrick" a nexus device. So, I took my already downloaded latest official GOogle Nexus ROM, hunted down the wugfresh nexus root toolkit, and then it was readily able to restore my phone to its previously functioning state, just like in the old days. Now, at this very moment, I just did this... I don't know if anything else will pop up not right, but it didn't give any errors when it went to flash the official rom, it rebooted, and is now waiting for me to set up my nexus phone... lol... so it looks as though the crisis has been averted... Since it is no longer supported, and bitdefender throws up warnings when i try to go to their original website. I used the techspot's website to download the toolkit. And, of course, the official google android rom site for the latest official ROM.
1. Downloaded Wugfresh Nexus Root Toolkit.
2. Downloaded latest Nexus 6P (angler) official ROM.
3. Installed Wugfresh Nexus Root Toolkit.
4. Put phone in Bootloader and connected to computer.
5. Ran Wugfresh Nexus Root Toolkit
6. Manually selected Nexus 6P.
7. Selected any ROM version.
8. Under (Restore/Upgrade/Downgrade) - Flash Stock + Unroot ... I selected "Soft-Bricked/Bootloop ... and then hit "Flash Stock + Unroot"
9. Selected "Other/Browse... For use with any factory image package: zip/tgz"
10. Selected "I downloaded a factory image myself that I would like to use instead."
11. Clicked OK.
12. Selected the previously downloaded latest Nexus 6P (angler) official ROM.
13. Watched with gratitude as it seemed to resuscitate my favorite phone.
I hope this helps someone else who may have fallen into this... I'll post again if it turns out not to have solved the problem fully.
Click to expand...
Click to collapse
thanks, man really appreciate it!
Sent from my angler using XDA Labs

Related

[Q] Nothing happens while flash KitKat Factory Image

I have my Nexus 7 [2012] Wifi only model with Android version 4.3 (JWR66Y) Rooted and TWRP recovery installed. I want to upgrade it to version 4.4 (KRT16O).
I have tried Nexus Root Toolkit (NRT) v1.7.6 with Factory Images of Nexus Devices which is downloaded from Google servers using the option Stock + Unrooting. After some process, my Nexus 7 holds on the boot loader screen. But on the NRT, it shows like flashing done and wait for some time to complete the booting.
Even if I wait upto 30Mins, there is no changes on the nexus device screen. I have attached some screens for reference.
I'm also tried by using OTA update file. While verifying the system, it shows me a error like '/system/bin/app-process' have wrong contents - Status 7.
Someone please guide me.
Success!
Selvakumaar said:
I have my Nexus 7 [2012] Wifi only model with Android version 4.3 (JWR66Y) Rooted and TWRP recovery installed. I want to upgrade it to version 4.4 (KRT16O).
I have tried Nexus Root Toolkit (NRT) v1.7.6 with Factory Images of Nexus Devices which is downloaded from Google servers using the option Stock + Unrooting. After some process, my Nexus 7 holds on the boot loader screen. But on the NRT, it shows like flashing done and wait for some time to complete the booting.
Even if I wait upto 30Mins, there is no changes on the nexus device screen. I have attached some screens for reference.
I'm also tried by using OTA update file. While verifying the system, it shows me a error like '/system/bin/app-process' have wrong contents - Status 7.
Someone please guide me.
Click to expand...
Click to collapse
Problem with file extension was identified and rectified. :victory: Because of my download manager, the actual file was downloaded as "nakasi-krt16o-factory-db4a1a8a.tar" instead of "nakasi-krt16o-factory-db4a1a8a.tgz".
Credits goes to jamesDF for the below post
Factory Images for Nexus Devices :good:

Flashing Cyanogenmod Rom Error

Device: Nexus 7 (Wi-Fi) (Old one)
Android: 4.3
When i go to flash cyanogenmod 10.2.0-grouper.zip i get this error
Updating partition details...
Installing 'usb-otg/cm-10.2.0-grouper.zip'...
Checking for MD5 file...
Skipping MD5 Check: no MD5 file found.
assert failed: getprop("ro.product.device") == "grouper" | | getprop("ro.build.pr
E:Error executing updater binary in zip '/usb-otg/cm-10.2.0-grouper.zip'
Error flashing zip 'usb-otg/cm-10.2.0-grouper.zip'
Updating partition details...
Can anyone please help this has been going on forever now and its getting super annoying.
What recovery are you using? Last I heard TWRP over 2.6.3.0 had issues. Try that certain version or use CWM
Sent from my Nexus 5
Pirateghost said:
What recovery are you using? Last I heard TWRP over 2.6.3.0 had issues. Try that certain version or use CWM
Sent from my Nexus 5
Click to expand...
Click to collapse
Lol ok ill try that. I'm on 2.6.3.1 ill try the other version of TWRP first.
How Did You Solve This?
HVC FOG3Y34 said:
Lol ok ill try that. I'm on 2.6.3.1 ill try the other version of TWRP first.
Click to expand...
Click to collapse
So can you give me a little more detail on what you did? This is my first unlock, root, custom recovery, and custom ROM ever, so if I made a mistake, I'm not sure I could even identify it. I used wugfresh's Nexus Root Toolkit to reach this point.
I have TWRP 2.6.3.1. Is the solution to flash a previous version of TWRP? If so, can you direct me to instructions for that?
StarSphere said:
So can you give me a little more detail on what you did? This is my first unlock, root, custom recovery, and custom ROM ever, so if I made a mistake, I'm not sure I could even identify it. I used wugfresh's Nexus Root Toolkit to reach this point.
I have TWRP 2.6.3.1. Is the solution to flash a previous version of TWRP? If so, can you direct me to instructions for that?
Click to expand...
Click to collapse
Hey im sorry. i don't really remember what i did, it was a very annoying time for me. All i remember is googling most of the stuff. Just google how to flash custom recovery on nexus 7 jelly bean or something. sorry...
StarSphere said:
So can you give me a little more detail on what you did? This is my first unlock, root, custom recovery, and custom ROM ever, so if I made a mistake, I'm not sure I could even identify it. I used wugfresh's Nexus Root Toolkit to reach this point.
I have TWRP 2.6.3.1. Is the solution to flash a previous version of TWRP? If so, can you direct me to instructions for that?
Click to expand...
Click to collapse
Fastboot flash recovery nameofrecoveryimage.img
It's that simple
Sent from my Nexus 5
Complete Instructions
I'm a newbie, and this is what I did. I can't take responsibility for anything that happens to anyone's device, nor answer any questions, because I only half understand it myself. I am sorry I can't include links. I am too new, and the website won't trust me to do that. So, you will have to search for these things on your own.
Download Stuff to your PC Note: Some antivirus software may trigger false positives on these kinds of files and block them from downloading, so you may have to temporarily disable the website shielding portion of your program.
1) The fastboot.exe file. If you want a big download, you can get it in the Android SDK. However, I got it from the CyanogenMod Installer. The installer failed to work with my device, but conveniently downloaded the fastboot.exe file for me. I'm not sure I would recommend this route if you don't want CyanogenMod.
2) TWRP 2.6.3.0. You can get it from androidfilehost.
Safety Stuff
1) Compare the MD5 code on the website to the one in your downloaded TWRP image.
A Windows utility to do that is called MD5 SHA Checksum Utility.
An Android utility to do that is called MD5 Checker.
2) Completely back up your current Android ROM. Nexus Root Toolkit is great for this and many other things. It can be downloaded from wugfresh.
The Custom Recovery Flash
1) Make sure USB debugging is still enabled on your Android device. The video links on wugfresh's page can show you how to do that.
2) Make sure your Android device is connected to your PC via USB cable.
3) Boot your Android device into the bootloader. I used Nexus Root Toolkit -> Advanced Utilities Launch -> Reboot Bootloader to do this, but I think you can also do it by turning your device off, then holding down the Power and Volume Down buttons simultaneously (don't quote me on that).
2) Search for the location of fastboot.exe on your PC. Mine was in my user directory, where CyanogenMod's installer left it: C:\Users\{Username}\cminstaller\bundle\win32
3) On your PC, open a command line. Go into the directory where you found fastboot.exe above.
4) Type fastboot flash recovery {Complete directory location and file name of TWRP image}. If you would rather not be using the complete directory location, you can always copy the TWRP image into the same directory as the fastboot.exe file, before doing this step.
5) The command window should soon say "finished". Mine took under 2 seconds.
6) On your Android device, the bootloader should currently have a big green arrow that says "Start". Press the volume down button until the arrow says "Recovery". Then press the power button. Your device should now start TWRP 2.6.3.0.
Best of all, using TWRP 2.6.3.0 for custom recovery, instead of the newest version, really did solve the original problem. Yeah!
Unfortunately, the next time I used Nexus Root Toolkit, it insisted on updating back to TWRP 2.6.3.1. So, hopefully I won't have to flash another ROM in the near future and the next TWRP version will fix the problem more permanently.

Nexus 4 Stock rom deleted

Hi everyone!
I have come to a slight problem, trying to flash an android L preview port for my N4. I rooted properly, but when CWM asked me if I wanted to fix boot, I unfortunately replied with Yes. After I lost my root, I tried rerooting, when I accidently selected a wipe all function. So, now I have no rom Just a CWM recovery.
I have downloaded a tar.gz factory image file for N4 (4.4.4) and tried adb pushing to the device. The transfer is successful, but when I try to install it from the sdcard (cwm), it reports failure. I googled and read a lot, but not much seems to be helping.
I am using a Mac, btw.
Thanks in advance!!
You cant install a .tgz via recovery. Instead you should download a flashable .zip of your rom. Try this.
CCody said:
You cant install a .tgz via recovery. Instead you should download a flashable .zip of your rom. Try this.
Click to expand...
Click to collapse
Yes, I keep trying to do that but without success.
O tried factory kitkat zip and I tried an L android I downloaded.
Could you provide me witha link to a flashable zip?
Then tell me what you want. A factory image or a custom rom. I would recommand you cyanogenmod. Downloaf the zip for your device. http://www.cyanogenmod.org/
To install stock do this:
Extract .tar.gz (using 7Zip) until you come up with folder named "occam-xxxxx"
Copy the files within it to your fastboot.exe folder
Reboot into boot-loader
Hit flash-all.bat
But you may download latest CM from https://download.cyanogenmod.org/?device=mako and install it via flash .zip in CWM (however I recommend Philz Touch Recovery)
I'd like to flash Nexus 4 port for Android L. I had downloaded android l zip file but when I try to flash it, installation aborted keeps popping up.
And once again, people keep mentioning fastboot.EXE and run a batch file, but again... I am on a Mac. It would mean a great lot if the instructions given were for a mac.
Thanks!
Here's what I did:
1. Install Wugfresh's NRT (search online for it)
2. Download the factory image from the Google website
3. Connect your phone in Recovery mode
4. Open NRT and let it update if it has to
5. Hit "Flash stock + Unroot"
6. The usage is clearly explained at every stage. You should ideally have no problems restoring your phone to a working state. Your data however is most likely lost. Sorry.
(PS: I don't usually recommend toolkits because they take away the fun in messing with the phone manually, but sometimes it becomes necessary to use them. This is one of those times )
I tried flashing CM 11 snapshot M8 release, but it gave me status 7, install failed. I tried to fix it by removing asserts and rezipping, and failed again, without a status.
I am trying to revert back to stock now, nothing else works, and neither will this, so it seems.
EDIT:
I flashed new bootloader and new radio, but when I tried to flash a stock rom, it failed again.
I don't know what to do anymore, I feel like throwing a phone against the wall and just getting a Nexus 5.
to flash the n4 L port, download the zip in the port thread and flash it in recovery. that's all. wipe before you flash.
there was no official L preview for the n4, so you can't flash it from the factory IMG, that's for the nexus 5.
simms22 said:
to flash the n4 L port, download the zip in the port thread and flash it in recovery. that's all. wipe before you flash.
there was no official L preview for the n4, so you can't flash it from the factory IMG, that's for the nexus 5.
Click to expand...
Click to collapse
Cwm reports unable to mount... i updated to 6.0.5.0 cwm, changed to twrp even using fastboot... But nothing is helping.

How to update from PN 7.1.2 to 8.1?

Hey guys,
I havent flashed anything on my 6p for quite a while so you can say im pretty rusty.
How do I go about updating to latest 8.1? Couldnt really find a proper guide for it and dont want to brick my phone [emoji16]
Thanks guys.
Sent from my [device_name] using XDA-Developers Legacy app
Just flash the factory image form Google's developer site, follow the instructions that comes on the same site. It will fully wipe everything.
If by PN you mean pure Nexus, I'm sure the thread or site if they have one, should have instructions, for their specific custom rom. Should be as simple as downloading the newest custom rom version, doing a wipe in TWRP, and flashing the new rom. Probably best to update your custom recovery to the newest one. Please follow the official instructions as I stated above, as I maybe wrong.
As far as STOCK goes, I just got my 6p yesterday, and flashed the newest stock 8.1 to root with Magisk. Download the file from:
https://developers.google.com/android/images
Search for Nexus 6p
If you need more help after downloading that stock update, respond back with what computer os you are using, but there is a flash-all.sh for Linux/Mac and a flash-all.bat for windows. You need adb/fastboot and device drivers installed.
I used the Hiesenberg guide under general for "returning to stock" for fastboot commands and downloaded as said above latest factory image. If your adb is up-to-date I think can also use the install file that comes with factory image.
notstevek said:
If by PN you mean pure Nexus, I'm sure the thread or site if they have one, should have instructions, for their specific custom rom. Should be as simple as downloading the newest custom rom version, doing a wipe in TWRP, and flashing the new rom. Probably best to update your custom recovery to the newest one. Please follow the official instructions as I stated above, as I maybe wrong.
As far as STOCK goes, I just got my 6p yesterday, and flashed the newest stock 8.1 to root with Magisk. Download the file from:
https://developers.google.com/android/images
Search for Nexus 6p
If you need more help after downloading that stock update, respond back with what computer os you are using, but there is a flash-all.sh for Linux/Mac and a flash-all.bat for windows. You need adb/fastboot and device drivers installed.
Click to expand...
Click to collapse
Just pointing out that you would need to update certain things to 8.1 like radio, bootloader, before flashing the 8.1 purenexus rom when upgrading from 7.1.2
I suggest doing a clean full upgrade to stock version of 8.1, then flashing the pn 8.1 rom, so there are no issues.
Exodusche said:
I used the Hiesenberg guide under general for "returning to stock" for fastboot commands and downloaded as said above latest factory image. If your adb is up-to-date I think can also use the install file that comes with factory image.
Click to expand...
Click to collapse
And as exodusche stated, look at the guide on how to return to stock for the correct commands to use to upgrade to 8.1, then flash TWRP, then flash your PN 8.1 rom.
Thanks guys, i actually did follow hiesenberg guide and just changed the files to 8.1..
Now to decide which custom rom to install.. Cant stay much longer on stock [emoji2]
Sent from my [device_name] using XDA-Developers Legacy app

Noob Fix - Android 8.1, TWPR 3.2.1 doesnt boot into System

I bought 2nd hand phone for app testing. I went ahead to use TWRP for rooting purpose. To my dismay, Reboot --> System never works. Each time, the phone keeps going into Recovery mode which showed me TWRP console. I followed all instructions here, reddit and others like but in vain.
Finally, I just flashed into Android 6 factory image for Nexus 6P. Then I booted again to TWRP and installed Magisk. This worked.
Hope it helps someone.
PS. I dont need latest Andriod for my purpose.
Yap looks like something went wrong with your operating system because of TWRP.
Oh well at least everything works fine now.
Gosh, I sure hope this works for me. My bootloader is unlocked and I can get into my twrp recovery. Just need to find a stock image that will flash and boot. Stuck on the Google screen and don't want to be running on only 4 cores if I can help it. Tried Nexus OS but says it only works for angler and my device is "____." I guess it can't identify it. First I'll flash magisk, then the factory 8, 7, or 6 image if available. What's a good link to those images? Anyone ?

Categories

Resources