Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
310b2662
Commit
310b2662
authored
Dec 15, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix installation on FBE devices
parent
21b1b509
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
build.gradle
build.gradle
+1
-1
changelog.md
src/main/assets/changelog.md
+3
-2
InstallMagisk.java
src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java
+1
-1
No files found.
build.gradle
View file @
310b2662
...
...
@@ -8,7 +8,7 @@ android {
applicationId
"com.topjohnwu.magisk"
minSdkVersion
21
targetSdkVersion
27
versionCode
7
2
versionCode
7
3
versionName
"5.4.3"
ndk
{
moduleName
'zipadjust'
...
...
src/main/assets/changelog.md
View file @
310b2662
### v5.4.3 (7
2
)
### v5.4.3 (7
3
)
-
Fix dynamic resource loading, should prevent crashing when checking SafetyNet
-
Update SignAPK to use very little RAM, should expand old device support
-
Support settings migration after hiding Magisk Manager
-
Add reboot menu in modules section
-
Add changelog in app
-
Add dark theme to superuser requests
-
Properly handle new
`KEEPVERITY`
and
`HIGHCOMP`
flags for installation
\ No newline at end of file
-
Properly handle new
`KEEPVERITY`
and
`HIGHCOMP`
flags for installation
-
Adapt su database to
`/data/adb/magisk.adb`
and installation paths to
`/data/adb`
src/main/java/com/topjohnwu/magisk/asyncs/InstallMagisk.java
View file @
310b2662
...
...
@@ -247,7 +247,7 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> {
String
binPath
=
mm
.
remoteMagiskVersionCode
>=
1464
?
"/data/adb/magisk"
:
"/data/magisk"
;
Shell
.
getShell
().
run
(
console
,
logs
,
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 -a
f %s/* %s; rm -rf %s"
,
install
,
binPath
,
install
),
Utils
.
fmt
(
"flash_boot_image %s %s"
,
patched_boot
,
mBootLocation
),
mm
.
remoteMagiskVersionCode
>=
1464
?
"cp /data/magisk.img /data/adb/magisk.img"
:
""
,
"patch_dtbo_image"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment