The XDAndroid Project is no longer active.
This site provides archived information from while the project was under development. Some links may no longer function.
Difference between revisions of "HaRET"
[checked revision] | [checked revision] |
(startup.txt) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
HaRET uses a configuration file called "startup.txt". | HaRET uses a configuration file called "startup.txt". | ||
+ | |||
+ | ==Running from StartUp== | ||
+ | Windows CE can run HaRET.exe automatically by putting a [[Wikipedia:file shortcut|shortcut]] to it in the "\Windows\StartUp" folder. | ||
+ | |||
+ | However, it seems that running HaRET too soon after boot does not give Windows enough time to properly initialize the Wi-Fi device, so Wi-Fi won't work under XDAndroid. A five-second delay seems sufficient to allow Windows to initialize the hardware. | ||
+ | |||
+ | If HaRET supports some sort of "sleep" command in "startup.txt," that would probably be the simplest option. | ||
+ | |||
+ | A [[Wikipedia:batch file|batch file]] would be a good option, but it seems that Windows CE does not support them. | ||
+ | |||
+ | This Python script is confirmed to work: | ||
+ | <syntaxhighlight lang="python"> | ||
+ | import time, os | ||
+ | time.sleep(5) | ||
+ | os.startfile('\\Storage Card\\andboot\\haret.exe', 'open') | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Download PythonCE.WM.CAB from http://sourceforge.net/projects/pythonce/files/pythonce-smartphone/Python-2.5-20071004/ for the Python interpreter. | ||
==See also== | ==See also== | ||
Line 7: | Line 25: | ||
* [[XDAndroidStartup]] | * [[XDAndroidStartup]] | ||
* [[MJGDroidUtil]] | * [[MJGDroidUtil]] | ||
+ | * [[FAQ#HaRET failing to boot?]] | ||
==External links== | ==External links== |
Latest revision as of 20:54, 10 May 2011
HaRET (Handheld Reverse Engineering Tool) is a Windows CE application that serves as a Linux boot loader and as a tool for accessing the hardware internals of a Windows CE device.
HaRET uses a configuration file called "startup.txt".
Running from StartUp
Windows CE can run HaRET.exe automatically by putting a shortcut to it in the "\Windows\StartUp" folder.
However, it seems that running HaRET too soon after boot does not give Windows enough time to properly initialize the Wi-Fi device, so Wi-Fi won't work under XDAndroid. A five-second delay seems sufficient to allow Windows to initialize the hardware.
If HaRET supports some sort of "sleep" command in "startup.txt," that would probably be the simplest option.
A batch file would be a good option, but it seems that Windows CE does not support them.
This Python script is confirmed to work:
import time, os
time.sleep(5)
os.startfile('\\Storage Card\\andboot\\haret.exe', 'open')
Download PythonCE.WM.CAB from http://sourceforge.net/projects/pythonce/files/pythonce-smartphone/Python-2.5-20071004/ for the Python interpreter.