[Flame] Should have a way to push Gecko&Gaia over USB without overwriting user data

NEW
Unassigned

Status

Firefox OS
General
3 years ago
3 years ago

People

(Reporter: hsivonen, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [DUPEME])

(Reporter)

Description

3 years ago
Recently bug 937485 caused a bad Gecko update that made Flame not finish booting, because Gecko wouldn't start. However, adb access remained. Recovering from this by using the remaining adb access to push working Gecko&Gaia using shallow_flash.sh overwrote all user data.

It would be a lot friendlier to people testing nightly builds to have an ever shallower flash option that would push new Gecko and Gaia builds but leave user data in place. I.e. the equivalent of an OTA update but over USB.

Comment 1

3 years ago
Had the "--keep_profile\tKeep the user profile on your device. (BETA)" in https://github.com/Mozilla-TWQA/B2G-flash-tool/blob/master/shallow_flash.sh

Not listed on https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame#Updating_your_Flame_to_a_nightly_build yet.
Summary: Should have a way to push Gecko&Gaia over USB without overwriting user data → [Flame] Should have a way to push Gecko&Gaia over USB without overwriting user data
Whiteboard: [DUPEME]
FYI there's another possibility for those with a bricked Flame w/o adb access and who don't want to lose their data. Reboot your phone into fastboot mode (power + volume down), make your own build and then flash the system partition only (in your B2G folder):

./build.sh
fastboot flash system out/target/product/flame/system.img
fastboot reboot
I currently flash updates to my Flame by building B2G, and then running |./flash.sh system|. I think that this is the same as an OTA update. Is there some reason I should be using --keep-profile instead?
You need to log in before you can comment on or make changes to this bug.