How to update Android version in command line?

I’ve been putting off the upgrade to Android 13 for far too long. I’m honestly not sure the best way to go about it. Others have mentioned just doing the installation steps again, but there are definitely parts of it that won’t need doing again, like unlocking the bootloader. Even just a “do x, y, and z headings in the install instructions” would be super helpful.

My phone is a Asus Zenfone 8 if that makes a difference. Here’s a link to that install guide if it’s needed for reference.

I did find this seemingly easier guide from LineageOS that seems intriguing. I’d just give it a shot, but I’ve heard too many stories about bricked phones for me to feel comfortable just poking around.

.

If the device already run an older version of /e/OS,

  • Go direct to step (8) or (9) of this illustrated guide

.

In official documentation Install /e/OS on a ASUS ZenFone 8 - “sake” we can see :

Install /e/OS

In /e/OS recovery main screen:

  1. Select Apply Update and in next screen Apply update from adb
  2. In the next screen, the device is now in sideload mode

Note at this point the Cancel option is highlighted that does not mean you have canceled the action. The device is in adb sideload mode.

  1. On your PC type begin adb sideload. Type the below command in a consoleadb sideload downloaded_file_name.zip

Replace downloaded_file_name.zip with the name of the /e/OS file you downloaded in the previous section

  1. Press enter key on the keyboard to start the sideloading The screen will show the progress percentage…This might pause at 47%
  2. Give it some time
  3. The PC console will now display Total xfer: 1.00x
  4. The phone screen will now display some text with a message similar to

Script succeeded result was [1.000000]
This means that the install was successful.

Reboot the device

In /e/OS recovery main screen:

  1. Select Reboot system now

The reboot process may take 5 - 10 minutes

Success: Congratulations !! Your phone should now be booting into /e/OS !!

Thank you! I will give this a try.

Is this a guaranteed wipe of my device’s drive or will it only wipe if something goes wrong?

For an accurate answer please quote the version string of what you are running now.

Wipe only occur If you hit the factory-reset button,
JUST DON’T HIT THE FACTORY-RESET BUTTON

1 Like

After getting distracted figuring out a good long-term backup solution, I finally tried updating today.

Two weird issues I ran into:

  1. My Arch Linux machine couldn’t see the device through ADB when it was in recovery mode. When I tried again on a Debian system, it could see the device. No idea why this would be.
  2. I had to run the ADB daemon as root to actually flash the image.

Now I’m up and running with /e/OS 2.4 and Android 13. Thanks for the help!