Jump to content

Palm Pre (palm-castle)

From Nura Wiki
Palm Pre
Manufacturer Palm
Name Pre
Codename palm-castle
Released 2009
Type handset
Hardware
Chipset TI OMAP 3430
CPU 1x 600 MHz Cortex-A8 (underclocked to 500 MHz)
GPU PowerVR SGX530
Display 320x480 TFT; capacitive multi-touch
Storage 8 GB
Memory 256 MB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
webOS 1.0
Extended version
The most recent supported version from the manufacturer.
webOS
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Note Note: Porting work on this device is currently in an explorative / theoretical stage.

The Palm Pre (codenamed 'Castle' [1]) is the first device in a line of devices released running Palm's then-new webOS software, which was based on Linux.

The webOS-Internals wiki has a trove of information if you can dig through it, though overall the documentation surrounding hacking on webOS devices seems quite disorganised nowadays across old forum posts and wikis that have managed to survive since 2009.

Broken links are also abound, both as far as old HP/Palm resources go and in terms of community resources. Keep the Wayback Machine handy :)

Contributors

Users owning this device

  • Thejsa (Notes: Several in varying states of disrepair, get in touch if you think you'd make good use of one.)

Porting notes

webOS is built on a downstream Linux 2.6.24 kernel tree, based on TI's OMAP3 flavor. Fortunately however the Pre uses the same SoC as the Nokia N900, which is well supported by Nura and has been mainlined, so this is likely to be a good starting point.

webOS devices are generally considered to be quite hackable, as the flash and bootloader are all accessible over USB using Novacom (see 'How to enter flash mode' below); you can fairly trivially build and boot a custom kernel. It seems that there's no code-signing to get in the way in the boot chain!

Novacom

Communication between webOS devices and a host PC uses a custom protocol called Novacom, both in the bootloader and within webOS (used for app installation, etc.)

It's comparable to adb, and like with adb, you'll run a novacomd daemon on the machine, which provides the transport for tools like novacom and novaterm.

Novacom is packaged in the Arch Linux AUR; otherwise, binaries for modern systems are available from the webOS Archive project at https://docs.webosarchive.org/activate/

Bootloader

webOS devices use Palm's own (proprietary) stage3 bootloader called bootie. Some info exists at: https://web.archive.org/web/20190721192241/https://www.webos-internals.org/wiki/Bootie

Entering Bootie

With the device unplugged and powered off, hold down Volume Up and plug the device into a computer over USB.

You can use novaterm to speak to Bootie over a console.

Booting a custom kernel using Memboot

Palm's Bootie bootloader supports booting a kernel sent over USB from memory:

novacom boot mem:// < uImage

Further information: https://web.archive.org/web/20190917045602/https://www.webos-internals.org/wiki/Memboot

Installation

See also

  • webOS Internals wiki for resources relating to legacy webOS devices (archive link, as the wiki appears broken as of August 2026)
  • webOS Archive Docs for information about current community efforts to keep webOS alive, and related resources
  • WebOS-Ports wiki for information about the LuneOS fork of webOS, and related resources; may contain some useful tidbits. (Site down as of August 2026.)