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

@impeeza since the https://hub.docker.com/r/devkitpro/devkita64 docker image in the git workflow was updated to include libnx 4.10, i have undone your pr trying to build libnx, and re-issued sys-patch 1.5.8 release with the latest commit (so that the build-output hash matches the commit sha1):

https://github.com/impeeza/sys-patch/actions/runs/19463845373
https://github.com/impeeza/sys-patch/releases/tag/v1.5.8



edit:

i also merged in the no-erpt patch that was in https://github.com/impeeza/sys-patch/tree/impeeza-NoERP

although, i fixed the silly no_cond stuff, as that's just poorly written code.
 
Last edited by bth,
So, apparently, the previous issue with hbmenu not opening on FW 21.0.0, even with Atmosphere 1.10.0, is due to the previous iteration of the sys_patch. While that's already resolved in the latest iteration, the problem now lies with installed games not running.

Does anybody else experience the same?
 
So, apparently, the previous issue with hbmenu not opening on FW 21.0.0, even with Atmosphere 1.10.0, is due to the previous iteration of the sys_patch. While that's already resolved in the latest iteration, the problem now lies with installed games not running.

Does anybody else experience the same?
if airplane mode doesn't cause them to run again, then you have to reinstall the affected games.

if airplane mode does cause the games to run again, then your fake linked account with linkalho is broken.
 
  • Like
Reactions: ber71
So, apparently, the previous issue with hbmenu not opening on FW 21.0.0, even with Atmosphere 1.10.0, is due to the previous iteration of the sys_patch. While that's already resolved in the latest iteration, the problem now lies with installed games not running.

Does anybody else experience the same?
i just resolved that issue on my console what i had to do is remove saltynx there is a folder in contents try removing this and see what happens i spent 10 hours today figuring this out i discovered it by doing a clean install of atmosphere with just syspatch and the sig patches and loading the system with just those things everthing was working so from there i added back the rest of the contents folder i had backed up and the problem started again so i sifted through all the folders with some trial and error to discover it was saltynx that was stopping the games from running at least in my case anyways i hope this info helps goodluck
 
  • Like
Reactions: Dothackjhe
i just resolved that issue on my console what i had to do is remove saltynx there is a folder in contents try removing this and see what happens i spent 10 hours today figuring this out i discovered it by doing a clean install of atmosphere with just syspatch and the sig patches and loading the system with just those things everthing was working so from there i added back the rest of the contents folder i had backed up and the problem started again so i sifted through all the folders with some trial and error to discover it was saltynx that was stopping the games from running at least in my case anyways i hope this info helps goodluck
every single sysmodule and homebrew you have needs to be recompiled with libnx 4.10

you're better off deleting the "atmosphere" and "switch" folder, and only adding atmosphere latest and sys-patch latest, and manually obtaining (do not use bundles) latest releases of whatever else that you don't really need, but insist on having, assuming they have new releases for 21.0.0 support.
 
every single sysmodule and homebrew you have needs to be recompiled with libnx 4.10

you're better off deleting the "atmosphere" and "switch" folder, and only adding atmosphere latest and sys-patch latest, and manually obtaining (do not use bundles) latest releases of whatever else that you don't really need, but insist on having, assuming they have new releases for 21.0.0 support.
i only have the ones that have been recompiled i removed all the older stuff and everthing seems to be working for me
 
if airplane mode doesn't cause them to run again, then you have to reinstall the affected games.

if airplane mode does cause the games to run again, then your fake linked account with linkalho is broken.
As I've tested... All linked account with linkalho are broken. I've downgraded to 16.1.0, applied linkalho and upgrade to 21.0.0.

16.1.0 works
21.0.0 infinite looping with Internet active.

Well, I used the latest build... I should try with the original one.
 
As I've tested... All linked account with linkalho are broken. I've downgraded to 16.1.0, applied linkalho and upgrade to 21.0.0.

16.1.0 works
21.0.0 infinite looping with Internet active.

Well, I used the latest build... I should try with the original one.
i dont mind using airplane mode my console banned anyways once im in game i can always reenable the internet so for example i can trade pokemon with my other switch localy or when using overide enable after then use what ever apps you need
 
  • Like
Reactions: josete2k
for clarity sake regarding linkalho, and issues with starting games outside of airplane mode, it's been an ongoing issue for 4 years. (pretty much the entirity of the existence of linkalho)

https://www.reddit.com/r/SwitchPira...rror_21558007_on_launch_of_every_game_or_app/

i also had a tester confirm with me it's "2155-8007" in the telemetry stream/error reports the console tries to send to nintendo.

which should be related to this function:
https://www.nintendo.com/en-gb/Supp...-Save-Data-Backups-and-Downloads-1434310.html

which defaults to being enabled if the console has NSO. (im not sure if linkalho sets the NSO flag or not), being in airplane mode makes said check inheriting the flag be disabled while in airplane mode


which in OLSC (010000000000003E)
"default_auto_upload_global_setting : true"
https://switchbrew.org/wiki/OLSC_services
 
Last edited by bth,
for clarity sake regarding linkalho, and issues with starting games outside of airplane mode, it's been an ongoing issue for 4 years. (pretty much the entirity of the existence of linkalho)

https://www.reddit.com/r/SwitchPira...rror_21558007_on_launch_of_every_game_or_app/

i also had a tester confirm with me it's "2155-8007" in the telemetry stream/error reports the console tries to send to nintendo.

which should be related to this function:
https://www.nintendo.com/en-gb/Supp...-Save-Data-Backups-and-Downloads-1434310.html

which defaults to being enabled if the console has NSO. (im not sure if linkalho sets the NSO flag or not), being in airplane mode makes said check inheriting the flag be disabled while in airplane mode


which in OLSC (010000000000003E)
"default_auto_upload_global_setting : true"
https://switchbrew.org/wiki/OLSC_services


Hmmm... Is there any option in atmosphere's config.ini to avoid that?

The same way the battery drain is fixed... I mean.
 
Hmmm... Is there any option in atmosphere's config.ini to avoid that?

The same way the battery drain is fixed... I mean.
1. read switchbrew documentation
https://switchbrew.org/wiki/System_Settings
https://switchbrew.org/wiki/OLSC_services
2. pair knowledge that error 2155-xxxx is HTTP
3. open up OLSC in ghidra, start work.
4. identify what function is doing the downloading and uploading of saves (0x31230 21.0.0)
5. identify function that handles failed http transactions / reports errors whenever it's not doing what it should ( ultimately 0x5a740 is what sets the instruction for -2, 1, or 0, with 1 and 0 being fail conditions


6. all of the relevants calls for 0x31230 originate from:
0x10aa20 and 0x10c210

identify which codepath checks for airplane mode, force patch it into always thinking its airplane mode


OLSC.jpg


OLSC2.jpg

OLSC3.jpg
 
Last edited by bth,
Hello everyone, with atmosphere, syg or sys patch, mission control, every time I start a game, whether it's original or nsp, I get a continuous “please wait” loop. While deleting files and pasting, I managed to solve the problem, but when I copied some files back, the problem returned and now I can't remember what the solution is. I also tried reinstalling games, but nothing worked. Thank you all
 
1. read switchbrew documentation
https://switchbrew.org/wiki/System_Settings
https://switchbrew.org/wiki/OLSC_services
2. pair knowledge that error 2155-xxxx is HTTP
3. open up OLSC in ghidra, start work.
4. identify what function is doing the downloading and uploading of saves (0x31230 21.0.0)
5. identify function that handles failed http transactions / reports errors whenever it's not doing what it should ( ultimately 0x5a740 is what sets the instruction for -2, 1, or 0, with 1 and 0 being fail conditions


6. all of the relevants calls for 0x31230 originate from:
0x10aa20 and 0x10c210

identify which codepath checks for airplane mode, force patch it into always thinking its airplane mode


View attachment 540105

View attachment 540107
View attachment 540108


Congrats to your work, hope you or someone can make a patch to fix this to us mortals hahaha.
 
Last edited by rodrigues14,
  • Like
Reactions: Blythe93 and ber71
Congrats to your work, hope you or someone can make a patch to fix this to us mortals hahaha.
it's unlikely to lead anywhere as im not familiar with anything not signature verification related.

im going through linkalhos codebase https://github.com/Switch-Bros/linkalho/blob/master/source/core/generator.cpp#L19

C++:
static auto PROFILE = R"({"id":"#NAS_ID#","language":"#LOCALE#","timezone":"#TIMEZONE#","country":"#COUNTRY_CODE#","analyticsOptedIn":false,"gender":"male","emailOptedIn":false,"birthday":"1980-01-01","isChild":false,"email":"•","screenName":"•","region":"","loginId":"•","nickname":"•","isNnLinked":false,"isTwitterLinked":false,"isFacebookLinked":false,"isGoogleLinked":false})";


(there's also a 0x32] = "$.analyticsForDataCollectionEditableSelf"; below this as well
accounts2.jpg


from what i can tell linkalho's order of affairs is incorrect, and missing new tags
 
Last edited by bth,
it's unlikely to lead anywhere as im not familiar with anything not signature verification related.

im going through linkalhos codebase https://github.com/Switch-Bros/linkalho/blob/master/source/core/generator.cpp#L19

C++:
static auto PROFILE = R"({"id":"#NAS_ID#","language":"#LOCALE#","timezone":"#TIMEZONE#","country":"#COUNTRY_CODE#","analyticsOptedIn":false,"gender":"male","emailOptedIn":false,"birthday":"1980-01-01","isChild":false,"email":"•","screenName":"•","region":"","loginId":"•","nickname":"•","isNnLinked":false,"isTwitterLinked":false,"isFacebookLinked":false,"isGoogleLinked":false})";

View attachment 540175

from what i can tell linkalho's order of affairs is incorrect, and missing new tags
good lord. ¿so many changes needed too?
 
  • Like
Reactions: Blythe93
it's unlikely to lead anywhere as im not familiar with anything not signature verification related.

im going through linkalhos codebase https://github.com/Switch-Bros/linkalho/blob/master/source/core/generator.cpp#L19

C++:
static auto PROFILE = R"({"id":"#NAS_ID#","language":"#LOCALE#","timezone":"#TIMEZONE#","country":"#COUNTRY_CODE#","analyticsOptedIn":false,"gender":"male","emailOptedIn":false,"birthday":"1980-01-01","isChild":false,"email":"•","screenName":"•","region":"","loginId":"•","nickname":"•","isNnLinked":false,"isTwitterLinked":false,"isFacebookLinked":false,"isGoogleLinked":false})";


(there's also a 0x32] = "$.analyticsForDataCollectionEditableSelf"; below this as well
View attachment 540175

from what i can tell linkalho's order of affairs is incorrect, and missing new tags
where we can see this entire file ?
 
on the github repo.
i am so stupid the reply is for message above :(, the files in JPG

it's unlikely to lead anywhere as im not familiar with anything not signature verification related.

im going through linkalhos codebase https://github.com/Switch-Bros/linkalho/blob/master/source/core/generator.cpp#L19

C++:
static auto PROFILE = R"({"id":"#NAS_ID#","language":"#LOCALE#","timezone":"#TIMEZONE#","country":"#COUNTRY_CODE#","analyticsOptedIn":false,"gender":"male","emailOptedIn":false,"birthday":"1980-01-01","isChild":false,"email":"•","screenName":"•","region":"","loginId":"•","nickname":"•","isNnLinked":false,"isTwitterLinked":false,"isFacebookLinked":false,"isGoogleLinked":false})";


(there's also a 0x32] = "$.analyticsForDataCollectionEditableSelf"; below this as well
View attachment 540175

from what i can tell linkalho's order of affairs is incorrect, and missing new tags
 
i am so stupid the reply is for message above :(, the files in JPG

that would be whichever 21.0.0 nca is 010000000000001E (Account ) and its exefs ("main"), decompiled with ghidra that has ghidra-switch-loader extension present FUN_71000c19b0 in the ghidra-scheme (i.e. offset 0xc19b0 of the decompressed .nso0). (unless you mean the ones further above, which would be 010000000000003E (OLSC))
 
Last edited by bth,

Site & Scene News

Popular threads in this forum