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
644
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,519
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,355
Trophies
2
XP
18,252
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,355
Trophies
2
XP
18,252
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
644
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,519
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,519
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.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu