3. Compilando #firefoxos
Udev Permissions
---------------Obtain ID of device manufacturer (first 4 hexidecimal digits before colon):
$ lsusb
Add a line to /etc/udev/rules.d/android.rules (replacing XXXX with 4 digit
ID):
SUBSYSTEM=="usb", ATTRS{idVendor}=="XXXX", MODE="0666"
Restart udev before re-plugging your device for it to be detected:
$ sudo service udev restart
6. Compilando #firefoxos
Compilar (1ª vez)
---------------------------git clone https://github.com/mozilla-b2g/B2G.git
export BRANCH=master
export VARIANT=user
export HDPI=1
./config.sh peak
./build.sh
sudo ./flash.sh
# non-debug build (fewer apps in homescreen, and less debug info, but still root)
(sudo)
7. Compilando #firefoxos
Compilar (2ª vez y sucesivas)
---------------------------export BRANCH=master
export VARIANT=user
export HDPI=1
git pull
./repo sync
./config.sh peak
./build.sh
[25 min en un i7]
sudo ./flash.sh
# non-debug build (fewer apps in homescreen, and less debug info, but still root)
(sudo)
10. Compilando #firefoxos
Localizar Gaia (1ª vez)
-------------git clone https://github.com/mozilla-b2g/gaia
cd gaia/locales
hg clone https://hg.mozilla.org/gaia-l10n/es
vim locales/languages_all.json → poner el nuestro si no está y quitar los que no están
make profile LOCALE_BASEDIR=locales/ LOCALES_FILE=locales/languages_all.json
GAIA_DEFAULT_LOCALE=es
HDPI=1 GAIA_OPTIMIZE=1 MOZILLA_OFFICIAL=1 GAIA_DISTRIBUTION_DIR=.
REMOTE_DEBUGGER=1 make production
11. Compilando #firefoxos
Localizar Gaia (2ª vez y sucesivas)
-------------git pull
cd locales/es
hg pull -u
vim locales/languages_all.json → poner el nuestro si no está y quitar los que no están
make profile LOCALE_BASEDIR=locales/ LOCALES_FILE=locales/languages_all.json
GAIA_DEFAULT_LOCALE=es
HDPI=1 GAIA_OPTIMIZE=1 MOZILLA_OFFICIAL=1 GAIA_DISTRIBUTION_DIR=.
REMOTE_DEBUGGER=1 make production