How to change the storage location of WhatsApp on Android?

How to change the storage location of WhatsApp on Android - briefly?

To change the storage location of WhatsApp on an Android device, you need to move the app to an external SD card. This can be done by going to Settings > Apps & notifications > WhatsApp > Storage & cache > Change. Select the desired location and confirm the change.

How to change the storage location of WhatsApp on Android - in detail?

Changing the storage location of WhatsApp on an Android device can be a bit tricky, as the app does not natively support moving its data folder to another location within the internal storage or external SD card. However, there are workarounds that allow users to achieve this. Here is a detailed guide on how to change the storage location of WhatsApp on your Android device:

Step-by-Step Guide:

  1. Create a Backup:

    Before making any changes, it's essential to back up your WhatsApp data. Go to WhatsApp > Settings > Chats > Chat backup. This will save all your messages and media to Google Drive or local storage.

  2. Install a File Manager:

    If you don’t already have one, install a reliable file manager app from the Google Play Store. Examples include ES File Explorer or Solid Explorer. These apps will help you move files between different storage locations.

  3. Move WhatsApp Data to Desired Location:

    • Open your file manager and navigate to the root directory of your internal storage, typically found at /sdcard/WhatsApp.
    • Select the WhatsApp folder and choose the option to move or copy it.
    • Navigate to your desired storage location, which could be another folder within the internal storage or on an external SD card (e.g., /sdcard/external_sd/WhatsApp).
    • Move the WhatsApp folder to this new location.
  4. Create a Symbolic Link:

    • After moving the folder, you need to create a symbolic link in the original WhatsApp data path to point to the new location. This can be done using an app like "Link2SD" or by manually creating a symlink if your device is rooted.
    • If you are using Link2SD: Open the app, go to the 'Create' tab, and select 'Symbolic link'. Choose the original WhatsApp path (/sdcard/WhatsApp) and point it to the new location (e.g., /sdcard/external_sd/WhatsApp).
    • If your device is rooted: Use a terminal emulator app and run the following command:
      ln -s /sdcard/external_sd/WhatsApp /sdcard/WhatsApp
  5. Restore Backup:

  6. Verify the Change:

    • Open WhatsApp and ensure that everything is working correctly. All your messages, media, and settings should be intact.

Important Considerations:

  • Root Access: Some steps require root access to create symbolic links manually. Rooting your device can void warranties and may pose security risks. Proceed with caution if you choose this route.
  • App Permissions: Make sure WhatsApp has the necessary permissions to read and write data in the new storage location. You can adjust these settings in your device's app management settings.
  • Regular Backups: It’s a good practice to regularly back up your WhatsApp data, especially before performing any significant changes like this.

By following these steps, you can effectively change the storage location of WhatsApp on your Android device, allowing for better management of your internal storage space and ensuring that your valuable messages and media are preserved in a secure location.