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
dd9ddd20
Commit
dd9ddd20
authored
Oct 20, 2018
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary instruction from Defex hexpatch
Close #489
parent
74aae523
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
boot_patch.sh
scripts/boot_patch.sh
+3
-5
No files found.
scripts/boot_patch.sh
View file @
dd9ddd20
...
@@ -147,11 +147,9 @@ if [ -f kernel ]; then
...
@@ -147,11 +147,9 @@ if [ -f kernel ]; then
A1020054011440B93FA00F7140020054010840B93FA00F71E0010054001840B91FA00F7181010054
A1020054011440B93FA00F7140020054010840B93FA00F71E0010054001840B91FA00F7181010054
# Remove Samsung defex
# Remove Samsung defex
# Before: [mrs x0, sp_el0] [mov w2, #-221] (-__NR_execve)
# Before: [mov w2, #-221] (-__NR_execve)
# After: [mrs x0, sp_el0] [mov w2, #-32768]
# After: [mov w2, #-32768]
./magiskboot
--hexpatch
kernel
\
./magiskboot
--hexpatch
kernel 821B8012 E2FF8F12
004138D5821B8012
\
004138D5E2FF8F12
# Force kernel to load rootfs
# Force kernel to load rootfs
# skip_initramfs -> want_initramfs
# skip_initramfs -> want_initramfs
...
...
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