[Request] [Tutorial] Import maFile from iDevices
See original GitHub issueRequirements
- Jailbroken iDevice (NOT ENTIRELY SURE, YOU MAY BE ABLE TO DO THIS WITHOUT JB)
- File browser tweak on your iDevice (Filza recommended)
- Notepad++ along with plugin called NppBplistPlugin, however currently it’s labeled as Notepad++ bplist plugin within the plugin manager. We need this to view the downloaded contents of our downloaded file from
.../Documents/Steamguard/
.
Important locations & files
/var/mobile/Containers/Data/Application/F7CE8###-####-####-####-############/
is the Steam app folder- The root folder (listed above) contains a file named
.com.apple.blablabla.plist
which has our device_id .../Documents/Steamguard
contains the file(s) we need to create the .maFile
Tutorial
Gathering required files and information
- Note, if you’re using Filza, make sure to toggle “WebDAV Server” within the app’s settings.
- On your iDevice, open Filza or any other tweak/app to browse your filesystem to the Steam app folder. Location is listed above, ignore the
#
, it’s there for my privacy in case folders are unique. - Either using the WebDAV server within Filza or other means, download the files under
.../Documents/Steamguard
. Do not rename them or anything to be safe. We will use this to create our .maFile manually as SDA currently does not support iDevice imports. - Now we need to get our unique device id. Go back to the root Steam application folder and I’d recommend simply tapping to open the only .plist file there (see above for partial name). Next, tap
Root
to expand the menu and tap thei
in theMCMMetadataUUID
variable. Copy the value and send it to yourself. OR you can download that file as well and I’m sure using Notepad++ you can still retrieve the UUID.
- It’s important to get the UUID located within the .plist as our actual devices UUID is not equal the UUID within the .plist file. Better safe then sorry.
Creating our .maFile to import
- If you haven’t already, download Notepad++ and install the Notepad++ bplist plugin via the plugin manager.
- Open the downloaded Steamguard-YourSteamIDHere file using Notepad++. Scroll down to where you see
<string>shared_secret</string>
. From here I recommend labeling each variable and it’s value. Do not save the file should you choose to modify the file. Click here to see an example on how I labeled my file. I highly doubt these 24 lines will change it’s order. Keep in mind, the first 12 lines, as shown in the picture, represent the variables, followed by the next 12 lines whose values are assigned to the variables above. - Create a new file called
_STEAMID_.maFile
, make sure to scroll up and select All files as the file type, and preferably through Notepad++ and not windows explorer/notepad. Save the file within the folder maFiles, if it’s not there, make it. - Using the .maFile’s manifest listed below under the Manifiest Template headline and copy & paste the necessary values. Copy values from your downloaded Steamguard - SteamID and replace the
REPLACEME
text.
- IF
REPLACEME
IS WITHIN QUOTATIONS, MAKE SURE TO KEEP THE QUOTES!
Importing our .maFile
- By this step, you should have no longer have any
REPLACEME
occurrences within your newly created .maFile (located within.../SteamDeskAuth/maFiles
)
- Open SDA. Click File -> Import Account -> From maFile
- Don’t enter anything into the text box as we never set any encryption, yet.
- Click “Select .maFile…” and browse to and select the newly created .maFile, located within
/SDA/maFiles
if you followed my instructions.
Encryption - Optional
- Personally I haven’t done this yet but I’m 99% sure it will work.
- Within the account list box, make sure to select the account you wish to encrypt.
- Click Setup Encryption and follow the steps, simple right?
- If you regret this, after clicking setup encryption, just hit cancel
Final Remarks
Well, we’re done! You should have and hopefully successfully the steam guard auth code from your iDevice to SDA. Make sure you double check to see if the code displayed on your iDevice corresponds with the code within the SDA application. I’m not sure if device_id
matters when creating .maFile, but when using SDA to setup a new account, it generates a new and random value. For instance, when setting up the same steam account, twice, it’s device_id
value was assigned android:###blablabla###
.
.maFile Template
{"shared_secret":"REPLACEME","serial_number":"REPLACEME","revocation_code":"REPLACEME","uri":"REPLACEME","server_time":REPLACEME,"account_name":"REPLACEME","token_gid":"REPLACEME","identity_secret":"REPLACEME","secret_1":"REPLACEME","status":1,"device_id":"iphone:REPLACEME","fully_enrolled":true,"Session":{"SessionID":"","SteamLogin":"","SteamLoginSecure":"","WebCookie":"","OAuthToken":"","SteamID":REPLACEME}}
- Make sure to select all and copy, or visit https://pastebin.com/raw/NsMNFiAB and
CTRL+A
- Make sure to replace all occurrences of
REPLACEME
respectively.
manifest.json Template - Not needed
{"encrypted":false,"first_run":false,"entries":[{"encryption_iv":null,"encryption_salt":null,"filename":"REPLACEME.maFile","steamid":REPLACEME},{"encryption_iv":null,"encryption_salt":null,"filename":"REPLACEME.maFile","steamid":REPLACEME}],"periodic_checking":false,"periodic_checking_interval":5,"periodic_checking_checkall":false,"auto_confirm_market_transactions":false,"auto_confirm_trades":false}
- Ignore, only here for reference or for someone who doesn’t have the file.
- If you don’t have the file, create it just as you created .maFile, but instead name the file
manifest.json
. - If you want to add more accounts, after the element within entries, added a comma followed by
{"encryption_iv":null,"encryption_salt":null,"filename":"REPLACEME.maFile","steamid":REPLACEME}
- However, it’s easier to just import the .maFile
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:35
Top GitHub Comments
As of the Steam Mobile App update on Oct 13 2022, this method doesn’t work anymore. The authentication system got a rework. Only thing I can find in the Documents folder is a log file named ‘current.txt’.
https://gist.github.com/melvyn2/aaf514254f87d7f44b8140537cce6c87 is a python script that will convert your maFiles to the iOS format. You’ll need to have a working python3 installation, with pip. The script requires bpylist, which you can install by running
pip3 install bpylist
. Start by downloading the script, then copying your target maFile to the same folder as the script (you don’t need to copymanifest.json
). Run the script withpython3 convert.py your_steamid_here.maFile
, replacingyour_steamid_here
with your steamid, or whatever the maFile is named. The script will create a file namedSteamguard-your_steamid_here.plist
, which is the file that you can put in the documents folder of steam on your phone. Simply follow the instructions given before, but place the file into the Documents folder instead of copying it out.