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

  • Thread starter Thread starter Homlet
  • Start date Start date
  • Views Views 647,195
  • Replies Replies 1,230
  • Likes Likes 98
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!
 
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!
 
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
 
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
 
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
 
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,
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,
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/
 
  • Like
Reactions: Homlet
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
 
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,
Hi everyone, I wonder where I can update sigpatches in this app, I've looked everywhere and can't find it,. Thanks in advance
 

Site & Scene News

Popular threads in this forum