[HOWTO] MicroSD as internal storage on latest Marshmallow stock firmware - Xperia Z2 Tablet General

Hi guys.
I got Galaxy S7's trick, for set the MicroSD as internal storage, working on latest Marshmallow stock firmware.
Requirements: PC, ADB drivers.
I'm reporting here the steps:
0. Turn on "USB Debugging" in Settings->Developer Options;
1. Open the Terminal Emulator (Windows+R and then type "cmd.exe", on Windows) and place in the folder where the adb.exe file is placed;
2. Type "adb shell";
3. Type "sm list-disks", copy the result, and paste it in place of "[diskname]" in the next step;
4. Type "sm partition [diskname] private" if you want to set the whole MicroSD as internal storage, "sm partition [diskname] mixed 50" if you want to set just half of the SD as internal storage;
5. Optional: reboot the device;
6. Go in Settings->Storage->Click on the SD Card->Click on the three dots menu and then migrate data on the SD (thanks to jervine!)
Bugs:
The amount of total usable storage isn't showing, an impossible value is showed instead.

ale29-09 said:
Hi guys.
I got Galaxy S7's trick, for set the MicroSD as internal storage, working on latest Marshmallow stock firmware.
Requirements: PC, ADB drivers.
I'm reporting here the steps:
0. Turn on "USB Debugging" in Settings->Developer Options;
1. Open the Terminal Emulator (Windows+R and then type "cmd.exe", on Windows) and place in the folder where the adb.exe file is placed;
2. Type "adb shell";
3. Type "sm list-disks", copy the result, and paste it in place of "[diskname]" in the next step;
4. Type "sm partition [diskname] private" if you want to set the whole MicroSD as internal storage, "sm partition [diskname] mixed 50" if you want to set just half of the SD as internal storage;
5. Optional: reboot the device.
Bugs:
The amount of total usable storage isn't showing, an impossible value is showed instead.
Click to expand...
Click to collapse
Seems that there's a limitation on the SD Card. I put my 128GB and 64GB MicroSD card in and it only knows if for external storage, no option in making these as internal storage.

myeepad said:
Seems that there's a limitation on the SD Card. I put my 128GB and 64GB MicroSD card in and it only knows if for external storage, no option in making these as internal storage.
Click to expand...
Click to collapse
As you can see in screenshots I used a 64GB Samsung Evo MicroSD, but I only tried splitting it in half. I'll try with the whole space asap.
Sent from my Nexus 6P using XDA Labs

Exactly same problem with Z3 compact.
64GB card, insane numbers with minus as a device storage.

I tried this method but it won't let me copy anything from the computer to this "new, big" storage because it says there is not enough space available...
Gesendet von meinem SGP511 mit Tapatalk

I can't even download apps because of this :/ I'm not sure if it even actually worked...
Any ideas?
Gesendet von meinem SGP511 mit Tapatalk

You need to migrate data to the 'new' adoptable storage, which then should mark the adoptable storage as the default location for new installs.
Once you have formatted the card as described in the first post, then select it in the 'Storage' settings, and then opt to migrate (or maybe it's move) data to this card in the three dots drop down settings here. Once done you should have freed up space and future installs should use the adoptable storage.
For what's it worth I have this set up on both my Z5 phone and Z2 tablet with 128GB Samsung SD cards formatted in a 50:50 hybird fashion. Working well so far.

Thanks!!
This wasn't clearly stated in the tutorial and as the option is hidden behind the three dots I didn't even see it... Now it seems to work
Gesendet von meinem SGP511 mit Tapatalk

jervine said:
You need to migrate data to the 'new' adoptable storage, which then should mark the adoptable storage as the default location for new installs.
Once you have formatted the card as described in the first post, then select it in the 'Storage' settings, and then opt to migrate (or maybe it's move) data to this card in the three dots drop down settings here. Once done you should have freed up space and future installs should use the adoptable storage.
For what's it worth I have this set up on both my Z5 phone and Z2 tablet with 128GB Samsung SD cards formatted in a 50:50 hybird fashion. Working well so far.
Click to expand...
Click to collapse
Thanks!!!!! Now it works!

jervine said:
You need to migrate data to the 'new' adoptable storage, which then should mark the adoptable storage as the default location for new installs.
Once you have formatted the card as described in the first post, then select it in the 'Storage' settings, and then opt to migrate (or maybe it's move) data to this card in the three dots drop down settings here. Once done you should have freed up space and future installs should use the adoptable storage.
Click to expand...
Click to collapse
I added a screenshot about but also forgot to write it in the OP.
Added (with proper credits), thanks!
Sent from my Nexus 6P using XDA Labs

This worked fine for me, following your instruction. Only thing not working is the camera. i get an error saying Storage not available. I did a full data wipe before installing 6.0.1, so Im wondering whats wrong.

bingoking said:
This worked fine for me, following your instruction. Only thing not working is the camera. i get an error saying Storage not available. I did a full data wipe before installing 6.0.1, so Im wondering whats wrong.
Click to expand...
Click to collapse
I did not do a full wipe but can verify that I can use the camera and save photos.

Redlabour claimed in this post that this will not work for Sony devices long term and that at some point internal memory will fill up and break the device:
http://forum.xda-developers.com/xpe...bletsgp511-t3100821/post66537645#post66537645
I have asked where he heard this, as I can't find any other mention of it. Have any of you seen something about this or experienced this problem first hand? My tablet is still working quite well after following the instructions in this thread.

1sol said:
64GB card, insane numbers with minus as a device storage.
Click to expand...
Click to collapse
Same here. Had to reset the microSD using Windows diskpart command. It lookls like this method is not usable at Sony ROMs - at least at the Z2 tablet.

NexusLush said:
I did not do a full wipe but can verify that I can use the camera and save photos.
Click to expand...
Click to collapse
I got same trouble with Camera app. When I partition my card as 50/50 (mixed 50), Camera app says that internal memory is corrupt or write protected, so I can save my photos to the SD card only.
When the card is partitioned for internal memory completely (private), there is no place at all for photos made by Camera app.
Did you partition the whole card or only a part? Where do you save photos?

TimeTurn said:
Same here. Had to reset the microSD using Windows diskpart command. It lookls like this method is not usable at Sony ROMs - at least at the Z2 tablet.
Click to expand...
Click to collapse
After a couple of hours the numbers were magically fixed.

I'm unable to see any userdata (or backups) in recovery any more after using this method :/
Any advice?
Gesendet von meinem SGP511 mit Tapatalk

I tried it and ended up with the same feeling that this isn't working as designed -- possibly because the numbers are all wonky. I've reset the card and will try living with it for a while and see if it actually works on my Z3c tablet.
EDIT: Couldn't get Plex to download the new combined memory -- which was still 16GB. Too bad, wish it worked

Plex is 'funny' - it definitely doesn't see the adoptable storage as available, and this is one of the reasons I opted to format my SD card as a 50:50 hybrid, so that apps that don't see the new adoptable storage correctly can still have access to the SD card.
As noted in some posts above, I also found that the camera wouldn't work when set to save to the 'local' storage (i.e. non-SD storage), and it seemed that having the SD hosted adoptable storage confused/broke the camera. Setting the camera to save to (portable) SD (again because I've formatted as hybrid) allowed the camera to work, with the caveat that due to the SD card potentially being slower then I might get glitchy video or some camera effects might not work. I bought an SD card that had fast write speed to try and alleviate this problem.
My tablet is definitely using the adoptable storage for new installs etc. as I have installed games and apps that previously the tablet complained about not having enough space available to install. Currently my tablet reports:
10.5GB of 16GB internal storage used
12.37GB of 58.87GB adoptable storage used
125MB of 59.86GB portable storage used
And the big number at the top is totally wrong still -21477494784.00 B Total used of 16.00GB

The steps worked fine for me and up until now I've had no issues, but now I'm being prompted for an update from Sony and it fails when it restarts. I'll plug my tab into my computer when I get home and give it a try. Screenshot provided of about tab page

Related

increase 16gb harddrive space for roms/emu/android games? whats the best way? (use sd

and is there a guide to do this, is it using the sd?
what software apk files do i need?
thanks
I'm using default option to transfert apps on SdCard (after installing), on menu setting/applications.
does that transfer the big obb/data files?
kyrusdemnati said:
does that transfer the big obb/data files?
Click to expand...
Click to collapse
It did with Doom 3. All 4GB transferred to my SD card.
But YMMV depending on the app of course
I have bought Tales From the Borderlands, which BTW plays really nice with the Nvidia-controller. Whereas the app itself is installed on the microSD-card, the game data it self (e.g. the different seasons - and those are several megabytes) will load internally. That's sad.
Apps to externals HDD
ive been trying to figure out how to move apps from the internal memory to an external HDD i alread used the drive to create a TWRP backup, i can also see the drive in ES file explorer but i cant find any apps or method to move app OBB/DATA to an external HDD there are plenty for apps to SD but i need APP to HDD. can anyone shed some light on this? do you have this kind of thing working?
beefy143 said:
ive been trying to figure out how to move apps from the internal memory to an external HDD i alread used the drive to create a TWRP backup, i can also see the drive in ES file explorer but i cant find any apps or method to move app OBB/DATA to an external HDD there are plenty for apps to SD but i need APP to HDD. can anyone shed some light on this? do you have this kind of thing working?
Click to expand...
Click to collapse
I believe Apps to USB storage will be available when we get an Android M update for the Shield TV.
any news on android m ?
If you happen to have xposed
Theres a module thats purpose is to "reroute" those internal folder contents to its counterpart on external sd card
Theres no mention of usb harddrive, but those in this situation thats willing to test and find out......
"Change path to internal SD card on OS level! Android Storage API tweaks.
This module changes path to internal SD card.
You can: change path to internal SD which is returned by System API, change path to obb dirs, app files, download dir (you can have everything on SD card!)
Control it in app settings."
[Xposed][MODULE][4.0+] XInternalSD
http://forum.xda-developers.com/xposed/modules/xposed-disablesignaturecheck-t2789267
Github
https://github.com/pylerSM/XInternalSD
If there are and it works, im sure future readers in this situation would appreciate the confirmation assuming theres no other way
Xposed
I'll try that out don't have xposed installed yet but I guess that will have to be the next thing on my list.
on full android i use link2sd.
@tailslol
Thanks for the tip with the app:good:
Apps to externals HDD
For apps to HDD you need folder mount tested and working
beefy143 said:
For apps to HDD you need folder mount tested and working
Click to expand...
Click to collapse
I made a post about it here on xda in shield android tv general.
Why does Nvidia even keep putting 16GB options in these tablets and STB? I swear 32GB should be the absolute minimum.
Sub-Negro said:
Why does Nvidia even keep putting 16GB options in these tablets and STB? I swear 32GB should be the absolute minimum.
Click to expand...
Click to collapse
Anyway the beta 6.0 is comming with native app to SD support.
tailslol said:
Anyway the beta 6.0 is comming with native app to SD support.
Click to expand...
Click to collapse
Does the apps to SD support in 6.0 move everything? Obb and Data.
Also will it support moving to USB or external HDD?
If not I would say it's still pretty useless to me.
beefy143 said:
Does the apps to SD support in 6.0 move everything? Obb and Data.
Also will it support moving to USB or external HDD?
If not I would say it's still pretty useless to me.
Click to expand...
Click to collapse
Everything,yes but sd only,not USB.
It mount USB as a external device.
There is no "best way" until we can figure out a way to get the Shield TV to support EXT4 file system.
I installed a custom kernel on my Galaxy Note 10.1 v2014 16GB tablet so I can use my 64GB external micro SD as "internal" storage. It works fairly well. It's not perfect, but it works well.
Once I got my tablet to recognize EXT4 file system, I was able to format my micro SD to EXT4 use a Windows app, there are several.
Then, I used Link2SD to mount the card as "internal storage".
My internal storage has only 10gb free when it's stock with no apps installed. I cleaned out the bloat and managed to recover another 0.4gb.
Using Link2SD, I'm able to install another 11gb of apps and games onto my tablet. My real internal storage now is about 8.82gb free. The rest of the data is stored on the micro SD.
For a lot of apps, it's able to store 100% of the app's data onto the micro SD.....I mean 100%!
BUGS:
Because of the way my tablet mounts the micro SD, if I ever have to reboot my tablet, then I have to reboot it twice. First, I do a "hard" reboot". Second, I do a "soft" reboot. The first reboot mounts the micro SD. But, because Links2SD loads before the micro SD mounts, it doesn't see it. So, I do a "soft" reboot, which only reboots the Android UI. Links2SD has a built-in feature to do this. After the soft reboot, Link2SD sees it. You have to buy the paid version to move 100% of the data to the micro SD but it was only $2-3.
Once in a blue moon, my NOVA launcher acts weird. I just do the process above and it resets it.
Without directory linking, which is how Link2SD works, then there is no BEST WAY to do this because there's no way Android will move 100% of the app to the external storage. Link2SD creates symbolic link on the internal storage, so when you look at the App Manager, it still thinks it's internal and even gives you the option to MOVE TO SD but don't do that! It's already on the SD.
So, bottom line, if you want this to work for our Nvidia Shield TV's, then you need to spread awareness to Nvidia and devs here about EXT4 file system support and hope that someone can port it to our machines!
Neo3D said:
There is no "best way" until we can figure out a way to get the Shield TV to support EXT4 file system.
I installed a custom kernel on my Galaxy Note 10.1 v2014 16GB tablet so I can use my 64GB external micro SD as "internal" storage. It works fairly well. It's not perfect, but it works well.
Once I got my tablet to recognize EXT4 file system, I was able to format my micro SD to EXT4 use a Windows app, there are several.
Then, I used Link2SD to mount the card as "internal storage".
My internal storage has only 10gb free when it's stock with no apps installed. I cleaned out the bloat and managed to recover another 0.4gb.
Using Link2SD, I'm able to install another 11gb of apps and games onto my tablet. My real internal storage now is about 8.82gb free. The rest of the data is stored on the micro SD.
For a lot of apps, it's able to store 100% of the app's data onto the micro SD.....I mean 100%!
BUGS:
Because of the way my tablet mounts the micro SD, if I ever have to reboot my tablet, then I have to reboot it twice. First, I do a "hard" reboot". Second, I do a "soft" reboot. The first reboot mounts the micro SD. But, because Links2SD loads before the micro SD mounts, it doesn't see it. So, I do a "soft" reboot, which only reboots the Android UI. Links2SD has a built-in feature to do this. After the soft reboot, Link2SD sees it. You have to buy the paid version to move 100% of the data to the micro SD but it was only $2-3.
Once in a blue moon, my NOVA launcher acts weird. I just do the process above and it resets it.
Without directory linking, which is how Link2SD works, then there is no BEST WAY to do this because there's no way Android will move 100% of the app to the external storage. Link2SD creates symbolic link on the internal storage, so when you look at the App Manager, it still thinks it's internal and even gives you the option to MOVE TO SD but don't do that! It's already on the SD.
So, bottom line, if you want this to work for our Nvidia Shield TV's, then you need to spread awareness to Nvidia and devs here about EXT4 file system support and hope that someone can port it to our machines!
Click to expand...
Click to collapse
you are a bit late but this is ok
https://www.youtube.com/watch?v=QtPGPBN5PJQ

Enabling storage adoption in Marshmallow on the Honor 7

Note: This guide is only tested on the Honor 7 B320 Marshmallow release
The Marshmallow Beta for the Honor 7 is great, making a very nice device feel even better. But one thing missing is the option to 'adopt' microSD cards as Internal Storage, something that is particularly useful on the Honor 7 given its limited 16GB capacity.
Fear not, you can do it manually!
In order to set adopted storage up, you will need a computer with working 'adb' and, of course, a microSD card in your phone, the faster the better. Here's the process!
1. BACK UP THE DATA YOU HAVE ON YOUR MICROSD CARD. Your card will be formatted by this process, so make sure you have saved any pictures, videos etc. from your card to your PC before you start.
2. Decide how you want to split your card. You can either commit 100% of the card to internal storage, or split between internal storage and conventional SD. This option is useful if you like to unplug your card and put it in your PC. I would probably recommend committing the whole card.
3. 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.
4. 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"
}
5. 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'. Easy right?
6. This process will take a while, but when it's done, the Settings -> Additional Settings -> Storage view on your device should show the new Internal Storage. Note that, for some reason, the free space isn't reported correctly, however everything seems to work OK. When you install apps, they will generally install automatically to the adopted SD, although you can manually move things around if you want to, perhaps for performance reasons (the real Internal storage will likely always be a bit faster).
7. If you want to see how you are doing for space, you can use a third party tool such as FreeSpace or FreeSpace Plus.
And that's it! Let us know how you get on, and enjoy your new, expanded Honor 7!
P
interesting but what do i win with it
Hey mate, do you mind if i ask a few questions regarding the use of this?
The only thing i had to do, to get apps and download etc to save on the SD card was to change default storage to SD, in storage menu instead of internal.
Now everything i download or install is stored on my SD card. Huawei solved this by emulating your SD card to look like the internal storage.
This feature is in both 5.0.2 & 6.0.
I attached some photos. (Note: I already have some downloads and photos on my internal storage, took me a while to buy a sd card and i have been lazy so i haven't moved any files yet.)
FakkaHe said:
Hey mate, do you mind if i ask a few questions regarding the use of this?
The only thing i had to do, to get apps and download etc to save on the SD card was to change default storage to SD, in storage menu instead of internal.
Now everything i download or install is stored on my SD card. Huawei solved this by emulating your SD card to look like the internal storage.
This feature is in both 5.0.2 & 6.0.
I attached some photos. (Note: I already have some downloads and photos on my internal storage, took me a while to buy a sd card and i have been lazy so i haven't moved any files yet.)
Click to expand...
Click to collapse
In a nutshell, regular SD storage only allows you to put limited types of data on the card, with adopted storage everything can go on the card. It's a lot more 'set up and forget' than the old way.
P
paulobrien said:
In a nutshell, regular SD storage only allows you to put limited types of data on the card, with adopted storage everything can go on the card. It's a lot more 'set up and forget' than the old way.
P
Click to expand...
Click to collapse
Oh.. So even if i change the default storage, like i said, it will still save some data in the internal storage?
Edit: My bad i didn't read the post properly...
If i adopt, can i still use it as usual? I mean remove the sd card without anything happening to my files?
FakkaHe said:
Oh.. So even if i change the default storage, like i said, it will still save some data in the internal storage?
Edit: My bad i didn't read the post properly...
If i adopt, can i still use it as usual? I mean remove the sd card without anything happening to my files?
Click to expand...
Click to collapse
It depends how you partition. With full adoption, you can't read files from the card as they are all encrypted.
P
Tried it in B313 and is not working. The SDCard appears as damaged, and prompts me to format it. I noticed that the process "sm partition disk:170:169 private" just lasted about 5 seconds...which is weird if you say it takes a while...
PS: Got OTA update to B320.Gonna update and then try again.
---------- Post added at 09:00 PM ---------- Previous post was at 08:16 PM ----------
Nice! After updating to B320 it works flawlessly. I have been waiting for this for a long time...Thank you!!!
hi, i try to execute commands to obtain the storage setting as in the guide, but i am stuck in adb shell, with error.. can you help me?
i've installed adb setup 1.4.3 and hionor suite to have all drivers and software on set in windows 10, and when i go to adb shell, all goes well, but if i try sm list-disk, there is an error :
java.lang.IllegalArgumentException
what can i do?
ryouza said:
hi, i try to execute commands to obtain the storage setting as in the guide, but i am stuck in adb shell, with error.. can you help me?
i've installed adb setup 1.4.3 and hionor suite to have all drivers and software on set in windows 10, and when i go to adb shell, all goes well, but if i try sm list-disk, there is an error :
java.lang.IllegalArgumentException
what can i do?
Click to expand...
Click to collapse
On B320?
P
Yes firmware b320
Inviato dal mio PLK-L01 utilizzando Tapatalk
Hi, seems like I dont see the newly added internal storage anywhere. How can I add or remove files to it? Please help. I am totally confused.
In Settings -> Advanced Settings -> Storage you should see it, as per the screenshot.
Things will automatically install to it or you can move them around.
P
How badly would things explode if I started the phone without the SD card?
It's surprisingly tolerant. You'd just be missing the apps from the SD.
P
I've got this error on B320, Samsung Evo 64GB
Code:
Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_6 gave up waiting for partitionPrivate after 180000ms
Any ideas?
Too51oll said:
I've got this error on B320, Samsung Evo 64GB
Code:
Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_6 gave up waiting for partitionPrivate after 180000ms
Any ideas?
Click to expand...
Click to collapse
I had that with one card, I figured it was too slow and used a different one!
P
paulobrien said:
In a nutshell, regular SD storage only allows you to put limited types of data on the card, with adopted storage everything can go on the card. It's a lot more 'set up and forget' than the old way.
P
Click to expand...
Click to collapse
Yea! It really sounds. Going to adopt. Thanks Sir!
I used this on B330 and i´m a little bit confused.
System shows internal and sdcard 8gb free space
FreeSpace shows sdcard 29gb free but not an adopted sdcard
ES explorer doesn´t show any sdcard also other apps like airdroid show any sdcard just internal with 10gb ?
update:
after working with the phone (install apps, copy pictures) it seems that the adopted sdcard works properly
update 2:
there are now some apps that did not start. reinstalling doesn´t help. very strange
Bender007 said:
I used this on B330 and i´m a little bit confused.
System shows internal and sdcard 8gb free space
FreeSpace shows sdcard 29gb free but not an adopted sdcard
ES explorer doesn´t show any sdcard also other apps like airdroid show any sdcard just internal with 10gb ?
update:
after working with the phone (install apps, copy pictures) it seems that the adopted sdcard works properly
update 2:
there are now some apps that did not start. reinstalling doesn´t help. very strange
Click to expand...
Click to collapse
Can you post pics from your storage settings page?
P
Sent from my HUAWEI NXT-L29 using Tapatalk
I just made a factory-reset and try again to adopt the sdcard
I will report what happen then
update
after factory reset my phone can´t read the sdcard so i put the sdcard into my pc but windows says ´no disk´.
with partition wizard i saw 2 partitions, 16mb primary fat32 and 2nd with the rest of space
I tried to delete both partitions and format the sdcard but nothing happens.
maybe the card is dead...

Trying to move KODI / SPMC data to SD card or USB drive

I noticed on a few different occasions that my KODI (now using SPMC but they both behave the same way) app data growing to more the 6 Gigs thereby making my 16Gig shield run out of memory. I have been uninstalling and reinstalling to work around the issue.
I'd like to resolve it so I tried following the instructions in the thread below. :
http://forum.kodi.tv/showthread.php?tid=268766&pid=2319979#pid2319979
I'm not using adoptable storage and am trying to get this working with either an SD card (shown as /storage/4B2F-56AC) or a USB 3.0 thumbdrive (shown as /storage/98FB-2ABF).
I created a file in /sdcard called "xbmc_env.properties" (I also tried "spmc_env.properties" even though SPMC is supposed to recognize both).
I added the follow text in the file : xbmc.data=/storage/98FB-2ABF/
Unfortunately with this file sitting in the /sdcard location, SPMC refuses to run.. It just sits at a black screen. I force closed the app, restarted the Shield and it still does the same thing... Sits at a black screen.
When I remove the file SPMC returns to working normally so I know it's trying to process the file.. I'm just not sure why it's not working.. It's simply one line of code in a file so it's not rocket science but I simply cannot get SPMC to launch when the file is present.
Any ideas on what I'm doing wrong ? I'd still like to move the DATA to an external source so if it grows unexpectedly in the future it doesn't interfere with other SHIELD TV apps and functions.
On a side note...
I DID notice that the culprit files that were taking up all the space in the SPMC / KODI install were .cache files... I'm thinking I should just be able to delete them ( I actually did but SPMC was still acting up) to reclaim that valuable space ?
Hmmmm.. 57 views and no replies..
I guess this hasn't been attempted very often on the Shield.
If someone could successfully take a crack at this and post a how to it would be greatly appreciated.
I tried again yesterday on both an SD card and a USB drive w/o any luck. One thing I did notice though was that when I tried to actually write to both devices through the Shield using X-Plore, it failed. With the SD card it prompted me how to enable write access and I eventually was able to copy data over to it but with the USB drive it simply failed and I couldn't get copy anything to it while it was connected to the Shield.
I should lastly mention that I am NOT rooted and am fully stock.
Is this even possible using external storage ? I don't want to setup these device as "Internal Storage" as it's my understanding that when doing so you are replacing the current internal storage (my 16Gigs) with the SD (or USB thumb drive). I tried doing so with my SD card a while back but noticed periodic slow downs on the Shield so I undid the change.
It seems as though the "Adoptable storage" option has improved with the latest update.
I converted my USB drive to Internal Storage and let the Shield do it's thing.
When all was done I was able to goto the SPMC app settings and choose to have the app on the USB drive vs. the internal 16Gb storage. I made the switch and SPMC appears to be working ok. Time will tell if I see any noticeable performance impacts.
I already use a centralized SQL DB for all media info so I'm hoping performance will be the same.
Mods... You can probably close this thread.
the.teejster said:
It seems as though the "Adoptable storage" option has improved with the latest update.
I converted my USB drive to Internal Storage and let the Shield do it's thing.
When all was done I was able to goto the SPMC app settings and choose to have the app on the USB drive vs. the internal 16Gb storage. I made the switch and SPMC appears to be working ok. Time will tell if I see any noticeable performance impacts.
I already use a centralized SQL DB for all media info so I'm hoping performance will be the same.
Mods... You can probably close this thread.
Click to expand...
Click to collapse
You mention a change in performance when using your sd card. You do understand that you must use a class 10 or preferably higher class to make it the same or faster than current internal storage?
I was trying to do the same thing as you but in my case I chose to move internal storage to a 64gb usb 3.0 usb drive.
Then I noticed kodi's performance was absolutely ****ty. The reason for this is because it tries to read data from the usb drive, and somehow kodi doesn't handle that well. My solution was to let the app be installed to adoptive storage but let the .kodi data be read from the actual internal storage.
This eliminated all performance issues!
Don't you need a UHS Class 3 device?
I have since tried converting and testing out both my USB thumb drive and my Class 10 SD card by converting them one at a time to internal storage and moving SPMC over.
I honestly thought my 6 month old USB 3.0 thumb drive would have been faster than a 3 year old SD card but I was wrong.
I have noticed a small performance decrease but nothing near as bad as you mention that currently warrants me to revert to internal storage. Time will tell as I use it more.
shaggydiamond said:
You mention a change in performance when using your sd card. You do understand that you must use a class 10 or preferably higher class to make it the same or faster than current internal storage?
I was trying to do the same thing as you but in my case I chose to move internal storage to a 64gb usb 3.0 usb drive.
Then I noticed kodi's performance was absolutely ****ty. The reason for this is because it tries to read data from the usb drive, and somehow kodi doesn't handle that well. My solution was to let the app be installed to adoptive storage but let the .kodi data be read from the actual internal storage.
This eliminated all performance issues!
Click to expand...
Click to collapse
I decided to revert back to using internal storage only. I was getting intermittent pausing of videos that I was watching off my NAS with SPMC installed on both a Class 10 Samsung SD card and a USB 3.0 thumb drive.
the.teejster said:
I decided to revert back to using internal storage only. I was getting intermittent pausing of videos that I was watching off my NAS with SPMC installed on both a Class 10 Samsung SD card and a USB 3.0 thumb drive.
Click to expand...
Click to collapse
I am using adoptive storage but moved kodi data around for better performance.
I followed this official guide on how to move Kodi data folder somewhere else:
HOW-TO:Change_data_location_for_Android (wiki)
I used ES file Explorer for this.
Here are the steps:
turn on the option to show hidden files (it is the first option). On the root of your SD Card (path is /sdcard) create a file called: xbmc_env.properties.
Open the created file and add only this line:
xbmc.data=/storage/emulated/0/InternalStorage/
You can point to another folder inside InternalStorage folder but you need to create it first. It will not be created automatically by Kodi.
Start Kodi to verify that it works. Kodi will start with the clean profile. Quit Kodi.
Using ES file explorer to erase the new contents of the /sdcard/InternalStorage folder. This is where you want your kodi data.
Using ES file Explorer and go to /sdcard/Android/data/org.xbmc.kodi/files
Move everything to a /sdcard/InternalStorage. Or you can just copy it and keep the old files until you verify that everything works.
Now start Kodi. You should see your old stuff loading but now everything is fast again.
Thanks for the info.. I actually used this as the basis for what I was trying to accomplish except I wanted to have Kodi DATA on the external storage to prevent unforeseen growth end up chewing up all the valuable internal storage.
The problem is that you cannot write to external storage from the shield UNLESS it's setup as adoptable storage, hence the approach I tried which worked, but resulted in unacceptable performance in the form of periodic video freezing.
shaggydiamond said:
I am using adoptive storage but moved kodi data around for better performance.
I followed this official guide on how to move Kodi data folder somewhere else:
HOW-TO:Change_data_location_for_Android (wiki)
I used ES file Explorer for this.
Here are the steps:
turn on the option to show hidden files (it is the first option). On the root of your SD Card (path is /sdcard) create a file called: xbmc_env.properties.
Open the created file and add only this line:
xbmc.data=/storage/emulated/0/InternalStorage/
You can point to another folder inside InternalStorage folder but you need to create it first. It will not be created automatically by Kodi.
Start Kodi to verify that it works. Kodi will start with the clean profile. Quit Kodi.
Using ES file explorer to erase the new contents of the /sdcard/InternalStorage folder. This is where you want your kodi data.
Using ES file Explorer and go to /sdcard/Android/data/org.xbmc.kodi/files
Move everything to a /sdcard/InternalStorage. Or you can just copy it and keep the old files until you verify that everything works.
Now start Kodi. You should see your old stuff loading but now everything is fast again.
Click to expand...
Click to collapse

Set external SD card to default install location [HELP]

Hi, my problem is with the phone of my girlfriend. Now have external 64GB SD, because internal storage is full. I used Android SDK and all the instructions for set default storage for install APP the new SD Card, you know, with the command adb shell pm set-install-location 2. And no error, i try get-install-location and report 2. But googe play only try to install in the internal storage.
I think the problem is with the system of the emulated storaged or something, but i tried many APP, many solutions, and i cant fix this, i search in google and others locations, have 30 tabs in firefox open with information, but i cant found the solution for this
Samsung Galaxy NOTE 4 (910F)
Android 5.1.1 (Of samsung of course)
Rooted
The vold.stab is:
dev_mount sdcard /storage/sdcard1 auto /devices/msm_sdcc.2/mmc_host
PLEASE, help me! thanks
I tried dismounting and mounting the SD, touching the vold.stab file, but do not get any results.
Can anybody help me?
Go back to stock, upgrade to 6.0.1. Then see if this helps-
http://www.modaco.com/news/android/...e-adoptable-storage-on-your-s7-s7-edge-r1632/
The article is for S7, but see if you can have that working in the N4 - just have a backup of everything (int SD, ext SD, full backup in recovery).
ph03n!x said:
Go back to stock, upgrade to 6.0.1. Then see if this helps-
The article is for S7, but see if you can have that working in the N4 - just have a backup of everything (int SD, ext SD, full backup in recovery).
Click to expand...
Click to collapse
Thanks, for the moment 6.0.1 is not released in Orange (confirmation date has passed and still not have it, I assume that is in the offing). When have 6.0.1 i try you solution, thanks.
ph03n!x said:
Go back to stock, upgrade to 6.0.1. Then see if this helps-
http://www.modaco.com/news/android/...e-adoptable-storage-on-your-s7-s7-edge-r1632/
The article is for S7, but see if you can have that working in the N4 - just have a backup of everything (int SD, ext SD, full backup in recovery).
Click to expand...
Click to collapse
I tried this in my phone. While the command itself worked after a bit of a tweak, the storage situation was pathetic - the phone showed the External SD as a part of the overall storage, but did not save files to it. Instead, it started saving files to the actual internal SD Card, resulting in space running out pretty soon. The External SD card was just there, and there was no way to migrate the files from the internal storage to the adoptable storage.
I just got a new Note 4 (this is the 3rd one I'm using since the first release in 2014) and I also want to adopt external memory card as my internal space bcos the 16Gg duos version is just too small and app to SD comes with a lot of hassles. After a lot of search for different solutions (which I tried out by the way but didn't work) I came across this thread for another phone entirely but it resolved my issue: https://forum.xda-developers.com/galaxy-tab-s/general/patch-adoptable-storage-enabler-t3460478.
The only downside is that I can't pop out my card (128Gg Samsung) and plug into my PC but I can still explore it directly from the phone itself.
I've been using the phone for 3 days and it runs smoothly, I hope that solves your problem too.
So there are two parts to the adoptable storage. The first part is the partitioned SD card and mounting the partition. Simple to be done via root essentials or the command line.
The other part is the actual menu entry on an app in application manager for moving it to the second partition. IIRC samsung does not have this support built in. So you need to flash something to replace that manager bit. In my experience with an on5 (like less than 1GB free on internal storage out of the box), adoptable wasn't really worth it, too much stuff still on internal storage. As not every app will allow you to move it to that second partition. It requires both system support and app support.
What I did there was to use the app apps2sd. Same idea, second partition on SD card. But it doesn't show up in settings -> storage. You manage where the apps go via that app. I use the link feature which places a symbolic link in the internal storage and moves all the actual files to that sd card partition.
Will Rickards said:
So there are two parts to the adoptable storage. The first part is the partitioned SD card and mounting the partition. Simple to be done via root essentials or the command line.
The other part is the actual menu entry on an app in application manager for moving it to the second partition. IIRC samsung does not have this support built in. So you need to flash something to replace that manager bit. In my experience with an on5 (like less than 1GB free on internal storage out of the box), adoptable wasn't really worth it, too much stuff still on internal storage. As not every app will allow you to move it to that second partition. It requires both system support and app support.
What I did there was to use the app apps2sd. Same idea, second partition on SD card. But it doesn't show up in settings -> storage. You manage where the apps go via that app. I use the link feature which places a symbolic link in the internal storage and moves all the actual files to that sd card partition.
Click to expand...
Click to collapse
I've been using apps2sd fot about a year and it comes with it headache too, sometimes the apps wouldn't find the external data (usually games with a lot of data) and it'll start downloading it again into the internal memory, so I usually find myself having to force stop the app, delink and relink the data on the memory card to fix the bind. I also didn't bother to partition my SD card since I can explore it on the PC with my phone connected. What this solution ( https://forum.xda-developers.com/galaxy-tab-s/general/patch-adoptable-storage-enabler-t3460478 ) does is to flash back the option to use the SD card as internal memory that Samsung removed from the phones and it works seamlessly on all Samsung phones with rooted stock OS.

Adopt Storage Sams Galaxy J3 Emerge

Okay my question is simple and straight forward I have a non rooted Samsung Galaxy J3 Emerge, Model Number: SM-J327P and currently running Android Version 6.0.1 on Sprint the 16 GB version... well I just got this phone and it already has a full internal memory, I installed a 32gb micro sd card , while I'm able to move photos and music and etc.... but I am not able to move apps to my sd card, which I really want to do so badly. I don't have any photos or music or things of that nature to delete on this phone and make space because I have not put any on this phone yet, and it's a brand new phone, the only way to make space in my phone is to delete just a couple big apps I downloaded ,that's it, but I do not want to do that. My question is; is there a way to adopt external sd storage on my phone to make it think it's internal storage so I have more storage ?? I hate how 2016 model phones do not have the option to make sd storage internal storage . It should be a mandatory option for newer model phones we are in the future for crying out loud it's 2017 things like this should be handled on phones already . Why is this a problem in 2017??? Anyways can anyone help me? Is there a way to do this ? Please and thanks in advance....
Pupuso323 said:
Okay my question is simple and straight forward I have a non rooted Samsung Galaxy J3 Emerge, Model Number: SM-J327P and currently running Android Version 6.0.1 on Sprint the 16 GB version... well I just got this phone and it already has a full internal memory, I installed a 32gb micro sd card , while I'm able to move photos and music and etc.... but I am not able to move apps to my sd card, which I really want to do so badly. I don't have any photos or music or things of that nature to delete on this phone and make space because I have not put any on this phone yet, and it's a brand new phone, the only way to make space in my phone is to delete just a couple big apps I downloaded ,that's it, but I do not want to do that. My question is; is there a way to adopt external sd storage on my phone to make it think it's internal storage so I have more storage ?? I hate how 2016 model phones do not have the option to make sd storage internal storage . It should be a mandatory option for newer model phones we are in the future for crying out loud it's 2017 things like this should be handled on phones already . Why is this a problem in 2017??? Anyways can anyone help me? Is there a way to do this ? Please and thanks in advance....
Click to expand...
Click to collapse
The only way to move apps to the phone is by rooting it. I rooted mine and use Apps2SD. I even use Titanium Backup (greatest rooted app ever IMO) to move the stubborn apps that only install on the phone internal memory. I don't do the system apps like Messages but apps that I have installed from the Playstore.
you can use xinternal after flashing xposed i have around 350 apps and modules lol still 5 gb left internal and 11 gb/32gb external
You can try this
1. Enable developer options tap basemodel in about phone (Settings)
2.Enable USB debugging
3.Download and install minimal and and fastboot to your Windows computer.
4.Plug phone in.
5. Open up minimal ADB cms line
6. Type the following
7.Adb devices
ex. 26dh3 device (should show)
8.Adb shell ( j3popltespr# should show up)
9.sm list-disks
179,64 (64 should be whats shown i believe)
now partiton your device for adoptable storage (make a backup this will erase all of your sd card)
10.sm partition disk:# of first disk, # of second disk private
(sm partition disk:179,64 private
or for 50% adoptable 50% portable you would replace private with mixed and the number ex. sm partition disk:179,64 mixed 50)
(ie. 179,64 or 179,65 *be careful to only partition the two disks listed
(179 and w.e it showed for list disk output should be what the partition cmd embodies)
11. unplug and reboot *may take longer
12. Go to your options under storage and click the three dot menu and press migrate data *use your internal storages settings and migrate its data* if the option exists ....if not then just get a good file explorer and copy and paste the files from storage/0/emulated to ExtSd (it should just ask you for permission amd to choose your disk but if it doesnt show nd u see a blank screen then you need to sty on blank screen tap three dot menu and press show sd) now just hit the accept button in the root directory (home where it shows all folders) and now you have write permissions to your SD card.
I would tho in all seriousness root your phone by followimg the OFFICIAL TWRP thread posted by @ashyx and then use apps2sd , truly you will be pleasantly suprised with root and its capabilities, and you can always use Odin and the 4 firmware files BL,AP,CP,CSC to reflash back to stock in case you break something using a bad root app, but truly if you can follow my tutorial you can handle root and its process to obtaining root.
credit @Modaco for giving the tutorial cmds
Regards Doctur
Sent from my SM-J327P using Tapatalk

Categories

Resources