Hacking RELEASE Kosmos - A Hekate CFW-package

tomGER

Well-Known Member
OP
Member
Joined
Feb 6, 2017
Messages
347
Trophies
0
XP
1,222
Country
Germany
there

There is a way though.

A repo with all sources. And a makefile that traverses the projects, compiles them and copies the binaries to root dir.
And there you add the commit that removes exo api check (and a new branch on hbmenu that has the master commits and merges the touch PR):
Code:
    rc = splInitialize();
    if (R_FAILED(rc))  {
        fatalSimple(0xCAFE << 4 | 3);
    }
  
    /* Check for exosphere API compatibility. */
    u64 exosphere_cfg;
    if (R_FAILED(splGetConfig((SplConfigItem)65000, &exosphere_cfg))) {
        fatalSimple(0xCAFE << 4 | 0xFF);
        /* TODO: Does Loader need to know about target firmware/master key revision? If so, extract from exosphere_cfg. */
    }

We're looking into that - I like the idea though :D Completely forgot about the github submodul feature
 

CTCaer

Developer
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,009
Country
Greece
Thanks for the fix @CTCaer, it would have been easier to track down with a debugger :P. Speaking of which, is it already possible to attach a debugger?
atmo has a debugger if I remember.
You can also attach nxdbg.

And actually, because you load the loader and the service manager, you can change the source and add your own debugging mechanism.
(For sure the Atmo release, will have nice debugging.)
 

Gillou68310

Member
Newcomer
Joined
Jun 6, 2018
Messages
5
Trophies
0
Age
38
XP
94
Country
France
And actually, because you load the loader and the service manager, you can change the source and add your own debugging mechanism.
Is usb or sdcard already accessible while loading the loader? I guess they are only accessible after the corresponding services are loaded, right?
You can also attach nxdbg.
nxdbg looks interesting I will definitely take a look at it thanks!
 

KishinMukito

New Member
Newbie
Joined
Jun 7, 2018
Messages
4
Trophies
0
Age
29
XP
92
Country
United States
Sorry I'm a bit new here and new to Switch hacking :yayswitch::switch:

Someone mind explaining to me (preferably step by step) on what I download and copy and what else to do after copying files to the Switch to initiate the homebrew?
 

chrishinji

Member
Newcomer
Joined
May 29, 2009
Messages
6
Trophies
0
XP
110
Country
Canada
I have followed the instructions from a fresh SD, and I got the error "No launch configurations found". I am using hekate_ctcaer_2.3.bin for loader from Web Fusee Launcher (Chrome / Debian) with the content of SDFilesV2.zip extracted at the root. Do you have an idea about what it means ? My switch is on firmware 5.1.0 :) Thank you guys !
Edit : Oh well ... it seems to be that my new SD card has an issue as I can't read it anymore from my OS. I switched to a new one and everything is working perfectly. Sorry guys !
 
Last edited by chrishinji,

CTCaer

Developer
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,009
Country
Greece
@tomGER
Hey, did you test sdfilesv2.zip btw?

The ini parsing system supports max 16 entries ( [Entry] ). https://github.com/nwert/hekate/blob/master/ipl/main.c#L1227
And one is taken by Back option and another one for end. So, actually 14.
(Additionally, max file size is 512bytes. You are ok on this).

If it's popular though, I can add caption/spacer support.

Imo, sth like this, is nice for me:
------- CFW -------
Atmosphere HB
Atmosphere FULL

------ Tools ------
Clear Error Reports
Gag-Order


-- Debugging --
AtmosphereDebug

EDIT:
Just to clarify, I'm not asking if it works. I'm asking if it always works.
But anyway, this should be fixed because it writes on several hundreds bytes more, outside of the ment_t memory allocation.
Also, I'll add a check in next version.
 
Last edited by CTCaer,

tomGER

Well-Known Member
OP
Member
Joined
Feb 6, 2017
Messages
347
Trophies
0
XP
1,222
Country
Germany
@tomGER
Hey, did you test sdfilesv2.zip btw?

The ini parsing system supports max 16 entries ( [Entry] ). https://github.com/nwert/hekate/blob/master/ipl/main.c#L1227
And one is taken by Back option and another one for end. So, actually 14.
(Additionally, max file size is 512bytes. You are ok on this).

If it's popular though, I can add caption/spacer support.

.

I haven't entcountered any issues and didn't hear of any yet but thanks for informing me! I uploaded a hotfix to v2.0 that should have fixed that.

Thanks for your help with this project! :D

Also yeah, caption and spacer support would be amazing since changing the hekate_ipl is the easiest way to show credits and stuff to the user without recompiling the hbm or something like that - Thank you so much!
 
  • Like
Reactions: SleepyPrince

CTCaer

Developer
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,009
Country
Greece
I haven't entcountered any issues and didn't hear of any yet but thanks for informing me! I uploaded a hotfix to v2.0 that should have fixed that.

Thanks for your help with this project! :D

Also yeah, caption and spacer support would be amazing since changing the hekate_ipl is the easiest way to show credits and stuff to the user without recompiling the hbm or something like that - Thank you so much!
Already added internally.

Now for captions you use {text} and to change to a new line you use [!] (but I may end up not using it, because you can do this with {}. Still it helps with memory.)

I also plan to increase the maximum menu entries allowed. The finished commit will have the final syntax.
 
Last edited by CTCaer,
  • Like
Reactions: tomGER

cpasjuste

Well-Known Member
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,483
Country
France
Did someone test the latest sd files on 3.0.0? Can't get hbmenu to load from ablum, i just get a crash everytime i try :x
 

tomGER

Well-Known Member
OP
Member
Joined
Feb 6, 2017
Messages
347
Trophies
0
XP
1,222
Country
Germany
Yep :/ Tried the hbmneu nro from the browser exploit and it works fine, so it doesn't seems to be the problem.

I couldn't reproduce nor did I hear of anyone with that issue yet ... weird - For now just use the old hbm nro, I'll get back to you once I find anyone able to reproduce your error ._.
 
Last edited by tomGER,

minakmostoles

Member
Newcomer
Joined
Jan 17, 2018
Messages
8
Trophies
0
Age
36
XP
61
Country
Spain
Did someone test the latest sd files on 3.0.0? Can't get hbmenu to load from ablum, i just get a crash everytime i try :x
Yes I use this files in my 3.0 and they working fine, the 3.0 only have a bug in the sleep mode but i think your problem is another. Format the sd and start again.
 
  • Like
Reactions: tomGER

cpasjuste

Well-Known Member
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,483
Country
France
I couldn't reproduce nor did I heard of anyone with that issue yet ... weird - For now just use the old hbm nro, I'll get back to you once I find anyone able to reproduce your error ._.
I don't have my usb > sdcard adaptor here, so it may be ftpd (but used it a lot to transfer my dev stuff without problems).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: 😭