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

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

?
  1. None - Leave as it is

    10.3%
  2. Add payload to hekate_ipl.ini

    13.8%
  3. Dump All Keys

    13.8%
  4. Backup BOOT0/1/PRODINFO to safe location / Restore from safe location

    3.4%
  5. Choose backup folder to use

    24.1%
  6. Dump package 1/2

    10.3%
  7. Print fuse info

    13.8%
  8. Print EMMC info

    20.7%
  9. Print SD card info

    69.0%
  10. Screenshot

    24.1%
Multiple votes are allowed.
  1. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    Sorry sir! I missed that question. Really really sorry!
     
    popy and peteruk like this.
  2. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    Who wants a basic-beyond-basic UF2 file for their chip?
    <nobody, right?>

    Well, want no more!

    Updating OP with an additional optional UF2 that has the following features:
    • boots "payload.bin"
    • Auto-corrects RCM "trap" (receives an i2c byte from MAX77620 telling it to shut off properly)
    That`s it.
    All fitted straps will be respected, obviously - meaning USB strap if fitted.

    No modes
    No multiple payloads
    No logos
    Nothing.

    Approx, 45Kb when not in a C array :)

    Just a UF2 that runs "payload.bin" on SD root.

    Run Hekate, my mod of Hekate which I call Switchboot Pt.2, SXOS, ReiNX, memloader... in fact any payload.

    Uses Atmosphere / Hekate hwinit. Loads well streams) payload.bin to a buffer, runs it. Thats all.

    No need to keep updated. Unless something major happens, then I`ll update accordingly. I don`t anticipate many updates for this.

    Check OP if anyone interested. Will be uploading soon. It will be called (it don`t fookin need a name) "Fusee-UF2". Thats all it is. Really.
     
    Last edited by mattytrog, Mar 20, 2019
    zeruel85, xalphax, josete2k and 2 others like this.
  3. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    Uploaded Fusee-UF2. See OP.
     
  4. josete2k

    josete2k GBAtemp Fan

    Member
    4
    Apr 24, 2009
    Spain
    Spain
    WOW Fusee-UF2 is really fast!!! Thanks.

    I've seen that if non SD or missing payload.bin, the system shows a warning message and it auto turns off.

    NICE!!!
     
  5. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    Yep.

    The power-off also corrects the hos power-off preventing you from being stuck in RCM (if whatever payload you run doesn`t take care of it for you, that is)

    Thanks for the feedback! First feedback from it :)
     
    josete2k likes this.
  6. feral

    feral Member

    Newcomer
    1
    Feb 24, 2019
    United States
    This is a really nice option @mattytrog, and also leaves me with a few questions.
    1. Would there be anyway way to add an option to select a payload, maybe when holding vol-? I mostly boot straight into the SX payload, but using this would need to get into hekate occasionally, and preferably without manipulating files on the SD card.
    2. Does this do a normal boot if no payload is found? If not, is there a payload that will boot OFW? I use separate SD cards for OFW and CFW and it would be great to autoboot into OFW.
     
  7. josete2k

    josete2k GBAtemp Fan

    Member
    4
    Apr 24, 2009
    Spain
    Spain
    The best for OFW is dualboot installation.
     
  8. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    That isn`t what it was made for.

    This is meant as a VERY basic, very long-lived method to launch a payload. Nothing more.

    With SWITCHBOOT Part 2, you can boot / chainload payload.bin, just like this. However, if you press vol-, it will take you to my mod of Hekate.

    There is also a version of Argon-nx built in (which is set up to mode 3) which gives you auto-chainloading and a touch-screen menu. However, it isn`t finished.

    As for question 2, no. It doesn`t do a normal boot. Reason being, Sept / keys would need to be included (as to bypass fuse check, decrypt pkgs and boot), or burn peoples fuses.

    SWITCHBOOT (the orig. part 1 UF2) is made to prevent fuse-burning.

    So, no.

    The best thing you can do, is use the "dual-boot" version of Switchboot pt1, burn your fuses, and just hold vol+ to boot payload.bin. Don`t get much easier than that...
     
    Last edited by mattytrog, Mar 21, 2019
    peteruk likes this.
  9. feral

    feral Member

    Newcomer
    1
    Feb 24, 2019
    United States
    From what I understand, you will burn fuses booting OFW and updating when running the dual boot method. If that's incorrect, I'm happy to disable my volume strap.

    Understandable. Just thought a nice option would be to have what you've already done along with an option to select a payload if necessary. I also realized after I initially asked this could be done with hekate and an autoboot config.
     
  10. josete2k

    josete2k GBAtemp Fan

    Member
    4
    Apr 24, 2009
    Spain
    Spain
    You're correct.

    But as far I know, the safest mode to start OFW for not being banned is start it from Nintendo's bootloader and of course with burned efuses.
     
  11. FunThomas

    FunThomas GBAtemp Advanced Fan

    Member
    5
    Jan 10, 2016
    Gambia, The
    Hi Matty,
    i'm a bit confused about the new 2 parts.
    If i have trinket with universal fitting and used switchboot and simple-uf2 until now and i want to update,
    do i need to flash switchboot part 1 (https://github.com/mattytrog/Switch.../Trinket/SWITCHBOOT_TRINKET_JOYCON_VOLUME.uf2)
    again or is it the same like the old switchboot ?

    What file do i choose for the switchboot part2 for universal fitting with trinket ?
    or is the file https://github.com/mattytrog/Switch...t 2 UF2/TRINKET_REBUG_SWITCHBOOT_PART2_V1.UF2
    for trinket and switchme chips with universal fitting?
     
  12. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    Yeah part 1 is the strap control. Choose both or joycon only. Drag this uf2 on the chip first.

    Then do part 2 of you want all the tools etc.

    If you just want a basic "payload launcher", you can drag over Fusee-UF2 which will give you this.

    You do not need to flash part one every update. You only need to flash ait of you want to change how your console boots.

    Hope I clear enough
     
  13. jeb101

    jeb101 Member

    Newcomer
    1
    Jun 21, 2017
    Canada
    Curious, if I flash part 1, to change my straps, do I also need to flash part 2 as well? I have, but curious if it's actually needed.

    Thanks
     
  14. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    Normally, and I say "normally"... Flashing part 1 overwrites part 2. So if you flash part 1, you also need to flash part 2. However, if the other way round, you don't.
     
  15. FunThomas

    FunThomas GBAtemp Advanced Fan

    Member
    5
    Jan 10, 2016
    Gambia, The
    is the file https://github.com/mattytrog/Switchboot_PART_2/blob/master/Switchboot-V1.0/Switchboot Part 2 UF2/TRINKET_REBUG_SWITCHBOOT_PART2_V1.UF2
    for trinket and switchme chips with universal fitting?
     
  16. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    FunThomas likes this.
  17. protomouse

    protomouse Member

    Newcomer
    3
    Feb 1, 2014
    Probably dumb question, but if I've got a Trinket flashed with Switchboot (but not yet fitted) that I want to switch to Fusee-UF2, is it enough to just drag the new UF2 onto it or do I restore the old bootloader first?
     
  18. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    Nothing nees to be done with the bootloader.

    Switchboot (now I call part 1) is for strap control. You never need to change this, unless you want to change to dual-boot or permanent cfw boot or vice-versa.

    Fusee-UF2 is the second half (Use either Fusee-UF2, Switchboot part 2, or Simple-UF2 old version if you wish) the point is, nothing needs restoring... Just drag it over.
     
    protomouse likes this.
  19. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom
    OK people... A quick one for you...

    Do you have a "payload.bin" in SD card? ie in a modchip scenario?

    If using the other nro called "reboot_payload" in the HB app store, use this "reboot_payload.bin" (place in Atmosphere folder).

    What this does, is save you from having your payload duplicated and boots "payload.bin" from SD card. Thats all.

    So, if using "reboot-payload", when you press the - button, "payload.bin" will launch.

    Drag the enclosed atmosphere folder to SD root (this puts reboot-payload into atmosphere folder)

    This is ideal for Fusee-UF2 users.

    Cheers.
     

    Attached Files:

    FunThomas and peteruk like this.
  20. mattytrog
    OP

    mattytrog Not on my watch.

    Member
    11
    Apr 27, 2018
    United Kingdom

    Attached Files:

    peteruk and Adr990 like this.
Loading...