Awesome tutorial, really clear and dettailed! Thank you mate!
Glad you liked it!
If you are using a release without adb tools packaged in the repo, you also need the udev rule set.
Just google "udev android".
@nguser I will try it, when I get my one. Thanks
I've supposedly flashed TWRP, but everytime I boot into recovery, I get the same CyanogenMod Simple Recovery, and can't continue. Any thoughts?
Boot works, but I'd like to flash it permanently.
sudo fastboot flash recovery twrp.img
sudo fastboot reboot-bootloader
sudo fastboot reboot
Then try to enter TWRP. Let me know please and sorry fot the late reply.
Ok thanks, but what is the purpose of doing this? I'm just a noob and i don't get what are those "privileges" that provide a rooted phone and Ubuntu.
Can someone explain?
Gaining root privileges on your phone means that you have full control on it. You can install apps that need special permissions to work properly since they operate at a deeper level than normal apps.
Example: Greenify, Titanium Backup.
If adb devices output looks like this:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
???????????? no permissions
Run these commands:
sudo adb kill-server
sudo adb start-server
sudo adb devices
If you are on Windows and you're having problems with ADB and USB drivers, you can follow my guide using an Ubuntu Linux virtual machine on VirtualBox. Follow this complementary walkthrough by @Rapante to know how to properly set everything up: [GUIDE] Set-up VirtualBox with Ubuntu on Windows to unlock the bootloader of the OnePlus One.
Wow never knows virtualbox lets you get till so far on usb communications
Great guide man. You are doing the community a service.
It's my pleasure to serve you, my friend. Glad you find it useful
Any issues installing OTA's afterward? Just asking...
if you flash TWRP, OTA is broken. But if you only boot into TWRP via fastboot (sudo fastboot boot TWRP.img), the stock recovery will stay in place and OTA should be working
see also: https://forums.oneplus.net/threads/like-a-boss-how-to-root-your-oneplus-one.58493/
Notice that using this method you won't actually install TWRP, so you won't be able to flash ROMS without using your computer to boot into TWRP
This information is already on my first post:
oops, didn't see that
Week 170: We Upgrade Our Android, Fly to Paris, and Ask Adam
by Chris dB, 2017-03-18