From 96af84a4094c2018d35c792e33813c07344f553c Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 5 Jan 2015 14:58:36 -0600 Subject: Allow flashing of images via the GUI - Use the Images... button in the lower right of the zip install page - Unify image flashing functions between restore and image flash - boot and recovery partitions are flashable by default - use fstab flag flashimg=1 or 0 to override defaults - file system partitions are currently not flashable Change-Id: I822dc446030543c55d2153e219d67a1292374ffc --- gui/devices/watch/res/watch.xml | 183 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 178 insertions(+), 5 deletions(-) (limited to 'gui/devices/watch') diff --git a/gui/devices/watch/res/watch.xml b/gui/devices/watch/res/watch.xml index 38de230c4..03effde31 100644 --- a/gui/devices/watch/res/watch.xml +++ b/gui/devices/watch/res/watch.xml @@ -22,10 +22,7 @@ Install - - - install - + install_select @@ -95,6 +92,45 @@ + + + + + + + + + + Install Zips + + + + install + + + + + + + + Install Images + + install_image + + + + + main + + + + + main + + + + + @@ -145,7 +181,7 @@ - main + install_select @@ -385,6 +421,143 @@ + + + + + + + Select Image to Install + + + + + + + + Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) + + tw_back=install_image + selectstorage + + + + + + +
+ + %tw_zip_location% + + + + + + + + + +
+ + + + + + flashimage_confirm + + + + + install_select + + + + + main + + + + + + + + + + + +
+ + Select Partition to Flash Image: + + + + + + +
+ + + + + Folder: + + + + + + %tw_zip_location% + + + + + + File to flash: + + + + + + %tw_file% + + + + + + + tw_back=flashimage_confirm + tw_action=flashimage + tw_has_action2=0 + tw_action_text1=Flashing Image... + tw_action_text2= + tw_complete_text1=Image Flashed + action_page + + + + + + + + Swipe to Confirm Flash + + + + + + tw_clear_destination=install_image + clear_vars + + + + + + + tw_clear_destination=main2 + clear_vars + + + + tw_operation_state=0 -- cgit v1.2.3