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
bd01c314
Commit
bd01c314
authored
Dec 11, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change database location
parent
e4044766
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
app
app
+1
-1
magiskpolicy
core/jni/magiskpolicy
+1
-1
su
core/jni/su
+1
-1
magisk_uninstaller.sh
scripts/magisk_uninstaller.sh
+6
-4
No files found.
app
@
fd6cbb13
Subproject commit
c461fc6daa7096398f9227a10bcb4cec271cb5e7
Subproject commit
fd6cbb138c839ca77d4b99137911bb59f2f36876
magiskpolicy
@
d4620e16
Subproject commit d
7a6127273407a32bccf75e70fa7bbe84c14e4f8
Subproject commit d
4620e1654bd23e832840d0704c4cb967b159639
su
@
8b15e422
Subproject commit
a9d966dc7ab97006445315ef3c13f2d2e020fffc
Subproject commit
8b15e42253091a28c33a5e5e827d7750576d54dd
scripts/magisk_uninstaller.sh
View file @
bd01c314
...
@@ -51,18 +51,20 @@ migrate_boot_backup
...
@@ -51,18 +51,20 @@ migrate_boot_backup
ui_print
"- Unpacking boot image"
ui_print
"- Unpacking boot image"
./magiskboot
--unpack
"
$BOOTIMAGE
"
./magiskboot
--unpack
"
$BOOTIMAGE
"
CHROMEOS
=
false
CHROMEOS
=
false
case
$?
in
case
$?
in
1
)
1
)
abort
"! Unable to unpack boot image"
abort
"! Unable to unpack boot image"
;;
;;
2
)
3
)
ui_print
"- ChromeOS boot image detected"
CHROMEOS
=
true
CHROMEOS
=
true
;;
;;
3
)
4
)
ui_print
"! Sony ELF32 format detected"
ui_print
"! Sony ELF32 format detected"
abort
"! Please use BootBridge from @AdrianDC to flash Magisk"
abort
"! Please use BootBridge from @AdrianDC to flash Magisk"
;;
;;
4
)
5
)
ui_print
"! Sony ELF64 format detected"
ui_print
"! Sony ELF64 format detected"
abort
"! Stock kernel cannot be patched, please use a custom kernel"
abort
"! Stock kernel cannot be patched, please use a custom kernel"
esac
esac
...
@@ -102,6 +104,6 @@ cd /
...
@@ -102,6 +104,6 @@ cd /
ui_print
"- Removing Magisk files"
ui_print
"- Removing Magisk files"
rm
-rf
/cache/
*
magisk
*
/cache/unblock /data/
*
magisk
*
/data/cache/
*
magisk
*
/data/property/
*
magisk
*
\
rm
-rf
/cache/
*
magisk
*
/cache/unblock /data/
*
magisk
*
/data/cache/
*
magisk
*
/data/property/
*
magisk
*
\
/data/Magisk.apk /data/busybox /data/custom_ramdisk_patch.sh /data/app/com.topjohnwu.magisk
*
\
/data/Magisk.apk /data/busybox /data/custom_ramdisk_patch.sh /data/app/com.topjohnwu.magisk
*
\
/data/user
*
/
*
/magisk.db /data/user
*
/
*
/com.topjohnwu.magisk 2>/dev/null
/data/user
*
/
*
/magisk.db /data/user
*
/
*
/com.topjohnwu.magisk
/data/adb/
*
magisk
*
2>/dev/null
$BOOTMODE
&&
reboot
$BOOTMODE
&&
reboot
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