Hacking [RCM Payload] Hekate - CTCaer mod

  • Thread starter CTCaer
  • Start date
  • Views 1,081,933
  • 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
  • BakerMan @ BakerMan:
    yeah me neither
  • K3Nv2 @ K3Nv2:
    They're like chugging down two cans of gfuel
  • Xdqwerty @ Xdqwerty:
    Hi rez
    +1
  • Sicklyboy @ Sicklyboy:
    Hangovers are awful. Luckily I don't drink much these days to begin with, but they're the reason I don't drink - a lot- anymore
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Hey there!
    +1
  • K3Nv2 @ K3Nv2:
    Fucking energy drinks may as well be alcohol I remember chugging down 40oz half my body went numb
  • SylverReZ @ SylverReZ:
    @Sicklyboy, I don't even drink alcohol either.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, my throat still hurts
  • Xdqwerty @ Xdqwerty:
    Slightly less tho
  • SylverReZ @ SylverReZ:
    Same
  • SylverReZ @ SylverReZ:
    Get well soon
    +1
  • BakerMan @ BakerMan:
    i hope both of you guys get better
    +2
  • SylverReZ @ SylverReZ:
    Thanks mate.
  • Sicklyboy @ Sicklyboy:
    I used to drink alcohol fairly often. Never to the point of it being a problem, but like 2-3 beers with dinner each night, or a few cocktails or glasses of Scotch or something. Started smoking/vaping weed a lot a few years back which killed 90% of my interest in booze. Now I stopped smoking/vaping weed as much and just deal with life the boring way most of the time
    +1
  • Xdqwerty @ Xdqwerty:
    I only drank alcohol once and it was by accident
  • Xdqwerty @ Xdqwerty:
    I didnt know it was beer, it was on a juice bottle
  • SylverReZ @ SylverReZ:
    Yeah, I'm addicted to smoking, sadly. It's very addictive but I wish I didn't start.
  • K3Nv2 @ K3Nv2:
    May just order a 5700g for a nas/emulation set up tbh
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast you were asleep on 4/20
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, you played that Mario flash game called Mario 63?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, No, but I've seen it on Vinesauce's stream.
    SylverReZ @ SylverReZ: @Xdqwerty, No, but I've seen it on Vinesauce's stream.