From 6ef6635ad3d5e8f6440e9ac2b67f1db8589e77b5 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Thu, 21 Feb 2013 08:26:57 -0600 Subject: Check for root and root perms and offer to install/fix Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114 --- gui/devices/1024x600/res/ui.xml | 156 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 148 insertions(+), 8 deletions(-) (limited to 'gui/devices/1024x600') diff --git a/gui/devices/1024x600/res/ui.xml b/gui/devices/1024x600/res/ui.xml index fbdf14e93..383774e12 100755 --- a/gui/devices/1024x600/res/ui.xml +++ b/gui/devices/1024x600/res/ui.xml @@ -649,14 +649,6 @@ - - - - Force MD5 check on all zips? - - - - @@ -975,6 +967,48 @@ + + + + + + + %tw_action_text1% + + + + + + %tw_action_text2% + + + + + + + + + + tw_page_done=1 + + + + + + + %tw_action_param% + + + + + + + %tw_action_param% + %tw_action2_param% + + + + @@ -2682,6 +2716,7 @@ echo %tw_brightness_25% > "%tw_brightness_file%" tw_brightness_display=25% + tw_brightness=%tw_brightness_25% @@ -2694,6 +2729,7 @@ echo %tw_brightness_50% > "%tw_brightness_file%" tw_brightness_display=50% + tw_brightness=%tw_brightness_50% @@ -2706,6 +2742,7 @@ echo %tw_brightness_75% > "%tw_brightness_file%" tw_brightness_display=75% + tw_brightness=%tw_brightness_75% @@ -2718,6 +2755,7 @@ echo %tw_brightness_100% > "%tw_brightness_file%" tw_brightness_display=100% + tw_brightness=%tw_brightness_100% @@ -3891,5 +3929,107 @@ + + + + + + + + Install SuperSU? + + + + + + Your device does not appear to be rooted. + + + + + + Install SuperSU now? This will root your device. + + + + + + + Do Not Install + + tw_page_done=1 + + + + + + + tw_action=installsu + tw_action_text1=Installing SuperSU + tw_action_text2= + singleaction_page + + + + + + + Swipe to Install + + + + + + + + + + Fix Superuser Permissions? + + + + + + Root permissions appear to be lost. + + + + + + Fix root permissions now? + + + + + + (Fixes permissions on su binary & app) + + + + + + + Do Not Fix + + tw_page_done=1 + + + + + + + tw_action=fixsu + tw_action_text1=Fixing Root Permissions + tw_action_text2= + singleaction_page + + + + + + + Swipe to Fix Root + + -- cgit v1.2.3