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
To get access to the SVC in the first place, for 3dsx homebrew.

I forgot about that. I don't even remember the last time I launched hbl. I don't even think I even have an 11.0 payload on my SD.

Couldn't someone write a 3dsx launcher that doesn't involve svcbackdoor, then? With RWX, it's basically just relocation.
 

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,059
Trophies
4
Location
Making a non-binary fuss
XP
39,733
Country
Antarctica
I forgot about that. I don't even remember the last time I launched hbl. I don't even think I even have an 11.0 payload on my SD.

Couldn't someone write a 3dsx launcher that doesn't involve svcbackdoor, then? With RWX, it's basically just relocation.
I am honestly considering uninstalling the homebrew channel. I never launch it anymore and any homebrews I would use it for, either launch from A9LH or CIA.
Still, you might be able to port this feature over from CakesFW or Luma3DS.
 
  • Like
Reactions: stl25

stl25

Well-Known Member
Member
Joined
Feb 3, 2008
Messages
1,111
Trophies
1
Location
Here, there and everywhere
XP
1,038
Country
United States
I am honestly considering uninstalling the homebrew channel. I never launch it anymore and any homebrews I would use it for, either launch from A9LH or CIA.
Still, you might be able to port this feature over from CakesFW or Luma3DS.

I deleted my Homebrew channel cia awhile ago. I never really used .3dsx homebrew with the exceptions being PastaCFW and GW (before A9LH).
 
  • Like
Reactions: Ryccardo

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 deleted my Homebrew channel cia awhile ago. I never really used .3dsx homebrew with the exceptions being PastaCFW and GW (before A9LH).

I am honestly considering uninstalling the homebrew channel. I never launch it anymore and any homebrews I would use it for, either launch from A9LH or CIA.
Still, you might be able to port this feature over from CakesFW or Luma3DS.

I already have svcBackdoor. That was one of the first things I ported over. But hearing what steve and quag say has convinced me it isn't needed unless you're using hbl or NTR, so I may change my recommendations in the README. Leaving it on if it isn't needed is bad for overall security (and being hacked doesn't exempt from having security)
 
Last edited by 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
Anybody compile the latest commits? I am unable to compile and not sure why.

I'm going to sleep now, but it builds fine on every commit here, since I don't commit without building.

Paste a log and I'll get back to it in the morning.
 

stl25

Well-Known Member
Member
Joined
Feb 3, 2008
Messages
1,111
Trophies
1
Location
Here, there and everywhere
XP
1,038
Country
United States
It would help if you said what error you were getting.

Sorry, I think something is wrong with my build environment. I can build Luma,ReiNand and Decrypt9WIP but not Corbenik. I must be missing something. Here is my error:

Capture.PNG
 

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
  • Like
Reactions: stl25

Suiginou

(null)
Member
Joined
Jun 26, 2012
Messages
565
Trophies
0
Location
pc + 8
XP
738
Country
Gambia, The
I'm glad you got it building. Next time, please read https://github.com/chaoskagami/corbenik/wiki/Building

The python error is well documented, and it's because my python is a symlink to python3. I'm in the process of rewriting the assembler, so hopefully this won't be an issue someday.
See also: PEP 394. Rewrite it to be py2/3 agnostic so you can use #!/usr/bin/env python instead. Hopefully Windows Python at least ships a generically named python.exe.
 
Last edited by Suiginou,

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
See also: PEP 394. Rewrite it to be py2/3 agnostic so you can use #!/usr/bin/env python instead. Hopefully Windows Python at least ships a generically named python.exe.

I'm actually not rewriting the assembler in python, but C using a proper AST and tokenizer.

That said, until I'm done, I do think a hotfix for building is in order.
 

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
Both python2 and python3 are named python.exe on Windows.

Unfortunately, this is true. I wish it weren't.

Also, I'm perfectly obeying that PEP's recommendations by specifying python2. It only applies to unix-like platforms. If you notice down the bottom:

Exclusion of MS Windows

This PEP deliberately excludes any proposals relating to Microsoft Windows, as devising an equivalent solution for Windows was deemed too complex to handle here. PEP 397 and the related discussion on the python-dev mailing list address this issue (like this PEP, the PEP 397 launcher invokes Python 2 by default if versions of both Python 2 and 3 are installed on the system).

I would rather people used a cygwin-based build environment but w/e
 
Last edited by chaoskagami,

stl25

Well-Known Member
Member
Joined
Feb 3, 2008
Messages
1,111
Trophies
1
Location
Here, there and everywhere
XP
1,038
Country
United States
I'm glad you got it building. Next time, please read https://github.com/chaoskagami/corbenik/wiki/Building

The python error is well documented, and it's because my python is a symlink to python3. I'm in the process of rewriting the assembler, so hopefully this won't be an issue someday.


My apologies. I have read the wiki section a few times but failed to pick up on that. However, it is also in the thread so I have no excuse. I have read through the thread and wiki for info about svc replacement as it is documented that retroarch will not works without it. I tested all my retroarch via I have installed to emuNAND and they all error out and the console will reboot. I have svc replacement checked in the options section of the config. Am I missing something?

Edit: Using 11.0U FIRM.
 
Last edited by stl25,

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
My apologies. I have read the wiki section a few times but failed to pick up on that. However, it is also in the thread so I have no excuse. I have read through the thread and wiki for info about svc replacement as it is documented that retroarch will not works without it. I tested all my retroarch via I have installed to emuNAND and they all error out and the console will reboot. I have svc replacement checked in the options section of the config. Am I missing something?

You did copy the entire folder, right? Not just the arm9loaderhax bin? More specifically, backdoor is in /corbenik/svc/7b.bin, and you should see something like this during boot:

Svc: table at 2403790c
Svc: 7b.bin, 40 bytes
Svc: Copy code to 24064268
Svc: entry set as ffff0c68

EDIT: I use 11.0 FIRMs for testing, as well, and RA works perfectly here.
 
Last edited by chaoskagami,

stl25

Well-Known Member
Member
Joined
Feb 3, 2008
Messages
1,111
Trophies
1
Location
Here, there and everywhere
XP
1,038
Country
United States
You did copy the entire folder, right? Not just the arm9loaderhax bin? More specifically, backdoor is in /corbenik/svc/7b.bin, and you should see something like this during boot:

Svc: table at 2403790c
Svc: 7b.bin, 40 bytes
Svc: Copy code to 24064268
Svc: entry set as ffff0c68

I copied all four folders that we created from compiling the latest commit.

bits
module
patch
svc

as well as the arm9loaderhax.bin

7b.bin file is in svc.

I am not sure but all my Retroarch cias error out. AGB reboot works awesome, so let me thank you for that. Great job on everything.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    They haslve dedicated on board chips that aren't tweaked like x64/x32 afaik
  • ColdBlitz @ ColdBlitz:
    but its a custom os for both of them
  • ColdBlitz @ ColdBlitz:
    designed for only specific hardware
  • ColdBlitz @ ColdBlitz:
    so you have to learn to emulate that specific hardware which isn't as easy as you'd think
  • K3Nv2 @ K3Nv2:
    It's a locked down Linux distro basically
  • Psionic Roshambo @ Psionic Roshambo:
    I think the only custom hardware is to do with the SSD and a security chip
  • Psionic Roshambo @ Psionic Roshambo:
    Probably combined in one chip
  • K3Nv2 @ K3Nv2:
    They place married security chips onto boards iirc
  • Psionic Roshambo @ Psionic Roshambo:
    Damn Frontier is offering 5Gbps now lol
  • K3Nv2 @ K3Nv2:
    I honestly can't recommend any of the big 3 this years I'd say buy a rog ally z1 if we're being honest
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly after the PS3 and 360 I just went full PC
  • K3Nv2 @ K3Nv2:
    Every games basically cross platform they only have about 6 titles making it worth the $600 price tag
  • Psionic Roshambo @ Psionic Roshambo:
    Didn't see much need for a console, all the advantages have kind of disappeared
  • ColdBlitz @ ColdBlitz:
    the ps3 used to support installing linux because the cpu was so powerful
  • K3Nv2 @ K3Nv2:
    Then the games are $70 and they want to reboot and refresh the same game every year
  • K3Nv2 @ K3Nv2:
    The ps3 was always Linux they just found a way to make it open source
  • ColdBlitz @ ColdBlitz:
    I'm avoiding buying from the big 3 at all atm
  • Psionic Roshambo @ Psionic Roshambo:
    At one point PC game pads where poorly supported, loading a game had setup, it was complicated. Now it's almost as easy as a console.
  • ColdBlitz @ ColdBlitz:
    nintendo needs to up their game soon
  • K3Nv2 @ K3Nv2:
    Yeah even bt support for Xbox one controllers are just as easy as pairing
    +1
  • ColdBlitz @ ColdBlitz:
    considering the steamdeck can emulate the switch (yikes) theres almost 0 reason to buy the switch apart from playing online and using cartridges
  • K3Nv2 @ K3Nv2:
    Xinput and 360 dongles were a driver nightmare
  • K3Nv2 @ K3Nv2:
    I remember having to manually put in drivers and what not
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah the 360 dongles sucked
  • Psionic Roshambo @ Psionic Roshambo:
    But the new Xbox pads? PIr it up and if a game supports it it just works
    Psionic Roshambo @ Psionic Roshambo: But the new Xbox pads? PIr it up and if a game supports it it just works