2018. április 24., kedd

Oneplus One Android update on Ubuntu

USE FOR YOUR OWN RISK - only upgrade your phone if you know what you're doing!

Download latest:
https://dl.twrp.me/bacon/twrp-3.2.1-0-bacon.img.html
https://devsjournal.com/top-10-custom-rom-for-oneplus-one-bacon.html

apt install android-tools-adb
apt install adb
apt install fastboot

adb devices

lsusb
Bus 001 Device 010: ID 18d1:d00d Google Inc.

sudo nano /etc/udev/rules.d/51-android.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="d00d", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"

sudo service udev restart

sudo fastboot devices

If device is not shown, do this:

https://stackoverflow.com/questions/46128913/list-of-devices-attached-is-empty-on-ubuntu-16-04-using-adb-devices
https://www.youtube.com/watch?v=HGbcVoR4i74

sudo fastboot devices
sudo fastboot oem unlock
sudo fastboot flash recovery recovery.img
fastboot boot recovery.img