Official [Release] CakesFW

Discussion in '3DS - Flashcards & Custom Firmwares' started by mid-kid, Jun 20, 2015.

  1. mid-kid
    OP

    mid-kid GBAtemp spamBOT

    Member
    879
    962
    Aug 2, 2012
    Disclaimer: This OP is pretty old now and needs some cleaning. Most info still does it's job, however. Just make sure to look at the nightlies and the additional information for them.

    [​IMG]
    Alternative logos

    This is a CFW solution me and @b1l1s have been working on for a while.

    For users:

    Features right now:
    • SPIDER 4.x-9.2, MSET 4.x and 6.x and Ninjhax 1/2 (up to firmware 9.2) support for old 3ds/xl/2ds.
    • MSET 4.x and Ninjhax 1/2 (up to firmware 9.2) support for new 3ds/xl.
    • Options to boot to sysNAND and emuNAND up to 10.7.
    • Emunand supports redNAND and GW emuNANDs.
    • Sig patches
    • Patches are contained in "cakes". The .cake format is a simple format that bundles FIRM patches, and tells the patcher what those patches need to work.
    • Autoboot.
    • Supports multiple NATIVE_FIRM versions (see this for an explanation).

    How to install:
    Just copy all the files to the root of your SD card, and launch it with either spider, MSET or Ninjhax.
    Files and stuff are on the bottom of the post.
    Copy the firmware.bin linked at the bottom of the post to the cakes directory. Do the same with cetk.
    If you have an old 3ds with a firmware lower than 7.0, and you plan to use a emuNAND version 7.0 or higher, you need to get a file named slot0x25keyX.bin from the internet, and place it on the root of your SD card, and make sure you enable the "Load 7.x NCCH crypto key" patches.
    If you have a new 3ds with a firmware lower than 9.6, and you plan to use a emuNAND version 9.6 or higher, you need to get a file named slot0x11key96.bin from the internet, and place it on the root of your SD card.

    For MSET on 4.x or 6.x, I've modified zoogie's ROP installer to work with this. There's even a code.bin to install the rop via spider in the downloads page.
    For MSET on newer firmwares, first downgrade the MSET app to the 4.x or 6.x version (there's tutorials on this site for doing that), then use the CakesROP.nds or code.bin on the downloads page to install the correct ROP.
    For spider, see the bottom of the post for a launcher page.
    NOTE: The code.bin installs the correct ROP based on your firmware version. If you're on firmware 6.x or higher, the ROP for MSET 6.x will be installed.
    NOTE: Never rename the Cakes.dat. The arm9 payload is located there and the code expects it to be named like that.

    How to use:

    In the "Select patches" menu, you select the features you want/may not want to enable.
    In the "More options..." menu, there's two submenus:
    • Toggleable options. This menu contains two options:
      • Autoboot: This will skip the menu when cakes starts, and automatically load the CFW (way faster than usual). Hold the "L" button while booting to enter the menu.
      • Force saving patched firmware: This option is mainly used for debugging, but may also be needed if there's a problem with autobooting/the reboot patches. Cakes tries everything possible to not to have to write firmware_patched.bin, but it may not always be right. This option forces cakes to do it (this option isn't saved in the config file).
    • Select emuNAND. This menu allows selecting which emuNAND will be booted if you enable the emuNAND patches, if you have more than one emuNAND available.
    In the "Version info" menu, you can check your CakesFW and firmware versions.
    Once done, you select "Boot CFW", and the options you've selected will be saved and the CFW will boot.

    For developers:

    Contributions are welcome on my github: https://github.com/mid-kid/CakesForeveryWan
    Just don't be scared if I end up rewriting/restructuring your code as I see fit.
    You may happily fork the project if you don't agree with something. I just ask you to rename it, give credits, publish source, and actually add/change something useful (a.k.a. don't be a smartass).

    FAQ:

    Q: Why should I use this?
    A: If you ask yourself that question, this is probably not for you. Other projects already provide a lot of stuff this provides.

    Q: Can I eat it?
    A: Stop being so funny.

    Questions from actual people

    Qr code for spider:
    [​IMG]
    http://dukesrg.no-ip.org/3ds/cakes?Cakes.dat
    (Thanks to @duke_srg)

    To load the code.bin, use this:
    [​IMG]
    http://dukesrg.no-ip.org/3ds/cakes?code.bin

    Downloads (Yes, I am a link. Click me.)
    Nightlies (Not recommended, check logs to see what changed. Don't ask questions about these. Only report bugs if something's not working.)
    Report bugs on GitHub.
    (Releases are numbered by commit number. Changelogs can be found on the github.)
    firmware.bin and cetk download urls for old 3ds
    firmware.bin and cetk download urls for new 3ds
    firmware.bin and cetk download urls (for nightlies)
    Rename the numbered file to firmware.bin yourself after download.

    MD5 checksums for keys:
    slot0x25keyX.bin: 817fd1bffba60f79cf8cdf19caf28923
    slot0x11key96.bin: af6dd85a583dbe1471661d2f3b90df15

    Current nightly additional information:

    Join us at #Cakey on freenode. webchat link
     
    Last edited by mid-kid, May 21, 2017
    hiten, scionae, guisadop and 70 others like this.


  2. DrCrygor07

    DrCrygor07 Italian Wario Ware bootleg©

    Member
    1,688
    623
    Sep 4, 2014
    Italy
    Cool, keep up this good work
     
    Dark1 and Margen67 like this.
  3. SuperSVGA

    SuperSVGA GBAtemp Regular

    Member
    274
    73
    Oct 26, 2013
    United States
    I sometimes wish I hadn't traded in both of my old 3DSs. Great work though.
     
  4. Player615

    Player615 Member

    Newcomer
    36
    3
    May 10, 2015
    Antigua and Barbuda
    Good work :)
     
    Margen67 likes this.
  5. Suiginou

    Suiginou (null)

    Member
    565
    588
    Jun 26, 2012
    Gambia, The
    pc + 8
    Edit: once more, I can't read

    Disregard me, I suck massive elf cock.
     
  6. mid-kid
    OP

    mid-kid GBAtemp spamBOT

    Member
    879
    962
    Aug 2, 2012
    EDIT: This used to be a response to a post.
     
    RodrigoDavy likes this.
  7. Sizednochi

    Sizednochi GBAtemp Advanced Fan

    Member
    650
    406
    Dec 16, 2012
    Brazil
    Great stuff! So it's it basically the same as patched rxTools right now minus the GBA/DSi stuff?
     
  8. Suiginou

    Suiginou (null)

    Member
    565
    588
    Jun 26, 2012
    Gambia, The
    pc + 8
    My bad, I misread that as "We won't share code" and managed to overlook the link to the github repo.

    Disregard my earlier post, please allow me to applaud your work.

    Edit: lol responses to edited responses to edited posts
     
    mid-kid likes this.
  9. mid-kid
    OP

    mid-kid GBAtemp spamBOT

    Member
    879
    962
    Aug 2, 2012
    GBA/DSi works on sysNAND mode. (Just patch the signatures, nothing else)
     
    Sizednochi likes this.
  10. Sizednochi

    Sizednochi GBAtemp Advanced Fan

    Member
    650
    406
    Dec 16, 2012
    Brazil
    Is it possible to boot on sysNAND mode without using another SD card that doesn't have emuNAND set-up?
     
  11. mid-kid
    OP

    mid-kid GBAtemp spamBOT

    Member
    879
    962
    Aug 2, 2012
    Why don't you try it out? ;)
    (Also, the "features" in the OP pretty much answers your question)
     
    Sizednochi likes this.
  12. Sizednochi

    Sizednochi GBAtemp Advanced Fan

    Member
    650
    406
    Dec 16, 2012
    Brazil
    ^
    Thanks, I'm an idiot. Trying it out now. Thanks!
     
  13. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Thanks for this, but I am confused, what's the difference between this and the patched rxTools as of now? Are they the same?
     
  14. sarkwalvein

    sarkwalvein Professional asshole at GBATemp

    Member
    GBAtemp Patron
    sarkwalvein is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,856
    4,913
    Jun 29, 2007
    Germany
    Niedersachsen
    Nice, specially the MSET on 9.2 if it happens.

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

    Cakes, I suppose. Customization and additional features.
     
  15. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Yeah what additional features and customizations am I missing?
     
  16. mid-kid
    OP

    mid-kid GBAtemp spamBOT

    Member
    879
    962
    Aug 2, 2012
    The patches are reversed from rxTools, and some parts of the code are rewritten from rxTools's open source stuff (most notably the kernel hacks).
    Right now they're not much different feature-wise, so this may not be for you.
     
    Madridi likes this.
  17. sarkwalvein

    sarkwalvein Professional asshole at GBATemp

    Member
    GBAtemp Patron
    sarkwalvein is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,856
    4,913
    Jun 29, 2007
    Germany
    Niedersachsen
    I am guessing that you may be able to activate on the fly things like AGB support, or TWL support, or SSB4 support, or cheats, or... I don't know... things.
     
  18. nolimits59

    nolimits59 GBAtemp Fan

    Member
    463
    183
    Apr 25, 2008
    France
    can't wait for the CIA over network for this, i know some friends who don't own Ninja or GW that gonna be happy, keep up the good work :)
     
  19. innercy

    innercy GBAtemp Advanced Fan

    Member
    752
    131
    Oct 22, 2006
    Options to boot to sysNAND (for GBA/DSi) and emuNAND which already stated in 1st post
     
  20. Madridi

    Madridi Card Collector

    Member
    3,067
    903
    May 9, 2008
    Qatar
    Doha
    Thanks, I'll keep an eye on this. Looks great :)

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

    Huh? I don't think you can do that, not right now at least..

    Can it?

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

    I don't get it, I can already access my GBA/DSi on my sysnand, and boot to emunand via rxtools