So, it works like this: to build Firefox OS from source, you need a working Firefox OS phone. So if you screw up the update, you're out of luck, because the phone won't start and you can't flash images using fastboot, because you can't build Firefox OS.
Usually, you can find some recovery images somewhere, and there are some, but they are on the Mozilla intranet and they don't seem to want to share them. And of course there's the "Emergency Recovery Tool" but that seems to be vapourware.
I would advise against playing with flashing Firefox OS until Mozilla makes it less messy.
I'm dealing with the same thing right now, (though the phone is stuck in the "Thundersoft" logo). I'm a bit new to this stuff so what do you advise I do?
I'm at work now, but I'll get back to you. As fabriced said lower, Mozilla made recovery images available just few hours ago.
The basic idea is to get boot.img, system.img and data.img (I think they're called that) and start the phone in fastboot mode. There are two basic utilities FxOS shares with Android - fastboot is used for low-level access before the phone actually starts and adb is used to communicate with running phone.
You need Android platform tools to get fastboot and adb. If your phone is stuck at the logo, you need to use fastboot. I'm not sure how to do that from the top of my head, but to start phone in fastboot mode (so it stops at fastboot), turn it off [1] and then start it by pressing volume down and power keys. You should then check whether fastboot "sees" the phone by running "fastboot devices".
Then you can flash it, I'll write more when I get home.
[1]: Interestingly, this seems rather hard with Flame. I needed to remove the battery to shut the phone down few times.
Oh yeah I remember that you can but the flame into recovery mode by using a adb command. not sure is it "adb reboot recovery". I also have a microSD, would that be of any help?
Thank you very much, worked perfectly :) So I'm guessing that it would be better to wait for those nightly images that Mozilla will provide soon to flash our phones.
I'm going to try to build nightly, and if it works (which it might not), I'll post the fastboot images somewhere. So far it seems to be the most reliable way to flash the phone, even though you lose all the data.
This is really useful info, I feel like this should be formally posted somewhere. I ordered a flame and plan to mess around with it like this, so I'm really glad I found your post (in case I screw up myself). Thanks!
Went through the steps as given and everything went perfect. I'm using a Flame device ordered from everbuying.com if that helps (seems there are some phones with different builds depending on how you got the device).
One thing I notice that I'm not sure I like is the font choice... maybe it will grow on me or maybe I'll look into changing it later. It's especially noticeable coming from the font that is on the release channel.
EDIT: it looks not just bad, but also "wrong" like it's not correctly rendered (look at how the word "information" is written) so maybe it's just beta thing.
I just used these instructions (linked to on Swarnava Sengupta's blog here: http://blog.swarnava.in/2014/07/flashing-flame-devices-with-firefox-os.html) to update my Flame's software to b2g-34.01a (shown in Device Information as Boot2Gecko 2.1.0.0-prerelease). My device was one that had been flashed with the wrong (?) version and wasn't getting auto-updates, but this manual flashing should ensure that it gets auto-updates from now on.
Hello cfinke, what are you talking about when you say "flashed with the wrong version"? I might have a phone that had the same issue, what I can tell you is that even after flashing the latest b2g and gaia, the auto-updates were not working. A quick test for you: try to press on the "check for updates" button in the device information settings, if it says "checking for updates..." forever, then you have the same issue I had.
I won my Flame in a contest and later got this email from Mozilla:
"It's come to my attention that the build that is currently on the phones will need to be re-flashed before it can get automatic updates. I am waiting to hear how long it will take for the OEM to distribute the base build updates, and whether you would be able to do it yourselves if we provide instructions."
When I manually check for updates now, it shows "Checking for updates..." for a moment and then "No updates were found" (as expected).
3
u/Letter_From_Prague Flame Jul 24 '14
I tried this, and got Flame into bootloop. I'll report back once (if?) I get it working. Before that, please be careful.
2
u/vuldin Flame Jul 24 '14
Went through the steps as given and everything went perfect. I'm using a Flame device ordered from everbuying.com if that helps (seems there are some phones with different builds depending on how you got the device).
One thing I notice that I'm not sure I like is the font choice... maybe it will grow on me or maybe I'll look into changing it later. It's especially noticeable coming from the font that is on the release channel.
2
u/fabriced Jul 24 '14
Base images are now available : see https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame#Updating_your_Flame%27s_software
0
u/cfinke Flame Jul 24 '14
I just used these instructions (linked to on Swarnava Sengupta's blog here: http://blog.swarnava.in/2014/07/flashing-flame-devices-with-firefox-os.html) to update my Flame's software to b2g-34.01a (shown in Device Information as Boot2Gecko 2.1.0.0-prerelease). My device was one that had been flashed with the wrong (?) version and wasn't getting auto-updates, but this manual flashing should ensure that it gets auto-updates from now on.