• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [GUIDE] How to Root the OnePlus One

I had to restore my backup through TWRP and I'm wondering if I need to unlock bootloader, flash custom recovery and root again?
Re-unlock the bootloader, no. The only way for it to become locked again is if you re-lock it with a fastboot command.

Restoring a nandroid backup through a custom recovery does not write to the recovery partition, so no to this one as well.

As for the last, it depends on the status of the ROM when you backed it up. If it was rooted, it will still be rooted. If it was not rooted when you backed it up, the restored ROM will likewise not be rooted. If you don't remember, look for the SuperSU app in the app drawer, then try running an app that requires root to verify.
 
Great guide.

For your elite haxor Linux users (really?) and your narcissistic iStuff users (really?), as well as your practical Windows users who might want an md5 checker, our Mini-SDK covers all the bases -

http://androidforums.com/threads/adb-guide-updated-2014-11-11.443072/#post-5389081

Hope that helps. Because some people are narcissistic haxoring practical types - the first two of which don't need device drivers. :)
 
I just wanted to add some issues I ran into using rooting method 2 since I spent hours googling around, woulda been nice if ppl keep adding googleable issues in one place. I'm on windows 7, SP1, 64 bit. This will border on stupid obvious for most of you, so feel free to ignore ;)

first, which method? What's my firmware? system settings > about phone: CyanogenMod version: 11.0-XNPH44S is what mine said, which doesn't seem to match XNPH22Q & XNPH25R, so no method 1 for me. method 2 it is I guess.

second, getting these drivers to work was ridiculous.
control panel: search dev, select device manager. Connect your usb cord to the phone, and under Portable Devices, I have "A0001" appear. In the end, whatever drivers came with android studio and google usb extra feature download didn't cover it. I learned others just use the generic samsung drivers to finally connect.
I followed this:
http://www.technobuzz.net/install-oneplus-one-usb-drivers-windows/
whose link seemed sketchy so I googled more to find
http://forum.xda-developers.com/showthread.php?t=961956
which links to a samsung site and downloaded that one instead. Followed directions on the technobuzz site.

Only then could I get "adb devices" to list some numbers, but it was unauthorized. There was a popup on my phone to confirm my computer was ok, but my screen had long since gone to sleep. That RSA fingerprint thing won't work till the correct drivers are installed and computer restarted.

Also, finding the location may not be easy for some people. It defaulted for me to
C:\Users\Me\AppData\Local\Android\sdk\platform-tools
But AppData is a hidden folder. If you don't see it, using windows explorer, go to
C:\Users\Me\
And click Tools > Folder Options: View tab: Show hidden files and folders.
Then you can navigate to that "AppData" folder and keep going to platform_tools.
Then hold shift, right click in the blank space of that folder (not on a file), and choose "open command window here". Then type your "adb devices" into the new cmd window.



Finally I got it listing a real device like in the photos by OP, got into fastboot mode fine. Unlocked fine.

Trying to find the custom recovery files was a bit painful. I learned the OnePlus needs twrp 2 bacon. I couldn't get far on the CWM's pages, twrp seemed easier to navigate to actual files. However, the TWRP official site's download page links to 5kb .img files (http://teamw.in/project/twrp2/231). All say they're not a bootable image when I type "fastboot flash recovery recovery.img"

FAILED (remote: image is not a boot image)


Tried all, all bad. Googling, found this:
https://goo.im/devs/OpenRecovery/bacon/
Which has proper 12mb img files.
Link non-sketchy make-sure-its-probably-ok:
http://forum.xda-developers.com/showthread.php?t=2766186
(second posting)

Then, success, new error once that is fixed:

FAILED(remote: partition table doesn't exist)

Turns out, you need the full path of your recovery.img, even though I had the .img file in the platform_tools folder:

fastboot flash recovery C:/Users/Me/AppData/Local/Android/sdk/platform-tools/recovery.img
fastboot boot recovery.img


I KNOW this all might be obvious for most, but it's not for everyone, considering how many forums I sifted through with lots of ppl with each of these issues. The guide is really well written, but never underestimate how many things can go wrong with the people+technology combo, haha!

Anyway, after much struggling, my OnePlus is rooted, I have a twrp custom recovery, I have the pre-root backed up. Yipee! Thank you loads!
 

Wow, thanks for the thorough explanation of how you successfully rooted your phone. I wish you would have found my post earlier in this thread to the youtube video. It allowed me to root my phone in a few minutes and the video was very helpful and user friendly. Maybe we can get the video added to the original post. I would also recommend that your additions be added if they warrant an edit. @CafeKampuchia has been extremely helpful in this forum for all us users so lets see where we can go from here to make it more complete. Good luck with your newly rooted OPO and let us know if there is anything else we can help you with!
 
I have a problem.

Every time I attempt to root, I get stuck on part 5d. I've attached an image of the error.
I think it may have to do with the part where the computer doesn't recognize my OPO when I put it into MTP mode, but the funny thing is when I put the phone into PTP mode the computer calls it an MTP device but I only have access to DCIM and Music. So when the error happened, I was attempting it on PTP mode because in MTP mode, adb devices returns nothing, ie: my device is not connected.
 

Attachments

  • 2015-01-07_23-24-06.jpg
    2015-01-07_23-24-06.jpg
    23.7 KB · Views: 326
I have a problem.

Every time I attempt to root, I get stuck on part 5d. I've attached an image of the error.
I think it may have to do with the part where the computer doesn't recognize my OPO when I put it into MTP mode, but the funny thing is when I put the phone into PTP mode the computer calls it an MTP device but I only have access to DCIM and Music. So when the error happened, I was attempting it on PTP mode because in MTP mode, adb devices returns nothing, ie: my device is not connected.
Are you trying to flash while running Android or from fastboot mode (5C)?
 
Are you trying to flash while running Android or from fastboot mode (5C)?
From fastboot mode. I don't know if MTP/PTP settings in android have anything to do with it so I mentioned it because it was strange behaviour, but why I cannot flash and why the computer does not recognize MTP may be two separate issues.
 
From fastboot mode. I don't know if MTP/PTP settings in android have anything to do with it so I mentioned it because it was strange behaviour, but why I cannot flash and why the computer does not recognize MTP may be two separate issues.
When you issue the command "adb devices," what does it return? It should be something like this:
adb-finding-kindle-fire.png


If not, then you have a USB driver problem. See the OP to solve it.
 
This is what I get...
4db90lV.jpg

Afterwards, issuing the command "fastboot reboot" produces no change from the phone. I have to reboot by holding power and volume down.
 
@CafeKampuchia
Hi mate. I just ordered a OPO today so I've just started reading up on rooting the thing lol.
A dude on g+ told me he used a version of Wuggs Toolkit to root his OPO.. Would you recommend that for a very non-pc savvy person like myself (i dont even own a pc tbh so I'll be using my dad's and would rather get it over and done with quick-smart)
Once it's rooted and has recovery flashed I know what I'm doing, its just the pc side of things I'm worried about/dreading.
Cheers for any input mate
 
@CafeKampuchia
Hi mate. I just ordered a OPO today so I've just started reading up on rooting the thing lol.
A dude on g+ told me he used a version of Wuggs Toolkit to root his OPO.. Would you recommend that for a very non-pc savvy person like myself (i dont even own a pc tbh so I'll be using my dad's and would rather get it over and done with quick-smart)
Once it's rooted and has recovery flashed I know what I'm doing, its just the pc side of things I'm worried about/dreading.
Cheers for any input mate
I've never used a toolkit so I can't really say. I've heard of some folks bricking their devices with toolkits, but I think that is the exception, not the rule. Just make sure you use a well-supported toolkit with an active forum so you can see how it's going with others. I think Wuggs has a thread on XDA, but I'm not sure.

Hope that helps :)
 
This is what I get...
4db90lV.jpg

Afterwards, issuing the command "fastboot reboot" produces no change from the phone. I have to reboot by holding power and volume down.
Assuming that you've already unlocked the bootloader, download a recovery, leave it in the zip file and flash from the stock recovery. Alternately, use TWRP Manager.
 
I've never used a toolkit so I can't really say. I've heard of some folks bricking their devices with toolkits, but I think that is the exception, not the rule. Just make sure you use a well-supported toolkit with an active forum so you can see how it's going with others. I think Wuggs has a thread on XDA, but I'm not sure.

Hope that helps :)
Aye that helps mate, cheers :beer:
Well Wug is pretty well known for his nexus toolkits...i actually used one to root my nexus 7 tab and it went really smoothly so i think ill give it a try when my phone arrives and report back how it went.
One more thing mate, does unlocking the opo bootloader wipe data?
Cheers mate
 
Aye that helps mate, cheers :beer:
Well Wug is pretty well known for his nexus toolkits...i actually used one to root my nexus 7 tab and it went really smoothly so i think ill give it a try when my phone arrives and report back how it went.
One more thing mate, does unlocking the opo bootloader wipe data?
Cheers mate
YES!!!
eek.gif
Unlock that thing before you do anything, just like a Nexus 5.
 
Aye that helps mate, cheers :beer:
Well Wug is pretty well known for his nexus toolkits...i actually used one to root my nexus 7 tab and it went really smoothly so i think ill give it a try when my phone arrives and report back how it went.
One more thing mate, does unlocking the opo bootloader wipe data?
Cheers mate

I've used a toolkit and it worked wonderfully. Feel free to check out this link with a ton of information and the recommended toolkit on XDA - http://forum.xda-developers.com/oneplus-one/development/oneplus-one-toolkit-manudroid19-gui-t2807418
 
Excellent cheers Confed mate.
My phone got dispatched today so getting excited. Just wish I could have splashed out a bit more for the 64gb version :(
 
I bought the 64GB version yesterday and I'm coming from the Nexus 5. I'm pretty excited and will be unlocking the bootloader as soon as I've marvelled at the phone :D
 
Where'd you order yours from Byno mate?

Got it from the OnePlus UK site bud, they were doing a 2 hour window for sales without an invite (I've actually had 2 invites in the past but couldn't put my N5 down)

Managed to get one ordered about dinnertime even though the 2 hour window was from 19:00 - 21:00 :D

Hopefully have it Saturday so I can spend most of the weekend tinkering!
 
Cool mate. I ordered mine from Amazon and it was supposedly dispatched last Friday but still not here yet.
How much did you pay for yours? Mine was 250 Inc postage for the 16gb model
 
Ended up being £276 all in for the sandstone black 64GB. I actually like the look of the white one better but for the price I couldn't say no (plus I know I'll love the colour regardless :) )
 
Back
Top Bottom