• 残页's avatar
    Bypass DexFile's security check for RootService (#5911) · a3381da7
    残页 authored
    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.
    a3381da7
DynamicClassLoader.java 1.92 KB