How to flash and root OnePlus 3T on Linux

in #technology6 years ago (edited)

falshing android linux.jpg

There are literally thousends of flashing- and rooting-tutorials. But these are not always the same, or respectively has different ways to flash.

Currently I am using Oneplus 3T and I love that device. I noticed there're not that much custom roms out there then I thought. Because of I flash roms very regulary to try out different systems I wanted to note my steps down on Gist.GitHub. Also I want to share this 'journey' with you.

The special condition is I am using linux. Most how-tos are for windows. *cough ..., well.

The fallowing is a copy from my Gist. Note that this is forked and edited. You can see the original one at the buttom at 'Ressources'.

OK, I would say - lets get into it.


How to flash and root OnePlus 3T on Linux

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.

Flashing Recovery to TWRP

Flashing require to do a factory reset. Backup your data.

Prepare Phone and Computer

  1. enable Developer Options

  2. in Settings -> About Phone -> Build Number (at the bottom)

  3. by tap on it for 5-7 times to enable Developer Options

  4. enable USB Debugging

  5. in Settings -> Developer Options -> USB Debugging.

  6. enable OEM Unlocking (in the same list).

  7. Download 'Android-Platform-Tools' from Developer.Android.com

  8. Move into the folder 'Android-Platform-Tools

Install Recovery

  1. Reboot to bootloader either with adb reboot bootloader or through power button ;

  2. Unlock the bootloader:

     sudo fastboot oem unlock
    
  3. Download the latest TWRP image to flash ;

  4. Flash the recovery with TWRP:

     sudo fastboot flash recovery "$image_to_flash"
    
  5. Reboot to recovery to wipe cache ;

  6. Reboot to recovery to mount the device ;

Rooting with Magisk

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.

Download the fallowing Files:

  1. Download and transfer both the Magisk zip and Magisk Manager apk files from the download link above to your device’s storage.
  2. Boot your device into TWRP recovery.
  3. Tap on Install and select the Magisk zip file that you transferred to your device in Step 1.
  4. After selecting the .zip file, do Swipe to Confirm Flash on the bottom of screen to begin the flashing process.
  5. Once Magisk is flashed, you’ll get Reboot System option, select it.
  6. Once your device reboots, open a file manager app » go to the folder where transferred the Magisk Manager apk file in Step 1 above, and install it.
  7. Open the Magisk Manager app and check for your device’s root status.

Troubleshooting

  • No write access to storage in TWRP? Wipe data/cache (≠ format data)
  • Rom not booting? Reinstall recovery and ROM…

Resources


So, thats it. Basically very easy, isn't it? :) Ok,

thanks and have a nice day.

equaliser_footer_banner.png
genratio_footer_banner.png
minimalcity_footer_banner.png

Coin Marketplace

STEEM 0.19
TRX 0.16
JST 0.033
BTC 64010.98
ETH 2791.72
USDT 1.00
SBD 2.65