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 "Installation Guide"

From The XDAndroid Project
Jump to navigation Jump to search
[unchecked revision][quality revision]
m (wikify link)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://utugijynure.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
----
 
=[http://utugijynure.co.cc CLICK HERE]=
 
----
 
</div>
 
 
Installation of the XDAndroid project releases is fairly simple. This short, concise guide will outline what must be done to boot into an XDAndroid system on your device.
 
Installation of the XDAndroid project releases is fairly simple. This short, concise guide will outline what must be done to boot into an XDAndroid system on your device.
  
 
==Downloading and Unpacking==
 
==Downloading and Unpacking==
Download an XDAndroid project release from the [http://htcandroid.xland.cz/ files repository] ([http://xdandroid.southcape.org/ North American Mirror]). The latest release is {{Latest Release}} and may be downloaded directly from [{{Latest Release URL}} here].
+
Download an XDAndroid project release from the [http://htcandroid.xland.cz/ files repository] ([http://xdandroid.southcape.org/ North American Mirror]). The latest system is {{Latest Release}} and may be downloaded as a system image update from here - [{{Latest Release URL}} system image only].  However, most prefer the full bundle, which is available here - [{{LatestBundleURL}} full bundle].
  
The XDAndroid project releases are typically packed as [[Wikipedia:7-Zip|7-Zip]] files. 7-Zip archives may be unpacked by the [http://7-zip.org/ 7-Zip program].
+
The XDAndroid project releases are typically packed as [[Wikipedia:ZIP_(file_format)|Zip]] files. Zip and most other archives may be unpacked by the [http://7-zip.org/ 7-Zip program].
  
XDAndroid currently requires a [[Wikipedia:MicroSD|MicroSD]] card for use. This card will be inserted into your phone and must remain in the phone while XDAndroid is running. It should be formatted [[Wikipedia:FAT32|FAT32]].
+
XDAndroid currently requires a [[Wikipedia:MicroSD|MicroSD]] card for use. This SD card needs to be inserted into your phone and '''must''' remain in the phone while XDAndroid is running. It should be formatted (Full Format) [[Wikipedia:FAT32|FAT32]].  We recommend using the [http://www.eocfiles.com/bdc86eb1ed2989c30dcd1902e84939ae/bootdisks/SP27608.exe HP Tool] to format if you use Windows. The card should also be at least 512mb, with a 1gb card recommended.
  
Create a directory in the root of the MicroSD card (ie, &lt;tt>X:\&lt;/tt> on Windows, where X is the card reader's drive letter) named &lt;tt>andboot&lt;/tt>. Unpack the entire XDAndroid release package into this directory.
+
Unpack the entire XDAndroid 'full bundle' to the root of your SD card.  If you want to extract everything into a folder (andboot, FRX06, etc) that's fine - if haret.exe et al aren't at the root of the SD, you need to specify a rel_path in the <tt>startup.txt</tt> file. More on this later.
  
This may be performed on Linux according to the following example:
+
It is recommended that you update the various components of XDAndroid with incremental updates. Please see [[Incremental Updates]] for information on updating those pieces.
> '''7zr x -o/media/''SDCARD''/andboot XDANDROID.''2.2.AOSP.29.7.10.RC2.1''.7z'''
 
 
 
Optionally, you may also choose to update the individual portions of the XDAndroid system with incremental updates. Please see [[Incremental Updates]] for information on updating those pieces.
 
  
 
==Configuring XDAndroid==
 
==Configuring XDAndroid==
The XDAndroid release package is unified. This means the project can release a single package which supports all of the devices capable of running the system. As a consequence, the user must do some minor configuration to tell the system which device it will be running on.  Some users have used the [[MJGDroidUtil]] or [[XDAndroidStartup]] Windows Mobile applications to automate the configuration and booting process.
+
The XDAndroid release package is unified. This means the project can release a single package which supports all of the devices capable of running the system. As a consequence, the user must do some minor configuration to tell the system which device it will be running on.
  
This configuration is done within a &lt;tt>startup.txt&lt;/tt> file in the &lt;tt>andboot&lt;/tt> directory. For convenience, a variety of &lt;tt>startup.txt&lt;/tt> files have been provided in the &lt;tt>STARTUP CONFIG&lt;/tt> directory under the &lt;tt>andboot&lt;/tt> directory. The appropriate &lt;tt>startup.txt&lt;/tt> may be copied into the &lt;tt>andboot&lt;/tt> directory. In &lt;tt>STARTUP CONFIG&lt;/tt> is a directory for each supported device. See the table below to find which directory serves certain devices.
+
This configuration is done within a <tt>startup.txt</tt> file. For convenience, a variety of <tt>startup.txt</tt> files have been provided in the <tt>STARTUPS</tt> directory wherever you extracted the package to. The appropriate <tt>startup.txt</tt> needs to be copied into the <tt>root</tt> directory (or where you run haret.exe from.) For example, I like to run Android two folders deep. Assume /sdcard is the root of the SD - so my Android install is in /sdcard/Androids/FRX06.  In this case, you need to put a <tt>rel_path=Androids/FRX06</tt> statement in the <tt>startup.txt</tt> file, between the quotes after <tt>set cmdline</tt>.  Obviously you need to change this statement to however your build is setup - if everything is at the root of the SD this statement is not necessary, and if everything is in a folder, <tt>andboot</tt> then <tt>[[kernel boot command-line parameters|rel_path]]=andboot</tt>. In <tt>STARTUPS</tt> is a directory for each supported device. See the table below to find which directory serves certain devices.  The [[FAQ]] also has some useful tips on sorting out which device you have.
  
 
{|class="slimtable"
 
{|class="slimtable"
Line 32: Line 21:
 
!Devices
 
!Devices
 
|-
 
|-
|&lt;tt>RAPH&lt;/tt>
+
|<tt>RAPH</tt>
 
|GSM [[Touch Pro]]
 
|GSM [[Touch Pro]]
 
|-
 
|-
|&lt;tt>RAPH800&lt;/tt>
+
|<tt>RAPH800</tt>
 
|CDMA [[Touch Pro]]
 
|CDMA [[Touch Pro]]
 
|-
 
|-
|&lt;tt>FUZE&lt;/tt>
+
|<tt>FUZE</tt>
|AT&amp;T [[Fuze]] (GSM [[Touch Pro]])
+
|AT&T [[Fuze]] (GSM [[Touch Pro]])
 
|-
 
|-
|&lt;tt>DIAMOND&lt;/tt>
+
|<tt>DIAMOND</tt>
 
|GSM [[Touch Diamond]]
 
|GSM [[Touch Diamond]]
 
|-
 
|-
|&lt;tt>DIAM500&lt;/tt>
+
|<tt>DIAM500</tt>
 
|CDMA [[Touch Diamond]]
 
|CDMA [[Touch Diamond]]
 
|-
 
|-
|&lt;tt>BLACKSTONE&lt;/tt>
+
|<tt>BLACKSTONE</tt>
 
|[[Touch HD]]
 
|[[Touch HD]]
 
|-
 
|-
|&lt;tt>TOPAZ&lt;/tt>
+
|<tt>TOPAZ</tt>
 
|GSM [[Touch Diamond2]]
 
|GSM [[Touch Diamond2]]
 
|-
 
|-
|&lt;tt>RHODIUM&lt;/tt>
+
|<tt>RHODIUM</tt>
 
|GSM [[Touch Pro2]]
 
|GSM [[Touch Pro2]]
 
|-
 
|-
|&lt;tt>TILT2&lt;/tt>
+
|<tt>TILT2</tt>
|AT&amp;T [[Tilt2]] (GSM [[Touch Pro2]])
+
|AT&T [[Tilt2]] (GSM [[Touch Pro2]])
 
|}
 
|}
  
Once the proper &lt;tt>startup.txt&lt;/tt> is in place, the system may be booted.
+
Once the proper <tt>startup.txt</tt> is in place, the system may be booted.
  
 
==Booting the System==
 
==Booting the System==
Currently, the XDAndroid system must be booted while running Windows Mobile, using [[HaRET]] in a manner similar to [[Wikipedia:loadlin|loadlin]].  That is, it is not currently possible to boot XDAndroid immediately from the BIOS (''à la'' [[Wikipedia:GNU GRUB|GRUB]] or [[Wikipedia:LILO (boot loader)|LILO]]).  This is because XDAndroid is not currently able to properly initialize all of the hardware devices, and depends on Windows Mobile to do so.&lt;ref>[[Supported Devices#Notes]]&lt;/ref>
+
Currently, the XDAndroid system must be booted while running Windows Mobile, using [[HaRET]] in a manner similar to [[Wikipedia:loadlin|loadlin]].  That is, it is not currently possible to boot XDAndroid immediately from the BIOS (''à la'' [[Wikipedia:GNU GRUB|GRUB]] or [[Wikipedia:LILO (boot loader)|LILO]]).  This is because XDAndroid is not currently able to properly initialize all of the hardware devices, and depends on Windows Mobile to do so.<ref>[[Supported Devices#Notes]]</ref>
  
For this guide it is assumed that the XDAndroid base files within the andboot directory.
+
Using the Windows Mobile File Manager (or your preferred alternative), navigate to your MicroSD card and into the directory that was setup earlier.
Please note that you will need to add "[[kernel boot command-line parameters|rel_path]]=andboot" to your startup.txt (not including the quotes).
 
  
Using the Windows Mobile File Manager (or your preferred alternative), navigate to your MicroSD card and into the &lt;tt>andboot&lt;/tt> directory.
+
Run the program <tt>haret.exe</tt>. This will load the Linux kernel into your device's memory and begin executing it. This will cause Windows Mobile to shut down immediately and ungracefully (though due to the [[Wikipedia:TFAT|TFAT]] filesystem on the device's storage, there should be no worry of data loss).
 
 
Run the program &lt;tt>haret&lt;/tt> in the &lt;tt>andboot&lt;/tt> directory. This will load the Linux kernel into your device's memory and begin executing it. This will cause Windows Mobile to shut down immediately and ungracefully (though due to the [[Wikipedia:TFAT|TFAT]] filesystem on the device's storage, there should be no worry of data loss).
 
  
 
During boot, you should see console text scroll along the screen. This text is white on a black background and is part of the normal boot process.
 
During boot, you should see console text scroll along the screen. This text is white on a black background and is part of the normal boot process.
Line 76: Line 62:
 
The first boot into XDAndroid will take some time. The device must do a number of things: create a data filesystem where apps and settings are stored; unpack the current kernel's modules; calibrate the screen; and set up and execute the Android system.
 
The first boot into XDAndroid will take some time. The device must do a number of things: create a data filesystem where apps and settings are stored; unpack the current kernel's modules; calibrate the screen; and set up and execute the Android system.
  
The screen calibration is a rudimentary five-point location check very similar to what Windows Mobile does on first boot of a newly installed ROM. The program will prompt the user to tap each consecutive box in the center, firmly and shortly. After this calibration is complete, the system will begin running Android.
+
The screen calibration is a rudimentary five-point location check very similar to what Windows Mobile does on first boot of a newly installed ROM. The program will prompt the user to tap each consecutive box in the center, firmly and shortly. After this calibration is complete, the system will begin running Android. If you have any issues with calibrating, see the [[FAQ#How do I fix a non-functioning or miscalibrated touchscreen?|FAQ]].
 
 
Once the system begins to run Android itself, you will see a boot animation instead of the old console text. At this point, the first boot of Android must do quite a bit of work to install and optimize packages, configure default settings, and provision the device for the user. Overall first boot time will likely be up to 5 or 10 minutes.
 
  
 +
Once the system begins to run Android itself, you will see a boot animation instead of the old console text. At this point, the first boot of Android must do quite a bit of work to install and optimize packages, configure default settings, and provision the device for the user. Overall first boot time will likely be up to 5 or 10 minutes.  Even after seeing the UI/lock screen, you may want to let the device settle for a few additional minutes.
 +
 
 
==Initial Android Setup==
 
==Initial Android Setup==
After all the waiting, the system will present a setup wizard. This will guide the user through the needed configuration for Android services and programs, as well as provide a simple tutorial for using the screen and keyboard. Follow the prompts as needed to set up your system, activate (or deactivate, if desired) location-based services, and optionally add a Google account for Market and Sync usage.
+
After all the waiting, you should see a lock screen. Unlock the device and enjoy!  Initially you might want to go to Settings -> Accounts & Sync and setup a gmail sync account so you can use the Market and sync your contacts.
  
After finishing the wizard process, your XDAndroid system is fully configured and ready to use. Congratulations!
+
Your XDAndroid system is fully configured and ready to use. Congratulations!
  
 
==References==
 
==References==
&lt;references/>
+
<references/>

Latest revision as of 19:22, 9 June 2011

Installation of the XDAndroid project releases is fairly simple. This short, concise guide will outline what must be done to boot into an XDAndroid system on your device.

Downloading and Unpacking

Download an XDAndroid project release from the files repository (North American Mirror). The latest system is Version 2.2.2 FRX07 and may be downloaded as a system image update from here - system image only. However, most prefer the full bundle, which is available here - full bundle.

The XDAndroid project releases are typically packed as Zip files. Zip and most other archives may be unpacked by the 7-Zip program.

XDAndroid currently requires a MicroSD card for use. This SD card needs to be inserted into your phone and must remain in the phone while XDAndroid is running. It should be formatted (Full Format) FAT32. We recommend using the HP Tool to format if you use Windows. The card should also be at least 512mb, with a 1gb card recommended.

Unpack the entire XDAndroid 'full bundle' to the root of your SD card. If you want to extract everything into a folder (andboot, FRX06, etc) that's fine - if haret.exe et al aren't at the root of the SD, you need to specify a rel_path in the startup.txt file. More on this later.

It is recommended that you update the various components of XDAndroid with incremental updates. Please see Incremental Updates for information on updating those pieces.

Configuring XDAndroid

The XDAndroid release package is unified. This means the project can release a single package which supports all of the devices capable of running the system. As a consequence, the user must do some minor configuration to tell the system which device it will be running on.

This configuration is done within a startup.txt file. For convenience, a variety of startup.txt files have been provided in the STARTUPS directory wherever you extracted the package to. The appropriate startup.txt needs to be copied into the root directory (or where you run haret.exe from.) For example, I like to run Android two folders deep. Assume /sdcard is the root of the SD - so my Android install is in /sdcard/Androids/FRX06. In this case, you need to put a rel_path=Androids/FRX06 statement in the startup.txt file, between the quotes after set cmdline. Obviously you need to change this statement to however your build is setup - if everything is at the root of the SD this statement is not necessary, and if everything is in a folder, andboot then rel_path=andboot. In STARTUPS is a directory for each supported device. See the table below to find which directory serves certain devices. The FAQ also has some useful tips on sorting out which device you have.

Directory Devices
RAPH GSM Touch Pro
RAPH800 CDMA Touch Pro
FUZE AT&T Fuze (GSM Touch Pro)
DIAMOND GSM Touch Diamond
DIAM500 CDMA Touch Diamond
BLACKSTONE Touch HD
TOPAZ GSM Touch Diamond2
RHODIUM GSM Touch Pro2
TILT2 AT&T Tilt2 (GSM Touch Pro2)

Once the proper startup.txt is in place, the system may be booted.

Booting the System

Currently, the XDAndroid system must be booted while running Windows Mobile, using HaRET in a manner similar to loadlin. That is, it is not currently possible to boot XDAndroid immediately from the BIOS (à la GRUB or LILO). This is because XDAndroid is not currently able to properly initialize all of the hardware devices, and depends on Windows Mobile to do so.[1]

Using the Windows Mobile File Manager (or your preferred alternative), navigate to your MicroSD card and into the directory that was setup earlier.

Run the program haret.exe. This will load the Linux kernel into your device's memory and begin executing it. This will cause Windows Mobile to shut down immediately and ungracefully (though due to the TFAT filesystem on the device's storage, there should be no worry of data loss).

During boot, you should see console text scroll along the screen. This text is white on a black background and is part of the normal boot process.

The first boot into XDAndroid will take some time. The device must do a number of things: create a data filesystem where apps and settings are stored; unpack the current kernel's modules; calibrate the screen; and set up and execute the Android system.

The screen calibration is a rudimentary five-point location check very similar to what Windows Mobile does on first boot of a newly installed ROM. The program will prompt the user to tap each consecutive box in the center, firmly and shortly. After this calibration is complete, the system will begin running Android. If you have any issues with calibrating, see the FAQ.

Once the system begins to run Android itself, you will see a boot animation instead of the old console text. At this point, the first boot of Android must do quite a bit of work to install and optimize packages, configure default settings, and provision the device for the user. Overall first boot time will likely be up to 5 or 10 minutes. Even after seeing the UI/lock screen, you may want to let the device settle for a few additional minutes.

Initial Android Setup

After all the waiting, you should see a lock screen. Unlock the device and enjoy! Initially you might want to go to Settings -> Accounts & Sync and setup a gmail sync account so you can use the Market and sync your contacts.

Your XDAndroid system is fully configured and ready to use. Congratulations!

References