{% include alerts/warning.html content="Make sure you can rollback to stock firmware in case the /e/OS GSI doesn't work" %}
## Step 1: Install fastboot
> This step is executed on the PC
> TThis step needs to be performed using a PC with `adb tools` installed. We have instructions for Windows and Linux below, but you can use any PC that can run `adb tools`
### My Computer is running Windows
@@ -16,7 +16,7 @@
Follow [this guide](/pages/install-adb) to install fastboot on your Windows PC
## Step 2: Find your phone architecture
> This step is executed on the Phone
> This step must be performed on the Phone
You need to know your phone architecture in order to know which GSI you will have to install. An easy way to do this is to install `treble info` on your phone application store (available on the Play Store).
@@ -47,31 +47,42 @@ From `Details` tab of the `treble info` app
## Step 4: Erase userdata
> This step is executed on the PC in the console where you are executing fastboot commands
> This step must be preformed using a PC from the terminal where fastboot commands are executed.
- This step will remove all existing userdata on the device
`fastboot -w`
From the console, run`fastboot -w`
## Step 5: Flash the system image
> This step is executed on the PC
> This step must be preformed using a PC.
Once you know which system image you need, download it and save it to a location on your PC.
1. Choose the system image specific to your device from the list below:
1. Connect your phone to your PC with a USB cable.
> Please note there are cables which are only for charging your phone. They will not work here. The USB cable should allow data exchange between the PC and the phone.