Homebrew Homebrew app sys-patch - sysmod that patches on boot

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,425
Trophies
3
Age
46
Location
At my chair.
XP
19,111
Country
Colombia
So does sys-patch negate the need to switch from fusee to hekate for sigpatches on latest atmosphere?
Kinda, Sys-Patch is a sysmodule which patch the memory on the fly at startup, detect if any patch is already applied and if any patch is missing and apply them so if you didn't boot trough Hekate's Package3 parsing Sys-Patch will take care.
 

Blythe93

The Treasure Tracker
Member
Joined
Oct 19, 2022
Messages
923
Trophies
1
XP
2,226
Country
Serbia, Republic of
Is it normal that log says Unpatched for es6?
Also, I have the latest sigpatches installed and I have loaded Atmosphere's package3 via Hekate. Shouldn't logs say Patched in orange instead of green or am I missing something? es6 is Unpatched, es7 is Patched and the rest of them are Patched.
 
Last edited by Blythe93,

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,425
Trophies
3
Age
46
Location
At my chair.
XP
19,111
Country
Colombia
Is it normal that log says Unpatched for es6?
1711742181509.png
 
  • Like
Reactions: f0li0 and Blythe93

josete2k

Well-Known Member
Member
Joined
Apr 24, 2009
Messages
680
Trophies
1
Age
43
Location
Spain
XP
1,625
Country
Spain
Is the es6 relevant?
 

Attachments

  • IMG_20240329_210554.jpg
    IMG_20240329_210554.jpg
    1.1 MB · Views: 13
  • IMG_20240329_210617.jpg
    IMG_20240329_210617.jpg
    1.2 MB · Views: 13

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,379
Trophies
2
XP
18,295
Country
Sweden
All I know is that ES have something to do with ES_NCA (or 0100000000000033) but not sure what ES6 is.
EDIT: Checked old backed up sourcecode, ES6 might not be in use anymore therefore not needed on FW18

constinit Patterns es_patterns[] = {
{ "es1", "0x1F90013128928052", -4, 0, cbz_cond, b_patch, b_applied, true, FW_VER_ANY, MAKEHOSVERSION(13,2,1) },
{ "es2", "0xC07240F9E1930091", -4, 0, tbz_cond, nop_patch, nop_applied, true, FW_VER_ANY, MAKEHOSVERSION(10,2,0) },
{ "es3", "0xF3031FAA02000014", -4, 0, bne_cond, nop_patch, nop_applied, true, FW_VER_ANY, MAKEHOSVERSION(10,2,0) },
{ "es4", "0xC0FDFF35A8C35838", -4, 0, mov_cond, nop_patch, nop_applied, true, MAKEHOSVERSION(11,0,0), MAKEHOSVERSION(13,2,1) },
{ "es5", "0xE023009145EEFF97", -4, 0, cbz_cond, b_patch, b_applied, true, MAKEHOSVERSION(11,0,0), MAKEHOSVERSION(13,2,1) },
{ "es6", "0x.6300...0094A0..D1..FF97", 16, 0, mov2_cond, mov0_patch, mov0_applied, true, MAKEHOSVERSION(14,0,0) },
};

So I guess es7 is just a replacement for es6 :)
 
Last edited by linuxares,
  • Like
Reactions: ber71 and josete2k

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,425
Trophies
3
Age
46
Location
At my chair.
XP
19,111
Country
Colombia
Is the es6 relevant?
ES6 and ES7 are the 2 versions of the set of patterns to seek ES6 is for FW 14 to 17 and ES7 is for FW 14 to 18 I think they booth are overlapping, but if one of the two is patched, then the patch is applied.:

the pattern sys-patch broke on this fw, which is my fault. the change that broke was `reg0 = reg29 & 0x18` to `reg0 = reg29 & 0x1B`.

A0.0091..0094A0..D1..FF97 should be fine for fw14+


as far I could understand the code needs to change the reg pattern to look but on the new code just a new set of codes was added.
 
  • Like
Reactions: josete2k

Blythe93

The Treasure Tracker
Member
Joined
Oct 19, 2022
Messages
923
Trophies
1
XP
2,226
Country
Serbia, Republic of
I know about that, but nevertheless, I've figured it out. For some reason, my hekate_ipl was missing the kip1patch=nosigchk line. :D Now they are all orange which means that both sigpatches and sys-patch module are working (and doing the same thing).
ES6 and ES7 are the 2 versions of the set of patterns to seek ES6 is for FW 14 to 17 and ES7 is for FW 14 to 18 I think they booth are overlapping, but if one of the two is patched, then the patch is applied.:
I see. Thanks for the info.

Thanks to everyone who made these sigpatches possible. You guys rock!
 
  • Love
Reactions: impeeza

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,053
Trophies
0
Location
Vancouver
XP
1,378
Country
Canada
I know about that, but nevertheless, I've figured it out. For some reason, my hekate_ipl was missing the kip1patch=nosigchk line. :D Now they are all orange which means that both sigpatches and sys-patch module are working (and doing the same thing).

I see. Thanks for the info.

Thanks to everyone who made these sigpatches possible. You guys rock!

Mine are orange except for ctest, which is green. Is that supposed to be green with both sigpatches and sys-patch?

I also noticed in the sys-patch options that Patch sysMMC is set to on by default. Shouldn't that be set to off?

And what exactly is Version Skip for? Config says 1=(default) skips out of date patterns, 0=search all patterns. Anyone know the benefit or disadvantage of using one or the other?
 
Last edited by RedColoredStars,
  • Like
Reactions: Blythe93

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,425
Trophies
3
Age
46
Location
At my chair.
XP
19,111
Country
Colombia
Mine are orange except for ctest, which is green. Is that supposed to be green with both sigpatches and sys-patch?

I also noticed in the sys-patch options that Patch sysMMC is set to on by default. Shouldn't that be set to off?

And what exactly is Version Skip for? Config says 1=(default) skips out of date patterns, 0=search all patterns. Anyone know the benefit or disadvantage of using one or the other?
https://gbatemp.net/threads/sys-patch-sysmod-that-patches-on-boot.633517/post-10389638
 

LightBeam

Well-Known Member
Member
Joined
Oct 1, 2018
Messages
988
Trophies
0
XP
2,474
Country
France
Mine are orange except for ctest, which is green. Is that supposed to be green with both sigpatches and sys-patch?

I also noticed in the sys-patch options that Patch sysMMC is set to on by default. Shouldn't that be set to off?

And what exactly is Version Skip for? Config says 1=(default) skips out of date patterns, 0=search all patterns. Anyone know the benefit or disadvantage of using one or the other?
Green = patched correctly
Orange = already patched (by the sigpatches you already installed)

I don't remember what the version skip does :(



(woops got passed over)
 
  • Like
Reactions: RedColoredStars

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,425
Trophies
3
Age
46
Location
At my chair.
XP
19,111
Country
Colombia

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
1,053
Trophies
0
Location
Vancouver
XP
1,378
Country
Canada

That didn't answer my questions.

Let me ask the first one in a different way. If they should all be orange if I have both sigpatches and sys-patch, what would be the reason my ctest is the only one that's green? As far as the other two, the post you linked to (whih I had already seen) doesn't mention either the Patch sysMMC or Version Skip options.

Edit: Version Skip was answered while I was replying.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Damn cleaned up 348GB's of crap I wasn't using with that lol
    +2
  • BigOnYa @ BigOnYa:
    But can it completely remove RealPlayer? Lol jk
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    I remember at one point it being pretty much labeled as malware lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think my favorite one was that dancing purple gorilla... I uninstalled that thing from sooo many machine people would be like "Why is my computer so slow?" lol because this thing is using like 30% of your system resources.....
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    This one lady... her son kept installing Kazaa... OK no problem the issue is he would download DBZ movies and they where amazing usually like 2-8KB in size lol can't remember how many times I had to format and reinstall windows over his stupidity. I even explained to him about file sizes multiple times...
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    yeah Bonzi buddy was malware sort of... It was borderline lol
  • Psionic Roshambo @ Psionic Roshambo:
    At minimum it was nothing anyone should have ever installed lol
    +1
  • SylverReZ @ SylverReZ:
    @BigOnYa, RealPlayer is spyware too.
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Yeah, BonziBuddy was both spyware and ad-ware. It collected children's personal information without consent as well as display fake Windows popups.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast bonzi got discontinued
    +2
  • SylverReZ @ SylverReZ:
    @Xdqwerty, The people who created Bonzi now owns a company called 2KDirect; an advertising firm. https://www.ipromote.com/
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast they get slightly cleaner money
    +1
  • BakerMan @ BakerMan:
    guys, hot take
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So Bonzi buddy was an evil version of Alexa lol
    +2
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +2
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +2
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=XvAsR4O4W0w