zacharee / SamloaderKotlin

MIT License
863 stars 103 forks source link

Prepare firmware for flashing with Heimdall #216

Open jstrunk opened 2 months ago

jstrunk commented 2 months ago

Is your feature request related to a problem? Please describe. Samsung firmwares are not easy to flash with Heimdall. You need to get and possibly update the PIT file. You need to determine which of possibly over a hundred files goes in which partitions without overwriting any user data. You need to possibly decompress the files.

Describe the solution you'd like

170 would be ideal, but I understand the complications. An interim feature would prepare the firmware by decompressing the individual files and generate the full set of parameters needed to flash the firmware using Heimdall on the command line. It could take the existing PIT file as input. It could have options to preserve or destroy partitions with user data with a default to preserve.