Hacking Official Corbenik - Another CFW for advanced users (with bytecode patches!)

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,486
Country
Uruguay
now i have not all the error but i have makerom command not found and somme error 1
jesus fucking christ man do you think we know what the error is?! no!
I'm just gonna stop answering because you're completely incapable of looking up something on Google
 
Last edited by Wolfvak,

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,043
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,012
Country
Portugal
  • Like
Reactions: laharl22

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
I can't seem to get either Skeith nor Corbenik to properly load 11.1 NFIRM on n3ds. When I revert back to 11.0 Native it loads perfectly fine, but then trying to update to 11.1 just completely fails with this:
Loading NATIVE_FIRM
Loaded FIRM off filesystem
FIRM is decrypted
Data abort.
cpsr:600000df sp:27efff88 lr:23f0487c
r0:23f08238 r1:30000000 r2:23f13f20 r3:00000008
r4:30000000 r5:30000000 r6:2441c844 r7:4843434e
r8:2441c774 r9:23f15064 r10:23f15000 r11:2441c874
r12:ffffffbf
Cannot continue. Halting.
I've made sure I have everything set up, including the slot0x11key96.bin, the cetk files, even native.key to see if that would help. But I just can't seem to get it to work
 

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,033
Trophies
4
Location
Making a non-binary fuss
XP
39,650
Country
Antarctica
I can't seem to get either Skeith nor Corbenik to properly load 11.1 NFIRM on n3ds. When I revert back to 11.0 Native it loads perfectly fine, but then trying to update to 11.1 just completely fails with this:
Loading NATIVE_FIRM
Loaded FIRM off filesystem
FIRM is decrypted
Data abort.
cpsr:600000df sp:27efff88 lr:23f0487c
r0:23f08238 r1:30000000 r2:23f13f20 r3:00000008
r4:30000000 r5:30000000 r6:2441c844 r7:4843434e
r8:2441c774 r9:23f15064 r10:23f15000 r11:2441c874
r12:ffffffbf
Cannot continue. Halting.
I've made sure I have everything set up, including the slot0x11key96.bin, the cetk files, even native.key to see if that would help. But I just can't seem to get it to work
I think you require the latest version of Skeith, but it doesn't appear to have been compiled for some reason :unsure:
I can also confirm it doesn't work on my end either.
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
I think you require the latest version of Skeith, but it doesn't appear to have been compiled for some reason :unsure:
I can also confirm it doesn't work on my end either.
I just downloaded the latest skeith an hour ago, and I don't have the means to compile on my own. So I guess I will use 11.0 NFIRM until a new nightly is compiled

Sent from my SM-G386T using Tapatalk
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
Yes, I'll also confirm this is not fixed. You can blame two things here:

A) I refactored all of the firm handling code in a branch and that branch does not have the issue. Master does, because of the way it autodetects FIRMs (namely, not well.)
B) My laptop with the development toolchain failed, and I only just got my replacement 100% set up. This meant that not only was I incapable of development, but the skeith builds died for a bit.

I'm going to fix this issue today; I know what the issue is. Regardless, the refactor isn't done so it's more than likely that I'm going to have to make a hotfix/stable release.
 

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,033
Trophies
4
Location
Making a non-binary fuss
XP
39,650
Country
Antarctica
Yes, I'll also confirm this is not fixed. You can blame two things here:

A) I refactored all of the firm handling code in a branch and that branch does not have the issue. Master does, because of the way it autodetects FIRMs (namely, not well.)
B) My laptop with the development toolchain failed, and I only just got my replacement 100% set up. This meant that not only was I incapable of development, but the skeith builds died for a bit.

I'm going to fix this issue today; I know what the issue is. Regardless, the refactor isn't done so it's more than likely that I'm going to have to make a hotfix/stable release.
I am glad to hear this is a known issue and to hear it's being fixed ^_^ No hurry!
 
  • Like
Reactions: Gray_Jack

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
Welp, had to clean up the in-progress refactor for general use, but the new release should theoretically be fine. I'm hoping, anyways. It's been tested on my o3ds and n3ds, so anything else would be unexpected. Skeith builds were restarted, but I'm not doing much in master regardless, and I need to move that to my VPS.

The worst part is the refactor isn't even done. I just got it to a point where it was mergeable. This is really a hotfix release.

In this release, many things have had minor tweaks for usability and cleanup of earlier, less flexible behavior.

For users:
  • CETK and firmkeys no longer go in /corbenik/share/keys, they go in /corbenik/lib/firmware.
  • Cache, bytecode, and config format has changed. This is a mandatory clean install.
  • Corbenik can now use different configuration information on different consoles, and configs are now named by the first dword of the NAND CID.
  • 'Save configuration' has been removed. Config is automatically saved and recached on exiting the toplevel options menu.
  • Glitchy menu gap was partially fixed on o3ds. You may notice the scroll window being slightly off; I'm aware.
  • Firmwares are now detected by a heuristic rather than static comparison against a known table. In practice, there may be edge cases, but so long as nintendo doesn't add another section ALL FIRMWARES are supported now and in the future. Whether patches are supported is another story, sadly.
  • Added a 2.x firmprot patch based on the code from Luma.
  • System modules are now loaded from subdirectories. This allows usage of TWL/AGB system modules (of which there's only one useful modification, TwlBg)
For developers:
  • Corbenik now uses almost entirely dynamic allocations instead of static memory offsets and buffers.
  • The entire FIRM decryption code was rewritten to be more flexible than the originally in-use heavily modified cakes code. Some bits still remain, but a large portion of logic has changed.
  • All writable strings have been eliminated and this is now an error.
  • Configuration is now (partially) backend independent within the main corbenik code, and additionally has had groundwork to support multiple firmware files. This is not exposed in the interface, but some careful manual modification of configurations allows changing the firm paths.
  • Add some basic unit testing which is a big TODO. Blame 11.1 for forcing an early merge of this. Work will continue.
 

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,033
Trophies
4
Location
Making a non-binary fuss
XP
39,650
Country
Antarctica
Downloaded the update now, will report back later on results. It may not be until 18:00 or later Eastern time though, since I work today. But does give me plenty of opportunities to test the update in the field.
EDIT: Do we still need the "keys" folder?
 
Last edited by The Catboy,

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,043
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,012
Country
Portugal
Downloaded the update now, will report back later on results. It may not be until 18:00 or later Eastern time though, since I work today. But does give me plenty of opportunities to test the update in the field.
EDIT: Do we still need the "keys" folder?
Probably not, I made the updater move the cetk to the firmware dir and there's nothing else in keys, is there? And mine still works, so there's that.

Sent from my cave of despair where I collect souls
 

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,033
Trophies
4
Location
Making a non-binary fuss
XP
39,650
Country
Antarctica
So there does appear to be a bit of a bug. Using Dim background causes minor graphical glitches on my old3DS.
For some reason it doesn't show up in screenshots, so I had to take a picture with my phone
0927160747a.jpg
screenshot.png
 
  • Like
Reactions: gnmmarechal

laharl22

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
1,767
Trophies
0
Age
38
XP
615
Country
France
the instruction have changed ?because i have blackscreen on bott

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

firmlaunch failed with the native firm for ol3ds renamed to native and placed to lib/firmware
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,043
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,012
Country
Portugal
the instruction have changed ?because i have blackscreen on bott

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

firmlaunch failed with the native firm for ol3ds renamed to native and placed to lib/firmware
What about the cetk? It goes on the same dir as native, twl and agb now.

Sent from my cave of despair where I collect souls
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Sentinel of the stary skies
  • K3Nv2 @ K3Nv2:
    Ds is 20 years old this year
  • Psionic Roshambo @ Psionic Roshambo:
    So MJ no longer wants to play with it?
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    AncientBoi @ AncientBoi: :O:ohnoes::lol::rofl::rofl2: