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.
- 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.
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
Open a command window and change into the directory where you downloaded the files
- Take a complete backup of your phone data
- Ensure your beryllium smartphone is fully charged
- 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
- 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.
- To flash TWRP recovery
- Reboot your device and press volume-down during startup.
- This will bring the device into fastboot mode
- 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
- Reboot the device via the command
and press volume-up while booting to go into TWRP recovery
- If your device is un-encrypted
- Continue with installing the new build as given in step 13
- If your device is encrypted
- Ensure you have taken a backup as proposed in step 2
- Continue to step 11
In TWRP wipe screen on your device click the format data button on the lower side to remove encryption
Select the Wipe button and in the wipe screen select system + data + cache and swipe to wipe
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 name.zip
replace the /e/ OS image name.zip with the name of the /e/ OS zip file name, e.g. adb sideload e-0.7-p-2020011437643-test-FP2.zip
Once the installation is successfully completed reboot system from the TWRP screen.
- 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.