How to get the Sony Boot.Img file from Sony Boot.Sin

- Advertisement -

This guide will walk you through extracting the Sony boot. Sin file to obtain the boot.img file. Maximizing the potential of your device necessitates system partition access and administrative rights, both of which can be achieved by rooting your device through Magisk.

You have two options: flash the Magisk App using TWRP or without TWRP Recovery. The latter method involves acquiring the stock boot.IMG file, patching it with Magisk, and flashing it using Fastboot Commands. While the second procedure is slightly more time-consuming, many users prefer it because not all Sony devices support TWRP Recovery, and it simplifies the somewhat complex process of using a custom recovery.

Original Equipment Manufacturers (OEMs) do not provide stock firmware files in ZIP format. Instead, OnePlus has its payload.bin format, while Realme and Oppo use OZIP. On the other hand, Sony presents its firmware partition files (boot, system, vendor, vb meta, and so forth) in SIN format.

If you are among those wondering how to extract files of this format, this guide will streamline the process. You will find step-by-step instructions on removing the Sony boot. Sin file to get the boot.img file.

- Advertisement -

How to Extract Sony Boot.sin and get the Stock Boot.img File

Sony Boot.Img file from Sony Boot.Sin

The instructions below are separated into individual sections for clarity and ease of understanding. Please follow them in the exact order listed. Neither AMS nor its members can be held responsible if the steps result in any adverse outcomes, such as thermonuclear war, an alarm not functioning, or any damage to your device or its data.

Step 1: Download Sony Stock Firmware

  • Firstly, you need to download the stock firmware for your Sony device, a process made simple using the XperiFirm Tool.
  • Download the XperiFirm Tool v 5.6.1 \[Credit: XDA Senior Member IgorEisberg] and extract it to a convenient location on your PC.

the XperiFirm-x64.exe file

  • Navigate to the extracted folder and launch the XperiFirm-x64.exe file by double-clicking it. If you’re using a 32-bit system, launch the x86 file.
  • Select your device and region from the menu bar on the left in the tool. Then, locate the Available Firmware section and click on the corresponding version number.

locate the Available Firmware section

  • Next, press the “Download” button, select your preferred download folder, and wait for the download to complete.
  • After the process, an “Unpacked Successfully” message will appear, as shown in the illustration.

Unpacked Successfully

  • Once the firmware file has been downloaded, extract it on your PC to a location of your choice.

Sony boot. Sin file to receive the stock boot.img file.

Now that we’ve successfully downloaded the firmware for your device let’s move to the next step: extracting the Sony boot. Sin file to receive the stock boot.img file. We will guide you through this process in the following section.

Step 2: Extract the Sony Boot.sin file and get Boot.img

  • Begin by downloading the Sony Dump Tool, a project credited to XDA Senior Member munjeni.
  • Once the download is complete, extract the tool to a location of your choice on your PC.
  • Next, move the boot.sin file to the same folder where you have extracted the Sony Dump Tool. This streamlines the subsequent steps in the process.

move the boot.sin file to the same folder

  • Inside the same folder, create a new subfolder and name it “output.” This will be the location where the extracted boot file is saved.
  • Then, navigate to the address bar of the Dump Tool folder, input “CMD,” and press Enter. This action will launch the Command Prompt.

CMD and press Enter

  • In this CMD window, execute the following command (replace boot filename accordingly):
sony-dump output bootfilename.sin
  • The boot filename in my case is boot_X-FLASH-ALL-2389, so the command is:
sony-dump output boot_X-FLASH-ALL-2389.sin

boot_X-FLASH-ALL-2389

  • Inside the same folder, create a new subfolder and name it “output.” This will be the location where the extracted boot file is saved.
  • Then, navigate to the address bar of the Dump Tool folder, input “CMD,” and press Enter. This action will launch the Command Prompt.

Dump Tool folder

  • First, right-click on the desired file and choose ‘Rename‘. Afterwards, append ‘.img’ to the file name.
  • A popup message will appear from Windows, asking if you’re sure about changing the file extension. Click ‘Yes’ to confirm.

Click 'Yes' to confirm.

Congratulations on successfully completing the process and obtaining the boot.img file from boot.sin. It’s great to hear that you’ve also tested it by patching it with Magisk and experienced no issues. You’ve done an excellent job following the steps and ensuring the process was error-free. If you have any further questions or need assistance, feel free to ask.

- Advertisement -

LEAVE A REPLY

Please enter your comment!
Please enter your name here