Account Transfer

*This guide only applies to transferring accounts from one mobile device to another. For the PC version, see DMM GAMES PC Version.*

**Account transfer** (Japanese: 引き継ぎ, *Hikitsugi*, literally means inheritance) allows players to transfer account data to a new device using, its transfer ID (引き継ぎ用ID, "recovery code") and password (パスワード), so that the account data can be recovered in case of app uninstallation/device damage etc.

## Transfer ID and Password

*For a step-by-step visual guide to setting your password, see First Time Start-up Guide*

Every new account has a fixed and unique transfer ID, which can be found in the Settings Menu. After completing the tutorial, players can set their transferring password from this menu.

Note: changing password does **not** require the current (old) password!

Both the transfer ID and password should be **written down** and kept safe and **secret** - this is different from the Player ID and is **required** to transfer (log into) a game account.

## How to Transfer

Once the transfer is complete, the account can only be accessed from the new device.

*Besides, transferring apparently replaces the account on your device - the old account will be replaced with the new one. Therefore, if you still want to keep the old account from being lost, check for whether its password has been set before transferring the new account.*

1) Press the "データ引き継ぎ" (Data Transfer) button on the bottom left of the title page. If this is the first time Magia Record has been run on this device, you will be prompted to accept the Terms and Conditions again.

2) Input your transfer ID and password, then tap "OK" and "引き継ぐ" (Transfer). The game will check for any requisite updates and log the account out of the old device.

## Common Errors

### Invalid Characters

* Japanese: 使用禁止文字列が含まれています

The selected password uses non-permitted text. Only letters (a to z) and numbers (0 to 9) can be used.

### Invalid Password

* Japanese: パスワードは8文字以上15文字以内です

The selected password is too long/short. Passwords must be between 8 and 15 characters long.

### Wrong Transfer ID or Password

* Japanese: 引き継ぎ用IDかパスワードに誤りがあります

The transfer ID and password combination do not match. Check that they have been enterred correctly, and that it is the transfer ID (not player ID) being used.

### Already Transferred

* Japanese: 既に引き継ぎ済のため中止しました

You are transferring the same account yet again.

### Country Code Mismatches

* Japanese: 国コードが一致しません

The game operates using a country code system, whereby each account is tied to a specific country. An account's country code is determined by the **IP address** at the time of **account creation**.

*Country code system was introduced after the event A Diary to Write With You. An account created before that will have its country code determined on its first login as well.*

There's no way to change an account's country code other than contacting the official game support - they do not accept languages other than Japanese however.

Instead of contacting official game support, just as illustrated above, we can make way to force the game client to recreate an new "empty account", which is in other words "resetting the country code".

In order to reset country code to desired value, the IP of the new device must geographically match the country code of the account - i.e., if the account was originally made in the United States, you must (use a VPN if necessary) ensure that your IP belongs to the United States.

**Being an overseas player, you'd better be aware of your country code**, with the help of something like Lookup Guide.

If you do not know the country code of your account, you have no choice but to "brute-force" it out. You have to redo the cumbersome trial-and-error process of "reset country code - attempt transfer - (if it fails) start over by resetting to a different country code" over and over again until you meet the correct answer.

#### Precaution before resetting country code

You must ensure your IP address matches with your account's country code (by using VPN, if necessary) **before** proceeding.

Otherwise, the country code could be reset to an undesired value.

#### Reset Country Code - By Clearing App Data

Firstly, connect to a VPN corresponding to your account's country code.

Clearing App Data via the device's App management will clear all downloaded data files and resets it to "fresh install" status, so that the country code is reset at the same time.

Apparently, as the app is reset to new, all extra data files will need to be re-downloaded which can take considerable time.

#### Reset Country Code - With Rooted Android Device/Emulator

**Please take care when deleting any files as deleting the wrong files can cause irreparable damage**
If you are using a rooted Android device (can be any emulator) or Bluestacks Emulator, the country code can be reset by deleting two files:

`/data/data/com.aniplex.magireco/shared_prefs/Cocos2dxPrefsFile.xml`

`/data/data/com.aniplex.magireco/files/madomagi/C5XyOsaM.json`

**WARNING:** these two files are not the country code itself. They actually stores the access token which allows you to login with the current account. However this is safe as long as you have your account's password set.

For a **Rooted Android Device**, download a Root Access capable File Explorer (File Explorer Root Browser) on the device and access the Root Directory `/`. The app will ask for you to give access to the files, press Allow. Navigate to the above two files and delete them. Keep in mind that the `madomagi/` directory may contain a lot of JSON files, so make sure you delete the correct one.

For **Bluestacks**, download and install Bluestacks Tweaker to your computer, open Bluestacks Tweaker, and go to the FM (File Manager) tab, navigate to the above two files, right click the files, and select Delete to delete.

**After the** **two files are deleted**, connect your VPN to the correct country of the account you're transferring to, then after force quitting the game, reopen the game and enter the transfer details for the account.

#### Reset Country Code - By Transferring Out The Account

If you do not have access to a rooted Android device/emulator, there's still a simple workaround:

1. Connect to the VPN of correct country if necessary (**important**);
2. Transfer the currently logged-in account onto another device;
3. After the currently logged-in account is transferred out, the device now has no logged-in account, so that the country code is reset.

#### Reset Country Code - Through Account Deletion

Generally this method is only used with the DMM\_GAMES\_PC\_Version, and even in that case it would still be much easier and safer to just open a new DMM account. If you still strongly wish to keep using an existing DMM account, unfortunately this **dangerous** method is your only choice.

**WARNING**: Deleting MagiReco account is **irrecoverable**.

tl; dr: **Do not use this method.**

If your DMM account hasn't successfully bound to any MagiReco account yet, you should find the fact that the game is having a fresh start with a brand-new account: you should see the unskippable basic gameplay tutorial - in this case, you can sacrifice such brand-new account as it doesn't contain any valuable content.

Otherwise: if you are aware that your DMM account is already bound to a valuable MagiReco account *(so that you obviously don't want to delete it)*, you may create a brand-new "sacrificial" account with another device (like an ordinary Android emulator), so that you can bind that sacrificial account to your DMM account and then delete it.

**Do not proceed if you haven't fully understood what you are doing.**

1. Connect to the VPN of correct country if necessary (**important**);
2. Go through the unskippable basic gameplay tutorial if you haven't done it;
3. Navigate to the in-game settings to request the server to delete the account (`プレイヤーデータ削除`). **You should stop here! Deletion is deletion, once deleted, there will be no way to recover it!** Therefore, make sure you are just deleting the sacrificial account.
4. You will then be asked to confirm deletion by providing the Player ID (`プレイヤーID`)
5. Once account deletion is completed, your DMM account will has its country code reset.
	* **After account deletion, you must relaunch the game before doing anything like transferring**, otherwise you then have to redo transferring yet again later. *This happens because the access token is temporarily reset to a newly randomly generated one which is not bound to the DMM account, which should be a bug.*

*This method actually works in non-DMM situations as well. However, since it's very dangerous, it's rational to discourage it.*

## Rare Errors

### Unexpected Error - Code 401

As the message suggests, some unexpected error happened.

The red button at the bottom of screen says "go to TopPage".

One possible reason is because the current device has no logged-in account. This happens only in edge cases. If that's the case, after relaunching the game (or just click the "go to TopPage" button), the problem should go away.

## See Also

* DMM GAMES PC Version - bind your accounts to the DMM PC version
* Country Code Lookup - Magia Record Chinese Wiki (page content in English)