OK... Think it is time for v1.0 of this Frankenstein thing I have made.
Just going to call it Switchboot from now on I think. And the bootloaders, we will call "SWITCHBOOT" bootloaders.
No particular reason, just fancy a change. I was just going to call it "Hekate Unofficial", but I`ve bolted on various (useless?) stuff that suit my needs better.
So, without further ado, keep checking the OP for a change.
New features in "Switchboot V1.0"
- Backup multiple nands / boot files into different folders.
- I was going to implement an on-screen keyboard, but lack of space (heading towards stack corruption) and motivation, led this to not happen. I think its pointless anyway.
- There are maximum 5 folders (with BOOTS sub-folders) that your backups are saved to. These folders are created as they are required. They are called BACKUP_1, BACKUP_2 etc... You will also see a subfolder called "BOOTS". This is where your boot0/1 are backed up to.
- You will see an option in the tools menu to select your save folder. Default is "0". The currently selected folder is displayed at the bottom.
- Once you have picked a folder, or use the default, all backup / restore / verify options (apart from "Emmc_Emergency_fix / Quick backup") will be based on that folder.
So, a scenario...
You are on 6.2.0 and you want to update to 7.0.1 but you want to backup your 6.2.0 emmc...
- Choose a folder. In this example, we will choose "1"
- Backup as normal. Either use rawnand or the partitions or whatever
- Backup your BOOT0/1
Your backup is complete...
Then, lets say you upgrade to 7.0.1. All goes well, you are on 7.0.1. Run Switchboot V1 again and go to tools and choose a different folder. We will choose "2".
- Backup as normal, however you like
- Backup BOOT0/1
You are finished.
You want to restore your 6.2.0 backup?
Select folder "1" and then restore / verify / restore BOOT0/1 - do what you need to do. No need to drag / drop anything over from the PC - just restore.
Your 6.2.0 restore & boot0/1 will be restored.
Likewise if you want to restore your 7.0.1 backup - restore in the same way, just make sure you have picked "folder 2".
You can of course use whichever folder you like.
You don`t need to backup your USER partition if you don`t want. I`ll leave that up to you.
You can also dump all your keys while you are at it with "Dump All Keys" option.
Keep checking back if you would like to try this out. I`ll be updating my git with source and UF2s either this evening or tomorrow morning. It is 21:48 here so may not be tonight.
Thank-you!