[Tool][Utility][Win|Linux] Auto-formatting SDCard to Internal and SDCard storage

Octanium91

Senior Member
May 4, 2014
349
489
103
Kremenchug
octanium-os.blogspot.com
Auto-formatting SDCard to Internal and SDCard storage - this is the easiest way format your memory card, to use it as a internal memory and removable media at the same time!

What is required for this?
- Device with Android Marshmallow (6.0) and higher.
- USB Cable
- Enabled USB debug on your device

Just select the formatting mode and press any key!

Instruction:
1 - Connect your smartphone to the PC using your cable
2 - Enable USB debug on your smartphone
3 - Run "aftiss.cmd" (for Windows) or "aftiss.sh" (for Linux)
4 - Select the formatting mode
(1 - 25% Internal\75% SDCard, 2 - 50% Internal\50% SDCard, 3 - 75% Internal\25% SDCard, 4 - Custom)
5 - Press any key
6 - Be happy!

>> Download <<

tip: what version should I download?

Attention! You will lose all data on the memory card!
Recommendation, to avoid errors, before re-partition, format the memory card as portable storage\removable media.

How to install games\programs obb\data files on adoptable storage?

[Requirements:]
Systems: Windows Vista/7/8/8.1/10 x86\x64 and Linux

Example for formatting mode 2 - 50% Internal\50% SDCard, SD Card 2GB.


How to do it manually?
Go to ADB Shell
Code:
adb shell
Code:
sm list-disks
Example answer: disk:179,64
Code:
sm partition <DISK> mixed <PERCENT>
Example: sm partition disk:179,64 mixed 25
Where 25 this 25% for SD Card, remaining 75% for Internal storage


You can support me on Patreon! https://www.patreon.com/octanium

XDA:DevDB Information
Auto-formatting SDCard to Internal and SDCard storage, Tool/Utility for all devices (see above for details)

Contributors
Octanium91

Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2017-04-03

Created 2017-04-03
Last Updated 2017-05-22
 

Attachments

Last edited:

Nintonito

Senior Member
Dec 25, 2013
108
21
0
Does this support a 100% internal mode? I wanna use this to force adoptable storage on devices that hide the user menu for it.
 

tavocabe

Senior Member
Sep 5, 2010
487
109
63
Monterrey
I'm tempted to do this but I tend to change ROMs on a somewhat regular basis. My question is, what happens to the data stored in the formated as internal sd card partition?
 

geraldalcos

Senior Member
Aug 8, 2016
122
12
18
Cavite
Sorry for the noob question, but what is the benefit of this? Is it better to have it stay as external so there will no app/file will be harmed/affected when I remove it?
 

Octanium91

Senior Member
May 4, 2014
349
489
103
Kremenchug
octanium-os.blogspot.com
Sorry for the noob question, but what is the benefit of this? Is it better to have it stay as external so there will no app/file will be harmed/affected when I remove it?
You can move applications to the memory card with the cache, this significantly saves the memory of your smartphone. Here only a problem in that, system is standard formats the memory card as internal storage OR portable storage, and this is not entirely convenient.
This script allows you to use the memory card as internal storage and portable storage, at the same time!
 
  • Like
Reactions: classic757

Vankog

Senior Member
Nov 13, 2009
133
47
0
Wow I never thought about this possibility.
Until now I only stayed with removable SD card mode, because portability is a high priority. Especially due to the backups that I keep on there. An all-adoptable SD card was therefore never a feasible option for me.
A partition for each is an amazing solution to get the best of both worlds.
I will definitely try this later on.

However, what are your experiences with readability on other platforms?
Windows usually can only read one partition on portable storage. Which partition does show up in the Windows file manager?
 
  • Like
Reactions: beatLeo