0


I am trying to flash the latest 6.0.1 build onto my Nexus 7 tab.
I picked MOB30X build from here

naveen@gandalf:~$ fastboot devices
015d2a4ffd181016    fastboot

But, when I do

naveen@gandalf:~$ fastboot flashall -w
error: neither -p product specified nor ANDROID_PRODUCT_OUT set

What is this product about?

Further, Looking like the build comes with a nice installation file flash-all.sh While running

fastboot -w update image-razor-mob30x.zip

I'm again hitting this error

checking product...
FAILED

Here's the complete log file

  • fastboot flashall is AFAIR not the correct command to flash a factory ROM. You have to directly execute flash-all.bat / flash-all.sh without fastboot. – Robert Jun 3 '18 at 11:04
  • Just unzipped and went through flash-all.sh. Looking like that's what is needed. Running it now. – Naveen Karnam Jun 3 '18 at 11:24
  • I was not able to see any output for flash-all for almost 30 mins. I aborted the execution and ran the first command. "fastboot flash bootloader bootloader-flo-flo-04.08.img". Now seeing the message "< waiting for device >" – Naveen Karnam Jun 3 '18 at 11:35
  • Finally got past this when I ran with "sudo". Now seeing "signature mismatch" while flashing bootloader. sha256sum seems to be fine. This is something else. – Naveen Karnam Jun 3 '18 at 11:59
  • Signature mismatch seems to be OK. The older bootloader should be able to handle the flashing/installation. I'm seeing an error again. "checking product... FAILED" Will attach the complete log to this post. – Naveen Karnam Jun 3 '18 at 13:12
0

You need to set ANDROID_PRODUCT_OUT in /etc/environment.
You may have a folder with boot.img and system.img etc. in, this is the right folder.

Example:

ANDROID_PRODUCT_OUT=/path/to/folder/with/images/

After that you can call sudo fastboot flashall -w

It also works for self builds.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.