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
Hi there, just like to ask something about Corbenik.
Set it up like you said in the readme, renamed the file to native and got it inside the firmware folder along with agb and twl. For the firmkey I renamed it native.key, same goes for the rest as agb.key/twl.key. Managed to get into the config screen, apply a few necessary patches and options to my liking. Tried the firm load and it gave me [__fp] for all 3 native/twl/agb while top screen displaying the native_firm version (11.0) along with agb and twl version. However when i boot firmware, all i receive is a black screen. Using ctrbootmanager9 to boot the payload. Would be great if you can help me out with this. Thanks
PS: Just want to ask whether using native_firm <11.0 is possible with corbenik too.

There was multiple issues in stable-1, I just uploaded another release. [__fp] means that it didn't need to decrypt the firmware (it was already decrypted.) So anyways, @Wolfvak, this should fix that one (and hopefully the decrytion issue as well)

Yes, you should be able to use older native_firms. I've tested back to 10.2, but 9.2 and older haven't been tested. Theoretically they should work.

I goofed in the FS code and was returning zero from somewhere I shouldn't have been. Oh, and a NULL pointer too. So anyways, try it again, please.
 
Last edited by chaoskagami,

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,486
Country
Uruguay
There was multiple issues in stable-1, I just uploaded another release. [__fp] means that it didn't need to decrypt the firmware (it was already decrypted.) So anyways, @Wolfvak, this should fix that one (and hopefully the decrytion issue as well)
Yeah, I used TWL/AGB from my Cakes setup. Testing now...

By the way, according to this, you say "you may have a very very old NATIVE_FIRM due to firm protection". FIRM protection only protects the partitions themselves, not the CXI from the CDN. That does get updated.
 
Last edited by Wolfvak,
  • Like
Reactions: TuxSH

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
Yeah, I used TWL/AGB from my Cakes setup. Testing now...

By the way, according to this, you say "you may have a very very old NATIVE_FIRM due to firm protection". FIRM protection only protects the partitions themselves, not the CXI from the CDN. That does get updated.

Interesting. Well, I'll have to update that then. I was under the impression it prevented that as well. Evidently I was wrong.
 

TuxSH

Well-Known Member
Member
Joined
Oct 19, 2015
Messages
614
Trophies
1
Age
26
XP
1,295
Country
France
  • Injection of arbitrary ARM11 services, including svcBackdoor.
wat?

Also:
<yellows8> Attempt to create a replacement handler for Service 0x3D, AKA OutputDebugString" "It still would be cool to capture debug logs from games. " that svc isn't even used, normally just nop instructions are used instead....
 
  • Like
Reactions: cearp and NyaakoXD

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
wat?

Also:

You can replace other services aside from backdoor in the exception vector, technically. It's not well tested, obviously.

As to the side note; oh well. I suspected as much. That text was leftover from at least a month ago.
 

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,486
Country
Uruguay
Rather than services, they're called "svc calls" iirc
Services are a whole different beast in this world

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

Boots perfectly with the latest commit @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
Rather than services, they're called "svc calls" iirc
Services are a whole different beast in this world

Oy vey. Exceptions, service calls, they're all the same on ARM. It's the exception vector/svc call table. I don't come from a homebrew background, I'm from a general CS background.
 

Suiginou

(null)
Member
Joined
Jun 26, 2012
Messages
565
Trophies
0
Location
pc + 8
XP
738
Country
Gambia, The

reallybigfire

Member
Newcomer
Joined
Apr 11, 2015
Messages
20
Trophies
0
Age
35
XP
92
Country
Senegal
Ok. Just tried out the new release. Used native_firm 10.2 and its firmkey from my cakes set up this time. Still having black screen. To be more precise, I enabled sys module/both cpu options and since I am booting 10.2 firm i disabled service replacement. Debug Pause to check which stage gone wrong. For patches I have the triple Cart/eshop/nim block, firm protection, RF, RO and sig patch as I want to try it clean without dev patches. When i boot firmware, patch were being applied and cached, config saved, firmware patched, modules injected, keyslot updated, sd unmounted, firm copied, after which screen goes black and stay that way.
 

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
"SVC" = Supervisor call, not service call (see arm docs). ;)

I actually went and looked it up in the ARM ref manual before you even posted this. I'm a dumbass. I understand how it all works, but I have issues remembering terminology. :<

Decided to try this out, the firm issues are gone, but the loader patching doesn't seem to be working

You enabled System Modules in Options, right?

Ok. Just tried out the new release. Used native_firm 10.2 and its firmkey from my cakes set up this time. Still having black screen. To be more precise, I enabled sys module/both cpu options and since I am booting 10.2 firm i disabled service replacement. Debug Pause to check which stage gone wrong. For patches I have the triple Cart/eshop/nim block, firm protection, RF, RO and sig patch as I want to try it clean without dev patches. When i boot firmware, patch were being applied and cached, config saved, firmware patched, modules injected, keyslot updated, sd unmounted, firm copied, after which screen goes black and stay that way.

Get the file `loader.log` from the corbenik folder and upload it here. Loader logs to a file due to what a pain it is to debug,
 

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
PARTNER-CTR units don't have JTAG at all (unfortunately !). They use HIO instead.

There's not a lot of documentation on the PARTNER units on 3dbrew. I need to hop on #Cakey and stop assuming things. Man, you're brutal (in a good way. :P)
 
  • Like
Reactions: Selver

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
Heh, sorry :(

Actually, I appreciate it. The less mistakes I make, the better. To everyone in this thread, if I'm wrong on something, please correct me, by all means. :D
 
Last edited by chaoskagami,
  • Like
Reactions: TuxSH

Temptress Cerise

Miss Magic~ <3
Member
Joined
May 1, 2016
Messages
2,242
Trophies
1
XP
2,338
Country
United States
Actually, I appreciate it. The less mistakes I make, the better. To everyone in this thread, if I'm wrong on something, please correct me, by all means. :D
SAO > .hack.

Only joking! I actually do like .hack a lot more than I like SAO. The games were oh so good. The hours wasted on the originals and then GU trilogy. As well as the accompanying anime, so good.

Also, why Corbenik out of all the 8 phases for the name?

More on topic: I'll def check this CFW out. Good job. :)
 

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
Changed microsd, for some reason now everything works fine.

Weird.

SAO > .hack.

Only joking! I actually do like .hack a lot more than I like SAO. The games were oh so good. The hours wasted on the originals and then GU trilogy. As well as the accompanying anime, so good.

Also, why Corbenik out of all the 8 phases for the name?

More on topic: I'll def check this CFW out. Good job. :)

Heh, I still do bi-yearly replays of the games.

I chose mostly based on the subtitle of the phases. I mean, who wants a CFW named Skeith? Smells like terror, death and bricks.

Anyways, I'm calling it quits for the day, so I'll get back to any other issues in the morning. Remember that this is new and highly untested, so don't quit your day CFW yet. Peace.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=sGClRsx0x64