mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-01 15:44:02 +00:00
Old Android (pre 8.0) enforces `optimizedDirectory` to have the same uid with the process. If repackaged, root service (uid=0) will crash when trying to load current.apk. So we set `optimizedDirectory` to null to bypass the check.