• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help I can't Format SD card as internal memory!

MMostajer

Lurker
Hi;
I have LG K10 LTE with Android 6.0.
I want to format SD card as internal memory, But this option not available for me!
Please help me to solve this problem.
Thank you.
 
LG removed the option on their phones. You can enable it via adb shell.

http://m.androidcentral.com/inside-marshmallow-adoptable-storage

Thank you for the reply
This did not work for my device!

Before this, I have used this:

"adb shell pm set-install-location 2"​

But it gave an error:

"Error: java.lang.SecurityException: Package android does not belong to 2000"
I just want to save app data on SD card.
Please take that any way you think your suggestion works(without ROOT).

Thank you.

 
That adb shell command is for the old Gingerbread-style "move to sd". If you go to Settings > Applications > Downloaded and select an app is there a "move to SD" button? If not then that option no longer exists (Google deprecated it back in 4.0, but some manufacturers added it back).
 
Thank you for the reply
This did not work for my device!

Before this, I have used this:

"adb shell pm set-install-location 2"​

But it gave an error:

"Error: java.lang.SecurityException: Package android does not belong to 2000"
I just want to save app data on SD card.
Please take that any way you think your suggestion works(without ROOT).

Thank you.

I am not sure I understood you. Did you try the command in the link? The command you posted is different from the one you're supposed to use.
 
Hi;
I have LG K10 LTE with Android 6.0.
I want to format SD card as internal memory, But this option not available for me!
Please help me to solve this problem.
Thank you.

I realize that is what you want to do, but that is a "bad" idea....
if the phone goes bad, you loose all of the data on the extSDcard.
To me, the biggest reason for the SD card is the preservation of data if the phone gets broken.
Excluding the obvious, the extra memory space available.​
 
I am not sure I understood you. Did you try the command in the link? The command you posted is different from the one you're supposed to use.

I've tested the following three work:


1. Use this command:
adb shell pm set-install-location 2
But that gave an error:
Error: java.lang.SecurityException: Package android does not belong to 2000


2. Use this command: (your offer)
adb shell sm set-force-adoptable true
Failed to get any response: (What has not changed in my device)
Screenshot_83.png



3. Use this command:
sm partition disk:179:160 mixed 50
With this method, I was able to move app to SD card, But app's data stored in the internal memory!!! (app's data like picture, document and etc downloaded by app)

I want to find a way to save data on SD card:(:(:(
 
I realize that is what you want to do, but that is a "bad" idea....
if the phone goes bad, you loose all of the data on the extSDcard.
To me, the biggest reason for the SD card is the preservation of data if the phone gets broken.
Excluding the obvious, the extra memory space available.​
Please tell me how do I do this

Thank you
 
Did you check whether the phone supports the old GB style moving to SD (option 1)?

If your problem is data downloaded by apps, then many, but not all, apps allow data such as pictures and documents they download to be stored to a location you can specify via that app's settings. So checking the app's settings is the first thing to do.

If however the app developer hard-coded a path such as /sdcard/MyApp then without root I doubt there is much you can do. You could create a folder on the real SD card, copy the current stuff to it, then replace the folder in the internal /sdcard with a symbolic link to the new card, but I think you'll probably need root to do all of that because the folder you need to replace is not owned by you, and anyway you'd most likely need busybox to create the links, so again root.

If the data are really stored as the internal data of the app (in /data/data/<app-package-name>) then there is no non-root way of changing that if you don't have the Marshmallow adoptive storage feature. Moving an app to SD the old way only moves parts of the app (not the whole thing), and never moved internal app data.
 
Be very wary of using this feature, even if officially supported by the manufacturer. I've just lost a 64GB SanDisk Ultra card after using it in a Sony Z3 running Sony's own Concept AOSP Marshmallow firmware. Using the "reformat as portable storage" option trashed the partition table (I suspect?) so badly that the card isn't even recognised as such any longer. :(
 
"Error: java.lang.SecurityException: Package android does not belong to 2000"

3. Use this command:
sm partition disk:179:160 mixed 50
With this method, I was able to move app to SD card, But app's data stored in the internal memory!!! (app's data like picture, document and etc downloaded by app)

I want to find a way to save data on SD card:(:(:(


Be careful what you are doing.
You partitioned your sd card as part adoptable (internal) and part portable (external). Were you intending to do that?
 
Be very wary of using this feature, even if officially supported by the manufacturer. I've just lost a 64GB SanDisk Ultra card after using it in a Sony Z3 running Sony's own Concept AOSP Marshmallow firmware. Using the "reformat as portable storage" option trashed the partition table (I suspect?) so badly that the card isn't even recognised as such any longer. :(

I had the same thing happen.... a brand spanking new 128 gB SD card, with a lot of pictures on it.
copied them all off, and thought, "I'll just format it in the PC... lot's easier than deleting each picture"

and that was the last time that card was recognizable by anything.
 
Back
Top Bottom