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] |
(+Running from StartUp) |
|||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
import time, os | import time, os | ||
− | + | time.sleep(5) | |
os.startfile('\\Storage Card\\andboot\\haret.exe', 'open') | os.startfile('\\Storage Card\\andboot\\haret.exe', 'open') | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 25: | 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.