After reading the official TWRP page I understand that I have to patch TWRP file using magisk.
But what confuses me is:
[...] If you intend to root your (a52q) device, be advised that Magisk will be installed to the recovery partition, not the usual boot partition. Both TWRP and Magisk-rooted Android boot using the recovery kernel, with the device's hardware keys used to choose between TWRP and Android at boot time.
You are therefore strongly advised to first
root your device with Magisk and then pre-root a TWRP image before flashing it to recovery.[...]
So I follow the link to root my A52 first with Magisk and read carefully that
[...] If your device does
NOT have boot ramdisk, make sure
“Recovery Mode” is checked in options.
In most cases it should already be automatically checked. [...]
But: after installing Magisk V23 apk from official site
here it states "Ramdisk: YES" and I do not find any option "Recovery Mode". So I assume that Magisk is patched into boot partition and not into recovery mode partition when I press "install".
So from my point of view there is a contradiction between
- If you intend to root your (a52q) device, be advised that Magisk will be installed to the recovery partition
and the fact that according to Magisk apk a ramdisk exists, i.e. magisk will be installed to the boot partition. Also in the video in the very first post of this
thread it seems that after rooting (starting from minute 6:16) the device boots up normally (not via recovery) and has root enabled.
@
RealVelosh: Can you help to solve the contradiction?