/e/ on fajita how-to 2020-05-27
---- first step - adb & fastboot “installation” ----
NOTE: The following instructions describe the necessary steps for Mac or Linux users using a bash (or other) terminal.
Go to the Android SDK Platform Tools download page.
Download the SDK Platform-Tools for your specific OS.
The zip file contains adb
and fastboot
.
and a bunch of other utilities.
Place the contents of the zip file in a suitable location in your computer.
Using the Terminal, edit your .bash_profile
or .bashrc
to add the Android SDK Platform Tools to your PATH like so:
if [ -d "$HOME/your-path-to-platform-tools" ] ; then
export PATH="$HOME/your-path-to-platform-tools:$PATH"
fi
open-up a new terminal OR execute the following command:
source .bash_profile
or source .bashrc
, depending on the file previously edited.
---- second step - test the Android SDK Platform Tools ----
First, enable developper options by tapping a number of times on the Build Number of your OS. You can find that field in the Settings app of Android in the “About Phone” section (name may differ on your specific OS).
You will see a message saying “You are now a developper!”
Then, enable USB debugging on your phone and OEM unlock in the Developper options.
Connect your Smartphone to your computer and issue that command :
adb devices
if your device is recognized, you will see at least those two lines (hex code + device):
List of devices attached
****13dc device
If everything went well, then proceed and restart your phone in fastboot mode.
There are ways to manually reboot in this mode. I will show how to do that using adb, because you need the Android SDK Platform Tools to continue.
adb reboot bootloader
Then issue that command to check if fastboot works properly and your phone is recognized.
fastboot devices
if it works you will see the following output (hex code + fastboot):
****13dc fastboot
---- third step - unlock and reset your phone ----
You can now unlock your phone. Warning, your phone will be reset during this operation in order to protect your data. Please do a backup of your important data.
To unlock your phone :
First do a backup (learn more about “adb backup -apk -shared -all
”)
Then issue that command:
fastboot oem unlock
Check if the phone is unlocked by issuing that command:
fastboot oem device-info
Reboot the device.
Re-enable the USB debugging as shown above.
Then reboot into fastboot mode to prepare your phone to temporarily boot on a custom recovery image.
adb reboot bootloader
---- fourth step - boot from TWRP ----
Now you can proceed by booting TWRP which you can download for fajita (OnePlus 6T) on that page:
https://eu.dl.twrp.me/fajita/
Download at least the img file which you will boot to install /e/
Once downloaded, boot TWRP:
fastboot boot <recovery_filename>.img
TWRP will boot and you have options to use the “Install” option and install /e/ from and OTG usb cable and USB Key or sideload /e/ using the “Advanced” option.
---- fifth step - ev. downgrade your OS and install /e/ ----
If you are currently running Android Q you will maybe face the issue that /e/ will not boot no matter what.
I suggest you try and download a full or OTA ROM of Oxygen OS P and install or sideload it. The steps are the same as installing /e/ which will be described now:
Enable the sideload mode in TWRP in the “Advanced” option or use the “Install” option to install locally from your phone.
adb sideload <os_installer_filename>.zip
the zip file can be either Oxygen OS or /e/.
You can find /e/ for fajita there:
https://images.ecloud.global/dev/fajita/
If all went well, the System should be bootable.
Reboot from TWRP and enjoy.
Useful link: