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

lisko

Well-Known Member
Member
Joined
Oct 28, 2018
Messages
125
Trophies
0
Age
33
XP
637
Country
Italy
@Homlet as you can see here https://github.com/Atmosphere-NX/Atmosphere/commit/5b02c77400e8551199fefdbc36b1eb3ff86374dc
Upcoming atmosphere release will maintain an open reference to core atmosphere files so online updating in HOS wouldn't be possible anymore. You'll have to think about a new solution f.e. you could write a little rcm payload that will unpack or rename the files previously downloaded and then reboot to atmos/hekate/previously selected cfw payload. The update flow will be something like this: Download/unpack new files to a temp folder -> ask users to which payload reboot after the update -> reboot to your payload, rename/unpack the files and then chainload the previously selected payload to reboot cfw.
 
  • Like
Reactions: Idrolitina

Homlet

Well-Known Member
OP
Member
Joined
Feb 28, 2020
Messages
589
Trophies
0
XP
2,509
Country
France
@Homlet as you can see here https://github.com/Atmosphere-NX/Atmosphere/commit/5b02c77400e8551199fefdbc36b1eb3ff86374dc
Upcoming atmosphere release will maintain an open reference to core atmosphere files so online updating in HOS wouldn't be possible anymore. You'll have to think about a new solution f.e. you could write a little rcm payload that will unpack or rename the files previously downloaded and then reboot to atmos/hekate/previously selected cfw payload. The update flow will be something like this: Download/unpack new files to a temp folder -> ask users to which payload reboot after the update -> reboot to your payload, rename/unpack the files and then chainload the previously selected payload to reboot cfw.
eh, I'm not going to fight SciresM, he's kinda right about updating hygiene. Your solution could work though, I'd have to decide what I want to do.
 
  • Like
Reactions: lisko

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,303
Trophies
2
XP
18,152
Country
Sweden
@Homlet as you can see here https://github.com/Atmosphere-NX/Atmosphere/commit/5b02c77400e8551199fefdbc36b1eb3ff86374dc
Upcoming atmosphere release will maintain an open reference to core atmosphere files so online updating in HOS wouldn't be possible anymore. You'll have to think about a new solution f.e. you could write a little rcm payload that will unpack or rename the files previously downloaded and then reboot to atmos/hekate/previously selected cfw payload. The update flow will be something like this: Download/unpack new files to a temp folder -> ask users to which payload reboot after the update -> reboot to your payload, rename/unpack the files and then chainload the previously selected payload to reboot cfw.
Sigh... yeah because everyone loves ejecting their SD Card to update...
 
  • Like
Reactions: Idrolitina

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,303
Trophies
2
XP
18,152
Country
Sweden
Why do you find it necessary to talk down to people like a dick?
The suggestions being made are for the homlet to decide if there a good idea or not.
Not for others to criticise.
Well I got my reasons I guess? But you are talking about the same people that add a timer for the splashscreen for no reason. The only problem I had with atmosphere have been when they add new mechanics where you more or less need to delete your atmosphere folder from the sd card anyway. So yet to see the big reason why a "auto-update" would be a issue honestly if you reboot right away.

EDIT: And it wasn't Dave I "spoke down about".
 
Last edited by linuxares,

lisko

Well-Known Member
Member
Joined
Oct 28, 2018
Messages
125
Trophies
0
Age
33
XP
637
Country
Italy
Yeah... because getting a script to run in Sept to unzip like a update file sounds terrible I guess.
If you're talking about the solution I suggested isn't so terrible and probably the only way from 0.15+. Also sept isn't needed at all because for extracting/moving files from SD sept's keys aren't necessary. A simple/stripped down automatic version of tegraexplorer rcm payload is more than enough. I had preferred that atmosphere's devs implemented a way to perform online in HOS updates safely instead of simply blocking them tho but this is what we got. Atmosphere is a great ever evolving cfw thanks to the same devs and we must only thanks them for all the efforts they put in a free project together with all the homebrews developers.
 

baileyscream

Well-Known Member
Member
Joined
Feb 22, 2015
Messages
199
Trophies
0
Age
98
XP
523
Country
@Homlet I just updated from 1.1.3 to 1.2.7 from within your app.

The update was placed in the correct folder

But its named aio-switch-updater-v1.2.7.nro

The 1.1.3 version is called
aio-switch-updater.nro

So the update didn't overwrite the original due to it containing the update revision in the file name.

Is this normal as in it won't overwrite with the nro being active anyway

Or is it a mistake and it should overwrite without needing to edit the file name on pc or a file browser
 

Homlet

Well-Known Member
OP
Member
Joined
Feb 28, 2020
Messages
589
Trophies
0
XP
2,509
Country
France
@Homlet I just updated from 1.1.3 to 1.2.7 from within your app.

The update was placed in the correct folder

But its named aio-switch-updater-v1.2.7.nro

The 1.1.3 version is called
aio-switch-updater.nro

So the update didn't overwrite the original due to it containing the update revision in the file name.

Is this normal as in it won't overwrite with the nro being active anyway

Or is it a mistake and it should overwrite without needing to edit the file name on pc or a file browser
Yeah I had to change the way the app updated sometimes back. If you run v1.2.7 it will clean up everything, or you can just ease aio-switch-updater.nro

Sorry about that, I wish I had a cleaner way to do it (and truth be told since then I've thought of one) but if you do this thing now it shouldn't be an issue
 

baileyscream

Well-Known Member
Member
Joined
Feb 22, 2015
Messages
199
Trophies
0
Age
98
XP
523
Country
Yeah I had to change the way the app updated sometimes back. If you run v1.2.7 it will clean up everything, or you can just ease aio-switch-updater.nro

Sorry about that, I wish I had a cleaner way to do it (and truth be told since then I've thought of one) but if you do this thing now it shouldn't be an issue
I sorted it i just wanted to check it was known.
While your online
In v1.2.1 you added the option to set a payload to /bootloader/update.bin

Now I'm in 1.2.7 (I skipped from 1.1.3) and I have gone through the app and I can only see in tools
Download payloads to/bootloader/payloads and in there the 3 .bin files download as there called
not update.bin or give the option to put it in /bootloader

Where can I find the option
 
Last edited by baileyscream,

Homlet

Well-Known Member
OP
Member
Joined
Feb 28, 2020
Messages
589
Trophies
0
XP
2,509
Country
France
I sorted it i just wanted to check it was known.
While your online
In v1.2.1 you added the option to set a payload to /bootloader/update.bin

Now I'm in 1.2.7 (I skipped from 1.1.3) and I have gone through the app and I can only see in tools
Download payloads to/bootloader/payloads and in there the 3 .bin files download as there called
not update.bin or give the option to put it in /bootloader

Where can I find the option
Yeah, it's in Tools->reboot to payload, and then you either press X or Y (look at the hints at the bottom)
 
  • Like
Reactions: baileyscream

vincentallen2

Well-Known Member
Member
Joined
Aug 21, 2016
Messages
105
Trophies
0
Age
31
XP
695
Country
United States
Can an updater be added to this so that it can update the application itself to future versions?

Sent from my Samsung Galaxy Note10+ 5G SM-N976U using Tapatalk
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-