Hacking Official [Release] CakesFW

A_Random_Guy

Officially That Dev
Member
Joined
May 22, 2015
Messages
859
Trophies
0
Location
Somewhere
Website
n3dshack.weebly.com
XP
453
Country
Malaysia
Hey, just started using the arm9loaderhax build.
I downloaded the firmware.bin and cekt, but the cekt won't decrypt correctly.
I removed the .bin extension. I suspect this was discussed earlier, but scrolling past the last three pages I'm writing this. New 3DS btw

You need the firmkey.bin
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,262
Country
United States
You need the firmkey.bin

Yep. In a nutshell @LinkSoraZelda -

The CETK can only be decrypted once the firmware has loaded - which unfortunately isn't the case from an a9lh payload. Essentially, until the firmware has booted, the keys aren't available to decrypt it, leading to a catch-22.

You either need to find the firmkey.bin on the internet (see Plailect's guide) or you need to boot your console somehow and run the cakes dat file to get the firmkey.bin.
 
  • Like
Reactions: astronautlevel

Halvorsen

Well-Known Member
Member
Joined
Aug 12, 2015
Messages
2,060
Trophies
0
Website
halcove.com
XP
1,890
Country
United States
Yep. In a nutshell @LinkSoraZelda -

The CETK can only be decrypted once the firmware has loaded - which unfortunately isn't the case from an a9lh payload. Essentially, until the firmware has booted, the keys aren't available to decrypt it, leading to a catch-22.

You either need to find the firmkey.bin on the internet (see Plailect's guide) or you need to boot your console somehow and run the cakes dat file to get the firmkey.bin.
Yeah, I had to get it by accessing a cached copy of Plailect's guide as the Cakes section was removed.
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,262
Country
United States
  • Like
Reactions: Halvorsen

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,386
Country
Uruguay
Ew. It even says to use an autoupdater for Luma now. Manual updates all the way, kthxbai.

Good thing I'm already hacked and all that. For anyone who wants to use steps 1-4 and still choose cakes even though it's gone: https://github.com/Plailect/Guide/w...kes)/f005f31ba4210756c929f9a7750f8400f3057a6e

That's the last page update before deletion.
Apparently some idiot thought it'd be funny to update an arm9loaderhax system with Cakes and the FIRM protection patch disabled. Needless to say, instant brick.
I think that's what led Plailect to remove it. I don't completetly agree with that decision, but seeing how his guide is mostly intended for noobs (I mean, some steps are plain spoonfeeding) I can understand his decision.
Luma appears to be the 'One-Stop CFW' for a9lh, at least currently.
 
  • Like
Reactions: astronautlevel

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
Apparently some idiot thought it'd be funny to update an arm9loaderhax system with Cakes and the FIRM protection patch disabled. Needless to say, instant brick.
I think that's what led Plailect to remove it. I don't completetly agree with that decision, but seeing how his guide is mostly intended for noobs (I mean, some steps are plain spoonfeeding) I can understand his decision.
Luma appears to be the 'One-Stop CFW' for a9lh, at least currently.
Yeah, he removed it for two reasons: first, its FIRM protection was optional and he didn't want more bricks, and secodnly it was the page with the single lowest popularity on his guide, and he didn't want to maintain something very few people used comparatively
 

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,386
Country
Uruguay
Yeah, he removed it for two reasons: first, its FIRM protection was optional and he didn't want more bricks, and secodnly it was the page with the single lowest popularity on his guide, and he didn't want to maintain something very few people used comparatively
I still think that the end user should have a choice in which CFW to use and just shove Luma down their throats, but based in my experience, when you give a noob more than one option they tend to screw themselves over.

Would've been nice to at least keep the links, just add something like "**SORRY, THIS PAGE IS OUTDATED**" to the top of the page.
N00bs hate outdated pages :P, and it's nice in case I want to recommend Cakes to someone. Right now I have to distribute my whole cakes folder in a zip because it's a pain to obtain the twl/agbfirmkey.bin (actually the agb is in Plailect's gist, but the twl one has to be generated from a pre-9.3 system). And even then, it'd only work for o3DS, because that's the only console that I own.
If I come across a n3DS owner all I can say is "Get Luma", and personally, I don't like that.
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,262
Country
United States
Yeah, he removed it for two reasons: first, its FIRM protection was optional and he didn't want more bricks, and secodnly it was the page with the single lowest popularity on his guide, and he didn't want to maintain something very few people used comparatively

I still don't see the issue leaving the page there (and moving Luma to the primary page) and putting large red text at the top saying 'This is unmaintained. Unless you know what you're doing, go _here_' with a link to Luma and removing references except the sidebar.

Also, not updated != old. Take zlib, for example. It doesn't need updates often because it's well coded and stable. I'm with you,
@Wolfvak

Theoretically one could clone the guide, partially revert 4303000e5 and just pull from master wiki every once in a while. But that's not only a PITA - the wiki doesn't have a license specified (Which defaults to ARR. Not ARR as in `Arr, avast ye mateys!` but ARR as in `all rights reserved`. :/)
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,262
Country
United States
@chaoskagami @Wolfvak Not saying whether I agree with it or not, just explaining his reasoning :)

I understand it too, but I disagree with it. My opinion, obviously. ;P

Right now I have to distribute my whole cakes folder in a zip because it's a pain to obtain the twl/agbfirmkey.bin (actually the agb is in Plailect's gist, but the twl one has to be generated from a pre-9.3 system). And even then, it'd only work for o3DS, because that's the only console that I own.
If I come across a n3DS owner all I can say is "Get Luma", and personally, I don't like that.

I'm using a modified NAND TWL_FIRM for this very reason - I only have the firmkeys for NATIVE and AGB. Not that it matters much long run since I can replace it on my NAND, but considering I've printed out every key and taped it under my 3DS regardless of compatibility (n3ds) I feel like adding another. PM me?
 
  • Like
Reactions: astronautlevel

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,386
Country
Uruguay
@chaoskagami @Wolfvak Not saying whether I agree with it or not, just explaining his reasoning :)
I've been thinking of writing a guide as well - not a "step-by-step" guide but one that just outlines the main points of the procedure and has various suggestions as to how you could execute them.
For example, you can install a9lh using SafeA9LHInstaller or you could use delebile's installer, or maybe you could use the latest injector by d0k3/Al3x_10m.
You could pick between several CFWs, like ReiNAND, Luma, Cakes, rxTools (why not? It's being fixed currently...), SaltFW, etc.

Basically, try to stimulate people's minds into actually thinking and understand what they are doing rather than just follow instructions like a trained monkey.
Not saying it's a bad thing, but then again it's just an opinion.

Sorry for so much off-topic, just felt like saying this.
 
Last edited by Wolfvak,

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,262
Country
United States
I've been thinking of writing a guide as well - not a "step-by-step" guide but one that just outlines the main points of the procedure and various suggestions as how to execute them.
For example, you can install a9lh using SafeA9LHInstaller or you could use delebile's installer, or maybe you could use the latest injector by d0k3/Al3x_10m.
You could pick between several CFWs, like ReiNAND, Luma, Cakes, rxTools (why not? It's being fixed currently...), SaltFW, etc.

Basically, try to stimulate people's minds into actually thinking and understand what they are doing rather than just follow instructions like a trained monkey.
Not saying it's a bad thing, but then again it's just an opinion.

Sorry for so much off-topic, just felt like saying this.

An opinion I wholeheartedly agree with. Plailect's guide was more like that 50-or-so versions ago. Anyways, I'd be willing to help out here and there if you plan to create another guide. I think we need a new one, sadly. I can't follow Plailect's since it no longer discusses options (and I disagree with the defaults.)

We've gotten pretty off topic. Sorry people. :<
 

Krude

Well-Known Member
Member
Joined
May 18, 2013
Messages
344
Trophies
0
XP
1,198
Country
Gambia, The
I'm trying to get Cakes to boot a 9.0 FW and having troubles.
I thought using "ctrtool --contents=firmware.bin" on a 9.0 0004013820000002.cia would give me what i need, but the startup fails on decrypting the ARM9 binary. Anything i'm doing wrong?
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,262
Country
United States
I'm trying to get Cakes to boot a 9.0 FW and having troubles.
I thought using "ctrtool --contents=firmware.bin" on a 9.0 0004013820000002.cia would give me what i need, but the startup fails on decrypting the ARM9 binary. Anything i'm doing wrong?

Just making sure - you're using a N3DS, you have the firmkey.bin in the cakes folder, as well as slot0x11key96.bin on the SD root, right?
 

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,386
Country
Uruguay
@mid-kid
Will you update your git with an updated firmurls (with 11.0)
Just replace 50 with 52 for o3DS and 1F with 21 for n3DS and you should get the newest firmwares. Keep in mind there's no patches for o3DS (yet).

You should also compile the latest Cakes from source, because support was added just yesterday.
 
  • Like
Reactions: DjoeN

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium
Just replace 50 with 52 for o3DS and 1F with 21 for n3DS and you should get the newest firmwares. Keep in mind there's no patches for o3DS (yet).

You should also compile the latest Cakes from source, because support was added just yesterday.
I suppose cetk is just the same :)

I know i always build from latest source ;)
 

mid-kid

GBAtemp spamBOT
OP
Member
Joined
Aug 2, 2012
Messages
879
Trophies
0
Age
25
XP
1,163
Country
I'm trying to get Cakes to boot a 9.0 FW and having troubles.
I thought using "ctrtool --contents=firmware.bin" on a 9.0 0004013820000002.cia would give me what i need, but the startup fails on decrypting the ARM9 binary. Anything i'm doing wrong?
You're forgetting the -p option.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Real Jdbye @ The Real Jdbye:
    the vram is one advantage when it comes to AI but ends up being slower even with that and really AI is the only use case that needs more than 12gb vram right now
  • Psionic Roshambo @ Psionic Roshambo:
    Interesting lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think I watched a video where two games at 4K where eating just over 16GB of RAM and it's the one case where the 7900XT and XTX pulled ahead (minus RTX of course)
  • Psionic Roshambo @ Psionic Roshambo:
    So my opinion is that they could age a bit better in the future, and maybe AMD will continue improving them via drivers like they tend to do. No guarantee there but they have done it in the past. Just a feeling I have.
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • 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.
    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...