Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build and install the latest nightly Firefox OS on Alcatel One Touch Fire?

I want to upgrade Firefox OS 1.1 on my Alcatel One Touch Fire to the master branch (the latest revision). After having read the Mozilla Wiki, I cloned the B2G repository, built it for the hamachi target by typing:

./config.sh hamachi && ./build.sh

(There are even prebuilt images)

Now is the hardest part, since Alcatel phones are not rooted and seems to have a locked bootloader.

The docs say that I should flash the device by typing:

./flash.sh

But all I get are these errors:

   adbd cannot run as root in production builds
   remount failed: Operation not permitted
   push: /home/user/B2G/objdir-gecko/dist/b2g/dictionaries/en-US.aff -> /system/b2g/dictionaries/en-US.aff
   failed to copy '/home/user/B2G/objdir-gecko/dist/b2g/dictionaries/en-US.aff' to '/system/b2g/dictionaries/en-US.aff': Read-only file system

Could anybody write an simple step-by-step tutorial (easier than this) on how to install the latest Firefox OS to a stock Alcatel One Touch Fire?

like image 328
niutech Avatar asked Nov 20 '13 20:11

niutech


1 Answers

I guess first we can check if the phone itself is rooted. You could try,

$ adb shell

And if shows,

root@android:/ #

Then I think the phone is rooted, and you can flash your phone with ./flash.sh.

If it is not rooted, I think the link you mentioned has provided the steps to create a new boot.img so that you could root the phone.

like image 115
leftL Avatar answered Sep 20 '22 22:09

leftL