2.1 KiB
UniDump: an opensource Unisoc/Spreadtrum phone flash reader
Dependencies
Python 3.8+ and PyUSB.
Usage
Run python unidump.py -h to see all parameters. But there are several typical scenarios that UniDump officially supports.
Note: you need to hold a bootkey pressed when connecting the device for it to be detected correctly. This key can vary across devices. Typically it's Call, Soft Left, Soft Right, Center, 9 or #, but it can be anything else.
SC6531E/F/M
This is the default target for UniDump, FDLs for it are shipped in the repo and you don't need to configure anything else.
For SC6531E, firmware is usually 4MB long, so you just need to run python unidump.py your-output-file.bin.
For SC6531F or SC6531M where firmware can be larger, you need to pass in the length. As with any integer parameter here, you can pass it in hexadecimal format as well.
E.g. for CAT B26 (bootkey is #): python unidump.py -l 0x6b7000 b26.bin
UMS9117/UMS9117L (NOT SUPPORTED YET)
For these 4G chipsets you need to use your own FDLs (although you may try the ones shipped with UniDump) and the following addresses: 0x6200 for FDL1, 0x80100000 for FDL2.
E.g. for Nokia 225 4G (if you're in the UniDump directory): python unidump.py -fdl1 fdls/ums9117/fdl1.bin -addr1 0x6200 -fdl2 fdls/ums9117/fdl2.bin -addr2 0x80100000 225.bin
SC7701/SC7702/SC7703 (NOT SUPPORTED YET)
First, for these 3G chipsets you need to use your own FDLs (although you may try the ones shipped with UniDump) and the following addresses: 0x40000000 for FDL1, 0x0 for FDL2.
E.g. for Nokia 3310 3G (if you're in the UniDump directory): python unidump.py -fdl1 fdls/sc770x/fdl1.bin -addr1 0x40000000 -fdl2 fdls/sc770x/fdl2.bin -addr2 0 3310-3g.bin
Second, these phones are connected in a different way: disconnect the cable, remove the battery, run the command, connect the cable, hold the bootkey and then insert the battery.
SC6531D and lower
For now, SC6531DA and other single-FDL variants of SC6531 chipset are not supported.
Credits
Created by Luxferre in 2021. All files except the FDL blobs are public domain.