Hacking Official [Release] CakesFW

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,904
Trophies
4
Location
Making a non-binary fuss
XP
39,162
Country
Antarctica
i don't know what i need to do now, i cant hardmod for a dowgrade right?
You can only downgrade if you have a NAND backup from before 11.3
11.3 patched out all software downgrades, as well added a NATIVE_FIRM requirement to the homemenu. This basically made hardmod/dsiware downgrade impossible to do.
 

Pedrozun

Member
Newcomer
Joined
Feb 24, 2017
Messages
7
Trophies
0
Age
33
XP
53
Country
Brazil
You can only downgrade if you have a NAND backup from before 11.3
11.3 patched out all software downgrades, as well added a NATIVE_FIRM requirement to the homemenu. This basically made hardmod/dsiware downgrade impossible to do.

When i unlocked my 3ds first time i did a nand backup, now i need to search . thanks

1- Download http://chunk.io/f/014612541fa04235a6f7593c86a4a200.3dsx
2- Rename 014612541fa04235a6f7593c86a4a200.3dsx to Cakes.3dsx and overwrite your Cakes.3dsx on 3ds
3- Launch cakes from Homebrew Launcher

black screen 4evar :/
:(
 
Last edited by Pedrozun,

coldjacket

New Member
Newbie
Joined
Mar 8, 2017
Messages
1
Trophies
0
Age
39
XP
43
Country
United States
I updated to 11.3 and got black screen. I believe I am on arm9loaderhax and was on older version of cakes. I think I replaced all the proper files. Held L to get into CakesFW190 options. Set options Block FIRM..., Survive reboots..., Disable signature checks.

I select Boot CFW and get a black screen.

Bottom screen debug log is

Loaded config file
Loading NATIVE_FIRM. . .
Loaded FIRM
FIRM seems not encrypted
ARM9 FIRM binary seems not encrypted
Fixing arm9 entrypoint. . .
Loading TWL_FIRM. . .
Failed to load FIRM
Loading AGB_FIRM. . .
Failed to load FIRM
Loading cakes
Loaded selected cakes

any help appreciated.

edit: I'm not sure what I was doing wrong. Probably my fault with all the different guides out and not being completely up to date with info but I ended switching to Luma. Replaced the arm9loaderhax.bin with the latest Luma3D github release and it booted into Luma options and then I could boot into 3ds menu and games. Thanks to all the devs always.
 
Last edited by coldjacket,

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,904
Trophies
4
Location
Making a non-binary fuss
XP
39,162
Country
Antarctica

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,687
Trophies
1
Age
28
Location
Imola
XP
6,902
Country
Italy
@Wolfvak
So it appears your 3ds_injector actually doesn't work on 11.3. I made a mistake during my testing and completely overlooked this issue until I did further testing.
The version I built into my pack does work - at least the regionfree patch!

Not sure if I just took the 11.1/2 version and hacked the recipe to declare it as 11.3-kernel compatible (probably yes since I also already changed /injector to /cakes/injector) or I actually redownloaded the sources, but I'm running 11.3 and can run nico nico douga :)

--

Double checked, yep I used his 11.1 version and added 11.3 support, "Jerry-Shaw" on github actually posted one
 
Last edited by Ryccardo,

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,904
Trophies
4
Location
Making a non-binary fuss
XP
39,162
Country
Antarctica
The version I built into my pack does work - at least the regionfree patch!

Not sure if I just took the 11.1/2 version and hacked the recipe to declare it as 11.3-kernel compatible (probably yes since I also already changed /injector to /cakes/injector) or I actually redownloaded the sources, but I'm running 11.3 and can run nico nico douga :)

--

Double checked, yep I used his 11.1 version and added 11.3 support, "Jerry-Shaw" on github actually posted one
Tested out out patch and it is indeed working ^_^
It looks like when I was doing my tests, I accidentally booted into the CFW on my CTRNAND instead of CakesFW.
 

JerryShaw

Well-Known Member
Member
Joined
Feb 7, 2017
Messages
127
Trophies
0
Age
38
XP
503
Country
Switzerland
I just made little changes to the fork from @Wolfvak . Thanks to @Wolfvak and @mid-kid . Really need region free. What's more, I moved some paths from the root to cakes folder instead for better controlling.

--------------------- MERGED ---------------------------

BTW, is there anyone knowing what is "switching out nand header first..." when doing ctrnand transfer to 2.1 on N3DS, since I cannot find the otpless guide now.
One of my friends met this problem, and can do nothing on hacking to A9LH.
 

CrispyCola

zero-two
Member
Joined
Feb 8, 2017
Messages
320
Trophies
0
Location
the stars
XP
261
Country
United States
Quick question, probably already been asked, but if I use an older TWL_FIRM and older AGB_FIRM with a newer NATIVE_FIRM will i brick?


Sent from my iPhone using Tapatalk
 

JerryShaw

Well-Known Member
Member
Joined
Feb 7, 2017
Messages
127
Trophies
0
Age
38
XP
503
Country
Switzerland
Is there anyway for us to get the hash of firm's section[0] of any new firmware.bin? So that we could add new NATIVE_FIRM support ourselves. I tried but failed since I am not good at C anyway.
 

mid-kid

GBAtemp spamBOT
OP
Member
Joined
Aug 2, 2012
Messages
879
Trophies
0
Age
25
XP
1,163
Country
Is there anyway for us to get the hash of firm's section[0] of any new firmware.bin? So that we could add new NATIVE_FIRM support ourselves. I tried but failed since I am not good at C anyway.

The gist of it is: You decrypt the FIRM you downloaded from the CDN (CakesFW gives you a decrypted copy as firmware_unsupported.bin), then you get the first 0x10 bytes of the hash of the first section as according to this, which means bytes 0x50-0x60 in a hex editor.
That's just to make Cakes recognize the FIRM however, you need to adapt one or two more parts of the code that do different things for different versions (most notably in boot_firm()), and port all the patches.
If you need any further help, you're always welcome to ping me on #Cakey on freenode IRC.
 
Last edited by mid-kid,

JerryShaw

Well-Known Member
Member
Joined
Feb 7, 2017
Messages
127
Trophies
0
Age
38
XP
503
Country
Switzerland
The gist of it is: You decrypt the FIRM you downloaded from the CDN (CakesFW gives you a decrypted copy as firmware_unsupported.bin), then you get the first 0x10 bytes of the hash of the first section as according to this, which means bytes 0x50-0x60 in a hex editor.
That's just to make Cakes recognize the FIRM however, you need to adapt one or two more parts of the code that do different things for different versions (most notably in boot_firm()), and port all the patches.
If you need any further help, you're always welcome to ping me on #Cakey on freenode IRC.

Haha, thank you so much. I was stucked here in getting the hash right now. As for following code, I think I could manage to get over it.
Oops... Freenode IRC seems not to be available in my country...
 
Last edited by JerryShaw,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: Apply snorgle to pinfor.