Jump to content

Upgrading B2G on the ZTE Open,


Guest hecatae
 Share

Recommended Posts

ZTE officially updated the ZTE Open to 1.1 and abandoned it.
 
To manually update it to the latest and greatest, follow these simple steps:
 
Grab a copy of Ubuntu 12.04, and install basic pre-requisites:
 
https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites
 

sudo apt-get update
sudo apt-get install autoconf2.13 bison bzip2 ccache curl flex gawk gcc g++ g++-multilib git ia32-libs lib32ncurses5-dev lib32z1-dev libgl1-mesa-dev libx11-dev make zip

 
Install adb, install java
 
clone the b2g repository:

git clone git://github.com/mozilla-b2g/B2G.git

 
grab a coffee
 

cd B2G

 
now if you want to build 1.3 run
 

BRANCH=v1.3 VARIANT=user ./config.sh inari

 
1.4
 



BRANCH=v1.4 VARIANT=user ./config.sh inari

 
2.0 < code complete as of 1st September 2014
 



BRANCH=v2.0 VARIANT=user ./config.sh inari

 
Wait for it to build.
 
when it finishes run


./build.sh gecko

 
This will build only gecko at the latest version
 
to flash run
 



./flash.sh gecko

 
this will update gecko to the version you chose, we now need to update gaia to the same version
 
run
 



cd gaia
make reset-gaia

 
and wait and afterwards you will be running the chosen versions of gecko and gaia.

why have I not updated gonk, I will refer you to https://developer.mozilla.org/en-US/Firefox_OS/Platform/Architecture and leave that for a future post

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.