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

BARNWEY

Well-Known Member
Member
Joined
Oct 11, 2016
Messages
1,268
Trophies
0
XP
648
Country
United States
I tried the updator, it works, but now it won't boot system menu. I select launch system, and it says firmwareload fail.
I'm getting that too, but it installs regular corbenik fine... It's really odd to me...

Edit: I found the issues, you have to replace the FIRM files and copy over any missing files from your Corbenik folder. The updater provided corrupted FIRM files and didn't provide some files for me. Afterwards, it worked fine...

How do I report bugs when using skeith?
Edit: Skeith doesn't like HighMem games on O3DS.... IDK why..
 
Last edited by BARNWEY,

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
@chaoskagami
I'm having compilation issues with the new commits, not sure if is due the fact that I updated the devkitARM to r46 or if is a new compilation bug

Yeah, looks devkitPro related. I'm still using r45 on my laptop, so I guess I'll blame r46 for this. Seems easy enough to resolve, anyways.

I was only using sigpatches and firm protection. Going to try to get the ancient sysdowngraders to work so I can at least have access to signed test menu, devmenu, and some other titles... Fwiw, I tried using a cn dump, but that failed... Might be due to me installing it while on 11.x?

I have no idea. 2.x isn't exactly the most stable firmware. Most of the pre-rewrite firmware versions are physically incompatible with post-rewrite applications. It's not like one would want to run 2.x for a very long time, so if anything I'd say that's more a PoC than anything.

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

It doesn't work, I'll try using Skeith later. For now, I have to go, sorry dude...

Yeah, please use the hourly from jenkins: https://j.chaos.moe/

The stable release is old now. Ancient, even, and there are a few known issues in it. I keep telling myself to make a new stable release and not doing it. :/
 

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
407
Country
Yeah, looks devkitPro related. I'm still using r45 on my laptop, so I guess I'll blame r46 for this. Seems easy enough to resolve, anyways.

Btw, I was reading your code, you asked to someone to remember you to fix a thing in reboot.c and in module.c there is a "SUPER FIXME 9000: DO NOT LEAVE AS IS" somewhere.
Just remembering you. You probably remember all of this, but it just feel right to report. :3
 

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
Btw, I was reading your code, you asked to someone to remember you to fix a thing in reboot.c and in module.c there is a "SUPER FIXME 9000: DO NOT LEAVE AS IS" somewhere.
Just remembering you. You probably remember all of this, but it just feel right to report. :3

module.c: It'll keep working as long as nintendo doesn't release a FIRM that's ridiculously larger. It's fine for now. I added that as a reminder that I should be properly realloc'ing there. The memory corruption notice is a renmant of back when things were (somehow) working with the old non-newlib allocator. That should probably be cleaned out.

reboot.c: Nothing actually broken. Just a reminder to myself to rewrite that; and given that I'm going over and cleaning up all the code, that's pretty irrelevant.

I do a grep every once in a while for when I leave a fixme. Trust me, I haven't forgotten. I'm not a little kid. :P

Just checked; devkitpro r46 requires changes to ctrulib, and corbenik uses its own fork, which wasn't updated yet
edit: ninja'd by 19 minutes, whoops

I already fixed ctrulib (probably) but compilation of r46 is proving annoying. I'm doing an `emerge =gcc-6.3.0` since I suspect I need GCC 6.3 to build it (which is sad.) Anyways, whenever this finishes compiling and I test, changes will be pushed. It's also probably going to render the code incompatible with r45.
 

ketal

aiueo
Member
Joined
Aug 20, 2015
Messages
744
Trophies
0
XP
677
Country
Italy
module.c: It'll keep working as long as nintendo doesn't release a FIRM that's ridiculously larger. It's fine for now. I added that as a reminder that I should be properly realloc'ing there. The memory corruption notice is a renmant of back when things were (somehow) working with the old non-newlib allocator. That should probably be cleaned out.

reboot.c: Nothing actually broken. Just a reminder to myself to rewrite that; and given that I'm going over and cleaning up all the code, that's pretty irrelevant.

I do a grep every once in a while for when I leave a fixme. Trust me, I haven't forgotten. I'm not a little kid. :P



I already fixed ctrulib (probably) but compilation of r46 is proving annoying. I'm doing an `emerge =gcc-6.3.0` since I suspect I need GCC 6.3 to build it (which is sad.) Anyways, whenever this finishes compiling and I test, changes will be pushed. It's also probably going to render the code incompatible with r45.
code will be incompatible with r45 for sure;
there was a bug once that made it impossible to compile gcc5 with gcc6, not sure about the other way around
 
  • 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
code will be incompatible with r45 for sure;
there was a bug once that made it impossible to compile gcc5 with gcc6, not sure about the other way around

It's funny because for all that gcc6 brought to the table, it broke a lot. It's actually masked on Gentoo since it breaks half of the packages in portage.

Anyways, I'm hopeful that it's only ctrulib that needs to be updated. Given all the warning flags I have on and that most are also -Werror -- my code is standard C aside from a few uses of __attribute__ and cast alignment issues (which actually aren't; memalign.)
 
  • Like
Reactions: ketal

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
407
Country
I do a grep every once in a while for when I leave a fixme. Trust me, I haven't forgotten. I'm not a little kid.
Oh!! I didn't mean to offend you, sorry if it sound like it. >.<
I just got a little scared about a fixme with only upper cases and in the reboot.c you asked to someone to remember you about, so I did it

I'm really really sorry if I offended you. >.<
 
  • 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
Oh!! I didn't mean to offend you, sorry if it sound like it. >.<
I just got a little scared about a fixme with only upper cases and in the reboot.c you asked to someone to remember you about, so I did it

I'm really really sorry if I offended you. >.<

Aw, jeez. Nah, not offended~

Uppercase with me is usually when I'm tired and push something incomplete. If I actually needed to fix it; it'd be fixed. Immediately. Next commit. Heh.
 
  • Like
Reactions: Gray_Jack

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
28,013
Trophies
4
Location
Making a non-binary fuss
XP
39,600
Country
Antarctica
I've been keeping up with the nightlies for quite some time and they've been extremely stable for me. Why not after this bug is fixed, push out a stable release?
If anything, the Stable release will really be welcomed with the Pokemon S/M patch working without any hassle.
 

BARNWEY

Well-Known Member
Member
Joined
Oct 11, 2016
Messages
1,268
Trophies
0
XP
648
Country
United States
Yeah, looks devkitPro related. I'm still using r45 on my laptop, so I guess I'll blame r46 for this. Seems easy enough to resolve, anyways.



I have no idea. 2.x isn't exactly the most stable firmware. Most of the pre-rewrite firmware versions are physically incompatible with post-rewrite applications. It's not like one would want to run 2.x for a very long time, so if anything I'd say that's more a PoC than anything.

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



Yeah, please use the hourly from jenkins: https://j.chaos.moe/

The stable release is old now. Ancient, even, and there are a few known issues in it. I keep telling myself to make a new stable release and not doing it. :/
Alright, thank you. I was using Corbenik Updater to download Skeith and it didn't work correctly (like HighMem games wouldn't load.) I'll try skeith from there later...
 

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
Alright, thank you. I was using Corbenik Updater to download Skeith and it didn't work correctly (like HighMem games wouldn't load.) I'll try skeith from there later...

I think his updater fetches from my jenkins, but I'm unsure. I can't officially support the updater.

Anyways, R46 should work now. I'm crossing my fingers that next jenkins build succeeds (and is sane.) Triggering it manually.
 
Last edited by chaoskagami,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1