trying to flash factory image on pixel.. - Google Pixel Questions & Answers

hey guys
I am getting these errors when I flash the flash-all.sh in terminal..
Lauras-MacBook-Pro-5latform-tools Laura$ ./fastboot devices
FA6BG0302826 fastboot
Lauras-MacBook-Pro-5latform-tools Laura$ ./flash-all.sh
./flash-all.sh: line 17: fastboot: command not found
./flash-all.sh: line 18: fastboot: command not found
./flash-all.sh: line 20: fastboot: command not found
./flash-all.sh: line 21: fastboot: command not found
./flash-all.sh: line 23: fastboot: command not found
Lauras-MacBook-Pro-5latform-tools Laura$
I am trying to flash the factory images back so I can install TWRP.. could someone help me, the Pixel is much more complicated than the Nexus 5. Bootloader is already unlocked.

You need to install Google fastboot drivers.

daleys2016 said:
hey guys
I am getting these errors when I flash the flash-all.sh in terminal..
Lauras-MacBook-Pro-5latform-tools Laura$ ./fastboot devices
FA6BG0302826 fastboot
Lauras-MacBook-Pro-5latform-tools Laura$ ./flash-all.sh
./flash-all.sh: line 17: fastboot: command not found
./flash-all.sh: line 18: fastboot: command not found
./flash-all.sh: line 20: fastboot: command not found
./flash-all.sh: line 21: fastboot: command not found
./flash-all.sh: line 23: fastboot: command not found
Lauras-MacBook-Pro-5latform-tools Laura$
I am trying to flash the factory images back so I can install TWRP.. could someone help me, the Pixel is much more complicated than the Nexus 5. Bootloader is already unlocked.
Click to expand...
Click to collapse
Hi Laura,
looks like it cannot find fastboot. You might need to copy fastboot to the same directory .
Alex

Related

Having trouble updating from RR to stock pie. Cant update bootlader

So Ive been running the last verions of RR and decided I wanted to update to stock pie on my Pixel 2. Proving way more difficult then I thought.
On a mac with the latest platform tools.
Flash-all does not work, as it gives these errors:
Code:
./flash-all.sh
./flash-all.sh: line 18: fastboot: command not found
./flash-all.sh: line 19: fastboot: command not found
./flash-all.sh: line 21: fastboot: command not found
./flash-all.sh: line 22: fastboot: command not found
./flash-all.sh: line 24: fastboot: command not found
Then I tried to run each line individually, which sorta works. But trying to update the bootloader results in this error:
Code:
./fastboot flash bootloader bootloader-walleye-mw8998-002.0075.02.img
Sending 'bootloader_a' (38696 KB) OKAY [ 1.002s]
Writing 'bootloader_a' (bootloader) Updating: partition:0 @00002000 sz=0000B000
FAILED (remote: 'Command Flash Error')
Finished. Total time: 1.008s
Any idea what's going on or how to resolve this?
Have you updated your ADB tools?

adb and fastboot help needed

I'm on Linux Mint 18.3 and my G620S-L01 phone is on Android 4.4.4
I have downloaded minimal adb and fastboot tool.
First question, when issueing "adb devices" and "fastboot devices" command, shouldn't I get the same output? ( which is from what I understand the device serial number ). This is what I get:
Code:
./adb devices
List of devices attached
84dbac441b79 device
./adb reboot-bootloader
./fastboot devices
no permissions (user in plugdev group; are your udev rules wrong?); see [developer.android.com/tools/device.html] fastboot
sudo ./fastboot devices
3a226eb fastboot
Then when I issue any oem commands I tried, I always get "FAILED (remote: 'unknown command')" like for example:
Code:
sudo ./fastboot oem device-info
FAILED (remote: 'Invalid command')
fastboot: error: Command failed
I have read in some other thread, that to make oem commands working "OEM unlock" needs to be set up in Developer options. But from what I understand, this option is for >= Android 5.something. How to make those commands working on 4.4.4 version?
Edit:
I have then downloaded and installed full-blown Android studio. But the result is the same.

"(bootloader) Command is not support" ... When I try to run 'fastboot boot boot.img' ..?

Hello, I have been trying to successfully flash this phone since i purchased it a few months ago now, and I have been unsuccessful in being capable of doing so... Does anybody know what this means and how I may resolve it?
This is the output...
Code:
[[email protected] Recoveries]$ fastboot boot boot.img
Sending 'boot.img' (8498 KB) OKAY [ 0.430s]
Booting (bootloader) Command is not support
FAILED (remote: '')
fastboot: error: Command failed
Also sideload on trying to use adb also says that it is unsupported or something. Is it possible that this phone is impossible to do any such type of thing with such as flashing its ROM?
Thanks...
It is a Motorola Edge 20 Fusion...
And this is what happens when I actually try sideload...
Code:
[[email protected] rooting]$ adb sideload UPDATE-SuperSU-v2-82-20170528234214.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
Thanks...
1. You can't use Fastboot to boot into boot.img, but you can flash the boot.img:
Code:
fastboot flash boot boot.img
2. If ADB returns connection closed then try to force ADB to run in USB mode:
Code:
adb usb
.

FAILED (remote: 'Download is not allowed on locked devices')

i wnat to root https://www.xda-developers.com/root/
when i try
D:\platform-tools>fastboot flash boot D:\platform-tools/magisk_patched-25100_1VYTU.img
it show
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
i also try
fastboot oem unlock
it show
Code:
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
what should i do ??
chatofking said:
i wnat to root https://www.xda-developers.com/root/
when i try
D:\platform-tools>fastboot flash boot D:\platform-tools/magisk_patched-25100_1VYTU.img
it show
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Click to expand...
Click to collapse
Rename the patched boot.img to "boot.img", then place the patched .img in your fastboot folder on PC then type:
fastboot flash boot boot.img
When you place the file in your fastboot folder, you don't need to include the path to the file in the command, it automatically looks for the file in the fastboot folder by default when you do not enter a path. Renaming the file to "boot.img" isn't necessarily required, but, it does simplify things for fastboot and makes the command easier to remember and type.
The same applies if you want to flash a system.img, recovery.img, etc.. Just change the name of the file to "system.img" or "recovery.img" and place it/them in your fastboot folder and it simplifies your commands to:
fastboot flash system system.img
And
fastboot flash recovery recovery.img
Also, try this for the failed command
FAILED (remote: Unable to open fastboot HAL): Unlock Bootloader Fix
In this tutorial, we will show you the steps to fix the FAILED (remote: Unable to open fastboot HAL) error when unlocking the bootloader.
www.droidwin.com
now i got same message
D:\platform-tools>fastboot flash boot boot.img
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Droidriven said:
Also, try this for the failed command
FAILED (remote: Unable to open fastboot HAL): Unlock Bootloader Fix
In this tutorial, we will show you the steps to fix the FAILED (remote: Unable to open fastboot HAL) error when unlocking the bootloader.
www.droidwin.com
Click to expand...
Click to collapse
im already try this verify cmd location, install fastboot driver & boot fastboot mode nothing change.
Code:
D:\platform-tools>fastboot oem unlock
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
what should i do ??
chatofking said:
i wnat to root https://www.xda-developers.com/root/
when i try
D:\platform-tools>fastboot flash boot D:\platform-tools/magisk_patched-25100_1VYTU.img
it show
Code:
Sending 'boot' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Click to expand...
Click to collapse
You've to unlock device's bootloader. Hence 1st of all if you want to manage the / operate on the bootloader you have to move device into fastboot mode and then run on device if it's launched 2015 or later
Code:
fastboot flashing unlock
[code]
instead of the outdated
[code]
fastboot oem-unlock
xXx yYy said:
You've to unlock device's bootloader. Hence 1st of all if you want to manage the / operate on the bootloader you have to move device into fastboot mode and then run on device if it's launched 2015 or later
Code:
fastboot flashing unlock
[code]
instead of the outdated
[code]
fastboot oem-unlock
Click to expand...
Click to collapse
when i try
D:\platform-tools>fastboot flashing unlock
it show
Code:
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
i use https://developer.android.com/studio/releases/platform-tools
what should i do ??
The platform tools you actually use are meant to be used with Google devices only.
Use the Android USB-tools provided by your device's manufacturer.
xXx yYy said:
The platform tools you actually use are meant to be used with Google devices only.
Use the Android USB-tools provided by your device's manufacturer.
Click to expand...
Click to collapse
i use mtp driver
update Portable Devices to MTP USB Device
but when i enter fastboot mode
it become Android Device Android Bootloader Interface.
where is extracted the driver package folder ?? https://www.xda-developers.com/download-android-usb-drivers/
I'm having simular issue with my specter 8 tablet. I unlock the bootloader and give me the normal prompt. I go back do everything else and will execute reboot devices ect. However won't flash patch_boot.img brings up message
FAILED (remote: 'Download is not allowed on locked devices').

Question Boot-Image?

I need the boot.img for the EU-Version. Can someone please help me? Thx in forward.
Here are both magisk patched and stock boot.img files
Using latest magisk 25.1 stable
Stock
Magisk Patched
Thank you. I've now read rooting is not possible because Mediatek. Is it true please? Will not break it.
I'm rooted on my Nord2T. Whoever said that does not know what they are talking about.
The original Nord 2 was also mediatek and has a few custom ROMs and everything
I'm not able to boot correct in bootloader. There is written at the display extreme small "Fastboot Mode". If I set command "fastboot oem unlock" there is no reaction and nothing written. Changing with up/down is nothing doing.
Pushing Vol- and Powerbutton ends in recovery. There it is only possible to choose language and then wipe, reboot and power off.
My firmware is: CPH2399_11_A.09
Wrong code not
Code:
fastboot oem unlock
The correct command is
Code:
fastboot flashing unlock
Sorry, can not unlock the bootloader
Both commands failed
PS C:\adb2> fastboot flashing unlock
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
PS C:\adb2> fastboot oem unlock
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
PS C:\adb2>
Try using a different ADB and fastboot. I use official platform tools from here
Also what comes up when you type
Code:
fastboot devices
Have downloaded and used the tools from official platform (your link)
PS C:\adb3> fastboot devices
UKGYBYZTL7699T8T fastboot
PS C:\adb3> fastboot flashing unlock
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
PS C:\adb3> fastboot oem unlock
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
I'm in "Fastbootd Mode".
The command was "adb reboot fastboot". The command "adb reboot bootloader" does not work at mine N2t
mystery007 said:
Have downloaded and used the tools from official platform (your link)
PS C:\adb3> fastboot devices
UKGYBYZTL7699T8T fastboot
PS C:\adb3> fastboot flashing unlock
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
PS C:\adb3> fastboot oem unlock
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
I'm in "Fastbootd Mode".
The command was "adb reboot fastboot". The command "adb reboot bootloader" does not work at mine N2t
Click to expand...
Click to collapse
I had the same problem while opening Bootloader...Tried everything - Windows 10
I did the same on Windows 7 and immidiately bootloader open.
mystery007 said:
Have downloaded and used the tools from official platform (your link)
PS C:\adb3> fastboot devices
UKGYBYZTL7699T8T fastboot
PS C:\adb3> fastboot flashing unlock
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
PS C:\adb3> fastboot oem unlock
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
I'm in "Fastbootd Mode".
The command was "adb reboot fastboot". The command "adb reboot bootloader" does not work at mine N2t
Click to expand...
Click to collapse
Did you enable developer options and select Enable OEM unlock first?
garylawwd said:
I'm rooted on my Nord2T. Whoever said that does not know what they are talking about.
The original Nord 2 was also mediatek and has a few custom ROMs and everything
Click to expand...
Click to collapse
Did you pass the safetynet check?
My new Nord 2T is arrived today, I will see how many days it will resist unrooted
cioce said:
Did you pass the safetynet check?
My new Nord 2T is arrived today, I will see how many days it will resist unrooted
Click to expand...
Click to collapse
It will if you flash kdragon safetynet fix in magisk
cioce said:
Did you pass the safetynet check?
My new Nord 2T is arrived today, I will see how many days it will resist unrooted
Click to expand...
Click to collapse
Don't rush and don't do it like me. Here boot images are for 09. So upgrade first.
Safety net passes with magisk module
Root easily hidden with lsposed and shamiko module.
Riski3Run said:
Did you enable developer options and select Enable OEM unlock first?
Click to expand...
Click to collapse
Yes
mystery007 said:
Have downloaded and used the tools from official platform (your link)
PS C:\adb3> fastboot devices
UKGYBYZTL7699T8T fastboot
PS C:\adb3> fastboot flashing unlock
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
PS C:\adb3> fastboot oem unlock
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
I'm in "Fastbootd Mode".
The command was "adb reboot fastboot". The command "adb reboot bootloader" does not work at mine N2t
Click to expand...
Click to collapse
u should not be in fastbootd mode in adb type adb reboot bootloader
then type
fastboot flashing unlock
this should unlock your bootloader

Categories

Resources