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?
Answer
Gather the steps in a gist.
Update
- 2017-jan-05:
Requirements
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.
- [ ] battery are
>60%
; - [ ] know what you are doing?
- [ ] remember that version used worked for me.
Screenshots are not mine, thanks to their author.
Flashing Recovery to TWRP
Flashing require to do a factory reset. Backup your data.
Prepare Phone
- enable
Developer Options
- in
Settings
->About Phone
->Build Number
(at the bottom) - by tap on it for 5-7 times to enable Developer Options
- in
- enable
USB Debugging
- in
Settings
->Developer Options
->USB Debugging.
- in
enable
OEM Unlocking
(in the same list).Install
adb
andfastboot
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 ;
- Reboot to recovery to mount the device ;
- Download SuperSU and no-verity-opt-encrypt-5.0.zip
- Copy to your smartphone Internal Storage directory (using nautilus or nemo¹) ;
- install both of them with
TWRP
; - reboot and enjoy!
Root
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.
Resources
Footnote
- ¹: I didn't manage to access my smartphone storage with
Dolphin
; - ²:
SR1-SuperSU-v2.79-SR1-20161221223537
didn't work for me.
No comments:
Post a Comment