Hacking [RCM Payload] Hekate - CTCaer mod

  • Thread starter CTCaer
  • Start date
  • Views 1,081,969
  • Replies 3,248
  • Likes 128

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,009
Country
Greece
If I may ask a question, what is the reason for sleep mode support for 3.X not being implemented yet? I'm curious if there is any way for the rest of us to help you, if possible.
nx bootloader does some things differently. I have to research it now that I finished with v3.0.

A chainloading capability?

One small binary with the very basic stuff like hw init, FatFS + some chainloading logic. This one gets injected by a fusee loader.

An other binary blob with all the hekate-ipl features that you offload onto your sd card and which gets auto loaded by the first binary if it is detected on your sd card.

So if we have a DIY fusee loader device (a Trinket M0 for example) we only have to flash it once. If you want to update hekate, then all you have to do is to replace the bin located on your sd card.
This would be an awesome solution for internal modchips.

This would also make an other cool feature possible. If there is no sd card inserted or there is no hekate/cfw stuff on it, the console resets and boots the ofw. This would prevent you from ever booting into horizon with a inserted sd card with homebrew stuff on it.

Does this make any sense? Is it doable?
Could be done. But you can still use the trinket and make it load a different payload.
Anyway, someone done this request in the repo site. So I have it in mind.
@CTCaer is there a way to still use our switchblade custom splashes, or do we have to remake/convert them?
You have to convert them.
https://github.com/CTCaer/hekate/blob/master/README_BOOTLOGO.md

BMP RGBA (32bit) is the way to go.
 

Krude

Well-Known Member
Member
Joined
May 18, 2013
Messages
344
Trophies
0
XP
1,208
Country
Gambia, The
Just took a huge NAND dump.

Still took ~75 minutes (i appreciate that it automatically converts into min+sec now), but it's worth it if that means it's definitely verifying OK. No verification errors this time (i used a different SD card this time).
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,032
Trophies
2
Age
29
Location
New York City
XP
13,446
Country
United States
Also, if we can provide nice suggestions, I'd like to throw my hat in the ring for EmuNAND. Hard to tell what the status of EmuNAND is on naehrwert's end but I bet me and a lot of other people would love to play around with an EmuNAND partition.
 

tecfreak

Well-Known Member
Member
Joined
Apr 24, 2018
Messages
186
Trophies
0
Location
Berlin
XP
439
Country
Germany
But you can still use the trinket and make it load a different payload.
Sure, but you always would have to reflash the trinket and this becomes even more inconvenient if the trinket is built into your console.

I imagine a built in trinket that on every coldboot triggers the rcm mode, executes fusee gelee and injects a basic, hekate based bootloader that looks for a inserted sd card and a binary (the full featured hekate-ipl) on it that can be loaded. If no binary has been detected, the basic bootloader resets the console which then boots into Horizon.

So you have a pretty save solution loading your homebrew stuff without the risk of accidently booting Horizon with a inserted hacky sd card.

For me and probably many others it would be the perfect solution.
 

tecfreak

Well-Known Member
Member
Joined
Apr 24, 2018
Messages
186
Trophies
0
Location
Berlin
XP
439
Country
Germany
@Polymore
This is not possible with just the original FW because of the mismatch of burnt efuses. The older 4.1 simply wouldn't boot.
May be possible with Atmosphere which could disable/bypass the efuse check.
 

Drakia

Well-Known Member
Member
Joined
Mar 15, 2008
Messages
1,644
Trophies
2
Age
36
XP
2,596
Country
Canada
@CTCaer Just a heads up, the 4.1.0 kernel patch from Atmosphere doesn't actually seem to work. I've got a commit to my fork here that resolves the issue: https://github.com/TheDgtl/hekate/commit/5cf182148f37ca26822a1aaa0936b12ff74185fe

Looks like whoever copied it during the initial port from Falo's SwitchToolbox over to Atmos ended up copying some things wrong in this commit: https://github.com/Atmosphere-NX/At...419fc7c#diff-5041d7257c8ff4a26cee363fb725b6aa

I'll be opening a PR to Atmos, and can open one for Hekate if you haven't fixed it by the time I get around to it.

Information on the patch I used in my current test build:
Source for the patch: https://gbatemp.net/threads/atmosphere-layeredfs.507653/page-4#post-8060787
Gist of the original patch source: https://gist.github.com/TheDgtl/2e6601e0cc617ecfa7402c1b8a9e0d6e
 
  • Like
Reactions: JJTapia19

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Odd, I'm on 4.1 and can't seem to get Exosphere or any recent kips running. I can get it to work with a pre-patched (out of date patch) kernel and some older kips. I'm building Atmosphere from master, is there a particular commit or branch I should be building from?

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

@CTCaer Just a heads up, the 4.1.0 kernel patch from Atmosphere doesn't actually seem to work. I've got a commit to my fork here that resolves the issue: https://github.com/TheDgtl/hekate/commit/5cf182148f37ca26822a1aaa0936b12ff74185fe

Looks like whoever copied it during the initial port from Falo's SwitchToolbox over to Atmos ended up copying some things wrong in this commit: https://github.com/Atmosphere-NX/At...419fc7c#diff-5041d7257c8ff4a26cee363fb725b6aa

I'll be opening a PR to Atmos, and can open one for Hekate if you haven't fixed it by the time I get around to it.

Information on the patch I used in my current test build:
Source for the patch: https://gbatemp.net/threads/atmosphere-layeredfs.507653/page-4#post-8060787
Gist of the original patch source: https://gist.github.com/TheDgtl/2e6601e0cc617ecfa7402c1b8a9e0d6e
LOL, that answers it.
 
  • Like
Reactions: Drakia

tecfreak

Well-Known Member
Member
Joined
Apr 24, 2018
Messages
186
Trophies
0
Location
Berlin
XP
439
Country
Germany
I thought it was possible to run older backups using CFW as in temporarily booting it not permanently booting
Like I said, with Atmosphere, which isn't ready yet, it would be possible. But it would't be a temoprary solution if you write this backup into your eMMC and you would never again be able to boot the OFW without cfw patches.
 
D

Deleted_444986

Guest
@CTCaer if you want i can provide daily compiled binary of atmosphere based on last commits.
if you are ok please dm me
thanks for this 3.0
 
  • Like
Reactions: Azel

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    True, but on 2 monitors at 4k. Its just want you want really, to each they own.
  • K3Nv2 @ K3Nv2:
    For a kids aspect Anbernic would be the better option they'd probably melt over the price on a good 4k display
    +1
  • BigOnYa @ BigOnYa:
    For that texasroo guy, I'd recommend the Spell and speak as his first system.
    +1
  • K3Nv2 @ K3Nv2:
    So they buy a pi5 kit for about $150 and say a 28" 4k display probably looking around $400 total
  • K3Nv2 @ K3Nv2:
    They'll be getting in the territory of portable Pcs anyway
    +1
  • BigOnYa @ BigOnYa:
    Again you get what you pay for, its like buying a S series for $300 but its only 1440p native, if you want true 4k, gotta get the X model for $500. But yea you right, when moms buying it anyways, you gotta stay cheap.
  • K3Nv2 @ K3Nv2:
    They could use HD out on their TV no real need for a monitor these days tbh the purists will disagree
  • K3Nv2 @ K3Nv2:
    I'm kind of phasing out on the need for wanting all these consoles cool to have but they just become dust build ups
  • BigOnYa @ BigOnYa:
    I here ya there, I have too many myself, and have hard time letting them go, since most of mine I've modded at some point. Anymore I just play Switch on the go, seriesx at home.
  • Xdqwerty @ Xdqwerty:
    ack my throat
  • K3Nv2 @ K3Nv2:
    I need to invest in some storage totes tbh
  • BigOnYa @ BigOnYa:
    Tots?
  • K3Nv2 @ K3Nv2:
    Tootles
  • BigOnYa @ BigOnYa:
    Tootles? Wtf
  • K3Nv2 @ K3Nv2:
    Oh tootles
  • BigOnYa @ BigOnYa:
    Oh totes , lol, like Tupperware storage, I gotcha
  • BigOnYa @ BigOnYa:
    I'm designing my own entertainment cabinet for my man cave, to store all my systems, then I'm also designing a power supply/HDMI switcher so I can switch to whichever system I want, and power it also. Already picked up the cabinet board, but tinkering with my drawings before start
  • BigOnYa @ BigOnYa:
    But yea, I have frogger arcade cabinet that I gutted and put a Pi4 then Pi5 into, but it never gets played much anymore, should sell it. Even when the kids come over, they don't want to play on it, just the xbox. TMNT and Simpson's arcade is still so fun on it, esp w 2 players.
  • K3Nv2 @ K3Nv2:
    Gonna check out the new Garfield looks like garbage
  • BigOnYa @ BigOnYa:
    Can't wait to see the new "stick" that can actually play Ps3 or 360 games. I know they are getting close.
  • BigOnYa @ BigOnYa:
    @Xdqwerty didn't you see the new garfield?
  • K3Nv2 @ K3Nv2:
    Ah it's all animated I was hoping for some live action
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, yes i did
  • T @ TheSusKing:
    does anyone know if you can run android apps on a usb
  • K3Nv2 @ K3Nv2:
    You mean use a external usb thumb drive as storage? Yeah it depends on the phone
    K3Nv2 @ K3Nv2: You mean use a external usb thumb drive as storage? Yeah it depends on the phone