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?
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?
Gather 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 issuefastboot oem unlockbecause 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? – Csaba Toth Feb 21 '17 at 07:502a70:9011. I never used MTP/PTP for this flash/rooting. What do you mean by "I'm stuck"? – Édouard Lopez Feb 21 '17 at 13:35fastboot devicesdoesn't show my device, returns empty.adb devicesshows my phone and it's USB id is still the regular05c6. Somehow I cannot boot to fastboot? I don't understand. See https://android.stackexchange.com/questions/169509/why-fastboot-devices-is-empty-on-ubuntu-16-10 – Csaba Toth Feb 21 '17 at 18:032a70:9011USB device when I switch the phone to MTP USB mode. (With PTP ot's2a70:904e). Unfortunatelyfastboot devicesshows nothing still. What is your udev configuration please? – Csaba Toth Feb 23 '17 at 07:14SUBSYSTEM=="usb", SYSFS{idVendor}=="2a70", MODE="0666"andSUBSYSTEM=="usb", ATTR{idVendor}=="2a70", MODE="0666", GROUP="plugdev". For regular USB debug I have these rules with05c6– Csaba Toth Feb 23 '17 at 07:16android-tools-fastbootbut that doesn't see the device either. – Csaba Toth Feb 23 '17 at 07:27android-tools-adb android-tools-fastboot– Édouard Lopez Feb 23 '17 at 10:39