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

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

  1. metaljay

    metaljay GBAtemp Fan

    Member
    6
    Jan 10, 2012
    flashed and everything working as expected!
    I actually like the name switchboot!
     
    Gismor and mattytrog like this.
  2. mattytrog
    OP

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

    Member
    13
    Apr 27, 2018
    United Kingdom
    thx J :)
     
  3. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    I'm trying to build the fusee (for part 2) uf2 myself, but the end result isn't working. I cloned your repo, compiled the .ino in main (with #define REBUG) with arduino, padded the resultant .bin to 262,144 bytes, converted to uf2 with this python script.

    Then I flash your precompiled part 1 followed by the new part 2, but when I try to boot it gets into rcm but doesn't push the payload. Any ideas where I'm going wrong?

    (Oh it wouldn't compile initially because INTERNAL_DS_DATA and INTERNAL_DS_CLK weren't defined for REBUG, I worked around it in two ways, first by disabling dotstar, second by copying those definitions from FEATHER, either way compiles fine but I'm stuck with the above problem.)
     
  4. mattytrog
    OP

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

    Member
    13
    Apr 27, 2018
    United Kingdom
    Hmmm...

    First, is the resultant uf2 512kb in size?

    — Posts automatically merged - Please don't double post! —

    Also... You will be better off instead of using the fusee-uf2, use the switchboot one and set default mode to 2
     
  5. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Yep, 524,288 bytes, same as your prebuilt ones.

    I can try the switchboot one if you think it'll make a difference.
     
  6. mattytrog
    OP

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

    Member
    13
    Apr 27, 2018
    United Kingdom
    Yes try that. Shouldn`t make a difference though.

    I build mine on-chip to ensure they are all good...

    thing to check...In your UF2, when you have flashed it, within 2 seconds, look at LED. Is there a rapid flash?This is taking a reading of USB strap)
     
  7. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    I figured out where I went wrong, herp derp - hex-edited your .bin vs mine and saw a different board name.... I didn't realise I had to add a url to get adafruit board definitions, so I just had it set to arduino m0. Got it set to trinket m0 now, which also fixed the undefined values I mentioned.

    I was gonna say I still never managed to spot the led, but I just tried again and saw a red flash after holding the volume button for a while, sweet.

    Thanks as always!
     
    mattytrog likes this.
  8. mattytrog
    OP

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

    Member
    13
    Apr 27, 2018
    United Kingdom
    Yeah you need the Adafruit defs Dave.

    Just compiling for Armoured-dildo M0 won`t work.
     
    hippy dave likes this.
  9. Danatkin

    Danatkin Newbie

    Newcomer
    1
    May 14, 2019
    United Kingdom
    Might be a really silly question but can a 5v trinket be used?

    Also although I may try myself is there anyone in the uk who can do this for a fee?
     
  10. mattytrog
    OP

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

    Member
    13
    Apr 27, 2018
    United Kingdom
    5v aren't suitable. Not m0.

    I can fit it for you if you like. Based in midlands
     
  11. Danatkin

    Danatkin Newbie

    Newcomer
    1
    May 14, 2019
    United Kingdom
    That would be amazing !
    I’m trying to send you a PM but won’t let me
    Could you drop me a message with your prices ?
    Many thanks
     
  12. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    (I deeply regretted doing an image search for armoured dildo)
     
    Skater4599, wartutor and mattytrog like this.
  13. metaljay

    metaljay GBAtemp Fan

    Member
    6
    Jan 10, 2012
    If you curious on how good Matty is, I can tell you first hand how incredible his craftsmanship is! Amazing quality!
     
    mattytrog likes this.
  14. plasticninjaguy

    plasticninjaguy Member

    Newcomer
    1
    Aug 7, 2019
    Australia
    (Originally posted in the other thread, but I remembered you weren't getting messages there, So Repost soz)

    Well, it's me again.
    So I ordered another Trinket M0 and retried the micro UBS port removal, with success. I installed the modchip successfully (I think) and when I power on the switch I see a flurry of lights. I went for the Dual Boot + SwitchBoot combo from the software thread, and I see different lights on the trinket when i press Power + Vol. up, however, regardless of what combo i use, the switch turns on to a backlit blank screen. I noticed continuity between pin 0 and ground on the trinket if that means anything. I currently have an SD card inserted with nothing on it, as I just wanted to see if the switch booted first
    Thanks
    Lloyd.

    EDIT: I'm also no longer using the USB disconnect strap, as it seemed whenever i tried that the switch just wouldn't charge.
     
  15. FunThomas

    FunThomas GBAtemp Advanced Fan

    Member
    6
    Jan 10, 2016
    Gambia, The
    i have the modchip with perma_CFW version is there a way to get to maintenance mode of the switch to reinitialize the console ?
    is it possible with dual boot CFW option to boot to maintenance mode ?
     
  16. popy

    popy GBAtemp Regular

    Member
    4
    Jul 31, 2018
    Austria
    @mattytrog thx for bringing updates for the Trinket M0.
    I have an Older Version SwitchBoot, and it runs great.
    Have lost the development progress, which was made here.

    I have some questions regarding the latest updates up to 1.4.3.
    Is the Nyx hekate GUI included in the firmware?
    Have'nt found the info in the changelogs on OP.

    Currently i am using hekate (your firmware) to chainload the XS-OS loader.
    Is this also with the newer versions possible (and hold vol- to get into hekate)?

    thx pOpY
     
  17. ErAzOr

    ErAzOr Member

    Newcomer
    3
    Jul 1, 2018
    Germany
    @mattytrog What exactly does the USB strip do? Does is prevent the switch to stuck in RCM mode, after power off the console? So it doesn't drain the battery anymore?
     
  18. Gismor

    Gismor GBAtemp Regular

    Member
    3
    Nov 12, 2018
    Germany
    with Matty methode you have nothing battery drain
    and the best is you can disable auto rcm and all works perfect =)
     
    mattytrog likes this.
  19. mattytrog
    OP

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

    Member
    13
    Apr 27, 2018
    United Kingdom
    Yep it's all possible.

    Nyx isn't included (no room on chip). However, you can use nyx and press both Vol buttons on power on to override nyx.

    The usb strap simply attempts to push a payload when you disconnect from usb. If you don't have this, and you have your chip in a perma cfw config, or autorcm, if you plug into usb when off, your console will go into rcm. And will stay there.

    The usb strap corrects this by pushing payload once usb is free.
     
    popy and peteruk like this.
  20. mattytrog
    OP

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

    Member
    13
    Apr 27, 2018
    United Kingdom
    Just been having a thought...

    Would anyone like me to make some SD images for different size SD cards which include correct partitions etc for triple-booting Android / Emummc / CFW?

    The idea would be just download the compressed image (may include gapps and magisk too) flash to SD and you are away. Size would be a few hundred MB compressed...

    Uncompressed would be the size of your chosen card of course.

    Write with etcher or Win32diskimager.

    You can then create an emunand/emummc and copy over your games etc...

    Will it fly?
     
    metaljay and plasticninjaguy like this.
Loading...