1

I have a somehow complicated question and I can't find a good source to find the answer to it.

I'm working with AOSP Android 11 and I have full access to the code and can modify literally everything. I have to find a way to prevent the OS to encrypt the device as I need full access to the userdata partition without any restrictions (I want to transfer the user data from one phone to another).

I searched around but it seems that no one has done that.

Any leads or documentation will be useful. Thanks.

P.S - I know about the security issues and the encryption is important but I don't care about that at the moment :D

1 Answer 1

0

Removing the encryption-related options in the device's fstab should be the easiest way to disable encryption without complicated, bug-prone edits to source code.

You can see examples of an fstab entry for userdata here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.