adding sideload page with wipe cache and dalvik
fix variable Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
This commit is contained in:
committed by
Dees_Troy
parent
6ed34b7f61
commit
7ce7f0cde4
@@ -758,7 +758,7 @@ void DataManager::SetDefaultValues()
|
||||
mValues.insert(make_pair(TW_BACKUP_SP2_SIZE, make_pair("0", 0)));
|
||||
mValues.insert(make_pair(TW_BACKUP_SP3_SIZE, make_pair("0", 0)));
|
||||
mValues.insert(make_pair(TW_STORAGE_FREE_SIZE, make_pair("0", 0)));
|
||||
|
||||
|
||||
mValues.insert(make_pair(TW_REBOOT_AFTER_FLASH_VAR, make_pair("0", 1)));
|
||||
mValues.insert(make_pair(TW_SIGNED_ZIP_VERIFY_VAR, make_pair("0", 1)));
|
||||
mValues.insert(make_pair(TW_FORCE_MD5_CHECK_VAR, make_pair("0", 1)));
|
||||
@@ -785,6 +785,8 @@ void DataManager::SetDefaultValues()
|
||||
mValues.insert(make_pair(TW_RESTORE_AVG_IMG_RATE, make_pair("15000000", 1)));
|
||||
mValues.insert(make_pair(TW_RESTORE_AVG_FILE_RATE, make_pair("3000000", 1)));
|
||||
mValues.insert(make_pair(TW_RESTORE_AVG_FILE_COMP_RATE, make_pair("2000000", 1)));
|
||||
mValues.insert(make_pair("tw_wipe_cache", make_pair("0", 0)));
|
||||
mValues.insert(make_pair("tw_wipe_dalvik", make_pair("0", 0)));
|
||||
if (GetIntValue(TW_HAS_INTERNAL) == 1 && GetIntValue(TW_HAS_DATA_MEDIA) == 1 && GetIntValue(TW_HAS_EXTERNAL) == 0)
|
||||
SetValue(TW_HAS_USB_STORAGE, 0, 0);
|
||||
else
|
||||
|
||||
+9
-3
@@ -1059,6 +1059,7 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */)
|
||||
simulate_progress_bar();
|
||||
} else {
|
||||
int wipe_cache = 0;
|
||||
int wipe_dalvik = 0;
|
||||
string result, Sideload_File;
|
||||
|
||||
if (!PartitionManager.Mount_Current_Storage(true)) {
|
||||
@@ -1070,11 +1071,16 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */)
|
||||
unlink(Sideload_File.c_str());
|
||||
}
|
||||
ui_print("Starting ADB sideload feature...\n");
|
||||
DataManager::GetValue("tw_wipe_dalvik", wipe_dalvik);
|
||||
ret = apply_from_adb(ui, &wipe_cache, Sideload_File.c_str());
|
||||
if (ret != 0)
|
||||
if (ret != 0) {
|
||||
ret = 1; // failure
|
||||
else if (wipe_cache)
|
||||
PartitionManager.Wipe_By_Path("/cache");
|
||||
} else {
|
||||
if (wipe_cache || DataManager::GetIntValue("tw_wipe_cache"))
|
||||
PartitionManager.Wipe_By_Path("/cache");
|
||||
if (wipe_dalvik)
|
||||
PartitionManager.Wipe_Dalvik_Cache();
|
||||
}
|
||||
if (DataManager::GetIntValue(TW_HAS_INJECTTWRP) == 1 && DataManager::GetIntValue(TW_INJECT_AFTER_ZIP) == 1) {
|
||||
operation_start("ReinjectTWRP");
|
||||
ui_print("Injecting TWRP into boot image...\n");
|
||||
|
||||
@@ -2608,17 +2608,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3621,5 +3611,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_text_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row4_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2608,17 +2608,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3621,5 +3611,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_text_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row4_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2608,17 +2608,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3621,5 +3611,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_text_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row4_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2608,17 +2608,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3621,5 +3611,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_text_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row4_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2608,17 +2608,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3621,5 +3611,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_text_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row4_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2607,17 +2607,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3575,5 +3565,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_header_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row2_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2606,17 +2606,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3574,5 +3564,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_header_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row2_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2605,17 +2605,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3573,5 +3563,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_header_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row2_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2606,17 +2606,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3574,5 +3564,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_header_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row2_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2611,17 +2611,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3579,5 +3569,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_header_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row2_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2607,17 +2607,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3575,5 +3565,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_header_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row2_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
@@ -2608,17 +2608,7 @@
|
||||
<font resource="font" color="%button_text_color%" />
|
||||
<text>ADB Sideload</text>
|
||||
<image resource="main_button" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
<action function="page">sideload</action>
|
||||
</object>
|
||||
|
||||
<object type="button">
|
||||
@@ -3621,5 +3611,65 @@
|
||||
<action function="page">terminalfolder</action>
|
||||
</object>
|
||||
</page>
|
||||
|
||||
<page name="sideload">
|
||||
<object type="template" name="header" />
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%row1_text_y%" placement="5"/>
|
||||
<text>ADB Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row3_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Dalvik Cache.</text>
|
||||
<data variable="tw_wipe_dalvik" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="checkbox">
|
||||
<placement x="%col1_x%" y="%row4_text_y%" />
|
||||
<font resource="font" color="%text_color%" />
|
||||
<text>Wipe Cache.</text>
|
||||
<data variable="tw_wipe_cache" />
|
||||
<image checked="checkbox_true" unchecked="checkbox_false" />
|
||||
</object>
|
||||
|
||||
<object type="slider">
|
||||
<placement x="%slider_x%" y="%slider_y%" />
|
||||
<resource base="slider" used="slider-used" touch="slider-touch" />
|
||||
<actions>
|
||||
<action function="set">tw_back=advanced</action>
|
||||
<action function="set">tw_action=adbsideload</action>
|
||||
<action function="set">tw_action_text1=ADB Sideload</action>
|
||||
<action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
|
||||
<action function="set">tw_complete_text1=ADB Sideload Complete</action>
|
||||
<action function="set">tw_has_cancel=1</action>
|
||||
<action function="set">tw_show_reboot=1</action>
|
||||
<action function="set">tw_cancel_action=adbsideloadcancel</action>
|
||||
<action function="page">action_page</action>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object type="text" color="%text_color%">
|
||||
<font resource="font" />
|
||||
<placement x="%center_x%" y="%slider_text_y%" placement="4" />
|
||||
<text>Swipe to Start Sideload</text>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="home" />
|
||||
<action function="page">main</action>
|
||||
</object>
|
||||
|
||||
<object type="action">
|
||||
<touch key="back" />
|
||||
<action function="page">advanced</action>
|
||||
</object>
|
||||
|
||||
<object type="template" name="footer" />
|
||||
</page>
|
||||
</pages>
|
||||
</recovery>
|
||||
|
||||
Reference in New Issue
Block a user