[ <a href="/index.html">Home</a> ] [ <a href="/Sumoudou.html">相撲道 Sumoudou</a> ] [ <a href="/Sumou.html">相撲 Sumou</a> ] [ <a href="/Keiko.html">稽古 Keiko</a> ] [ <a href="/Power.html">力 Power</a> ] [ <a href="/Non-Sumou.html">相撲外 Non-Sumou</a> ] [ <a href="/whats-new.html">What's NEW!!!</a> ] <br /><br /> </div>

<!— Page published by Emacs Muse begins here —> <p><em><a href="Non-Sumou.html">Other GNU/Linux on the HTC Universal tips</a></em></p>

<p>I have generated a full Debian GNU/Linux rootfs image, that contains full X environment, calibrated screen, and all the scripts necessary to use the Universal as a phone. Once you install it, you can start using the phone rightaway without further modifications.</p> <p>The image is the current updated and fully upgraded (as of the generation date, 7th May, 2008) Debian Sid, i.e. unstable, distribution.</p> <p>The installation procedure is very simple:</p> <ul> <li><a href="Linux%20installation&#44;%20including%20encryption.html">Prepare the SD card for Debian GNU/Linux installation, with the /home directory encrypted</a></li> <li><a href="Linux%20image%20on%20the%20Universal.html">Install the full Debian GNU/Linux image</a></li> <li><a href="Creating%20a%20regular%20user%20on%20the%20Universal.html">Create a regular user</a></li> <li>Log out of X and login again as a the regular user.</li> <li>Use the phone.</li> </ul> <p>===============================================</p> <p><strong>My full image contains all the steps outlined below and some further modifications to enable for full use of the phone right after installation.</p> <p>Therefore it is NOT necessary to perform any of the below steps:</strong></p> <p>Following the <a href="uni/vebu/installing-debian_20070427.html">Installing Debian GNU/Linux on the Universal guide</a>, originally found <a href="http://wiki.neilandtheresa.co.uk/Titchy_Mobile/Installing_Debian">here</a>:</p> <p>Download the following three files and put them in a directory on the Universal, in main memory:</p> <p><a href="uni/zImage">zImage</a><br /> <a href="uni/default.txt">default.txt</a><br /> <a href="uni/haret.exe">haret.exe</a></p> <p>Get an SD card as big as possible, currently I use 16GB, and create two partitions on it on a GNU/Linux PC. The first one will hold the system and the second one will be used for swap. A swap partition is necessary, as the Universal doesn't have vast memory, and memory will be needed for running mem-intensive apps under Debian. It should be a swap partition and not a swap file on the first partition, as the swap will wear the SD card down eventually.</p> <p>The card will get corrupted, as flash memory isn't meant to be used as swap. Having the partition separate means the first partition with data shouldn't get corrupted. Anyhow, get into the habit of making regular backups of the first partition of the card with <a href="http://www.nongnu.org/rdiff-backup/">rdiff-backup</a>.</p> <p>Make the first partition 15GB, the swap 1GB.</p> <p>Download the Debian rootfs, originally found <a href="http://wiki.neilandtheresa.co.uk/Titchy_Mobile/Installing_Debian">here</a>, and untar it to the first partition of the card on a GNU/Linux PC, preserving the file permissions etc.:</p> <p><a href="uni/rootfs_20080427.tgz">rootfs_20080427.tgz</a></p> <p>Download the latest <a href="uni/htcunid-0.8.deb">htcunid-0.8.deb</a> and copy it to the SD card into the /root directory. This is an updated htcuni daemon package, with support for multi-part SMSes.</p> <p>Insert the SD card into the phone. Run the haret.exe file and your phone will boot into GNU/Linux.</p> <p>You will not change the original phone's Windows Mobile configuration, and if you reboot from GNU/Linux, you will boot back into WM, so this is very easy to setup. However once you get into GNU/Linux you should not have the need to ever use the phone with Windows Mobile again.</p> <p>The Debian GNU/Linux system you will boot into will be a console based system. Login as root with no password.</p> <p>Change to the /root directory and install the htcunid package.</p> <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># cd /root/<br /># dpkg -i htcunid-0.8.deb</b></td></tr></table> <p>Immediatelly after login, change the root's password. Also create a regular user account with <strong>adduser</strong> and make it a habit to only login into the regular user's account.</p> <ul> <li><a href="Linux%20installation&#44;%20including%20encryption.html">Prepare the SD card for Debian GNU/Linux installation, with the /home directory encrypted</a></li> <li><a href="Installing%20the%20base%20Debian%20system%20on%20the%20Universal.html">Install the base Debian system</a></li> <li><a href="Changing%20root%20password%20and%20creating%20a%20normal%20user.html">Change root password and create a normal user</a></li> <li><a href="Set%20current%20date%20on%20the%20Universal.html">Set current date</a></li> <li><a href="Installing%20the%20mobile%20phone%20controlling%20daemon%20on%20the%20Universal.html">Install updated htcunid package</a></li> <li><a href="Connect%20Universal%20to%20the%20internet%20via%20a%20desktop%20PC%20USB%20connection.html">Establish Universal internet connection via desktop PC USB connection</a></li> <li><a href="Setting%20ntpd%20to%20keep%20time%20updated%20on%20the%20Universal.html">Fix the time</a></li> <li><a href="Linux%20system%20on%20the%20Universal.html">Update the Debian system</a></li> <li><a href="Fixing%20bash%20completion%20under%20sudo.html">Fix bash completion under sudo</a></li> <li><a href="Enabling%20mounting%20encrypted%20partitions%20on%20the%20Universal.html">Enable mounting encrypted partitions</a></li> <li><a href="Installing%20X%20in%20Debian%20on%20the%20Universal.html">Install X</a></li> <li><a href="GPRS%20on%20the%20Universal.html">Setup GPRS/UMTS on the phone</a></li> <li><a href="Installing%20mplayer%20on%20the%20Universal.html">Install mplayer</a></li> <li><a href="Installing%20whiptail%20on%20the%20Universal.html">Install whiptail</a></li> <li><a href="Setting%20up%20phone%20operating%20scripts%20on%20the%20Universal">Setup phone operating scripts on the Universal</a></li> <li><a href="Setting%20up%20keitai-el%20on%20the%20Universal.html">Setup phonebook dialing application and SMS sending tool</a></li> <li><a href="Installing%20Prime%20on%20the%20Universal.html">Install Prime</a></li> <li><a href="Fixing%20the%20No%20fonts%20match%209x15bold%20error%20to%20run%20emacs.html">Fix the fonts for emacs</a></li> <li><a href="Fixing%20the%20No%20fonts%20match%20pattern%20error%20to%20run%20xshogi.html">Fix the fonts for xshogi]]</li> </ul> <!— Page published by Emacs Muse ends here —>
<i>To send me feedback about this page, use the below email.</i><br /> <b>&copy; sumoudou.org 2010</b><br /> <img style="border:0" alt="sumoudou.org" src="email.gif" width="129" height="10" /><br /> <a href="http://www.gnu.org/" style="text-decoration: none;"><img style="border:0" alt="GNU" src="powered-by-gnu.png" />]] <a href="http://www.gnu.org/software/emacs/emacs.html" style="text-decoration: none;"><img style="border:0" alt="GNU Emacs" src="made-with-emacs.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hcoop-proud-member.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hosted-by-hcoop.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="made-with-muse.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="powered-by-muse.png" />]] <br /> <a href="http://www.fsf.org/resources/formats/playogg" style="text-decoration: none;"><img style="border:0" alt="Ogg" src="play-ogg.png" />]] <a href="http://www.catb.org/hacker-emblem/" style="text-decoration: none;"><img style="border:0" alt="Glider" src="glider.png" />]] <a href="http://ubuntu.com/" style="text-decoration: none;"><img style="border:0" alt="Ubuntu" src="ubuntu.png" />]] <a href="http://validator.w3.org/check?uri=referer" style="text-decoration: none;"><img style="border:0" alt="Valid XHTML 1.0 Strict!" src="valid-xhtml10-blue.png" />]] <a href="http://jigsaw.w3.org/css-validator/check/referer" style="text-decoration: none;"><img style="border:0" alt="Valid CSS!" src="valid-css-blue.png" />]] <br />Last updated November 6, 2009 </div> <br />. </body> </html>