How to use the eid root key to mount HDD?

Discussion in 'Help & Support' started by Nomeji, Jan 8, 2018.

  1. 32
    9
    37
    Nomeji

    Nomeji Member

    Joined:
    Mar 3, 2015
    Messages:
    32
    Likes Received:
    9
    Trophy Points:
    37
    Location:
    France
    Home Page:
    I've read online that it's useful to backup your eid root key in case you mess up with files on PS3 HDD and it won't boot so you can fix that on your PC afterwards. So I did.

    But how too mount the PS3 HDD using the eid root key then?
    As far as I understand, the eid root isn't just a decryption key but I actually need a proper explanation here if possible.
     
  2. 9,870
    3,768
    472
    pinky

    pinky Bitsiboo's Other Half Developer

    Joined:
    Mar 8, 2015
    Messages:
    9,870
    Likes Received:
    3,768
    Trophy Points:
    472
    Gender:
    Male
    Location:
    The Great Gig in the Sky
    I think it's under conversion tools in ps3 tools.
     
  3. 2,391
    3,347
    372
    aldostools

    aldostools Developer Developer

    Joined:
    Oct 30, 2014
    Messages:
    2,391
    Likes Received:
    3,347
    Trophy Points:
    372
    The eid root key is a per console key required to decrypt the content of the HDD.

    Use Rebug Toolbox to get the eid_root_key file. You must put that file in the same folder of the PS3 HDD Reader for Windows developed by 3141card. That tool (ps3.exe) and the GUI that I created (ps3_hdd_gui.exe) can be found in this path: %userprofile%/ps3tools/ps3tools/tools

    NOTE: When you attach the HDD to the PC, Windows will ask to initialize the disk: *DO NOT confirm the initialization*. If you confirm it, the first sector will be overwritten; making the PS3 unable to read the content of the disk again and will prompt to format it.
     
  4. 18
    9
    7
    Till Harpax

    Till Harpax Forum Noob

    Joined:
    Jan 14, 2018
    Messages:
    18
    Likes Received:
    9
    Trophy Points:
    7
    Gender:
    Male
    there is a way to reverse the initialization?
     
    Last edited: Sep 5, 2018
  5. 1,711
    1,529
    272
    Berion

    Berion Developer

    Joined:
    Feb 3, 2015
    Messages:
    1,711
    Likes Received:
    1,529
    Trophy Points:
    272
    Gender:
    Male
    Location:
    rom0:/
    On Windows, simply You cannot. But there is application which read directly connected PS3 HDD with on the fly decryption (only ERK is needed).

    On Linux is a hard way, as bswap16 doesn't compiling on current kernels, You also need kernel with UFS at least read support and decryption key (in one of my post I attached bash script to generate it from ERK; it's a little misleading so choose "slim" option which is fine for all models). I heard that someone create fork of nbpclient for most of the above tasks but I didn't use it yet.

    It is not, not for HDD content but having it, You can generate all decryption keys related to HDD.

    If You didn't press NO button when Windows ask to do it then not... Anyway, there is not any initialization. ;) Windows just writing partition table, overwriting the original one. So You need replace new one created on PS3 by this which Windows write. Of course PS3 will not let You do this without reformat so You are doomed to read sector by sector broken PS3 HDD environment, reformat it on PS3, read partition table (first 2MiB should be enough), wrote back sector by sector HDD image, wrote back partition table dump.

    That's the theory. If You make ANY other changes on this HDD, this will not work.
     
  6. 18
    9
    7
    Till Harpax

    Till Harpax Forum Noob

    Joined:
    Jan 14, 2018
    Messages:
    18
    Likes Received:
    9
    Trophy Points:
    7
    Gender:
    Male
    How could I read the partition table?
    I had been recommended to "read" with WinHex but I do not know how to identify a sector in hexadecimal form only it has a size of 512 bytes but in the editor itself it does not handle it by bytes but by "offset" and "block"
    But apart I do not know if it is enough to just cut and paste hexadecimal values from the clean partition to the partition initialized to fix the partition.
    Could not you give me a tutorial or show me a video of how it's done?
     
  7. 9,870
    3,768
    472
    pinky

    pinky Bitsiboo's Other Half Developer

    Joined:
    Mar 8, 2015
    Messages:
    9,870
    Likes Received:
    3,768
    Trophy Points:
    472
    Gender:
    Male
    Location:
    The Great Gig in the Sky
    512 bytes is 0 to offset 200. I think that's what you mean.
     
  8. 18
    9
    7
    Till Harpax

    Till Harpax Forum Noob

    Joined:
    Jan 14, 2018
    Messages:
    18
    Likes Received:
    9
    Trophy Points:
    7
    Gender:
    Male
    although from 0 to 200 both partitions have the same hexadecimal values, is it mandatory to use Winhex? It is very slow it takes 2 hours to eliminate
    the hexadecimal values regardless of how many blocks are
     
  9. 9,870
    3,768
    472
    pinky

    pinky Bitsiboo's Other Half Developer

    Joined:
    Mar 8, 2015
    Messages:
    9,870
    Likes Received:
    3,768
    Trophy Points:
    472
    Gender:
    Male
    Location:
    The Great Gig in the Sky
    that I don't know. I've never used it.
     
  10. 18
    9
    7
    Till Harpax

    Till Harpax Forum Noob

    Joined:
    Jan 14, 2018
    Messages:
    18
    Likes Received:
    9
    Trophy Points:
    7
    Gender:
    Male
    Anyway, thanks for clarifying that "offten"

    @Nomeji How did you use the Winhex program?
     
    Last edited: Sep 6, 2018
  11. 62
    4
    12
    jbtheworld

    jbtheworld Forum Noob

    Joined:
    Sep 15, 2018
    Messages:
    62
    Likes Received:
    4
    Trophy Points:
    12
    Gender:
    Male
    Occupation:
    Game & file hoarder, cracker, serial applicator
    Location:
    Where the bitches and my ps3 be
    Thank you Aldo for making the GUI of the ps3 hdd reader !!!
    I just mounted my frozen corrupted drive just now,
    after a week of trying not to stress after a cfw/app updating left my ps3 not booting,
    and not repairing-restoring-or updating in recovery,
    and i have had your tools and the originals from 3141card for ages and not needed in past,
    and i was not backed up when the crash occurred and could have lost all my heaps of gamesaves,
    none of which backed up, etc etc....
    Thanks to some legends telling me how to install a new hdd with same Cfw,
    and then getting my root key that way,
    and seeing your above post just now,
    i have mounted the drive! Yahoo!!
    It wasnt mounting before.
    i may not have ran the app as an administrator though!! Rookie mistake lol,
    and not from the location of the tools you described just above (not sure if thats crucial or not!!??)....
    tonight i created that dir structure (%userprofile%/ps3tools/ps3tools/tools) dropped in your port of the app and my eid and boom!

    So, many thanks to you and 3141 card and all you legends :))
     

Share This Page