Hey
@mattytrog, this is some good stuff! I don't use SXOS anymore, but I'd like to store my license on my Trinket for posterity just in case and I'm a little confused on how to do it. A step-by-step for dummies would be greatly appreciated.
OK... The steps areas follows... (you only need to do it the once).
Download HxD (or your favourite hex editor), install it.
Open your license.dat in HxD
Download V3 or V4. Open in HxD in a new window.
Find SXOSSXOSSXOSSXOS... eg Trinket starts at offset 0x1F084 (or 0001F084 if you prefer) in version 3.
In version 4 or any other chip, just search for SXOSSXOSSXOS and follow...
Overwrite all the SXOSSXOS chains with your license.dat code. You copy / paste from one HxD window into the other.
Now, this bit is important... ONLY OVERWRITE THE SXOS LETTERS. Nothing else.
You may need to do it in two parts...
IMPORTANT:
YOUR SXOS LICENSE.DAT SHOULD FIT EXACTLY OVER THE SXOS letters.
If it doesn`t seem big enough, or seems too big, you have DONE IT WRONG.
Once you have done this, double check!
Save... Upload to chip by dragging your modded UF2 to it.
YOU MAY NEED TO DRAG PART 1 over first as described in OP. Simple enough.
TO TEST:
Rename your current licence.dat to something else. ie licence1.old
Enter the bootloader screen, by holding power and hold VOL+.
Select the option of regenerate SXOS licence.dat
It will now generate the file...
Try to boot.
If SXOS boots without issue, congratulations...
If it goes to their "boot screen", then something is wrong.