From 51a0e82eb29a6dfc79f93479883383fbdbf8bcc2 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 5 Sep 2012 15:24:24 -0400 Subject: TWRP-ify AOSP code Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere --- gui/basicTheme/mkTheme.sh | 6 + gui/basicTheme/res/fonts/bluehighway-25.dat | Bin 0 -> 3299 bytes gui/basicTheme/res/fonts/bluehighway-40.dat | Bin 0 -> 7367 bytes gui/basicTheme/res/images/android.png | Bin 0 -> 2043 bytes gui/basicTheme/res/images/checkbox_checked.png | Bin 0 -> 858 bytes gui/basicTheme/res/images/checkbox_empty.png | Bin 0 -> 311 bytes gui/basicTheme/res/images/file.png | Bin 0 -> 533 bytes gui/basicTheme/res/images/folder.png | Bin 0 -> 591 bytes gui/basicTheme/res/images/indeterminate001.png | Bin 0 -> 1742 bytes gui/basicTheme/res/images/indeterminate002.png | Bin 0 -> 1744 bytes gui/basicTheme/res/images/indeterminate003.png | Bin 0 -> 1748 bytes gui/basicTheme/res/images/indeterminate004.png | Bin 0 -> 1748 bytes gui/basicTheme/res/images/indeterminate005.png | Bin 0 -> 1740 bytes gui/basicTheme/res/images/indeterminate006.png | Bin 0 -> 1740 bytes gui/basicTheme/res/images/qhd-medium-button.png | Bin 0 -> 1911 bytes gui/basicTheme/res/images/qhd-menu-button.png | Bin 0 -> 3925 bytes gui/basicTheme/res/images/qhd-minus-button.png | Bin 0 -> 819 bytes gui/basicTheme/res/images/qhd-plus-button.png | Bin 0 -> 845 bytes gui/basicTheme/res/images/qhd-small-button.png | Bin 0 -> 807 bytes gui/basicTheme/res/images/qhd-sort-button.png | Bin 0 -> 854 bytes gui/basicTheme/res/images/slideout.png | Bin 0 -> 1245 bytes gui/basicTheme/res/ui.xml | 1949 +++++++++++++++++++++++ gui/basicTheme/ui.zip | Bin 0 -> 36681 bytes 23 files changed, 1955 insertions(+) create mode 100755 gui/basicTheme/mkTheme.sh create mode 100755 gui/basicTheme/res/fonts/bluehighway-25.dat create mode 100755 gui/basicTheme/res/fonts/bluehighway-40.dat create mode 100644 gui/basicTheme/res/images/android.png create mode 100644 gui/basicTheme/res/images/checkbox_checked.png create mode 100644 gui/basicTheme/res/images/checkbox_empty.png create mode 100644 gui/basicTheme/res/images/file.png create mode 100644 gui/basicTheme/res/images/folder.png create mode 100644 gui/basicTheme/res/images/indeterminate001.png create mode 100644 gui/basicTheme/res/images/indeterminate002.png create mode 100644 gui/basicTheme/res/images/indeterminate003.png create mode 100644 gui/basicTheme/res/images/indeterminate004.png create mode 100644 gui/basicTheme/res/images/indeterminate005.png create mode 100644 gui/basicTheme/res/images/indeterminate006.png create mode 100644 gui/basicTheme/res/images/qhd-medium-button.png create mode 100644 gui/basicTheme/res/images/qhd-menu-button.png create mode 100644 gui/basicTheme/res/images/qhd-minus-button.png create mode 100644 gui/basicTheme/res/images/qhd-plus-button.png create mode 100644 gui/basicTheme/res/images/qhd-small-button.png create mode 100644 gui/basicTheme/res/images/qhd-sort-button.png create mode 100644 gui/basicTheme/res/images/slideout.png create mode 100644 gui/basicTheme/res/ui.xml create mode 100644 gui/basicTheme/ui.zip (limited to 'gui/basicTheme') diff --git a/gui/basicTheme/mkTheme.sh b/gui/basicTheme/mkTheme.sh new file mode 100755 index 000000000..3b8d21be6 --- /dev/null +++ b/gui/basicTheme/mkTheme.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +cd res +zip -r ../ui.zip * +cd .. + diff --git a/gui/basicTheme/res/fonts/bluehighway-25.dat b/gui/basicTheme/res/fonts/bluehighway-25.dat new file mode 100755 index 000000000..a0944c9aa Binary files /dev/null and b/gui/basicTheme/res/fonts/bluehighway-25.dat differ diff --git a/gui/basicTheme/res/fonts/bluehighway-40.dat b/gui/basicTheme/res/fonts/bluehighway-40.dat new file mode 100755 index 000000000..ce6d35c52 Binary files /dev/null and b/gui/basicTheme/res/fonts/bluehighway-40.dat differ diff --git a/gui/basicTheme/res/images/android.png b/gui/basicTheme/res/images/android.png new file mode 100644 index 000000000..73e94d8f0 Binary files /dev/null and b/gui/basicTheme/res/images/android.png differ diff --git a/gui/basicTheme/res/images/checkbox_checked.png b/gui/basicTheme/res/images/checkbox_checked.png new file mode 100644 index 000000000..2dd029dd7 Binary files /dev/null and b/gui/basicTheme/res/images/checkbox_checked.png differ diff --git a/gui/basicTheme/res/images/checkbox_empty.png b/gui/basicTheme/res/images/checkbox_empty.png new file mode 100644 index 000000000..1db36ffd1 Binary files /dev/null and b/gui/basicTheme/res/images/checkbox_empty.png differ diff --git a/gui/basicTheme/res/images/file.png b/gui/basicTheme/res/images/file.png new file mode 100644 index 000000000..133a681c6 Binary files /dev/null and b/gui/basicTheme/res/images/file.png differ diff --git a/gui/basicTheme/res/images/folder.png b/gui/basicTheme/res/images/folder.png new file mode 100644 index 000000000..e4bc250cd Binary files /dev/null and b/gui/basicTheme/res/images/folder.png differ diff --git a/gui/basicTheme/res/images/indeterminate001.png b/gui/basicTheme/res/images/indeterminate001.png new file mode 100644 index 000000000..e6fa1c574 Binary files /dev/null and b/gui/basicTheme/res/images/indeterminate001.png differ diff --git a/gui/basicTheme/res/images/indeterminate002.png b/gui/basicTheme/res/images/indeterminate002.png new file mode 100644 index 000000000..e1fceaba1 Binary files /dev/null and b/gui/basicTheme/res/images/indeterminate002.png differ diff --git a/gui/basicTheme/res/images/indeterminate003.png b/gui/basicTheme/res/images/indeterminate003.png new file mode 100644 index 000000000..670286743 Binary files /dev/null and b/gui/basicTheme/res/images/indeterminate003.png differ diff --git a/gui/basicTheme/res/images/indeterminate004.png b/gui/basicTheme/res/images/indeterminate004.png new file mode 100644 index 000000000..ff65e0930 Binary files /dev/null and b/gui/basicTheme/res/images/indeterminate004.png differ diff --git a/gui/basicTheme/res/images/indeterminate005.png b/gui/basicTheme/res/images/indeterminate005.png new file mode 100644 index 000000000..e61e2cc15 Binary files /dev/null and b/gui/basicTheme/res/images/indeterminate005.png differ diff --git a/gui/basicTheme/res/images/indeterminate006.png b/gui/basicTheme/res/images/indeterminate006.png new file mode 100644 index 000000000..c9c21ba9c Binary files /dev/null and b/gui/basicTheme/res/images/indeterminate006.png differ diff --git a/gui/basicTheme/res/images/qhd-medium-button.png b/gui/basicTheme/res/images/qhd-medium-button.png new file mode 100644 index 000000000..c26298f8d Binary files /dev/null and b/gui/basicTheme/res/images/qhd-medium-button.png differ diff --git a/gui/basicTheme/res/images/qhd-menu-button.png b/gui/basicTheme/res/images/qhd-menu-button.png new file mode 100644 index 000000000..b14bed9c3 Binary files /dev/null and b/gui/basicTheme/res/images/qhd-menu-button.png differ diff --git a/gui/basicTheme/res/images/qhd-minus-button.png b/gui/basicTheme/res/images/qhd-minus-button.png new file mode 100644 index 000000000..5e265fa32 Binary files /dev/null and b/gui/basicTheme/res/images/qhd-minus-button.png differ diff --git a/gui/basicTheme/res/images/qhd-plus-button.png b/gui/basicTheme/res/images/qhd-plus-button.png new file mode 100644 index 000000000..9f073825c Binary files /dev/null and b/gui/basicTheme/res/images/qhd-plus-button.png differ diff --git a/gui/basicTheme/res/images/qhd-small-button.png b/gui/basicTheme/res/images/qhd-small-button.png new file mode 100644 index 000000000..0d01b35a4 Binary files /dev/null and b/gui/basicTheme/res/images/qhd-small-button.png differ diff --git a/gui/basicTheme/res/images/qhd-sort-button.png b/gui/basicTheme/res/images/qhd-sort-button.png new file mode 100644 index 000000000..bb4100b01 Binary files /dev/null and b/gui/basicTheme/res/images/qhd-sort-button.png differ diff --git a/gui/basicTheme/res/images/slideout.png b/gui/basicTheme/res/images/slideout.png new file mode 100644 index 000000000..ff05d6251 Binary files /dev/null and b/gui/basicTheme/res/images/slideout.png differ diff --git a/gui/basicTheme/res/ui.xml b/gui/basicTheme/res/ui.xml new file mode 100644 index 000000000..442f410c1 --- /dev/null +++ b/gui/basicTheme/res/ui.xml @@ -0,0 +1,1949 @@ + + + +
+ + TeamWin + Backup Naowz + Default basic theme + preview.jpg +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Install + + install + + + + + + Wipe + + wipe + + + + + + Backup + + backup + + + + + + Restore + + restore + + + + + + Mount + + mount + + + + + + Settings + + settings + + + + + + Advanced + + advanced + + + + + + Reboot + + reboot + + + + + + + + + + + + + + + + + + + + + + Sort Ascending: + + + + + + Name + + tw_gui_sort_order=1 + + + + + + Date + + tw_gui_sort_order=2 + + + + + + Size + + tw_gui_sort_order=3 + + + + + + Sort Descending: + + + + + + Name + + tw_gui_sort_order=-1 + + + + + + Date + + tw_gui_sort_order=-2 + + + + + + Size + + tw_gui_sort_order=-3 + + + + + flash_confirm + + + + + main + + + + + main + + + + + + + + + + + + WARNING: This operation may install incompatible software + + + + + + and render your device unusable. + + + + + + File to flash: %tw_filename% + + + + + + Flash now + + flash_zip + + + + + install + + + + + main + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + flash_done + + + + + + + + + + + + + + + + + + Main Menu + + main + + + + + + + + + + + + Cache + + wipe_cache + + + + + + Dalvik Cache + + wipe_dalvik + + + + + + Factory Reset + + wipe_data + + + + + + Battery Stats + + wipe_battery + + + + + + Rotation + + wipe_rotate + + + + + + System + + wipe_system + + + + + + SD Card + + wipe_sdcard + + + + + + SD Ext + + wipe_sdext + + + + + main + + + + + main + + + + + + + + + + + + + + + + + + wipe_done + + + + /cache + + + + + + + + + + + + + + + + + + wipe_done + + + + dalvik + + + + + + + + + + + + + + + + + + wipe_done + + + + rotate + + + + + + + + + + + + + + + + + + wipe_done + + + + data + + + + + + + + + + + + + + + + + + wipe_done + + + + /system + + + + + + + + + + + + + + + + + + wipe_done + + + + /sdcard + + + + + + + + + + + + + + + + + + wipe_done + + + + /sd-ext + + + + + + + + + + + + + + + + + + wipe_done + + + + battery + + + + + + + + + + + + Wipe complete + + + + + + Back + + wipe + + + + + main + + + + + wipe + + + + + + + + + + + + Backup now + + backup_run + + + + + + System + + + + + + + + Data + + + + + + + + Boot + + + + + + + + Recovery + + + + + + + + Cache + + + + + + + + %tw_sp1_name% + + + + + + + + .android_secure + + + + + + + + + sd-ext + + + + + + + + + Enable Compression (Requires more time) + + + + + + + main + + + + + main + + + + + + + + + + + + %tw_operation% %tw_partition% + + + + + + + + + + + + + + + + + + backup_done + + + + backup + + + + + + + + + backup_success + + + + + backup_failed + + + + + + + + + + Your backup was successful! + + + + + + Main Menu + + main + + + + + + + + + + + + Your backup failed. + + + + + + Pull up the console for more details + + + + + + Main Menu + + main + + + + + + + + + + + + Select packge to restore + + + + + + + + + + + + + + + restore_setrestoredata + + + + + main + + + + + main + + + + + + + + + + + + restore_select + + + + + + + + + + Restore now + + restore_run + + + + + + System + + + + + + + + + Data + + + + + + + + + Boot + + + + + + + + + Recovery + + + + + + + + + Cache + + + + + + + + + %tw_sp1_name% + + + + + + + + + .android_secure + + + + + + + + + sd-ext + + + + + + + + main + + + + + restore + + + + + + + + + + + + %tw_operation% %tw_partition% + + + + + + + + + + + + + + + + + + restore_done + + + + restore + + + + + + + + + restore_success + + + + + restore_failed + + + + + + + + + + Your restore was successful! + + + + + + Main Menu + + main + + + + + + + + + + + + Your restore failed. + + + + + + Pull up the console for more details + + + + + + Main Menu + + main + + + + + + + + + + + + + Mount System + + /system + + + + + + + Unmount System + + /system + + + + + + + Mount Data + + /data + + + + + + + Unmount Data + + /data + + + + + + + Mount Cache + + /cache + + + + + + + Unmount Cache + + /cache + + + + + + Mount USB Storage + + usb_mount + + + + + main + + + + + main + + + + + + + + + + + + Unmount + + usb_umount + + + + usb + + + + + + + + usb + + + + mount + + + + + + + + + + System + + system + + + + + + Power Off + + poweroff + + + + + + Recovery + + recovery + + + + + + Bootloader + + bootloader + + + + + main + + + + + main + + + + + + + + + + + + Zip file signature verification? + + + + + + + + Reboot after flashing a zip? + + + + + + + + Force MD5 check on all zips? + + + + + + + + Use rm -rf instead of formatting? + + + + + + + + Time Zone + + timezonemain + + + + + + Restore Defaults + + + + + + + main + + + + + main + + + + + + + + + + + + Minus (GMT 0 to -11) + + timezoneminus + + + + + + Plus (GMT +1 to +12) + + timezoneplus + + + + + main + + + + + settings + + + + + + + + + + + + Selected: %tw_time_zone_guisel% + + + + + + GMT 0 CUT + + tw_time_zone_guisel=CUT0;GDT + + + + + + GMT 0 + + tw_time_zone_guisel=GMT0;BST + + + + + + AZOREST -1 + + tw_time_zone_guisel=AZOREST1;AZOREDT + + + + + + FALKST -2 + + tw_time_zone_guisel=FALKST2;FALKDT + + + + + + GRNLNDST -3 + + tw_time_zone_guisel=GRNLNDST3;GRNLNDDT + + + + + + AST -4 + + tw_time_zone_guisel=AST4;ADT + + + + + + EST -5 + + tw_time_zone_guisel=EST5;EDT + + + + + + CST -6 + + tw_time_zone_guisel=CST6;CDT + + + + + + MST -7 + + tw_time_zone_guisel=MST7;MDT + + + + + + PST -8 + + tw_time_zone_guisel=PST8;PDT + + + + + + AST -9 + + tw_time_zone_guisel=AST9;ADT + + + + + + HST -10 + + tw_time_zone_guisel=HST10;HDT + + + + + + BST -11 + + tw_time_zone_guisel=BST11;BDT + + + + + + Do you use daylight savings time (DST)? + + + + + + + + Offset (usually 0): %tw_time_zone_guioffset% + + + + + + None + + tw_time_zone_guioffset=0 + + + + + + 15 + + tw_time_zone_guioffset=15 + + + + + + 30 + + tw_time_zone_guioffset=30 + + + + + + 45 + + tw_time_zone_guioffset=45 + + + + + + Set Time Zone + + + + + + + + Current Time Zone: %tw_time_zone% + + + + + main + + + + + timezonemain + + + + + + + + + + + + Selected: %tw_time_zone_guisel% + + + + + + NFT +1 + + tw_time_zone_guisel=NFT-1;DFT + + + + + + USAST +2 + + tw_time_zone_guisel=USAST-2;USADT + + + + + + WET +2 + + tw_time_zone_guisel=WET-2;WET + + + + + + SAUST +3 + + tw_time_zone_guisel=SAUST-3;SAUDT + + + + + + MEST +3 + + tw_time_zone_guisel=MEST-3;MEDT + + + + + + WST +4 + + tw_time_zone_guisel=WST-4;WDT + + + + + + PAKST +5 + + tw_time_zone_guisel=PAKST-5;PAKDT + + + + + + TASHST +6 + + tw_time_zone_guisel=TASHST-6;TASHDT + + + + + + THAIST +7 + + tw_time_zone_guisel=THAIST-7;THAIDT + + + + + + TAIST +8 + + tw_time_zone_guisel=TAIST-8;TAIDT + + + + + + WAUST +8 + + tw_time_zone_guisel=WAUST-8;WAUDT + + + + + + KORST +9 + + tw_time_zone_guisel=KORST-9;KORDT + + + + + + JST +9 + + tw_time_zone_guisel=JST-9;JSTDT + + + + + + EET +10 + + tw_time_zone_guisel=EET-10;EETDT + + + + + + MET +11 + + tw_time_zone_guisel=MET-11;METDT + + + + + + NZST +12 + + tw_time_zone_guisel=NZST-12;NZDT + + + + + + Do you use daylight savings time (DST)? + + + + + + + + Offset (usually 0): %tw_time_zone_guioffset% + + + + + + None + + tw_time_zone_guioffset=0 + + + + + + 15 + + tw_time_zone_guioffset=15 + + + + + + 30 + + tw_time_zone_guioffset=30 + + + + + + 45 + + tw_time_zone_guioffset=45 + + + + + + Set Time Zone + + + + + + + + Current Time Zone: %tw_time_zone% + + + + + main + + + + + timezonemain + + + + + + + + + + + + Copy Log to SD + + + + + + + + Fix Permissions + + fixperms + + + + + + Partition SD Card + + partsdcard + + + + + main + + + + + main + + + + + + + + + + + + + + tw_sdext_size-128 + + + + + + + + tw_sdext_size+128 + + + + + + EXT Size: %tw_sdext_size% + + + + + + + + tw_swap_size-32 + + + + + + + + tw_swap_size+32 + + + + + + Swap Size: %tw_swap_size% + + + + + + File system: %tw_sdpart_file_system% + + + + + + EXT3 + + tw_sdpart_file_system=ext3 + + + + + + EXT4 + + tw_sdpart_file_system=ext4 + + + + + + You will lose all files on your SD card! + + + + + + This action cannot be undone! + + + + + + Partition SD + + partsdcardaction + + + + + main + + + + + advanced + + + + + + + + + + + + Partitioning SD Card . . . + + + + + + This may take a couple minutes. + + + + + + The progress bar may not be accurate. + + + + + + + + + + + + + + + + + + + + + + advanced + + + + + + + + + + + + Fixing Permissions . . . + + + + + + This may take several minutes. + + + + + + The progress bar may not be accurate. + + + + + + + + + + + + + + + + + + + + + + advanced + + + + + + + diff --git a/gui/basicTheme/ui.zip b/gui/basicTheme/ui.zip new file mode 100644 index 000000000..a2fddee89 Binary files /dev/null and b/gui/basicTheme/ui.zip differ -- cgit v1.2.3