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

  • Thread starter Thread starter chaoskagami
  • Start date Start date
  • Views Views 287,572
  • Replies Replies 2,153
  • Likes Likes 60
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.
 
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.
 
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
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,
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.
 
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
 
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:

View attachment 52262
Rename C:\Python27\python.exe to C:\Python27\python2.exe
 
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,
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.
 
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,
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 Deleted member 117573,
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,
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