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

  • Thread starter Thread starter chaoskagami
  • Start date Start date
  • Views Views 287,620
  • Replies Replies 2,153
  • Likes Likes 60
I noticed a thing
when entering the software management for 3ds, the console hangs and crashes

There's something severely wrong with the new build, so don't use it. In fact, I'm going to delete it it's behaving so wrong.

EDIT: ARM11 XN Disable seems to be the offender for visible issues, so I'm guessing the jmp opcodes aren't behaving correctly since the update. This means the agb_firm patch probably also isn't working right.

Also, @Wolfvak - Is the Svc table message the last line on the screen down bottom or up one from bottom?
 
Last edited by chaoskagami,
fix the several issues please

There are serveral updates per day!
So please give the dev time to fix it!
He will inform us if there are news ........ i'am sure of this.

And could you please use complete sentences :) (your's looks like we are in a military unit!)
 
fix the several issues please

I have a life, you know. It'll get done when it gets done.

I'm going to slow releases down. Fixing one bug, releasing, fixing another, releasing, and so on doesn't help people get a better and more stable tool.

I'm not going to make another release until I've tested the crap out of the code. If you want to use it right now in all its' buggy glory, build it yourself. Chances are you'll have very little fun with it in its' current state.
 
Finally, a CFW I can brick my system with!
On a serious note, this CFW is so cool. It feels like I'm using something really serious, and this feeling defines everything. Although this 0.0.6 release is unstable (also, the settings were not saved when I powered off Corbenik from its menu; they were saved while booting though. Is it supposed to be so?), it already has some key features nevertheless, and for me, everything works. It will definitely be a nice toy for developers. Thank you for your work!
 
Last edited by Elveman,
Finally, a CFW I can brick my system with!
On a serious note, this CFW is so cool. It feels like I'm using something really serious, and this feeling defines everything. Although this 0.0.6 release is unstable (also, the setting were not saved when I powered off Corbenik from its menu; they were saved while booting though. Is it supposed to be so?), it already has some key features nevertheless, and for me, everything works. It will definitely be a nice toy for developers. Thank you for your work!

The power off/reboot was a minor oversight. I've been meaning to fix that, I just wanted to tackle the harder issues first.

Thanks. :D
 
Finally, a CFW I can brick my system with!
@chaoskagami - I think Skeith as the name for this, wouldn't have been such a bad idea. :p

Joking aside, thank you for bringing this firmware to us, and I actually wasn't expecting a reboot patch this quickly, since in one of your previous messages, you said it'd probably be a few days off at worst. So I was actually thinking it'd take you a while~

Hope you iron out the bugs :)

Good luck~ <3
 
@chaoskagami - I think Skeith as the name for this, wouldn't have been such a bad idea. :P

Joking aside, thank you for bringing this firmware to us, and I actually wasn't expecting a reboot patch this quickly, since in one of your previous messages, you said it'd probably be a few days off at worst. So I was actually thinking it'd take you a while~

Hope you iron out the bugs :)

Good luck~ <3

Joking aside, 'Skeith' sounds cooler in retrospect, and the joke would be even better with unstable releases. If I start doing nightlies, I'll change the firmware folder to '/skeith' on them. It's only a -D away in the Makefile. ;P

As for being much quicker on reboot than I said I was going to be - I usually give a worst case ETA.

Thanks. :D
 
  • Like
Reactions: Temptress Cerise
If you want to use it right now in all its' buggy glory, build it yourself. Chances are you'll have very little fun with it in its' current state.

Heh, that's what I usually do. Since I'm having issues getting familiar with the source code I just try to follow the commit.

As for
Also, @Wolfvak - Is the Svc table message the last line on the screen down bottom or up one from bottom?
The former. Last line on the bottom of the bottom screen, it doesn't clear up.

fix the several issues please
Do you have ANY idea of how hard this is? It's pretty hard to make a CFW itself, but to make one with a VM is insane. Even more insane when it was written in so little time.
I wanted to have a shot at something like this, but my idea was a lot worse: I actually wanted to implement some sort of interpreter (not bytecode, but plaintext interpreter), and nearly not as many features as Corbenik does.
 
Last edited by Wolfvak,
The former. Last line on the bottom of the bottom screen, it doesn't clear up.

Maybe the logging code is causing a crash, or I'm somehow going OOB on the display. I only dump a log buffer immediately before the screen clears. Interesting, because that's consistent with what I see, as well. It never crashes when that message is elsewhere. Only when it occurs bottom of screen. That's actually helpful.

Hey now, no need to rush. It's better to wait for a quality product than rush out a shitty one.

Haste makes waste, I say.

---

I figured out why the patches were misbehaving and more specifically why jmps were screwing the state. jmp to the end of a patch was skipping the 'next' opcode, so state wasn't reset between patches. The cause? A stray +1 in the assembler.

The patches are misgenerated in the pre-reboot version, too. It just doesn't manifest itself because of how the patches interact.

The lesson is - don't code while overtired. :sleep:
 
Things seem relatively stable-ish now that the assembler and patches are fixed in git, but I want to get that 512 size limit on bytecode removed from loader before I upload another binary.
 
I see this becoming a subsection of the Plailect guide (Like how it used to be ARN/Cakes)

I don't. Wasn't Cakes removed because it was developer focused? I also seem to remember multiple people bricking due to forgetting FIRM protection, too.
 
I don't. Wasn't Cakes removed because it was developer focused? I also seem to remember multiple people bricking due to forgetting FIRM protection, too.
Cakes was removed for a number of reasons, including:
Not being noob friendly (dev focused)
FIRM protect being optional (which as you said led to bricks)
No one using it (it was the least viewed page on the guide)
Stagnation in development

Not all of these apply to Corbenik, but enough do that it wouldn't be added to the guide (and it probably shouldn't anyway - the guide is made to be noob friendly).
 
I don't. Wasn't Cakes removed because it was developer focused? I also seem to remember multiple people bricking due to forgetting FIRM protection, too.
Not really because it was "dev oriented", but rather because people actually had too much freedom. You know how it is, people already have a hard time reading the instructions, you actually want to make them think?

Besides, not a lot of people were using it, because it required having other stuff like the firmkey and such.
 
I see this becoming a subsection of the Plailect guide (Like how it used to be ARN/Cakes)
I doubt it, Luma3DS just dominates the CFW world. So much so, that even suggesting another CFW is just shoot down by the community.
Honestly, I like small products like this, because it gives a nice tight knit community.
 
Not really because it was "dev oriented", but rather because people actually had too much freedom. You know how it is, people already have a hard time reading the instructions, you actually want to make them think?

So true. Most people want something set-it-and-forget-it. The world would be a better place if people actually wanted to think, though.

I doubt it, Luma3DS just dominates the CFW world. So much so, that even suggesting another CFW is just shoot down by the community.
Honestly, I like small products like this, because it gives a nice tight knit community.

Luma has become the Windows of the CFW scene, basically. Some users are scarily evangelical about it.

The devs of Luma are all cool people, though.

I'm uploading a release since it appears to be impossible (for me?) to correctly use svcControlMemory for heap space from loader. Nothing exceeds the maximum yet even with everything on, so it's not a huge deal at the moment.
 

Site & Scene News

Popular threads in this forum