mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 15:27:39 +00:00
Fix installation on FBE devices
This commit is contained in:
parent
21b1b5098e
commit
310b266251
@ -8,7 +8,7 @@ android {
|
|||||||
applicationId "com.topjohnwu.magisk"
|
applicationId "com.topjohnwu.magisk"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 72
|
versionCode 73
|
||||||
versionName "5.4.3"
|
versionName "5.4.3"
|
||||||
ndk {
|
ndk {
|
||||||
moduleName 'zipadjust'
|
moduleName 'zipadjust'
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
### v5.4.3 (72)
|
### v5.4.3 (73)
|
||||||
- Fix dynamic resource loading, should prevent crashing when checking SafetyNet
|
- Fix dynamic resource loading, should prevent crashing when checking SafetyNet
|
||||||
- Update SignAPK to use very little RAM, should expand old device support
|
- Update SignAPK to use very little RAM, should expand old device support
|
||||||
- Support settings migration after hiding Magisk Manager
|
- Support settings migration after hiding Magisk Manager
|
||||||
- Add reboot menu in modules section
|
- Add reboot menu in modules section
|
||||||
- Add changelog in app
|
- Add changelog in app
|
||||||
- Add dark theme to superuser requests
|
- Add dark theme to superuser requests
|
||||||
- Properly handle new `KEEPVERITY` and `HIGHCOMP` flags for installation
|
- Properly handle new `KEEPVERITY` and `HIGHCOMP` flags for installation
|
||||||
|
- Adapt su database to `/data/adb/magisk.adb` and installation paths to `/data/adb`
|
||||||
|
@ -247,7 +247,7 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> {
|
|||||||
String binPath = mm.remoteMagiskVersionCode >= 1464 ? "/data/adb/magisk" : "/data/magisk";
|
String binPath = mm.remoteMagiskVersionCode >= 1464 ? "/data/adb/magisk" : "/data/magisk";
|
||||||
Shell.getShell().run(console, logs,
|
Shell.getShell().run(console, logs,
|
||||||
Utils.fmt("rm -rf %s/*; mkdir -p %s; chmod 700 /data/adb", binPath, binPath),
|
Utils.fmt("rm -rf %s/*; mkdir -p %s; chmod 700 /data/adb", binPath, binPath),
|
||||||
Utils.fmt("mv -f %s/* %s; rm -rf %s", install, binPath, install),
|
Utils.fmt("cp -af %s/* %s; rm -rf %s", install, binPath, install),
|
||||||
Utils.fmt("flash_boot_image %s %s", patched_boot, mBootLocation),
|
Utils.fmt("flash_boot_image %s %s", patched_boot, mBootLocation),
|
||||||
mm.remoteMagiskVersionCode >= 1464 ? "cp /data/magisk.img /data/adb/magisk.img" : "",
|
mm.remoteMagiskVersionCode >= 1464 ? "cp /data/magisk.img /data/adb/magisk.img" : "",
|
||||||
"patch_dtbo_image");
|
"patch_dtbo_image");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user