blob: fa2110aa0219a5a2b1ff3e62735e2eefc8cdfcfd [file] [log] [blame]
Dees_Troy38bd7602012-09-14 13:33:53 -04001#include <stdio.h>
2#include <stdlib.h>
3#include <string.h>
Dees_Troy38bd7602012-09-14 13:33:53 -04004#include <unistd.h>
5#include <vector>
6#include <dirent.h>
7#include <time.h>
Dees_Troy43d8b002012-09-17 16:00:01 -04008#include <errno.h>
bigbiff bigbiff9c754052013-01-09 09:09:08 -05009#include <fcntl.h>
10#include <sys/mount.h>
Dees_Troya58bead2012-09-27 09:49:29 -040011#include <sys/reboot.h>
bigbiff bigbiff9c754052013-01-09 09:09:08 -050012#include <sys/sendfile.h>
13#include <sys/stat.h>
14#include <sys/vfs.h>
15#include <iostream>
16#include <fstream>
Dees_Troy38bd7602012-09-14 13:33:53 -040017#include "twrp-functions.hpp"
18#include "partitions.hpp"
19#include "common.h"
Dees_Troyb46a6842012-09-25 11:06:46 -040020#include "data.hpp"
Dees_Troya58bead2012-09-27 09:49:29 -040021#include "bootloader.h"
Dees_Troy3477d712012-09-27 15:44:01 -040022#include "variables.h"
Dees_Troy38bd7602012-09-14 13:33:53 -040023
Dees_Troyb05ddee2013-01-28 20:24:50 +000024extern "C" {
25 #include "libcrecovery/common.h"
26}
27
bigbiff bigbiff9c754052013-01-09 09:09:08 -050028
29/* Execute a command */
30
31int TWFunc::Exec_Cmd(string cmd, string &result) {
32 FILE* exec;
Dees_Troyb05ddee2013-01-28 20:24:50 +000033 char buffer[130];
bigbiff bigbiff9c754052013-01-09 09:09:08 -050034 int ret = 0;
Dees_Troyb05ddee2013-01-28 20:24:50 +000035 exec = __popen(cmd.c_str(), "r");
bigbiff bigbiff9c754052013-01-09 09:09:08 -050036 if (!exec) return -1;
37 while(!feof(exec)) {
Dees_Troyb05ddee2013-01-28 20:24:50 +000038 memset(&buffer, 0, sizeof(buffer));
39 if (fgets(buffer, 128, exec) != NULL) {
40 buffer[128] = '\n';
41 buffer[129] = NULL;
bigbiff bigbiff9c754052013-01-09 09:09:08 -050042 result += buffer;
Dees_Troyb05ddee2013-01-28 20:24:50 +000043 }
bigbiff bigbiff9c754052013-01-09 09:09:08 -050044 }
Dees_Troyb05ddee2013-01-28 20:24:50 +000045 ret = __pclose(exec);
bigbiff bigbiff9c754052013-01-09 09:09:08 -050046 return ret;
47}
48
Dees_Troy38bd7602012-09-14 13:33:53 -040049/* Checks md5 for a path
50 Return values:
51 -1 : MD5 does not exist
52 0 : Failed
53 1 : Success */
54int TWFunc::Check_MD5(string File) {
55 int ret;
56 string Command, DirPath, MD5_File, Sline, Filename, MD5_File_Filename, OK;
57 char line[255];
58 size_t pos;
bigbiff bigbiff9c754052013-01-09 09:09:08 -050059 string result;
Dees_Troy38bd7602012-09-14 13:33:53 -040060
61 MD5_File = File + ".md5";
Dees_Troy2a923582012-09-20 12:13:34 -040062 if (Path_Exists(MD5_File)) {
Dees_Troy38bd7602012-09-14 13:33:53 -040063 DirPath = Get_Path(File);
Dees_Troy38bd7602012-09-14 13:33:53 -040064 MD5_File = Get_Filename(MD5_File);
Dees_Troy3f5c4e82013-02-01 15:16:59 +000065 Command = "cd '" + DirPath + "' && /sbin/busybox md5sum -c '" + MD5_File + "'";
bigbiff bigbiff9c754052013-01-09 09:09:08 -050066 Exec_Cmd(Command, result);
67 pos = result.find(":");
Dees_Troy38bd7602012-09-14 13:33:53 -040068 if (pos != string::npos) {
69 Filename = Get_Filename(File);
bigbiff bigbiff9c754052013-01-09 09:09:08 -050070 MD5_File_Filename = result.substr(0, pos);
71 OK = result.substr(pos + 2, result.size() - pos - 2);
Dees_Troy38bd7602012-09-14 13:33:53 -040072 if (Filename == MD5_File_Filename && (OK == "OK" || OK == "OK\n")) {
73 //MD5 is good, return 1
74 ret = 1;
75 } else {
76 // MD5 is bad, return 0
77 ret = 0;
78 }
79 } else {
80 // MD5 is bad, return 0
81 ret = 0;
82 }
Dees_Troy38bd7602012-09-14 13:33:53 -040083 } else {
84 //No md5 file, return -1
85 ret = -1;
86 }
87
88 return ret;
89}
90
91// Returns "file.name" from a full /path/to/file.name
92string TWFunc::Get_Filename(string Path) {
93 size_t pos = Path.find_last_of("/");
94 if (pos != string::npos) {
95 string Filename;
96 Filename = Path.substr(pos + 1, Path.size() - pos - 1);
97 return Filename;
98 } else
99 return Path;
100}
101
102// Returns "/path/to/" from a full /path/to/file.name
103string TWFunc::Get_Path(string Path) {
104 size_t pos = Path.find_last_of("/");
105 if (pos != string::npos) {
106 string Pathonly;
107 Pathonly = Path.substr(0, pos + 1);
108 return Pathonly;
109 } else
110 return Path;
111}
112
113// Returns "/path" from a full /path/to/file.name
114string TWFunc::Get_Root_Path(string Path) {
115 string Local_Path = Path;
116
117 // Make sure that we have a leading slash
118 if (Local_Path.substr(0, 1) != "/")
119 Local_Path = "/" + Local_Path;
120
121 // Trim the path to get the root path only
122 size_t position = Local_Path.find("/", 2);
123 if (position != string::npos) {
124 Local_Path.resize(position);
125 }
126 return Local_Path;
127}
128
129void TWFunc::install_htc_dumlock(void) {
Dees_Troy38bd7602012-09-14 13:33:53 -0400130 int need_libs = 0;
131
132 if (!PartitionManager.Mount_By_Path("/system", true))
133 return;
134
135 if (!PartitionManager.Mount_By_Path("/data", true))
136 return;
137
138 ui_print("Installing HTC Dumlock to system...\n");
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500139 copy_file("/res/htcd/htcdumlocksys", "/system/bin/htcdumlock", 0755);
Dees_Troy8170a922012-09-18 15:40:25 -0400140 if (!Path_Exists("/system/bin/flash_image")) {
Dees_Troy38bd7602012-09-14 13:33:53 -0400141 ui_print("Installing flash_image...\n");
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500142 copy_file("/res/htcd/flash_imagesys", "/system/bin/flash_image", 0755);
Dees_Troy38bd7602012-09-14 13:33:53 -0400143 need_libs = 1;
144 } else
145 ui_print("flash_image is already installed, skipping...\n");
Dees_Troy8170a922012-09-18 15:40:25 -0400146 if (!Path_Exists("/system/bin/dump_image")) {
Dees_Troy38bd7602012-09-14 13:33:53 -0400147 ui_print("Installing dump_image...\n");
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500148 copy_file("/res/htcd/dump_imagesys", "/system/bin/dump_image", 0755);
Dees_Troy38bd7602012-09-14 13:33:53 -0400149 need_libs = 1;
150 } else
151 ui_print("dump_image is already installed, skipping...\n");
152 if (need_libs) {
153 ui_print("Installing libs needed for flash_image and dump_image...\n");
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500154 copy_file("/res/htcd/libbmlutils.so", "/system/lib/libbmlutils.so", 0755);
155 copy_file("/res/htcd/libflashutils.so", "/system/lib/libflashutils.so", 0755);
156 copy_file("/res/htcd/libmmcutils.so", "/system/lib/libmmcutils.so", 0755);
157 copy_file("/res/htcd/libmtdutils.so", "/system/lib/libmtdutils.so", 0755);
Dees_Troy38bd7602012-09-14 13:33:53 -0400158 }
159 ui_print("Installing HTC Dumlock app...\n");
160 mkdir("/data/app", 0777);
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500161 unlink("/data/app/com.teamwin.htcdumlock*");
162 copy_file("/res/htcd/HTCDumlock.apk", "/data/app/com.teamwin.htcdumlock.apk", 0777);
Dees_Troy38bd7602012-09-14 13:33:53 -0400163 sync();
164 ui_print("HTC Dumlock is installed.\n");
165}
166
167void TWFunc::htc_dumlock_restore_original_boot(void) {
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500168 string status;
Dees_Troy38bd7602012-09-14 13:33:53 -0400169 if (!PartitionManager.Mount_By_Path("/sdcard", true))
170 return;
171
172 ui_print("Restoring original boot...\n");
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500173 Exec_Cmd("htcdumlock restore", status);
Dees_Troy38bd7602012-09-14 13:33:53 -0400174 ui_print("Original boot restored.\n");
175}
176
177void TWFunc::htc_dumlock_reflash_recovery_to_boot(void) {
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500178 string status;
Dees_Troy38bd7602012-09-14 13:33:53 -0400179 if (!PartitionManager.Mount_By_Path("/sdcard", true))
180 return;
Dees_Troy38bd7602012-09-14 13:33:53 -0400181 ui_print("Reflashing recovery to boot...\n");
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500182 Exec_Cmd("htcdumlock recovery noreboot", status);
Dees_Troy38bd7602012-09-14 13:33:53 -0400183 ui_print("Recovery is flashed to boot.\n");
184}
Dees_Troy43d8b002012-09-17 16:00:01 -0400185
186int TWFunc::Recursive_Mkdir(string Path) {
187 string pathCpy = Path;
188 string wholePath;
189 size_t pos = pathCpy.find("/", 2);
190
191 while (pos != string::npos)
192 {
193 wholePath = pathCpy.substr(0, pos);
194 if (mkdir(wholePath.c_str(), 0777) && errno != EEXIST) {
195 LOGE("Unable to create folder: %s (errno=%d)\n", wholePath.c_str(), errno);
196 return false;
197 }
198
199 pos = pathCpy.find("/", pos + 1);
200 }
201 if (mkdir(wholePath.c_str(), 0777) && errno != EEXIST)
202 return false;
203 return true;
204}
205
Vojtech Bocek2e97ec52013-02-02 13:22:42 +0100206unsigned long long TWFunc::Get_Folder_Size(const string& Path, bool Display_Error) {
Dees_Troy43d8b002012-09-17 16:00:01 -0400207 DIR* d;
208 struct dirent* de;
209 struct stat st;
Dees_Troy43d8b002012-09-17 16:00:01 -0400210 unsigned long long dusize = 0;
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500211 unsigned long long dutemp = 0;
Dees_Troy43d8b002012-09-17 16:00:01 -0400212
Vojtech Bocek2e97ec52013-02-02 13:22:42 +0100213 d = opendir(Path.c_str());
Dees_Troy43d8b002012-09-17 16:00:01 -0400214 if (d == NULL)
215 {
Vojtech Bocek2e97ec52013-02-02 13:22:42 +0100216 LOGE("error opening '%s'\n", Path.c_str());
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500217 LOGE("error: %s\n", strerror(errno));
Dees_Troy43d8b002012-09-17 16:00:01 -0400218 return 0;
219 }
220
221 while ((de = readdir(d)) != NULL)
222 {
223 if (de->d_type == DT_DIR && strcmp(de->d_name, ".") != 0 && strcmp(de->d_name, "..") != 0)
224 {
Vojtech Bocek2e97ec52013-02-02 13:22:42 +0100225 dutemp = Get_Folder_Size((Path + "/" + de->d_name), Display_Error);
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500226 dusize += dutemp;
227 dutemp = 0;
Dees_Troy43d8b002012-09-17 16:00:01 -0400228 }
229 else if (de->d_type == DT_REG)
230 {
Vojtech Bocek2e97ec52013-02-02 13:22:42 +0100231 stat((Path + "/" + de->d_name).c_str(), &st);
Dees_Troy43d8b002012-09-17 16:00:01 -0400232 dusize += (unsigned long long)(st.st_size);
233 }
234 }
235 closedir(d);
Dees_Troy43d8b002012-09-17 16:00:01 -0400236 return dusize;
237}
238
239bool TWFunc::Path_Exists(string Path) {
240 // Check to see if the Path exists
Dees_Troy7c2dec82012-09-26 09:49:14 -0400241 struct stat st;
Dees_Troy7c2dec82012-09-26 09:49:14 -0400242 if (stat(Path.c_str(), &st) != 0)
Dees_Troy43d8b002012-09-17 16:00:01 -0400243 return false;
244 else
245 return true;
Dees_Troyb46a6842012-09-25 11:06:46 -0400246}
247
248void TWFunc::GUI_Operation_Text(string Read_Value, string Default_Text) {
249 string Display_Text;
250
251 DataManager::GetValue(Read_Value, Display_Text);
252 if (Display_Text.empty())
253 Display_Text = Default_Text;
254
255 DataManager::SetValue("tw_operation", Display_Text);
256 DataManager::SetValue("tw_partition", "");
257}
258
259void TWFunc::GUI_Operation_Text(string Read_Value, string Partition_Name, string Default_Text) {
260 string Display_Text;
261
262 DataManager::GetValue(Read_Value, Display_Text);
263 if (Display_Text.empty())
264 Display_Text = Default_Text;
265
266 DataManager::SetValue("tw_operation", Display_Text);
267 DataManager::SetValue("tw_partition", Partition_Name);
Dees_Troy7c2dec82012-09-26 09:49:14 -0400268}
269
270unsigned long TWFunc::Get_File_Size(string Path) {
271 struct stat st;
272
273 if (stat(Path.c_str(), &st) != 0)
274 return 0;
275 return st.st_size;
Dees_Troya58bead2012-09-27 09:49:29 -0400276}
277
278static const char *COMMAND_FILE = "/cache/recovery/command";
279static const char *INTENT_FILE = "/cache/recovery/intent";
280static const char *LOG_FILE = "/cache/recovery/log";
281static const char *LAST_LOG_FILE = "/cache/recovery/last_log";
282static const char *LAST_INSTALL_FILE = "/cache/recovery/last_install";
283static const char *CACHE_ROOT = "/cache";
284static const char *SDCARD_ROOT = "/sdcard";
285static const char *TEMPORARY_LOG_FILE = "/tmp/recovery.log";
286static const char *TEMPORARY_INSTALL_FILE = "/tmp/last_install";
287
288// close a file, log an error if the error indicator is set
289void TWFunc::check_and_fclose(FILE *fp, const char *name) {
290 fflush(fp);
291 if (ferror(fp)) LOGE("Error in %s\n(%s)\n", name, strerror(errno));
292 fclose(fp);
293}
294
295void TWFunc::copy_log_file(const char* source, const char* destination, int append) {
296 FILE *log = fopen_path(destination, append ? "a" : "w");
297 if (log == NULL) {
298 LOGE("Can't open %s\n", destination);
299 } else {
300 FILE *tmplog = fopen(source, "r");
301 if (tmplog != NULL) {
302 if (append) {
303 fseek(tmplog, tmplog_offset, SEEK_SET); // Since last write
304 }
305 char buf[4096];
306 while (fgets(buf, sizeof(buf), tmplog)) fputs(buf, log);
307 if (append) {
308 tmplog_offset = ftell(tmplog);
309 }
310 check_and_fclose(tmplog, source);
311 }
312 check_and_fclose(log, destination);
313 }
314}
315
316// clear the recovery command and prepare to boot a (hopefully working) system,
317// copy our log file to cache as well (for the system to read), and
318// record any intent we were asked to communicate back to the system.
319// this function is idempotent: call it as many times as you like.
320void TWFunc::twfinish_recovery(const char *send_intent) {
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500321 // By this point, we're ready to return to the main system...
322 if (send_intent != NULL) {
323 FILE *fp = fopen_path(INTENT_FILE, "w");
324 if (fp == NULL) {
325 LOGE("Can't open %s\n", INTENT_FILE);
326 } else {
327 fputs(send_intent, fp);
328 check_and_fclose(fp, INTENT_FILE);
329 }
330 }
Dees_Troya58bead2012-09-27 09:49:29 -0400331
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500332 // Copy logs to cache so the system can find out what happened.
333 copy_log_file(TEMPORARY_LOG_FILE, LOG_FILE, true);
334 copy_log_file(TEMPORARY_LOG_FILE, LAST_LOG_FILE, false);
335 copy_log_file(TEMPORARY_INSTALL_FILE, LAST_INSTALL_FILE, false);
336 chmod(LOG_FILE, 0600);
337 chown(LOG_FILE, 1000, 1000); // system user
338 chmod(LAST_LOG_FILE, 0640);
339 chmod(LAST_INSTALL_FILE, 0644);
Dees_Troya58bead2012-09-27 09:49:29 -0400340
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500341 // Reset to normal system boot so recovery won't cycle indefinitely.
342 struct bootloader_message boot;
343 memset(&boot, 0, sizeof(boot));
344 set_bootloader_message(&boot);
Dees_Troya58bead2012-09-27 09:49:29 -0400345
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500346 // Remove the command file, so recovery won't repeat indefinitely.
347 if (!PartitionManager.Mount_By_Path("/system", true) || (unlink(COMMAND_FILE) && errno != ENOENT)) {
348 LOGW("Can't unlink %s\n", COMMAND_FILE);
349 }
Dees_Troya58bead2012-09-27 09:49:29 -0400350
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500351 PartitionManager.UnMount_By_Path("/cache", true);
352 sync(); // For good measure.
Dees_Troya58bead2012-09-27 09:49:29 -0400353}
354
355// reboot: Reboot the system. Return -1 on error, no return on success
356int TWFunc::tw_reboot(RebootCommand command)
357{
358 // Always force a sync before we reboot
359 sync();
360
361 switch (command)
362 {
363 case rb_current:
364 case rb_system:
365 twfinish_recovery("s");
366 sync();
367 check_and_run_script("/sbin/rebootsystem.sh", "reboot system");
368 return reboot(RB_AUTOBOOT);
369 case rb_recovery:
370 check_and_run_script("/sbin/rebootrecovery.sh", "reboot recovery");
371 return __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, (void*) "recovery");
372 case rb_bootloader:
373 check_and_run_script("/sbin/rebootbootloader.sh", "reboot bootloader");
374 return __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, (void*) "bootloader");
375 case rb_poweroff:
376 check_and_run_script("/sbin/poweroff.sh", "power off");
377 return reboot(RB_POWER_OFF);
378 case rb_download:
379 check_and_run_script("/sbin/rebootdownload.sh", "reboot download");
380 return __reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, (void*) "download");
381 return 1;
382 default:
383 return -1;
384 }
385 return -1;
386}
387
388void TWFunc::check_and_run_script(const char* script_file, const char* display_name)
389{
390 // Check for and run startup script if script exists
391 struct stat st;
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500392 string result;
Dees_Troya58bead2012-09-27 09:49:29 -0400393 if (stat(script_file, &st) == 0) {
394 ui_print("Running %s script...\n", display_name);
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500395 chmod(script_file, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
396 TWFunc::Exec_Cmd(script_file, result);
Dees_Troya58bead2012-09-27 09:49:29 -0400397 ui_print("\nFinished running %s script.\n", display_name);
398 }
Dees_Troy3477d712012-09-27 15:44:01 -0400399}
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500400
401int TWFunc::removeDir(const string path, bool skipParent) {
Dees_Troyce675462013-01-09 19:48:21 +0000402 DIR *d = opendir(path.c_str());
403 int r = 0;
404 string new_path;
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500405
Dees_Troyce675462013-01-09 19:48:21 +0000406 if (d == NULL) {
407 LOGE("Error opening '%s'\n", path.c_str());
408 return -1;
409 }
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500410
Dees_Troyce675462013-01-09 19:48:21 +0000411 if (d) {
412 struct dirent *p;
413 while (!r && (p = readdir(d))) {
Dees_Troyce675462013-01-09 19:48:21 +0000414 if (!strcmp(p->d_name, ".") || !strcmp(p->d_name, ".."))
415 continue;
416 new_path = path + "/";
417 new_path.append(p->d_name);
418 if (p->d_type == DT_DIR) {
419 r = removeDir(new_path, true);
420 if (!r) {
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500421 if (p->d_type == DT_DIR)
422 r = rmdir(new_path.c_str());
423 else
424 LOGI("Unable to removeDir '%s': %s\n", new_path.c_str(), strerror(errno));
425 }
bigbiff bigbiff98f1f902013-01-19 18:46:13 -0500426 } else if (p->d_type == DT_REG || p->d_type == DT_LNK || p->d_type == DT_FIFO || p->d_type == DT_SOCK) {
Dees_Troyce675462013-01-09 19:48:21 +0000427 r = unlink(new_path.c_str());
Dees_Troye34c1332013-02-06 19:13:00 +0000428 if (r != 0) {
429 LOGI("Unable to unlink '%s: %s'\n", new_path.c_str(), strerror(errno));
430 }
Dees_Troyce675462013-01-09 19:48:21 +0000431 }
432 }
433 closedir(d);
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500434
435 if (!r) {
436 if (skipParent)
437 return 0;
438 else
439 r = rmdir(path.c_str());
440 }
Dees_Troyce675462013-01-09 19:48:21 +0000441 }
442 return r;
bigbiff bigbiff9c754052013-01-09 09:09:08 -0500443}
444
445int TWFunc::copy_file(string src, string dst, int mode) {
446 LOGI("Copying file %s to %s\n", src.c_str(), dst.c_str());
447 ifstream srcfile(src.c_str(), ios::binary);
448 ofstream dstfile(dst.c_str(), ios::binary);
449 dstfile << srcfile.rdbuf();
450 srcfile.close();
451 dstfile.close();
452 return 0;
453}
Dees_Troy3ee47bc2013-01-25 21:47:37 +0000454
455unsigned int TWFunc::Get_D_Type_From_Stat(string Path) {
456 struct stat st;
457
458 stat(Path.c_str(), &st);
459 if (st.st_mode & S_IFDIR)
460 return DT_DIR;
461 else if (st.st_mode & S_IFBLK)
462 return DT_BLK;
463 else if (st.st_mode & S_IFCHR)
464 return DT_CHR;
465 else if (st.st_mode & S_IFIFO)
466 return DT_FIFO;
467 else if (st.st_mode & S_IFLNK)
468 return DT_LNK;
469 else if (st.st_mode & S_IFREG)
470 return DT_REG;
471 else if (st.st_mode & S_IFSOCK)
472 return DT_SOCK;
473 return DT_UNKNOWN;
Dees_Troye34c1332013-02-06 19:13:00 +0000474}