
Pull Boot Img Using Adb Android Boot Img
Getting StartedSome user can't boot into fastboot/bootloader, Odin/download or recovery mode because they can't/don't know the correct buttons to press or have broken keyYou can now drag and drop the boot.img from your phone’s internal SD to your PC. The following tutorial is only for the initial installation. If you already have Magisk installed, it is strongly recommended to upgrade directly via the Magisk app using its “Direct Install” method. Backup recovery.img without root boot.img.lz4 unpack edit android boot img extract boot.img using adb. Help Save me - Every Donation Counts. Today in this video I will show you How can you extract and find boot.img , system.img , recovery.img file of any android phone without.
Pull Boot Img Using Adb Download And Install
We use the app to gather some information about your device. If you plan to also install custom kernels, install it after MagiskDownload and install the latest Magisk app. Your device’s bootloader has to be unlocked This tutorial assumes you understand how to use adb and fastboot Today in this video I will show you How can you extract and find boot.img , system.img , recovery.img file of any android phone without. If you are still in the adb root shell then enter the following 2 commands in terminal to exit root shell and adb.Welcome to Craxoid.
Fortunately, as far as we know, only some Xiaomi devices are known to have this property, so most people can simply ignore this piece of information.)If your device does not have boot ramdisk, read the Magisk in Recovery section before installing. There is no way to detect this, so the only way to know for sure is to actually try. In this case, you will have to follow the instructions as if your device’s boot partition does include ramdisk. The result of this info determines whether your device has ramdisk in the boot partition.(Unfortunately, there are exceptions as some devices’ bootloader accepts ramdisk even if it shouldn’t.

Magisk in RecoveryIf your device does not have ramdisk in boot images, Magisk has no choice but to hijack the recovery partition. If you insist on using custom recoveries, rename the Magisk APK to uninstall.zip and flash it like any other ordinary flashable zip. Flash the patched boot/recovery image to your device.For most devices, reboot into fastboot mode and flash with command:Fastboot flash boot /path/to/magisk_patched.img orFastboot flash recovery /path/to/magisk_patched.img if flashing a recovery imageThe easiest way to uninstall Magisk is directly through the Magisk app. Copy the patched image to your PC with ADB:Adb pull /sdcard/Download/magisk_patched_.img The Magisk app will patch the image to /Download/magisk_patched_.img.
If you decide to boot into the actual recovery mode, long press volume up until you see the recovery screen.As a summary, after installing Magisk in recovery (starting from power off): As soon as you press the combo and the device vibrates with a splash screen, release all buttons to boot into Magisk. A quick search online should easily get you this info. Each device model has its own key combo to boot into recovery, as an example for Galaxy S10 it is (Power + Bixby + Volume Up).
Backup your data before continue. Installing Magisk for the first time REQUIRES a full data wipe (this is NOT counting the data wipe when unlocking bootloader). (Recovery Key Combo) → (Splash screen) → (Long press volume up) → (Recovery Mode)(Note: You CANNOT use custom recoveries to install or upgrade Magisk in this case!!) Samsung (System-as-root)If your Samsung device is NOT launched with Android 9.0 or higher, you are reading the wrong section. (Recovery Key Combo) → (Splash screen) → (Release all buttons) → (System with Magisk)

Enable developer options, and confirm that the OEM unlocking option exists and is grayed out. Connect the device to Internet during the setup. Skip through all the steps since data will be wiped again in later steps. Go through the initial setup. This will wipe your data and automatically reboot.
Choose “Select and Patch a File” in method, and select the AP tar file If your device does NOT have boot ramdisk, make sure “Recovery Mode” is checked in options. It is normally named as AP_.tar.md5 Unzip the firmware and copy the AP tar file to your device. Use either samfirm.js, Frija, or Samloader to download the latest firmware zip of your device directly from Samsung servers. Your bootloader now accepts unofficial images in download mode
Open Odin on your PC, and flash magisk_patched.tar as AP, together with BL, CP, and CSC ( NOT HOME_CSC because we want to wipe data) from the original firmware. Reboot to download mode. Copy the patched tar file to your PC with ADB:Adb pull /sdcard/Download/magisk_patched_.tarDO NOT USE MTP as it is known to corrupt large files.
Let it do its job and the app will automatically reboot your device.Once you have rooted your Samsung device, you can no longer upgrade your Android OS through OTA. It should show a dialog asking for additional setup. Install the latest Magisk app and launch the app. If your device does NOT have boot ramdisk, reboot to recovery now to enable Magisk (reason stated in Magisk in Recovery). Agree to do a factory reset if asked. Your device should reboot automatically once Odin finished flashing.
Flash AP + BL + CP + HOME_CSC when upgrading.This installation method is deprecated and is maintained with minimum effort. Never just flash only AP, or else Odin may shrink your /data filesystem size. Always patch AP in the Magisk app and use that instead. To upgrade your device with a new firmware, NEVER directly use the stock AP tar file with reasons mentioned above. Never, ever try to restore either boot or recovery partitions back to stock! You can brick your device by doing so, and the only way to recover from this is to do a full Odin restore with data wipe. The only difference here is in the Odin flashing step: we do NOT use the CSC tar, but the HOME_CSC tar instead as we are performing an upgrade, not the initial install.
If you have trouble renaming the file extension (like on Windows), use a file manager on Android or the one included in TWRP to rename the file. Zip, for example: Magisk-v22.0.apk → Magisk-v22.0.zip. If you face any issues, please use the Patch Image method as it is guaranteed to work 100% of the time. Due to this reason, installing Magisk through custom recoveries on modern devices is no longer recommended.
DO NOT MANUALLY WIPE THE CACHE PARTITION. If it isn’t installed automatically, manually install the APK.Warning: the sepolicy.rule file of modules may be stored in the cache partition. Reboot and check whether the Magisk app is installed.
