What is a pre-rooted firmware
A pre-rooted firmware is a firmware, which already includes root. This is for example important if you want to update the firmware to a version, where there is no public root exploit. To flash a pre-rooted firmware, you need a recovery menu. An unlocked bootloader is not required.
How does the tool work
The tool should be self-explanatory. SuperSU zip can be downloaded from here. [NUT]'s dualrecovery (*.flashable.zip) can be downloaded from here. Recovery is optional and if your device is not supported by dualrecovery, you can use any recovery (just has to be a flashable zip).
Depending on the firmware size and your computer speed, generating a pre-rooted firmware can take up to 7 minutes. The pre-rooted firmware will be created in the directory of the executable and called flashable.zip.
Note: If you do not include the kernel in the pre-rooted firmware, it's recommended to flash it afterwards with flashtool (check "system" under Exclude).
Note2: I am not responsible for any damage done to your device or if you end in a bootloop.
Androxyde - some helpful information about sin files from his flashtool
[NUT] - used his flashable scripts as base
E:V:A - sgdisk utility
dotnetzip developers (note I'm using a slightly modifed version with a bugfix)
Microsoft .NET 3.0
- Compatible with mono
- New settings file to change temp folder and choose another destination for the pre rooted firmware
- Work towards new sin format introduced with Z3+
- Add the ability to include additional flashable zip files
- Display information when clicking on version number
- Add zip signing option
- Small fixes in code
- v0.6 - Nuked (wrong binary uploaded)
- Prefer to use gpt uuid instead of partition names
- Add different modem sin names
- Clean code
- Fixed bug with missing dualrecovery
- Added check if SuperSU and recovery are flashable
- Added ability to flash modem
- Support for sin v2
- Make dualrecovery zip optional
- Fix exception if file does not exist in sin
- Initial release