mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 19:08:26 +00:00
Remove unexpected files
This commit is contained in:
parent
85d9756f62
commit
2c53356bfd
@ -35,6 +35,7 @@ void LegacySARInit::first_stage_prep() {
|
|||||||
bool SecondStageInit::prepare() {
|
bool SecondStageInit::prepare() {
|
||||||
umount2("/init", MNT_DETACH);
|
umount2("/init", MNT_DETACH);
|
||||||
umount2("/proc/self/exe", MNT_DETACH);
|
umount2("/proc/self/exe", MNT_DETACH);
|
||||||
|
unlink("/data/init");
|
||||||
|
|
||||||
// Make sure init dmesg logs won't get messed up
|
// Make sure init dmesg logs won't get messed up
|
||||||
argv[0] = (char *) INIT_PATH;
|
argv[0] = (char *) INIT_PATH;
|
||||||
|
@ -185,7 +185,7 @@ fi
|
|||||||
"mkdir 000 .backup" \
|
"mkdir 000 .backup" \
|
||||||
"add 000 .backup/.magisk config"
|
"add 000 .backup/.magisk config"
|
||||||
|
|
||||||
rm -f ramdisk.cpio.orig config magisk*.xz stub.xz
|
rm -f ramdisk.cpio.orig config magisk*.xz stub.xz stub.apk
|
||||||
|
|
||||||
#################
|
#################
|
||||||
# Binary Patches
|
# Binary Patches
|
||||||
|
Loading…
x
Reference in New Issue
Block a user