WIP Modchip Software: Simple-UF2 with SWITCHBOOT. Save fuses without AutoRCM

Discussion in 'Switch - Backup Loaders & Modchips' started by mattytrog, Dec 18, 2018.

  1. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    OK sir...

    Your options are:

    1) Modify the shield (recommended) so the Trinket is fitted directly to the RAM shield. You can cut a trinket-sized "flap" in the shield using just ordinary scissors.
    2) Shave some height off the button "nipple" with a craft knife or similar
    3) Remove button completely and use a pigtail(small length of wire) and solder to RST pad and touch it to GND.
    4) Modify back cover slightly (create an indentation on the inside where the button "nipple" sits.) ie craft knife, or touch with soldering iron, cleaning up the indentation with a knife.
    5) Drill small pinhole in back cover (ie a reset hole)

    Thats about it.

    I prefer modifying the shield personally. The best overall solution. I have outlined elsewhere why I think this and have done tests regarding cooling and rigidity of the console. There is no difference whatsoever pre-modification and post-modification.
     
    Last edited by mattytrog, Jun 15, 2019
    Skater4599 likes this.
  2. Skater4599

    Skater4599 GBAtemp Advanced Fan

    Member
    6
    May 29, 2008
    United States
    United States

    Thank you sir, I will try those options starting with your reccomendation of modding the shield :)

    I appreciate your time for answering!
     
  3. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    No worries!

    You do need the reset button I`m afraid... Unless you use Fusee-UF2. Then I guess you can remove it as you probably never need change it once flashed.
     
  4. angelo_

    angelo_ Member

    Newcomer
    1
    Apr 23, 2019
    Brazil
    I had to dessolder from the Switch and connect directly to the computer to update, and now it works.
     
    mattytrog likes this.
  5. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Fantastic. Use Fusee-UF2 and Switchboot v1.3.6 (only bin file though) on my git.
     
    angelo_ likes this.
  6. angelo_

    angelo_ Member

    Newcomer
    1
    Apr 23, 2019
    Brazil
    That's what I am doing now and it is working just like I wanted. Congratulations on this wonderful job!
     
    mattytrog likes this.
  7. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Congratulations on another successful install! :)
     
    angelo_ likes this.
  8. mrdude

    mrdude GBAtemp Advanced Fan

    Member
    7
    Dec 11, 2015
    @mattytrog

    Hi dude, here's a feature request. As you now have emunand stuff in your payload and also you cater for SXOS and Dual boot etc, can you add a couple of lines of code to do this:

    1: Create a folder in the root of the sd card - emummc
    2: Create a file in the folder you created called - emummc.ini

    emummc.ini - contents should be:

    [emummc]
    emummc_enabled = 1
    emummc_sector = 0x2
    emummc_nintendo_path = Emutendo


    This would allow people using Atmosphere (new one), to use the same hiddden emunand partition that SXOS uses - so only 1 nand image is required and nsp installed games can be used on both SXOS and Atmosphere at the same time, all save data is compatible with both firmwares and you can switch between Atmos if you want to use plugins such as emuiibo, then if you want to jump back to SXOS and have game saves with added lives etc (from amiibos), you can easily go back and have the best of both worlds/CFW's.

    I plan on adding this to Argon-NX mod myself - but I'm sure some of your users would appreciate it - until Atmosphere devs add that code automatically to their own CFW.
     
  9. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Yes. Emummc support is coming in 1.4.0.

    Ahead of you sir! All done. Just uf2 to make and push to git.
     
    peteruk and mrdude like this.
  10. mrdude

    mrdude GBAtemp Advanced Fan

    Member
    7
    Dec 11, 2015
    @mattytrog,

    Thanks bud! There's no rush - just when you feel up to it. We can do it manually no problem for now. It would be good though to add that to a chip. I'm going to make it do it if I press V+ and V- at the same time on argon-nx.
     
    Last edited by mrdude, Jun 18, 2019
    peteruk likes this.
  11. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Yep. Brilliant.

    I`m just in two minds wether to release now, which is fine... But the problem is most people will use Hekate. I`m thinking I should wait until Hekate drops so I can combine both implementations.

    If I`m putting things in that Hekate will never have in it, then fine. I can do what I like... :P

    However, if I create problems for Hekate, I`d be really mad at myself, then I`d be running around like a blue-arsed fly correcting things.

    CTCAer is the boss. How he does things, is how he does things... I follow and match accordingly.

    Shit rolls downhill. And I`m downhill.
     
    mrdude likes this.
  12. mrdude

    mrdude GBAtemp Advanced Fan

    Member
    7
    Dec 11, 2015
    Yes, you're probably correct to wait a day or two - TBH it's just a small code change anyway, so no hassle to implement when the time is right. I've already got my switch set up so for me it's not a drama, more for other people to make life a little easier I guess. But you're right to wait. So thanks for looking.
     
  13. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    No worries. It is a piece of cake to implement. Once you have a grasp of FatFS, it is trivial.

    I just had some clone features and reset features in there too. Best to wait :)
     
    mrdude likes this.
  14. linuxares

    linuxares I'm not a generous god!

    Moderator
    17
    Aug 5, 2007
    Sweden
    Matty I wonder. Since these chips can be updated via the USB port. Would it possible to run a tiny cable out of the Switch so you can update the chip with new versions of your UF2?
    I wish it was possible via homebrew but I guess we're far away from that.
     
  15. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Not as far as you might think...

    In theory, it should already be possible to update via usb if you boot into ubuntu.

    Double-press reset and it should show up in ubuntu as a regular usb drive (using the inbuilt connections that we made when fitting the chip).


    Otherwise: Via PC...
    You do not need a usb cable at all...

    Just double-press RESET and select SAMD21 Update Mode in Switchboot menu. And TRINKETBOOT/ SWITCHBOOT will pop right up.
     
  16. linuxares

    linuxares I'm not a generous god!

    Moderator
    17
    Aug 5, 2007
    Sweden
    Oh really? Nice!
     
  17. mrdude

    mrdude GBAtemp Advanced Fan

    Member
    7
    Dec 11, 2015
    @mattytrog - question regarding modchips.

    I've got my switch chippped - I can use sxos and install games via usb using my switch dock + plugging in a usb drive. Also I can enter trinket boot no problem & use memloader to access micro sd card contents via usb.

    The issue I have is with Goldleaf 5, SX installer etc, and Zadig never shows up any usb connection or device is connected - so I can't do usb installs using that software, which is kind of weird as USB obviously works fine (as stated above).

    Do you know what would cause this? I'm using windows 10 and all my other usb devices work fine, and also with memloader it works fine on my switch as well - so the usb ports are fine + so is the connection/wiring.

    Have you had this issue yourself?
     
  18. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Which UF2 file are you using?
     
  19. mrdude

    mrdude GBAtemp Advanced Fan

    Member
    7
    Dec 11, 2015
    I've tried my own and your latest one (trinket m0) - I can send you mine if you want to test it. I've never been able to access usb with Goldleaf or SX Installer on any payloads. But it works fine using SX installer with a usb drive/switch hub - just not pc.

    My utf2 looks for autoboot.bin in the root of the microsd card (also your power led probably won't work on your trinket if you use this as the board layout has that changed).
     

    Attached Files:

    Last edited by mrdude, Jun 19, 2019
  20. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Sounds like a SXOS prob to me... What happens under AMS? Same thing?
     
Loading...