[Magisk] perschke_lukas:
Anyone else having problems installing on G930F without TWRP ?

I extracted stock boot.img from .tar.md5 file, patched with Magisk Manager and then flashed with ODIN.

But when i try to boot, it says that it failed a check and needs to be restored to factory defaults, ODIN Mode says "Current Binary: Costum".

Flashing stock boot.img when packed into .tar with 7zip will bring device to boot again.

Device: Samsung Galaxy S7 SM-G930F

ROM: G930FXXU1DQJ3_G930FVFG1DQI1_VD2

Log

- Device platform: arm64
- Extracting files
- Use boot image: /data/user_de/0/com.topjohnwu.magisk/install/boot.img
boot_patch.sh[121]: migrate_boot_backup: not found
- Unpacking boot image
MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]

KERNEL [33378584] @ 0x10008000
RAMDISK [4187684] @ 0x11000000
SECOND [0] @ 0x10f00000
DTB [763904] @ 0x10000100
PAGESIZE [2048]
OS_VERSION [7.0.0]
PATCH_LEVEL [2017-10]
NAME [SRPOI17A000KU]
CMDLINE []
COMPRESSION [gzip]

Decompressing to [ramdisk.cpio]

- Checking ramdisk status
MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

- Stock boot image detected!
- Backing up stock boot image
74872+1 records in
74872+1 records out
38334752 bytes (36.6MB) copied, 0.343590 seconds, 106.4MB/s
MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Compressing to [stock_boot_54e2c5469c4e26a46758f64dfeb6cefc5880f64a.img.gz]

- Patching ramdisk
MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Remove pattern [,verify] in [fstab.samsungexynos8890]
Replace [forceencrypt] with [encryptable] in [fstab.samsungexynos8890]
Remove pattern [,verify] in [fstab.samsungexynos8890.fwup]
Inject new line [import /init.magisk.rc] in [init.rc]
Remove line [ setprop selinux.reload_policy 1] in [init.rc]
Remove line [ #setprop selinux.reload_policy 1] in [init.rc]
Remove line [ setprop selinux.reload_policy 1] in [init.rc]

Dump cpio: [ramdisk.cpio]

MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Extracting [sepolicy] to [sepolicy]

source type drsd does not exist
source type drsd does not exist
source type drsd does not exist
source type drsd does not exist
source type commonplatformappdomain does not exist
source type commonplatformappdomain does not exist
source type commonplatformappdomain does not exist
source type commonplatformappdomain does not exist
MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Add entry [sepolicy] (0644)

Dump cpio: [ramdisk.cpio]

MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Add entry [init.magisk.rc] (0750)

Dump cpio: [ramdisk.cpio]

MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Add entry [sbin/magisk] (0755)

Dump cpio: [ramdisk.cpio]

MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

Loading cpio: [ramdisk.cpio.orig]

Backup mismatch entry: [fstab.samsungexynos8890] -> [.backup/fstab.samsungexynos8890]
Backup mismatch entry: [fstab.samsungexynos8890.fwup] -> [.backup/fstab.samsungexynos8890.fwup]
Record new entry: [init.magisk.rc] -> [.backup/.rmlist]
Backup mismatch entry: [init.rc] -> [.backup/init.rc]
Record new entry: [sbin/magisk] -> [.backup/.rmlist]
Backup mismatch entry: [sepolicy] -> [.backup/sepolicy]

Dump cpio: [ramdisk.cpio]

MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Pattern 49010054011440B93FA00F71E9000054010840B93FA00F7189000054001840B91FA00F7188010054 found!
Patching to A1020054011440B93FA00F7140020054010840B93FA00F71E0010054001840B91FA00F7181010054
- Repacking boot image
MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]

KERNEL [33378584] @ 0x10008000
RAMDISK [4187684] @ 0x11000000
SECOND [0] @ 0x10f00000
DTB [763904] @ 0x10000100
PAGESIZE [2048]
OS_VERSION [7.0.0]
PATCH_LEVEL [2017-10]
NAME [SRPOI17A000KU]
CMDLINE []
COMPRESSION [gzip]

Repack to boot image: [new-boot.img]

Compressing to [ramdisk.cpio.gz]

KERNEL [33378584] @ 0x10008000
RAMDISK [4401153] @ 0x11000000
SECOND [0] @ 0x10f00000
DTB [763904] @ 0x10000100
PAGESIZE [2048]
OS_VERSION [7.0.0]
PATCH_LEVEL [2017-10]
NAME [SRPOI17A000KU]
CMDLINE []
COMPRESSION [gzip]

MagiskBoot v14.0(1400) (by topjohnwu) - Boot Image Modification Tool

Cleaning up...

*********************************
Patched Boot Image is placed in
/storage/emulated/0/MagiskManager/patched_boot.img.tar
*********************************
- All done!