HTC Desire (htc-bravo)

From postmarketOS
Jump to: navigation, search
HTC Desire
HTC Desire running the Weston demo
HTC Desire running the Weston demo
Manufacturer HTC
Name Desire
Codename bravo
Released 2010
Original software Android 2.1 on Linux 2.6.29
Chipset Qualcomm QSD8250 Snapdragon S1
CPU 1.0 GHz Scorpion
GPU Adreno 200
Display 480x800 AMOLED
Storage 512 MB
Memory 576 MB


What works

  • Kernel compilation
  • Flash Kernel (pmbootstrap flasher flash_kernel)
  • Initramfs boot
  • USB Network
  • Framebuffer graphics (Splash screens)
  • SSH Connectivity
  • Weston on framebuffer
  • Touchscreen
  • Xwayland

What does not work

  • Flash Rootfs (pmbootstrap flasher flash_rootfs)
  • Wifi
  • Audio playback

Entering "HBOOT mode"

Hold the Volume Down button, and then press the Power button


Flashing the partitions does not work yet (except for the kernel), so you will need an SD card.
  • Unlock (s-off) the bootloader if it hasn't been unlocked before (htcdev unlock site)
  • Install everything using an SD card pmbootstrap install --sdcard=/dev/sd?
  • Insert the SD-Card on the device
  • Boot the device in HBOOT mode and select fastboot (Make sure it says "FASTBOOT USB", not "HBOOT USB PLUG")
  • Flash kernel using pmbootstrap flasher flash_kernel
  • Reboot

Additional information

Device partitions

dev:  size      erasesize  name
mtd0: 000a0000  00020000   "misc"
mtd1: 00480000  00020000   "recovery"
mtd2: 00300000  00020000   "boot"
mtd3: 0fa00000  00020000   "system"
mtd4: 02800000  00020000   "cache"
mtd5: 093a0000  00020000   "userdata"

These MTD partitions only work with YAFFS, which we don't handle properly yet. See also: Partition-layout#Future_ideas