Hacking Question Atmosphere "LayeredFS"

Don Jon

Well-Known Member
Member
Joined
Nov 20, 2015
Messages
1,057
Trophies
0
Age
38
XP
1,496
Country
United States
Someone with a 4.1.0 Switch, who wants to play guinea pig ? ^^
I did port the kernel patch from 5.1.0 to 4.1.0 and made my own patcher.

Only things you need is BCPKG2-1-Normal-Main.bin, BOOT0.bin, TSEC & SBK Key from a nand dump.

Written in pure C#, no hactool.exe needed, comes with source code.
https://www.dropbox.com/s/c7lm9ad1y8na3gt/SwitchToolbox v1.0.0.0.7z?dl=0
- copy BCPKG2-1-Normal-Main.bin & BOOT0.bin into "Data" dir
- run KeyDumper.exe
- enter SBK, TSEC and optional SD SEED (you can also edit the Settings.ini)
- the program should generate a keys.txt and decrypt all needed files
- now run KernelPatcher.exe, it will use the decrypted Kernel.bin and generate a kernel-patched.bin

- KeyDumper.exe supports FW 1.0.0-5.1.0
- KernelPatcher.exe currently only supports FW 4.1.0 & FW 5.1.0
- i plan to add more tools to my SwitchToolbox, like sd card decrypter, maybe i should make my own topic for this ?


im on 4.0.1 so am guessing it will not work?

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

I just did it but it's telling me



is it normal? as kernel-patched.bin is generated.
probably
just swap that new keybin with the stuff at GAME CHAT NETWORK DISCORD and test...
 
  • Like
Reactions: thaikhoa

Dvdxploitr

Well-Known Member
Member
Joined
May 24, 2008
Messages
705
Trophies
1
XP
1,295
Country
United States
there is no reason to stay on lower firmware...maybe these things are supporting highest firmware for a reason? yes, you have a CHANCE at a coldboot before people on higher firmwares, but that's it....latest firmware can play all games, access eShop, play games online....UPDATE! Nintendo CANNOT patch RCM on current hardware....all you're doing is holding yourself back by not updating...what are you going to do when a game comes out that you REALLY want to play?
 
  • Like
Reactions: 0000ff and Ty_

Don Jon

Well-Known Member
Member
Joined
Nov 20, 2015
Messages
1,057
Trophies
0
Age
38
XP
1,496
Country
United States
if there is a nintendo update, is it possible to update to 5.1 later on
liike is there an archive or something?
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
I just did it but it's telling me
is it normal? as kernel-patched.bin is generated.
Normal, i forget to change the string after i added support... ^^

Code:
                case "E6C0B7E32FF94451ECD59579E346B1DA2ED928C6F2314F95D8C7D5BD15D5E25A":
                    Console.WriteLine("Kernel FW 4.1.0 detected!, currently not supported...");

So it doesn't work ?
Maybe the kernel patch is not enough, the actual code for layeredfs is in fs_mitm.kip.
 

MonMonz

Well-Known Member
OP
Member
Joined
Nov 7, 2014
Messages
485
Trophies
0
XP
1,680
Country
Egypt
I can port the kernel patch to all fw, but i first need to know that it works on 4.0.0-4.1.0 before i do that. (It's a lot of reversing work)
Cool..guys lets lend our guy here a little help
Anyone with 4.x can test for him?
Am unfortunately have 2.1 only :(
 

NemRe

Member
Newcomer
Joined
Feb 25, 2017
Messages
23
Trophies
0
XP
573
Country
United States
On 4.1.0 here.
It boots into HorizonOS, but when I tried to launch demos with titles injected it became stuck at the loading screen.
Same (4.1.0)+kernel-patched.bin... I try Pokken Tournament Demo (Donor Title) and Kirby, doesn't pass the logo screen.
 
Last edited by NemRe,

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
On 4.1.0 here.
It boots into HorizonOS, but when I tried to launch demos with titles injected it became stuck at the loading screen.
A freeze like that is almost normal with the current layeredfs, try to reboot after testing 1 title.
For example, i injected Mario+Rabbits into Fortnite and it works perfectly, but only if this is the first title that is booted, if i start homebrew or any other title first, i just get a blackscreen.

BTW:
- does booting HorizonOS work when you remove the kernel-patched.bin (with enabled fs_mitm.kip) ?
- are unmodified games working ?

I just need to know if my kernel-patched.bin is working, no matter if backups are working or not.
 
  • Like
Reactions: NemRe and MonMonz

anonymoose

Well-Known Member
Member
Joined
Nov 15, 2015
Messages
179
Trophies
0
XP
231
Country
Germany
A freeze like that is almost normal with the current layeredfs, try to reboot after testing 1 title.
For example, i injected Mario+Rabbits into Fortnite and it works perfectly, but only if this is the first title that is booted, if i start homebrew or any other title first, i just get a blackscreen.
So I tried Mario+Rabbits into Rayman Legends Demo, Owlboy into Octopath Traveler Demo and 1-2-Switch into Voez Demo (just crashed) and all were stuck at the boot screen.

BTW:
- does booting HorizonOS work when you remove the kernel-patched.bin (with enabled fs_mitm.kip) ?
Yes, it booted without the patched kernel.bin. Most things were the same as booting with the kernel.bin (being stuck at the loading screen mostly), except that Fast RMX directly showed a black screen.

- are unmodified games working ?
Launching unmodified Skyrim (Cartridge) I was stuck at the boot screen again and Fast RMX seemingly skipped the boot screen and resulted in a black screen (It also gave an error when I closed it), EtG and other eShop games showed the same behaviour as Fast RMX (but without the error).

EDIT: BTW don't know if it matters, but when I was testing I was loading the other files (fs_mitm.kip, loader.kip, sm.kip) from the LayeredFS pack, with only the kernel.bin changed.
 
Last edited by anonymoose,
  • Like
Reactions: Don Jon and NemRe

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,236
Trophies
1
XP
2,590
Country
Australia
Please try again:
https://www.dropbox.com/s/dxa4tnzv8uvt9ur/SwitchToolbox v1.0.0.1.7z?dl=0

changed both patches,
send had a mistake, "LDR X10, [X28,X10]", X28 is correct
and recv is now more like the 5.1.0 patch, using X13 like that was wrong, it now uses the correct value from LDR X13, [SP,#0x70] and X10 is now the temp variable.
[4.1]
The patch process is good.
Legit game loads good
Layeredfs game won't load (stuck on black loading screen)
Hbm loads but frozen
 
  • Like
Reactions: NemRe

NemRe

Member
Newcomer
Joined
Feb 25, 2017
Messages
23
Trophies
0
XP
573
Country
United States
With the new version the games unmodified it seems now work; all the demos and games that I have tried have loaded correctly!

Games modified (LayeredFS) still not work (e.g. 1#Sonic Forces into Pac-Man Vs = Show Error 2001-0123 ; 2# Kirby Star Allies into Pokken Tournament Demo = Logo screen crash)
 
Last edited by NemRe,
  • Like
Reactions: thaikhoa

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • ZeroT21 @ ZeroT21:
    almost everything gets shuved as some taskbar process
  • BigOnYa @ BigOnYa:
    What is HD2?
  • ZeroT21 @ ZeroT21:
    Helldivers 2
    +1
  • ZeroT21 @ ZeroT21:
    the game has as much bugs ingame as well as in RL
  • K3Nv2 @ K3Nv2:
    That games so mixed I hear people praise or say they love it
  • ZeroT21 @ ZeroT21:
    it's both, they love it and hate it just as much
  • K3Nv2 @ K3Nv2:
    Like we get mixed reviews but that games globally mixed like mj
  • ZeroT21 @ ZeroT21:
    love the gameplay, hate the buggy mess it's also in, much drama and controversy also related due to sony being sony
  • ZeroT21 @ ZeroT21:
    the mixed reviews is due to review bombing, because a chunk of regions are excluded/banned from buying it now
  • ZeroT21 @ ZeroT21:
    so the players are review bombing as response to sony doubling down on their so-called policy
  • BakerMan @ BakerMan:
    maybe the real bugs were the glitches they didn't patch along the way
  • ZeroT21 @ ZeroT21:
    there are instability issues regarding certain hardware setups, but it's a small part
  • ZeroT21 @ ZeroT21:
    game's now what, 3 months out the door
  • ZeroT21 @ ZeroT21:
    live service game for 40 bucks that sold 12 mil copies
  • K3Nv2 @ K3Nv2:
    Ever notice how games that sell millions get hated the worst
  • K3Nv2 @ K3Nv2:
    Cod and sports games are good examples but people still buy the shit
  • ZeroT21 @ ZeroT21:
    it happens quit often if not all the time
  • ZeroT21 @ ZeroT21:
    diablo 4 anyone?
  • K3Nv2 @ K3Nv2:
    Everyone just doesn't want to be an outcast and say they're decent games why do they make billions if it's so shit
  • ZeroT21 @ ZeroT21:
    just buy nintendo stuff and their games if you just want fun
  • K3Nv2 @ K3Nv2:
    I still can't name 12 fun current Nintendo games
  • ZeroT21 @ ZeroT21:
    i say get a pc and emulate that too

    :rofl2:
  • K3Nv2 @ K3Nv2:
    Or in today's age at least a SteamDeck
  • ZeroT21 @ ZeroT21:
    i gotta say, the steam deck isn't a bad deal, even if you get a used one, you have options to get it serviced and the parts are also available through ifixit
    ZeroT21 @ ZeroT21: i gotta say, the steam deck isn't a bad deal, even if you get a used one, you have options to...