[Nexus 5 Original Android Development] TheSwede86:
Thank you for your work, really appreciate it.

I would suggest you add an optional step between step 8 and 9 which mentions resizing the "System" partition (and how you do it step-by-step as you mention on step 7) that you need to resize the "System" partition before installing GAPPs.

It's easy to miss since it isn't mentioned in the numbered list.

///

Update:

I have issues;

Nexus 5

Downloaded:

hh_clamor_repartition.zip

hammerhead-recovery.img

from

Releases · clamor-s/android_device_unlegacy_recovery

Custom TWRP for Unlegacy Android Project devices. Contribute to clamor-s/android_device_unlegacy_recovery development by creating an account on GitHub.

github.com

and

lineage-18.1-20220911-UNOFFICIAL-hammerhead-signed.zip

from

hammerhead-lineageos - Browse /18.1 at SourceForge.net

sourceforge.net

and

open_gapps-arm-11.0-nano-20220215.zip

( "ARM" > "11" > "NANO")

from

The Open GApps Project

OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.

opengapps.org

Lineage is stuck on the boot animation and after quite a while restarts into the custom TWRP recovery:

3.3.1-1 UA

If I re-do a part of the process;

1) Move hh_clamor_repartition.zip to phone from my PC by running (while in TWRP on the phone);

adb push "C:\hh_clamor_repartition.zip" /sdcard/

2) TWRP > Install > hh_clamor_repartition.zip (no checkboxes checked)

Returns:

"Returning stock partitions..." # OK so the partition was successfully modified before

3) TWRP > Advanced > Terminal > "stock"

<phone restarts into TWRP>

4) TWRP >Swipe to Allow Modification

5) Move hh_clamor_repartition.zip from my PC by running (while in TWRP on the phone);

adb push "C:\hh_clamor_repartition.zip" /sdcard/

6) TWRP > Install > hh_clamor_repartition.zip (no checkboxes checked)

Returns:

Failed to mount '/cache'. (Invalid argument)
Failed to mount '/system'. (Invalid argument)
Failed to mount '/vendor'. (Invalid argument)
Failed to mount '/cache'. (Invalid argument)

7) TWRP > Advanced > Terminal > "modify"

Returns:

umount: Can't umount system
umount: Can't umount cache

<phone restarts into TWRP>

8) TWRP >Swipe to Allow Modification

9) TWRP > Wipe > Format Data > "yes"

Returns:

Failed to Unmount '/data' (Device or resource busy)

10) TWRP > Wipe > Advanced Wipe > Checking the following boxes;

Dalvik / ART Cache
System
Vendor
data
Internal Storage
Cache

11) Move lineage-18.1-20220911-UNOFFICIAL-hammerhead-signed.zip and open_gapps-arm-11.0-nano-20220215.zip from my PC by running (while in TWRP on the phone);

adb push "C:\lineage-18.1-20220911-UNOFFICIAL-hammerhead-signed.zip" /sdcard/
adb push "C:\open_gapps-arm-11.0-nano-20220215.zip" /sdcard/

12) TWRP > Install > lineage-18.1-20220911-UNOFFICIAL-hammerhead-signed.zip (no checkboxes checked)

13) TWRP > Wipe > Advanced Wipe > [check "system"] > Repair or Change File System > Resize File System

(Currently it shows as having 492MB free before resizing)

13) TWRP > Wipe > Advanced Wipe > [check "system"] > Repair or Change File System

(Still shows 492MB free after resizing)

14) TWRP > Install > open_gapps-arm-11.0-nano-20220215.zip (no checkboxes checked)

(No errors)

15) Reboot System (in TWRP after the process above is finished)

16) "Prompt to install TWRP app if not installed" = Checked

"Install as a System App" = Checked

<phone restarts, shows Lineage boot animation for quite some time, boots into TWRP>

Any ideas?