Unable to flash my Mozilla Flame with new Firefox

2019-08-11 22:01发布

问题:

I have been following the instructions mentioned in https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame for getting the task done.

The following things have been done and are working:

  1. Remote debugging enabled and Screen lock disabled.
  2. The adb-tools and fastboot installed. Tried both the Ubuntu as well as the Android official way.
  3. The adb devices is displaying my device.
  4. The .zip file has been download and extracted.
  5. Running the ./flash.sh script reboots my device then it just remains stuck at ThunderSoft logo.

Reading the ./flash.sh file, it seems the last two line are to one which remain displayed on my terminal.

adb kill-server
adb devices
adb reboot bootloader
fastboot devices

echo "Partition table..."
fastboot flash partition gpt_both0.bin

Please help!

回答1:

I was finally able to flash the device. An important point was Some versions of the flame bootlaoder just show the thundersoft logo when in fastboot mode which I was missing. The steps I followed:

  1. Unplug the USB Cable.
  2. Power off the Phone.
  3. Pull battery for 10 Seconds and then place it back.
  4. Press and Hold Volume Down.
  5. Press and Hold Power (while still holding the Volume Down)
  6. Once you see a logo, you should be in fastboot mode
  7. Replug USB cable in.
  8. Issue sudo fastboot devices command to verify.

This help was actually provided by Dave Hylands and the remaining is what is mentioned in https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame

All fastboot were run using sudo command.



回答2:

You probably used the wrong image when flashing your phone. you might have flashed the flame gaia/gecko instead of flame-kk.

see https://www.mail-archive.com/dev-b2g@lists.mozilla.org/msg11484.html



回答3:

Try:

fastboot kill-server
sudo fastboot start-server
fastboot devices

It'll show your device.