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

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,386
Country
Uruguay
You can also use ffmpeg and ImageMagick in case you're tired of getting the same file name downloaded over and over.

For ffmpeg:
Code:
ffmpeg -i image.png -vf "transpose=1,size=400:240" -pix_fmt bgr24 image.rgb

For ImageMagick:
Code:
convert image.png -flatten -resize 400x240 -channel BGR -separate -channel RGB -combine -rotate 90 image.rgb

The resulting image.rgb is the one you have to copy as "top.bin" or "bottom.bin". If it's a bottom screen splash, make sure to replace "400" with "320".

EDIT: Also, the commit describes the format as "RGB" but it's actually "BGR" because of freaking endianness. Just a small comment, someone might try to convert to RGB (after only reading the commit description without following this thread) and get a jumbled mess of colors
 
Last edited by Wolfvak,
  • Like
Reactions: chaoskagami

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
  • 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
You can also use ffmpeg and ImageMagick in case you're tired of getting the same file name downloaded over and over.

For ffmpeg:
Code:
ffmpeg -i image.png -vf "transpose=1,size=400:240" -pix_fmt bgr24 image.rgb

For ImageMagick:
Code:
convert image.png -flatten -resize 400x240 -channel BGR -separate -channel RGB -combine -rotate 90 image.rgb

The resulting image.rgb is the one you have to copy as "top.bin" or "bottom.bin". If it's a bottom screen splash, make sure to replace "400" with "320".

Technically, it's a wallpaper, not a splash, but eh. @Wolfvak is correct. These commands will produce a usable image, although more often than not, resizing is a bad idea if it doesn't keep the aspect ratio.

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

Uh...yea. Thanks! Where's your paypal donation link? I'd like to send you some dough.

I don't have one. My paypal isn't set up to recieve donations, nor do I want your money. Associating cashflow with homebrew is a bad idea (tm)

That took literally one minute to do, anyways. Nothing compared to de-watermarking/alteration. :P
 
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
So I got bored while testing the background stuff and did this crap (why, I have no clue):

screenshot.png


So now you can now hit L+R+Start to take screenshots in menu with git, and it saves a binary ppm image to `/corbenik/cache/screenshot.ppm`. I'm not really sure why I did this, but now I have something to slap in the OP for people who are like 'screenies plz'.

As you can see - light wallpapers don't work so well. At least not without brightness adjustments, so next release is still put off a bit.
 

Temptress Cerise

Miss Magic~ <3
Member
Joined
May 1, 2016
Messages
2,242
Trophies
1
XP
2,336
Country
United States
So I got bored while testing the background stuff and did this crap (why, I have no clue):

View attachment 54197

So now you can now hit L+R+Start to take screenshots in menu with git, and it saves a binary ppm image to `/corbenik/cache/screenshot.ppm`. I'm not really sure why I did this, but now I have something to slap in the OP for people who are like 'screenies plz'.

As you can see - light wallpapers don't work so well. At least not without brightness adjustments, so next release is still put off a bit.
Corbenik screenies~ ^_^

screenie.png


Now, I have more Sinon in my life~ <3

Can't really think of anything practical for screenies, but it's nice to have. :P ^_^
 

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
Corbenik screenies~ ^_^

View attachment 54208

Now, I have more Sinon in my life~ <3

Can't really think of anything practical for screenies, but it's nice to have. :P ^_^

Me neither. Still, it wasn't too much code to add and it gave me a way to slap pictures in the OP.

Considering that Sinon is the only character with any actual depth in SAO, I approve, btw. :D
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,947
Trophies
4
Location
Making a non-binary fuss
XP
39,334
Country
Antarctica
I was super lazy and just moved my bootsplash from Luma over to test out the background and screenshot function. Both work great on my end and still not finding any bugs! ^_^
screenshot.png

Might I add, that I love that this theme also acts like a bootsplash! It's like a two for one here and I love it!
 
Last edited by The Catboy,

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
Nice screen shots, everyone. I just realized that the current font looks kinda skinny. The font used by CakesFW, or all of @d0k3's amazing apps (I think they're the same), would look killer on corbenik. Text color would be nice for those light background images as well.

Anyway, here's the one that chaoskagami made for me:
screenshot.png
 

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
N3DS JPN user here.

Not sure if a bug or normal behavior, but when fully updating corbenik (by deleting /corbenik and replacing with updated /corbenik), out of region (non region-free) apps disappear upon first boot with Signature fix selected and saved. It seems to fix itself when I reboot > deselect Signature fix > Save Configuration > select Signature fix > Save Configuration > Boot Firmware. Then I get to enjoy reopening ~30 gift wrapped icons on my home menu. It was fun at first, but then it became a chore when I started to update regularly :cry:

Code:
hle@x60 ~/Downloads $ cat boot.log
Config file loaded.
Saving config...
Config file loaded.
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Loading firmware...
Patching firmware...
VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: siize is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector 1
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Mdule: injected modules.
            Updated keyX keyslots
Copied FIRM
            Config file loaded.
Loading firmware...
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Patching firmware...
VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: size is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector 1
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Updated keyX keyslots
Copied FIRM
            Config file loaded.
Loading firmware...
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Patching firmware...
VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBFF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: size is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector 1
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 2064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Updated keyX keyslots
Copied FIRM
            Config file loaded.
Saving config...
Saving config...
Loading firmware...
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Generating patch cache...
Cache: Title Downgrade Fix (11.0 NFIRM)
            Cache: AGB Bootscreen
            Cache: AGB Signature Fix
            Cache: Block Cart Update / Cart RF (Loader)
  Version: 9
  cache: 0004013000008002
            Cache: Block eShop Updates (Loader)
  Version: 9
  cache: 0004013000002C02
            Cache: Block NIM updates (Loader)
  Version: 9
  cache: 0004013000002C02
            Cache: ErrDisp devmode (Loader)
  Version: 9
  cache: 0004003000008A02
            Cache: Settings Version String (Loader)
  Version: 9
  cache: 0004001000021000
  cache: 0004001000020000
  cache: 0004001000022000
  cache: 0004001000026000
  cache: 0004001000027000
  cache: 0004001000028000
            Cache: FIRM Protection
            Cache: Region Free HOME (Loader)
  Version: 9
  cache: 0004003000008F02
  cache: 0004003000008202
  cache: 0004003000009802
  cache: 000400300000A102
  cache: 000400300000A902
  cache: 000400300000B102
            Cache: RO Signature Fix (Loader)
  Version: 9
  cache: 0004013000003702
            Cache: Signature Fix
            Cache: TWL Patches
            Patching firmware...
rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500002
            find 6 ...
l:0 g:0 e:0 f:1 m:3 o:0x0002a3aa
c:0x0000000a m:0x240aa6aa n:2450000a
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0002a3aa
c:0x0000000b m:0x240aa6aa n:2450000b
            fwd 5
l:0 g:0 e:0 f:1 m:3 o:0x0002a3af
c:0x0000000d m:0x240aa6af n:2450000d
            set 1, ...
l:0 g:0 e:0 f:1 m:3 o:0x0002a3b0
c:0x00000010 m:0x240aa6b0 n:24500010
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500011
            rel 1
l:0 g:0 e:0 f:0 m:1 o:0x00000000
c:0x00000002 m:0x24300000 n:24500013
            find 4 ...
l:0 g:0 e:0 f:1 m:1 o:0x000d8b88
c:0x00000008 m:0x243d8b88 n:24500019
            abortnf
l:0 g:0 e:0 f:1 m:1 o:0x000d8b88
c:0x00000009 m:0x243d8b88 n:2450001a
            fwd 2
l:0 g:0 e:0 f:1 m:1 o:0x000d8b8a
c:0x0000000b m:0x243d8b8a n:2450001c
            set 1, ...
l:0 g:0 e:0 f:1 m:1 o:0x000d8b8b
c:0x0000000e m:0x243d8b8b n:2450001f
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500020
            rel 1
l:0 g:0 e:0 f:0 m:1 o:0x00000000
c:0x00000002 m:0x24300000 n:24500022
            find 6 ...
l:0 g:0 e:0 f:1 m:1 o:0x0009df64
c:0x0000000a m:0x2439df64 n:2450002a
            abortnf
l:0 g:0 e:0 f:1 m:1 o:0x0009df64
c:0x0000000b m:0x2439df64 n:2450002b
            set 6, ...
l:0 g:0 e:0 f:1 m:1 o:0x0009df6a
c:0x00000013 m:0x2439df6a n:24500033
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500034
            rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500036
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbc
c:0x00000008 m:0x2409c2bc n:2450003c
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbc
c:0x00000009 m:0x2409c2bc n:2450003d
            back 1
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbb
c:0x0000000b m:0x2409c2bb n:2450003f
            back 255
l:0 g:0 e:0 f:1 m:3 o:0x0001bebc
c:0x0000000d m:0x2409c1bc n:24500041
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7a
c:0x00000013 m:0x2409c27a n:24500047
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7a
c:0x00000014 m:0x2409c27a n:24500048
            set 4, ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7e
c:0x0000001a m:0x2409c27e n:2450004e
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:2450004f
            rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500051
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9c
c:0x00000008 m:0x240bae9c n:24500057
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9c
c:0x00000009 m:0x240bae9c n:24500058
            set 2, ...
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9e
c:0x0000000d m:0x240bae9e n:2450005c
            rewind
l:0 g:0 e:0 f:1 m:3 o:0x00000000
c:0x0000000e m:0x24080300 n:2450005d
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x00034331
c:0x00000014 m:0x240b4631 n:24500063
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x00034331
c:0x00000015 m:0x240b4631 n:24500064
            back 1
l:0 g:0 e:0 f:1 m:3 o:0x00034330
c:0x00000017 m:0x240b4630 n:24500066
            set 4, ...

l:0 g:0 e:0 f:1 m:3 o:0x00034334
c:0x0000001d m:0x240b4634 n:2450006c
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:2450006d
            rel 2
l:0 g:0 e:0 f:0 m:2 o:0x00000000
c:0x00000002 m:0x24100000 n:2450006f
            n3ds
l:0 g:0 e:1 f:0 m:2 o:0x00000000
c:0x00000003 m:0x24100000 n:24500070
            jmpeq 6
l:0 g:0 e:1 f:0 m:2 o:0x00000000
c:0x00000006 m:0x24100000 n:24500073
            seek 1465700
l:0 g:0 e:1 f:0 m:2 o:0x00165d64
c:0x0000000b m:0x24265d64 n:24500078
            set 6, ...
l:0 g:0 e:1 f:0 m:2 o:0x00165d6a
c:0x00000013 m:0x24265d6a n:24500080
            seek 1525578
l:0 g:0 e:1 f:0 m:2 o:0x0017474a
c:0x00000018 m:0x2427474a n:24500085
            set 2, ...
l:0 g:0 e:1 f:0 m:2 o:0x0017474c
c:0x0000001c m:0x2427474c n:24500089
            seek 1529150
l:0 g:0 e:1 f:0 m:2 o:0x0017553e
c:0x00000021 m:0x2427553e n:2450008e
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175542
c:0x00000027 m:0x24275542 n:24500094
            seek 1529504
l:0 g:0 e:1 f:0 m:2 o:0x001756a0
c:0x0000002c m:0x242756a0 n:24500099
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x001756a4
c:0x00000032 m:0x242756a4 n:2450009f
            seek 1530510
l:0 g:0 e:1 f:0 m:2 o:0x00175a8e
c:0x00000037 m:0x24275a8e n:245000a4
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175a92
c:0x0000003d m:0x24275a92 n:245000aa
            seek 1530522
l:0 g:0 e:1 f:0 m:2 o:0x00175a9a
c:0x00000042 m:0x24275a9a n:245000af
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175a9e
c:0x00000048 m:0x24275a9e n:245000b5
            seek 1530534
l:0 g:0 e:1 f:0 m:2 o:0x00175aa6
c:0x0000004d m:0x24275aa6 n:245000ba
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175aaa
c:0x00000053 m:0x24275aaa n:245000c0
            seek 1530770
l:0 g:0 e:1 f:0 m:2 o:0x00175b92
c:0x00000058 m:0x24275b92 n:245000c5
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175b96
c:0x0000005e m:0x24275b96 n:245000cb
            jmp 185
l:0 g:0 e:1 f:0 m:2 o:0x00175b96
c:0x000000b9 m:0x24275b96 n:24500126
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500127
            VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: size is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Saving FIRM for reboot...
Updated keyX keyslots
Copied FIRM
            Config file loaded.
Config file loaded.
Loading firmwarre...
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Patching firmware...
rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500002
            find 6 ...
l:0 g:0 e:0 f:1 m:3 o:0x0002a3aa
c:0x0000000a m:0x240aa6aa n:2450000a
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0002a3aa
c:0x0000000b m:0x240aa6aa n:2450000b
            fwd 5
l:0 g:0 e:0 f:1 m:3 o:0x0002a3af
c:0x0000000d m:0x240aa6af n:2450000d
            set 1, ...
l:0 g:0 e:0 f:1 m:3 o:0x0002a3b0
c:0x00000010 m:0x240aa6b0 n:24500010
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500011
            rel 1
l:0 g:0 e:0 f:0 m:1 o:0x00000000
c:0x00000002 m:0x24300000 n:24500013
            find 4 ...
l:0 g:0 e:0 f:1 m:1 o:0x000d8b88
c:0x00000008 m:0x243d8b88 n:24500019
            abortnf
l:0 g:0 e:0 f:1 m:1 o:0x000d8b88
c:0x00000009 m:0x243d8b88 n:2450001a
            fwd 2
l:0 g:0 e:0 f:1 m:1 o:0x000d8b8a
c:0x0000000b m:0x243d8b8a n:2450001c
            set 1, ...
l:0 g:0 e:0 f:1 m:1 o:0x000d8b8b
c:0x0000000e m:0x243d8b8b n:2450001f
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500020
            rel 1
l:0 g:0 e:0 f:0 m:1 o:0x00000000
c:0x00000002 m:0x24300000 n:24500022
            find 6 ...
l:0 g:0 e:0 f:1 m:1 o:0x0009df64
c:0x0000000a m:0x2439df64 n:2450002a
            abortnf
l:0 g:0 e:0 f:1 m:1 o:0x0009df64
c:0x0000000b m:0x2439df64 n:2450002b
            set 6, ...
l:0 g:0 e:0 f:1 m:1 o:0x0009df6a
c:0x00000013 m:0x2439df6a n:24500033
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500034
            rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500036
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbc
c:0x00000008 m:0x2409c2bc n:2450003c
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbc
c:0x00000009 m:0x2409c2bc n:2450003d
            back 1
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbb
c:0x0000000b m:0x2409c2bb n:2450003f
            back 255
l:0 g:0 e:0 f:1 m:3 o:0x0001bebc
c:0x0000000d m:0x2409c1bc n:24500041
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7a
c:0x00000013 m:0x2409c27a n:24500047
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7a
c:0x00000014 m:0x2409c27a n:24500048
            set 4, ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7e
c:0x0000001a m:0x2409c27e n:2450004e
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:2450004f
            rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500051
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9c
c:0x00000008 m:0x240bae9c n:24500057
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9c
c:0x00000009 m:0x240bae9c n:24500058
            set 2, ...
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9e
c:0x0000000d m:0x240bae9e n:2450005c
            rewind
l:0 g:0 e:0 f:1 m:3 o:0x00000000
c:0x0000000e m:0x24080300 n:2450005d
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x00034331
c:0x00000014 m:0x240b4631 n:24500063
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x00034331
c:0x00000015 m:0x240b4631 n:24500064
            back 1
l:0 g:0 e:0 f:1 m:3 o:0x00034330
c:0x00000017 m:0x240b4630 n:24500066
            set 4, ...
l:0 g:0 e:0 f:1 m:3 o:0x00034334
c:0x0000001d m:0x240b4634 n:2450006c
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:2450006d
            rel 2
l:0 g:0 e:0 f:0 m:2 o:0x00000000
c:0x00000002 m:0x24100000 n:2450006f
            n3ds
l:0 g:0 e:1 f:0 m:2 o:0x00000000
c:0x00000003 m:0x24100000 n:24500070
            jmeq 6
l:0 g:0 e:1 f:0 m:2 o:0x00000000
c:0x00000006 m:0x24100000 n:24500073
            seek 1465700
l:0 g:0 e:1 f:0 m:2 o:0x00165d64
c:0x0000000b m:0x24265d64 n:24500078
            set 6, ...
l:0 g:0 e:1 f:0 m:2 o:0x00165d6a
c:0x00000013 m:0x24265d6a n:24500080
            seek 1525578
l:0 g:0 e:1 f:0 m:2 o:0x0017474a
c:0x00000018 m:0x2427474a n:24500085
            set 2, ...
l:0 g:0 e:1 f:0 m:2 o:0x0017474c
c:0x0000001c m:0x2427474c n:24500089
            seek 1529150
l:0 g:0 e:1 f:0 m:2 o:0x0017553e
c:0x00000021 m:0x2427553e n:2450008e
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175542
c:0x00000027 m:0x24275542 n:24500094
            seek 1529504
l:0 g:0 e:1 f:0 m:2 o:0x001756a0
c:0x0000002c m:0x242756a0 n:24500099
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x001756a4
c:0x00000032 m:0x242756a4 n:2450009f
            seek 1530510
l:0 g:0 e:1 f:0 m:2 o:0x00175a8e
c:0x00000037 m:0x24275a8e n:245000a4
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175a92
c:0x0000003d m:0x24275a92 n:245000aa
            seek 1530522
l:0 g:0 e:1 f:0 m:2 o:0x00175a9a
c:0x00000042 m:0x24275a9a n:245000af
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175a9e
c:0x00000048 m:0x24275a9e n:245000b5
            seek 1530534
l:0 g:0 e:1 f:0 m:2 o:0x00175aa6
c:0x0000004d m:0x24275aa6 n:245000ba
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175aaa
c:0x00000053 m:0x24275aaa n:245000c0
            seek 1530770
l:0 g:0 e:1 f:0 m:2 o:0x00175b92
c:0x00000058 m:0x24275b92 n:245000c5
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175b96
c:0x0000005e m:0x24275b96 n:245000cb
            jmp 185
l:0 g:0 e:1 f:0 m:2 o:0x00175b96
c:0x000000b9 m:0x24275b96 n:24500126
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500127
            VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: size is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector 1
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Updated keyX keyslots
Copied FIRM

Code:
hle@x60 ~/Downloads $ cat loader.log
Title: 0004013000008002
  validated params
  patched cpu
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
Created process
Title: 0004003000008202
  validated params
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
Created process
Title: 0004013000002802
  validated params
Created process
Title: 0004013000008002
  validated params
  patched cpu
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
Created process
Title: 0004003000008202
  validated params
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
Created process
Title: 0004013000002802
  validated params
Created process
Title: 0004001000020000
  validated params
Created process
Title: 000400300000C002
  validated params
Created process
Title: 0004013000008002
  validated params
  patched cpu
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
Created process
Title: 0004003000008202
  validated params
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
Created process
Title: 0004013000002802
  validated params
Created process
Title: 0004013000008002
  validated params
  patched cpu
  patch: /corbenik/cache/loader/0004013000008002
  exec
rel
find
abortnf
set
find
abortnf
set
next
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
  patch: /corbenik/cache/loader/0004003000008A02
  exec
rel
find
abortnf
set
find
abortnf
set
find
abortnf
set
find
abortnf
set
next
Created process
Title: 0004003000008202
  validated params
  patch: /corbenik/cache/loader/0004003000008202
  exec
rel
find
abortnf
back
set
next
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
  patch: /corbenik/cache/loader/0004013000002C02
  exec
rel
find
abortnf
set
next
rel
find
abortnf
set
next
Created process
Title: 0004013000002802
  validated params
Created process
Title: 000400000D921E00
  validated params
Created process
Title: 0004001000020100
  validated params
Created process
Title: 0004001000020100
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004003000008202
  validated params
  patch: /corbenik/cache/loader/0004003000008202
  exec
rel
find
abortnf
back
set
next
Created process
Title: 0004013000008002
  validated params
  patched cpu
  patch: /corbenik/cache/loader/0004013000008002
  exec
rel
find
abortnf
set
find
abortnf
set
next
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
  patch: /corbenik/cache/loader/0004003000008A02
  exec
rel
find
abortnf
set
find
abortnf
set
find
abortnf
set
find
abortnf
set
next
Created process
Title: 0004003000008202
  validated params
  patch: /corbenik/cache/loader/0004003000008202
  exec
rel
find
abortnf
back
set
next
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
  patch: /corbenik/cache/loader/0004013000002C02
  exec
rel
find
abortnf
set
next
rel
find
abortnf
set
next
Created process
Title: 0004013000002802
  validated params
Created process
Title: 000400000D921E00
  validated params
Created process
Title: 0004001000020100
  validated params
Created process
Title: 0004001000020100
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
 
Last edited by 3xkrazy,

Kirtai

Well-Known Member
Member
Joined
May 6, 2016
Messages
237
Trophies
0
XP
245
Country
United Kingdom
So I got bored while testing the background stuff and did this crap (why, I have no clue)
Because it's awesome? ;)
,,,
Wow, bdfe really didn't want to work on my Raspberry Pi2. Strange :huh:


As you can see - light wallpapers don't work so well. At least not without brightness adjustments, so next release is still put off a bit.
CtrBootManager allows you to select the colour of the font and the highlight for selected items. I dunno if you want to go that far just for eye candy though :)
 
Last edited by Kirtai, , Reason: Added comment

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
Nice screen shots, everyone. I just realized that the current font looks kinda skinny. The font used by CakesFW, or all of @d0k3's amazing apps (I think they're the same), would look killer on corbenik. Text color would be nice for those light background images as well.

Anyway, here's the one that chaoskagami made for me:
View attachment 54231

What you fail to realize is that I used that font prior to 0.1.0 and I hated it, not to mention I have no clue what its licensing is. To answer that question - NO. The font choice is deliberate, and I won't be switching it. I like it. You can build that font into a termfont.bin yourself if you really want it. The font is replaceable.

N3DS JPN user here.
Not sure if a bug or normal behavior, but when fully updating corbenik (by deleting /corbenik and replacing with updated /corbenik), out of region (non region-free) apps disappear upon first boot with Signature fix selected and saved. It seems to fix itself when I reboot > deselect Signature fix > Save Configuration > select Signature fix > Save Configuration > Boot Firmware. Then I get to enjoy reopening ~30 gift wrapped icons on my home menu. It was fun at first, but then it became a chore when I started to update regularly :cry:

Code:
hle@x60 ~/Downloads $ cat boot.log
Config file loaded.
Saving config...
Config file loaded.
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Loading firmware...
Patching firmware...
VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: siize is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector 1
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Mdule: injected modules.
            Updated keyX keyslots
Copied FIRM
            Config file loaded.
Loading firmware...
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Patching firmware...
VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: size is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector 1
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Updated keyX keyslots
Copied FIRM
            Config file loaded.
Loading firmware...
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Patching firmware...
VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBFF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: size is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector 1
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 2064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Updated keyX keyslots
Copied FIRM
            Config file loaded.
Saving config...
Saving config...
Loading firmware...
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Generating patch cache...
Cache: Title Downgrade Fix (11.0 NFIRM)
            Cache: AGB Bootscreen
            Cache: AGB Signature Fix
            Cache: Block Cart Update / Cart RF (Loader)
  Version: 9
  cache: 0004013000008002
            Cache: Block eShop Updates (Loader)
  Version: 9
  cache: 0004013000002C02
            Cache: Block NIM updates (Loader)
  Version: 9
  cache: 0004013000002C02
            Cache: ErrDisp devmode (Loader)
  Version: 9
  cache: 0004003000008A02
            Cache: Settings Version String (Loader)
  Version: 9
  cache: 0004001000021000
  cache: 0004001000020000
  cache: 0004001000022000
  cache: 0004001000026000
  cache: 0004001000027000
  cache: 0004001000028000
            Cache: FIRM Protection
            Cache: Region Free HOME (Loader)
  Version: 9
  cache: 0004003000008F02
  cache: 0004003000008202
  cache: 0004003000009802
  cache: 000400300000A102
  cache: 000400300000A902
  cache: 000400300000B102
            Cache: RO Signature Fix (Loader)
  Version: 9
  cache: 0004013000003702
            Cache: Signature Fix
            Cache: TWL Patches
            Patching firmware...
rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500002
            find 6 ...
l:0 g:0 e:0 f:1 m:3 o:0x0002a3aa
c:0x0000000a m:0x240aa6aa n:2450000a
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0002a3aa
c:0x0000000b m:0x240aa6aa n:2450000b
            fwd 5
l:0 g:0 e:0 f:1 m:3 o:0x0002a3af
c:0x0000000d m:0x240aa6af n:2450000d
            set 1, ...
l:0 g:0 e:0 f:1 m:3 o:0x0002a3b0
c:0x00000010 m:0x240aa6b0 n:24500010
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500011
            rel 1
l:0 g:0 e:0 f:0 m:1 o:0x00000000
c:0x00000002 m:0x24300000 n:24500013
            find 4 ...
l:0 g:0 e:0 f:1 m:1 o:0x000d8b88
c:0x00000008 m:0x243d8b88 n:24500019
            abortnf
l:0 g:0 e:0 f:1 m:1 o:0x000d8b88
c:0x00000009 m:0x243d8b88 n:2450001a
            fwd 2
l:0 g:0 e:0 f:1 m:1 o:0x000d8b8a
c:0x0000000b m:0x243d8b8a n:2450001c
            set 1, ...
l:0 g:0 e:0 f:1 m:1 o:0x000d8b8b
c:0x0000000e m:0x243d8b8b n:2450001f
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500020
            rel 1
l:0 g:0 e:0 f:0 m:1 o:0x00000000
c:0x00000002 m:0x24300000 n:24500022
            find 6 ...
l:0 g:0 e:0 f:1 m:1 o:0x0009df64
c:0x0000000a m:0x2439df64 n:2450002a
            abortnf
l:0 g:0 e:0 f:1 m:1 o:0x0009df64
c:0x0000000b m:0x2439df64 n:2450002b
            set 6, ...
l:0 g:0 e:0 f:1 m:1 o:0x0009df6a
c:0x00000013 m:0x2439df6a n:24500033
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500034
            rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500036
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbc
c:0x00000008 m:0x2409c2bc n:2450003c
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbc
c:0x00000009 m:0x2409c2bc n:2450003d
            back 1
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbb
c:0x0000000b m:0x2409c2bb n:2450003f
            back 255
l:0 g:0 e:0 f:1 m:3 o:0x0001bebc
c:0x0000000d m:0x2409c1bc n:24500041
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7a
c:0x00000013 m:0x2409c27a n:24500047
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7a
c:0x00000014 m:0x2409c27a n:24500048
            set 4, ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7e
c:0x0000001a m:0x2409c27e n:2450004e
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:2450004f
            rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500051
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9c
c:0x00000008 m:0x240bae9c n:24500057
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9c
c:0x00000009 m:0x240bae9c n:24500058
            set 2, ...
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9e
c:0x0000000d m:0x240bae9e n:2450005c
            rewind
l:0 g:0 e:0 f:1 m:3 o:0x00000000
c:0x0000000e m:0x24080300 n:2450005d
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x00034331
c:0x00000014 m:0x240b4631 n:24500063
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x00034331
c:0x00000015 m:0x240b4631 n:24500064
            back 1
l:0 g:0 e:0 f:1 m:3 o:0x00034330
c:0x00000017 m:0x240b4630 n:24500066
            set 4, ...

l:0 g:0 e:0 f:1 m:3 o:0x00034334
c:0x0000001d m:0x240b4634 n:2450006c
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:2450006d
            rel 2
l:0 g:0 e:0 f:0 m:2 o:0x00000000
c:0x00000002 m:0x24100000 n:2450006f
            n3ds
l:0 g:0 e:1 f:0 m:2 o:0x00000000
c:0x00000003 m:0x24100000 n:24500070
            jmpeq 6
l:0 g:0 e:1 f:0 m:2 o:0x00000000
c:0x00000006 m:0x24100000 n:24500073
            seek 1465700
l:0 g:0 e:1 f:0 m:2 o:0x00165d64
c:0x0000000b m:0x24265d64 n:24500078
            set 6, ...
l:0 g:0 e:1 f:0 m:2 o:0x00165d6a
c:0x00000013 m:0x24265d6a n:24500080
            seek 1525578
l:0 g:0 e:1 f:0 m:2 o:0x0017474a
c:0x00000018 m:0x2427474a n:24500085
            set 2, ...
l:0 g:0 e:1 f:0 m:2 o:0x0017474c
c:0x0000001c m:0x2427474c n:24500089
            seek 1529150
l:0 g:0 e:1 f:0 m:2 o:0x0017553e
c:0x00000021 m:0x2427553e n:2450008e
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175542
c:0x00000027 m:0x24275542 n:24500094
            seek 1529504
l:0 g:0 e:1 f:0 m:2 o:0x001756a0
c:0x0000002c m:0x242756a0 n:24500099
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x001756a4
c:0x00000032 m:0x242756a4 n:2450009f
            seek 1530510
l:0 g:0 e:1 f:0 m:2 o:0x00175a8e
c:0x00000037 m:0x24275a8e n:245000a4
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175a92
c:0x0000003d m:0x24275a92 n:245000aa
            seek 1530522
l:0 g:0 e:1 f:0 m:2 o:0x00175a9a
c:0x00000042 m:0x24275a9a n:245000af
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175a9e
c:0x00000048 m:0x24275a9e n:245000b5
            seek 1530534
l:0 g:0 e:1 f:0 m:2 o:0x00175aa6
c:0x0000004d m:0x24275aa6 n:245000ba
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175aaa
c:0x00000053 m:0x24275aaa n:245000c0
            seek 1530770
l:0 g:0 e:1 f:0 m:2 o:0x00175b92
c:0x00000058 m:0x24275b92 n:245000c5
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175b96
c:0x0000005e m:0x24275b96 n:245000cb
            jmp 185
l:0 g:0 e:1 f:0 m:2 o:0x00175b96
c:0x000000b9 m:0x24275b96 n:24500126
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500127
            VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: size is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Saving FIRM for reboot...
Updated keyX keyslots
Copied FIRM
            Config file loaded.
Config file loaded.
Loading firmwarre...
FIRM load triggered.
NATIVE_FIRM
  [l__fp]
Ver: 00000021, 1
TWL_FIRM
  [l__fp]
Ver: 00000000, 1
AGB_FIRM
  [l__fp]
Ver: 00000000, 1
Patching firmware...
rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500002
            find 6 ...
l:0 g:0 e:0 f:1 m:3 o:0x0002a3aa
c:0x0000000a m:0x240aa6aa n:2450000a
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0002a3aa
c:0x0000000b m:0x240aa6aa n:2450000b
            fwd 5
l:0 g:0 e:0 f:1 m:3 o:0x0002a3af
c:0x0000000d m:0x240aa6af n:2450000d
            set 1, ...
l:0 g:0 e:0 f:1 m:3 o:0x0002a3b0
c:0x00000010 m:0x240aa6b0 n:24500010
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500011
            rel 1
l:0 g:0 e:0 f:0 m:1 o:0x00000000
c:0x00000002 m:0x24300000 n:24500013
            find 4 ...
l:0 g:0 e:0 f:1 m:1 o:0x000d8b88
c:0x00000008 m:0x243d8b88 n:24500019
            abortnf
l:0 g:0 e:0 f:1 m:1 o:0x000d8b88
c:0x00000009 m:0x243d8b88 n:2450001a
            fwd 2
l:0 g:0 e:0 f:1 m:1 o:0x000d8b8a
c:0x0000000b m:0x243d8b8a n:2450001c
            set 1, ...
l:0 g:0 e:0 f:1 m:1 o:0x000d8b8b
c:0x0000000e m:0x243d8b8b n:2450001f
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500020
            rel 1
l:0 g:0 e:0 f:0 m:1 o:0x00000000
c:0x00000002 m:0x24300000 n:24500022
            find 6 ...
l:0 g:0 e:0 f:1 m:1 o:0x0009df64
c:0x0000000a m:0x2439df64 n:2450002a
            abortnf
l:0 g:0 e:0 f:1 m:1 o:0x0009df64
c:0x0000000b m:0x2439df64 n:2450002b
            set 6, ...
l:0 g:0 e:0 f:1 m:1 o:0x0009df6a
c:0x00000013 m:0x2439df6a n:24500033
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500034
            rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500036
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbc
c:0x00000008 m:0x2409c2bc n:2450003c
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbc
c:0x00000009 m:0x2409c2bc n:2450003d
            back 1
l:0 g:0 e:0 f:1 m:3 o:0x0001bfbb
c:0x0000000b m:0x2409c2bb n:2450003f
            back 255
l:0 g:0 e:0 f:1 m:3 o:0x0001bebc
c:0x0000000d m:0x2409c1bc n:24500041
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7a
c:0x00000013 m:0x2409c27a n:24500047
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7a
c:0x00000014 m:0x2409c27a n:24500048
            set 4, ...
l:0 g:0 e:0 f:1 m:3 o:0x0001bf7e
c:0x0000001a m:0x2409c27e n:2450004e
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:2450004f
            rel 3
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000002 m:0x24080300 n:24500051
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9c
c:0x00000008 m:0x240bae9c n:24500057
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9c
c:0x00000009 m:0x240bae9c n:24500058
            set 2, ...
l:0 g:0 e:0 f:1 m:3 o:0x0003ab9e
c:0x0000000d m:0x240bae9e n:2450005c
            rewind
l:0 g:0 e:0 f:1 m:3 o:0x00000000
c:0x0000000e m:0x24080300 n:2450005d
            find 4 ...
l:0 g:0 e:0 f:1 m:3 o:0x00034331
c:0x00000014 m:0x240b4631 n:24500063
            abortnf
l:0 g:0 e:0 f:1 m:3 o:0x00034331
c:0x00000015 m:0x240b4631 n:24500064
            back 1
l:0 g:0 e:0 f:1 m:3 o:0x00034330
c:0x00000017 m:0x240b4630 n:24500066
            set 4, ...
l:0 g:0 e:0 f:1 m:3 o:0x00034334
c:0x0000001d m:0x240b4634 n:2450006c
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:2450006d
            rel 2
l:0 g:0 e:0 f:0 m:2 o:0x00000000
c:0x00000002 m:0x24100000 n:2450006f
            n3ds
l:0 g:0 e:1 f:0 m:2 o:0x00000000
c:0x00000003 m:0x24100000 n:24500070
            jmeq 6
l:0 g:0 e:1 f:0 m:2 o:0x00000000
c:0x00000006 m:0x24100000 n:24500073
            seek 1465700
l:0 g:0 e:1 f:0 m:2 o:0x00165d64
c:0x0000000b m:0x24265d64 n:24500078
            set 6, ...
l:0 g:0 e:1 f:0 m:2 o:0x00165d6a
c:0x00000013 m:0x24265d6a n:24500080
            seek 1525578
l:0 g:0 e:1 f:0 m:2 o:0x0017474a
c:0x00000018 m:0x2427474a n:24500085
            set 2, ...
l:0 g:0 e:1 f:0 m:2 o:0x0017474c
c:0x0000001c m:0x2427474c n:24500089
            seek 1529150
l:0 g:0 e:1 f:0 m:2 o:0x0017553e
c:0x00000021 m:0x2427553e n:2450008e
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175542
c:0x00000027 m:0x24275542 n:24500094
            seek 1529504
l:0 g:0 e:1 f:0 m:2 o:0x001756a0
c:0x0000002c m:0x242756a0 n:24500099
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x001756a4
c:0x00000032 m:0x242756a4 n:2450009f
            seek 1530510
l:0 g:0 e:1 f:0 m:2 o:0x00175a8e
c:0x00000037 m:0x24275a8e n:245000a4
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175a92
c:0x0000003d m:0x24275a92 n:245000aa
            seek 1530522
l:0 g:0 e:1 f:0 m:2 o:0x00175a9a
c:0x00000042 m:0x24275a9a n:245000af
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175a9e
c:0x00000048 m:0x24275a9e n:245000b5
            seek 1530534
l:0 g:0 e:1 f:0 m:2 o:0x00175aa6
c:0x0000004d m:0x24275aa6 n:245000ba
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175aaa
c:0x00000053 m:0x24275aaa n:245000c0
            seek 1530770
l:0 g:0 e:1 f:0 m:2 o:0x00175b92
c:0x00000058 m:0x24275b92 n:245000c5
            set 4, ...
l:0 g:0 e:1 f:0 m:2 o:0x00175b96
c:0x0000005e m:0x24275b96 n:245000cb
            jmp 185
l:0 g:0 e:1 f:0 m:2 o:0x00175b96
c:0x000000b9 m:0x24275b96 n:24500126
            next
l:0 g:0 e:0 f:0 m:3 o:0x00000000
c:0x00000000 m:0x24080300 n:24500127
            VM exited without issue
reboot: proc9 mem @ 08028000
            reboot: firmlaunch @ 240dcde0
reboot: fopen @ 08059d21
            reboot: NATF @ 240dcf0c
reboot: TWLF @ 240dcf10
reboot: AGBF @ 240dcf14
reboot: rebc @ 240dcef8
            emunand: free space @ 2407dbc0
emunand: size is 83392 bytes
emunand: read in emunand code
emunand: found NCSD magic for 0
emunand: layout is normal
emunand: nand is on sector 1
emunand: head is on sector 1
emunand: write @ 240cff2c
emunand: read @ 240cfeec
emunand: patched read/write calls
emunand: SDMMC code @ 080f0af0
emunand: mpu @ 2407e9d4
emunand: patched MPU settings
            svc: 0x7B (backdoor) missing.
Svc: backdoor is 40 bytes
Svc: Read code to 24064268
svc: Injected 0x7B.
            module: Grow 2 units
Module: Injecting 610271512
Module: injected modules.
            Updated keyX keyslots
Copied FIRM

Code:
hle@x60 ~/Downloads $ cat loader.log
Title: 0004013000008002
  validated params
  patched cpu
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
Created process
Title: 0004003000008202
  validated params
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
Created process
Title: 0004013000002802
  validated params
Created process
Title: 0004013000008002
  validated params
  patched cpu
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
Created process
Title: 0004003000008202
  validated params
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
Created process
Title: 0004013000002802
  validated params
Created process
Title: 0004001000020000
  validated params
Created process
Title: 000400300000C002
  validated params
Created process
Title: 0004013000008002
  validated params
  patched cpu
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
Created process
Title: 0004003000008202
  validated params
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
Created process
Title: 0004013000002802
  validated params
Created process
Title: 0004013000008002
  validated params
  patched cpu
  patch: /corbenik/cache/loader/0004013000008002
  exec
rel
find
abortnf
set
find
abortnf
set
next
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
  patch: /corbenik/cache/loader/0004003000008A02
  exec
rel
find
abortnf
set
find
abortnf
set
find
abortnf
set
find
abortnf
set
next
Created process
Title: 0004003000008202
  validated params
  patch: /corbenik/cache/loader/0004003000008202
  exec
rel
find
abortnf
back
set
next
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
  patch: /corbenik/cache/loader/0004013000002C02
  exec
rel
find
abortnf
set
next
rel
find
abortnf
set
next
Created process
Title: 0004013000002802
  validated params
Created process
Title: 000400000D921E00
  validated params
Created process
Title: 0004001000020100
  validated params
Created process
Title: 0004001000020100
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004003000008202
  validated params
  patch: /corbenik/cache/loader/0004003000008202
  exec
rel
find
abortnf
back
set
next
Created process
Title: 0004013000008002
  validated params
  patched cpu
  patch: /corbenik/cache/loader/0004013000008002
  exec
rel
find
abortnf
set
find
abortnf
set
next
Created process
Title: 0004013000002202
  validated params
Created process
Title: 0004013000001702
  validated params
Created process
Title: 0004013000001B02
  validated params
Created process
Title: 0004013000001E02
  validated params
Created process
Title: 0004013000001F02
  validated params
Created process
Title: 0004013000002102
  validated params
Created process
Title: 0004013000002302
  validated params
Created process
Title: 0004013000003102
  validated params
Created process
Title: 0004003000008A02
  validated params
  patch: /corbenik/cache/loader/0004003000008A02
  exec
rel
find
abortnf
set
find
abortnf
set
find
abortnf
set
find
abortnf
set
next
Created process
Title: 0004003000008202
  validated params
  patch: /corbenik/cache/loader/0004003000008202
  exec
rel
find
abortnf
back
set
next
Created process
Title: 0004013000001D02
  validated params
Created process
Title: 0004013000001802
  validated params
Created process
Title: 0004013000001A02
  validated params
Created process
Title: 0004013000001502
  validated params
Created process
Title: 0004013000001C02
  validated params
Created process
Title: 0004013000004202
  validated params
Created process
Title: 0004013000001602
  validated params
Created process
Title: 0004013000002702
  validated params
Created process
Title: 0004013000002002
  validated params
Created process
Title: 0004013000003302
  validated params
Created process
Title: 0004013000002D02
  validated params
Created process
Title: 0004013000002E02
  validated params
Created process
Title: 0004013000002902
  validated params
Created process
Title: 0004013000002F02
  validated params
Created process
Title: 0004013000002602
  validated params
Created process
Title: 0004013000003202
  validated params
Created process
Title: 0004013000002402
  validated params
Created process
Title: 0004013000003402
  validated params
Created process
Title: 0004013000003802
  validated params
Created process
Title: 0004013000003502
  validated params
Created process
Title: 0004013000002B02
  validated params
Created process
Title: 0004013000002C02
  validated params
  patch: /corbenik/cache/loader/0004013000002C02
  exec
rel
find
abortnf
set
next
rel
find
abortnf
set
next
Created process
Title: 0004013000002802
  validated params
Created process
Title: 000400000D921E00
  validated params
Created process
Title: 0004001000020100
  validated params
Created process
Title: 0004001000020100
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process
Title: 0004013000002A02
  validated params
Created process

There's a reason I don't recommend the updater, but to answer your question - the updater nukes the cache. From your logs, you booted once without a recache and then with. The first time you booted, zero patches got applied (because the cache was missing.)

After an update with that tool, always go into the menu and hit 'Save Configuration' prior to boot.

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

Because it's awesome? ;)
,,,
Wow, bdfe really didn't want to work on my Raspberry Pi2. Strange :huh:



CtrBootManager allows you to select the colour of the font and the highlight for selected items. I dunno if you want to go that far just for eye candy though :)

Is your Rpi2 running Raspbian, gentoo, etc? Let me see if I can get that fixed. Logs? I have a couple of Pi1 and Pi2s and my phone has a compiler on it (as well as a whole gentoo userland on /)



...I may want to go that far. It'd be two menu entries away. Very little code is needed for that. ;p
 
  • Like
Reactions: Temptress Cerise

V1Cammy

Member
Newcomer
Joined
Jun 24, 2016
Messages
21
Trophies
0
Age
41
XP
59
Country
Canada
You need python2. It doesn't rely on anything non-standard, but you probably need >=2.7. Some stuff I use is 3.x compatibity and doesn't exist if python is <2.7 Also, I have no clue if it will build on Windows (I suspect not, since I've done all testing on Linux)

If your python2 is named python, just change the shebang in host/bytecode_asm.py.

The Makefile also automatically adds $DEVKITARM to the PATH.

Other than devkitARM, ctrulib (for loader), and python2, nothing else is required as far as I know.

Thanks for the Share ill definitely chuck this in ida once its compiled
but to longtime members on gbatemp im not telling you dont use GateWay(those of who you do)
Im only saying if you tend to go for a market solution try to do some research
on what is being done.thats all.
then develop a opinion for yourself.
if anyone knows assembly in general its clear as day I encourage those to speak on it.
Just Dont Be So Hasty to throw $200 away for a solution that by user reputation is marked as 'shady'
 

Kirtai

Well-Known Member
Member
Joined
May 6, 2016
Messages
237
Trophies
0
XP
245
Country
United Kingdom
Is your Rpi2 running Raspbian, gentoo, etc? Let me see if I can get that fixed. Logs? I have a couple of Pi1 and Pi2s and my phone has a compiler on it (as well as a whole gentoo userland on /)
Raspbian Jessie, fully updated
Compile output
pi@raspberrypi:~/build/3ds/corbenik $ make
make -C host/bdfe dir_out=out fw_folder=corbenik
make[1]: Entering directory '/home/pi/build/3ds/corbenik/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX bdf.c -o bdf.o
g++ -Wall -Werror -g -o bdfe main.o bdf.o
make[1]: Leaving directory '/home/pi/build/3ds/corbenik/host/bdfe'
./host/conv-font-bin.sh
./host/conv-font-bin.sh: line 9: 23748 Segmentation fault ./host/bdfe/bdfe -n -L -v -A external/tewi-font/tewi-medium-11.bdf > host/font.h
Makefile:62: recipe for target 'font' failed
make: *** [font] Error 139

GDB output
pi@raspberrypi:~/build/3ds/corbenik $ gdb --args ./host/bdfe/bdfe -n -L -v -A external/tewi-font/tewi-medium-11.bdf

(loads of font graphics spam ending with)

/* STARTCHAR moon 7 */
/* ENCODING 57543 */
/* BBX 6 6 0 1 */
/* 57543 ' ' |012345| */
0x00, /* 0| | */
0x00, /* 1| | */
0x00, /* 2| | */
0x30, /* 3| ## | */
0x58, /* 4| # ## | */
0x8C, /* 5|# ##| */
0x8C, /* 6|# ##| */
0x58, /* 7| # ## | */
0x30, /* 8| ## | */
0x00, /* 9| | */
0x00, /* 10| | */
0x00, /* 11| | */
0x00, /* 12| | */

/* STARTCHAR LATIN SMALL LIGATURE FI */
/* ENCODING 64257 */
/* BBX 5 7 0 0 */

Program received signal SIGSEGV, Segmentation fault.
0x76d04008 in isprint (c=<optimized out>) at ctype.c:32
32 ctype.c: No such file or directory.
(gdb) bt
#0 0x76d04008 in isprint (c=<optimized out>) at ctype.c:32
#1 0x00011ff8 in bdf_convert (name=0x7efff7cc "external/tewi-font/tewi-medium-11.bdf", gmin=0, gmax=4294967295,
ascender=0, flags=25) at bdf.c:274
#2 0x00010f00 in main (argc=6, argv=0x7efff664) at main.c:130

I got it to build fine on a Lubuntu VirtualBox image though. (64bit on intel cpu)
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,039
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
5,990
Country
Portugal

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
Raspbian Jessie, fully updated
Compile output
pi@raspberrypi:~/build/3ds/corbenik $ make
make -C host/bdfe dir_out=out fw_folder=corbenik
make[1]: Entering directory '/home/pi/build/3ds/corbenik/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX bdf.c -o bdf.o
g++ -Wall -Werror -g -o bdfe main.o bdf.o
make[1]: Leaving directory '/home/pi/build/3ds/corbenik/host/bdfe'
./host/conv-font-bin.sh
./host/conv-font-bin.sh: line 9: 23748 Segmentation fault ./host/bdfe/bdfe -n -L -v -A external/tewi-font/tewi-medium-11.bdf > host/font.h
Makefile:62: recipe for target 'font' failed
make: *** [font] Error 139

GDB output
pi@raspberrypi:~/build/3ds/corbenik $ gdb --args ./host/bdfe/bdfe -n -L -v -A external/tewi-font/tewi-medium-11.bdf

(loads of font graphics spam ending with)

/* STARTCHAR moon 7 */
/* ENCODING 57543 */
/* BBX 6 6 0 1 */
/* 57543 ' ' |012345| */
0x00, /* 0| | */
0x00, /* 1| | */
0x00, /* 2| | */
0x30, /* 3| ## | */
0x58, /* 4| # ## | */
0x8C, /* 5|# ##| */
0x8C, /* 6|# ##| */
0x58, /* 7| # ## | */
0x30, /* 8| ## | */
0x00, /* 9| | */
0x00, /* 10| | */
0x00, /* 11| | */
0x00, /* 12| | */

/* STARTCHAR LATIN SMALL LIGATURE FI */
/* ENCODING 64257 */
/* BBX 5 7 0 0 */

Program received signal SIGSEGV, Segmentation fault.
0x76d04008 in isprint (c=<optimized out>) at ctype.c:32
32 ctype.c: No such file or directory.
(gdb) bt
#0 0x76d04008 in isprint (c=<optimized out>) at ctype.c:32
#1 0x00011ff8 in bdf_convert (name=0x7efff7cc "external/tewi-font/tewi-medium-11.bdf", gmin=0, gmax=4294967295,
ascender=0, flags=25) at bdf.c:274
#2 0x00010f00 in main (argc=6, argv=0x7efff664) at main.c:130

I got it to build fine on a Lubuntu VirtualBox image though. (64bit on intel cpu)

glibc version, please. There's a known issue resembling this in certain glibc versions.
 

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
279
Country
United States
There's a reason I don't recommend the updater, but to answer your question - the updater nukes the cache. From your logs, you booted once without a recache and then with. The first time you booted, zero patches got applied (because the cache was missing.)

After an update with that tool, always go into the menu and hit 'Save Configuration' prior to boot.

Im not using the updater tool. I'm building from github, so cache was always getting nuked when I replace the whole corbenik folder. I guess I can back up that folder and restore when migrating a new build. I had 30+ packages installed because I was went ham when testing freeShop.
 

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
Im not using the updater tool. I'm building from github, so cache was always getting nuked when I replace the whole corbenik folder. I guess I can back up that folder and restore when migrating a new build. I had 30+ packages installed because I was went ham when testing freeShop.

You have to delete cache AND config or make sure to hit 'Save Configuration' after deleting the cache. And if you delete the entire folder, of course you lose the settings.

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

It's 2.19.
ldd --version gives
ldd (Debian GLIBC 2.19-18+deb8u4) 2.19

What's your system locale? More specifically, `echo $LANG`
 
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
It's en_GB.UTF-8

I think there's a few issues here leading to this:

1) Glibc has a bug in older versions where isprint is undefined if the number is >255. This is because it's technically undefined behavior, and it uses a 256-character lookup table rather than comparisons.
2) We're passing a unicode character/wide character so the original code of bdfe doesn't make sense - probably should be iswprint(idx).

I'll see what I can do on this - I think I know what's causing it, at least.
 
Last edited by chaoskagami,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Crowbar?