0
Compilando #firefoxos

Teléfonos soportados
Compilando #firefoxos
Teléfonos soportados
●

Nexus 4

●

Nexus S

●

Nexus 7

●

Keon

●

Peak

●

Galaxy Nexus

●

Galax...
Compilando #firefoxos
Udev Permissions
---------------Obtain ID of device manufacturer (first 4 hexidecimal digits before ...
Compilando #firefoxos
https://developer.mozilla.org/es/docs/Mozilla/Boot_to_Gecko/Firefox_OS_build_prerequisites

Dependen...
Compilando #firefoxos
Dependencias Mac
---------------------●

XCode

●

20GB of free space

●

homebrew

●

git (if not u...
Compilando #firefoxos
Compilar (1ª vez)
---------------------------git clone https://github.com/mozilla-b2g/B2G.git
export...
Compilando #firefoxos
Compilar (2ª vez y sucesivas)
---------------------------export BRANCH=master
export VARIANT=user
ex...
¿No tienes teléfono?
●

Compila el emulador
./config.sh emulator-x86
./run-emulator.sh

●

https://developer.mozilla.org/e...
Compilando #firefoxos
Firmware Flash
-------------$ adb reboot bootloader
$ fastboot flash recovery recovery.img
$ fastboo...
Compilando #firefoxos
Localizar Gaia (1ª vez)
-------------git clone https://github.com/mozilla-b2g/gaia
cd gaia/locales
h...
Compilando #firefoxos
Localizar Gaia (2ª vez y sucesivas)
-------------git pull
cd locales/es
hg pull -u
vim locales/langu...
Compilando #firefoxos
http://b2g.vegnux.org.ve/

Alcatel One Touch Fire
Más info
●

http://buildingfirefoxos.com/

●

https://pad.nopcode.org/p/ffos [pad de Pancake (@trufae)]
Upcoming SlideShare
Loading in...5
×

Compiling firefoxos

365

Published on

Compilando B2G 1.4 para teléfonos #firefoxos

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
365
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Compiling firefoxos"

  1. 1. Compilando #firefoxos Teléfonos soportados
  2. 2. Compilando #firefoxos Teléfonos soportados ● Nexus 4 ● Nexus S ● Nexus 7 ● Keon ● Peak ● Galaxy Nexus ● Galaxy S2 https://developer.mozilla.org/en-US/Firefox_OS/Phones
  3. 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
  4. 4. Compilando #firefoxos https://developer.mozilla.org/es/docs/Mozilla/Boot_to_Gecko/Firefox_OS_build_prerequisites Dependencias Linux ---------------------● A 64 bit linux distro ● 20GB of free disk space ● autoconf-2.13 ● git ● ccache ● gcc/g++ 4.6.3 or older ● bison ● flex ● 32bit ncurses ● zlib ● Make ● Python2
  5. 5. Compilando #firefoxos Dependencias Mac ---------------------● XCode ● 20GB of free space ● homebrew ● git (if not using XCode 4) ● gpg ● ccache ● autoconf-2.13 - brew install https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb
  6. 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. 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)
  8. 8. ¿No tienes teléfono? ● Compila el emulador ./config.sh emulator-x86 ./run-emulator.sh ● https://developer.mozilla.org/en-US/Firefox_OS/Using_the_B2G_emulators
  9. 9. Compilando #firefoxos Firmware Flash -------------$ adb reboot bootloader $ fastboot flash recovery recovery.img $ fastboot oem unlock $ fastboot erase userdata $ fastboot flash userdata userdata.img $ fastboot flash system system.img $ fastboot reboot
  10. 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. 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
  12. 12. Compilando #firefoxos
  13. 13. http://b2g.vegnux.org.ve/ Alcatel One Touch Fire
  14. 14. Más info ● http://buildingfirefoxos.com/ ● https://pad.nopcode.org/p/ffos [pad de Pancake (@trufae)]
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×