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
ae23ae2d
Commit
ae23ae2d
authored
Oct 31, 2021
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove code in scripts that should be removed
parent
e34e04af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
boot_patch.sh
scripts/boot_patch.sh
+0
-8
uninstaller.sh
scripts/uninstaller.sh
+0
-4
No files found.
scripts/boot_patch.sh
View file @
ae23ae2d
...
@@ -164,14 +164,6 @@ if [ -f magisk64 ]; then
...
@@ -164,14 +164,6 @@ if [ -f magisk64 ]; then
unset
SKIP64
unset
SKIP64
fi
fi
# Work around custom legacy Sony /init -> /(s)bin/init_sony : /init.real setup
INIT
=
init
SKIPSONY
=
"#"
if
./magiskboot cpio ramdisk.cpio
"exists init.real"
;
then
INIT
=
init.real
unset
SKIPSONY
fi
./magiskboot cpio ramdisk.cpio
\
./magiskboot cpio ramdisk.cpio
\
"add 0750
$INIT
magiskinit"
\
"add 0750
$INIT
magiskinit"
\
"mkdir 0750 overlay.d"
\
"mkdir 0750 overlay.d"
\
...
...
scripts/uninstaller.sh
View file @
ae23ae2d
...
@@ -125,10 +125,6 @@ case $((STATUS & 3)) in
...
@@ -125,10 +125,6 @@ case $((STATUS & 3)) in
else
else
ui_print
"! Boot image backup unavailable"
ui_print
"! Boot image backup unavailable"
ui_print
"- Restoring ramdisk with internal backup"
ui_print
"- Restoring ramdisk with internal backup"
if
./magiskboot cpio ramdisk.cpio
"exists init.real"
;
then
# Work around custom legacy Sony /init -> /(s)bin/init_sony : /init.real setup
./magiskboot cpio ramdisk.cpio
"mv .backup/init .backup/init.real"
fi
./magiskboot cpio ramdisk.cpio restore
./magiskboot cpio ramdisk.cpio restore
if
!
./magiskboot cpio ramdisk.cpio
"exists init"
;
then
if
!
./magiskboot cpio ramdisk.cpio
"exists init"
;
then
# A only system-as-root
# A only system-as-root
...
...
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