Hack SXOS

By Reacher17, Feb 12, 2021 157,259 1,030 37

  1. FR0ZN

    FR0ZN GBAtemp Maniac
    Member

    Joined:
    Nov 2, 2013
    Messages:
    1,038
    Country:
    United States
    The question now is, is it possible to extract their XCI loader and make it a standalone application for Atmosphere users?
    While all this progress is awesome and finally happening, I doubt that TX will release further updates to SXOS, so this will always lack behind in terms of FW compatability from here on out.
     
  2. Dark Ronin

    Dark Ronin GBAtemp Regular
    Member

    Joined:
    Oct 5, 2015
    Messages:
    265
    Country:
    Russia
    Please accept my excuses for my previous attitude. You did great!
     
  3. MasterJ360

    MasterJ360 GBAtemp Addict
    Member

    Joined:
    Jan 10, 2016
    Messages:
    2,244
    Country:
    United States
    Even if it were possible no one is willing to take the risk of sharing Nintendo's code for jail time and atmosphere only has 1 dev who is against piracy.
     
  4. FR0ZN

    FR0ZN GBAtemp Maniac
    Member

    Joined:
    Nov 2, 2013
    Messages:
    1,038
    Country:
    United States
    Is it known what was used from Nintendo in the XCI loader?
    What I mean by "making it standalone" is again using one of these scripts, which only extracts the XCI loader and does whatever magic is necessary to make it work anything other than SXOS.
    This should not cause any more trouble than what is currently happening in this thread anyway.
     
  5. mrdude

    mrdude GBAtemp Maniac
    Member

    Joined:
    Dec 11, 2015
    Messages:
    1,133
    Country:
    Here you go, this script has the fingerprint and licence embedded - so this is just a "click and go" version. Thanks to the person that shared their license and fingerprint for everyone.
     

    Attached Files:

    LyuboA, Ghost92, BigOnYa and 11 others like this.
  6. mspy

    mspy GBAtemp Regular
    Member

    Joined:
    Jul 29, 2018
    Messages:
    151
    Country:
    Brazil
    Well that doesn't stop people from sharing games on the internet, so I guess it's the same thing... as for the Atmosphere dev are we really to believe that he went through all the trouble of making a CFW just to run 'homebrew' ?
     
    Last edited by mspy, Mar 31, 2021
  7. Cylent1

    Cylent1 Community Smart Ass!
    Member

    Joined:
    Oct 5, 2015
    Messages:
    826
    Country:
    United States
    Couldn't a kip file for Atmos be made containing the xci loading instructions?
    Could it be that simple?
     
  8. chronoss

    chronoss GBAtemp Addict
    Member

    Joined:
    May 26, 2015
    Messages:
    2,497
    Country:
    Congo, Republic of the
  9. MasterJ360

    MasterJ360 GBAtemp Addict
    Member

    Joined:
    Jan 10, 2016
    Messages:
    2,244
    Country:
    United States
    Well yes b/c he never includes anything to allow atmosphere to install piracy. The sigpatches were made from someone else.
     
    RednaxelaNnamtra likes this.
  10. mspy

    mspy GBAtemp Regular
    Member

    Joined:
    Jul 29, 2018
    Messages:
    151
    Country:
    Brazil
    Sure... but to me that looks more like an excuse so he can have a 'free pass' on what he does... he could as easily make it so Atmosphere would not work with any type of sigpatches whatsoever and he doesn't.
     
  11. mrdude

    mrdude GBAtemp Maniac
    Member

    Joined:
    Dec 11, 2015
    Messages:
    1,133
    Country:
    List of homebrews not working with patched license boot.dat

    SX Dumper
    SX Save Manager
    Tinfoil

    All these must have SXOS license checks, maybe there is a place missed in boot.dat that needs patched, or these homebrews can also be patched. Probably other SX based homebrews don't work - but I didn't check, these are the ones that were already on my switch that work with a non-patched boot.dat and valid license.

    Also @Reacher17

    Let me suggest you add this to your script (python 3.9), so that users don't need to manually install packages:

    Code:
    import subprocess
    import sys
    import pip
    
    reqs = subprocess.check_output([sys.executable, '-m', 'pip', 'freeze'])
    installed_packages = [r.decode().split('==')[0] for r in reqs.split()]
    
    #print(installed_packages)
    
    def install():
        try:
            if not 'pycryptodome' in installed_packages:
                pip.main(['install', "pycryptodome"])
            if not 'pycryptodomex' in installed_packages:
                pip.main(['install', "pycryptodomex"])    
     
        except ImportError:
            print("Can't install pycryptodome or pycryptodomex")
    
    install()
    
    
    Zip file contains modded script to check for those packages and install them if they are missing.

    Thanks
     

    Attached Files:

    Last edited by mrdude, Mar 31, 2021
    crazy_p and Reacher17 like this.
  12. Inaki

    Inaki GBAtemp Regular
    Member

    Joined:
    Jan 23, 2014
    Messages:
    256
    Country:
    Wait, license embedded too ? so no need to put license.dat on root of sdcard ? That's cool... please confirm. Thank you.
     
  13. mrdude

    mrdude GBAtemp Maniac
    Member

    Joined:
    Dec 11, 2015
    Messages:
    1,133
    Country:
    No - licence.dat gets created automatically and there's no need to mod the script by adding a fingerprint, just copy the generated licence.dat and patched boot.dat (once the script is run) to the sd card root dir and launch with sxos payload.
     
    crazy_p, said31, Inaki and 1 other person like this.
  14. shanefromoz

    shanefromoz GBAtemp Advanced Maniac
    Member

    Joined:
    Jun 18, 2007
    Messages:
    1,759
    Country:
    Australia
    Good work mate
     
  15. Inaki

    Inaki GBAtemp Regular
    Member

    Joined:
    Jan 23, 2014
    Messages:
    256
    Country:
    Cool, thank you :)
     
    mrdude likes this.
  16. flowlapache

    flowlapache GBAtemp Regular
    Member

    Joined:
    Sep 7, 2010
    Messages:
    116
    Country:
    France
    Wouhouhou "Cocorico" froggy powaaaa! Congratulations @Reacher17!!!!:vul2:
    Everybody wanted it but you are the one who did it!!
    So nice !
     
  17. Ghassen-ga

    Ghassen-ga GBAtemp Advanced Fan
    Member

    Joined:
    Jul 21, 2016
    Messages:
    773
    Country:
    I just want the XCI loading thing to be implemented into a homebrew or atmos , so i don't have to use SX OS again or to wait for their updates .. Thank you for the hard work guys !
     
    Moko, mathew77 and FR0ZN like this.
  18. chronoss

    chronoss GBAtemp Addict
    Member

    Joined:
    May 26, 2015
    Messages:
    2,497
    Country:
    Congo, Republic of the
    nobody working on that :(
     
  19. lordelan

    lordelan GBAtemp Psycho!
    Member

    Joined:
    Jan 4, 2015
    Messages:
    4,978
    Country:
    Germany
    I had a license ever since but always wanted one for my friend since it's no longer available for purchase so in his name (he's not a member here): Thank you very much.
    From me personally: You did what many ppl tried without success so my respect. Also that you didn't stop although everyone here was poisoning around. :) Good job.

    The only thing left to make everyone completely happy would be an XCI loader for Atmosphère but I don't know how much this (what you accomplished) could help with this since there is some sort of sysmodule of SX OS that has to be ported to Atmosphère in order for this to work (afair).
     
    BigOnYa, tabzer, DaBlackDeath and 4 others like this.
  20. DPyro

    DPyro GBAtemp Fan
    Member

    Joined:
    Oct 17, 2008
    Messages:
    342
    Country:
    Canada
    If anyone actually cared about the XCI loader they could create their own format like cso for psp and a separate driver to mount them.
     
    mikefor20 likes this.
Draft saved Draft deleted