Wednesday, August 13, 2008

HTC Vogue - stuck in bootloader

You'll typically see RUUNBH at the top left of the boot loader. Using SPL 2.31
HTCFlasherGUI (mtty)

Type

cmd> set 16 0
cmd> boot

This will remove RUU flag, and then boot a valid flash from your device.

Friday, August 8, 2008

DD to clone / copy partition to new disk

Backup MBR
dd if=/dev/sda of=/mnt/boot/sda.mbr bs=512 count=1

Restore MBR
dd if=/mnt/boot/sda.mbr of=/dev/sdb bs=512 count=1

Fdisk to change any partitions on new sdb

Then copy first partition

dd if=/dev/sda1 of=/dev/sdb2 conv=noerror,sync

Tuesday, August 5, 2008

Java plugin in Fedora 9 Firefox

Download Sun java (bin, not rpm)

Extract jre to /usr/jre1.6.0_06 (or whatever the version is).
cd ~/.mozilla/plugins
ln -s /usr/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so

Restart firefox, and all is good.