B2G-flash-tool icon indicating copy to clipboard operation
B2G-flash-tool copied to clipboard

Allow flashing of gecko/gaia from ftp.mo (public server)

Open zacc opened this issue 11 years ago • 6 comments

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/

zacc avatar Feb 18 '14 19:02 zacc

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.

davidflanagan avatar Feb 18 '14 20:02 davidflanagan

@zacc I found that only one gecko file (for emulator?) and gaia in the folder, it seems like not support other devices except emulator.

askeing avatar Feb 19 '14 03:02 askeing

@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

askeing avatar Feb 19 '14 03:02 askeing

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/

askeing avatar Jun 24 '14 07:06 askeing

:+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).

digitarald avatar Aug 08 '14 16:08 digitarald

I created https://github.com/digitarald/flash-b2g in the meantime.

digitarald avatar Aug 12 '14 22:08 digitarald