aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/archive/b2g_os/phone_guide/flame/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/archive/b2g_os/phone_guide/flame/index.html')
-rw-r--r--files/zh-cn/archive/b2g_os/phone_guide/flame/index.html258
1 files changed, 0 insertions, 258 deletions
diff --git a/files/zh-cn/archive/b2g_os/phone_guide/flame/index.html b/files/zh-cn/archive/b2g_os/phone_guide/flame/index.html
deleted file mode 100644
index 91947e54fd..0000000000
--- a/files/zh-cn/archive/b2g_os/phone_guide/flame/index.html
+++ /dev/null
@@ -1,258 +0,0 @@
----
-title: Flame
-slug: Archive/B2G_OS/Phone_guide/Flame
-translation_of: Archive/B2G_OS/Phone_guide/Flame
----
-<p><img alt="A picture of the Flame device, showing the Firefox OS homescreen containing several app icons." src="https://mdn.mozillademos.org/files/8373/flame-dev-hud.png" style="float: left; margin-bottom: 20px; margin-right: 50px; width: 25%;"></p>
-
-<h2 id="Available_to_order" style="text-indent: 100%; white-space: nowrap; overflow: hidden; margin: 0; height: 0;">Available to order</h2>
-
-<p><span class="seoSummary">The Flame developer reference phone is a milestone in Firefox OS device releases. The Flame hardware offers a representative set of specs — including FWVGA display and dual-core processor — to help developers build great content and experiences. A single hardware platform is also good for testers, making it easier to test and address specific software issues without having to worry about device model-specific bugs, etc.</span></p>
-
-<p style="">If you have your phone in hand and want to start playing with it, developing and distributing apps, or contributing to the Firefox platform, the following links will get you where you need to go:</p>
-
-<ul>
- <li><a href="/en-US/Firefox_OS">Firefox OS zone</a>: For creating your own Firefox OS builds and contributing to the B2G and Gaia projects.</li>
- <li><a href="/en-US/Apps">App Center zone</a>: For building open web apps compatible with Firefox OS.</li>
- <li><a href="/en-US/Marketplace">Marketplace zone</a>: For information on publishing and distributing apps.</li>
- <li><a href="https://marketplace.firefox.com/">Firefox Marketplace</a>: The best source to find and publish new Firefox OS apps.</li>
-</ul>
-
-<p style="">If you’d like to find out more about updating the operating system, recovering it, pushing apps to it, or phone specs, you’ll find the information you need below.</p>
-
-<h2 id="Purchasing_a_device">Purchasing a device</h2>
-
-<p>Our device manufacturer partner has made the device <a href="http://www.everbuying.com/product549652.html">available to order</a> on everbuying.com, for US$170 including global shipping (device cost is $145, shipping is $25 and custom fees may still apply, depending on the destination country). The device is bootloader and carrier unlocked, and it utilizes a quad-band GSM+UMTS radio so that it can work with a wide variety of operators/carriers.</p>
-
-<div class="note">
-<p><strong>Note</strong>: Another option for getting hold of a Flame is to participate in our <a href="https://hacks.mozilla.org/2014/05/build-your-next-app-with-a-flame/">Flames for Apps scheme</a>, aimed at experienced HTML5 app developers wishing to port their highly-rated apps onto Firefox OS.</p>
-</div>
-
-<h2 id="Updating_your_Flame's_software">Updating your Flame's software</h2>
-
-<p>We will have two main "channels" of Firefox OS software version releases for the Flame phone:</p>
-
-<ul>
- <li>The first channel is our release channel. Flames ship with this channel and will receive over-the-air updates for future major versions, that is, Flames will update from 1.3 to 1.4, 2.0 to 2.1, etc.</li>
- <li>The second channel is our nightly channel. Flames can be flashed to this channel, and after the initial flashing will get over the air updates on a daily or nearly daily basis.</li>
-</ul>
-
-<div class="note">
-<p><strong>Note</strong>: Windows users will need to install a driver to enable USB communication with their phones. See how to do this in the <a href="#Windows">Windows</a> section below. Linux users may need to add a udev rule; see the <a href="#Linux_and_Mac">Linux and Mac</a> section.</p>
-</div>
-
-<p>While our partners are working out a final storage solution for the software builds, you can get recovery files and tools at the following Onedrive storage locations:</p>
-
-<ul>
- <li><a href="http://1drv.ms/1tn3pWD">Base image v123.zip</a>: An archive containing the Flame's base image of Firefox OS 1.3.  To install this, simply unzip the file, and run the script (./flash.sh).</li>
- <li><a href="http://1drv.ms/1rCASz2">Base image v123.exe</a>: A Windows executable containing the Flame's base image of Firefox OS 1.3. To install this, simply run the executable on a Window system.</li>
- <li>links above point to Microsoft OneDrive and are not working. Alternatives, powered by baidu: <a href="http://pan.baidu.com/s/1sj7BcQh">v123.zip</a>, <a href="http://pan.baidu.com/s/1hqxdXY0">v123.exe</a></li>
-</ul>
-
-<p>To install the base image on your device:</p>
-
-<ol>
- <li><a href="/en-US/Firefox_OS/Debugging/Installing_ADB">Install ADB</a> on your computer.</li>
- <li>If you are on Windows, install the driver, as explained in the <a href="#Windows">Windows</a> section below.</li>
- <li>Make sure remote debugging is enabled on your Flame, using the <em>Remote debugging/Debugging via USB</em> option in the device's <a href="/en-US/Firefox_OS/Debugging/Developer_settings">Developer settings</a> (the option is different, depending on whether you have Firefox 1.3 and under, or Firefox 1.4+ installed).</li>
- <li>Connect your Flame to your computer via a USB cable. Verify that the computer is connected to the device by running the <code>adb devices</code> command in a terminal.</li>
- <li>Download and Extract the software appropriate for your system listed above (the <code>.zip</code> in the case of Mac / Linux, the <code>.exe</code> in the case of Windows)</li>
- <li>Go into the directory you extracted the software into and run it:
- <ul>
- <li>On Windows, simply run the executable.</li>
- <li>On Linux / OSX, use the terminal to enter the directory, then run the flash.sh script using <code>sudo ./flash.sh</code> (if you don't run it using <code>sudo</code>, the flash script may fail to see your device, and it won't work).</li>
- </ul>
- </li>
-</ol>
-
-<div class="note">
-<p><strong>Note</strong>: You are also welcome to build your own builds to install on the Flame: see <a href="/en-US/Firefox_OS/Building_and_installing_Firefox_OS">Building and installing Firefox OS</a>.</p>
-</div>
-
-<h3 id="Updating_your_Flame_to_a_nightly_build">Updating your Flame to a nightly build</h3>
-
-<div class="note">
-<p><strong>Note</strong>: For this current build, Nightly development builds of Firefox OS do not support A-GPS, which may lead to slow performance of GPS functionality. We plan to resolve this in an updated future Nightly channel.</p>
-</div>
-
-<ol>
- <li>Before updating your phone to a nightly build you should flash the latest base image to make sure the underlying systems are up to date. Download a base image and use it to update your device's software, as explained above.</li>
- <li>Because the above step installs a fresh operating system on your device, you'll need to enable remote debugging on your Flame again, using the <em>Remote debugging </em>option in the device's <a href="/en-US/Firefox_OS/Debugging/Developer_settings">Developer settings</a>.</li>
- <li>Next, choose a Nightly build to install. You can find nightly builds on <a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/">http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/</a>. You'll want one of the following:
- <ul style="margin-left: 40px;">
- <li>Production builds (including locales)
- <ul>
- <li><a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central-flame/">Latest master builds</a> (currently 2.1)</li>
- <li><a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g32_v2_0-flame/">Latest v2.0</a></li>
- <li><a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g30_v1_4-flame/">Latest v1.4</a></li>
- </ul>
- </li>
- <li>Engineering builds (with test apps and only pseudo-locales)
- <ul>
- <li><a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central-flame-eng/">Latest master builds</a> (currently 2.1)</li>
- <li><a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g32_v2_0-flame-eng/">Latest v2.0</a></li>
- <li><a href="http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g30_v1_4-flame-eng/">Latest v1.4</a></li>
- </ul>
- </li>
- </ul>
- </li>
- <li>Pick a version and download both the <code>b2g-XX.XX.en-US.android-arm.tar.gz</code> and <code>gaia.zip</code> files.</li>
- <li>Download the <a href="https://github.com/Mozilla-TWQA/B2G-flash-tool/blob/master/shallow_flash.sh">shallow flash script</a> and save it in a sensible place (such as the same directory as the above two files.)</li>
- <li>Flash the builds to your phone using the following command:
- <h4 id="Mac" style="line-height: 24px;">Mac</h4>
-
- <pre class="brush: bash">./shallow_flash.sh -g /path/to/gaia.zip -G /path/to/b2g-XX.XX.en-US.android-arm.tar.gz</pre>
-
- <h4 id="Linux" style="line-height: 24px;">Linux</h4>
-
- <pre class="brush: bash">./shallow_flash.sh -g/path/to/gaia.zip -G/path/to/b2g-XX.XX.en-US.android-arm.tar.gz</pre>
- </li>
-</ol>
-
-<div class="note">
-<p><strong>Note</strong>: If you get a "permission denied" error when running the above command, your shell script probably doesn't have the right permissions. Running <code>chmod +x shallow_flash.sh</code> on it should solve this problem.</p>
-</div>
-
-<div class="note">
-<p><strong>Note</strong>: A "shallow flash" only updates <a href="/en-US/docs/Mozilla/Gecko">Gecko</a> and <a href="/en-US/Firefox_OS/Platform/Gaia">Gaia</a>, as opposed to a full flash, which updates Gecko/Gaia, but also the underlying <a href="/en-US/Firefox_OS/Platform/Gonk">Gonk</a> layer and associated binaries particular to that device type. This is why it is a good idea to update to the official base image first, as suggested above, then to shallow flash over the top of that, once you've got the Gonk/binary layer right.</p>
-</div>
-
-<div class="warning">
-<p id="Shallow_flash_flashes_more_than_just_Gecko_and_Gaia_so_all_the_data_on_the_device_is_lost!">Shallow flash flashes more than just Gecko and Gaia so all the data on the device is lost!</p>
-</div>
-
-<p>Once the install procedure finishes the phone should reboot into the updated build and the first time user workflow.</p>
-
-<h4 id="Font_fix">Font fix</h4>
-
-<p>After updating Gecko and Gaia to nightly with the v123 base image, there will be a mismatch between the fonts that Gecko and Gaia expects and what the base image provides. To fix this, download our <a href="https://people.mozilla.org/~mwu/fira-font-update.zip">font update package</a>, extract it, navigate into the directory created by extracting, and run the supplied <code>flash.sh</code> script.</p>
-
-<h3 id="Fastboot_mode">Fastboot mode</h3>
-
-<p>If flashing a new build to your phone fails to work, your phone may becomes unresponsive, and the phone may always reboot in recovery mode. The recovery mode allows you a few actions (reboot, update from adb, wipe data, wipe cache, update from sdcard). Unfortunately, selecting update from adb triggers a sideload mode and you cannot use the other adb commands, only <code>adb sideload</code> would work but the various flash scripts rely on other adb commands.</p>
-
-<p>In this case, you can probably force fastboot mode as follows:</p>
-
-<ol>
- <li>power off the phone (which may involve removing the battery in extreme cases...),</li>
- <li>plug in the USB cable</li>
- <li>power the phone up again by pressing the Volume Down and Power buttons together.</li>
-</ol>
-
-<p>The phone should only display the very first static logo and stay there, without displaying the boot animation. It seems stuck but is not really: it is in fastboot mode and is waiting for something on the USB cable. At this step, a computer on the other side of the USB cable should see the phone when running <code>fastboot devices</code> to list the connected devices. Note that regular adb would not see the device, only fastboot sees it. In this mode, you can use the flash script to install v123 as explained above. As the script does use both adb and fastboot commands, you may see some initial error and warnings from adb, but eventually the device should be flashed properly at the end.</p>
-
-<h3 id="Emergency_download_mode">Emergency download mode</h3>
-
-<p>If flashing a new build to your phone fails to work, your phone becomes unresponsive, and the phone cannot enter fastboot mode, you can use emergency mode for recovery. A USB cable and the <a href="http://1drv.ms/1rCAQHk">Emergency Download Tool</a> are required to enter emergency download mode. Install this tool and follow the instructions.</p>
-
-<h3 id="Recovery_mode">Recovery mode</h3>
-
-<p>You can enter recovery mode to clear your phone data or manually update the firmware. There are two ways to enter this mode:</p>
-
-<ul>
- <li>If <a href="/en-US/Firefox_OS/Debugging/Installing_ADB">ADB</a> tools are available, make sure Remote debugging is turned on in the phone's <a href="/en-US/Firefox_OS/Debugging/Developer_settings#Remote_debugging">Developer settings</a>, connect your phone to your computer via USB and enter <code>adb reboot recovery</code> on the command line.</li>
- <li>If your phone is powered off, press the Volume Up + Power buttons together.</li>
-</ul>
-
-<p>When in recovery mode, press the Volume up/down keys to move the selection highlight, and the Power key to select. Make sure you have your phone data (Contacts, SMS, etc.) backed up before clearing data, and your upgrade packages downloaded before updating.</p>
-
-<h2 id="Pushing_apps_to_your_Flame">Pushing apps to your Flame</h2>
-
-<p>The App Manager tool makes it easy to push apps to your phone, for testing, etc. Full instructions are available in the article <a href="/en-US/Firefox_OS/Using_the_App_Manager">Using the App Manager</a>.</p>
-
-<div class="warning">
-<p><strong>Important</strong>: Additional platform-specific instructions are available below. Follow these first before attempting to use the App Manager.</p>
-</div>
-
-<h3 id="Linux_and_Mac">Linux and Mac</h3>
-
-<p>No additional steps should be required if you are using a Linux or Mac system, although depending on your Linux distro, you might need to <a href="https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites#For_Linux.3A_configure_the_udev_rule_for_your_phone">add a udev rule</a> for your phone, which will look something like the following:</p>
-
-<pre>SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9025", GROUP="users", MODE="0666"</pre>
-
-<p>Make sure to <code>--reload-rules</code>, then unplug and replug and your device before continuing.</p>
-
-<h3 id="Windows">Windows</h3>
-
-<p>To access the Flame device with the <a href="/en-US/Firefox_OS/Using_the_App_Manager">App Manager</a>/<a href="/en-US/Firefox_OS/Debugging/Installing_ADB">ADB</a>, a USB driver is required. Follow the steps outlined in the below sections to install it.</p>
-
-<h4 id="Downloading_the_driver">Downloading the driver</h4>
-
-<p><a href="http://1drv.ms/1rCAUqu">Download the Windows driver from this location</a>. Once downloaded, extract the contents of the ZIP file to a suitable place on your hard drive.</p>
-
-<div class="note">
-<p><strong>Note</strong>: The Android Debug Bridge (<a href="/en-US/Firefox_OS/Debugging/Installing_ADB">ADB</a>) must be already installed.</p>
-</div>
-
-<h4 id="Installing_the_USB_Driver">Installing the USB Driver</h4>
-
-<p>At this point, connect your Flame device to your computer using a USB cable.</p>
-
-<p>To install the driver, open the <code>Alcatel_USB_Driver_Q_4.0.0_2013_11_11_noinstall</code> directory within the extracted ZIP file and double click on the <code>DriverInstaller.exe</code> executable. You may receive a warning at this point that the executable is from an unknown publisher. If so, select the <em>Yes</em> button and the executable will be launched.</p>
-
-<p><img alt="Simple dialog box showing a picture of a phone along with install and uninstall buttons." src="https://mdn.mozillademos.org/files/8079/driver-install.png" style="display: block; height: 523px; margin: 0px auto; width: 358px;"></p>
-
-<p>Click on the <em>Install</em> button to install the driver.</p>
-
-<p>After the driver installs, you can check that it is working by opening a command line window and typing <code>adb devices</code>. This should list the connected device with an output something like:</p>
-
-<pre>List of devices attached
-3561d02a device</pre>
-
-<p>If your device is not showing up here, check in the Windows Device Manager. Your Flame may be showing up as "ACER ADB Interface". You can confirm this by unplugging the device and seeing if it disappears from the device manager. Uninstall the driver software by right-clicking on "ACER ADB Interface" and clicking uninstall.  Be sure to check the box in the dialog to delete the driver software.  Now re-run the installer above. It is advisable to set the screen timeout on your Flame to something high (Settings &gt; Display &gt; Screen timeout) as Windows sometimes appears to reinstall the default drivers when the screen turns off.</p>
-
-<h2 id="RAM_adjustment">RAM adjustment</h2>
-
-<p>You can adjust the available RAM capacity to see how apps perform on Firefox OS phones with lower memory footprints.</p>
-
-<p>This is accomplished by entering fastboot mode (install fastboot first, which is available on the same SDK page as <a href="/en-US/Firefox_OS/Debugging/Installing_ADB">ADB</a>) and typing:</p>
-
-<pre class="brush: bash">adb reboot bootloader
-fastboot oem mem [0|256-1024]</pre>
-
-<p>“0” is the memory automatically detected and “256-1024” is the number of megabytes. For example, if you want to adjust device RAM capacity to 512M, enter <code>fastboot oem mem 512</code>.</p>
-
-<p>You'll need to then reboot your device for the settings to take effect. This can be done using:</p>
-
-<pre class="brush: bash">fastboot reboot</pre>
-
-<p>The current memory size can be returned by entering fastboot mode and typing:</p>
-
-<pre class="brush: bash">fastboot getvar mem
-</pre>
-
-<h2 id="Network_and_Device_specs">Network and Device specs</h2>
-
-<p><strong>Network</strong>:</p>
-
-<ul>
- <li>802.11b/g/n wireless internet</li>
- <li>GSM 850/900/1800/1900MHz</li>
- <li>UMTS 850/900/1900/2100MHz</li>
-</ul>
-
-<p><strong>Hardware</strong>: You can find more of the hardware features listed on our <a href="/en-US/Firefox_OS/Developer_phone_guide/Phone_specs">Phone and device specs page</a>.</p>
-
-<p>Additional features include:</p>
-
-<ul>
- <li>NFC</li>
- <li>Bluetooth 3.0</li>
- <li>Accelerometer</li>
- <li>FM radio</li>
- <li>Proximity Sensor</li>
- <li>GPS W / A-GPS support</li>
- <li>Ambient Light Sensor</li>
-</ul>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li><a href="https://hacks.mozilla.org/2014/08/videos-getting-started-with-your-flame-device/">Getting started with your Flame</a>: How-to videos by Chris Heilmann</li>
-</ul>
-
-<div id="HUABAN_WIDGETS">
-<div class="HUABAN-f-button" style="display: none;">采集</div>
-</div>
-
-<p> </p>