HN
Today

Show HN: A modern port of Linux to a ten-year-old QWERTY phone

A determined hacker has breathed new life into a decade-old HTC QWERTY phone, porting modern Linux to transform it into a functional handheld terminal. This impressive feat of hardware revival and kernel engineering appeals to the Hacker News community's love for technical challenges and the preservation of vintage tech. It showcases deep expertise in device driver development and system-level hacking.

10
Score
2
Comments
#23
Highest Rank
3h
on Front Page
First Seen
Jul 16, 5:00 PM
Last Seen
Jul 16, 7:00 PM
Rank Over Time
252329

The Lowdown

This project details an ambitious effort to port a modern Linux kernel to a ten-year-old HTC Desire Z (known as G2 in the US), a classic Android phone featuring a beloved slide-out QWERTY keyboard. The goal was to transform this seemingly obsolete device into a fully functional, up-to-date Linux handheld terminal, rather than just a nostalgic curiosity.

  • The chosen device, the HTC Desire Z, is powered by a Qualcomm MSM7230 processor, a single-core chip clocked around 800MHz with only 512MB of RAM, presenting significant challenges for modern software compatibility.
  • The author opted for a 'from scratch' approach, aiming to port the latest Linux kernel (6.x) instead of relying on older kernel forks or limited existing community efforts like PostmarketOS.
  • Key technical hurdles involved extensive reverse-engineering of the device's hardware, meticulously updating device tree source (dtsi) files, and patching the kernel to support specific components such as the display controller, input devices (keyboard), and GPU.
  • Significant progress has been made, with the device successfully booting a modern distribution like Alpine Linux, featuring a working display and keyboard, making it viable as a command-line interface (CLI) terminal.
  • While core functionality is established, ongoing work includes integrating more advanced features like power management, WiFi, and cellular connectivity to make it a truly independent device.

This project stands as a testament to the power of open-source development and the dedication of hardware enthusiasts, proving that 'obsolete' hardware can still find new purpose through ingenious technical effort and a deep understanding of system architecture.