Flash Firefox OS 2.1 into your Tablet

Excited about flashing 2.1 into your device? Well am too excited!

Flashing can be done via Windows as well as Linux and I will be explaining both the ways:

Point to be remember:

1: You have remote debugging enabled on your device.

2: Screen lock should be disabled, because when screen is off, device is disconnected.

For Linux user:

Step 1: Navigate to this link and select stable build. you can check build status to flash stable build.

Step 2: Download all files and extract all files into home directory.

Step 3: Open your terminal and navigate to your home directory by this command.

$ cd

Step 4: Install adb and fastboot package into your system.

$sudo apt-get install android-tools-adb
$sudo apt-get install android-tools-fastboot

Step 5: connect your device through usb and type $adb devices in terminal.

$ adb devices
List of devices attached 
FLATFISH_123456    device

it would show your device name.

if it doesn’t echo anything then try running these commands

 $sudo killall adb
$sudo adb devices

Step 6: Final Step, remember that you are in the same directory where you have extracted your downloaded zip files i.e home directory, now run this command.

In this command we have to run script named flash-flatfish.sh with two command line argument i.e. <path_to_images> ,<path_to_b2g_root> Basic syntax of this command is :

$sh [script_name.sh] [<path_to_images> [<path_to_b2g_root>]]

and we have extracted all images and scripts file in same directory i.e home directory so we will run this command where ~/ represents current directory.

$sudo sh flash-flatfish.sh ~/ ~/dev_fxos/a31-b2g

most probably it will complete without any error. If any error occurs ping me anytime because I have gone through many ups n downs while doing so.

If there is an issue like “the udev rule for the device may not be well configured. Will request the user to run in sudo mode“, then you can add udev rules to your devices (use idVendor 18d1 and 0bb4). For that open your editor and edit file which is at path /etc/udev/rules.d/android.rules , Here I am using vim editor.

$vim /etc/udev/rules.d/android.rules

add these two lines in this file

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev

Once you’ve saved the file, and closed it,  make the file readable:

sudo chmod a+r /etc/udev/rules.d/android.rules

Now that the udev rules have been updated, restart the udev daemon.

Ubuntu

sudo service udev restart

Fedora 20

sudo systemctl restart systemd-udevd.servic

Now you can repeat Step 6 again, now that issue will not arise.

You can also leave comments if any issue exists.

For windows user:

There is a post written by Caspy, I would recommend to follow those steps.

Here is the link to his post : Flashing the Flatfish bootloader

And this is how your home screen will look like after flashing.

4

Hell yeah its damn sexy!

Don’t forget to comment on this post if you got stuck any where or find an issue. I will surely help you out.

Bugs you will face:

Bug 1: screen will quickly turn off, so try to set screen time out from setting > display.

Bug 2: After installing new application from marketplace, screen one icon will overlap screen second icon, so try restarting your device, it will properly align all the icons.

I have reported all the issue in bugzilla, and will be fixed soon.

“DOING GOOD IS A PART OF OUR CODE”

Advertisements

4 thoughts on “Flash Firefox OS 2.1 into your Tablet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s