Author Topic: How to update Magisk on rooted Android from Planet  (Read 1737 times)

TauPan

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • http://
How to update Magisk on rooted Android from Planet
« on: October 04, 2020, 05:55:42 am »
Yesterday a new version of Magisk became available on the Beta Channel (21.0).

As with the Gemini the direct update method will fail, but fortunately the custom os installer on the sd card from planet gives us a method to upgrade on the device.

I had success with the following steps yesterday:

1.) I started termux and got root with tsu. Obviously this requires that you are booted into rooted android. Then I checked the partition table with gdisk -l /dev/block/mmcblkp0 and noted that the boot partition is number 30. I think this is identical if you partioned in the custom os installer. So the command to dump the unrooted boot partition is:

dd if= /dev/block/mmcblk0p30 of=boot-original.img

2.) Start magisk, Tap on "Install" for the new magisk version, and under "method" choose "patch file".

3.) Create a backup of the rooted boot image from planet, if something fails you can use that to restore the old version.

4.) copy the magisk-patched.img file to the original filename of the rooted boot image from planet. The filename is "root-boot.img".

5.) Boot to recovery and launch the custom os installer then install "rooted android" to the correct partition.

After the next reboot to the rooted android you should see the updated version in magisk manager. (I would post a screenshot, but attachments are disabled at the moment.)

Have fun!
« Last Edit: October 04, 2020, 06:03:26 am by TauPan »

Zarhan

  • Sr. Member
  • ****
  • Posts: 363
    • View Profile
Re: How to update Magisk on rooted Android from Planet
« Reply #1 on: October 04, 2020, 07:38:16 am »
Is there some specific reason why I'd want to upgrade? Any new killer feature?

I mean, Magisk is a component that is somewhere very deep in the OS. As such, I'd prefer to run the most stable possible version available. For a daily driver, running beta stuff on OS level sounds like asking for trouble...

TauPan

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • http://
Re: How to update Magisk on rooted Android from Planet
« Reply #2 on: October 04, 2020, 07:52:18 am »
Is there some specific reason why I'd want to upgrade? Any new killer feature?

I mean, Magisk is a component that is somewhere very deep in the OS. As such, I'd prefer to run the most stable possible version available. For a daily driver, running beta stuff on OS level sounds like asking for trouble...

Sure. The procedure I outlined will work for the next stable release as well.

As for your question: I guess not. See changelog: https://topjohnwu.github.io/Magisk/changes.html
« Last Edit: October 04, 2020, 07:55:48 am by TauPan »