B2G/Nexus7

From MozillaWiki
< B2G
Jump to: navigation, search

Quick notes on getting B2G running on a Nexus 7 device, based on Jelly Bean 4.2.1. This port is extremely rough right now, but is a good foundation for hacking and fixing.

  • Clone the base B2G dir from my core repo:
git clone https://github.com/vvuk/B2G.git b2g-n7
  • Select the b2g-jb branch
cd b2g-n7
git checkout b2g-jb
  • Configure for nexus-7 using the included nexus-7.xml repo file. This will take a while.
./config.sh nexus-7 nexus-7.xml
  • Build and flash as usual
./build.sh
./flash.sh

There is no home button, assets are the wrong size, some screen resolutions are incorrect, wifi doesn't seem to manage to connect, but it launches, and the UI is pretty buttery smooth :)