1. Phenj

    Phenj GBAtemp Fan
    Member

    Joined:
    May 22, 2018
    Messages:
    442
    Country:
    Italy
    @ShinyMK Really awesome guide, however, what do you mean by "Type the following in Bold"? How do you type bold in a cmd
     
  2. PRAGMA

    OP PRAGMA GBAtemp Addict
    Member

    Joined:
    Dec 29, 2015
    Messages:
    2,191
    Country:
    Ireland
    It means, type what is bold and ignore whats not bold :P
     
  3. Phenj

    Phenj GBAtemp Fan
    Member

    Joined:
    May 22, 2018
    Messages:
    442
    Country:
    Italy
    Now, dll load failed the specified module could not be found
    what the hell?

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

    [​IMG]
     
  4. Znuf

    Znuf Advanced Member
    Newcomer

    Joined:
    Nov 10, 2017
    Messages:
    52
    Country:
    Switzerland
    Can work on linux ?

    The script didn't load :-/

    anyway, work well on VM
     
    Last edited by Znuf, Jun 15, 2018
  5. Phenj

    Phenj GBAtemp Fan
    Member

    Joined:
    May 22, 2018
    Messages:
    442
    Country:
    Italy
    Same problem. Have you found any fix?
     
  6. Zeno12

    Zeno12 Member
    Newcomer

    Joined:
    Jun 15, 2018
    Messages:
    19
    Country:
    United Kingdom
    Im also having some issues with the keys.py file. When i run the command 'python keys.py' i get a syntaxError 'Missing parentheses in call to 'print'. Did you mean print (message)?'. The error seems to be in 'line 259 print message'. Any help would be appreciated, thanks.
     
  7. Nitsuka

    Nitsuka Member
    Newcomer

    Joined:
    Jan 28, 2016
    Messages:
    24
    Country:
    France
    @Zenol12 : You need to install python 2, not python 3.
    So nobody have an advice for the error I have ? I'm not the only it seems :/
     
  8. PRAGMA

    OP PRAGMA GBAtemp Addict
    Member

    Joined:
    Dec 29, 2015
    Messages:
    2,191
    Country:
    Ireland
    Follow instructions properly. You didnt put sbk and tsec
     
  9. Phenj

    Phenj GBAtemp Fan
    Member

    Joined:
    May 22, 2018
    Messages:
    442
    Country:
    Italy
    anyone with the "ImportError" after doing "python keys.py"?
     
  10. Dvdxploitr

    Dvdxploitr GBAtemp Advanced Fan
    Member

    Joined:
    May 24, 2008
    Messages:
    703
    Country:
    United States
    I can get to the part where it says "you can now use hactool --keyset=keys.txt" but when I type that in, it just gives an error saying "unable to open: Invalid Argument"
     
  11. mcmrc1

    mcmrc1 Member
    Newcomer

    Joined:
    Mar 11, 2018
    Messages:
    49
    Country:
    Germany
    I had also the issue with the BOOT0.bin problem. I had Python 3.x installed instead 2.7. So i deinstalled the 3.x and installed the 2.7 and checked the add to path option.
    After a restart i opened cmd as admin again and typed - > pip install lz4 -> Got error because of missing visual c++ 9.0 -> Get it here -> h t t p://aka.ms/vcpython27 < installed it and
    run the -> pip install lz4 - command again but succesfully.

    Last but not least -> python keys.py <YOUR SBKSecureBootKey here> <YOUR TSEC key here> BUT without the <> !!!
    example -> python keys.bin 0000000000000000 111111111111111111

    Now it worked fine :)
     
    Last edited by mcmrc1, Jun 15, 2018
  12. Phenj

    Phenj GBAtemp Fan
    Member

    Joined:
    May 22, 2018
    Messages:
    442
    Country:
    Italy
    I'm getting the error from the "python keys.bin" command, not from "pip install lz4". Have you got any idea why?
     
  13. mcmrc1

    mcmrc1 Member
    Newcomer

    Joined:
    Mar 11, 2018
    Messages:
    49
    Country:
    Germany
    python keys.py not python keys.bin

    What exactly says the error ? It is something like print argument fail ?
     
  14. Zeno12

    Zeno12 Member
    Newcomer

    Joined:
    Jun 15, 2018
    Messages:
    19
    Country:
    United Kingdom
    Thanks man that seems to be it!
     
  15. Phenj

    Phenj GBAtemp Fan
    Member

    Joined:
    May 22, 2018
    Messages:
    442
    Country:
    Italy
    that was a typo, i meant keys.py ofc xD
    wait
    [​IMG]
     
  16. DJT1M/T1MLPD3

    DJT1M/T1MLPD3 Member
    Newcomer

    Joined:
    Dec 27, 2015
    Messages:
    27
    Country:
    Netherlands
    Okay, i've also successfully dumped the keys, the python script was successful, but when i want to run hactool i get this

    upload_2018-6-15_23-11-53.png
     
  17. mcmrc1

    mcmrc1 Member
    Newcomer

    Joined:
    Mar 11, 2018
    Messages:
    49
    Country:
    Germany
    Its a different error... I would deinstall python completely and install python 2.7 again. DONT forget the checkbox for using the path @ installation !
    After a restart test the command again -> Dont forget to start cmd with admin rights ! -> pip install lz4 <- this must be installed without a error ->
    "You are using pip version 7.0.1, however version 10.0.1 is available." <- I didnt update the pip... Just test now again if -> python keys.py is working now.
    If not you can test to update the pip -> pip install --upgrade pip
     
  18. DJT1M/T1MLPD3

    DJT1M/T1MLPD3 Member
    Newcomer

    Joined:
    Dec 27, 2015
    Messages:
    27
    Country:
    Netherlands
    what python version do you use?
     
  19. Phenj

    Phenj GBAtemp Fan
    Member

    Joined:
    May 22, 2018
    Messages:
    442
    Country:
    Italy
    Sadly, i've already tried everything you said...


    pip install lz4 results in this:
    C:\Users\fakeusername\Desktop\hactool>pip install lz4
    Requirement already satisfied: lz4 in c:\python27\lib\site-packages (2.0.0)
    Requirement already satisfied: future in c:\python27\lib\site-packages (from lz4) (0.16.0)
     
  20. Nitsuka

    Nitsuka Member
    Newcomer

    Joined:
    Jan 28, 2016
    Messages:
    24
    Country:
    France
    Same here, using Python 2 and putting the correct SBK and TSECKey but still got the same error with boot0.bin and key not matched :/
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Decrypting, Hactool, Switch