[ToolKit] OnePlus 3 Toolkit for Linux

santeri3700

Senior Member
Aug 13, 2012
280
505
0
Espoo
OnePlus 3 Toolkit for Linux.
** DISCLAIMER: I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR DEVICE. USE AT YOUR OWN RISK! **
This little script/toolkit can do following things:
- Enable ADB support
- Unlock bootloader
- Flash TWRP
- Flash other recoveries
- Push SuperSU (must be flashed manually)

This tool should work on modern Linux distros!
Mac OS X is tested and reported working,
but use with your own risk!

Download from GitHub. (download as zip)
After extraction, run "chmod +x ./op3toolkit"
and then you are able to run it.

Thanks to:
TeamWin for the TWRP!
@Chainfire for the SuperSU!
OnePlus for the ADB script!
Google for the SDK Tools!

If you need to discuss with me, please PM!

XDA:DevDB Information
OnePlus 3 Toolkit for Linux, Tool/Utility for the OnePlus 3

Contributors
santeri3700
Source Code: https://github.com/santeri3700/op3toolkit


Version Information
Status: Testing

Created 2016-06-24
Last Updated 2016-08-02
 

fadedout

Senior Member
Jan 26, 2012
79
110
0
I wouldn't worry too much about a GUI version. Cross-platform support is difficult and the shell script keeps things simple. But if you're determined to create a GUI, I recommend a dialog tool like zenity (or the yad fork which is even better). That way you can just add a basic GUI dialog to the shell script. I think zenity is available on OS X via homebrew, but it's probably not native. For native dialogs on OS X maybe use cocoaDialog.

I agree that it would be good to see this on GitHub. I do a lot of shell scripting and development on Linux (you can see my GitHub profile here). Just looking over this now, I already have some suggestions and hosting it on GitHub would make it easy to contribute via a pull request.
 

santeri3700

Senior Member
Aug 13, 2012
280
505
0
Espoo
Update

I uploaded a new experimental version to GitHub, but
had to remove the automatic TWRP download function
because TeamWin does not allow it (if I have understood correctly).
I have tested most of it on Ubuntu 16.04 and worked for me.
I need some testers before I'll put it as the main version.
Also testing with a Mac and 3T would be awesome.

Temporary info: Official TWRP image does not work with the Android 7.0 update.
 
Last edited:
  • Like
Reactions: ArdeX and piats