How to Partition SD Card for Adoptable Internal Storage

2

Android 6.0 brought Adoptable Internal Storage function, that allows the users to adopt their external storage as internal. It is a more sophisticated and potential way to expand your phone’s internal storage than just moving your apps and data to the external storage.

So if you insert an SD card, Android will prompt you to use it as adopted internal storage, which is then formated and encrypted to be used as internal. Adoptable internal storage formats your card to GPT partition, which has a file storage limit of ~9ZB, unlike the normal one which is limited to 2TB due to MBR partitioning. This makes the card unusable for normal media storage since its layout resembles that of an internal data partition including SELinux label and other security protocols.

Android SD Card

However, if you plan to use your SD card for both – adopted storage and media/file storage, there is a simple solution. The Windows utility tool by XDA-member Octanium91 lets you automatically format your SD card in three different partition ratios:

  1. 25% Internal\75% SDCard
  2. 50% Internal\50% SDCard
  3. 75% Internal\25% SDCard

The tool analyzes the total usable storage space available on the SD card and formats it accordingly. It will work on any Windows machine running Vista/7/8/8.1/10 on a 32-bit or 64-bit arch.

How to Partition SD Card for Adoptable Internal Storage

In order to format the SD card, your phone must be on Android Marshmallow or higher version. It must have USB debugging enabled. If you don’t know how to do that, follow this simple tutorial. Also, make sure that if the card is formatted as portable storage.

  1. Connect your Android device to the PC via USB cable.
  2. Download the tool and extract the zip: Link
  3. Double-click on aftiss.exe to run the command-line tool.
  4. Select the formatting mode by pressing the 1, 2, 3 number key, according to your choice. Since I have a 16 GB card, I prefer 1 (25% Internal/75% SD).
    Partition SD Card Adoptable Storage Tool
  5. Press ENTER to start the partitioning process. It shouldn’t take more than a few seconds and once it is complete, hit ENTER again to exit.
  6. You can then disconnect the device.

Partition SD Card for Adoptable Storage

Now go to Settings > Storage & USB. You will now see that the partitioned space is already being regarded as adopted storage, and rest is still being used for media and files (Refer the image above). So from now on, all the apps you install will be automatically placed on this storage partition.

So that is how you easily format your SD card to use it both as Adopted Internal Storage and normal storage for files and media. If you have got any problems during the process, kindly drop a comment down below.

Don’t forget to share this article on your social media and let your friends know about it too.

2 COMMENTS

  1. Thanks for developing this, but I cannot achieve the desired result on a Huawei P8 Lite (2017).

    I get the desired percentage being adopted for internal storage, but it shows as being 95% full and still separate to the actual internal memory (i.e. not combined into one total).

    The remaining memory on the SD card is showing correctly, but is no longer accessible via the usual external methods (e.g. Android File Transfer).

    Is this a limitation of the phone or is something to functioning correctly when your script runs?

    • Hello Karl, as far as my experience goes, it is working correctly. My older Moto E has the same feature, and I am also operating macOS. Android File Transfer will only show internal storage as the external storage is now combined. You should now be able to use the expanded storage correctly.

      Kindly reply if it resolves your query or if you need further help.

LEAVE A REPLY

Please enter your comment!
Please enter your name here