How does sysupdater work?

Discussion in '3DS - Homebrew Development and Emulators' started by olec04, Jan 31, 2016.

  1. olec04
    OP

    olec04 Working on Project Heaven!

    Banned
    851
    142
    Apr 10, 2015
    United States
    Trying to downgrade on 11.0 via AM services
    all in the title
     
  2. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    The question's a bit vague. Are you asking for the technical way it works, or just a general overview as to what it does?
     
    olec04 likes this.
  3. olec04
    OP

    olec04 Working on Project Heaven!

    Banned
    851
    142
    Apr 10, 2015
    United States
    Trying to downgrade on 11.0 via AM services
    sorta both
     
  4. VaiCorunthians

    VaiCorunthians GBAtemp Fan

    Member
    457
    214
    Oct 7, 2014
    Brazil
    magic
     
  5. olec04
    OP

    olec04 Working on Project Heaven!

    Banned
    851
    142
    Apr 10, 2015
    United States
    Trying to downgrade on 11.0 via AM services
    doesnt seem like magic
     
  6. Rosselman

    Rosselman Spooky Skeleton

    Member
    453
    238
    Oct 29, 2015
    Cote d'Ivoire
    Santiago
    It just installs system CIAs, to the NAND (Be it sysNAND or emuNAND). It can upgrade or downgrade the system titles.
     
  7. Allahu_Spooky_Cena

    Allahu_Spooky_Cena Advanced Member

    Newcomer
    97
    63
    Oct 15, 2015
    England
    Sysupdater uses memchunkhax2 to get arm11 kernel code execution, then it uses AM services to delete most of the system titles and then installs older ones.
     
    olec04 and _D1360_ like this.
  8. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    Well, the overview is simple: It downgrades or upgrades your system firmware as desired, by installing a set of CIAs that you provide.

    @Allahu_Spooky_Cena provided a sufficient answer as well, unless you really, really want to know the precise names of the AM calls used/what order and such, in which case, I suggest reading the source code at https://github.com/profi200/sysUpdater (but note that profi's repo doesn't have the memchunkhax2 stuff in it as far as I know, so you'll need to look elsewhere).
     
  9. SANNIC789

    SANNIC789 GBAtemp Advanced Fan

    Member
    704
    91
    Oct 3, 2015
    United States
    its open source
     
  10. escequi

    escequi GBAtemp Regular

    Member
    292
    52
    Apr 4, 2014
    Brazil
    Osasco, Sao Paulo
    So it deletes everything before installing the .cias? Wouldn't it be more brick safe to do something like deleting and installing one title at a time?
     
    _D1360_ likes this.
  11. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,546
    3,955
    Jun 9, 2007
    Antarctica
    It deletes and then installs right away, step by step.
     
  12. escequi

    escequi GBAtemp Regular

    Member
    292
    52
    Apr 4, 2014
    Brazil
    Osasco, Sao Paulo
    Oh, ok, my english isn't the best, so you're saying that it does title by title right?
     
  13. olec04
    OP

    olec04 Working on Project Heaven!

    Banned
    851
    142
    Apr 10, 2015
    United States
    Trying to downgrade on 11.0 via AM services
    yeah
     
    escequi likes this.
  14. Favna

    Favna #PCMasterRace

    Member
    809
    391
    Sep 12, 2009
    Netherlands
    for the memchunkhax part just watch Smea, Plutoo and Derrek's presentation at 32c3:


     
  15. olec04
    OP

    olec04 Working on Project Heaven!

    Banned
    851
    142
    Apr 10, 2015
    United States
    Trying to downgrade on 11.0 via AM services
    nice
     
  16. Favna

    Favna #PCMasterRace

    Member
    809
    391
    Sep 12, 2009
    Netherlands
    It starts at around 15 minutes btw so you can skip ahead till that part. It's long but if you want to understand the technicalities it's a must watch ;)
     
  17. olec04
    OP

    olec04 Working on Project Heaven!

    Banned
    851
    142
    Apr 10, 2015
    United States
    Trying to downgrade on 11.0 via AM services
    I know I watched all of it

    — Posts automatically merged - Please don't double post! —

    my reaction to plutoo's face and accent :wtf:
     
  18. Carnelian

    Carnelian Some Random On The Internet

    Member
    261
    68
    Aug 10, 2015
    Canada

    Thanks for the video link