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
97135879
Unverified
Commit
97135879
authored
May 07, 2022
by
Rei Ryuki
Committed by
GitHub
May 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sepolicy rules dir is not found in recovery
parent
fef41f68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
uninstaller.sh
scripts/uninstaller.sh
+0
-6
util_functions.sh
scripts/util_functions.sh
+7
-0
No files found.
scripts/uninstaller.sh
View file @
97135879
...
...
@@ -40,12 +40,6 @@ is_mounted /data || mount /data || abort "! Unable to mount /data, please uninst
mount_partitions
check_data
$DATA_DE
||
abort
"! Cannot access /data, please uninstall with the Magisk app"
if
!
$BOOTMODE
;
then
# Mounting stuffs in recovery (best effort)
mount_name metadata /metadata
mount_name
"cache cac"
/cache
mount_name persist /persist
fi
get_flags
find_boot_image
...
...
scripts/util_functions.sh
View file @
97135879
...
...
@@ -295,6 +295,13 @@ mount_partitions() {
# Allow /system/bin commands (dalvikvm) on Android 10+ in recovery
$BOOTMODE
||
mount_apex
# Mount sepolicy rules dir locations in recovery (best effort)
if
!
$BOOTMODE
;
then
mount_name
"cache cac"
/cache
mount_name metadata /metadata
mount_name persist /persist
fi
}
# loop_setup <ext4_img>, sets LOOPDEV
...
...
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