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
  • BigOnYa @ BigOnYa:
    I just been playing offline, and they give you a few bots here n there on your team to help battle. I don't think it's as funny as the other games tho, more battle oriented than humor, which kinda sucks, but I'm still early in it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, doesnt the game have a campaign mode?
  • BigOnYa @ BigOnYa:
    Yea, and co-op, but you can also start a pvp session and battle just with friends. You get special skill cards (powers) the more you play. And higher value cards, but you can only enable so many cards at a time.
  • K3Nv2 @ K3Nv2:
    If you can find enough for it
  • BigOnYa @ BigOnYa:
    Toilet paper is considered the money, you collect and buy stuff with TP, kinda funny. Graphics are def better than the other games tho, I think they used Unity 5 engine.
  • Psionic Roshambo @ Psionic Roshambo:
    Look if I zoom in enough I can see the herpes!!!
    +1
  • BigOnYa @ BigOnYa:
    In fact I'm gonna go make a drink, roll a fatty n play some, good night to all!
    +2
  • Xdqwerty @ Xdqwerty:
    I bet most people at the time still watched it in black and white
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Many of them did before colour television was common.
  • SylverReZ @ SylverReZ:
    Likely because black and white TV was in-expensive.
    +1
  • K3Nv2 @ K3Nv2:
    It certainly wasn't inexpensive it cost the same as a new car back then
  • K3Nv2 @ K3Nv2:
    How much did a 1965 color TV cost?

    For example, a 21-inch (diagonal) GE color television in 1965 had an advertised price of $499, which is equal to $4,724 in today's dollars, according to the federal government's inflation calculator.
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, take into consideration how economy was back then
  • K3Nv2 @ K3Nv2:
    Yeah that's why they listed inflation rates
  • Xdqwerty @ Xdqwerty:
    Sorry didnt read that part
  • BakerMan @ BakerMan:
    @LeoTCK don't worry i knew he was joking
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    My first color TV was like 1984 or something lol
  • Psionic Roshambo @ Psionic Roshambo:
    19 inches it was glorious lol
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, If it doesn't fit, you should've gotten one smaller lol
    +2
  • SylverReZ @ SylverReZ:
    If a racoon can fit up to 8-inches then so be it
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol it it fits I sit? Lol
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Will it blend lol
    SylverReZ @ SylverReZ: @Psionic Roshambo, Will it blend lol