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 pages "Installation Guide" and "MediaWiki:Common.css"

From The XDAndroid Project
(Difference between pages)
Jump to navigation Jump to search
m (wikify link)
 
 
Line 1: Line 1:
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.
+
/* CSS placed here will be applied to all skins */
 +
/* XDAndroid.com specific */
 +
.main-page-box {
 +
        margin: auto; /* Centered */
 +
        border: 1px solid #C1C1FF;
 +
}
  
==Downloading and Unpacking==
+
.main-page-box p {
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].
+
        padding: 2px;
 +
}
  
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].
+
.main-page-box .header {
 +
        text-align: center;
 +
        font-size: 127%;
 +
        font-weight: bold;
 +
        width: 100%;
 +
        background: #E9E9FF;
 +
        border-bottom: 1px solid #C1C1FF;
 +
}
  
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.
+
.main-page-box table {
 +
        width: 100%;
 +
        background: #EEEEEE;
 +
        padding: 0px;
 +
        border: 2px solid white;
 +
        text-align: center;
 +
        border-collapse: collapse;
 +
}
  
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.
+
.main-page-box td {
 +
        border-right: 2px solid white;
 +
}
  
It is recommended that you update the various components of XDAndroid with incremental updates. Please see [[Incremental Updates]] for information on updating those pieces.
+
.main-page-box .gs-head2 {
 +
        font-weight: bold;
 +
}
  
==Configuring XDAndroid==
+
.main-page-box img {
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.
+
        padding-right: 5px;
 +
}
  
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.
+
body.page-Main_Page h1.firstHeading { display:none; }
  
{|class="slimtable"
+
table.devices {
!Directory
+
        font-size: 90%;
!Devices
+
        width: 100%;
|-
+
        margin: auto;
|<tt>RAPH</tt>
+
        border: 1px solid #A8A9A7;
|GSM [[Touch Pro]]
+
        border-collapse: collapse;
|-
+
        border-spacing: 0px;
|<tt>RAPH800</tt>
+
        background: #F9F9F9;
|CDMA [[Touch Pro]]
+
        text-align: center;
|-
+
}
|<tt>FUZE</tt>
 
|AT&T [[Fuze]] (GSM [[Touch Pro]])
 
|-
 
|<tt>DIAMOND</tt>
 
|GSM [[Touch Diamond]]
 
|-
 
|<tt>DIAM500</tt>
 
|CDMA [[Touch Diamond]]
 
|-
 
|<tt>BLACKSTONE</tt>
 
|[[Touch HD]]
 
|-
 
|<tt>TOPAZ</tt>
 
|GSM [[Touch Diamond2]]
 
|-
 
|<tt>RHODIUM</tt>
 
|GSM [[Touch Pro2]]
 
|-
 
|<tt>TILT2</tt>
 
|AT&T [[Tilt2]] (GSM [[Touch Pro2]])
 
|}
 
  
Once the proper <tt>startup.txt</tt> is in place, the system may be booted.
+
table.devices th {
 +
        background: #F2F2F2;
 +
}
  
==Booting the System==
+
table.devices tr, table.devices td, table.devices th {
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>
+
        border: 1px solid #A8A9A7;
 +
}
  
Using the Windows Mobile File Manager (or your preferred alternative), navigate to your MicroSD card and into the directory that was setup earlier.
+
table.slimtable {
 +
        font-size: 90%;
 +
        margin: auto;
 +
        border: 1px solid #A8A9A7;
 +
        border-collapse: collapse;
 +
        border-spacing: 0px;
 +
        background: #F9F9F9;
 +
        text-align: center;
 +
        min-width: 50%;
 +
}
  
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).
+
table.slimtable th, table.slimtable td, table.slimtable tr {
 +
        padding-left: 5px;
 +
        padding-right: 5px;
 +
        border: 1px solid #A8A9A7;
 +
}
  
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.
+
table.slimtable th {
 +
        background: #F2F2F2;
 +
}
  
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]].
+
table.latest {
 +
        width: 100%;
 +
        border: 1px solid #C1C1FF;
 +
        border-spacing: 0px;
 +
        border-collapse: collapse;
 +
}
  
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.
+
table.latest th {
 
+
        text-align: center;
==Initial Android Setup==
+
        font-size: 127%;
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.
+
        font-weight: bold;
 +
        background: #E9E9FF;
 +
        padding: 2px;
 +
}
  
Your XDAndroid system is fully configured and ready to use. Congratulations!
+
table.latest td {
 +
        width: 33%;
 +
        padding: 2px;
 +
        background: #EEEEEE;
 +
}
  
==References==
+
table.latest td, table.latest tr, table.latest th {
<references/>
+
        border: 1px solid #C1C1FF;
 +
}
 +
 
 +
div.mw-geshi {
 +
        padding: 1em;
 +
        margin: 1em 0;
 +
        border: 1px dashed #2f6fab;
 +
}
 +
 
 +
div.warning {
 +
        padding: 1em;
 +
        margin: 1em 0;
 +
        border: 1px dashed #ff0000;
 +
        background-color: #ffcccc;
 +
        color: black;
 +
}

Revision as of 22:23, 8 April 2020

/* CSS placed here will be applied to all skins */
/* XDAndroid.com specific */
.main-page-box {
        margin: auto; /* Centered */
        border: 1px solid #C1C1FF;
}

.main-page-box p {
        padding: 2px;
}

.main-page-box .header {
        text-align: center;
        font-size: 127%;
        font-weight: bold;
        width: 100%;
        background: #E9E9FF;
        border-bottom: 1px solid #C1C1FF;
}

.main-page-box table {
        width: 100%;
        background: #EEEEEE;
        padding: 0px;
        border: 2px solid white;
        text-align: center;
        border-collapse: collapse;
}

.main-page-box td {
        border-right: 2px solid white;
}

.main-page-box .gs-head2 {
        font-weight: bold;
}

.main-page-box img {
        padding-right: 5px;
}

body.page-Main_Page h1.firstHeading { display:none; }

table.devices {
        font-size: 90%;
        width: 100%;
        margin: auto;
        border: 1px solid #A8A9A7;
        border-collapse: collapse;
        border-spacing: 0px;
        background: #F9F9F9;
        text-align: center;
}

table.devices th {
        background: #F2F2F2;
}

table.devices tr, table.devices td, table.devices th {
        border: 1px solid #A8A9A7;
}

table.slimtable {
        font-size: 90%;
        margin: auto;
        border: 1px solid #A8A9A7;
        border-collapse: collapse;
        border-spacing: 0px;
        background: #F9F9F9;
        text-align: center;
        min-width: 50%;
}

table.slimtable th, table.slimtable td, table.slimtable tr {
        padding-left: 5px;
        padding-right: 5px;
        border: 1px solid #A8A9A7;
}


table.slimtable th {
        background: #F2F2F2;
}

table.latest {
        width: 100%;
        border: 1px solid #C1C1FF;
        border-spacing: 0px;
        border-collapse: collapse;
}

table.latest th {
        text-align: center;
        font-size: 127%;
        font-weight: bold;
        background: #E9E9FF;
        padding: 2px;
}

table.latest td {
        width: 33%;
        padding: 2px;
        background: #EEEEEE;
}

table.latest td, table.latest tr, table.latest th {
        border: 1px solid #C1C1FF;
}

div.mw-geshi {
        padding: 1em; 
        margin: 1em 0; 
        border: 1px dashed #2f6fab;
}

div.warning {
        padding: 1em;
        margin: 1em 0;
        border: 1px dashed #ff0000;
        background-color: #ffcccc;
        color: black;
}