5
Linux Install Guide for Oxygen OS

?

Did you find this tutorial useful?

  1. Very useful :-)

    19 vote(s)
    73.1%
  2. Somewhat useful

    3 vote(s)
    11.5%
  3. Not useful at all :-(

    4 vote(s)
    15.4%
  1. wittyman37
    Eclair Apr 4, 2015

    wittyman37 , Apr 4, 2015 :
    Linux install instructions
    References
    https://forums.oneplus.net/threads/oxygenos-is-here-installation-guide.289398/
    http://twrp.me/devices/oneplusone.html
    https://wiki.archlinux.org/index.php/Android
    http://www.oppoforums.com/threads/device-not-unlocked-cannot-flash-or-erase.20470/
    http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html

    I just did this today on Arch Linux using the official guide and a number of resources shown above.

    Step 1
    Install the tools for adb and fastboot
    Arch Linux
    Code:
    sudo pacman -S android-tools android-udev
    Ubuntu
    Code:
    sudo add-apt-repository ppa:nilarimogard/webupd8
    sudo apt-get update
    sudo apt-get install android-tools-adb android-tools-fastboot
    
    Download TWRP from here: http://dl.twrp.me/bacon

    Enable USB debugging
    On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options. Enable USB debugging and turn off update recovery to prevent rebooting into Cyanogen recover.

    Connect your phone via USB and authorize the connection from your phone.

    Use adb to install TWRP
    Code:
    adb reboot bootloader
    fastboot flash recovery ~/Downloads/twrp-2.8.6.0-bacon.img
    fastboot reboot
    
    If the second command above fails, then run the command below, reboot your phone, reconnect to computer and run the commands above again.
    Code:
    fastboot oem unlock

    Step 2
    Unzip oxygenos_1.0.0.zip. In there, you will see a oxygenos_1.0.0.flashable.zip file. Copy oxygenos_1.0.0.flashable.zip to your phone.

    Step 3
    Boot into recovery. You can do this on your OnePlus One by holding down both the volume down key and the power button.

    Step 4
    Once you are in the recovery interface, the first thing you want to do is a factory reset. Again, you will lose all your data so please make sure you have backed up everything before doing this.

    Step 5
    After the wipe, go to install and find oxygenos_1.0.0.flashable.zip. Confirm flash. This will flash OxygenOS onto your device.

    Step 6
    After the flash succeeds, you can reboot the device, which will take you to the new OxygenOS. Enjoy!
     
    Last edited: Apr 8, 2015

    #1
  2. ilya082000
    Cupcake Apr 5, 2015

    ilya082000 , Apr 5, 2015 :
    When I wrote
    fastboot oem unlock
    Ubuntu writes: < waiting for device > and nothing happen.
    What shall I do?
     

    #2
    mastro_misciu likes this.
  3. wittyman37
    Eclair Apr 5, 2015

    wittyman37 , Apr 5, 2015 :
    OK, this happened to me too. I had to restart the phone, reconnect to computer, then go from adb reboot bootloader.
     

    #3
  4. Psycho Squid
    Eclair Apr 5, 2015

    Psycho Squid , Apr 5, 2015 :
    Try sudo fastboot oem unlock
     

    #4
    rikardo1979 and cortexuvula like this.
  5. seether84
    Jelly Bean Apr 5, 2015

    seether84 , Apr 5, 2015 :
    You need to be root to perform fastboot in Linux (here Mint)

    So try sudo (sudo has to be installed if you're not on ubuntu distros)
    or use su
     

    #5
    rikardo1979 likes this.
  6. wittyman37
    Eclair Apr 5, 2015


    #6
  7. seether84
    Jelly Bean Apr 5, 2015


    #7
  8. wimhuizinga
    Cupcake Apr 6, 2015

    wimhuizinga , Apr 6, 2015 :
    Great instruction! Many thanks :)
    I was able to perform this on Fedora 21 with these instructions. I only had to install the package 'android-tools'. This package included ADB and Fastboot.

    There is one thing I would like to point out: When in 'Settings' you need to uncheck 'update CM recovery'. Otherwise the OnePlus One will enter Cyanogen Recovery instead of TWRP after flashing the TWRP image.

    To some other folks here: Indeed some commands need to be run as root, like fastboot.
     

    #8
  9. rikardo1979
    Community Veteran Apr 6, 2015


    #9
  10. mastro_misciu
    Eclair Apr 7, 2015

    mastro_misciu , Apr 7, 2015 :
    HELP ME!!! There is a problem! I HAVE ALSO DELETE INTERNAL STORAGE IN WIPE AND I have lost the FILE ZIP. IS THERE A SOLUTION WITH A COMAND IN ADB FASTBOOT?
    EDIT: I DON'T HAVE A USB-OTG IN THIS MOMENT HELP ME!!
     

    #10
  11. wittyman37
    Eclair Apr 7, 2015

    wittyman37 , Apr 7, 2015 :
    When you wipe the device this might remove the zip file if you copied the zip file before wiping. Simply start the phone and skip the setup options. Then copy the zip file and reboot into recovery mode.
     

    #11
  12. Turbovomit
    Gingerbread Apr 8, 2015

    Turbovomit , Apr 8, 2015 :
    Developer Options. Turn off “Update recovery with system options”
    That was useful.
    If you don't change that, you boot on cyanogen recovery.
     

    #12
  13. wittyman37
    Eclair Apr 8, 2015


    #13
  14. scorpes
    Cupcake Apr 13, 2015

    scorpes , Apr 13, 2015 :
    I got this problem when trying the flash recovery:

    fastboot flash recovery /home/renderman/Downloads/twrp-2.8.6.0-bacon.img
    target reported max download size of 536870912 bytes
    sending 'recovery' (5 KB)...
    OKAY [ 0.004s]
    writing 'recovery'...
    FAILED (remote: image is not a boot image)
    finished. total time: 0.008s
     

    #14
  15. traxtopel
    Gingerbread Apr 13, 2015


    #15
  16. scorpes
    Cupcake Apr 13, 2015


    #16
  17. traxtopel
    Gingerbread Apr 13, 2015


    #17
  18. scorpes
    Cupcake Apr 13, 2015


    #18
  19. traxtopel
    Gingerbread Apr 13, 2015


    #19
  20. scorpes
    Cupcake Apr 13, 2015


    #20