Homebrew AIO Switch Updater - Update CFW, FW, cheats and more directly from the Switch

Homlet

Well-Known Member
OP
Member
Joined
Feb 28, 2020
Messages
588
Trophies
0
XP
2,480
Country
France
v2.5.0
  • Now supports Atmosphere updates on patched(v2/Mariko) Switches. This works by temporarily high-jacking payload.bin and performing operations in RCM that can't be done while HOS in running.

  • Fixed batch copy (with copy_file.json) not being able to copy the same file at different locations. Keep in mind that existing copy_files.json won't work and you now need to grab copy_files.txt and place it in /config/aio-switch-updater
@hippy dave @MastaG

Thanks to @Skydark for helping me test it!
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,789
Trophies
2
XP
28,225
Country
United Kingdom
v2.5.0
  • Now supports Atmosphere updates on patched(v2/Mariko) Switches. This works by temporarily high-jacking payload.bin and performing operations in RCM that can't be done while HOS in running.

  • Fixed batch copy (with copy_file.json) not being able to copy the same file at different locations. Keep in mind that existing copy_files.json won't work and you now need to grab copy_files.txt and place it in /config/aio-switch-updater
@hippy dave @MastaG

Thanks to @Skydark for helping me test it!
Thank you, will test it out!
 

PhyniX

Well-Known Member
Member
Joined
Mar 29, 2009
Messages
100
Trophies
0
XP
241
Country
Gambia, The
Hallo, i want compile the aio-switch-updater.
But i need to compile the new gtfw lib.
I have man problems to compile this lib.
Can anyone please share the binary from the mod of homlet
 

Homlet

Well-Known Member
OP
Member
Joined
Feb 28, 2020
Messages
588
Trophies
0
XP
2,480
Country
France
Hallo, i want compile the aio-switch-updater.
But i need to compile the new gtfw lib.
I have man problems to compile this lib.
Can anyone please share the binary from the mod of homlet
You can get it easier with my PKGBUILD
https://github.com/HamletDuFromage/glfw/blob/PKGBUILD/PKGBUILD

Code:
curl -s https://raw.githubusercontent.com/HamletDuFromage/glfw/PKGBUILD/PKGBUILD > PKGBUILD
makepkg
sudo pacman -U switch-glfw-3.3.2-2-any.pkg.tar
 

PhyniX

Well-Known Member
Member
Joined
Mar 29, 2009
Messages
100
Trophies
0
XP
241
Country
Gambia, The
Thanks Homlet the glfw is compiled.
But i have the same Error code (February)
I use devkitpro for Windows.
What i not understand the aiou-forwarder is working fine.
ps. /opt/..... devkitpro-installer is creating this by default.

$ ./build.sh
/opt/devkitpro/examples/aio-switch-updater/aiosu-forwarder /opt/devkitpro/examples/aio-switch-updater
make[1]: Nothing to be done for 'all'.
/opt/devkitpro/examples/aio-switch-updater
Merging ROMFS...
make[1]: Entering directory '/opt/devkitpro/examples/aio-switch-updater/aiosu-rcm'
Building build/aio_rcm/start.o
Building build/aio_rcm/exception_handlers.o
Building build/aio_rcm/main.o
Building build/aio_rcm/heap.o
Building build/aio_rcm/gfx.o
Building build/aio_rcm/bpmp.o
Building build/aio_rcm/ccplex.o
Building build/aio_rcm/clock.o
Building build/aio_rcm/di.o
Building build/aio_rcm/gpio.o
Building build/aio_rcm/i2c.o
Building build/aio_rcm/irq.o
Building build/aio_rcm/mc.o
Building build/aio_rcm/sdram.o
Building build/aio_rcm/pinmux.o
Building build/aio_rcm/pmc.o
Building build/aio_rcm/se.o
Building build/aio_rcm/smmu.o
Building build/aio_rcm/tsec.o
Building build/aio_rcm/uart.o
Building build/aio_rcm/fuse.o
Building build/aio_rcm/kfuse.o
Building build/aio_rcm/minerva.o
Building build/aio_rcm/sdmmc.o
Building build/aio_rcm/sdmmc_driver.o
Building build/aio_rcm/nx_sd.o
Building build/aio_rcm/bq24193.o
Building build/aio_rcm/max17050.o
Building build/aio_rcm/max7762x.o
Building build/aio_rcm/max77620-rtc.o
Building build/aio_rcm/hw_init.o
Building build/aio_rcm/btn.o
Building build/aio_rcm/dirlist.o
Building build/aio_rcm/ianos.o
Building build/aio_rcm/util.o
Building build/aio_rcm/config.o
Building build/aio_rcm/ini.o
Building build/aio_rcm/lz.o
Building build/aio_rcm/blz.o
Building build/aio_rcm/diskio.o
Building build/aio_rcm/ff.o
Building build/aio_rcm/ffunicode.o
Building build/aio_rcm/ffsystem.o
Building build/aio_rcm/elfload.o
Building build/aio_rcm/elfreloc_arm.o
Kosmos Reborn Updater RCM was built with the following flags:\nCFLAGS: -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork -O2 -g -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11 -Wall -DIPL_LOAD_ADDR=0x40008000 -DGFX_INC="../bootloader/gfx/gfx.h" -DFFCFG_INC="../bootloader/libs/fatfs/ffconf.h"\nLDFLAGS: -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork -nostartfiles -lgcc -Wl,--nmagic,--gc-sections -Xlinker --defsym=IPL_LOAD_ADDR=0x40008000
arm-none-eabi-objcopy -S -O binary build/aio_rcm/aio_rcm.elf output/aio_rcm.bin
--------------------------------------
Payload size: 70104 Bytes
Payload Max: 126296 Bytes
--------------------------------------
make[1]: Leaving directory '/opt/devkitpro/examples/aio-switch-updater/aiosu-rcm'
make[1]: *** [/opt/devkitpro/libnx/switch_rules:69: /opt/devkitpro/examples/aio-switch-updater/aio-switch-updater.nro] Segmentation fault
make[1]: *** Deleting file '/opt/devkitpro/examples/aio-switch-updater/aio-switch-updater.nro'
make: *** [Makefile:174: build] Error 2
 

Homlet

Well-Known Member
OP
Member
Joined
Feb 28, 2020
Messages
588
Trophies
0
XP
2,480
Country
France
Thanks Homlet the glfw is compiled.
But i have the same Error code (February)
I use devkitpro for Windows.
What i not understand the aiou-forwarder is working fine.
ps. /opt/..... devkitpro-installer is creating this by default.

$ ./build.sh
/opt/devkitpro/examples/aio-switch-updater/aiosu-forwarder /opt/devkitpro/examples/aio-switch-updater
make[1]: Nothing to be done for 'all'.
/opt/devkitpro/examples/aio-switch-updater
Merging ROMFS...
make[1]: Entering directory '/opt/devkitpro/examples/aio-switch-updater/aiosu-rcm'
Building build/aio_rcm/start.o
Building build/aio_rcm/exception_handlers.o
Building build/aio_rcm/main.o
Building build/aio_rcm/heap.o
Building build/aio_rcm/gfx.o
Building build/aio_rcm/bpmp.o
Building build/aio_rcm/ccplex.o
Building build/aio_rcm/clock.o
Building build/aio_rcm/di.o
Building build/aio_rcm/gpio.o
Building build/aio_rcm/i2c.o
Building build/aio_rcm/irq.o
Building build/aio_rcm/mc.o
Building build/aio_rcm/sdram.o
Building build/aio_rcm/pinmux.o
Building build/aio_rcm/pmc.o
Building build/aio_rcm/se.o
Building build/aio_rcm/smmu.o
Building build/aio_rcm/tsec.o
Building build/aio_rcm/uart.o
Building build/aio_rcm/fuse.o
Building build/aio_rcm/kfuse.o
Building build/aio_rcm/minerva.o
Building build/aio_rcm/sdmmc.o
Building build/aio_rcm/sdmmc_driver.o
Building build/aio_rcm/nx_sd.o
Building build/aio_rcm/bq24193.o
Building build/aio_rcm/max17050.o
Building build/aio_rcm/max7762x.o
Building build/aio_rcm/max77620-rtc.o
Building build/aio_rcm/hw_init.o
Building build/aio_rcm/btn.o
Building build/aio_rcm/dirlist.o
Building build/aio_rcm/ianos.o
Building build/aio_rcm/util.o
Building build/aio_rcm/config.o
Building build/aio_rcm/ini.o
Building build/aio_rcm/lz.o
Building build/aio_rcm/blz.o
Building build/aio_rcm/diskio.o
Building build/aio_rcm/ff.o
Building build/aio_rcm/ffunicode.o
Building build/aio_rcm/ffsystem.o
Building build/aio_rcm/elfload.o
Building build/aio_rcm/elfreloc_arm.o
Kosmos Reborn Updater RCM was built with the following flags:\nCFLAGS: -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork -O2 -g -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11 -Wall -DIPL_LOAD_ADDR=0x40008000 -DGFX_INC="../bootloader/gfx/gfx.h" -DFFCFG_INC="../bootloader/libs/fatfs/ffconf.h"\nLDFLAGS: -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork -nostartfiles -lgcc -Wl,--nmagic,--gc-sections -Xlinker --defsym=IPL_LOAD_ADDR=0x40008000
arm-none-eabi-objcopy -S -O binary build/aio_rcm/aio_rcm.elf output/aio_rcm.bin
--------------------------------------
Payload size: 70104 Bytes
Payload Max: 126296 Bytes
--------------------------------------
make[1]: Leaving directory '/opt/devkitpro/examples/aio-switch-updater/aiosu-rcm'
make[1]: *** [/opt/devkitpro/libnx/switch_rules:69: /opt/devkitpro/examples/aio-switch-updater/aio-switch-updater.nro] Segmentation fault
make[1]: *** Deleting file '/opt/devkitpro/examples/aio-switch-updater/aio-switch-updater.nro'
make: *** [Makefile:174: build] Error 2
I'm sorry I don't know why this would happen, something about windows. Why are you running `./build.sh` instead of `make`, is it some windows specific thing?

Edit: nvm it's my script kek. Just type `make` instead
 
Last edited by Homlet,

genocidekyuubi

Member
Newcomer
Joined
Dec 19, 2009
Messages
23
Trophies
1
XP
130
Country
Indonesia
Hi Homlet,
just want you to know,
there is a slight error in the cheat that has been downloaded by AIO Switch Updater.
For Pokemon Sword game, with title id : 0100ABF008968000 and build ID : A3B75BCD3311385A
A lot of the code in the A3B75BCD3311385A.txt file is accidentally typed twice. This causes Edizon not to display any cheats in the game.
I fixed this error by editing myself the A3B75BCD3311385A.txt file I meant earlier. By deleting the code that was typed 2 times.
I've also checked the source from the thread cheat ams and sxos request
From the source, the typing is correct. But the cheat downloaded by the AIO Switch Updater program was typed twice. Is this a bug ?
Thank you in advance
 
Last edited by genocidekyuubi,

Homlet

Well-Known Member
OP
Member
Joined
Feb 28, 2020
Messages
588
Trophies
0
XP
2,480
Country
France
Hi Homlet,
just want you to know,
there is a slight error in the cheat that has been downloaded by AIO Switch Updater.
For Pokemon Sword game, with title id : 0100ABF008968000 and build ID : A3B75BCD3311385A
A lot of the code in the A3B75BCD3311385A.txt file is accidentally typed twice. This causes Edizon not to display any cheats in the game.
I fixed this error by editing myself the A3B75BCD3311385A.txt file I meant earlier. By deleting the code that was typed 2 times.
I've also checked the source from the thread cheat ams and sxos request
From the source, the typing is correct. But the cheat downloaded by the AIO Switch Updater program was typed twice. Is this a bug ?
Thank you in advance
The cheatsheet has duplicate entries. I'll report it on the gbatemp cheats thread
https://gbatemp.net/threads/cheat-codes-ams-and-sx-os-add-and-request.520293/
 

SkullHex2

Well-Known Member
Member
Joined
Feb 27, 2017
Messages
245
Trophies
0
XP
1,295
Country
United States
  • Like
Reactions: Homlet

skull87

Member
Newcomer
Joined
Jul 12, 2007
Messages
23
Trophies
1
Age
36
XP
249
Country
Mexico
Hi, the sigpatches option is not showing for me, I'm on atmosphere 19.4, OFW 12.0.3 and using emuMMC. What can I do to fix this?
2021061715013600-DA37E68BA125453A63BA66E971056FEF.jpg
 

Homlet

Well-Known Member
OP
Member
Joined
Feb 28, 2020
Messages
588
Trophies
0
XP
2,480
Country
France
Hi, the sigpatches option is not showing for me, I'm on atmosphere 19.4, OFW 12.0.3 and using emuMMC. What can I do to fix this?
View attachment 267285
it happens because you got it from hbappstore, that's the way to comply with their terms of use. Go to tools->hide tabs and you'll be able to enable it
 
Last edited by Homlet,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Batman joined the Trans Justice League
    +2
  • Sicklyboy @ Sicklyboy:
    based af
    +2
  • Sonic Angel Knight @ Sonic Angel Knight:
    Forget the base, get on the roof.
  • K3Nv2 @ K3Nv2:
    Is that a bat in your buckle or are you just happy to have me
  • Psionic Roshambo @ Psionic Roshambo:
    Wonder "Woman" lol you wonder if they are a woman?
  • Psionic Roshambo @ Psionic Roshambo:
    The Riddler has questions...
  • K3Nv2 @ K3Nv2:
    Played a little of snow day glad I didn't spend $30
  • K3Nv2 @ K3Nv2:
    It's asthetic is okay maybe a good $10 grab
  • Psionic Roshambo @ Psionic Roshambo:
    Lol is it a game about doing cocaine?
  • K3Nv2 @ K3Nv2:
    Probably in pvp
  • Psionic Roshambo @ Psionic Roshambo:
    I tried Balders Gate II on the PS2 a few minutes ago, not bad lol
  • Psionic Roshambo @ Psionic Roshambo:
    My back catalog of games is like that scene at the end of Indiana Jones where the arc of the covenant is being stored in a giant ass warehouse
  • K3Nv2 @ K3Nv2:
    At least I can will my game catalog to family members
    +1
  • K3Nv2 @ K3Nv2:
    It's your problem now bitches
  • Psionic Roshambo @ Psionic Roshambo:
    Put it in your will that in order to receive any money they have to beat certain games, hard games and super shitty games...
  • Psionic Roshambo @ Psionic Roshambo:
    Say 20 bucks per Ninja Gaiden on the NES lol 60 bucks for all 3
  • Psionic Roshambo @ Psionic Roshambo:
    People you like "Beat level 1 of Ms Pacman" lol
  • K3Nv2 @ K3Nv2:
    Hello kitty ds is required
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Beat Celebrity Death Match on the PS1 omg tried it earlier today .... Absolutely trash
  • Psionic Roshambo @ Psionic Roshambo:
    Like -37 out of 10
  • Psionic Roshambo @ Psionic Roshambo:
    One of the worst games I have ever played
  • K3Nv2 @ K3Nv2:
    Make them rank up every cod game out
  • K3Nv2 @ K3Nv2:
    "Now I know why he took his own life"
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"