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

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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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

Reserved
Sent from my MotoG3 using XDA-Developers Legacy app

Octanium91 said:
Reserved
Sent from my MotoG3 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Woaah first reply .
Amazing work dude .
I was searching for quite a time for a tool to partition sd card without voiding my warranty (without root).
It was so easy and so much useful . Thanks buddy .

add example screenshots for formatting mode 2 - 50% Internal\50% SDCard, SD Card 2GB.

Where can I get "aftiss.cmd" file?:laugh:

Does this support a 100% internal mode? I wanna use this to force adoptable storage on devices that hide the user menu for it.

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?

Where can i download tool?

Awesome work. I will try this on my LG STYLO PLUS 2 as soon as I can.

networkdood said:
Awesome work. I will try this on my LG STYLO PLUS 2 as soon as I can.
Click to expand...
Click to collapse
Trying it now, how long should the format itself take? Been at "Formatting Disk: 179,0 ..." for about 5 minutes so far...

debadri1995 said:
Where can I get "aftiss.cmd" file?:laugh:
Click to expand...
Click to collapse
under the "Downloads" tab at the top of the thread...

Nintonito said:
Does this support a 100% internal mode? I wanna use this to force adoptable storage on devices that hide the user menu for it.
Click to expand...
Click to collapse
in "Storage & USB" settings.

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?

tavocabe said:
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?
Click to expand...
Click to collapse
The internal partition will not be visible on the other device, a SD Card partition will work fine.

jaysonic88 said:
Trying it now, how long should the format itself take? Been at "Formatting Disk: 179,0 ..." for about 5 minutes so far...
Click to expand...
Click to collapse
To avoid such problems, before re-partition, format the memory card as removable media.

geraldalcos said:
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?
Click to expand...
Click to collapse
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!

Anyone used this with Nougat?
Sent from my LG G6 using Tapatalk

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?

Can i use this on Lollipop 5.1?

beatLeo said:
Can i use this on Lollipop 5.1?
Click to expand...
Click to collapse
No, adoptable storage was only in Marshmallow
Sent from my LG G6 using Tapatalk

Related

SD usage

Hi guys,
I have an issue with memory space on SD.
When I check usage in ES explorer or in android I can see that only 1.95GB is free and 10.97 is used. But when I check usage of /sdcard it is 5.22GB
Where did the rest of GBs disappeared? I tried to find hidden files but there is nothing significant.
How can I found what is using the rest of my memory? How to clean it? I have tried with some cleaning apps
but with no success.
/sdcard is only the storage you see if you didn't root. Android has other files and folders that's not apart of sdcard.
Sent from my Nexus 4 using Tapatalk 4
Rajnus said:
Hi guys,
I have an issue with memory space on SD.
When I check usage in ES explorer or in android I can see that only 1.95GB is free and 10.97 is used. But when I check usage of /sdcard it is 5.22GB
Where did the rest of GBs disappeared? I tried to find hidden files but there is nothing significant.
How can I found what is using the rest of my memory? How to clean it? I have tried with some cleaning apps
but with no success.
Click to expand...
Click to collapse
Hi
The 8GB or 16GB that come with the device are just the total.
To these we must subtract that used by the operating system.
In a nexus of 16G, only 11G is available to the user, the rest uses Android for your stuff.
I hope I have helped you and excuse my English, Google translate helps me.
Saludos!
This is why you don't buy the 8GB but also why you should invest on 16GB, they're trying to promote cloud computing.
Sent from my Nexus 4 using Tapatalk 4
Try to read my post one more time.
I have 16GB nexus. Around 11GB is available for storage. I have files in total around 5GB but system shows only 1.9GB free. What is using the rest of the storage?
http://img23.imageshack.us/img23/9662/yds2.jpg
http://img689.imageshack.us/img689/2919/pq6v.jpg
http://img9.imageshack.us/img9/5660/okfj.jpg
http://img191.imageshack.us/img191/453/4hp3.jpg
Sent from mobile
Rajnus said:
Try to read my post one more time.
I have 16GB nexus. Around 11GB is available for storage. I have files in total around 5GB but system shows only 1.9GB free. What is using the rest of the storage?
http://img23.imageshack.us/img23/9662/yds2.jpg
http://img689.imageshack.us/img689/2919/pq6v.jpg
http://img9.imageshack.us/img9/5660/okfj.jpg
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from mobile
Click to expand...
Click to collapse
Try flashing back to stock and see what happens. Backup all data of course.
tykate said:
Try flashing back to stock and see what happens. Backup all data of course.
Click to expand...
Click to collapse
How is this going to help me? I know I can format SD but I am trying to find out what is occupying memory.
console -> ./Android 2506248 KB -> 2566397952 Bytes -> 2.39GB
ES exp ->Android 1.19GB -> 1275463754 Bytes -> diff=1290934198 Bytes=1.2GB
It seems that amount of memory is some how doubled????
Am I seeing this wrong or?
Rajnus said:
How is this going to help me?
Click to expand...
Click to collapse
It'll help by erasing EVERYTHING on your phone so the usage will be quite reasonable.
tykate said:
It'll help by erasing EVERYTHING on your phone so the usage will be quite reasonable.
Click to expand...
Click to collapse
Why to erase or change ROM? It is enough to format sdcard... but I want to know the reason...
I am having the exact same issue.
I have the 16GB variant, and after a clean Google stock rom flash, it sees only 5,27GB, just like being an 8GB variant.
How is this possible?
dragunov said:
I am having the exact same issue.
I have the 16GB variant, and after a clean Google stock rom flash, it sees only 5,27GB, just like being an 8GB variant.
How is this possible?
Click to expand...
Click to collapse
bah, I have reading yesterday and today a lot about this but I cannot find a problem. Some people also have this issue.
1. /sdcard/ (along with /root/ directory and other system-level directory)
2. /storage/emulated/0/
3. /storage/emulated/legacy/
4. /storage/sdcard0/
All of those folders have same memory usage and amount of files 3.38GB but yet 8.96GB is being used, and only 3.96Gb free out of 12.93GB.
What is using 5GB of space I do not know....
EDIT:
When I check properties of a Andorid folder:
1.7GB 1826870517
2811 Files 580 Folders
When I check in console:
3584128kB->3.41GB
3392 Files
When I went on file level...
17952kB->17.53 MB
4249006B->4.05 MB
4934876B->4.70 MB
So directory usage is double then file usage.... how is that?
Hello Rajnus,
Since it seemed that we were the ONLY ones having this issue with our device, and no solution could be seen @ the end of the tunnel, I have sent my LG N4 to LG for service.
The verdict was that the memory chip on the main PCB was faulty, and they replaced it under warranty. I sent it to LG in the morning, and received it the same day in the afternoon.
Phone works flawlessly now, I suggest you take this step.
All the best!
Txn for the info.
Did you got a new phone or just new memory?
Sent from mobile
Nope, unfortunately I did not get a new phone, they just replaced the main PCB, which, of course, affected the device IMEI as well.
Well, I will return to stock ROM and return it to the shop. There is big chance to get a new one because in Austria they do not bother to repair phones...
Sent from mobile
I have wiped whole memory and it seems fine now. Maybe it was problem in ROM or something....but I will keep my eye on it
dragunov said:
I am having the exact same issue.
I have the 16GB variant, and after a clean Google stock rom flash, it sees only 5,27GB, just like being an 8GB variant.
How is this possible?
Click to expand...
Click to collapse
Your issue is described below and was not faulty hardware:
http://forum.xda-developers.com/showthread.php?t=2033692
The op could be running into the same thing, if I understand the problem correctly, or there are cwm backups taking up additional space.
Sent from my Nexus 4 using xda app-developers app
I already tried the described methods the night before taking it to LG without results.
I even installed AParted to check overall available space, and it too showed ~5,9GB.
I suppose that you have root and custom recovery. Did u check how much space takes all of the backups? info about it is no avaible from android. Just check in recovery, If u use CWM, check option "free unused backup data". Give me feadback if it works for you.
edit.
/mnt/shell/emulated/clokworkmod/backup # du -d 1
4659840 ./2013-09-18.06.06.04
4786000 ./2013-09-22.20.47.46
3698344 ./2013-09-25.14.01.48
13144192
Backups where not the problem. Memory usage was doubled in my case.
Sent from mobile

I know the PE uses 6,50 GB for the OS

Now I check my internal storage for the rest, I should have 9.50 GB. It says I am using 7.99 GB which does not make sense, I have nothing downloaded on the device, other then the apps, which is says that is using 3.50 GB. I know I can use a SD card, but I would still like to know what is using my memory up. Any suggestions as to where all the storage is, TIA
No suggestions ?? I assume this storage is normal then ??
DJB628 said:
No suggestions ?? I assume this storage is normal then ??
Click to expand...
Click to collapse
Do you have a custom recovery and did any backups? I think TWRP counts backups as system data.
Oliie23 said:
Do you have a custom recovery and did any backups? I think TWRP counts backups as system data.
Click to expand...
Click to collapse
Device is stock and not rooted
DJB628 said:
Device is stock and not rooted
Click to expand...
Click to collapse
Must be a normal thing then. I was surprised my phone also had so much memory taken, but I thought it's because of the recovery. Apparently not...
I'm on Stock MM 6.0, rooted and with TWRP 3.0.0-1 installed, and Andoid OS is taking up 10.82GB on my device.
So your values aren't terribly different from mine. I'm thinking yours is probably normal, then.
Well I decided to add a SD card to my device, and low and held, it allows you the option to use it as internal storage, which is nice, rather then a portable device, which you can also if you choose that. So I like the option of being able to use it as internal. Any reason why I should not do so, before I set it as such ??
@DJB628 I questioned this at first. By making it adoptable (internal) storage, it encrypts the card, so it can't be used on other devices. I have problems with that. Many times, my SD cards have "failed" in the phones, but I was able to use a card reader on pc to see files. I was able to transfer them to new card, put new card in phone, and done..... Can't do that if SD card is adopted to internal storage...
sherri said:
@DJB628 I questioned this at first. By making it adoptable (internal) storage, it encrypts the card, so it can't be used on other devices. I have problems with that. Many times, my SD cards have "failed" in the phones, but I was able to use a card reader on pc to see files. I was able to transfer them to new card, put new card in phone, and done..... Can't do that if SD card is adopted to internal storage...
Click to expand...
Click to collapse
Got it, so keeping it as a portable storage is best :good:
Can't that be done, if the card is formatted and allow you to use it in another device. ??
Crazy I got on here for help bc of the same issue. I haven't installed a micro SD yet. I have the 32g version. Only have 23 apps installed, no music, no pics. Stock rom rooted systemless. Twrp 3.0 with 2 backups made. And somehow I'm already out of storage. I can't figure it out.
Sent from my XT1575 using Tapatalk
---------- Post added at 10:19 AM ---------- Previous post was at 10:18 AM ----------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my XT1575 using Tapatalk
Wow that is crazy, something definitely does not make sense. I would call Motorola Tech support to see what they say, I will also next week, to try to make sense of this.
@Carolina_techy
Clearly something is taking up the space. Use a file manager or windows to explore. I bet you have some huge image files or tmp files. How much space is the twrp folder taking up?
gpz1100 said:
@Carolina_techy
Clearly something is taking up the space. Use a file manager or windows to explore. I bet you have some huge image files or tmp files. How much space is the twrp folder taking up?
Click to expand...
Click to collapse
I've checked mine both with Explorer and Windows and do not see any files large enough to be using up this much storage.
gpz1100 said:
@Carolina_techy
Clearly something is taking up the space. Use a file manager or windows to explore. I bet you have some huge image files or tmp files. How much space is the twrp folder taking up?
Click to expand...
Click to collapse
From what I can tell, it looks like the majority of that is coming from the 2 backups I have. I didn't think they would be that big though.
Sent from my XT1575 using Tapatalk
^^So the issue is resolved?
How much space is it taking up? I image a full image (system, boot, data), uncompressed is probably in the 2-4GB range? You need to enable compression when creating the backups. That saves some room.
gpz1100 said:
^^So the issue is resolved?
How much space is it taking up? I image a full image (system, boot, data), uncompressed is probably in the 2-4GB range? You need to enable compression when creating the backups. That saves some room.
Click to expand...
Click to collapse
Ahh. That is the issue I guess. I didn't enable compression on either backup
Sent from my XT1575 using Tapatalk
---------- Post added at 08:13 PM ---------- Previous post was at 08:09 PM ----------
Sent from my XT1575 using Tapatalk

Enable adoptable storage on your s7

Its easy as pie, no root needed.
Open your command window / terminal on your computer and type the 'adb shell' command (with your phone connected of course). You will need to enable USB debugging in developer settings (which in turn is displayed by tapping the build number of the device 5 times) in order to see the option.
Type 'sm list-disks' to list the disks available for adoption. It'll look something like below - take note of the disk ID (disk:179:160 in this example).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Partition the disk. For this we use the 'sm partition DISK TYPE RATIO' command. For example, to partition the disk above as fully adopted storage (aka private) I'd use the command 'sm partition disk:179:160 private' If I wanted a 50/50 split between adopted and regular, I'd use the command 'sm partition disk:179:160 mixed 50'.
Click to expand...
Click to collapse
http://www.modaco.com/news/android/...e-adoptable-storage-on-your-s7-s7-edge-r1632/
Has anyone done this?
Sounds like it works according to the Modaco thread
Buy why should you? It will only make you slower.
Worked great!
will an evo+ card work for this? will it slow the phone down that much? kinda annoyed raw files and VR stuff didn't seem to save on microsd...
I currently have a sandisk class 10 u1 64gb card rated at 48MB/s
Would this hamper me or should I spring for a u3 128g
---------- Post added at 06:06 AM ---------- Previous post was at 06:01 AM ----------
What would I see after this procedure when connecting the gs7 to my pc?
I don't think it works correctly. I followed the directions as say, shows everything like it does on the guide. But... when I went to fill up the phone internal memory, I hit about 300 mb left, and nothing else will install.
This is what im getting...
Error: java.lang.IllegalArgumentException: command '45 volume partition disk:179:0 private' failed with '500 45 Unknown disk'
my disk name comes up as "disk:179,0" and im only seeing the one (assuming that is the SD card?)
EDIT: "[email protected]:/ $ sm partition disk:179,0 private" Make sure you put the EXACT result of list-disks and not try to copy the tutorial too close. >.<
There's one more step
Go into storage then sd card and select migrate
One thing that bothers me about the process is that at the end, your total storage is wrong. As in the authors posting my total storage showed 90 something gb of 128gb free. i only have a 32gb card installed. so total storage capacity should say 64gb, not 128gb. although cool i think i am going to hold off using this until someone figures out how to make it show the true amount of total storage. at which point i will toss in a larger and faster card.
+1 Keeping an eye on this thread, waiting for someone to solve the 179,0 issue as well as the incorrect total storage problem.
madAdam6LOVE said:
+1 Keeping an eye on this thread, waiting for someone to solve the 179,0 issue as well as the incorrect total storage problem.
Click to expand...
Click to collapse
What is the 179,0 issue? Think I missed that one.
Do people really need that much internal storage? There are several drawbacks with adoptable storage that I don't think are being considered. The S7 uses very fast UFS2 internal storage that's not just fast sequentially but also communicates on a full duplex bus (read and write at the same time). Even the fastest MicroSD cards today are not nearly as quick as the internal storage.
se1000 said:
Do people really need that much internal storage? There are several drawbacks with adoptable storage that I don't think are being considered. The S7 uses very fast UFS2 internal storage that's not just fast sequentially but also communicates on a full duplex bus (read and write at the same time). Even the fastest MicroSD cards today are not nearly as quick as the internal storage.
Click to expand...
Click to collapse
Obviously yes
Hobson318 said:
What is the 179,0 issue? Think I missed that one.
Click to expand...
Click to collapse
The guy who originally posted this method is using the European variant of the phone, which recognizes the SD card as volume 179:160. Using the U.S. variant, my phone, and others, shows the card as 179,0. When applying the fix to 179,0 the partition volume appears to change to 179,1 or 179,2, creating issues. See the comments in the Mocano thread:
http://www.modaco.com/news/android/...e-adoptable-storage-on-your-s7-s7-edge-r1632/
madAdam6LOVE said:
The guy who originally posted this method is using the European variant of the phone, which recognizes the SD card as volume 179:160. Using the U.S. variant, my phone, and others, shows the card as 179,0. When applying the fix to 179,0 the partition volume appears to change to 179,1 or 179,2, creating issues. See the comments in the Mocano thread:
http://www.modaco.com/news/android/...e-adoptable-storage-on-your-s7-s7-edge-r1632/
Click to expand...
Click to collapse
I also get this issue and i'm in the UK.
Works well enough for me with 179,0. Storage shows the wrong total capacity, but that's fine.
Sorry but if your storage shows wrong capacity, that's NOT OK. You could end up with corrupt files.
MattBooth said:
Works well enough for me with 179,0. Storage shows the wrong total capacity, but that's fine.
Click to expand...
Click to collapse
May be fine for you. That's one of the issues I am concerned about.
How do you find performance using adoptable storage? Do you notice any slowdown?

[LG MAGNA] Guide to use SD card as internal storage - Marshmallow

Hello people.
For those who have updated their MAGNA to android 6.0 official ... and want to use the SD card as internal storage .. and do not find this option when formatting the SD card here .. taking method LG forum in SPIRIT on XDA. This method has been tested by me and successfully.
- Backup your data on SD because all data will be lost after formatting and encryption SD card (you can copy the latest since the backup on PC.
- Enable USB debugging mode in developer settings.
- Open ADB SHELL command (from the ADB folder .. shift + right mouse button ... OPEN A WINDOW COMMAND)
- List avaliable disks to get disk ID. It can be done with following command:
sm list-disks
You will get your SD Card ID (ex.: disk:179,64, which will be used in next step.
In our example the id is 179.64 for you ... you-remember number that is yours.
After that .. we have the choice of using any SD card or internal memory or half If you want to use only part of SD as Internal Storage and rest as standard Removable Disk, for example 50:50, ...
So it recapitulates the command line:
For all of the SD card :
adb shell
sm list-disks
sm partition disk:179,64 private
For 50/50 of the SD card:
adb shell
sm list-disks
sm partition disk:179,64 mixed 50
Remember that 179.64 is an example .. ID with you to put yours
Here is a screenshot of the command 50/50
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Good luck.
why?
why am I am not able to find the option of formatting SD card as internal storage? I mean, could I do anything to get this, like reseting to factory the mobile instead of doing the former? why is LG magna working in that sense different than other mobiles with Android 6?
not working on International LG Magna
Worked on Lg Spirit after the update to Marshmallow
Thanx for everything, your post was the most helpful I found. I was worried after the update to Marshmallow. Finally worked I did a mixed sd 50-50. :good:
jim_nrs said:
Thanx for everything, your post was the most helpful I found. I was worried after the update to Marshmallow. Finally worked I did a mixed sd 50-50. :good:
Click to expand...
Click to collapse
I can not do mine. I have already installed Android studio , and when I go to CMD to run the devices ADB , he does not find me anything and do adb sheel says : Error not devices / emulators found.
Someone can help me? and that my already has little memory and have a 62GB card. So I can not install more applications.
such debug option on the mobile phone is enabled .
The phone was never root. It's new.
If someone can help me let go remotely.
hi
fiesta18d said:
I can not do mine. I have already installed Android studio , and when I go to CMD to run the devices ADB , he does not find me anything and do adb sheel says : Error not devices / emulators found.
Someone can help me? and that my already has little memory and have a 62GB card. So I can not install more applications.
such debug option on the mobile phone is enabled .
The phone was never root. It's new.
If someone can help me let go remotely.
Click to expand...
Click to collapse
root ur phone then use terminal emulator and follow the steps above
What happen after removing SD card I mean if i want remove SD card then what?
First of all thank you for your guides titeuf15, they've helped me a lot.
I don't get how this one works. I have rooted my phone with success. I followed every step on this guide with success. Now what? How do i check if it worked and how do i install apps on my SD?
Edit: Nevermind, i just realized i have to install a third party app that will transfer apps to SD. Thank you!
Happy for you.
Otherwise you can use ROOT ESSENTIALS (must be ROOTE) .. This is a great tool
Hello there,
I've tried this in a LG H-500f with Android 6.0 (no rooted). I followed the guide and everything seemed to work. The phone recognized my external sdcard (64Gb) as part of the device's storage. The problem is that it doesn't seem to work in practice. So far I've identified 2 issues:
- Issue 1: When the internal memory gets full, it doesn't continue using the sdcard "part" as expected. The system just pops up a message saying that there is insufficient storage. As a workaround for this, I moved big part of the apps from the internal memory to the sdcard. This freed space in the internal memory, allowing me to install more stuff.
- Issue 2: apps that live on the sdcard are moved to the internal memory after being updated. This is a big problem, because apps are updated(reinstalled) continuously and the device runs out of memory pretty fast. On top of that, they seem to lose all their previous configuration parameters (user accounts, etc etc).
Any ideas on how to fix this? The phone is not bad, but this storage issue is really a killer. Is it really necessary to root your phone in order to enable this guide? (I don't think). Any alternatives?
Thanks in adavance
arakn0 said:
Hello there,
I've tried this in a LG H-500f with Android 6.0 (no rooted). I followed the guide and everything seemed to work. The phone recognized my external sdcard (64Gb) as part of the device's storage. The problem is that it doesn't seem to work in practice. So far I've identified 2 issues:
- Issue 1: When the internal memory gets full, it doesn't continue using the sdcard "part" as expected. The system just pops up a message saying that there is insufficient storage. As a workaround for this, I moved big part of the apps from the internal memory to the sdcard. This freed space in the internal memory, allowing me to install more stuff.
- Issue 2: apps that live on the sdcard are moved to the internal memory after being updated. This is a big problem, because apps are updated(reinstalled) continuously and the device runs out of memory pretty fast. On top of that, they seem to lose all their previous configuration parameters (user accounts, etc etc).
Any ideas on how to fix this? The phone is not bad, but this storage issue is really a killer. Is it really necessary to root your phone in order to enable this guide? (I don't think). Any alternatives?
Thanks in adavance
Click to expand...
Click to collapse
Hey, I was pondering about to follow this guide or not... Did you find out any solutions for these two issues you stated?
I was quite convinced to proceed before to see your post
Do you think is due to the fact that you didn't rooted your device first?
thank you!

Tutorial: How to enable adoptable storage on an MIUI phone with Android 6

The Xiaomi Redmi Note 3 is still a very good device and many of us use MIUI as it comes preinstalled and has many advantages. One major disadvantage for many of us is, that it does not support adoptable storage out-of-the-box. This means, that if you have a device with limited storage (e.g. 16GB), you have a problem once you run out of space. Fortunately there is a solution! With these few commands we can activate the adoptable storage feature so we can move apps to SD card and we are back in the game!
This should also work for other phones with Android 6 e.g. Samsung and Sony, that do no support this feature out-of-the-box.
NO ROOT NEEDED! NO FLASHING NEEDED!
Screenshots in the first comment!
What you need
a computer
a phone running Android 6 (or above)
a fast microSD card (at least UHS class 1 recommended)
a backup of all important files (especially from SD card - it’s going to be formatted during the process!)
Step-by-step guide
--- Warning: You are proceeding at your own risk! ---
Enable developer options on your phone (in settings -> about phone -> tap “MIUI Version” 7 times)
Enable „Stay awake“
Enable „USB debugging“
Disable „MIUI optimization“
Download and install „ADB and fastboot“ on your computer
e.g. from here, check back this XDA post for more
Connect your phone via USB
Run a command window (as administrator) and use the following commands
adb shell
sm set-force-adoptable true
sm list-disks
you are going to see a result like disk:179,64
sm partition disk:xxx,xx private/mixed xx
this is reformating your SD card, change xxx,xx according to prior result e.g. 179,64
use private if you want to use the whole SD card as adoptable storage
use mixed xx if you still want a specific percentage of the SD card formatted as “portable” storage e.g. mixed 60 (-> 40 percent adoptable storage)
check success on your phone (setting -> storage)
sm list-volumes
you are going to see a result like private:179,67 mounted fb705131-c6a0-4e3a-959b-605a65334c8c
pm move-primary-storage xxxxxxxxxx-xxxx-xxxxx-xxxxx-xxxxxxxxxx
migrate data to adoptable storage, change xxxxxxxxxx-xxxx-xxxxx-xxxxx-xxxxxxxxxx according to prior result e.g. fb705131-c6a0-4e3a-959b-605a65334c8c
check process on your phone („Moving data“ in the status bar)
Install „QuickShortcutMaker“ from the Play Store.
Find „com.android.settings“ in Activity-tab
Find „com.android.settings.Applications.ManageApplications“
Create a shortcut for it on your home screen
Reboot!
Use the shortcut to manage apps and move them to the adoptable storage (marked as “external storage”)
Enjoy!
Note:
Not all apps support to be moved!
The system settings won't show the correct storage sizes. Use “Mi File Manager” instead.
All icons of applications stored in the adoptable storage are going to be moved to your home screen after every reboot. You will have to move them back to their folders manually.
In order to install new updates you will have to move the downloaded update file (from downloadad_rom) to your SD card manually and choose it as a source file in the Updater app.
Sources:
http://en.miui.com/forum.php?mod=viewthread&tid=820440
https://forum.xda-developers.com/android/software/auto-formatting-sdcard-to-internal-t3583875
Search: adoptable storage, shared storage, adaptable storage, app2sd, move app to sd card
Screenshots
Computer:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Migrating data:
Storage after procedure:
SD card (“external storage” / portable storage):
38,4 GB (60% of 64 GB SD card)​
Storage (adoptable storage):
25,1 GB (40% of 64 GB SD card)​
Internal (without system):
11 GB (of 16 GB internal memory)​
System:
5 GB (of 16 GB internal memory)​
Managing apps via shortcut:
Other devices...
It would be interesting to know on which other devices this works! So please comment!
Can anyone confirm this method for Xiaomi Redmi Note 4, Redmi 4X, Redmi 4A or Redmi 5?
Any other phones you tried?
Confirmed:
Xiaomi
Redmi Note 3
Redmi 5A
Redmi 5a working
jonaskor said:
It would be interesting to know on which other devices this works! So please comment!
Can anyone confirm this method for Xiaomi Redmi Note 4, Redmi 4X, Redmi 4A, Redmi 5 or Redmi 5A?
Any other phones you tried?
Click to expand...
Click to collapse
It works on my redmi 5a.
jonaskor said:
It would be interesting to know on which other devices this works! So please comment!
Can anyone confirm this method for Xiaomi Redmi Note 4, Redmi 4X, Redmi 4A or Redmi 5?
Any other phones you tried?
Confirmed:
Xiaomi
Redmi Note 3
Redmi 5A
Click to expand...
Click to collapse
Hello
I have tried this method in redmi 4a and it works without problems.
Excellent
jonaskor said:
T
Install „QuickShortcutMaker“ from the Play Store.
Find „com.android.settings“ in Activity-tab
Find „com.android.settings.Applications.ManageApplications“
Create a shortcut for it on your home screen
Click to expand...
Click to collapse
Thanks for the howto! I have a Redmi5a and things look a little different on my phones after the procedure. I'm not sure I've done everything right. In storage management I don't get "Unmount shared storage", but instead I see "Unmount SD card". More importantly, for the shortcuts, I'm not finding „com.android.settings“ in Activity-tab. Did I miss a step? Anyone else have this issue?
EDIT: It's in there, just doesn't show up when you search.
EDIT2: Can reconfirm the instructions work on Redmi 5a.
is it permanent or can it be changed back?
ibal97 said:
is it permanent or can it be changed back?
Click to expand...
Click to collapse
Depends what you mean by your question... Once you've formatted an SD card as adoptable storage there's no automated way in Android to migrate all the data back to internal storage, so you tend to lose any app data that was stored on the SD card. Sometimes that means apps will need to be reinstalled after removing the SD card. However, you can always reformat your SD card and use it in another device.
alwayssummer said:
Depends what you mean by your question... Once you've formatted an SD card as adoptable storage there's no automated way in Android to migrate all the data back to internal storage, so you tend to lose any app data that was stored on the SD card. Sometimes that means apps will need to be reinstalled after removing the SD card. However, you can always reformat your SD card and use it in another device.
Click to expand...
Click to collapse
thanks brother :good:
guys help.... it says
Failure [-6]
when i try this command
pm move-primary-storage 86fa15bc-76c7-4006-946a-7f002e3c91e3
edit: solve the problem...thanks bro
[deleted]
Problem with internal storage
Hi man, 1st i wanna thank you for this tutorial.
I did everything just like u said but now the file manger seems to have ignored the original internal storage completely and thinks that the sd is the only storage. So i can't update and cant use my internal al at all screens attached
what if i want to go back to using all my SD card as an external storage? i have installed a new rom yet the storage is still the same, i want to go back as using 100% of my sd card as external storage, i have tried formatting it but it doesn't format
HEY i found your guide very helpful and sucessfully adopted and migrated data to sd card but now i want to go back as it is showing some kind of problems so plz reply me the method to migrate the data back to internel storage.
sohail_23 said:
HEY i found your guide very helpful and sucessfully adopted and migrated data to sd card but now i want to go back as it is showing some kind of problems so plz reply me the method to migrate the data back to internel storage.
Click to expand...
Click to collapse
http://en.miui.com/thread-820440-1-1.html
try this one..i never try to revert to default yet..but i hope this help
got failure'-6' error at last step on cmd (on device stated 'unable to move data it will remain in origial place').....plz help
---------- Post added at 07:08 AM ---------- Previous post was at 07:05 AM ----------
:crying:
ibal97 said:
guys help.... it says
Failure [-6]
when i try this command
pm move-primary-storage 86fa15bc-76c7-4006-946a-7f002e3c91e3
edit: solve the problem...thanks bro
Click to expand...
Click to collapse
my sd card stopped being recodnised by the device after unsuccesful attempt, what can i do now?
Can we avoid repartition and use a virtual partition created with dd instead ?
Why after successful, my dnd function doesn't work?
how did the short numbers after the word "mounted" change into that really long hexadecimal number??? help!

Categories

Resources