this method works for a20e
https://forum.xda-developers.com/showpost.php?p=80021195&postcount=4
I can't get it to work without getting an unresponsive touch screen after reboot. I've tried the method in this thread to the letter, but no luck. After I've done the rooting and reboot into android the touch screen doesn't work.
The phone I'm using has Android 10 and U3 bootloader...
My bootloader is unlocked (and OEM-unlocking is visible, grayed out).
I'm patching the same firmware the phone had out of the box (I've also tried later/newer versions).
I've tried patching with both latest magisk manager and the canary version.
I've tried both the method in this thread patching only boot.img (boot.tar) and also tried patching the full AP_XXX.tar file as described by topjohnwu on github (it worked fine on the Samsung A10).
But I just keep getting an unresponsive touch screen after rooting. If I revert back to unrooted/unpatched firmware the touch screen works again.