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 adb and fastboot on 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.
Warning: Log out of any accounts (Google, Samsung, Mi Account, etc.) set on the stock ROM before proceeding. Most vendors enable Factory Reset Protection (FRP): after a factory reset, a device that's still signed in will ask for the credentials of that account before it can be used again. Also remove any screen locks.

Downloads for avicii

Tip: Before installing /e/OS on the OnePlus Nord avicii for the first time, install the latest stock OS version 12 build on the device
  • If you need to revert to stock ROM (vendor provided ROM), Please follow the instructions given in the OS specific guide linked here

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.

Tip: If you see no permissions fastboot while on Linux or macOS, try running fastboot as root.
  1. Enable OEM unlock in the Developer options under device Settings, if present.

  2. Connect your device to your PC via USB.

  3. On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:

    adb reboot bootloader
    

    You can also boot into fastboot mode via a key combination:

    • With the device powered off
    • hold Volume Up + Volume Down + Power.
  4. Once the device is in fastboot mode, verify your PC finds it by typing:

    fastboot devices
    
  5. Now type the following command to unlock the bootloader:

    fastboot oem unlock
    
  6. If the device doesn’t automatically reboot, reboot it. It should now be unlocked.

  7. Since the device resets completely, you will need to re-enable USB debugging to continue.

Installing /e/OS

Tip: For Windows users, we advise to use Git Bash. For more info about Downloads and Installation see Official Documentation
  1. 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.

  2. Confirm that extracted directory contains following content:

    • bin-linux-x86 directory - which contains linux tools including fastboot and adb
    • bin-msys directory - which contains Windows tools including fastboot and adb
    • img files - The img files that are to be flashed onto the device.
    • flash_avicii_factory.sh - The installer script.
  3. Boot into bootloader/fastboot mode.

    • With the device powered off
    • hold Volume Up + Volume Down + Power.
  4. 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.sh file.

    Linux

    • Right click -> Open terminal here
    • Execute the following command:
    chmod +x flash_avicii_factory.sh && ./flash_avicii_factory.sh
    

    Windows

    • Right click -> Git Bash here
    • Execute the following command:
    chmod +x flash_avicii_factory.sh && ./flash_avicii_factory.sh
    

    The script will flash all required files.

  5. Enjoy! The device will now reboot automatically on /e/OS.

Success: Congratulations! Your phone should now be booting into /e/OS.

Still need help to complete the installation ?

Need help to unlock the bootloader ?

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.01x message - Try to upload the /e/OS to internal storage and retry to install
  • adb ':' sideload connection failed ':' insufficient permissions for device error - Try to execute the commands adb kill-server and adb start-server and retry
  • Getting an insufficient permissions error - 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