Remove All Ads from XDA

[RECOVERY] [OFFICIAL] TWRP 3.3.1 for Galaxy S10 Exynos [G970F/G973F/G975F/G977B]

2,077 posts
Thanks Meter: 3,128
Post Reply Email Thread
Announcement from ianmacd: This fork of TWRP for the S10 Exynos series fixes serious bugs in the original and provides enhanced support.


After TWRP first appeared for the S10 range of devices, it quickly became clear that there were some major issues with the initial builds.

Many users were understandably frustrated at losing the ability to boot their device after shutting it down, and at being unable to update Magisk after installing TWRP.

A number of users took to contacting me privately for support. I answered their questions and even shared fixed images in a few cases, but the number of support requests was rising daily and I could not keep pace with the demand.

Given that the poster of the original images (Geiti94) was evidently unable to offer fixed TWRP images in a timely fashion, I ultimately took the liberty of doing so myself in a posting to the original TWRP thread as a service to the community.

Whilst this served to relieve the immediate pressure, the ongoing need to fix bugs and make further enhancements to the software made a fork of the original project inevitable, so I have taken the step of promoting it to its own DevDB project and thread here on XDA.

Credit goes to Geiti94 for conducting the time-consuming initial legwork and releasing the original builds. His is the foundation on which this work now builds. This fork in no way implies any disrespect to him, but does strongly acknowledge the need of the S10 user base to be supplied with proper, working images and timely updates.

System-as-root with A-only partitioning scheme

All new devices launched with Android 9 are required to be factory-configured as system-as-root devices. The ramdisk image formerly used in boot.img is now merged with system.img.

For Samsung devices such as the S10 series, this means that boot.img can no longer be used to root the device. Instead, Magisk will be installed to the recovery partition and the user will be required to always boot to that partition, regardless of whether TWRP or Android is desired. The hardware keys are used at boot time to select either Magisk-rooted Android or TWRP.

This configuration dictates that TWRP and Android share a common recovery kernel. However, because TWRP cannot be booted with a stock kernel, a custom kernel must be compiled from Samsung's source code. Unfortunately, this kernel is sensitive to changes in Samsung's firmware releases from one month to the next, meaning that problems can arise if a given kernel is used with firmware newer than the version the kernel was intended for.

This unfortunate situation necessitates semi-regular maintenance releases of TWRP to keep the kernel in step with the latest version of the S10 series firmware. This requirement is further complicated by the fact that any given release of Samsung's modified kernel source code typically trails the associated firmware release by anything from a few days to a few weeks.

TWRP without Magisk

If your device is currently still unrooted and running stock firmware, you are strongly advised not to proceed with installing TWRP. First root your device with Magisk, using John Wu's excellent Samsung system-as-root-instructions for patching the firmware's AP file. Only when you have completed that procedure should you return here and continue from the Image Preparation section.

If you insist on proceeding with installing TWRP to a stock device without Magisk, you will need — at a minimum — to flash a vbmeta.img with verity disabled or you will render your device unable to boot. You can construct such an image using the following command:

$ avbtool make_vbmeta_image --out vbmeta.img
Alternatively, if you don't have a copy of avbtool at hand, the following piece of shell code will do the trick on the device itself:

h=$(printf '4156423%08d1%0240d617662746f6f6c20312e312e3%0230d')
while [ $i -lt ${#h} ]; do
printf "$d" > vbmeta.img
Next, flash this to the vbmeta partition, using either Heimdall or Odin.

# heimdall flash --VBMETA vbmeta.img
You may then proceed with installing TWRP according to the instructions below.

Image preparation

In contrast to the original Geit94 release, these and subsequent TWRP images will not be supplied pre-rooted with Magisk. Whilst it would be trivial to offer them in this format, this kind of binary distribution of Magisk is against the terms of use laid out by Magisk's developer, John Wu.

To root the TWRP image yourself, simply use Magisk Manager to Select and Patch a File. Provide your freshly downloaded TWRP image file as the input.


You are now ready to flash the resulting magisk_patched.img image file to your device's recovery partition.

One quick and easy way to do this on an already rooted device is from a root shell:

# f=/storage/emulated/0/Download/magisk_patched.img; dd if=$f of=/dev/block/sda15 bs=$(stat -c%s $f)
1+0 records in
1+0 records out
61734912 bytes transferred in 0.426 secs (144917633 bytes/sec)
If TWRP is already installed and you are merely updating it, you may, of course, use TWRP itself to flash the new version.

If the device is not yet rooted (or even if it is), you may use Odin in Windows, but you will need to rename and tar the image first. Otherwise, Odin will not understand what to do with the image.

For example:

$ mv twrp-beyond[012]lte.img recovery.img
$ tar cf twrp-beyond[012]lte.img.tar recovery.img
And if rebooting to Windows is too disruptive, there's always Heimdall:

$ sudo heimdall flash --RECOVERY twrp-beyond[012]lte.img

The latest unofficial local builds currently available are:

The latest official builds are available from the official TWRP site. Note that there is no official build for beyondx (G977B), because officially supported status has not been sought.

Unless you have a very particular requirement, you are advised to use the unofficial builds for reasons discussed under Frequently Asked Questions below.

These builds are based on the latest version of TWRP, 3.3.1-0, and include a 4.14.85 kernel compiled from Samsung's latest available source code. The kernel runs in SELinux enforcing mode and its configuration has intentionally been kept as close to stock as possible in order to provide maximum compatibility with both Android and TWRP.

The builds have been well-tested and are known to work as intended on supported firmware versions. See posting #2 of this thread for details of which TWRP builds work with which versions of Samsung's firmware.

If you later find yourself running on updated firmware that is incompatible with this kernel, you have the option of flashing and rebooting to TWRP on demand. When you are finished in TWRP, you can replace your recovery image with Magisk-rooted stock recovery and reboot back to Android.

If installing TWRP on your device for the first time or reinstalling it following a firmware upgrade, do not forget to disable file-based encryption (FBE) immediately after flashing TWRP or you won't be able to read files on /data in TWRP. To achieve this (and to protect yourself against various anti-root protection mechanisms that Samsung have booby-trapped the device with), flash the multidisabler as soon as you have installed TWRP.

Device firmware updates

When it comes time to update your device's firmware, please follow John Wu's excellent instructions for patching the firmware's AP file. Do not skip any of the steps.

Next, use Odin to flash the patched AP file, together with the stock BL, CP and HOME_CSC files. Never leave the CSC slot empty when flashing an AP file, or your /data partition may be shrunk and your data damaged during the flash.

When finished, immediately reboot back to download mode and reflash your Magisk-patched TWRP image. Alternatively, you may replace recovery.img in the patched AP file with your rooted TWRP image, thereby avoiding the need to separately reflash TWRP afterwards:

$ tar f magisk_patched_twrp.tar --delete recovery.img && tar rf magisk_patched_twrp.tar recovery.img
Lastly, boot to TWRP and reflash the multidisabler. Note that your first boot to TWRP after installing new firmware may just run a post-installation recovery script that wipes /cache, so you may need to trap the automatic reboot that follows and boot to TWRP a second time.

Do not skip rerunning the multidisabler, as flashing new firmware will have re-enabled critical security features that you must now re-disable.

Frequently Asked Questions

Q. Is there a difference between the builds offered here and those on the official TWRP site?

A. Both the official and unofficial builds are compiled from the android-9.0 branch of TWRP, using the source code of the latest official versioned release of TWRP. Any post-release changes present in the HEAD of the android-9.0 branch are usually omitted.

The latest unofficial builds may contain device tree changes not yet integrated into the official builds, due to the bureaucratic overhead of the official release engineering process. They may also contain patches to TWRP itself, which are either pending upstream approval (a slow process), or unable to be integrated into the official versions, due to policy or technical restrictions; or just because the TWRP maintainers object to them.

Additionally, the official versioning can get out of step with the unofficial versioning. This can happen, for example, if two unofficial releases appear in quick succession, before the first sees its official release. In such a case, the second revision can find itself released with the version number intended for the first revision.

Due to the additional complexity and overhead associated with maintaining the official builds, I now recommend using only the unofficial builds. The official builds provide no technical advantage whatsoever.
Q. I've just updated my G97[035]F device to ASIG firmware and now I can no longer boot to TWRP, which means I also can't flash the multidisabler to keep encryption disabled. What can I do?
Samsung's new ASIG firmware for the S10 series has proven to be incompatible with any kernel compiled for an earlier version of the firmware. You are urged to upgrade to TWRP version 3.3.1-10_ianmacd or later to avoid problems with this firmware.

If you are unable or unwilling to do this, the following procedure should be observed:

If you simply upgrade to this new firmware as usual, by patching the AP file with Magisk Manager, you will find yourself unable to boot TWRP afterwards, and therefore also unable to flash the multidisabler. This is a potentially dangerous situation, as it can lead to data loss if not properly tackled.

1. When flashing the new full firmware in Odin, use the BL file from the previous ASH6 firmware, not the one from ASIG. Include the latest version of TWRP as recovery.img in the AP file, as per usual.

2. After flashing the firmware, reboot to TWRP as usual. Flash the multidisabler and any other files you usually flash as part of the post-upgrade process.

3. Make a copy of the ASIG BL tar file. From this copy, either remove vbmeta.img or replace it with a benign copy constructed as per the #vbmeta note in this group.

4. Use Odin to flash your modified BL file, together with a Magisk-patched copy of the stock ASIG recovery image in the AP slot.

5. Reboot to rooted Android.

If you follow these instructions, you will successfully upgrade your device to ASIG firmware, whilst retaining a decrypted /data file-system, etc.

TWRP can still be used on demand, but you will need to add the swapping of the bootloader to your existing procedure for switching between stock and custom recovery. Or you can simply wait a couple of weeks for Samsung to release updated kernel source code for ASIG, at which time I will issue new builds of TWRP.

Lastly, there are apparently some new TWRP builds currently doing the rounds that deal with the ASIG incompaibility issue by including a kernel hacked together from a mixture of S10 and Note10 source code. Approach such hybrids with due caution.
Q. I don't want to dual-boot Android using the custom kernel from my TWRP image. The latest TWRP kernel is often compiled for older firmware. Even if there are no visible issues using this older kernel, I'm probably missing out on improvements and fixes made in the latest kernel. Is there really no other way to run TWRP on these devices?

A. Actually, there is another way and it's actually simpler than and therefore preferable to dual-booting. You can opt to simply flash and boot TWRP on demand, leaving a Magisk-rooted stock recovery on your device the rest of the time.

For example, the following simple script could be used to toggle your recovery partition between stock and TWRP images.

Copy the following (not as the superuser) into a file, for example /storage/emulated/0/switch-recovery:



# Path to ext. SD is different in TWRP.

if [ -f /sbin/magisk ]; then
  # We're in Android: Switch to TWRP.
  su='su -c'
  # We're in TWRP: Switch to Android.

$su dd if=$infile of=/dev/block/sda15 bs=$(stat -c%s $infile) && reboot recovery
Then run it in Android in a terminal session:

# sh /storage/emulated/0/switch-recovery
It will flash your TWRP image and reboot the device to recovery. If the TWRP image is rooted, you'll still need to press the usual key combo to force pass-through to TWRP.

Do your work in TWRP and then run the script again from the TWRP terminal. This time, it will reflash your stock recovery image and reboot again to recovery. There's no need to press the hardware keys this time, because you are booting to Magisk-rooted Android.

Obviously, you must change the paths in the script to match where your own images are stored.
Q. Somewhere in upgrading my firmware, rooting and installing TWRP, my /data file-system mysteriously shrank to a fraction of its former size and appears to have been wiped. What happened? Is TWRP responsible for this?

A. No. This appears to be a side-effect of using Odin to flash an AP file to these devices with the CSC slots left empty. Never flash a full AP file on this range of devices without also filling at least the HOME_CSC slot. It is safe, however, to flash only a recovery image in the AP slot.

To attempt to repair the damage, you need to boot to TWRP, select Advanced Wipe, tick Data, select Repair or Change File System followed by Resize File System. Your /data will return to its former size, but you will probably find you have lost some data. Restore a /data back-up afterwards to be sure of having all your data.
Q. When I mount /system and execute commands in the TWRP terminal or over adb, I get a lot of noise about problems with the dynamic linker.

A. This problem is fixed as of version 3.3.1-1_ianmacd.

It is caused by /etc/system becoming a symlink to itself when /system is mounted, resulting in infinite recursion when followed.

The screen on your text is just a warning, not an error. Your commands are still being executed.

Nevertheless, noise annoys, so you can silence the warning by pasting the following commands into the terminal (with thanks to John Wu):

# mount --move /system /system_root && mount -o bind /system_root/system /system
Q. My favourite zip doesn't flash properly using this TWRP. Someone said these TWRP builds are to blame, because they don't include BusyBox. Why don't you fix them?

A. Because there's actually nothing wrong with them. It's the installer code of your favourite zip that is broken. TWRP is merely exposing that fact. Don't shoot the messenger.

A lot of poorly written legacy installer code lazily assumes the presence of certain binaries, in particular BusyBox. However, the inclusion of BusyBox in TWRP is a compile-time option entirely at the discretion of the builder. It is not a requirement.

Not only that, but the inclusion of BusyBox in builds of TWRP targeting Android 9.0 and later is officially deprecated. Maintainers of such devices are instead advised by the TWRP team to use Toybox, and these builds for the S10 series comply with that advice. Furthermore, it's actually currently impossible to even build an official TWRP image for these devices with BusyBox included. Compilation of TWRP on the official build server will fail if this is attempted.

In short, the assuming BusyBox's presence on the device is unsafe and your favourite zip's author should fix his installer code. Supply him with an installation log and politely ask him to rewrite the installer code to be independent of this historical TWRP implementation detail.

Anyone who maintains that TWRP is broken without the inclusion of BusyBox is simply either unwilling or unable to grasp the facts.
Q. When I boot to Android, I can no longer log in. Why?

A. Probably because of a mechanism called rollback protection. What has most likely happened here is that you have previously booted the device from a boot image with a later security patch level than the one from which you are trying to boot now.

As an example, let's say you are currently booting your device from a TWRP image with a security patch level of 2019-06. Then, Samsung issues a firmware update with a patch level of 2019-07. You update to that firmware, but immediately replace the stock recovery image with your trusty TWRP image and keep booting from that. Everything continues to work as it did before.

However, one day, you accidentally boot the device from the boot partition instead of the recovery partition. The device predictably comes up unrooted, but more significantly, it has now been booted from a (stock) boot image with a patch level of 2019-07, a fact that the device has now also committed to memory.

If you now reboot from the recovery partition, you will find that Android will no longer allow you to log in when the lock screen appears. This is because you are attempting to boot from an image with a patch level (2019-06) that is now earlier than the latest one previously used to boot the device (2019-07). Android considers this insecure and will not allow it. This mechanism is called rollback protection.

The simplest solution and the one with the least negative impact is to update the security patch level of the TWRP image to match that of the latest image used to boot the device. You can achieve this using magiskboot unpack -h or with AIK.
Q. When I root my TWRP image and flash it with Magisk, I can no longer boot to Android. Why?

A. This really has nothing to do with TWRP, but the question is a common one, so I will answer it: It's because you are using a custom ROM with a broken system-as-root.

Recent Magisk code (currently featured in the Canary and unofficial builds) has reworked how system-as-root devices (which include the S10 series) boot. Such devices are now finally able to boot as designed, using /system as the root file-system. Previously, Magisk would force the device to boot from the ramdisk rootfs, which had the side-effect of insulating the device against any incompatible changes manually made to /system.

In order to provide Magisk with better anti-detection protection and to make it compatible with Android 10, this accidental safety net has now been removed, thereby exposing any bugs present in /system on custom ROMs. Serious bugs will prevent the device from even booting, and that is almost certainly what you are encountering now.

It's up to the maintainers of such ROMs to fix the bugs in their systems.

XDA:DevDB Information
TWRP for Galaxy S10 Exynos series, Tool/Utility for the Samsung Galaxy S10+

ianmacd, Geiti94

Version Information
Status: Stable
Current Stable Version: 3.3.1-11_ianmacd
Stable Release Date: 2019-10-11

Created 2019-04-25
Last Updated 2019-10-11
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-04-16-12-48-09.png
Views:	11538
Size:	109.1 KB
ID:	4748999  
The Following 83 Users Say Thank You to ianmacd For This Useful Post: [ View ] Gift ianmacd Ad-Free
26th April 2019, 12:36 AM |#2  
ianmacd's Avatar
OP Senior Member
Flag Amsterdam
Thanks Meter: 3,128

v3.3.1-11_ianmacd for G97[035]F [inc. ASIG kernel] (2019-10-11)
  • Add support for Samsung DeX for PC.

v3.3.1-10_ianmacd for G97[035]F [inc. ASIG kernel] (2019-10-07)
  • Rebase kernel on Samsung's ASIG source code.
  • Merge latest upstream TWRP commits.

v3.3.1-9_ianmacd for G97[035]F [inc. ASH6 kernel (which also works with ASH1 firmware)] (2019-09-17)
  • Restore working MTP functionality to TWRP. With thanks to bigbiff for the reference and to Geiti for his commit embodying the same fix.

v3.3.1-8_ianmacd for G97[035]F [inc. ASH6 kernel (which also works with ASH1 firmware)] (2019-09-06)
  • Kernel rebased on Samsung's ASH6 source code.

v3.3.1-7_ianmacd for G97[035]F [inc. ASG8 kernel (which also works with ASH1 firmware)] and v3.3.1-6_ianmacd for G977B [inc. ASF5 kernel] (2019-08-20)
  • File-based System back-up option was missing in v3.3.1-6_ianmacd.

v3.3.1-6_ianmacd for G97[035]F [inc. ASG8 kernel (which also works with ASH1 firmware)] and v3.3.1-5_ianmacd for G977B [inc. ASF5 kernel] (2019-08-18)
  • Use $ANDROID_ROOT to set the mount point for the system block device to /system_root on these system-as-root devices.

    This change renders this and future TWRP releases incompatible with previous versions. Any existing zip file installer code that attempts to mount /system or expects the system block device to be mounted on /system will now fail under this new version and will require modification.
  • Solved infinite recursion of symbolic links when resolving /system paths.

v3.3.1-5_ianmacd for G97[035]F [inc. ASG8 kernel (which also works with ASH1 firmware)] (2019-08-07)
  • Kernel rebased on Samsung's ASG8 source code.

v3.3.1-4_ianmacd for G977B [inc. ASF5 kernel] (2019-07-06)
  • Kernel rebased on Samsung's ASF5 source code.
  • Hugely improved Dutch translation.

v3.3.1-4_ianmacd for G97[035]F [inc. ASF3 kernel] (2019-07-05)
  • Kernel rebased on Samsung's ASF3 source code.
  • Hugely improved Dutch translation.

v3.3.1-3.1_ianmacd for G977B [inc. ASEC kernel] (2019-06-21)
  • First production release for the G977B (beyondx).

v3.3.1-3.1_ianmacd for G97[035]F [inc. ASE7 kernel] (2019-06-12)
  • Removed an experimental patch that was accidentally included in v3.3.1-3_ianmacd.

Previous releases were for the G97[035]F only:

v3.3.1-3_ianmacd [inc. ASE7 kernel] (2019-06-12)
  • Kernel rebased on Samsung's ASE7 source code.

v3.3.1-2_ianmacd [inc. ASD5 kernel] (2019-05-21)
  • Image back-ups of /product now possible.

v3.3.1-1_ianmacd [inc. ASD5 kernel] (2019-05-17)
  • Updated to upstream v3.3.1-0.
  • Fix linker warnings when binaries are executed while /system is mounted.

v3.3.0-2_ianmacd [inc. ASD5 kernel] (2019-05-11)
  • Kernel rebased on Samsung's ASD5 source code.

v3.3.0-1_ianmacd [inc. ASCA kernel] (2019-04-26)
  • Add support for mounting, backing up and restoring /product.
  • Add support for backing up and restoring /vendor.
  • Partitions now listed alphabetically.
  • Default brightness now 66% of maximum brightness (was 50%) to aid reading.

v3.3.0-0 [inc. ASCA kernel] (2019-04-21)
  • First ianmacd release.
  • TWRP updated to 3.3.0-0.
  • Fixes death on power-off issue, which left device unable to boot when turned back on.
  • Fixes inability to upgrade Magisk via Magisk Manager.
  • Replaces SELinux permissive kernel with enforcing kernel.
The Following 26 Users Say Thank You to ianmacd For This Useful Post: [ View ] Gift ianmacd Ad-Free
26th April 2019, 12:36 AM |#3  
ianmacd's Avatar
OP Senior Member
Flag Amsterdam
Thanks Meter: 3,128
The Following 6 Users Say Thank You to ianmacd For This Useful Post: [ View ] Gift ianmacd Ad-Free
26th April 2019, 02:31 AM |#4  
force70's Avatar
Senior Member
Flag toronto
Thanks Meter: 8,020
Well done sir, well done!
The Following 2 Users Say Thank You to force70 For This Useful Post: [ View ] Gift force70 Ad-Free
26th April 2019, 02:32 AM |#5  
Geekser's Avatar
Senior Member
Flag Milwaukee
Thanks Meter: 371
Thank you for your continued work and support for TWRP.

Just to confirm the process if we want root and are already rooted -
follow your steps to root the new TWRP Image you posted today and zip it as a tar file in 7Zip
Flash rooted twrp in Odin
Reboot to Recovery
Format Data
Flash New Disabeler Script
Format Data again
Reboot in recovery (to reboot into magisk

Is that correct? (I read somewhere the other day that we needed to wipe again AFTER flashing the Disabler script and I didn't know if that was really necessary or if someone had mispoke?
The Following User Says Thank You to Geekser For This Useful Post: [ View ] Gift Geekser Ad-Free
26th April 2019, 03:37 AM |#6  
Geekser's Avatar
Senior Member
Flag Milwaukee
Thanks Meter: 371
Sorry to bother you but I have been trying to do as your OP outlines - but everytime I create a TAR File using the TWRP you provided patched with Magisk, when I try to flash in ODIN - nothing happens. The file won't flash. I have started over 5 times - created new Patched images in Magisk each time - but for some reason I am not having any luck getting this to flash in odin.

Can I flash the MAgisk patched Recovery Image in TWRP ?

EDIT - I answered my own question - I went ahead and tried to flash in TWRP and it flashed perfectly. All is good. But still curoiuos why I couldn't get the Patched Twrp File to fliash via odin - ?
26th April 2019, 04:15 AM |#7  
Senior Member
Thanks Meter: 117
[QUOTE=Geekser;79410885]Sorry to bother you but I have been trying to do as your OP outlines - but everytime I create a TAR File using the TWRP you provided patched with Magisk, when I try to flash in ODIN - nothing happens. The file won't flash. I have started over 5 times - created new Patched images in Magisk each time - but for some reason I am not having any luck getting this to flash in odin.

26th April 2019, 06:18 AM |#8  
rp4k's Avatar
Senior Member
Flag Shenzhen, China
Thanks Meter: 285
Great thread @ianmacd
26th April 2019, 08:14 AM |#9  
PiCkLeS's Avatar
Senior Member
Flag Kristianstad
Thanks Meter: 147
By clicking on the button below you will get a set of instructions, step-by-step, on how to install Ians excellent work with TWRP as a recovery for your device and John Wu's root via Magisk.

This is not the fastest or most uncomplicated tutorial to do this. It is, however, made to make sure as many as possible succeed. So if you feel that a step or two is uncessesary, this tutorial is probably not for you since you most likely already know enough to just go by Ians more direct instructions. So dont PM me with tips on how to simplify these steps, I already know about that and that is not the point of the tutorial.

The instructions are intended for:
  • The user that either is completely new to this world but have managed to get an unlocked bootloader beforehand
  • The user that just want to have some instructions to follow to not forget a step in the process
Please note that the tutorial should work just fine for the S10E-device, but there might be another set of key combinations for your device, please take care to understand what you need to do in specifics to do the same presses of buttons.

It is strongly encourage to flash lates stock firmware and do a complete clean system install before using this tutorial. However, if you know what you are doing, it will work fine with an already rooted system as long as you have the latest Canary build (both magisk and magisk manager) on your device when patching the TWRP-image and the firmware AP-file per instructions below.

Where ever you decide to start, know that your device will be wiped and you need backups for your relevant data before you begin.

These instructions are ...

.. an "add-on" till John Wu's Magisk solution that will make your device rooted with Magisk and having Ian Macdonalds TWRP-recovery
.. for those who have already an unlocked bootloader - DO NOT attempt this without first making sure you have "OEM Unlocked" enabled

Step-by-step guide:

A) Follow John's instructions HERE until you get to step 5, then return here

B) Download latest TWRP-image by Ian Macdonald for your type of device in the first post in this thread

C) Download latest multidisabler-zip by Ian Macdonald and copy it to your SD-CARD - download here

D) Copy the TWRP-image to your device and do the same as you did with the AP-file in Magisk Manager (Install->Install->Patch file and choose the TWRP-image)

E) Copy the patched TWRP-image and magisk_patched.tar to your computer

F) Rename the patched TWRP-image to "recovery.img" on your computer

G) With your own choice of program on your computer, open the "magisk_patched.tar"-file, remove the existing recovery.img and replace it with your newly patched recovery.img and save the tar-file

H) Boot your device to download mode

I) Go back to John's instructions and IGNORE step 6 and DO step 7 and come back here!

J) We now need to factory reset our device:

-> Press Power + VolDown for a few seconds to get out of download mode
-> AS SOON AS THE SCREEN GOES BLACK: Press Power + Bixby + VolUP and HOLD THESE KEYS FOR A LONG TIME until you see the bootlogo of TWRP, then release the keys

K) In TWRP, install your downloaded multidisabler-zip from your SD-CARD and DO NOT REBOOT

L) In TWRP, format data (not only wipe, choose specifically "Format data" and write "yes" and go ahead and after DO NOT REBOOT

M) In TWRP, go back to the start screen - choose "Reboot" and choose "Recovery" AND NOTHING ELSE - DONT touch any keys on the device

N) Go back to John's instructions and begin from step 12

O) All done - you know have a rooted device by Magisk, with TWRP as recovery - enjoy and be sure to thank Ian Macdonald for the help with TWRP and John Wu for Magisk root!
The Following 24 Users Say Thank You to PiCkLeS For This Useful Post: [ View ] Gift PiCkLeS Ad-Free
26th April 2019, 09:21 AM |#10  
ianmacd's Avatar
OP Senior Member
Flag Amsterdam
Thanks Meter: 3,128
Originally Posted by hanspampel

Here are the magisk patched files for all devices. Only tried my s10+, but all the others should work too with odin.

Did you not read the OP?

John Wu does not allow the distribution of Magisk binaries in this way. If he did, I would have supplied pre-patched images myself. Post reported for removal.
The Following 4 Users Say Thank You to ianmacd For This Useful Post: [ View ] Gift ianmacd Ad-Free
26th April 2019, 09:49 AM |#11  
starbucks2010's Avatar
Senior Member
Thanks Meter: 1,193
Donate to Me
Ian, does it matter the MM version when patching the AP and twrp img or all MM versions are doing the same job?

Thanks you.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes