Thursday, October 25, 2018

rom flashing - How to flash and root OnePlus 3T 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?



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



  1. enable Developer Options

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


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



  2. enable USB Debugging

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




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



    developer-options http://cdn3.freeandroidroot.com/wp-content/uploads/2016/11/Enable-OEM-Unlock-USB-Debugging.jpg




  4. Install adb and fastboot tooling:


    sudo apt-get install android-tools-adb android-tools-fastboot


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





  6. Unlock the bootloader:


    sudo fastboot oem unlock


  7. Flash the recovery with TWRP:


    sudo fastboot flash recovery twrp-3.0.3-0-oneplus3t.img


  8. Reboot to recovery to wipe cache ;




  9. Reboot to recovery to mount the device ;

  10. Download SuperSU and no-verity-opt-encrypt-5.0.zip


  11. Copy to your smartphone Internal Storage directory (using nautilus or nemo¹) ;

  12. install both of them with TWRP ;

  13. 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.


source



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

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...