need help flash stock image - Samsung Galaxy Nexus

I am new to android and this is my new first android.
I saw postings yesterday says OTA 4.0.2 rolled out, and people got it already and there are manual way to get it, so I decided try to work on it. I followed the guide how to unlock bootloader and how to root, the first steps went through, but I can get through the last steps because it isays 'waiting for device', i tried everything. somehow I see the bootloader is unlocked.
I installed the stripped 4.0.2 update from here . I used odin mode. now my battery is dropping 1% every few minutes.
I want to flash restore stock image see if I can fix the problem. I trie flash it with odin, but oding crashed.
can anybody help?

Are you running Linux??
Edit:
From Windows or Linux (only tested by myself of Debian Linux) with fastboot in your PATH:
Reboot into bootloader (adb reboot bootloader)
fastboot flash bootloader bootloader-toro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.ek02.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.ek05.img
fastboot reboot-bootloader
fastboot -w update image-mysid-icl53f.zip

windows.
USB driver is installed when phone is normal mode. but in orin the usb driver does not show.

Moved. Please don't post in the wrong forums.

this is GSM version.
where do you get the image files? also why I can't do in orin?
is there a simple way to flash the factory image directory or any gui tool to do it?

Files are here: http://code.google.com/android/nexus/images.html
Make sure to pick the right one: yakju is GSM and mysid is CDMA
Download the tgz file and extract it (might need winrar on windows IDK)
All the Radio,Bootloader,Recovery and system files are included. The only way I know how to flash these files is fastboot, which imo is a safer way than odin - though I have not really used odin before.

can you explain how to use fastboot. I tried vol-up+down+power, it boot into fastboot, I supose it is, on bottom, it says 'unlocked'. what should I do next?
I am really new to this. I don't want to mess with me device like putting custom rom or stuff. I just want keep it original, it looks better that way. I do not want to add any fancy stuff to it unless they are really good. I used to do tweaks with windows mobile, they had better gui tools to work around make things easier.

citrix80 said:
can you explain how to use fastboot. I tried vol-up+down+power, it boot into fastboot, I supose it is, on bottom, it says 'unlocked'. what should I do next?
I am really new to this. I don't want to mess with me device like putting custom rom or stuff. I just want keep it original, it looks better that way. I do not want to add any fancy stuff to it unless they are really good. I used to do tweaks with windows mobile, they had better gui tools to work around make things easier.
Click to expand...
Click to collapse
You need the android sdk installed on your computer. Read this guide:
http://www.xda-developers.com/android/adb-easy-tutorial/
There are also a handful of threads in this very forum answering your same question. A few of which I have given step by step guides myself. Do a quick search.

I downloaded file from
http://groups.google.com/group/android-building/msg/2cd2b16ed56a7e84
and used fastboot, all steps worked out.
here is the log
C:\android-sdk\platform-tools>fastboot flash bootloader bootloader-toro-primekj1
0.img
error: cannot load 'bootloader-toro-primekj10.img'
C:\android-sdk\platform-tools>fastboot flash bootloader bootloader-maguro-primek
j10.img
error: cannot load 'bootloader-maguro-primekj10.img'
C:\android-sdk\platform-tools>fastboot flash bootloader bootloader-maguro-primek
k15.img
sending 'bootloader' (2308 KB)... OKAY [ 0.296s]
writing 'bootloader'... OKAY [ 0.604s]
finished. total time: 0.900s
C:\android-sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader... OKAY [ 0.007s]
finished. total time: 0.007s
C:\android-sdk\platform-tools>fastboot flash radio radio-maguro-i9250xxkk6.img
sending 'radio' (12288 KB)... OKAY [ 1.545s]
writing 'radio'... OKAY [ 2.375s]
finished. total time: 3.920s
C:\android-sdk\platform-tools> fastboot reboot-bootloader
rebooting into bootloader... OKAY [ 0.007s]
finished. total time: 0.007s
C:\android-sdk\platform-tools> fastboot update image-yakju-icl53f.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: PRIMEKK15
Baseband Version.....: I9250XXKK6
Serial Number........: 0146882D0601C00A
--------------------------------------------
checking product... OKAY [ 0.007s]
checking version-bootloader... OKAY [ 0.007s]
checking version-baseband... OKAY [ 0.008s]
sending 'boot' (4074 KB)... OKAY [ 0.517s]
writing 'boot'... OKAY [ 0.492s]
sending 'recovery' (4406 KB)... OKAY [ 0.562s]
writing 'recovery'... OKAY [ 0.789s]
sending 'system' (317594 KB)... OKAY [ 39.809s]
writing 'system'... OKAY [ 36.250s]
rebooting...
finished. total time: 78.476s
C:\android-sdk\platform-tools>
the phone reboot automatically after the last step.
the battery is still dropping.
is there a way to reset to 4.0.1? I am not sure what is causing the problem.

I really need someone to help me...Please...im on the verge of suicide here
i unlocked and rooted, dl'd cwm.
i dl'd the SDK package (i dont have platform-tools, i have tools)
i put the cwm image, and the tgz files on the root directory (there no /sdcard)
i turn on usb debugging
i load bootloader
i launch cwm recovery
i navigate to the sdk folder (cd c:/ > cd sdk > cd tools) then type fastboot -w update image-yakju-itl41f.zip and get an invalid command error ..that didnt work so i copied the tgz and cwm file to the folder which contains the adb stuff and try again..same result
PLEASE HELP...i know im an annoying **** n00b thats wasting youre time but ive been at this since 9am PLEASE

You dont put the files on your phone. They go in the same folder on your computer as fastboot.exe

trilogee said:
I really need someone to help me...Please...im on the verge of suicide here
i unlocked and rooted, dl'd cwm.
i dl'd the SDK package (i dont have platform-tools, i have tools)
i put the cwm image, and the tgz files on the root directory (there no /sdcard)
i turn on usb debugging
i load bootloader
i launch cwm recovery
i navigate to the sdk folder (cd c:/ > cd sdk > cd tools) then type fastboot -w update image-yakju-itl41f.zip and get an invalid command error ..that didnt work so i copied the tgz and cwm file to the folder which contains the adb stuff and try again..same result
PLEASE HELP...i know im an annoying **** n00b thats wasting youre time but ive been at this since 9am PLEASE
Click to expand...
Click to collapse
put files in ur tools folder inside sdk and you fastboot -w update image-yakju-itl41f.zip and get an invalid command error ,,,should of been ,,, fastboot flash -w

oh god didnt realize i got any replies.
so ive gotten past that part now i have a more frustrating problem...installed platforms-tools from the sdk manager, that enable me to get this:
c:\sdk\platform-tools>fastboot -w update image-yakju-icl53f.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
< waiting for device >
but when i open the image zip the boot recover and system are there.
the waiting for devices deal, in device manager Android Phone is listed with sub Android ADB interface...driver is installed and device is recognized...why does it still say waiting for device...thank you guys so much.
If I get this working today I promise I will make a small donation to both xda and those that help me.

you need open the zip then extra the tar inside it with 7 zip, then copy all 4 extracted file into sdk folder, or same folder with fastboot. then run fastboot. you can use my output in page 1. type exact same thing.

trilogee
How sure are you that the phone is in bootloader mode at the time of flashing? Try executing fastboot devices first to confirm that fastboot can see the phone...Then what the OP has suggested above or do what you were doing.

Hey I think I explained this in another post, not sure where, but fastboot devices initiates a blank command line. Doesn't show anything...which is odd though because I downloaded the right drivers from Samsung, it's recognized on my computer and it worked with ODIN (although updating through odin actually bricked me and forced me to restore)

trilogee said:
Hey I think I explained this in another post, not sure where, but fastboot devices initiates a blank command line. Doesn't show anything...which is odd though because I downloaded the right drivers from Samsung, it's recognized on my computer and it worked with ODIN (although updating through odin actually bricked me and forced me to restore)
Click to expand...
Click to collapse
If fastboot is showing a blank command line, then it means that it can't see your phone. Anything done after that is not going to work. It could then be one of two things, i.e. either your setup is not correct or your phone is not in bootloader mode. Can adb see the phone normally from your PC, i.e. can it see it when you call 'adb devices' or can you see the logcat output?
With the former, I can suggest that you check if the installation is correctly done? As with the latter, I tend to get adb to reboot the phone in bootloader by issuing a 'adb reboot bootloader' and is far quicker than the button-press option.

did you install sdk and driver? when your phone in normal mode, plug in usb to pc, in device manager, you see android driver?

I tried again. whe I get here
C:\android-sdk\platform-tools>fastboot -w update image-yakju-icl53f.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
but the files are actually in the zip file.
the process still finished.
did it skip those files?

I think that has something to do with the .sig verification settings
..same thing happened to me but image flashed fine and everything seems to be running smoothly. Crazy how I struggled with this so much at first its actually an extremely simple process.
Sent from my Galaxy Nexus using XDA App

Related

[Q] Updating to Yakju - issue "cannot load file"

Hi everyone,
I recently got the Galaxy Nexus through Telus in Canada. Since its running 4.0.1 with yakjuwx, i decided to flash over and have yakju to get the updates from Google instead. Im using a mac, fyi.
I'm sorry if im not in the right forum but i didnt know where to go.
I need help now. I installed SDK and Fastboot-Mac. I've downloaded what I needed from http://code.google.com/android/nexus/images.html. I dont quite know my way around terminal and stuff so I followed the instructions to set up fastboot and sdk (http://blog.wapnet.nl/2011/05/setup-adb-and-fastboot-with-android-sdk-on-mac-osx). I couldnt find the bash_profile, so I used nano ~/.bash_profile to update the path.
Anyways, once I had set up fastboot and sdk, I followed the following threads: http://forum.xda-developers.com/showthread.php?p=20514362, http://forum.xda-developers.com/showpost.php?p=20443533&postcount=2, http://forum.xda-developers.com/showpost.php?p=20269587&postcount=4. I have everything done except for the flashing. I can see my phone in terminal and I unlocked it.
I am at this part:
fastboot flash bootloader <bootloader image>
fastboot reboot-bootloader
fastboot flash radio <radio image>
fastboot reboot-bootloader
fastboot -w update <rom image>
However, nothing is working. I keep getting error: cannot load 'bootloader-maguro-primekk15.img'. Ive tried with placing the images at different spots on my mac, including the /tools folder in SDK and no luck.
Please, I need help
Can you actually perform this on a Mac? I didn't see any mention of this reading up and I borrowed a windows box to do mine. If you can do it on a Mac... the files should all be placed in the same folder where fastboot is.
When you attach the phone, can you navigate to platform-tools and ./fastboot devices and see your device listed?
Thierrys-MacBook-Pro:~ Thierry$ cd /Users/Thierry/Desktop/android-sdk-macosx/platform-tools
Thierrys-MacBook-Prolatform-tools Thierry$ fastboot devices
01498FC01300F01E fastboot
I can see my device and yes it can be done on a mac.
edit: found my mistake - im an idiot. Although I had forgotten to copy boot.img, recovery.img and system.img so when i updated, it notified me in terminal that those files could not be found. however, it wrote them
Code:
sending 'boot' (4074 KB)...
OKAY [ 0.683s]
writing 'boot'...
OKAY [ 0.346s]
sending 'recovery' (4406 KB)...
OKAY [ 0.633s]
writing 'recovery'...
OKAY [ 0.667s]
sending 'system' (317594 KB)...
OKAY [ 35.510s]
writing 'system'...
OKAY [ 35.912s]
I dont need to do anything else here correct?
That looks good, but I think it would've been advised that you reboot bootloader a couple times during that process... unless you skipped the "optional" parts in the guides.
but from what you've shown, it looks like its working just fine.
Let me know how it finishes out. This'll be good to know if I ever need to do it again, so I don't have to use a Windows box.
I did do a few reboot bootloader, between flashing the bootloader, radio and the update.
Flashing on the mac was real easy. As soon as i realized what the issue was, everything was smooth. I suppose it'll take a few days to see if i did something wrong.
Interesting that you have yakjuxw. I have a telus Gnex also and am on yakjuux
I must've had the same one as yours. So many different ones I probably got confused on which one I actually had.
Teedat said:
I did do a few reboot bootloader, between flashing the bootloader, radio and the update.
Flashing on the mac was real easy. As soon as i realized what the issue was, everything was smooth. I suppose it'll take a few days to see if i did something wrong.
Click to expand...
Click to collapse
It you rebooted just fine and it started up the chance that you messed anything up is pretty low.

[Q] LTE Won't boot despite efforts to flash back to factory

So I ran into trouble while trying to root and am having trouble flashing the stock images. I downloaded the factory images (4.3 (JLS36C)) from google. Flashing the bootloader image(bootloader-deb-flo-03.14.img) seems to work just fine but when I try to update to the provided "image-razorg-JLS36C.zip" I have trouble. I read that the radio included (radio-deb-deb-g00_1.23.0_0720.img) is the wrong one but then found conflicting information that it is just mis-named. I tried renaming the file to the the baseband that is being requested (DEB-G00_2.25.1_0802) but that didn't work either and I can't locate that specific file to add to the directory.
Below is the log from terminal, I highlighted everything that throws errors. I also tried using the WugFresh tool through parallels and got the same issues. Is it something simple I'm missing? It feels really close to working. Please let me know how I can fix this, thanks for your time.
**Edit: I also tried flashing only the baseband radio ./fastboot flash radio "file" to the file that was included in the google download but it still threw the same errors.**
Code:
Last login: Fri Sep 27 23:44:48 on ttys000
cpe-75-85-155-82:~ kyler$ cd Downloads
cpe-75-85-155-82:Downloads kyler$ cd "android tools"
cpe-75-85-155-82:android tools kyler$ ./fastboot flash bootloader bootloader-deb-flo-03.14.img
sending 'bootloader' (3911 KB)...
OKAY [ 0.134s]
writing 'bootloader'...
OKAY [ 1.334s]
finished. total time: 1.469s
cpe-75-85-155-82:android tools kyler$ ./fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.005s]
finished. total time: 0.005s
cpe-75-85-155-82:android tools kyler$ ./fastboot -w update image-razorg-JLS36C.zip
[B]archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'[/B]
--------------------------------------------
Bootloader Version...: FLO-03.14
[B]Baseband Version.....: DEB-[/B]
Serial Number........: 08664aa9
--------------------------------------------
checking product...
OKAY [ 0.003s]
checking version-bootloader...
OKAY [ 0.004s]
[B]checking version-baseband...
FAILED
Device version-baseband is 'DEB-'.
Update requires 'DEB-G00_2.25.1_0802'.[/B]
finished. total time: 0.024s
cpe-75-85-155-82:android tools kyler$
Might want to try using the flashall.sh script (I think that is the name, but should be in the main directory of image). Have not tried it on my deb yet, but has always worked for my other nexus devices, including flo.
Sent from my Nexus 7 using Tapatalk 4
pudgewack said:
Might want to try using the flashall.sh script (I think that is the name, but should be in the main directory of image). Have not tried it on my deb yet, but has always worked for my other nexus devices, including flo.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
Wow thanks, that worked great. Strange though because as I looked at the commands earlier in the script they were the same as the ones I was trying to use manually to fix it in the first place.
From flash-all.sh:
Code:
./fastboot flash bootloader bootloader-deb-flo-03.14.img
./fastboot reboot-bootloader
sleep 5
./fastboot flash radio radio-deb-deb-g00_1.23.0_0720.img
./fastboot reboot-bootloader
sleep 5
./fastboot -w update image-razorg-JLS36C.zip
Well I guess there must be something I'm missing... The log is still throwing the errors:
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
So if you know how I could fix that it would be great, otherwise the device seems to be working properly.
[email protected] said:
Wow thanks, that worked great. Strange though because as I looked at the commands earlier in the script they were the same as the ones I was trying to use manually to fix it in the first place.
From flash-all.sh:
Code:
./fastboot flash bootloader bootloader-deb-flo-03.14.img
./fastboot reboot-bootloader
sleep 5
./fastboot flash radio radio-deb-deb-g00_1.23.0_0720.img
./fastboot reboot-bootloader
sleep 5
./fastboot -w update image-razorg-JLS36C.zip
Well I guess there must be something I'm missing... The log is still throwing the errors:
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
So if you know how I could fix that it would be great, otherwise the device seems to be working properly.
Click to expand...
Click to collapse
Earlier you didn't flash in the same sequence.
Earlier you flashed
bootloader-deb-flo-03.14.img
image-razorg-JLS36C.zip
The script flashes
bootloader-deb-flo-03.14.img
radio-deb-deb-g00_1.23.0_0720.img
image-razorg-JLS36C.zip
When you flash image-razorg-JLS36C.zip, it verifies the radio you have *installed* on the tablet is the version required. Since you never flashed the radio earlier, the check failed. Later you tried to rename it, which does no good because renaming it isn't installing it, and the version check to see what you have installed failed again.
I am only commenting on the log you posted. You mention in the edit that you flashed the radio but didn't post the log, so I can not be sure what you did achieved what you intended.
The missing .sig errors are normal. Google didn't sign their factory images, which is why you need to be bootloader unlocked to factory restore.

Completely Bricked?

All know is I can only boot into Fastboot Mode and Stock Recovery mode, but every way I try to get the flash the stock rom or TWRP won't work.
Device state is unlocked.
Reinstalled Google Drivers.
I will use taimen-opm1.171019.013-factory-6d9954c3
Android Debug Bridge version 1.0.32
Revision eac51f2bb6a8-android
fastboot version eac51f2bb6a8-android
Unified Android Toolkit:
Booting TWRP recovery-twrp-3.2.1.0-taimen.img ..
downloading 'boot.img'...
FAILED (remote: unknown command)
finished. total time: 0.007s
Click to expand...
Click to collapse
Cannot flash TWRP
PS C:\adb> fastboot devices
711KPVH0902199 fastboot
PS C:\adb> fastboot flash recovery twrp.img
sending 'recovery' (40960 KB)...
FAILED (remote: Requested download size is more than max allowed)
finished. total time: 0.009s
Click to expand...
Click to collapse
ADB sideload
PS C:\adb> adb sideload C:\taimen\taimen-opm1.171019.013-factory-6d9954c3.zip
loading: 'C:\taimen\taimen-opm1.171019.013-factory-6d9954c3.zip'
* cannot read 'C:\taimen\taimen-opm1.171019.013-factory-6d9954c3.zip' *
Click to expand...
Click to collapse
If I use flash-all.bat:
sending 'bootloader' (36344 KB)...
FAILED (unknown status code)
finished. total time: 343.328s.
Click to expand...
Click to collapse
If I use flash-all command in cmd:
PS C:\Users\tiger\Desktop\tamien> flash-all
error: cannot load 'bootloader-taimen-tmz10n.img'
rebooting into bootloader...
FAILED (remote: unknown command)
finished. total time: 0.007s
error: cannot load 'radio-taimen-g8998-00122-1708311414.img'
rebooting into bootloader...
FAILED (remote: unknown command)
finished. total time: 0.007s
W/ ( 9820): Unable to open 'image-taimen-opd1.170816.025.zip': No such file or directory
error: failed to open zip file 'image-taimen-opd1.170816.025.zip': I/O Error
Click to expand...
Click to collapse
Do you have the latest adb downloaded from Google?
Also, there is no recovery partition any longer, it's built in to the boot partition.
You can try the command "fastboot boot TWRP.img" to boot to TWRP.
azntiger said:
All know is I can only boot into Fastboot Mode and Stock Recovery mode, but every way I try to get the flash the stock rom or TWRP won't work. Device state is unlocked.
Unified Android Toolkit:
Cannot flash TWRP
ADB sideload
If I use flash-all.bat:
If I use flash-all command in cmd:
Click to expand...
Click to collapse
First, have you read this? https://forum.xda-developers.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418
Second, are your SDK platform-tools up to date??
Have you taken an OTA?
Your twrp command is wrong like the post after yours stated.
Did you give both bootloader unlock commands?
fastboot flashing unlock
And
fastboot flashing unlock_critical
ilal2ielli said:
Do you have the latest are downloaded from Google?
Also, there is no recovery partition any longer, it's built in to the boot partition.
You can try the command "fastboot boot TWRP.img" to boot to TWRP.
Click to expand...
Click to collapse
Yes. I reinstalled Google Drivers. I'm using taimen-opd1.170816.025-factory-907c4030.
I tried boot twrp.img, but it just hangs during the downloading boot.img.
PS C:\adb> fastboot devices
711KPVH0902199 fastboot
PS C:\adb> fastboot boot twrp.img
downloading 'boot.img'...
Click to expand...
Click to collapse
azntiger said:
Yes. I reinstalled Google Drivers. I'm using taimen-opd1.170816.025-factory-907c4030.
I tried boot twrp.img, but it just hangs during the downloading boot.img.
Click to expand...
Click to collapse
Why are you trying to flash the November build?
Badger50 said:
Why are you trying to flash the November build?
Click to expand...
Click to collapse
8.1 causes my proximity sensor to malfunction. The screen wouldn't turn on back on after a call. Alway-on didn't work because it thought the proximity sensor was blocked.
azntiger said:
8.1 causes my proximity sensor to malfunction. The screen wouldn't turn on back on after a call. Alway-on didn't work because it thought the proximity sensor was blocked.
Click to expand...
Click to collapse
That's a phone app problem. Either uninstall the phone app update, or find the phone app 16.0 on apk mirror. However, if you want to downgrade, look here.
https://www.google.com/amp/s/forum....-2-xl/help/downgrade-8-1-to-8-0-t3726641/amp/
Badger50 said:
That's a phone app problem. Either uninstall the phone app update, or find the phone app 16.0 on apk mirror. However, if you want to downgrade, look here.
https://www.google.com/amp/s/forum....-2-xl/help/downgrade-8-1-to-8-0-t3726641/amp/
Click to expand...
Click to collapse
I'll take a look if I can get my phone working again lol.
Badger50 said:
First, have you read this? https://forum.xda-developers.com/pixel-2-xl/how-to/guide-unlock-flash-root-pixel-2-xl-t3702418
Second, are your SDK platform-tools up to date??
Have you taken an OTA?
Your twrp command is wrong like the post after yours stated.
Did you give both bootloader unlock commands?
fastboot flashing unlock
And
fastboot flashing unlock_critical
Click to expand...
Click to collapse
SDK is up to date.
Not sure what you mean by "taken" an OTA.
So now I have a device null, but fastboot devices is seen.
"fastboot flashing unlock" hangs, but I imagine that's because no device was found?
PS C:\Users\tiger\Desktop\Pixel> fastboot devices
711KPVH0902199 fastboot
PS C:\Users\tiger\Desktop\Pixel> adb reboot bootloader
adb server is out of date. killing...
* daemon started successfully *
error: device '(null)' not found
PS C:\Users\tiger\Desktop\Pixel> fastboot flashing unlock
...
Click to expand...
Click to collapse
azntiger said:
I'll take a look if I can get my phone working again lol.
SDK is up to date.
Not sure what you mean by "taken" an OTA.
So now I have a device null, but fastboot devices is seen.
"fastboot flashing unlock" hangs, but I imagine that's because no device was found?
Click to expand...
Click to collapse
You may have to use this to get back on track my friend.
https://forum.xda-developers.com/pi...ol-deuces-bootloop-recovery-flashing-t3704761
I'm not entirely sure what the issue is (it could be a couple of things), but here are some issues that I see to help you troubleshoot:
1. Adb commands don't work in bootloader mode, only fastboot commands, which is why your device is visible to fastboot and not adb.
2. The file that you tried to adb sideload was a factory image, not an OTA. Adb sideload can only be used with OTA images. And even if you were using an OTA image, OTA images cannot be used to downgrade to a previous firmware version.
3. The latest version of adb is 1.0.39. You are using an older version. That fact itself doesn't really matter since adb will not help you in this situation, but fastboot will and if your adb is obsolete, I'd be willing to bet that your fastboot is too. Pixel 2 support was added in the October 2017 release of adb and fastboot. If yours is older than that, you're gonna have a bad time.
4. "Unable to open 'image-taimen-opd1.170816.025.zip': No such file or directory." Fastboot can't find your firmware files. Try placing the entire contents of the factory image, including the .zip file listed here, into the same directory as fastboot.exe (based on your post, it seems like the folder you want is C:\adb). Then rerun flash-all.bat. The script is assuming that fastboot.exe and all of the firmware files are in the same folder and if they're not, that could be a problem.
5. You do not have driver issues. The fact that fastboot devices worked means that your drivers/connection are/is working fine.
PS: Get the latest adb and fastboot here: https://developer.android.com/studio/releases/platform-tools.html
UPDATE: I did a Google search for adb/fastboot version eac51f2bb6a8-android. I found a reference to it in a forum post dated mid-2016. There's your problem. Or one of them, anyway. If you do adb --version or fastboot --version on the latest releases, they will tell you that they are version 0.0.1-4500957.
TheSt33v said:
4. "Unable to open 'image-taimen-opd1.170816.025.zip': No such file or directory." Fastboot can't find your firmware files. Try placing the entire contents of the factory image, including the .zip file listed here, into the same directory as fastboot.exe (based on your post, it seems like the folder you want is C:\adb). Then rerun flash-all.bat. The script is assuming that fastboot.exe and all of the firmware files are in the same folder and if they're not, that could be a problem.
Click to expand...
Click to collapse
I updated adb and fastboot:
Android Debug Bridge version 1.0.39
fastboot version 0.0.1-4500957
All of taimen-opm1.171019.013-factory-6d9954c3 & all contents of image-taimen-opm1.171019.013.zip were placed into C:\adb which has the adb and fastboot. After running flash-all.bat, this is what I got:
Code:
target didn't report max-download-size
sending 'bootloader' (36344 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.008s
rebooting into bootloader...
OKAY [ 0.005s]
finished. total time: 0.007s
target didn't report max-download-size
sending 'radio' (60428 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.008s
rebooting into bootloader...
OKAY [ 0.004s]
finished. total time: 0.005s
extracting android-info.txt (0 MB) to RAM...
extracting boot.img (40 MB) to disk... took 0.395s
target didn't report max-download-size
error: Failed to identify current slot
Press any key to exit...
azntiger said:
I updated adb and fastboot:
Android Debug Bridge version 1.0.39
fastboot version 0.0.1-4500957
All of taimen-opm1.171019.013-factory-6d9954c3 & all contents of image-taimen-opm1.171019.013.zip were placed into C:\adb which has the adb and fastboot. After running flash-all.bat, this is what I got:
Click to expand...
Click to collapse
Open up your SDK and look for a file named "platform-tools" that is where all your files should be placed.
Badger50 said:
Open up your SDK and look for a file named "platform-tools" that is where all your files should be placed.
Click to expand...
Click to collapse
All the platform-tools and the stock rom are together in folder.
azntiger said:
All the platform-tools and the stock rom are together in folder.
Click to expand...
Click to collapse
Did you extract the factory image first, or just put the whole zip file in platform-tools?
azntiger said:
I updated adb and fastboot:
Android Debug Bridge version 1.0.39
fastboot version 0.0.1-4500957
All of taimen-opm1.171019.013-factory-6d9954c3 & all contents of image-taimen-opm1.171019.013.zip were placed into C:\adb which has the adb and fastboot. After running flash-all.bat, this is what I got:
Code:
target didn't report max-download-size
sending 'bootloader' (36344 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.008s
rebooting into bootloader...
OKAY [ 0.005s]
finished. total time: 0.007s
target didn't report max-download-size
sending 'radio' (60428 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.008s
rebooting into bootloader...
OKAY [ 0.004s]
finished. total time: 0.005s
extracting android-info.txt (0 MB) to RAM...
extracting boot.img (40 MB) to disk... took 0.395s
target didn't report max-download-size
error: Failed to identify current slot
Press any key to exit...
Click to expand...
Click to collapse
Hmm. Fastboot is definitely having issues communicating with your phone. "Failed to identify current slot" is a bad sign. If I were you, I would try flashing the most recent factory image (not the November 8.0 image you're trying to flash) first just to see if you can get everything up to date again and clear out any mismatched files that may have been flashed during your attempts. Once you manage that, then try to downgrade. If you can, try a different computer too, preferably one with a type C input that you can use the stock USB cable with.
---------- Post added at 04:03 PM ---------- Previous post was at 04:01 PM ----------
Badger50 said:
Did you extract the factory image first, or just put the whole zip file in platform-tools?
Click to expand...
Click to collapse
The fact that he's not getting "not found" errors means that all the expected files are found by fastboot.
The fact that he's not getting "not found" errors means that all the expected files are found by fastboot.[/QUOTE]
Thanks man. I learned something new today :good:
Wonder if his transfer cable. I've seen that cause headaches as well ?
It was definitely an issue between my laptop and my phone. I was able to easily use flash-all.bat on a different computer.
I really appreciate both of your help! I was stressed out.
azntiger said:
It was definitely an issue between my laptop and my phone. I was able to easily use flash-all.bat on a different computer.
I really appreciate both of your help! I was stressed out.
Click to expand...
Click to collapse
Oh nice! Glad you got it figured out. This stuff can be a bit tricky at times. I know I've lost some hair from pulling it out when things didn't go right! ?
azntiger said:
It was definitely an issue between my laptop and my phone. I was able to easily use flash-all.bat on a different computer.
I really appreciate both of your help! I was stressed out.
Click to expand...
Click to collapse
I was on edge just reading this! I would also look into Deuce's script. It can save the 'device can't boot' issue once and for good.
Kudos on not having a faulty device~!

Bricked even though I can fastboot?

So while flashing an update, my Pixel 3XL turned off and now it only loads in fastboot (every other options goes to black screen). On the fastboot screen I get "Device state: error!" not locked or unlocked. When trying flash-all.bat, here's the read out. When I exit, nothing has changed. I can still only turn on the phone in fastboot and no other options. If anyone has any ideas, I would greatly appreciate it!
Sending 'bootloader_b' (8489 KB) OKAY [ 0.399s]
Writing 'bootloader_b' FAILED (remote: 'error getting device locked state No Response')
Finished. Total time: 9.746s
rebooting into bootloader OKAY [ 0.049s]
Finished. Total time: 0.052s
< waiting for any device >
Sending 'radio_b' (71148 KB) OKAY [ 2.501s]
Writing 'radio_b' FAILED (remote: 'error getting device locked state No Response')
Finished. Total time: 11.845s
rebooting into bootloader OKAY [ 0.047s]
Finished. Total time: 0.047s
< waiting for any device >
extracting android-info.txt (0 MB) to RAM...
Checking product OKAY [ 0.060s]
Checking version-bootloader OKAY [ 0.058s]
Checking version-baseband OKAY [ 0.062s]
extracting boot.img (64 MB) to disk... took 0.735s
archive does not contain 'boot.sig'
archive does not contain 'boot_other.img'
extracting dtbo.img (8 MB) to disk... took 0.075s
archive does not contain 'dtbo.sig'
archive does not contain 'dt.img'
archive does not contain 'odm.img'
extracting product.img (194 MB) to disk... took 3.284s
archive does not contain 'product.sig'
archive does not contain 'product-services.img'
archive does not contain 'recovery.img'
archive does not contain 'super.img'
extracting system.img (2158 MB) to disk... took 27.091s
archive does not contain 'system.sig'
extracting system_other.img (418 MB) to disk... took 5.520s
archive does not contain 'system.sig'
extracting vbmeta.img (0 MB) to disk... took 0.002s
archive does not contain 'vbmeta.sig'
extracting vendor.img (445 MB) to disk... took 5.421s
archive does not contain 'vendor.sig'
archive does not contain 'vendor_other.img'
Erase successful, but not automatically formatting.
File system type raw not supported.
Erase successful, but not automatically formatting.
File system type raw not supported.
Sending 'boot_b' (65536 KB) OKAY [ 2.338s]
Writing 'boot_b' FAILED (remote: 'error getting device locked state No Response')
Finished. Total time: 76.748s
Press any key to exit...
Do you have the current platform tools? Also, use a C>A USB cable and not a C>C.
Yup, using a C to A cable. Downloaded the tools today so I'm pretty sure it's more of the device state error! problem and the error of no response error during flash.
sal-paradise said:
Yup, using a C to A cable. Downloaded the rooms today so I'm pretty sure it's more of the device state error! problem and the error of no response error during flash.
Click to expand...
Click to collapse
The exact
same thing happened to me. I had to sideload and install the ota. zip and all is good again.
sal-paradise said:
Yup, using a C to A cable. Downloaded the rooms today so I'm pretty sure it's more of the device state error! problem and the error of no response error during flash.
Click to expand...
Click to collapse
No answer about the platform tools, but had you updated the phone before this way? If not, different computer, cable, port, etc. The platform tools haven't changed since a few months before nd of last year, so if you had done this before that part should be safe...
Did you confirm the file download and make sure that it was not corrupted when you unzipped the D/L? Otherwise, the above post about using the OTA through recovery is a good option.
P.S. It helps if you quote the person trying to help so that they know there is an answer.
Patch7 said:
The exact
same thing happened to me. I had to sideload and install the ota. zip and all is good again.
Click to expand...
Click to collapse
How do I sideload the ota if I can't get into recovery? All the menu option through the volume rocker in fastboot leads to the device turning off.
Every now and then I have to swap ports on my computer because I'll get weird errors, not sure if I've seen this one specifically though. Swap ports, swap cables, mix and match until it works or you go through every option you've got.
Speak gentle words of encouragement too.
Seamonkey79 said:
Every now and then I have to swap ports on my computer because I'll get weird errors, not sure if I've seen this one specifically though. Swap ports, swap cables, mix and match until it works or you go through every option you've got.
Speak gentle words of encouragement too.
Click to expand...
Click to collapse
Unfortunately this is a bigger problem than just cables, ports, and gentle words
sal-paradise said:
How do I sideload the ota if I can't get into recovery? All the menu option through the volume rocker in fastboot leads to the device turning off.
Click to expand...
Click to collapse
You can't.
sliding_billy said:
No answer about the platform tools, but had you updated the phone before this way? If not, different computer, cable, port, etc. The platform tools haven't changed since a few months before nd of last year, so if you had done this before that part should be safe...
Did you confirm the file download and make sure that it was not corrupted when you unzipped the D/L? Otherwise, the above post about using the OTA through recovery is a good option.
P.S. It helps if you quote the person trying to help so that they know there is an answer.
Click to expand...
Click to collapse
Right, but that's not an option because all options beyond fastboot lead to a black screen.
Homeboy76 said:
You can't.
Click to expand...
Click to collapse
Exactly.
sal-paradise said:
Exactly.
Click to expand...
Click to collapse
Try this:
On your Computer:
- Open a Command Prompt in the Platform-tools folder
- Make sure these files are in the Platform-tools folder:
bootloader-crosshatch-b1c1-0.1-5191736.img
radio-crosshatch-g845-00009-181130-b-5157073.im
image-crosshatch-pq2a.190305.002.zip
- Boot the phone to fastboot mode
- Connect the phone to the computer with the A to C USB cable
The type these commands (one at a time) at the Command Prompt and press enter after each command:
fastboot flash bootloader bootloader-crosshatch-b1c1-0.1-5191736.img
fastboot reboot-bootloader
fastboot flash radio radio-crosshatch-g845-00009-181130-b-5157073.img
fastboot reboot-bootloader
fastboot update image-crosshatch-pq2a.190305.002.zip
sal-paradise said:
Right, but that's not an option because all options beyond fastboot lead to a black screen.
Click to expand...
Click to collapse
Have you tried the flash-all besides since the initial try? If not, I would definitely retry. Perhaps try changing slots from fastboot and see if you can boot to system or recovery (for OTA or factory reset) or run the flash-all from the other slot.
fastboot --set-active=a
---------- Post added at 03:09 PM ---------- Previous post was at 02:57 PM ----------
sliding_billy said:
Have you tried the flash-all besides since the initial try? If not, I would definitely retry. Perhaps try changing slots from fastboot and see if you can boot to system or recovery (for OTA or factory reset) or run the flash-all from the other slot.
fastboot --set-active=a
Click to expand...
Click to collapse
If that doesn't work, you should be able to change slots with the fastboot boot [twrp].img version of TWRP (run from fastboot) and then reboot to system.
sliding_billy said:
Have you tried the flash-all besides since the initial try? If not, I would definitely retry. Perhaps try changing slots from fastboot and see if you can boot to system or recovery (for OTA or factory reset) or run the flash-all from the other slot.
fastboot --set-active=a
---------- Post added at 03:09 PM ---------- Previous post was at 02:57 PM ----------
If that doesn't work, you should be able to change slots with the fastboot boot [twrp].img version of TWRP (run from fastboot) and then reboot to system.
Click to expand...
Click to collapse
When I try this, here's what I get:
PS C:\Users\Englands\Desktop\crosshatch-pq2a.190305.002> ./fastboot --set-active=a
Setting current slot to 'a' FAILED (remote: 'error getting device locked state No Response')
Finished. Total time: 9.219s
PS C:\Users\Englands\Desktop\crosshatch-pq2a.190305.002>
And yes, everytime I try flash-all I get the same at my original post with the same error:
FAILED (remote: 'error getting device locked state No Response')
Homeboy76 said:
Try this:
On your Computer:
- Open a Command Prompt in the Platform-tools folder
- Make sure these files are in the Platform-tools folder:
bootloader-crosshatch-b1c1-0.1-5191736.img
radio-crosshatch-g845-00009-181130-b-5157073.im
image-crosshatch-pq2a.190305.002.zip
- Boot the phone to fastboot mode
- Connect the phone to the computer with the A to C USB cable
The type these commands (one at a time) at the Command Prompt and press enter after each command:
fastboot flash bootloader bootloader-crosshatch-b1c1-0.1-5191736.img
fastboot reboot-bootloader
fastboot flash radio radio-crosshatch-g845-00009-181130-b-5157073.img
fastboot reboot-bootloader
fastboot update image-crosshatch-pq2a.190305.002.zip
Click to expand...
Click to collapse
I have an older bootloader version, so when I try this, it tells me:
PS C:\Users\Englands\Desktop\crosshatch-pq2a.190305.002> ./fastboot update image-crosshatch-pq2a.190305.002.zip
extracting android-info.txt (0 MB) to RAM...
--------------------------------------------
Bootloader Version...: b1c1-0.1-5034669
Baseband Version.....: g845-00023-180917-B-5014671
Serial Number........: 85HY008F7
--------------------------------------------
Checking product OKAY [ 0.062s]
Checking version-bootloader FAILED
Device version-bootloader is 'b1c1-0.1-5034669'.
Update requires 'b1c1-0.1-5191736'.
fastboot: error: requirements not met!
sal-paradise said:
I have an older bootloader version, so when I try this, it tells me:
PS C:\Users\Englands\Desktop\crosshatch-pq2a.190305.002> ./fastboot update image-crosshatch-pq2a.190305.002.zip
extracting android-info.txt (0 MB) to RAM...
--------------------------------------------
Bootloader Version...: b1c1-0.1-5034669
Baseband Version.....: g845-00023-180917-B-5014671
Serial Number........: 85HY008F7
--------------------------------------------
Checking product OKAY [ 0.062s]
Checking version-bootloader FAILED
Device version-bootloader is 'b1c1-0.1-5034669'.
Update requires 'b1c1-0.1-5191736'.
fastboot: error: requirements not met!
Click to expand...
Click to collapse
¯\_(ツ)_/¯
sal-paradise said:
When I try this, here's what I get:
PS C:\Users\Englands\Desktop\crosshatch-pq2a.190305.002> ./fastboot --set-active=a
Setting current slot to 'a' FAILED (remote: 'error getting device locked state No Response')
Finished. Total time: 9.219s
PS C:\Users\Englands\Desktop\crosshatch-pq2a.190305.002>
And yes, everytime I try flash-all I get the same at my original post with the same error:
FAILED (remote: 'error getting device locked state No Response')
Click to expand...
Click to collapse
Sorry, but I just got back online (been one of those nights). Looking at all the back and forth, I feel like there is a communication gap between you and those of us helping. There are questions and suggestions unanswered. For one, I never saw a reply to if this is the first time you are attempting to update via a flash-all on the same computer/port/cable/etc. That will answer a bit about your knowledge and the hardware functionality. If all that is a go, the only thing that jumps out at me is the possibility of a bad download or something easy to remedy like a command problem or file location/path issue. Have you checked with Google? I know that getting a replacement sucks, but you may need to start over. The folks here have done this tons of times and got back from bricks probably more severe than yours. I have never seen a device that could get to fastboot not be recoverable if all of the things we are talking about are being executed properly, but there is always a first like a serious phone hardware failure that nothing is going to solve except for a replacement.
One thing I see is the PS location. I know there are some commands that don't play nice in PowerShell, so type 'cmd' from PS and get to a standard command prompt.
sal-paradise said:
How do I sideload the ota if I can't get into recovery? All the menu option through the volume rocker in fastboot leads to the device turning off.
Click to expand...
Click to collapse
I had the exact thing happened to me on my Pixel 2 XL but nothing worked,
not even the "Duce Script". I decided to use the "Skip Soft" tool as my last resort
and to my surprise it worked and fixed it in less than 10 minutes!
Unfortunately the Dev hasn't added the Crosshatch yet. I suggest you download it
and ask him to add it in the "Device Support" section, he''ll add it once he sees more requests.
Good luck.
sliding_billy said:
Sorry, but I just got back online (been one of those nights). Looking at all the back and forth, I feel like there is a communication gap between you and those of us helping. There are questions and suggestions unanswered. For one, I never saw a reply to if this is the first time you are attempting to update via a flash-all on the same computer/port/cable/etc. That will answer a bit about your knowledge and the hardware functionality. If all that is a go, the only thing that jumps out at me is the possibility of a bad download or something easy to remedy like a command problem or file location/path issue. Have you checked with Google? I know that getting a replacement sucks, but you may need to start over. The folks here have done this tons of times and got back from bricks probably more severe than yours. I have never seen a device that could get to fastboot not be recoverable if all of the things we are talking about are being executed properly, but there is always a first like a serious phone hardware failure that nothing is going to solve except for a replacement.
One thing I see is the PS location. I know there are some commands that don't play nice in PowerShell, so type 'cmd' from PS and get to a standard command prompt.
Click to expand...
Click to collapse
My apologies, I thought a previous comment mentioning computer/port/cables that I responded to clarified this. This is not the issue as I've done it with multiple desktops and multiple USB A to C cables. Even when attempting to change from slot B to A I get the device state error, which I've copied in another post on here. Isn't that the problem here? If I can't figure out a way to get around the fact that there's no response when trying to determine the lock state, I don't think we can fix the problem here. I don't see how this would have to do with being in powershell or not or being a bad download. Since most things fail in fastboot because of this error, this is what I was trying to get more info on to get corrected as it clearly seems to be the heart of the failure.
Unfortunately a lot of the back and forth is because of the repetition about cables and ports or asking me to recover which I appreciate, but I stated choosing recovery sends me to a black screen. When there's been actual commands to try in fastboot, I've posted the results they've given, but it still comes back to " FAILED (remote: 'error getting device locked state No Response') "
sal-paradise said:
My apologies, I thought a previous comment mentioning computer/port/cables that I responded to clarified this. This is not the issue as I've done it with multiple desktops and multiple USB A to C cables. Even when attempting to change from slot B to A I get the device state error, which I've copied in another post on here. Isn't that the problem here? If I can't figure out a way to get around the fact that there's no response when trying to determine the lock state, I don't think we can fix the problem here. I don't see how this would have to do with being in powershell or not or being a bad download. Since most things fail in fastboot because of this error, this is what I was trying to get more info on to get corrected as it clearly seems to be the heart of the failure.
Unfortunately a lot of the back and forth is because of the repetition about cables and ports or asking me to recover which I appreciate, but I stated choosing recovery sends me to a black screen. When there's been actual commands to try in fastboot, I've posted the results they've given, but it still comes back to " FAILED (remote: 'error getting device locked state No Response') "
Click to expand...
Click to collapse
I appreciate the reply. Some of the things are just things that take no real effort (like downloading/extracting the factory image again to be safe), while the PS thing was just to make sure that if folks are sending commands to try that they are sending the right ones. The question about whether you were using a Mac or Linix (that I think has been deleted since I read it) got me thinking about that and not that running the flash-all batch would react differently.
Last thing, have you tried anything with the TWRP .img version like changing slots or even doing a factory reset?

Lost and need help after unrooting

As the title says, I had rooted my device, but after about 2 months, decided I wanted to unroot, and go back to normal. I will let you know the steps I took, and the problem I am currently facing to see if anyone can provide some help.
1. I performed a factory reset
2. I flashed my stock boot.img that I backed up prior to rooting with Magisk
3. I booted the device, and factory reset again
4. I locked my bootloader, and then tried to apply my OTA Update (installation failed).
5. After referencing a few google support articles, they suggested to flash the latest Factory Image with the flash-all script.
6. I unlocked my bootloader
7. booted to fastboot, and ran flash-all.bat
8. The Factory image failed on Sending 'product'
9. I modified the flash-all.bat file, and removed the -w from the fastboot update section, and ran it again.
10. Factory image failed on Sending 'product' again
11. I manually sent the command through fastboot. "fastboot update image-crosshatch-qp1a.191005.007.zip (please note, I this is the October factory image, I also tried all of the above with the November factory image with the same failuer).
This is what is displayed when the update is attempted. can someone help me understand what steps I am missing.
C:\Android\Sdk\platform-tools>fastboot update image-crosshatch-qp1a.191005.007.zip
--------------------------------------------
Bootloader Version...: b1c1-0.2-5672671
Baseband Version.....: g845-00048-190722-B-5745561
Serial Number........: 8CRY16G6K
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.057s]
Checking 'version-bootloader' OKAY [ 0.058s]
Checking 'version-baseband' OKAY [ 0.056s]
Setting current slot to 'b' OKAY [ 0.372s]
extracting boot.img (64 MB) to disk... took 0.300s
archive does not contain 'boot.sig'
Sending 'boot_b' (65536 KB) OKAY [ 0.325s]
Writing 'boot_b' OKAY [ 0.207s]
extracting dtbo.img (8 MB) to disk... took 0.029s
archive does not contain 'dtbo.sig'
Sending 'dtbo_b' (8192 KB) OKAY [ 0.126s]
Writing 'dtbo_b' OKAY [ 0.074s]
archive does not contain 'dt.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_b' (4 KB) OKAY [ 0.116s]
Writing 'vbmeta_b' OKAY [ 0.057s]
archive does not contain 'vbmeta_system.img'
extracting super_empty.img (0 MB) to disk... took 0.001s
Rebooting into fastboot OKAY [ 0.057s]
< waiting for any device >
Sending 'system_b' (4 KB) OKAY [ 0.002s]
Updating super partition OKAY [ 0.022s]
Resizing 'product_b' OKAY [ 0.006s]
Resizing 'system_b' OKAY [ 0.006s]
Resizing 'vendor_b' OKAY [ 0.006s]
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
extracting product.img (1985 MB) to disk... took 13.550s
archive does not contain 'product.sig'
Sending 'product' (2033548 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
Khilbron said:
As the title says, I had rooted my device, but after about 2 months, decided I wanted to unroot, and go back to normal. I will let you know the steps I took, and the problem I am currently facing to see if anyone can provide some help.
1. I performed a factory reset
2. I flashed my stock boot.img that I backed up prior to rooting with Magisk
3. I booted the device, and factory reset again
4. I locked my bootloader, and then tried to apply my OTA Update (installation failed).
5. After referencing a few google support articles, they suggested to flash the latest Factory Image with the flash-all script.
6. I unlocked my bootloader
7. booted to fastboot, and ran flash-all.bat
8. The Factory image failed on Sending 'product'
9. I modified the flash-all.bat file, and removed the -w from the fastboot update section, and ran it again.
10. Factory image failed on Sending 'product' again
11. I manually sent the command through fastboot. "fastboot update image-crosshatch-qp1a.191005.007.zip (please note, I this is the October factory image, I also tried all of the above with the November factory image with the same failuer).
This is what is displayed when the update is attempted. can someone help me understand what steps I am missing.
C:\Android\Sdk\platform-tools>fastboot update image-crosshatch-qp1a.191005.007.zip
--------------------------------------------
Bootloader Version...: b1c1-0.2-5672671
Baseband Version.....: g845-00048-190722-B-5745561
Serial Number........: 8CRY16G6K
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.057s]
Checking 'version-bootloader' OKAY [ 0.058s]
Checking 'version-baseband' OKAY [ 0.056s]
Setting current slot to 'b' OKAY [ 0.372s]
extracting boot.img (64 MB) to disk... took 0.300s
archive does not contain 'boot.sig'
Sending 'boot_b' (65536 KB) OKAY [ 0.325s]
Writing 'boot_b' OKAY [ 0.207s]
extracting dtbo.img (8 MB) to disk... took 0.029s
archive does not contain 'dtbo.sig'
Sending 'dtbo_b' (8192 KB) OKAY [ 0.126s]
Writing 'dtbo_b' OKAY [ 0.074s]
archive does not contain 'dt.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_b' (4 KB) OKAY [ 0.116s]
Writing 'vbmeta_b' OKAY [ 0.057s]
archive does not contain 'vbmeta_system.img'
extracting super_empty.img (0 MB) to disk... took 0.001s
Rebooting into fastboot OKAY [ 0.057s]
< waiting for any device >
Sending 'system_b' (4 KB) OKAY [ 0.002s]
Updating super partition OKAY [ 0.022s]
Resizing 'product_b' OKAY [ 0.006s]
Resizing 'system_b' OKAY [ 0.006s]
Resizing 'vendor_b' OKAY [ 0.006s]
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
extracting product.img (1985 MB) to disk... took 13.550s
archive does not contain 'product.sig'
Sending 'product' (2033548 KB) FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed
Click to expand...
Click to collapse
Do you have the latest sdk platform tools?
jd1639 said:
Do you have the latest sdk platform tools?
Click to expand...
Click to collapse
I thought I was, I just checked, and apparently I need to update my platform-tools, as they changed with the November build release. I will update and get back to you.
EDIT:
I will note, I had the latest platform-tools as of 10/28/2019, but when I checked Android studio, it showed there was a new version.
Khilbron said:
I thought I was, I just checked, and apparently I need to update my platform-tools, as they changed with the November build release. I will update and get back to you.
EDIT:
I will note, I had the latest platform-tools as of 10/28/2019, but when I checked Android studio, it showed there was a new version.
Click to expand...
Click to collapse
Looks like your fastboot directory is not mapped properly in environment variables. The easy way past that error is with your phone still connected and in fastbootd use the arrow keys to go to recovery and then do sideload from ADB and slieload the same version as you were trying to flash. that will do the same thing as flash-all (without -w) except it will change your slots.
sliding_billy said:
Looks like your fastboot directory is not mapped properly in environment variables. The easy way past that error is with your phone still connected and in fastbootd use the arrow keys to go to recovery and then do sideload from ADB and slieload the same version as you were trying to flash. that will do the same thing as flash-all (without -w) except it will change your slots.
Click to expand...
Click to collapse
I actually tried that while waiting on a reply to this post, when I did the sideload on the update file, it failed due to signature.
I then downloaded the Full OTA, and was able to sideload it sucessfully, but I would much rather prefer to flash the latest Factory Image, and have comfort knowing that my issue was an issue with the platform tools version.
jd1639 said:
Do you have the latest sdk platform tools?
Click to expand...
Click to collapse
Alright, using Platform Tools 29.0.5, I am still receiving the same error when attempting to run flash-all.bat with and without the -w. Even when manually executing fastboot update image-crosshatch-qp1a.191105.003.zip
I know that I can boot to recovery, and ADB sideload the latest Full OTA, that was previously successful. However, I want to make sure that I won't encounter any future problems doing OTA updates through the device.
Do you have any additional suggestions?
Khilbron said:
Alright, using Platform Tools 29.0.5, I am still receiving the same error when attempting to run flash-all.bat with and without the -w. Even when manually executing fastboot update image-crosshatch-qp1a.191105.003.zip
I know that I can boot to recovery, and ADB sideload the latest Full OTA, that was previously successful. However, I want to make sure that I won't encounter any future problems doing OTA updates through the device.
Do you have any additional suggestions?
Click to expand...
Click to collapse
- Change USB port or change USB Cable.
- Make sure the USB port you are using is not a charging USB port.
Also, if you are going to lock the bootloader make sure you are 100 percent stock if you do not want to brick your phone. Flash factory image with -w.
Khilbron said:
I actually tried that while waiting on a reply to this post, when I did the sideload on the update file, it failed due to signature.
I then downloaded the Full OTA, and was able to sideload it sucessfully, but I would much rather prefer to flash the latest Factory Image, and have comfort knowing that my issue was an issue with the platform tools version.
Click to expand...
Click to collapse
Glad you at least got out of the error, and as you noticed I did mean the full OTA. Just be sure to add the directory containing Fastboot to your PATH environment variable (the flash-all script must be able to find it). Easy way to check if your path is mapped OK, shift+right click to open a command prompt somewhere other than where you have fastboot (like your desktop) and run a fatboot devices command from there to see if it executes.
Homeboy76 said:
- Change USB port or change USB Cable.
- Make sure the USB port you are using is not a charging USB port.
Also if you are going to lock the bootloader make sure you are 100 percent stock if you do not want to brick your phone. Flash factory image with -w.
Click to expand...
Click to collapse
I've tried both USB 3.0 ports on my laptop, both USB 3.0 ports on my Docking station, as well as the Type-C port on both the laptop and docking station, all give the same error.
I have tried flashing the factory image with and without -w, which is where this problem comes, It fails everytime trying to flash it. I have currently sideloaded the latest Full OTA, and I am awaiting additional steps that I haven't thought of before I re-lock.
sliding_billy said:
Glad you at least got out of the error, and as you noticed I did mean the full OTA. Just be sure to add the directory containing Fastboot to your PATH environment variable (the flash-all script must be able to find it).
Click to expand...
Click to collapse
I modified the Flash-All script to change the path to the platform-tools installation directory, which did not resolve the issue.
Until further information I haven't tried comes up, I have sideloaded the Full OTA, and will sit with my bootloader unlocked for the time being.
Khilbron said:
I modified the Flash-All script to change the path to the platform-tools installation directory, which did not resolve the issue.
Until further information I haven't tried comes up, I have sideloaded the Full OTA, and will sit with my bootloader unlocked for the time being.
Click to expand...
Click to collapse
Just one thing before you waste any more time doing other stuff, loading the OTA only installs to the opposite slot. Do it once more to get back to your original slot and have the OTA in both. Is your hesitance to check the path due to running a MAC? If so, just dump the extracted image (including the flash-all .bat or .sh) directly into your fastboot directory including fastboot itself.
sliding_billy said:
Just one thing before you waste any more time doing other stuff, loading the OTA only installs to the opposite slot. Do it once more to get back to your original slot and have the OTA in both. Is your hesitance to check the path due to running a MAC? If so, just dump the extracted image (including the flash-all .bat or .sh) directly into your fastboot directory including fastboot itself.
Click to expand...
Click to collapse
Naa, I'm on a PC. I have tried 2 flash-all files, the original with the files copied to SYSTEM32, and a modified one, that points directly to my platform-tools directory.
This is the default Flash-All
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-crosshatch-b1c1-0.2-5672671.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-crosshatch-g845-00048-190722-b-5745561.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot -w update image-crosshatch-qp1a.191105.003.zip
echo Press any key to exit...
pause >nul
exit
Click to expand...
Click to collapse
and this is the modified file, both generate the same issue
PATH=%PATH%;"C:\Users\cmears\AppData\Local\Android\Sdk\platform-tools"
fastboot flash bootloader bootloader-crosshatch-b1c1-0.2-5672671.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-crosshatch-g845-00048-190722-b-5745561.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot update image-crosshatch-qp1a.191105.003.zip
echo Press any key to exit...
pause >nul
exit
Click to expand...
Click to collapse
Note: I also have another copy of the original Flash-All without the -w, that also generates the error.
Khilbron said:
I modified the Flash-All script to change the path to the platform-tools installation directory, which did not resolve the issue.
Until further information I haven't tried comes up, I have sideloaded the Full OTA, and will sit with my bootloader unlocked for the time being.
Click to expand...
Click to collapse
Khilbron said:
I modified the Flash-All script to change the path to the platform-tools installation directory, which did not resolve the issue.
Until further information I haven't tried comes up, I have sideloaded the Full OTA, and will sit with my bootloader unlocked for the time being.
Click to expand...
Click to collapse
There is no need the modify the flash-all.bat file.
- Did you extract the factory image in the Platform-tools folder or whatever folder that has fastboot in it?
- Did you open a 'command prompt' in the Platform-tools folder?
- Did you check the sha256 of the factory image you downloaded?
https://forum.xda-developers.com/pixel-3-xl/how-to/guide-pixel-3-xl-android-10-0-q-t3964117
Look at #4 in the guide.
Homeboy76 said:
There is no need the modify the flash-all.bat file.
- Did you extract the factory image in the Platform-tools folder or whatever folder that has fastboot in it?
- Did you open a 'command prompt' in the Platform-tools folder?
- Did you check the sha256 of the factory image you downloaded?
https://forum.xda-developers.com/pi...-10-q-root-t3996969/post80774791#post80774791
Look at #4 in the guide.
Click to expand...
Click to collapse
1. Yes, I extracted it to the platform-toosl directory
2. Yes I executed the flash-all from command prompt, in the platform-tools directory.
3. Yes, the Hash matches the Checksum listed on the Factory Image page for Google
Just for record, during the flash-all process, it successfully flashes the Bootloader, and the radio. It only fails on the update flash, at the Product stage.
Khilbron said:
1. Yes, I extracted it to the platform-toosl directory
2. Yes I executed the flash-all from command prompt, in the platform-tools directory.
3. Yes, the Hash matches the Checksum listed on the Factory Image page for Google
Just for record, during the flash-all process, it successfully flashes the Bootloader, and the radio. It only fails on the update flash, at the Product stage.
Click to expand...
Click to collapse
Ok!
Homeboy76 said:
There is no need the modify the flash-all.bat file.
- Did you extract the factory image in the Platform-tools folder or whatever folder that has fastboot in it?
- Did you open a 'command prompt' in the Platform-tools folder?
- Did you check the sha256 of the factory image you downloaded?
https://forum.xda-developers.com/pixel-3-xl/how-to/guide-pixel-3-xl-android-10-0-q-t3964117
Look at #4 in the guide.
Click to expand...
Click to collapse
Khilbron said:
1. Yes, I extracted it to the platform-toosl directory
2. Yes I executed the flash-all from command prompt, in the platform-tools directory.
3. Yes, the Hash matches the Checksum listed on the Factory Image page for Google
Click to expand...
Click to collapse
I wonder if Google did something with the flash-all script in November or if it is having problems with fastbootd, or if it based on the October install leading up to it because there seem to be more than a normal amount of flash-all issues. I'm on custom, so I am using a sideload method. Strange idea, but since ultimately you are looking to clean wipe. Do a factory reset and then a flash-all to both slots.
sliding_billy said:
I wonder if Google did something with the flash-all script in November or if it is having problems with fastbootd, or if it based on the October install leading up to it because there seem to be more than a normal amount of flash-all issues. I'm on custom, so I am using a sideload method. Strange idea, but since ultimately you are looking to clean wipe. Do a factory reset and then a flash-all to both slots.
Click to expand...
Click to collapse
If he does a factory reset on his phone, I don't think a flash-all is necessary.
Homeboy76 said:
If he does a factory reset on his phone, I don't think a flash-all is necessary.
Click to expand...
Click to collapse
No, just wondering if the command script will work.
Homeboy76 said:
If he does a factory reset on his phone, I don't think a flash-all is necessary.
Click to expand...
Click to collapse
I did do a factory reset on my device, after I sideloaded the October OTA. But when I tried to download the update manually through my device, It failed to install, so I had to unlock my bootloader again, and sideload the november OTA. I am trying to get away from having to sideload any OTA updates, and just update directly through my phone, so I don't have to keep it tethered to a PC to update. And I want to keep my bootloader locked, to avoid issues with Google Pay.
Khilbron said:
I did do a factory reset on my device, after I sideloaded the October OTA. But when I tried to download the update manually through my device, It failed to install, so I had to unlock my bootloader again, and sideload the november OTA. I am trying to get away from having to sideload any OTA updates, and just update directly through my phone, so I don't have to keep it tethered to a PC to update. And I want to keep my bootloader locked, to avoid issues with Google Pay.
Click to expand...
Click to collapse
if you are 100 percent stock you should have no problem taking the OTA without unlocking the bootloader.

Categories

Resources