How To Guide [Windows] Payload Dumper GUI - dump boot.img and other img files from payload.bin.

Search This thread

vangry2020

Senior Member
Mar 18, 2020
154
123
OnePlus 9 Pro
Hello there. Was bored and decided to make a gui that dumps Payload.bin file for easy flashing.

Tested on Lineage OS 18 Payload.bin


v2.2.png


Result:
output.png


Credits:
Based on vm03 payload_dumper script.

Github:
Payload_dumper.py

Update:
--Version 2.0 changes:
1.Made Program more responsive.
2.Added Payload File and Output folder selection dialogs.
3.Added multi-threading to prevent Gui freezes.
4.Added Android 12 Payload dump support. Tested on Lineage OS 19.1

--Version 2.1 changes:
1.Added Exception handling.
2.Small bug fixes.
3.Slight GUI adjustments.

--Version 2.2 changes (Experimental) (Might return corrupt files):
1.Reworked GUI Design.
2.Packaged Gui & Dependencies Into a Single Executable.
3.Slight Performance Improvements.

--Version 2.3 changes
1.Fixed bug resulting in corrupt img files after dumping.
2.Updated Python to (version: 3.11.0).
 

Attachments

  • Payload Dumper Gui v2.1.zip
    10.5 MB · Views: 5,064
  • Payload Dumper Gui v2.2.zip
    9.3 MB · Views: 1,624
  • Payload Dumper Gui v2.3.zip
    8.3 MB · Views: 16,955
Last edited:

NeonHD

Senior Member
Jul 7, 2015
267
117
WTF, how was this not made before?! This is literally an essential tool for all ROM flashers.

I tried doing it on my own and followed all the instructions to a tee, but I still end up with errors in powershell. And if that error is fixed, another error turns up. I find it unbelievable how others manage to do this error-free. And in theory it should be easy, but not for me unfortunately.

After I loaded up this tool it instantly returned all the files, thank you!!!

They should attach your tool in all ROM posts.
 
Last edited:
WTF, how was this not made before?! This is literally an essential tool for all ROM flashers.

I tried doing it on my own and followed all the instructions to a tee, but I still end up with errors in powershell. And if that error is fixed, another error turns up. I find it unbelievable how others manage to do this error-free. And in theory it should be easy, but not for me unfortunately.

After I loaded up this tool it instantly returned all the files, thank you!!!

They should attach your tool in all ROM posts.
There is a tool called Payload-Windows-GO. Basically you just hover over the payload file over the EXE file of the tool and it extracts it. No commands or terminal needed. It's been there for ages.
 
  • Like
Reactions: primazz

EtherealRemnant

Senior Member
Sep 15, 2007
5,147
2,307
38
Denver, CO
OnePlus 9
Samsung Galaxy Watch 4

NeonHD

Senior Member
Jul 7, 2015
267
117

RSM10

Senior Member
Oct 18, 2015
306
37
Redmi K20 / Xiaomi Mi 9T
Can anyone share some good tool to extract and repack android 12 and 13 roms on windows. The new roms have payload.bin files, i tried this tool but it says corrupt input data.
 

IamTheBRAVE

Senior Member
Can anyone share some good tool to extract and repack android 12 and 13 roms on windows. The new roms have payload.bin files, i tried this tool but it says corrupt input data.
Try this:
 

RSM10

Senior Member
Oct 18, 2015
306
37
Redmi K20 / Xiaomi Mi 9T

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    Hello there. Was bored and decided to make a gui that dumps Payload.bin file for easy flashing.

    Tested on Lineage OS 18 Payload.bin


    v2.2.png


    Result:
    output.png


    Credits:
    Based on vm03 payload_dumper script.

    Github:
    Payload_dumper.py

    Update:
    --Version 2.0 changes:
    1.Made Program more responsive.
    2.Added Payload File and Output folder selection dialogs.
    3.Added multi-threading to prevent Gui freezes.
    4.Added Android 12 Payload dump support. Tested on Lineage OS 19.1

    --Version 2.1 changes:
    1.Added Exception handling.
    2.Small bug fixes.
    3.Slight GUI adjustments.

    --Version 2.2 changes (Experimental) (Might return corrupt files):
    1.Reworked GUI Design.
    2.Packaged Gui & Dependencies Into a Single Executable.
    3.Slight Performance Improvements.

    --Version 2.3 changes
    1.Fixed bug resulting in corrupt img files after dumping.
    2.Updated Python to (version: 3.11.0).
    2
    @vangry2020 you're the heckin' best! 😎
    2
    unpack for editing, so how to repack the payload.bin file??
    You might want to consider giving SuperR's kitchen and Multi Image Kitchen a good read.
    1
    Thank you!
    I will give it a try soon💪🏻💪🏻
    1
    @vangry2020 you should get bored more often 😂
    Thanks for this. Was planning to downgrade with msm and root using the the larest oos11 so this will be very helpful 👍