Hacking RELEASE Argon-NX-SX-Mod

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,226
Well after reading countless posts on what OS was better, and reading the usual flamers comments - I decided to try All the different firmware's and make my own mind up to which I preferred. To make this easy, I used a payload that let me select what firmware I wanted at boot time, ie dual/triple/quad boot etc. Argon-NX lets you do this easily, however even though it's a great bit of software I decided it needed a couple of mods added to it. See screenshot below.

Now let me explain how this software works:
When you load a modchip or dongle or push a payload to your switch the code in that payload gets executed on the switch - which mounts the micro sd card and lets you run the code in the payload, Argon-nx is designed to let you run alternative payloads and write/read from the micro sd card.
I've added a few mods to this -
1: Generate your sx os - license.dat which is embedded in the payload (so no need to ever worry about losing that if you're chipped or have this payload installed on your dongle). Also it can generate a text file with your sx os licence code.
2: Generate a sx os payload so you can run that as an autoboot.bin (default payload).

Now why:
Say you format your micro sd card/lose your licence - you can always have that stored on your chip/dongle - also you can always boot/create sx os payload on your micro sd card.

Also I added some ability to turn off/reboot/boot ofw to the menu's in Argon-NX. Also those options were added so if you boot into RCM without a micro sd card you can boot to OFW/Shutdown easily from the menu.

Payload creation is simple - replace your license.dat with the one in the payload creation folder, then if you want to add your own serial - just hex edit b.hex (see included picture on where to put it), then click on join.bat. A new payload file will be created and will be unique to your device, and always have your own license embedded. You can flash this to a modchip (trinket mo/samd21 based chip) using binConverter.py and then using arduino ide to upload. If you have a dongle based on samd21 chips - you can flash in the same way you normally flash that.

Anyway - read the readme files.

I originally wrote this readme:

Forked from here: https://github.com/Guillem96/argon-nx

Note: Icons - included is a photoshop file so you can make your own, I changed the layout to 1 line with 4 icons as I prefered that layout - if you need more - place extra payloads in a folder called payloads2.

This Argon-NX mod allows for the automatic creation of your SXOS license.dat, it also has a SXOS payload generator contained within the payload.

One the first run, the Argon-NX menu will appear - you can generate your autoboot.bin (SXOS payload) + license.dat from this menu. Also, if you installed the included SD files, you can load any of those payloads from that menu.

On the second run - if you created autoboot.bin, the switch will boot that automatically when you enter RCM mode. If you keep your finger on Volume Up - the Argon-NX menu will load instead.

The ability to boot into OFW and Shutdown the switch has also been added to the menu.

If the switch boots without a micro SD card - and you boot into RCM, you can choose to boot OFW/Shutdown or reload RCM mode.

This payload can be installed on any dongle that supports payload updates, or can be flashed onto a samd21 based modchip - please ask if you don't know how to do this.

Enjoy!

Icon size increased to 290x290 pixels - see screenshot:

kJbdCeQ.jpg


EDIT: Sd card files updated with new switchboot 1.31
 

Attachments

  • Payload Creation.zip
    122.2 KB · Views: 584
  • source code.zip
    332.8 KB · Views: 287
  • adobe-photoshop-files.zip
    6.7 MB · Views: 413
  • sdcard-files.zip
    7.1 MB · Views: 728
  • reboot_to_argon-nx.zip
    213.4 KB · Views: 513
Last edited by mrdude,

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,226
First post updated:

Bug Fixes:
If a user had more than 4 payloads in the Argon payloads directory, icons would draw over each other - fixed.
Some other minor bug fixes/changes.

Extra menu added - if the user has more than 4 payloads, place extra payloads in Argon/payloads2 directory.

If you previously downloaded - download sd files again as these new graphics are included - you need default.bmp in the argon/logos folder as the payload reads the size from this file to generate icons.

NOTE: Boot to OFW does not work if you have AutoRCM enabled, it works without that enabled though - I've no idea why or how to fix it.
 
Last edited by mrdude,

cots

Banned!
Banned
Joined
Dec 29, 2014
Messages
1,533
Trophies
0
XP
1,952
Country
United States
Upcoming mod: Icons added instead of text, minor icon fixes - new background.

I'll release when I'm finished messing about with this, but it's getting near a finished state now :-)

I like the mod. I recently switched from using SX OS to chainload payloads using my Trinket M0 injector as it now fully supports the touchscreen and custom graphics. Finally got rid of SX OS (the only thing I used it for was the GUI payload chainloading feature). I created a custom payload for the Trinket and now it's just ArgonNX. I don't think you'll be able to fix the AutoRCM + OFW thing as I've never been able to boot into OFW for a while now. I think that's a CFW issue.

The normal ArgonNX supports displaying more then 4 payloads on the main screen. Possibly you could shrink the size of the icons to accommodate that (instead of having to have a separate folder for more payloads)?
 
  • Like
Reactions: SaUzEr

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,226
I like the mod. I recently switched from using SX OS to chainload payloads using my Trinket M0 injector as it now fully supports the touchscreen and custom graphics. Finally got rid of SX OS (the only thing I used it for was the GUI payload chainloading feature). I created a custom payload for the Trinket and now it's just ArgonNX. I don't think you'll be able to fix the AutoRCM + OFW thing as I've never been able to boot into OFW for a while now. I think that's a CFW issue.

The normal ArgonNX supports displaying more then 4 payloads on the main screen. Possibly you could shrink the size of the icons to accommodate that (instead of having to have a separate folder for more payloads)?

I've added an extra page though - you just click on the arrow to see the extra payloads. I won't b shrinking the icons as I prefer them that size, if you need 8 icons on one page - use the argonnx from here:
https://github.com/Guillem96/argon-nx/releases
 
  • Like
Reactions: SaUzEr

WaRp211

Member
Newcomer
Joined
Feb 5, 2013
Messages
23
Trophies
0
Age
43
XP
228
Country
United States
Will this work the XSOS 2.6.1 FW 7.1? I heard that XS 2.6 took out the feature to boot argon NX from options-payloads
 

wurstpistole

GBAtemp MVP
Member
Joined
Nov 19, 2015
Messages
4,654
Trophies
1
XP
5,409
Country
United Kingdom
Will this work the XSOS 2.6.1 FW 7.1? I heard that XS 2.6 took out the feature to boot argon NX from options-payloads
I don't think this boots from SX menu, but from its own payload where your license is manually integrated/merged. I didn't fully understand the first posting, how this is supposed to work.
Also I don't think booting argon is a problem from SX. Only booting atmosphere individually or through argon, coming from SX menu, won't work.
 
  • Like
Reactions: WaRp211

WaRp211

Member
Newcomer
Joined
Feb 5, 2013
Messages
23
Trophies
0
Age
43
XP
228
Country
United States
I don't think this boots from SX menu, but from its own payload where your license is manually integrated/merged. I didn't fully understand the first posting, how this is supposed to work.
Also I don't think booting argon is a problem from SX. Only booting atmosphere individually or through argon, coming from SX menu, won't work.

Cool yeah I found your tutorial on how to keep SX and still have atmosphere on backup just in case you wanted to switch between the two. Thanks for the info really easy tutorial to follow. Wanted to try out the PPSSPP from retroarch doesn't really workout that great even with a full access to ram using freebird. Hopefully they can fix out the kinks and can have full emulation but at least we got something lol. I'll just keep using my PS3 or Vita to play the PSP.
 

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,226
Upcoming update - just got to write a new readme file and I'll release:

uIUmAqY.jpg


Icons from left to right:

Battery - shows battery percentage, changes colours depending on charge level. Shows warning at 5%
Screenshot
Fuse - shows amount of fuses blown.
Gen SX payload as autoboot.bin if autoboot.bin doesn't exist.
Gen SX licence (if you add this yourself)
About
Launch autoboot.bin (icon doesn't show if not present).
Launch ordinary firmware.
Power off.

Top arrow - next page if payloads2 dir exists.

Also many fixes applied, and error checks added, auto centering of payload icons (if less than 4 - no longer goes to left of screen but centres properly), speed increase due to uneeded loop (thanks - JustBrandonT for fix). Auto timer shows text on screen for 5 seconds then text is removed. Updated graphics - and other stuff I probably forgot.

I'll release this week at some point.
 
Last edited by mrdude,

justencase6

Well-Known Member
Newcomer
Joined
Jun 22, 2018
Messages
63
Trophies
0
Age
43
XP
449
Country
United States
Where is the sx license code needed located. Is it the code you use to get the license from TX, or is it the code that's on your screen in SX OS?

Sent from my POCOPHONE F1 using Tapatalk
 

nikeymikey

This is now a Spiderman thread.........
Member
Joined
Nov 19, 2008
Messages
1,510
Trophies
1
XP
2,447
Country
United Kingdom
Where is the sx license code needed located. Is it the code you use to get the license from TX, or is it the code that's on your screen in SX OS?

Sent from my POCOPHONE F1 using Tapatalk

I dont think its either of those but i dont know where to find it either.

Also anyway to boot this from SX Pro dongle?? NO. Found the answer myself. :)
 
Last edited by nikeymikey,

WaRp211

Member
Newcomer
Joined
Feb 5, 2013
Messages
23
Trophies
0
Age
43
XP
228
Country
United States
Upcoming update - just got to write a new readme file and I'll release:

uIUmAqY.jpg


Icons from left to right:

Battery - shows battery percentage, changes colours depending on charge level. Shows warning at 5%
Screenshot
Fuse - shows amount of fuses blown.
Gen SX payload as autoboot.bin if autoboot.bin doesn't exist.
Gen SX licence (if you add this yourself)
About
Launch autoboot.bin (icon doesn't show if not present).
Launch ordinary firmware.
Power off.

Top arrow - next page if payloads2 dir exists.

Also many fixes applied, and error checks added, auto centering of payload icons (if less than 4 - no longer goes to left of screen but centres properly), speed increase due to uneeded loop (thanks - JustBrandonT for fix). Auto timer shows text on screen for 5 seconds then text is removed. Updated graphics - and other stuff I probably forgot.

I'll release this week at some point.

So will this work with SX OS Pro or will we get the black screen again?
 

mrdude

Developer
OP
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,226
So will this work with SX OS Pro or will we get the black screen again?

I don't have an SX OS pro, this code is only tested on Samd21 based chips, so trinkets and other Samd21 based chips + dongles. I have never tested installing via PC. I assume the SX OS pro uses a different kind of chip and probably doesn't understand the instructions, also the timing on that chip will most likely be different due to operating at a different speed. If it didn't work before, there's a very high chance it won't work now either.
 
  • Like
Reactions: peteruk and WaRp211

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I think Nvidia s future lays in AI GPU acceleration stuff if they can get that going it's going to be super interesting in the long term
  • Psionic Roshambo @ Psionic Roshambo:
    AI assisted game creation might become a thing
  • Psionic Roshambo @ Psionic Roshambo:
    At least that's something I think would be pretty cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Don some VR glasses and gloves and talk to the computer and paint entire worlds
  • Psionic Roshambo @ Psionic Roshambo:
    "OK Cortana I want that mountain a little taller and more snow on top, and I would like some random ancient pine forest around the bottom"
  • Psionic Roshambo @ Psionic Roshambo:
    "Now we need a spring fed river flowing down the north side and add some wild life appropriate for the biome"
  • Psionic Roshambo @ Psionic Roshambo:
    Many TBs of assets and the programming of something like that is going to be tough but I think it's something we might see in 20 years maybe sooner
  • The Real Jdbye @ The Real Jdbye:
    @Psionic Roshambo AI assisted game creation is kinda already here, there was recently that AI that can turn any 2D image into a fully modeled 3D object, it's not perfect, but it's a starting point, beats starting from zero
    +1
  • The Real Jdbye @ The Real Jdbye:
    before that there was one to generate a fully modeled scene from a 2D image
    +1
  • The Real Jdbye @ The Real Jdbye:
    but most recently, there was one that actually generates a working unity scene with terrain and textures already set up that you can import right into unity, that's a huge time saver right there
    +1
  • The Real Jdbye @ The Real Jdbye:
    and using LLMs to generate NPC dialogue and even dynamically generated quests is something i'm sure is already happening
    +1
  • The Real Jdbye @ The Real Jdbye:
    will just take some time for games made using those things to be completed and released
    +1
  • K3Nv2 @ K3Nv2:
    @The Real Jdbye, it's bed bath and beyond you nitwit
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 you said instructions with pictures, same difference
  • Psionic Roshambo @ Psionic Roshambo:
    Lol now with 32GBs of VRAM Ken?
  • K3Nv2 @ K3Nv2:
    No IKEA shit breaks within a month bed bath and beyond goes beyond
  • K3Nv2 @ K3Nv2:
    Plus pictures don't always cut it with furniture when there's like 10 different bolt styles and they're just like figure it out
    K3Nv2 @ K3Nv2: Plus pictures don't always cut it with furniture when there's like 10 different bolt styles and...