• Root without TWRP?



    If the title of this post doesn't make any sense then you can go ahead and stop reading now.

    For those still here, the few, the free, the control freaks... there's been an interesting development with Android 10 and root, one that potentially removes the requirement of a custom recovery partition.

    A custom recovery has, until now, been a critical component of the rooting procedure. My Nexuses and OnePluses of yore were, without fail, rooted by taking the following steps:

    1. Unlock the bootloader;
    2. flash a custom recovery partition;
    3. boot into custom recovery and flash a superuser zip.

    Back in the days of the Nexus One my custom recovery of choice was ClockworkMod, eventually supplanted by the TeamWin Recovery Project or TWRP. Unfortunately in its current form TWRP doesn't seem to work with Android 10—if you're interested their official explanation as to why can be read here. Fortunately this hasn't stopped the XDA hive mind from finding another way.

    After poring through forty-plus pages of this XDA thread, I think I've got the gist of it; these steps seem to work for the latest OnePlus and Pixel devices:

    1. Download a factory image for your device;
    2. extract boot.img from payload.bin*;
    3. transfer boot.img to your Android device;
    4. use Magisk Manager to root boot.img (via "Select and Patch File" command):



    5. reboot device to bootloader;
    6. use fastboot to boot device into rooted boot.img;
    7. install Magisk via OS;
    8. reboot and enjoy root!

    * Extracting an image from a binary file is no trivial thing; as a less-secure alternative you can use a modified boot image posted to that same XDA thread.

    To keep root after an OTA update follow these steps:

    1. Download update but do not reboot;
    2. use Magisk Manager to root inactive slot:



    3. reboot (into inactive slot) and continue to enjoy root!

    I'll be attempting all of the above when I get my OnePlus 7T in the next couple of weeks. So yes, this is a tutorial for myself—which I'm posting here for the benefit of anyone else who may need it.

    Source: XDA

    ---------
    Andrew Currie has been blogging about mobile phones since 2001, smartphones (depending on how you define them) since 2002 and smartwatches since 2014.
    ---------
    This article was originally published in forum thread: Root without TWRP? started by acurrie View original post
    Comments 2 Comments
    1. mn1968's Avatar
      mn1968 -
      I am by far no expert, but this is nothing new (rooting without TWRP/custom recovery). I have rooted phones on Nougat & Oreo by patching the image with Magisk. I may have even done my Moto G4 on Marshmallow that way but I really can't remember. It seems daunting the first time but is actually quite easy. Take your time and you should be fine. Good luck!
    1. zapjb's Avatar
      zapjb -
      Good luck. Thanks for mentioning only XDA & linking a thread. LOL at storing a self tutorial at Hofo. I've done it myself more than once.

      At first years ago (like 10yrs) I was rooting multiple phones every year. I was at XDA for hours a week. Now it's slightly embarrassing for me as I think I've only rooted 2 phones in 5 or 6 years. And I had to go back to good old XDA & ask for a lot of help. And they always helped. But I have to remember to check in at XDA first before buying a phone as some models don't have Mad XDA Developers wringing them out & washing them with Rooting.
  • Sponsored By

  • Facebook

  • Recent Reviews

  • Recent Forum Posts

    Relztrah

    Yes, Sprint. Sorry about the omission. I tried...

    Yes, Sprint. Sorry about the omission. I tried *72[fwd number] and *72[fwd number]* and continue to get, "The feature code you've entered is not valid." Thanks for replying.

    Relztrah Today, 10:05 AM Go to last post
    whacker

    Kind of a sidetrack to the main focus of the...

    Kind of a sidetrack to the main focus of the thread, but I'm toying with the idea of implementing CCF on one of my lines (PPC/VZW) to collect VM for it on my GV service. The line is already set up in...

    whacker Today, 09:45 AM Go to last post
    hyelton

    What carrier though? There’s several carriers...

    What carrier though? There’s several carriers redpocket uses. And each have different ways of forwarding.

    Assuming by the message you got CDMAS? Sprint?

    You would dial *720000000000

    Instead...

    hyelton Today, 09:32 AM Go to last post
    Relztrah

    How do I set up call forwarding on a Motorola Moto E4?

    Using Red Pocket on a Motorola Moto E4 with Android 7.1.1. I am trying to forward calls to another number which normally is activated by pressing *72. But when I do that I get a message, "The feature...

    Relztrah Today, 09:29 AM Go to last post
    whacker

    Mike Connors is MANNIX! I can hear the theme song...

    Mike Connors is MANNIX! I can hear the theme song and see the multi-split-screen opening credits! He looked like the Dean Martin of Private Detectives.

    https://www.youtube.com/watch?v=XXRCqjMri2Y

    whacker Today, 09:22 AM Go to last post