Closed Bug 1064180 Opened 10 years ago Closed 6 years ago

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

Categories

(Firefox OS Graveyard :: General, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hsivonen, Unassigned)

Details

(Whiteboard: [DUPEME])

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.
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?
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.