<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Enodev.fr / Christophe's log (Posts about Firefox OS)</title><link>https://www.enodev.fr/</link><description></description><atom:link href="https://www.enodev.fr/categories/firefox-os.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Tue, 16 Jan 2024 22:07:07 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Restore the Flame's software after a failed upgrade</title><link>https://www.enodev.fr/posts/restore-the-flames-software-after-a-failed-upgrade.html</link><dc:creator>Christophe Vu-Brugier</dc:creator><description>&lt;p&gt;I own a &lt;a href="https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Phone_guide/Flame"&gt;Flame developer reference
phone&lt;/a&gt;
that runs Firefox OS and have been playing with it for a couple of
weeks. The Flame is a fully unlocked device: you have access to the
bootloader and can change the firmware. Unfortunately, like me, you
may &lt;em&gt;fail&lt;/em&gt; to flash the firmware. But as we will see, you can still
recover your phone.&lt;/p&gt;
&lt;h2&gt;Fastboot to the rescue&lt;/h2&gt;
&lt;p&gt;I tried to upgrade my Flame device to a newer version but the upgrade
failed for an unknown reason. Even worse, my phone did not boot
correctly after the failed upgrade: it was blocked after the "animated
fox" appeared on screen. Thus I could not even use my Flame to
phone...&lt;/p&gt;
&lt;p&gt;In such a situation, the solution is to boot the Flame in &lt;em&gt;fastboot
mode&lt;/em&gt;. For that, you have to press the right combination of keys to
instruct the bootloader to enter fastboot mode. For the Flame, you
should press &lt;strong&gt;power&lt;/strong&gt; and &lt;strong&gt;volume down&lt;/strong&gt; at the same time.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Power + volume down" class="img-fluid" src="https://www.enodev.fr/images/flame-fastboot-combo.jpg"&gt;&lt;/p&gt;
&lt;p&gt;After pressing &lt;strong&gt;power&lt;/strong&gt; + &lt;strong&gt;volume down&lt;/strong&gt;, your Flame device should
boot and display the "Thundersoft" red logo. Plug your phone to your
computer with the USB cable and invoke the &lt;code&gt;fastboot&lt;/code&gt; utility in a
terminal emulator:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="gp"&gt;$ &lt;/span&gt;fastboot&lt;span class="w"&gt; &lt;/span&gt;devices
&lt;span class="go"&gt;1da25746        fastboot&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Great! Your device has entered fastboot mode and is ready to be
flashed with the original Firefox OS firmware.&lt;/p&gt;
&lt;h2&gt;Flashing the original Flame firmware&lt;/h2&gt;
&lt;p&gt;The procedure to flash the original Flame firmware is described in
&lt;a href="https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Phone_guide/Flame/Updating_your_Flame#Updating_upgrading_the_Flame%27s_software"&gt;updating your Flame's
software&lt;/a&gt;. Download
the base image named &lt;del&gt;&lt;code&gt;v123.zip&lt;/code&gt;&lt;/del&gt; &lt;code&gt;v18D_nightly_v5.zip&lt;/code&gt;
(&lt;strong&gt;Update march 2019:&lt;/strong&gt; the URLs of the base images mentioned in the
documentation are dead, but several Firefox OS enthusiasts &lt;a href="https://groups.google.com/forum/#!topic/mozilla.dev.fxos/r9lrH42FIds"&gt;keep sharing base
images&lt;/a&gt;)
and decompress it. The archive contains a shell script called
&lt;code&gt;flash.sh&lt;/code&gt; that you will need to edit. I commented out some lines in
order to skip the instructions executed before &lt;code&gt;fastboot devices&lt;/code&gt;.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="c1"&gt;# adb kill-server&lt;/span&gt;
&lt;span class="c1"&gt;# adb devices&lt;/span&gt;
&lt;span class="c1"&gt;# adb reboot bootloader&lt;/span&gt;
fastboot&lt;span class="w"&gt; &lt;/span&gt;devices
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;After running the script, my Flame phone was fully restored and I
could enjoy it again (and even use it as a phone)!&lt;/p&gt;
&lt;div class="caption"&gt;
  &lt;img src="https://www.enodev.fr/images/pouce-cesar-fondation-cartier.thumbnail.jpg" class="img-fluid rounded" alt="César, Le Pouce, Fondation Cartier"&gt;
  &lt;p&gt;Thumbs-up for a Firefox OS user who restored his phone!&lt;br&gt;
  &lt;small&gt;César, Le Pouce, Fondation Cartier&lt;/small&gt;&lt;/p&gt;
&lt;/div&gt;</description><category>Firefox OS</category><category>Flame</category><category>Phone</category><guid>https://www.enodev.fr/posts/restore-the-flames-software-after-a-failed-upgrade.html</guid><pubDate>Mon, 18 Aug 2014 18:00:00 GMT</pubDate></item></channel></rss>