Extract Stock Boot.Img From OnePlus OxygenOS Stock ROM
Extract Stock Boot.Img From OnePlus OxygenOS Stock ROM
Here, we’ll stroll you by the steps of extracting stock boot.img from the OxygenOS stock ROM of OnePlus devices. All OnePlus devices which have the payload.bin file as segment of their stock firmware can exercise this tutorial. It sounds as if OnePlus devices, as of now, practice this format on a relative foundation. Furthermore, you’re going to salvage that have to you download the stock firmware, it’s in ZIP format. However, you will now not salvage boot.img, supplier.img, plan.img, or other recordsdata have to you extract the contents.
As a replacement, there would be a compatibility ZIP file, a META-INF folder, a text file, a PB file, and most importantly, a payload.bin file. Are the IMG recordsdata aforementioned the place they have to be? Probabilities are you’ll presumably maybe maybe presumably’t extract them by WinZIP or WinRAR because they’re packed at some level of the payload.bin file. It may probably be needed to make exercise of Python alongside with a Decrypt Instrument for that. This e book will display you the ample strategy to extract stock boot.img from OxygenOS stock ROM for OnePlus devices. The first ingredient we now have to elevate out is resolve why the technique is required.
What’s the reason for extracting the OnePlus OxygenOS Stock Firmware Payload.bin?
Android OS offers a wide number of customization alternate suggestions attributable to its originate-provide ecosystem. The daily user can be minute to placing in a custom launcher, changing the font type, and changing the icon packs. Folks which may be tech followers, nonetheless, scuttle a step extra. When a machine’s bootloader is unlocked, custom ROMs tackle AOSP and Pixel Expertise are flashed, custom recovery apps tackle TWRP are installed, or the plan partition can be accessed. By rooting their machine utilizing Magisk, they may be able to influence the latter.
Consequently, there are two varied approaches: by TWRP and without TWRP. With the ragged, all or now not it’s miles a have to to elevate out is flash the Magisk Installer ZIP file. The latter requires extracting the stock boot.img, patching it with Magisk Supervisor (which now supports Android 11) and flashing it by Fastboot. The first technique have to be preferred by each person, isn’t it? If truth be told, the option isn’t always in the user’s hands. The clarification for that’s that now not every Android machine has a TWRP smash installed.
There is a possibility that OnePlus devices can also consist of one in some unspecified time in the future, nonetheless the provision would make the effort. It may probably also even take a month or two for the unofficial builds to be launched (looking out on when the kernel provide is launched). This ability that, folk score systems that don’t require TWRP to root their devices. This requires you to develop the stock boot.img file as a first step. Earlier, OEMs uploaded their firmware as ZIP recordsdata, which they would extract and remove remember of the recordsdata they wanted. The scenario has changed now, nonetheless.
There are a bunch of varied file formats ragged by OnePlus, collectively with payload.bin, OZIP, Realme, and Oppo. For the applications of this e book, we’ll focal level on the ragged. Our e book will display you the ample strategy to extract the stock boot.img from the OnePlus machine’s OxygenOS stock ROM. In this case, or now not it’s miles a have to to patch it by Magisk and flash it by Fastboot to the desired plan. To practice the instructions in its entirety, practice alongside with the steps under. Probabilities are you’ll presumably maybe maybe presumably also download the stock boot.img file straight from here: Download OnePlus Nord Stock Boot Image Recordsdata [All Versions].
Methodology 1: Extract payload.bin File by Payload Dumper
There are a pair of necessities or now not it’s miles a have to to meet earlier than we web to the instruction steps. Execute obvious to checkmark your entire requirements earlier than persevering with with the steps to extract the stock boot.img from the OxygenOS stock ROM for the OnePlus machine. Let’s practice alongside.
Must haves
The Payload Dumper Instrument is required for extracting the Payload.bin file. Gregory Montoir created this instrument, which we would score to thank. Payload_dumper.zip can be downloaded from this link: payload_dumper.zip
The identical applies to placing in Python in your laptop. For the most up-to-date version of Python, download Python v3.8.5.
STEP 1: Set up Python in your PC
Begin the Python living-up file by clicking the EXE file. After that, this may presumably maybe quiz for the set up directory. Probabilities are you’ll presumably maybe maybe presumably proceed with the default one by clicking on Set up Now, which makes this e book more uncomplicated to practice. Whenever it’s possible you’ll also very smartly be making an strive to interchange the set up directory, click Customize Set up.
It would now not matter what set up directory you elect, remember it to hand because you’ll need it later. Interior a minute or two, the set up project can be entire. In narrate to exit the setup wizard, hit the End button as soon as that has been completed.
STEP 2: Set up the Payload Dumper file
OnePlus’ OxygenOS stock ROM then desires to be extracted to web its stock boot.img. Having installed Python, it’s possible you’ll also proceed with extracting the Payload.bin file from the OnePlus OxygenOS stock firmware and getting the stock boot image file. This may presumably maybe maybe also be completed utilizing the Payload Dumper Instrument. Listed here are the steps or now not it’s miles a have to to practice:
As soon as Python has been extracted, extract the contents of the Payload Dumper Instrument into the identical folder.
Whenever you selected the default directory when placing in Python, then you definately have to extract the contents to:
C:UsersUSER-NAMEAppDataLocalProgramsPythonPython
STEP 3: Extract Payload.Bin
In narrate to open up, you’re going to have to extract the OnePlus Stock ROM. It may probably be in ZIP format, so you’re going to need WinZip or WinRAR to elevate out this. When the extraction is entire, you would possibly want to evaluate a pair of recordsdata, collectively with payload.bin.
The payload.bin file have to be moved to the Python folder the place it’s possible you’ll also have installed Python.
This directory will now salvage the Payload Dumper Instrument, the payload.bin file, and the Python instrument.
CMD can be discovered in the identical folder whereas you happen to kind it in the address bar and hit Enter. The usage of this dispute will delivery the Present Suggested.
Probabilities are you’ll presumably maybe maybe presumably set up the dependencies by typing in the following dispute:
python -m pip set up -r requirements.txt
In the end, go the under dispute heart’s contents to extract your entire contents of the payload.bin file. The scale of the equipment will resolve how prolonged it takes.
python payload_dumper.py payload.bin
We had been in a space to develop three recordsdata from payload.bin: boot, plan, and supplier. Dtbo and some other recordsdata can be integrated in some conditions.
As rapidly as all recordsdata have been extracted, they’ll be placed into a folder named Output. Within the case the place Python is installed in the default directory, the output folder can be positioned as follows:
As soon as the file has been downloaded, it’s possible you’ll also extract it wherever in your laptop. Filenames can be one thing tackle payload-dumper-go_1.0.0_windows_amd64. The file have to be renamed to payload-dumper-scuttle.
The next run is to download the liblzma-5.dll file and reproduction it to the identical folder as the payload-dumper-scuttle.exe file.
As soon as that has been completed, transfer payload.bin to this folder as smartly.
For the time being, you’re going to must have payload-dumper-scuttle.exe, payload.bin, and liblzma-5.dll in a single folder.
Then kind CMD into the address bar of that folder, and hit Enter. Upon clicking this, you’re going to be introduced on to originate the Present Suggested.
Probabilities are you’ll presumably maybe maybe presumably extract the payload.bin file by typing the following dispute:
payload-dumper-scuttle payload.bin
Now, it’s possible you’ll also open the extraction project that can finest take a pair of seconds.
As rapidly as the extraction project is entire, your entire extracted recordsdata can be placed in a folder named extracted_date_time.
There it’s possible you’ll also have it. In narrate to root your machine, or now not it’s miles a have to to patch by Magisk and flash the boot.img file by Fastboot after having made exercise of the boot.img file. With this, it’s possible you’ll also have successfully extracted the payload.bin file and obtained the stock boot image file by the Payload dumper instrument and Python. In conclusion, we now have proven you the ample strategy to extract the stock boot.img from OnePlus’ OxygenOS stock ROM. Allow us to know whereas you happen to restful have questions in the feedback half under.