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

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
EH, ME just wantejsd downgsrefer fasst and ds pligsn limma33ds fet me no coeefei!!!!!
cmon isnt thate hard me no rpogeram devd sonblihgateion they are basteards biilies and stupid .
me just awnt dowsnrade me 3ds plilect briked when adwongrading 9.9 plilect fautt nao me want idngereder cmon not harr me want oklhigatieon
@astronaultlevel @Aurora Wright @Plailect @Apache Thunder @shutterbug2000 @d0k3 @mid-kid @Rinnegatamante @cearp @TheCruel @Steveice10
NO COEEFEI i want downtgaodaere no bully me want nao quik fest no mods be bckea no woof tipsic
egein me atag becuuse devs obligateons me not naow ewhy beeeneed but me ajsust want wdingereder comnn quick decs bved i want NAO NAO.
FEST Or ben MED
EGEIme have 6 copies frakafoerms me have hb reprotam patch no coeffei it prosible devs have gdevs dnont relesae devs stuoud
no cofefei me beck
petermary17beck

This is an abomination. What even is this

(Is this the Lima3ds dude? @astronautlevel, halp.)
 

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,646
Country
Antarctica
This is an abomination. What even is this

(Is this the Lima3ds dude? @astronautlevel, halp.)
Ignore him, he's been a spammer that comes around every now and again to spam the CFW threads. Try not to reply, it only feeds into his shallow need for attention.
 
  • Like
Reactions: chaoskagami

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
Ignore him, he's been a spammer that comes around every now and again to spam the CFW threads. Try not to reply, it only feeds into his shallow need for attention.

I kind of figured as much. :glare:

Still, that is the absolute worst abuse of the english language I have ever seen. I'm actually laughing, don't mind me.
 
  • Like
Reactions: The Catboy

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,646
Country
Antarctica
I seriously suggest not engaging him. He's only trying to get other members to react for whatever reason. I am only assume they are trying to shutdown threads by starting a spam war. Like I said, it's a shallow cry for help.
Topic on hand, I still can't find any bugs. Even high memory games like Monster Hunter 4 play with hassle
 
  • Like
Reactions: chaoskagami

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
I seriously suggest not engaging him. He's only trying to get other members to react for whatever reason. I am only assume they are trying to shutdown threads by starting a spam war. Like I said, it's a shallow cry for help.
Topic on hand, I still can't find any bugs. Even high memory games like Monster Hunter 4 play with hassle

Yeah, I'm not bothering any more. It's a waste of my time.

Nice to hear they work well. Guess there's just no real bugs left in the current version.
 

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,646
Country
Antarctica
Yeah, I'm not bothering any more. It's a waste of my time.

Nice to hear they work well. Guess there's just no real bugs left in the current version.
Nothing I can find and I've been looking. After several hours of trying to break it, I just ended up enjoying a game for once because there was nothing to do.
 
  • Like
Reactions: chaoskagami

shawn_

Well-Known Member
Newcomer
Joined
May 14, 2016
Messages
71
Trophies
0
Age
44
XP
227
Country
United States
Near done on chainloader menu. Cleaning up the code, then I push to github.

As an FYI, this will only load raw binary files, not dat files. I don't intend to change this. It's also a submenu, not button combos like other CFW, and I also have no intentions to change this.

Put your ARM9 payloads under /corbenik/chain. Doesn't even need to have the bin extension.

Perfect [emoji1305]


Sent from my iPhone using Tapatalk
 

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
Works great! I just wanted to report an issue with the chainloader:

uncart built from https://github.com/citra-emu/uncart.git commit 1577f36 freezes when selected. Here's the bottom screen print out:
Code:
Chaining to copy payload.

Using Corbenik commit fe089ca. Other than this, D9, E9, and GodMode9 work fine :). I attached the boot.log and loader.log files below, with the extension renamed to txt.
 

Attachments

  • boot.txt
    19.6 KB · Views: 210
  • loader.txt
    7.8 KB · Views: 218

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
Works great! I just wanted to report an issue with the chainloader:

uncart built from https://github.com/citra-emu/uncart.git commit 1577f36 freezes when selected. Here's the bottom screen print out:
Code:
Chaining to copy payload.

Using Corbenik commit fe089ca. Other than this, D9, E9, and GodMode9 work fine :). I attached the boot.log and loader.log files below, with the extension renamed to txt.

I screwed my SD, so I'll be unable to test until I copy ~100GB. I'll push what will hopefully resolve this, and you can tell me if it does, alright?

Otherwise, I'm pretty sure this is caused by uncart not using the same start.s as every other arm9loaderhax payload in existence. To be clear, the problem is that near every arm9loaderhax payload shares the same start.s which does the following:

* Flush cache
* Set MPU settings
* Enable cache.

Do you see what's so funny about this? :P

Every arm9loaderhax payload sharing the same start.s starts with the same code, and said code immediately flushes the cache off the processor, masking the issue here. Uncart doesn't do the same as other projects for start.s, so it hits a cache error. Humorous.

EDIT: @3xkrazy - Pull and try now. It may crash horribly on every payload if I made a mistake.
 
Last edited by chaoskagami,

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
I screwed my SD, so I'll be unable to test until I copy ~100GB. I'll push what will hopefully resolve this, and you can tell me if it does, alright?

Otherwise, I'm pretty sure this is caused by uncart not using the same start.s as every other arm9loaderhax payload in existence. To be clear, the problem is that near every arm9loaderhax payload shares the same start.s which does the following:

* Flush cache
* Set MPU settings
* Enable cache.

Do you see what's so funny about this? :P

Every arm9loaderhax payload sharing the same start.s starts with the same code, and said code immediately flushes the cache off the processor, masking the issue here. Uncart doesn't do the same as other projects for start.s, so it hits a cache error. Humorous.

EDIT: @3xkrazy - Pull and try now. It may crash horribly on every payload if I made a mistake.

Wow, you're fast! I'll report back tomorrow, I promise. Gotta go to bed and wake up in 5 hours for work :wtf:
 
  • Like
Reactions: chaoskagami

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
Wow, you're fast! I'll report back tomorrow, I promise. Gotta go to bed and wake up in 5 hours for work :wtf:

Ouch. Sleep well, I guess. Don't stay up on my account. I'll probably have it debugged in the morning. ;P
 
  • Like
Reactions: Temptress Cerise

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

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
Did you try AuroraWright A9LH version of uncart?

The changes required for a9lh were merged upstream, along with the trimming behavior (as an optional feature.) This is no longer an issue.

I know what the real issue is, anyways.
 

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
The changes required for a9lh were merged upstream, along with the trimming behavior (as an optional feature.) This is no longer an issue.

I know what the real issue is, anyways.
Nevermind again, it does work, i had no gamecart in the system :P
 
Last edited by DjoeN,
  • Like
Reactions: chaoskagami

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
Nevermind, it indeed freezes

I'm sitting around waiting for a copy to complete, so when I'm done this will be fixed ASAP. I already know the cause.

EDIT: I may need to sleep, though.
 
Last edited by chaoskagami,

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 to let you know:

With latest build i got a AGB error

Code:
Config file loaded.
FIRM load triggered.
NATIVE_FIRM
  [l_p]
Ver: 00000052, 0
TWL_FIRM
  [l_p]
Ver: 00000016, 0
AGB_FIRM
  [l_p]
Ver: 0000000b, 0
Saving config.
Config file loaded.
Loading firmware...
FIRM load triggered.
NATIVE_FIRM
  [l_p]
Ver: 00000052, 0
TWL_FIRM
  [l_p]
Ver: 00000016, 0
AGB_FIRM
  [l_p]
Ver: 0000000b, 0
Patching firmware...
f flag is not set, halting VM!

When turning AGB patches off in config the system boots fine again.
Then turning AGB patches back on it worked again, no error anymore.

Code:
 Config file loaded.
Saving config.
Loading firmware...
FIRM load triggered.
NATIVE_FIRM
  [l_p]
Ver: 00000052, 0
TWL_FIRM
  [l_p]
Ver: 00000016, 0
AGB_FIRM
  [l_p]
Ver: 0000000b, 0
Generating patch cache...
Cache: Title Downgrade Fix (11.0 NFIRM)
            Cache: AGB Bootscreen
            Cache: AGB Signature Fix
            Cache: Block Cart Update / Carrt RF (Loader)
  Version: 9
  cache: 0004013000008002
            Cache: Block eShop Updates (Loader)
  Version: 9
  cache: 0004013000002C02
            Cache: Block NIM updates (Loader)
  Version: 9
  cache: 0004013000002C02
            Cache: ErrDisp devmode (Loader)
  Version: 9
  cache: 0004003000008A02
            Cache: Settings Version String (Loader)
  Version: 9
  cache: 0004001000021000
  cache: 0004001000020000
  cache: 0004001000022000
  cache: 0004001000026000
  cache: 0004001000027000
  cache: 0004001000028000
            Cache: FIRM Protection
            Cache: Region Free HOME (Loader)
  Version: 9
  cache: 0004003000008F02
  cache: 0004003000008202
  cache: 0004003000009802
  cache: 000400300000A102
  cache: 000400300000A902
  cache: 000400300000B102
            Cache: RO Signature Fix (Loader)
  Version: 9
  cache: 0004013000003702
            Cache: Signature Fix
            Cache: TWL Patches
            Cache: MysteryMachine Patcher (Loader)
  Version: 1
  cache: 000400000011C400
  cache: 000400000011C500
  cache: 0004000000055D00
  cache: 0004000000055E00
            Patching firmware...
VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240da5e8
reboot: fopen @ 08059d25
            reboot: NATF @ 240da714
reboot: TWLF @ 240da718
reboot: AGBF @ 240da71c
reboot: rebc @ 240da700
            emunand: free space @ 2407b1c0
emunand: size is 81344 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is gateway
emunand:nand is on sector 0
emunand: head is on sector 1931264
emunand: write @ 240cd730
emunand: read @ 240cd6f0
emunand: patched read/write calls
emunand: SDMMC code @ 080d8a70
emunand: mpu @ 2407c164
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24062f28
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Saving FIRM for reboot...
Copied FIRM
 
Last edited by DjoeN,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @mthrnite, Cheetah Girls, the sequel to Action 52's Cheetah Men.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pokemon Black I played that one a lot
  • K3Nv2 @ K3Nv2:
    Honestly never messed with Pokémon on ds much
  • mthrnite @ mthrnite:
    I played pokemon once, was bored, never tried again
  • Psionic Roshambo @ Psionic Roshambo:
    Oh Dragon Quest IX
  • K3Nv2 @ K3Nv2:
    Spent like 5 hours on switch one never touched it again
  • 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.
    Veho @ Veho: +1