|Version 22 (modified by GNUtoo, 4 years ago) (diff)|
Recently some official htcdream images were built .
That means that you can install SHR on it!
That also means,that because of the recentness of the images,only shr-unstable is available for this phone.
During the installatin you will be able to choose between a permanent and non permanent installation
What to expect from the images
here's a Detailed status of the hardware support
First you'll need:
- Fastboot(free and opensource version available,SHR can build one)
- for now a linux installtion, like ubuntu for instance.
- a blank sdcard(will be overwriten if not already in the correct format)
- a rooted htcdream or an ADP1(android developer phone version 1)
Basically you will have to format the card to ext2 or ext3. you can use gparted for that(BEWARE!!! select the right disk), or do it from the command line
if you use the commandline(BEWARE!!! select the right disk here too),that can be achieved with the following tools:
- fdisk (in order to change the partiton system id)
it's easier(less risk of failures) to make only one partition. The kernel image expects the rootfs to be on the first partition which should be ext. Once the sdcard will be formated,simply extract the tarball to it,as root(very important) for instance,if the sdcard is mounted to /media/sdcard and that the shr-image was downloaded in /home/user/Download/full-htcdream.tar.gz do:
sudo su cd /media/sdcard tar xvzpf home/user/Download/full-htcdream.tar.gz
Then if you intend to try it without replacing android do:
replace the zimage version by the one you downladed...note that the image should be a .fastboot image
if you plan to install shr permanantly,simply flash the kernel image on the boot partition. There are 3 ways to do it:
- from an android recovery image like cm-recovery-1.4
- from shr itself(for instance boot with fastboot)
- with fastboot itself (require an unlocked bootloader)
Then wait a very long time for SHR post-install configuration screen to come up
- if you've a endless reboot loop,it should be because the kernel doesn't find the rootfs.
Right after booting the htcdream(so at the first boot),you will have to wait a long time:
- Before X starts
- Between when X is started and when it loads the initial configuration application(an application that let you configure the phone)
Note that if you don't set a password during the configuration,everyone could ssh into your phone(from wifi,3g,usb...)
For now you need to do the following steps to get some gps data on the virtual serial port(/dev/smd27):
opkg install htcdream-gps #in order to install the gps application gps #in order to activate the gps(must stay on as long as you want GPS informations,fix,position)
if you kill "gps" the gps should stop with a timeout.
First note that the htcdream's wifi driver shipped with the kernel we ship doesn't support PSM,that means that you can expect a very short battery life when using wifi,but in another hand it will be very fast and responsive. In order to load wifi do:
modprobe wl1251_sdio modprobe msm_wifi sleep 4 cd /sys/class/rfkill cd $(ls |grep -v rfkill0) echo 1 > state ifconfig wlan0 up
- in /usr/share/themes/shr-theme-gtk-e17lookalike/gtk-2.0/gtkrc change:
gtk-font-name = "Sans 5"
gtk-font-name = "Sans 10"
- in /usr/share/applications/vala-terminal.desktop change:
Exec=vala-terminal -fs 10
- Add that in xorg.conf: under the keyboard section
Option "XkbOptions" "lv3:ralt_switch"
And you'll be able to use xmodmap to map the keyboard for non-gtk applications
- to rotate the screen you need to:
- comment the lines containing
#comment for disabling rotation
- restart xorg
- comment the lines containing