B2G-flash-tool
B2G-flash-tool copied to clipboard
Allow flashing of gecko/gaia from ftp.mo (public server)
After bug 914111 we now have gecko and gaia on ftp.mo. We could allow the public to use this flash tool to flash gecko and gaia from here:
http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/
Do we ever create try server builds for b2g? If so, being able to flash them easily would be very nice. Gecko engineers could push a try server build for gaia engineers to work with.
@zacc I found that only one gecko file (for emulator?) and gaia in the folder, it seems like not support other devices except emulator.
@davidflanagan
For flash gecko into device, you can try to download gecko file and flash by shallow_flash.sh
.
ex: ./shallow_flash.sh --gecko=Try-b2g-30.0a1.en-US.android-arm.tar.gz
ref: https://github.com/Mozilla-TWQA/B2G-flash-tool#shallow_flashsh
Wow we have flash_pvt.py
which will download from private server for internal member.
If possible, developing the flash_public.py
which download from public server will help the community.
ex: http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central-flame-eng/
:+1: The steps on https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame#Updating_your_Flame_to_a_nightly_build are very error prone and the script would make things a lot easier.
I would fall back to put a flash script on NPM that just downloads the builds and does a shallow-flash (and finally offers to back up data while doing so).
I created https://github.com/digitarald/flash-b2g in the meantime.