Tried on Atmosphere 0.18?
yes everything works
Tried on Atmosphere 0.18?
#CBZ to B checker - MrDude
#Check instrctions here(Arm64) - https://armconverter.com/?disasm
import struct
byte = "0x80020034" #(cbz w0, #0x50)
byte1 = int(byte, 16) # convert above byte string to an int
byte2 = struct.unpack("<I", struct.pack(">I", byte1))[0] # convert endianess of int/byte
value1 = int((0x14 << 24) | ((byte2 >> 5) & 0x7FFFF)) # the make branch inst & byteshift
inst = struct.unpack("<I", struct.pack(">I", value1))[0] # convert endianess
hexval = '0x{0:0{1}X}'.format(inst, 8) # change int back to uppercase hex (make sure we also print leading zero)
print (hexval) # (b #0x50 - 0x14000014)
ES-MakeIPS.exe "firmware 11" prod.keys
Mabey I will write a windows program when I get some time and put that on github. In the meantime - I'll just stick to this thread so the info is more public and can be seen by more people - then they can also read the entire thread to see what's been done, and how we managed to write the patches.@mrdude have you considered uploading your scripts to a git server? I'd make it easier to have latest modifications
Thanks for your awesome btw!
Here you go fellas, all the scripts have now been re-written, cleaned up etc - these should be final now and all previous ones can be deleted and replaced with these. I also added a little python menu for you so you don't need to use batch scripts or make bash scripts.
(In the menu, you might need to edit where you installed python), The menu will automatically install the bitstring module if you don't have it installed already the first time you run it.
All ips files will be generated inside the output folder to there relevant folders for atmosphere, patches.ini will be put in the root of the output folder so you can easily add them to your current patches.ini file.
That's me finished with this now - unless I (or someone else) makes a windows gui.
Have fun :-)
You make them into exe's easily. In python install pyinstaller - "pip install pyinstaller".So right now, the only script that still requires Python to be installed is MakeIPS_FS, correct? AutoIPS & MakeIPS_ES have standalone EXE's, just not MakeIPS_FS.
You make them into exe's easily. In python install pyinstaller - "pip install pyinstaller".
Then cd to the directory where the scripts are - and issue this command: "pyinstaller --onefile FS-AutoIPS.py" after a few seconds it will make a standalone exe file for you.
If you are converting to exe - do them all as all the scripts had changes/fixes applied to them. Not sure if you can convert back as I have never bothered trying it - due to having the original files.Cool, I compiled that remaining script into an EXE, Thanks for the info. Do you know if there's a native way to extract a pyinstaller EXE back into the original *.py source file?
aes_kek_generation_source = xxx
aes_key_generation_source = xxx
header_key = xxx
key_area_key_application_00 = xxx
key_area_key_application_09 = xxx
key_area_key_application_0a = xxx
package2_key_0a = xxx
Updated fs patches script, I managed to reduce the time for finding both files down to about 2.5 seconds now instead of nearly 4 (on my old laptop) Not that 1.5 seconds matters - but why not :-). This is about as fast as I can get this now so I won't be looking at that script anymore.
Menu updated, now you can drag and drop your firmware folder or fusee-secondary.bin file on to the menu (open it first and select your choice), so you won't need to type anything into the menu if you're feeling lazy (like me).
Thanks for this, works great! Any chance you could add a comment to the patches.ini output to define firmware version and whether it's the FAT32 or exFAT patch? Earlier in the thread someone said it was displayed in the script output but I don't see it even with toggle debug info on.
in patches.ini first is for ExFat and second for Fat32 you can see that by comparing the patches with the ones already out in other packs but that dosnt matter if it says exfat or fat32 you just dont need that and for the Atmosphere version you will know the version so just like the FS patches you can add that unnecessary info yourself theres no need to make the scripts more complex just to add these