I Recently bought a OnePlus 3T
and want to flash and root it.
Most resource focus on OnePlus3
and on Windows.
How do I do that on Linux?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.
Sign up to join this communityGather the steps in a gist.
SuperSU
with no-verity-opt-encrypt-5.0.zip
and SR5-SuperSU-v2.78-SR5-20161130091551.zip
² ;Disclaimer: I've already done those kind of install on different phones and I'm familiar with the steps. So be sure to read the resources to get an understanding of what happens.
>60%
;Screenshots are not mine, thanks to their author.
Flashing require to do a factory reset. Backup your data.
Developer Options
Settings
-> About Phone
-> Build Number
(at the bottom)USB Debugging
Settings
-> Developer Options
-> USB Debugging.
enable OEM Unlocking
(in the same list).
Install adb
and fastboot
tooling:
sudo apt-get install android-tools-adb android-tools-fastboot
Reboot to bootloader either with or through power button ;adb reboot bootloader
Unlock the bootloader:
sudo fastboot oem unlock
Flash the recovery with TWRP
:
sudo fastboot flash recovery twrp-3.0.3-0-oneplus3t.img
Reboot to recovery to wipe cache ;
SR5-SuperSU-v2.78-SR5-20161130091551.zip
(the 2.79
² didn't worked for me) ;no-verity-opt-encrypt-5.0.zip
(dm-verity
and forced encryption disabler).TWRP
;The rooting procedure given here is not a data-loss process but it won’t hurt to have a backup of your smartphone’s personal data.
SR5-SuperSU-v2.78-SR5-20161130091551.zip
- download.chainfire.eu.no-verity-opt-encrypt-5.0.zip
- build.nethunter.com.Dolphin
; SR1-SuperSU-v2.79-SR1-20161221223537
didn't work for me.lsusb
) when you are in fastboot mode? Mine didn't change. I'm stuck right now, cannot issue fastboot oem unlock
because there's no fastboot device. I still see my phone as an ADB device. Should I switch it to MTP or PTP mode instead of USB debug when try to fastboot unlcok or flash?
Feb 21, 2017 at 7:50
2a70:9011
. I never used MTP/PTP for this flash/rooting. What do you mean by "I'm stuck"?
Feb 21, 2017 at 13:35
fastboot devices
doesn't show my device, returns empty. adb devices
shows my phone and it's USB id is still the regular 05c6
. Somehow I cannot boot to fastboot? I don't understand. See android.stackexchange.com/questions/169509/…
Feb 21, 2017 at 18:03
2a70:9011
USB device when I switch the phone to MTP USB mode. (With PTP ot's 2a70:904e
). Unfortunately fastboot devices
shows nothing still. What is your udev configuration please?
Feb 23, 2017 at 7:14
SUBSYSTEM=="usb", SYSFS{idVendor}=="2a70", MODE="0666"
and SUBSYSTEM=="usb", ATTR{idVendor}=="2a70", MODE="0666", GROUP="plugdev"
. For regular USB debug I have these rules with 05c6
Feb 23, 2017 at 7:16