Google Nexus 5 (lg-hammerhead)

From postmarketOS
Jump to: navigation, search
LG Nexus 5
Nexus 5 running the weston demo
Nexus 5 running the weston demo
Manufacturer LG
Name Nexus 5
Codename hammerhead
Released 2013
Original software Android 4.4-6 on Linux 3.4
Chipset Qualcomm MSM8974 Snapdragon 800
CPU Quad-core 2.3 GHz Krait 400
GPU Adreno 330
Display 1080x1920 IPS
Storage 16/32 GB
Memory 2 GB


  • MartijnBraam
  • dzervas
  • lawl
  • bshah
  • opendata

What works

  • Mainline linux
  • SSH
  • Battery
  • Display
  • Touchscreen
  • 3D acceleration
  • Calls?
  • USB Networking
  • WiFi

What does not work

  • Flashlight and Front led
  • Camera
  • Backlight works partially
  • Serial console
  • Splash screens
  • The SDL programs


There's a timing issue with the mainline kernel, hence we need the --split installation for now.
$ pmbootstrap init # select lg-hammerhead
$ pmbootstrap install --split --no-fde
$ pmbootstrap export
$ fastboot flash system /tmp/postmarketOS-export/lg-mako-boot.img
$ fastboot flash userdata /tmp/postmarketOS-export/lg-mako-root.img

Additional info

WiFi workaround on boot

The wifi adapter works in networkmanager but it seems it boots in airplane mode. To make it detect wifi networks you need to disable and re-enable the wifi adapter. This can be done in the graphic shell (Plasma Mobile has an airplane mode switch in the pull-down menu) or through the shell:

$ nmcli radio all off
$ nmcli radio all on



TTY on mainline