[WIP] SafeSysUpdater

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

  1. cpasjuste
    OP

    cpasjuste GBAtemp Fan

    Member
    440
    638
    Aug 27, 2015
    France
    Hi,

    Since some people seems to wait for a safer downgrader, i did one in a few hours. This is a fork of sysupdater, with a few things added which should prevent some errors (wrong region downgrade pack, corrupted downloads...) :

    - automatically load update information (needed files, md5) based on your 3ds model and region
    - md5 check all the cia update files before downgrading
    - can check your update files without actually downgrading

    To use it you have to :

    - Put SafeSysUpdater.3dsx somewhere you can launch it...
    - Put your downgrade pack as usual ("/updates/*.cia")
    - Launch it multiple times until it pass the black screen (hax)...
    - Pray

    • DOWNGRADE PROCESS IS NEVER 100% SAFE
    • BE SURE TO REMOVE THE UPDATE NAG BEFORE DOWNGRADING : HERE
    • SOME TIPS TO PREVENT A BRICK : HERE

    Notes:

    - If it freeze just after you press (Y) to downgrade or "init ->" more than 1 second, restart..
    - The 9.2 JPN package is in fact a 9.1 package, no problem with this..

    Changes :
    - v1.0: add new hax for FW > 10.3
    - v1.0: downgrade browser and homemenu last (but before native_firm)
    - v1.0: few bug fix and improvements
    - v09: add downgrade logs ("/SafeSys.log")
    - v09: only md5 check downgraded files
    - v09: remove sysupdater dependency
    - v08: fix JPN files path..
    - v07: finally fixed the input freeze... by removing this second confirmation screen.
    - v06: try to fix input freeze... again
    - v05: minor input fix
    - v04: added japan support (with bad title skipping)
    - v03: big improvement in hax success rate
    - v02: Add simulation mode to check your update files without actually downgrading
    - v01: Removed the config files, just put the ".3dsx" file somewhere and downgrade... and pray.
    - v01: Added a CIA version to downgrade from emunand so you don't need to try hard to get the hax to succeed (so it's just for testing/reporting bugs). Testing this will ensure the MD5 for each regions/models (only o3DS/n3DS USA/EUR for now) and downgrade process is correct/working. Thanks for reports !

    Credits:
    - profi200 for sysUpdater
    - @Steveice10 and all people involved for memchunkhax2

    Source code : https://github.com/Cpasjuste/SafeSysUpdater

    [​IMG] [​IMG]
     

    Attached Files:

    Last edited by cpasjuste, Mar 10, 2016


  2. Coleman_C18

    Coleman_C18 GBAtemp Fan

    Member
    429
    278
    Sep 1, 2015
    United States
    Solid work man, I'm already downgraded but these safety checks should be good at stopping most User-Errors :)
    Way to step up and seize the opportunity haha.
     
    NoNAND likes this.
  3. cpasjuste
    OP

    cpasjuste GBAtemp Fan

    Member
    440
    638
    Aug 27, 2015
    France
    Thanks. You know why i did this isn't it ;)
     
    NCorp., JJTapia19 and Coleman_C18 like this.
  4. Damon_girl

    Damon_girl GBAtemp Advanced Fan

    Member
    886
    191
    Oct 27, 2015
    United States
    I was just about to downgrade until I saw this, so I think I'll wait until it's okay to use this instead!
     
  5. cpasjuste
    OP

    cpasjuste GBAtemp Fan

    Member
    440
    638
    Aug 27, 2015
    France
    I think it can be a good idea. If people with an hardmod confirm that it does work correctly, then it will be (a little) safer to use this. But for now it's not :)
     
    Last edited by cpasjuste, Jan 10, 2016
  6. Coleman_C18

    Coleman_C18 GBAtemp Fan

    Member
    429
    278
    Sep 1, 2015
    United States
    Avenge me @cpasjuste and use this as your boot icon.
    [​IMG]
     
    Last edited by Coleman_C18, Jan 10, 2016
    NCorp., Luglige, CeeDee and 5 others like this.
  7. kje123

    kje123 this title is false

    Member
    385
    229
    Aug 9, 2015
    United States
    Seattle
    Maybe people will shut up about KTM after this is released. (Probably not :) )

    Seriously tho, godspeed man. :D
     
  8. Aahz

    Aahz Member

    Newcomer
    41
    23
    Dec 7, 2007
    United States
    This is exactly what the downgrade process needs as the very heart of it involves magically acquiring files via nudges and winks.
     
    Kafke likes this.
  9. Damon_girl

    Damon_girl GBAtemp Advanced Fan

    Member
    886
    191
    Oct 27, 2015
    United States
    Great!! Also, I have a quick question. I'm downloading 9.20.0U(full).zip for my O3DS. Is it supposed to be roughly 11GB in size because my computer says that it is.
     
  10. Coleman_C18

    Coleman_C18 GBAtemp Fan

    Member
    429
    278
    Sep 1, 2015
    United States
    O_O 11GB?! Try somewhere in the 300mb range

    Edit: 120mb range*
     
    Last edited by Coleman_C18, Jan 10, 2016
  11. DarkenedMatter

    DarkenedMatter GBAtemp Fan

    Member
    483
    276
    Jul 26, 2013
    United States
    It's a shame I already downgraded via the unsafe method. Plus I don't have a hardmod or else I would try.
     
  12. Yangarang

    Yangarang GBAtemp Regular

    Member
    185
    68
    Nov 14, 2015
    Australia
    Both my O3DS and my friend's O3DSXL have been downgraded already but since I was going to get a 2DS to fuck around with (hardmod, etc) I think I'll definitely give this a try
     
  13. Damon_girl

    Damon_girl GBAtemp Advanced Fan

    Member
    886
    191
    Oct 27, 2015
    United States
    I thought so. My zip file says system.zip so I must not be doing this right.
     
  14. DKB

    DKB FUCK OFF

    Member
    1,233
    1,155
    May 29, 2015
    United States
    New York City, Manhattan
    More like 120MB range. Haha. 11GB is insane.

    Also, nice work on this OP. :)
     
    Coleman_C18 likes this.
  15. cpasjuste
    OP

    cpasjuste GBAtemp Fan

    Member
    440
    638
    Aug 27, 2015
    France
    The "9.2.0-20U(Full).zip" is around 173Mb. The thing is if you don't have the correct files you won't brick with this as it won't let you downgrade without the correct files. (but still needs to be tested by hardmod's before)
     
    Last edited by cpasjuste, Jan 10, 2016
  16. Damon_girl

    Damon_girl GBAtemp Advanced Fan

    Member
    886
    191
    Oct 27, 2015
    United States
    Got it fixed! :) So the question is...should I go ahead and downgrade or wait for safesysUpdater to be finished?
     
  17. cpasjuste
    OP

    cpasjuste GBAtemp Fan

    Member
    440
    638
    Aug 27, 2015
    France
    You need to wait for people to report (or you can use the normal sysupdater if you are sure of your files, it will be safer for now). For me it's ready, but it may have some bugs i didn't spot...
     
  18. Damon_girl

    Damon_girl GBAtemp Advanced Fan

    Member
    886
    191
    Oct 27, 2015
    United States
    Definitely waiting then! I hope we'll be alerted when this is done.
     
  19. KaduPSE
    This message by KaduPSE has been removed from public view by Veho, Jan 10, 2016, Reason: Clever, but no.
    Jan 10, 2016
  20. Damon_girl

    Damon_girl GBAtemp Advanced Fan

    Member
    886
    191
    Oct 27, 2015
    United States
    I got the mega link off of youtube since I couldn't find it on that site that I went to. It has 127 files in the zip folder. Is that the correct amount, or is it supposed to be 130?
     
  21. Pikasack

    Pikasack What is a title

    Member
    632
    203
    Apr 27, 2015
    Canada
    If it has a folder named updates and 126 files in it, that looks like it.

    Scan the MD5 and compare it to this list.

    Checksums
     
    Last edited by Pikasack, Jan 10, 2016