Jump to content

HTC Nexus One (htc-passion)

From Nura Wiki
HTC Nexus One
Manufacturer HTC
Name Nexus One
Codename htc-passion
Released 2010
Type handset
Hardware
Chipset Qualcomm Snapdragon S1 (QSD8250)
CPU 1.0 GHz Scorpion
GPU Adreno 200
Display 480x800, 3.7 inches
Storage 512MB
Memory 512MB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Android 2.1
Extended version
The most recent supported version from the manufacturer.
Android
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Partial
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Whether charging and battery level reporting work.
Untested
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
Wi-Fi
Untested
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested

Contributors

  • scintill
  • j0sh1x

Maintainer(s)

  • scintill

What works

  • Boots to Weston
  • Display
  • Touch screen
  • USB networking

What does not work

  • MTD flash (not tested) - this means your Nura image has to be on an SD card.


Mainline

A close to mainline kernel is available at https://github.com/HTC-Leo-Revival-Project/linux

  • Boots to rootfs login prompt / Boots into X server with iceWM on top
  • UART
  • Sdcard via DMA mode
  • DMOV DMA engine
  • Display via efifb (experiemental slopped mdp3 also works)
  • Adreno 200 GPU (in conjunction with slopped mdp3)
  • Keys (non capacitive ones)
  • USB networking
  • Fuel Gauge
  • Charging
  • Jogball and top and keypad led

A 3rd party bootloader like HtcLeoRevivalProject EDK2 is needed to boot mainline.

The uefi has to be flashed to recovery partition and recovery has to be selected from bootloader every boot in order for sd to work


How to enter flash mode

While powering on, hold trackball plus volume-up.

UART

the usb port is multiplexed to uart if no vbus is supplied

D+ tx D- rx GND GND

The stock google bootloader gives no output on UART blackrose soff eng bootloader has to be flashed in order for uart to work

Port Status

Code is at https://github.com/scintill/pmbootstrap/tree/device/htc-passion .

Code should be cleaned up. Notably, I backported gcc 4 because the kernel compiled with gcc 6 doesn't boot. It's a bit Frankensteinish and not ideal, so it would be good to figure out how to get it working with gcc 6.