Manually upgrade beryllium to pie

Warning : Downgrading Smartphones already on Android Q or LineageOS 17.x to Pie or from Pie OS to Oreo or Nougat can cause instability or at worst brick some devices.

Tip: If you find an issue with this installation document or to suggest any improvements , Please add your suggestions to this topic on our community forum

Basic Requirements

  • adb and fastbooot should be setup and working on your PC

    To set up adb follow details provided here

  • adb and fastboot need root rights in Linux and administrator rights in Windows.

    In Linux prepend sudo to any adb or fastboot command For e.g. “sudo fastboot reboot” and in Windows start the command window as administrator.


  • Download Upgrade Build for the beryllium here dev (pie)

  • Download TWRP

The TWRP version we tested was 3.3.0-0

Download of TWRP is not required if you already have it running on your beryllium

  • Download the latest stock ROM build for the beryllium

    stock ROM tested beryllium_global_images_9.6.27_20190627.0000.00_9.0_global

  • Download the Mi Flash

    tool version tested 2017.4.25

  • Follow the steps to install the stock ROM as given on the vendor site

  • Once the Stock ROM is flashed check if it is working for e.g receiving and making calls, audio, FMRadio ..

  • Next enable developer options on the phone

  • Ensure the device bootloader is unlocked. Flashing stock ROM can lock the bootloader on some devices.

    Follow the device unlock guidelines as prescibed by your vendor. For e.g. on Xiaomi devices it would require running the Mi Unlock tool. Since the device was already unlocked the process should take a couple of minutes only.

Steps to Flash the Upgrade /e/OS ROM

  1. Open a command window and change into the directory where you downloaded the files

  2. Take a complete backup of your phone data
  3. Ensure your beryllium smartphone is fully charged
  4. Remove any pattern or PIN locks you may have set on your phone

    you can set these up after the OS has been successfully installed on your phone

  5. If you already have TWRP recovery installed on your device
    • skip steps 6 and 7
    • Go directly into TWRP recovery (step 9)
    • To do that reboot your device and press volume-up during startup.
  6. To flash TWRP recovery
    • Reboot your device and press volume-down during startup.
    • This will bring the device into fastboot mode
  7. Flash the TWRP image in the fastboot mode by running below command in the PC
     fastboot flash recovery twrpimagename.img

    on some devices the below command may be required

     fastboot boot twrpimagename.img

    replace the twrpimagename.img with the name of the twrp image file name you downloaded previously the boot command will flash a temporary TWRP image on your smartphone

    The TWRP version we tested was 3.3.0-0

  8. Reboot the device via the command
    fastboot reboot

    and press volume-up while booting to go into TWRP recovery

  9. If your device is un-encrypted
    • Continue with installing the new build as given in step 13
  10. If your device is encrypted
    • Ensure you have taken a backup as proposed in step 2
    • Continue to step 11
  11. In TWRP wipe screen on your device click the format data button on the lower side to remove encryption

  12. Select the Wipe button and in the wipe screen select system + data + cache and swipe to wipe

  13. Sideload the /e/ .zip package

    • On the device, In TWRP select

    Advanced » ADB Sideload » then swipe to begin sideload

    • On the host machine, sideload the package by running the below command
       adb sideload /e/ OS image

      replace the /e/ OS image with the name of the /e/ OS zip file name, e.g. adb sideload

  14. Once the installation is successfully completed reboot system from the TWRP screen.

  15. Your beryllium should now be running the pie version of /e/..enjoy !!!

Answers to some questions you may have on the process

Why do I need to manually upgrade the OS

  • The updater app does not support upgrades from one Android version to another. It will hide any update of a different version.
  • We are working on resolving this issue.
  • While this issue is resolved, users need to manually upgrade their OS.
  • Upgrading manually requires similar steps to installing /e/OS for the first time.

Why do I need to flash Stock ROM before flashing the /e/ROM to upgrade?

  • The stock ROM has firmware and configuration settings which is not included in the /e/OS ROM. These files are required for the hardware to work correctly. By flashing the stock your smartphone is optimized to receive this operating system update. This will be a one time process and subsequent /e/OS updates will be available OTA (over the air).
  • Flashing the /e/OS upgrade directly without flashing the stock ROM can result in the device going into a bootloop.