Install /e/OS on a OnePlus - Nord avicii
This guide installs /e/OS on your avicii. Read it through once before you start, so you don’t hit surprises partway in. Flashing is done at your own risk: /e/OS builds are provided as best effort, without any guarantee, and the /e/OS project takes no responsibility for the consequences.
Requirements
- Back up your important data to an external storage device — some of the steps below format the phone, wiping any backup left on it.
- Charge your phone above 50%.
- Enable
adbandfastbooton your PC — setup instructions. - Download every file listed in the Downloads section below before you start.
- Use a real data cable — some cables only charge and can’t transfer data.
- Enable USB debugging on your device — instructions.
- Confirm your exact model in the Device Selector: where shown, hover the device name for the supported model number, and check it matches yours exactly.
- Boot the stock OS at least once and check everything works — SMS, calls, and both over WiFi and LTE if available (some devices need VoLTE/VoWiFi used once on stock to provision IMS). Whatever’s broken on stock stays broken on /e/OS.
Downloads for avicii
- If you need to revert to stock ROM (vendor provided ROM), Please follow the instructions given in the OS specific guide linked here
- Windows OS Guide
Not sure which one to pick? See official vs. community builds.
Unlocking the bootloader
These steps only need to be run once per device. Unlocking the bootloader will erase all data on your device — make sure anything you want to keep is backed up (see Requirements above). Not sure what unlocking changes on your device? See Bootloader relocking.
no permissions fastboot while on Linux or macOS, try running fastboot as root.Enable OEM unlock in the Developer options under device Settings, if present.
Connect your device to your PC via USB.
On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloaderYou can also boot into fastboot mode via a key combination:
- With the device powered off
- hold Volume Up + Volume Down + Power.
Once the device is in fastboot mode, verify your PC finds it by typing:
fastboot devicesNow type the following command to unlock the bootloader:
fastboot oem unlockIf the device doesn’t automatically reboot, reboot it. It should now be unlocked.
Since the device resets completely, you will need to re-enable USB debugging to continue.
Installing /e/OS
Unzip the archive
unzip <fileyoudownloaded>Replace
<fileyoudownloaded>with the name of the archive file you downloaded.Alternately you can create a folder and unzip the archive there.
Confirm that extracted directory contains following content:
bin-linux-x86 directory- which contains linux tools including fastboot and adbbin-msys directory- which contains Windows tools including fastboot and adbimg files- Theimgfiles that are to be flashed onto the device.flash_avicii_factory.sh- The installer script.
Boot into bootloader/fastboot mode.
- With the device powered off
- hold Volume Up + Volume Down + Power.
Run the installer script on Terminal(Linux) or on Git Bash UI(Windows).
- Make sure you are in the current directory which contains the
flash_avicii_factory.shfile.
Linux
- Right click -> Open terminal here
- Execute the following command:
chmod +x flash_avicii_factory.sh && ./flash_avicii_factory.shWindows
- Right click -> Git Bash here
- Execute the following command:
chmod +x flash_avicii_factory.sh && ./flash_avicii_factory.shThe script will flash all required files.
- Make sure you are in the current directory which contains the
Enjoy! The device will now reboot automatically on /e/OS.
Still need help to complete the installation ?
Need help to unlock the bootloader ?
- Check out this guide
TMobile user ?
Guides to help unlock the SIM
Having problems getting the device detected on Windows OS?
Guide on installing drivers on Windows OS
To find some troubleshooting tips… click here
adb
- Getting a
Total xFer ':' 0.01xmessage - Try to upload the /e/OS to internal storage and retry to install adb ':' sideload connection failed ':' insufficient permissions for deviceerror - Try to execute the commandsadb kill-serverandadb start-serverand retry- Getting an
insufficient permissionserror - Try the solution given here - When running "adb devices" in bash a device is shown as "unauthorized" - Try the solution given here
Connectivity
- Trying to troubleshoot mobile connectivity issues - Read this guide
Please share your experience , suggest tips or changes to this install guide documentation by visiting the Nord specific topic on our community forum. To report issues in /e/OS please refer this guide