[Magisk] Svan987:
Hi, I have an old Galaxy TAB S2 with Android 7.0 (Nougat) with Ramdisk and without "vbmeta.img". I went back to stock because was impossible to update Magisk 24.1. I remember with old Magisk versions, I used to flash Magisk in TWRP (.zip format). How should I proceed now with Magisk 24.1 ?.

I have a custom rom to install who include the bootloader with "Force Encryption" and "dm-vertiy" already disabled. After the custom rom install, I flashed the custom bootloader modified by Magisk and installed Magisk 24.1.apk. When I open it shows : Installed N/A.

If I select install (without selecting "Preserve AVB-2.0/dm-verity") then "Direct Install" I got this :

! Installation failed

- Target image: /dev/block/

- Device platform: arm64-v8a

- Installing: 24.1 (24100)

! Unable to check signature

! Installation failed

Custom bootloader Magisk patch log :

! Installation failed
- Device platform: arm64-v8a
- Installing: 24.1 (24100)
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [9758117]
RAMDISK_SZ [4285099]
SECOND_SZ [0]
EXTRA_SZ [794624]
OS_VERSION [7.0.0]
OS_PATCH_LEVEL [2019-07]
PAGESIZE [2048]
NAME [FPRPG28L000]
CMDLINE [console=null androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk]
CHECKSUM [3417c7077c3bcba90cab9c874694de1e04633da3000000000000000000000000]
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
EXTRA_FMT [raw]
SAMSUNG_SEANDROID
- Copying image to cache
- Unpacking boot image
- Checking ramdisk status
Loading cpio: [ramdisk.cpio]
- Stock boot image detected
- Patching ramdisk
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Create directory [overlay.d] (0750)
Create directory [overlay.d/sbin] (0750)
Add entry [overlay.d/sbin/magisk32.xz] (0644)
Add entry [overlay.d/sbin/magisk64.xz] (0644)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[false]
Found fstab file [fstab.qcom]
Remove [verity_key]
Loading cpio: [ramdisk.cpio.orig]
Backup mismatch entry: [init] -> [.backup/init]
Record new entry: [overlay.d] -> [.backup/.rmlist]
Record new entry: [overlay.d/sbin] -> [.backup/.rmlist]
Record new entry: [overlay.d/sbin/magisk32.xz] -> [.backup/.rmlist]
Record new entry: [overlay.d/sbin/magisk64.xz] -> [.backup/.rmlist]
Backup missing entry: [verity_key] -> [.backup/verity_key]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [ramdisk.cpio]
Loading dtbs from [extra]
Patch @ 014BEA6A [736B69705F696E697472616D667300] -> [77616E745F696E697472616D667300]
- Repacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [9758117]
RAMDISK_SZ [4285099]
SECOND_SZ [0]
EXTRA_SZ [794624]
OS_VERSION [7.0.0]
OS_PATCH_LEVEL [2019-07]
PAGESIZE [2048]
NAME [FPRPG28L000]
CMDLINE [console=null androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk]
CHECKSUM [3417c7077c3bcba90cab9c874694de1e04633da3000000000000000000000000]
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
EXTRA_FMT [raw]
SAMSUNG_SEANDROID
Repack to boot image: [new-boot.img]
HEADER_VER [0]
KERNEL_SZ [9763720]
RAMDISK_SZ [4760962]
SECOND_SZ [0]
EXTRA_SZ [794624]
OS_VERSION [7.0.0]
OS_PATCH_LEVEL [2019-07]
PAGESIZE [2048]
NAME [FPRPG28L000]
CMDLINE [console=null androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk]
CHECKSUM [69ccfc15688ea08ec241e84fcbea4121f2c17a78000000000000000000000000]

****************************
Output file is written to
/storage/emulated/0/Download/magisk_patched-24100_h0q4A.img
****************************
cp: can't preserve ownership of 'busybox': Operation not permitted
cp: can't preserve ownership of 'magisk32': Operation not permitted
cp: can't preserve ownership of 'magisk64': Operation not permitted
cp: can't preserve ownership of 'magiskboot': Operation not permitted
cp: can't preserve ownership of 'magiskinit': Operation not permitted
- All done!

Any help would be nice. Thanx in advance.