mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-28 16:36:36 +00:00
Use uid 2000 to install patched apk
This commit is contained in:
@@ -130,8 +130,7 @@ object PatchAPK {
|
||||
return false
|
||||
|
||||
// Install the application
|
||||
repack.setReadable(true, false)
|
||||
if (!Shell.su("pm install $repack").exec().isSuccess)
|
||||
if (!Shell.su("adb_pm_install $repack").exec().isSuccess)
|
||||
return false
|
||||
|
||||
Config.suManager = pkg.toString()
|
||||
|
||||
Reference in New Issue
Block a user