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/portrait/res/portrait.xml | 161 ++++++++++++++++++++++++++++++++++ 1 file changed, 161 insertions(+) (limited to 'gui/devices/portrait') diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml index 0642c30b0..b73297411 100644 --- a/gui/devices/portrait/res/portrait.xml +++ b/gui/devices/portrait/res/portrait.xml @@ -133,6 +133,17 @@ + + + + + Images... + + + install_image + + + @@ -403,6 +414,156 @@ + + + + + + + Select Image to Install + + + + + + + + Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) + + tw_back=install_image + selectstorage + + + + + + +
+ + %tw_zip_location% + + + + + + + + + +
+ + + + + + + + Zips... + + + install + + + + + + flashimage_confirm + + + + + install + + + + + 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