• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.
  • If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.

[ToolKit] OnePlus 3 Toolkit for Linux

santeri3700

New 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

New 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

New 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
Our Apps
Get our official app! (coming soon)
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone