Encryption and Magisk

These are 2 different topics:

  • encryption: see about your recovery being able to access encrypted partitions
  • install magisk: see about boot.img as directed

Perhaps you are right, this task can be divided into two different topics as you wrote, this is encryption and installation of Magisk, but in this case I am just interested in whether this is possible or not.

I would like to understand if it is possible to have an encrypted phone with Magisk installed

Addition: This method will delete the data and encryption will not work.

Reboot your device into TWRP Recovery.

Go to Wipe menu.

Go to Advance Wipe.

Select Data and go to Repair or Change File System.

Click Repair File System. (If not fix, go to step number 6)

Go to Change File System.

Select Ext2 and swipe to confirm.

Now change back to Ext4 and swipe to confirm.

Now go back and check if your portions can be mount or not from Mount menu.

If not fix, repair your Internal partition. (This may wipe your Internal storage).

OR Unlock your boot loader again

If you only need Magisk, ignore the recovery and etc

Focus on Magisk

1 Like

Thanks for your advice. I just tried to install the operating system + F-droid apk and Magisk programs and then encrypted it and in the Privacy -> Trust section I see Encryption.

It also works according to its recommendation, when I installed the operating system, encrypted it and then installed Magisk.

Yes, there is a problem when I want to install a ZIP file through Recovery, then I get an error, but for the initial installation everything worked.

I will try to find the answer in other places and write if I succeed.

I don’t understand how it works ))

What is your device?

Thank you for your reply. I am in contact with the developer, if I have any information I will definitely share it so that other users do not experience problems.