Google Nexus 5 (lg-hammerhead)

From postmarketOS
Jump to: navigation, search
LG Nexus 5
Nexus 5 running plasma mobile
Nexus 5 running plasma mobile
Manufacturer LG
Name Nexus 5
Codename lg-hammerhead
Released 2013
Original software Android 4.4.4 on Linux 3.4.0
Hardware
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
Architecture armhf
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Mainline
Works
Battery
3D Acceleration
Works
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
Partial
SMS
Works
Calls
Partial



Contributors

  • MartijnBraam
  • dzervas
  • lawl
  • bshah
  • opendata

Fastboot Mode

First make sure to enable USB debugging in Android ([1]) Then with device powered off, hold down Volume Down and Power buttons simultaneously for a few seconds, until Fastboot Mode screen appears.

OEM Unlock

Get device into Fastboot Mode, plug in USB cable, then:

$ sudo fastboot oem unlock

When prompted on device, use Volume-Up/Down buttons to highlight choice, then Power button to select it. The Fastboot Mode screen will appear again, and a message regarding flashing will appear briefly.

Installation

First build the image:

$ git clone https://gitlab.com/postmarketOS/pmbootstrap
$ cd pmbootstrap/
$ ./pmbootstrap.py init
$ ./pmbootstrap.py install --no-fde

Then in order to flash it put your device in fastboot mode, and plug it in USB. Then do:

$ ./pmbootstrap.py flasher flash_rootfs --partition userdata
$  sudo fastboot format system
$ ./pmbootstrap.py flasher flash_kernel

Issues

WiFi workaround on boot

The wifi adapter works in NetworkManager, but it boots in airplane mode and NetworkManager does not detect that. Therefore at boot you need to disable the wifi adapter first, and then re-enable it. This can easily be done in the graphic shell (Plasma Mobile has an airplane mode switch in the pull-down menu: check it and uncheck it) or through the shell:

$ nmcli radio all off
$ nmcli radio all on

Webbrowser

In plasma-mobile, Angelfish webbrowser does not run. You may want to install, configure and use qtwebbrowser, Firefox and/or Chromium.

Links

Photos