How to Create Patched Samsung Recovery with FastbootD

fastbootd samsung recovery

fastbootd samsung recovery

In this guide, we will show you the steps to create a patched Samsung Recovery with FastbootD Mode. The underlying architecture of Samsung devices is quite different when compared with the rest of Android OEMs. Right from the region restrictions imposed on OEM Unlocking to flashing in Download Mode instead of Fastboot or flashing via Odin instead of Fastboot Commands, there are quite a lot of differences that it beholds in the technical domain.

Along the same lines, flashing a Generic System Image on these devices is no easy task in itself. On most Android devices, you just need to disable verification by flashing vbmeta, boot to FastbootD, delete the product partition, flash the GSI, and finally format data. However, in the case of Samsung, if you try booting to FastbootD Mode, it will end up booting back to OS because these Samsung devices don’t come with built-in support for this mode.

As a result of this, let alone flashing the GSI, you wouldn’t be able to delete the product partition [which is required to make space for the system.img]. And this is the major reason why many users are unable to flash a Generic System Image on their device. Well, it’s time to put this concern to bed as this guide will make you aware of a nifty workaround through which you can create a patched Samsung Recovery with FastbootD Mode. So without further ado, let’s check it out.

How to Create Patched Samsung Recovery with FastbootD

  1. To begin with, log in or sign up to the GitHub website.
  2. After that, set up Git on your PC via the preferred method.
  3. Once that is done head over to the Patch Recovery Script.
  4. Then click on Fork at the top right and wait a few seconds.Samsung Recovery FastbootD
  5. Now type in the Repository Name as well as its description.
  6. Finally, click on Create Fork and wait for it to be completed.Samsung Recovery FastbootD
  7. Now, download Samsung stock firmware via Frija/SamFw.
  8. Then extract it and you’ll get the partition files in .TAR.MD5.
  9. Right-cluck AP > Show Mpre Options > 7ZIP > Open Archive.
  10. Now select the recovery.img.lz4 and extract it onto your PC.Samsung Recovery FastbootD
  11. Once done, extract the recovery.img from recovery.img.lz4.Samsung Recovery FastbootD
  12. Next up, upload the recovery.img to the website.
  13. Once done, right-click on Download button and copy the URL.
  14. Then go to Actions tab > click on RECOVERY -> Run workflow.
  15. Next up, type in the copied URL in the RECOVERY URL field.
  16. Then Start the workflow. The patching process will now start.
  17. Once done, A will be uploaded to the patched recovery fastbootd
  18. So download it and then extract it to get hold of the recovery.img.
  19. The Image will already be repacked to .tar for flashing it via Odin.
  20. For flashing TWRP, load the twrp.tar file to the AP slot via Odin.Download Odin Samsung
  21. If required, also flash the vbmeta_disabled_r to disable the AVB.
  22. For flashing vbmeta_disabled, load the file to the Userdata slot.

Once the recovery has been flashed, you may now reboot to Patched Recovery on your Samsung device and carry out the desired task, not to mention the fact that you’ll now have the FastbootD Mode as well.

How to Boot Samsung to FastbootD without Patched Recovery

There’s no denying the fact that creating a patched recovery is quite an effort-taking task in itself. However, for many users out there, this is their only course of action as their device doesn’t have support for a custom recovery. However, if your device does have one, then you could skip this entire creation of patched recovery. Instead, you could simply flash the desired recovery [TWRP, OrangeFox, or PitchBlack], go to their Reboot section, and select FastbootD Mode.

reboot fastbootd twrp

Your device will reboot to the said mode within seconds and you could then carry out the desired task. However, again we are re-iterating this statement that this tweak is only possible for devices having a custom recovery support. If that is not the case with you, then you have no choice but to opt for the aforementioned patched recovery method.

So on that note, we round off this guide about Samsung devices booting to FastbootD Mode. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution as soon as possible.

Leave a Reply

Your email address will not be published. Required fields are marked *