site  contact  subhomenews

Nexus 5 updated to Android 8.1.0

March 24, 2018 — BarryK

I originally purchased the Nexus 5 to be able to play with MaruOS:

The most recent version of MaruOS is 0.4.1. This evening, decided to install a recent vanilla-flavoured Android. This is how it was done...

Download MaruOS image, to get the 'adb' and 'fastboot' binaries:

...get them out of the zip file.

Download Android 8.1.0 image for Nexus 5:

Download TWRP for Nexus 5:

How to install TWRP:

Place 'adb', 'fastboot', 'twrp.img' and the Android zip file in the same folder, open a terminal.

Plug USB cable from computer to phone. On the phone, turn on "USB debugging", as explained here:

Type "lsusb" in terminal to verify that computer sees phone.

What I did to install TWRP, in computer terminal:

# ./adb reboot bootloader
# ./fastboot flash recovery twrp.img

On phone, press Up-Volume physical button, until "Recovery" appears on phone screen, then press Power physical button.

On computer, reboot the phone in Recovery mode:

# ./adb reboot recovery

On phone, press "Advanced" button, then "ADB Sideload" button. There are a couple of checkboxes, "Wipe Dalvik cache" and "Wipe cache", tick those. Then there is a slider to start the sideload.

Back on the computer, type:

# ./adb sideload

This will install the Android image file from the computer to the phone. Then there will be a button on phone to reboot. TWRP will then display "Swipe to install TWRP app", do it (not sure if necessary). Yay, it worked!

Tags: tech