STEP 6: Flash Boot and Vendor Boot. First off, type in the below command to reset your device : fastboot -w; Then execute the below command to flash the boot.img file fastboot flash boot boot.img; Then type in the below command to flash the vendor_boot.img file fastboot flash vendor_boot vendor_boot.img
Step 1: Patching the stock boot.img. Install MagiskManager apk on your android device. Copy the stock boot.img of your device to your phone's internal storage or SD card. Launch Magisk Manager app. If you're not using the latest version, you'll have to update the app first before proceeding.
1) Extract Boot image file from boot.img.lz4 file and rename to .tar. First, download the desired Samsung Firmware (Stock ROM) for your device model. Extract the firmware zip file on your computer within a folder. (The boot image file should be named as AP_xxx) The firmware will contain .lz4 extension. You may see something like boot.img.lz4 2. Backup Your Mobile. Another basic solution for backing up all the in-device data is the Backup Your Mobile application. It is available for free, but it has ads, which is okay considering that you get its features for free. l4eq3M.