★ 83 device pages approved★ 844 sources cited★ Every fact links to its source★ Send us your build log★ No ads. Some part links may earn us a commission.★ 83 device pages approved★ 844 sources cited★ Every fact links to its source★ Send us your build log★ No ads. Some part links may earn us a commission.
mods for old iconic tech · est. 2026
0000086devices tracked

Home › Devices › LG (built for Google) › Google Nexus 5

[ device photo ]CUSTOM FW!

LG (BUILT FOR GOOGLE) · PHONE · 2013

Google Nexus 5

Also called: Nexus 5 · hammerhead · LG-D820 · LG-D821

✔ APPROVEDChecked fact by fact · last checked 2026-11-16 · 16 sources · 1 item(s) unverified

2013 Google flagship (LG hammerhead) with an unlockable bootloader, official TWRP, and long custom-ROM life. Common work: unlock + TWRP, LineageOS, legacy Ubuntu Touch, Nexmon Wi-Fi patches, battery swap, and rare eMMC upgrades.[9][2][3][10]

7MODS
5WORK
1EXPERIMENTAL
16SOURCES

Which one do I have?

MODELS.TXT
ModelVariantYearHow to tell
LG-D820North America2013iFixit lists North America as LG-D820. Same hammerhead software tree as D821.[4]
LG-D821International2013iFixit lists International as LG-D821 (different LTE bands).[4]
Specs
SoC / memoryQualcomm Snapdragon 800 (MSM8974); 2 GB RAM; 16 or 32 GB eMMC[9]
Display4.95-inch 1080p IPS[9]
Battery / charge2300 mAh, not user-replaceable without opening the case; Qi wireless charging; micro-USB[9][5]
Codenamehammerhead[3][2]

Mods (7)

⚠ Mod at your own risk. We collect what others have published; we have not tested these mods. Read the safety notes

Unlock bootloader and flash TWRPWorks
SoftwareDifficulty: mediumCase stays closedNo solderingReversible
  • ⚠ Can brick A mistake can leave the device unable to start.
  • ⚠ Data loss Can erase what is on the device. Back up first.

Unlock with fastboot oem unlock (wipes data), then flash Team Win Recovery. Needed before most custom ROMs.[10][2][13][14][11]

Good to know

  • LineageOS hammerhead install: enter fastboot with Volume Down + Power, then fastboot oem unlock. Unlocking lets you flash custom partitions.[10][11]
  • Changing lock state factory-resets userdata to protect encryption credentials. The bootloader warns about unofficial images.[14]
  • TWRP has an official LG Nexus 5 (hammerhead) page: flash with fastboot flash recovery twrp.img. TWRP is a touch GUI recovery for nandroid backups, wipes, and ROM installs.[2][13]

⚠ Watch out

  • Unlock wipes the phone. Back up first.[14][10]

Guides:Install LineageOS on hammerhead | LineageOS WikiLG Nexus 5 - TWRP

LineageOSWorks
SoftwareDifficulty: mediumCase stays closedNo solderingPermanent
  • ⚠ Can brick A mistake can leave the device unable to start.
  • ⚠ Data loss Can erase what is on the device. Back up first.

Flash LineageOS via recovery after unlocking. Official wiki covers hammerhead specs, key combos, and the sideload install path.[10][3][11][12][16]

Good to know

  • After unlocking, flash recovery, format user data, and sideload the LineageOS zip with ADB. Volume Down + Power reaches the bootloader; choose RECOVERY with Power.[10][3]
  • LineageOS ships without bundled root or Google services. Builds are device-specific — other devices' images must not be used.[11][12]
  • If you want Play Store apps, Open GApps packages are flashed from recovery right after the ROM, before the first boot.[16]

Guides:Install LineageOS on hammerhead | LineageOS WikiInfo about hammerhead | LineageOS Wiki

Magisk systemless rootWorks
SoftwareDifficulty: mediumCase stays closedNo solderingReversible
  • ⚠ Can brick A mistake can leave the device unable to start.
  • ⚠ Data loss Can erase what is on the device. Back up first.

Patch the boot image on the phone for Magisk root without rewriting /system. Useful after a custom ROM if you need modules or root apps.[15][11]

Good to know

  • Magisk patches the boot (or init_boot) ramdisk rather than /system. Always patch the boot image on the same device you will install it on.[15]
  • A bad patch can bootloop; recover by re-flashing the original stock boot image. LineageOS does not recommend or ship root.[15][11]

Guides:Installation | Magisk

Ubuntu Touch (legacy)Discontinued
SoftwareDifficulty: mediumCase stays closedNo solderingPermanent
  • ⚠ Can brick A mistake can leave the device unable to start.
  • ⚠ Data loss Can erase what is on the device. Back up first.

Older Ubuntu Touch / UBports 16.04 images exist for hammerhead. Current Ubuntu Touch does not support the Nexus 5.[1]

Good to know

  • UBports lists Google Nexus 5 (hammerhead) as not supported by the current Ubuntu Touch release; the 16.04 release is still listed for it and gets no updates.[1]
  • UBports shows the Nexus 5 port at 92.9% progress.[1]

Guides:Google Nexus 5 • Ubuntu Touch

Nexmon Wi-Fi firmware patchesWorks
SoftwareDifficulty: hardCase stays closedNo solderingReversible
  • ⚠ Can brick A mistake can leave the device unable to start.

Patch the Broadcom BCM4339 firmware for monitor mode, frame injection, and CSI extraction.[8]

Good to know

  • seemoo-lab/nexmon is a C firmware-patching framework with a bcm4339 path for the Nexus 5 (patches/bcm4339/…/nexmon; make builds a patched firmware).[8]
  • Patches unlock raw Wi-Fi monitor mode, packet injection, and channel state information.[8]

Guides:GitHub - seemoo-lab/nexmon

Battery replacementWorks
BatteryDifficulty: mediumOpens caseNo solderingReversible
  • ⚠ Lithium battery Uses or touches a lithium cell. A damaged cell can catch fire.

Open the plastic back, remove the midframe, and swap the battery. Common fix when the pack swells or dies.[5][4][9]

Parts

  • Nexus 5 battery Fits — Stock Nexus 5 pack (2300 mAh).[5][9]

Good to know

  • iFixit battery guide: free the plastic back cover, remove the six midframe screws and the midframe, disconnect the battery connector, and pry the battery out.[5]
  • The iFixit guide notes that if the back cover snap near the flash window is not re-attached, Qi wireless charging may not work.[5]

Guides:Nexus 5 Battery Replacement - iFixit

64 GB eMMC chip upgradeExperimental
StorageDifficulty: expertOpens caseFine solderingPermanent
  • ⚠ Soldering Needs a soldering iron. Heat can lift pads and burn skin.
  • ⚠ Can brick A mistake can leave the device unable to start.
  • ⚠ Data loss Can erase what is on the device. Back up first.
  • ⚠ Permanent change Cuts, drills or glues the device. You cannot undo it.

Hot-air rework the BGA eMMC from 16 GB to a 64 GB part. Expert microsoldering only.[7][6]

Good to know

  • Hackaday covers an XDA report of upgrading a Nexus 5 from 16 GB to 64 GB by desoldering the eMMC 4.5 chip and fitting a 64 GB eMMC 5.0 BGA. The conversion details are vague.[7]
  • Full motherboard removal (antenna coax, display flex, cameras) is the path to reach the board for this kind of work.[6]

Guides:Upgrading A Nexus 5 EMMC To 64GB | HackadayNexus 5 Motherboard Replacement - iFixit

Sources (16)

SOURCES.TXT