Warning: Please note this is still in very early stages. If you don't know what you are doing...YOU WILL BRICK YOUR PHONE, we take no responsability. You've been warned.
--- Now power botton is "home botton" short press go to home, long press popup a menu of latest applications used
--- Recharging working
CAUTION --- THERE ARE INSTANCES OF LOOSING CAMERA AND VOLUME BUTTON FUNCTIONALITY AFTER TESTING. THE ONLY SOLUTION IS A HARD RESET. ALSO TO BE ON THE SAFE SIDE PLEASE ALLOW THE WINDOWS MOBILE TO STARTUP AND LEAVE IT FOR SOME TIME BEFORE STARTING HARET.. THIS ALLOWS WIN MOB TO COMPLETE ALL THE BACKGROUND PROCESSES..
2009-10-16
The devs are now making good progess again using Android 1.5 - keep up to date with progress in this thread (newest forum post)
(note: only Android 1.5 is working best at the moment - 1.6 images will load but you can not make calls)
Summary:
calls fully working
audio player/ringtones/etc. working (playing from speaker only - no headphones support yet) - there are still pops/clicks from the speaker as it switches itself on/off
data connection working (see thread for steps to setup) - but not the most stable
only English lang support at the moment
only partial USB support
phone does charge but UI (or power led) does not always accurately reflect this
Update mostly of Android, compiled cupcake and created images (system.e2img, cache.e2img and data.e2img), the previous release used Diamond's images. Added Menu button in between Home and Back and improved a lot stability and softbuttons work better. The procedure is the same, unzip to sdcard. Ps: If you want to add apps to android, copy the .apk files to /tmp/newapps, I already copied the a few from Diamond's image. Drawbacks: From Android sdcard is not readable, working on it, also up/down (volume buttons), repeat the event when pressed, again, working on it. But hey, phone calls and SMS work, no sound or vibration thought. See Running Android 1.0
2009-03-08
blackstone patches added to the htc-msm-2.6.27 kernel branch LINK blackstone machine type in openembedded
2009-03-03
Update, android running from SD working, hard and soft buttons work. Also, zImage and patch updated. Someone can update more decently the wiki. See Running Android 1.0
2009-02-24
The screen output problem got fixed.
Here at the wiki, you can find instructions on how to run Android 1.0 on your Blackstone, :).
So, now we can run a striped down version of Android 1.0!!!, a nice picture that shows it:
2009-02-22
Our fine developers got the screen to work properly. Android boots, but still has strange colors.
A kernel Image. This is actually what is under development, it will change often. It's usually provided under the name zImage. Rename it to zImage.bin if you want it to work. See next section for download and details.
An image of the OS you want to run (Android, angstrom...). See the section of the OS you want to boot
Please note that this procedure is very experimental, we're adding drivers one by one, and not much works yet. We're far away from having a usable rom.
OPTIONAL
If you want to compile your own kernel, follow these steps (on linux):
Make sure you have an appropriate environment to get the source (git) and to compile the kernel. Install git, gcc, make and libncurses-dev at least. For debian based distributions.
cd ~/blackstone-dev
git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git
cd kernel
git checkout -b htc-msm-2.6.27 origin/htc-msm-2.6.27
Download and decompress the arm toolchain (64mb)
cd ~/blackstone-dev
wget THISLINK -O arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 (The link-address has to be here instead of the link, but the large link makes the width of this page very big)
tar xjf arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
Generate the default .config for the kernel(ARCH is case sensitive)
cd ~/blackstone-dev/kernel
make htcblackstone_defconfig ARCH=arm
Compile
cd ~/blackstone-dev/kernel
export PATH=~/blackstone-dev/arm-2008q1/bin:$PATH
make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Play and have fun!!! Now you can copy the compressed kernel image to your blackstone
cp ~/blackstone-dev/kernel/arch/arm/boot/zImage /wherever your blackstone is mounted/
Unplug your phone from the USB or configure it to use "Activesync" and not "Disk Drive".
Softreset or reboot (switch off and on) your phone
Run haret.exe on your phone (under /tmp/boot)
Note: This procedure won't remove windows mobile from your phone. To go back to windows after booting Linux, push the red (reset) button on the back of the phone (use the stylus)
Edit default.txt, remove the # before the "set INITRD" line, and make sure the filename after is "initrd-android08.bin"
Run haret.exe on your phone
Note: This procedure won't remove windows mobile from your phone. To go back to windows after booting Linux, push the red (reset) button on the back of the phone (use the stylus)
Edit default.txt, remove the # before the "set INITRD" line, and make sure the filename after is "initrd-angstrom.bin"
Run haret.exe on your phone
Note: This procedure won't remove windows mobile from your phone. To go back to windows after booting Linux, push the red (reset) button on the back of the phone (use the stylus)
It boots Angstrom, which will configure the usbnet with the 192.168.0.206 IP address, it also runs a SSH deamon, thus we can connect to the phone using the USB cable.
If you want to build your own angstrom images, see Useful Links.
The following instructions describe how to get a working armel debian/unstable from SD-card on your blackstone.
Format your SD-card so you've two partitions (e.g. using gparted). One fat32 partition for your WM stuff and haret and the kernel and a second partition for debian. The debian partition should have at least a size of 256MB, the more the better. Format the partition with ext2. The following instructions assume, that the WM-partition is your first partition and the debian partition the second one.
Make a directory on the WM-partition and put the following files there
Put also a default.txt with the following content there
set mtype 2030
set kernel zImage-htcblackstone-20090308-01-xfbdev
set ramsize 0x8000000
set ramaddr 0x10000000
set cmdline "root=/dev/mmcblk0p2 rootwait mem=108M msmsdcc_id=2 msmts_calib=0x395.0x3d1.0x79.0x77"
boot
That's all you've to do with the WM-partition.
Switch to your pc now, create a directory named /root/blackstone-chroot/ there and run the following command as root
Create /root/blackstone-chroot/etc/fstab with the following content
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
# uncomment this if your device has a SD/MMC/Transflash slot
/dev/mmcblk0p1 /media/card auto defaults,sync 0 0
Create the directory /root/blackstone-chroot/media/card. Your WM-partition will be mounted there.
Create /root/blackstone-chroot/etc/hostname and insert a hostname of your choice.
Create /root/blackstone-chroot/etc/network/interfaces with the following content
auto lo
iface lo inet loopback
auto usb0
iface usb0 inet static
address 192.168.0.206
netmask 255.255.255.0
gateway 192.168.0.1
Copy the files to the ext2 partition of your blackstone.
Run haret and watch debian booting. It'll execute the second stage of the bootstrapping which may take a while (less than 30 minutes). After that, you'll get a login prompt, but won't be able to login, because there is no password set for root.
Reboot your blackstone and edit the /etc/shadow of the debian partition so the entry for root looks like
Configure your phone to use "Activesync" and not "Disk Drive". The usb driver cannot cope with the "Disk Drive" mode, but only works when you boot with the "ActiveSync" mode enabled.
Connect the phone to your PC using the USB cable
Start haret to boot Angstrom
Configure an IP address in your PC usbnet on the same segment as the phone (192.168.0.0/24), if you're using Linux on your PC
ifconfig usb1 192.168.0.200
ssh root@192.168.0.206
(blank password) Note: Make sure you don't have a network manager or any software that will try to assign an IP address to the usb1 interface in your PC. On ubuntu you need to deactivate nerwork with the notification icon
You hang at mmcblk0: p1 <p5>? Get a partition management program and check that the card is a primary partition and not a logical partition! if it is, reformat or convert it to an primary!
You hang at mmcblk0: p1? Push the red reset button with the stylus and try it again!
After running android, some windows mobile applications do no longer run, because of "invalid or missing certificates"? This is a known issue. For now you have no other choice but to hard reset your blackstone (backup your data first!). To prevent this from happening in the future you can install the Default_Signed_DisableSecurity.CAB-file afterwards.