Adoptive storage on Marshmallow

heng950620

Senior Member
Jun 5, 2015
67
14
0
Has anybody tried adoptive storage using a tool such as root essentials? The tool description promices the ability to enable adoptive storage on any phone. Was wondering if anybody has any experiences with the tool and the m4 aqua...
this apps look good for adaptive storage but im haven root cause of busy :crying:
hope got ppl test tis apps and tell us is it work?:(
 

Mephisto40

Member
Jul 12, 2016
35
20
0
Just a little word of warning to people

I've had adoptable storage working since the update, not had a single issue with it

This morning I restarted my phone, when it started back up all the apps I moved to the SD card no longer open. I can still access all the data on the sd card but now none of my apps work properly and I'm getting error messages whenever any app tries to read or write to the SD.

This is a high performance SD card, brand new when I updated my phone, now it seems like the sd card is completely corrupted...

Looks like I'm factory resetting my phone again...

I honestly wouldn't even bother trying this method now. I can't have all my apps randomly corrupting at any point. We desperately need some other way of doing this without rooting the phone
 
Last edited:
  • Like
Reactions: enkoo1 and maximh23

DarkerJava

Senior Member
Jul 15, 2016
88
9
0
Just a little word of warning to people

I've had adoptable storage working since the update, not had a single issue with it

This morning I restarted my phone, when it started back up all the apps I moved to the SD card no longer open. I can still access all the data on the sd card but now none of my apps work properly and I'm getting error messages whenever any app tries to read or write to the SD.

This is a high performance SD card, brand new when I updated my phone, now it seems like the sd card is completely corrupted...

Looks like I'm factory resetting my phone again...

I honestly wouldn't even bother trying this method now. I can't have all my apps randomly corrupting at any point. We desperately need some other way of doing this without rooting the phone
Any other way without rooting is probably impossible. If sony didn't include it in the stock rom, then you wouldn't be able to get the feature that was in regular MM atleast.

---------- Post added at 01:16 PM ---------- Previous post was at 01:11 PM ----------

This method probably wouldn't work for my 16gb version right? According to people's experiences, the 8 gb version was only able to add another 8gb because there was a 16gb version.... anything more didn't work.
 

Mephisto40

Member
Jul 12, 2016
35
20
0
As another added 'bonus', now my SD card doesn't work. Tried formatting it, re partitioning, everything I can think of and the phone just refuses to mount it properly and it continuously tells me to re format the card. I know this probably means the card is corrupt but this has happened whilst it's just sat in my phone. Extremely reluctant to buy a new sd card just incase it happens to that one as well.

At least now we know why they've avoided using adoptable storage in their MM build if this is the sort of damage it can do to your sd cards.
 

aidy.lucas

Senior Member
Oct 8, 2014
1,866
610
0
Just a little word of warning to people

I've had adoptable storage working since the update, not had a single issue with it

This morning I restarted my phone, when it started back up all the apps I moved to the SD card no longer open. I can still access all the data on the sd card but now none of my apps work properly and I'm getting error messages whenever any app tries to read or write to the SD.

This is a high performance SD card, brand new when I updated my phone, now it seems like the sd card is completely corrupted...

Looks like I'm factory resetting my phone again...

I honestly wouldn't even bother trying this method now. I can't have all my apps randomly corrupting at any point. We desperately need some other way of doing this without rooting the phone
I'm not even gonna try it out on my new xa, there's a reason why it wasn't included in mm think you may of found it

Sent from my Xperia XA using XDA Labs
 

sergioslk

Senior Member
Nov 3, 2013
211
57
0
Lomas de Zamora City
As another added 'bonus', now my SD card doesn't work. Tried formatting it, re partitioning, everything I can think of and the phone just refuses to mount it properly and it continuously tells me to re format the card. I know this probably means the card is corrupt but this has happened whilst it's just sat in my phone. Extremely reluctant to buy a new sd card just incase it happens to that one as well.

At least now we know why they've avoided using adoptable storage in their MM build if this is the sort of damage it can do to your sd cards.
try to rapir from twrp, or repartition from it

if you have rooted LP with twrp you can preinstall xposed with PRF creator without root
 

Mephisto40

Member
Jul 12, 2016
35
20
0
try to rapir from twrp, or repartition from it

if you have rooted LP with twrp you can preinstall xposed with PRF creator without root
I've tried all that, I performed a full format of the card last night and now my phone recognises it and I can use it as normal storage, but I can no longer re-partition the card using adb. Continuously get error messages when I try to format it to anything other than public.

This worked flawlessly on the day the update came out and this sd card was brand new, and hasn't been taken out of the phone since i partitioned it. The adoptable storage seems to have done some irreversible damage to the sd card.

---------- Post added at 09:34 AM ---------- Previous post was at 09:22 AM ----------

Another update to this, I've formatted the card using a program called SDFormatter on my PC, that is specifically designed to format SD cards. I overwrote the entire card during this process and it seems to have got it back up and running again and I can now re partition the card for adoptable storage. I'm just wondering how long this is going to last this time before the adoptable partition corrupts again.
 
Last edited:

porroni

Member
Jul 19, 2016
41
8
0
I have been using the phone normally and i have not encountered problem with the adoptive storage up to now. But the phone suddenly restarted, and now i got the internal memory full. It's 7.9 GB of 8.0. But before it restarted it was 7.5 GB. I checked the apps but are the same size as before. What the hell happened? I can't install apps anymore dute to this, infact I was keeping it on 7.5 GB due to a game that must stay in the internal memory. I tried to delete cache but it was already deleted. So how 500 MB suddenly appeared from nothing? Any ideas?
 

asterix776655

New member
Jul 31, 2016
2
0
0
I see that here are many users who have trouble with that.
But my quastion is : Did you already contacted Sony concerning that ?
It's important to give feedback to Sony.
If all M4 users call them for support they might react !
And let's make that clear:
A Marshmallow from Sony which has that feature just as it was implemented from Google is the only solution !
So please, do not just write here and work out some workaround but also take some minutes and write a mail to Sony support !!!
 

sergioslk

Senior Member
Nov 3, 2013
211
57
0
Lomas de Zamora City
I see that here are many users who have trouble with that.
But my quastion is : Did you already contacted Sony concerning that ?
It's important to give feedback to Sony.
If all M4 users call them for support they might react !
And let's make that clear:
A Marshmallow from Sony which has that feature just as it was implemented from Google is the only solution !
So please, do not just write here and work out some workaround but also take some minutes and write a mail to Sony support !!!
Lol, sony solved this issue releasing a 16gb version

and more "lol" this is sony, they don't hear you, no matter how much noise you can do
 

sambartle

Senior Member
Dec 17, 2006
269
19
0
Sheffield
www.sambartle.co.uk
I've got a slight issue with this method on my M4.. whilst it looks like it has worked fine.. Nothing actually installs there..
Maybe I misunderstood but I thought adoptable storage would just be treated as either a replacement for or an extension to internal and android would figure out when it was needed and use it.

Currently this is what my storage manager looks like:
Link: https://goo.gl/photos/aziTGvW3XMNk8B6t7

And I can't install anything from the store as I get device is out of space.

I then tried going down the app list finding ones with the change button on their storage properties, but as soon as I try to move one to adopted storage tnhe device reboots..

Has anyone actually managed to install significant amounts of apps to the adopted partition and how did you manage it?
 

petkow

New member
Aug 1, 2016
1
0
0
Hi, i tried to create a secondary partition for link2sd (paid version) but Marhmellow on my m4 e2303 said SD is currupted?
I tried ext2 and ext4 also fat32
When i use fat32 both partitions are visible on the phone, but they dont support UNIX/POSIX like file ownership stuff (chmod) so i guess i dont need to use this fat32 for the secondary part.

I have a stupid question - if i use this "adaptive storage" do i still need link2sd ?
Apparently it fails fo mount my secondary partition no matter what setting i used.

I tried to to the adaptive thingie and ended up with two errors:
1|[email protected]:/ $ sm list-disks
sm list-disks
disk:179,64
[email protected]:/ $ sm partition disk:179,64 mixed 60
sm partition disk:179,64 mixed 60
Error: java.lang.IllegalStateException: command '50 volume partition disk:179,64 mixed 60' failed with 'null'


This i fixed by enabliung the phone itself to format my sdcard from the phone GUI
The second issue i raninto was a timeout -
adb shell
[email protected]:/ $ sm list-disks
sm list-disks
disk:179,64
[email protected]:/ $ sm partition disk:179,64 mixed 50
sm partition disk:179,64 mixed 50
Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_5 gave up waiting for partitionMixed after 180000ms
1|[email protected]:/ $

this is a class 10 or whatever (fast) toshiba SDCARD

i did the same command from the terminal inside the phone nad it worked!
But:
1. i dont know if i have now enabled the adaptiove storage sucesfully on my phone?
2 and do i still to use link 2 sd?
Help pls?

 
Last edited:

Mephisto40

Member
Jul 12, 2016
35
20
0
I've got a slight issue with this method on my M4.. whilst it looks like it has worked fine.. Nothing actually installs there..
Maybe I misunderstood but I thought adoptable storage would just be treated as either a replacement for or an extension to internal and android would figure out when it was needed and use it.

Currently this is what my storage manager looks like:
Link: https://goo.gl/photos/aziTGvW3XMNk8B6t7

And I can't install anything from the store as I get device is out of space.

I then tried going down the app list finding ones with the change button on their storage properties, but as soon as I try to move one to adopted storage tnhe device reboots..

Has anyone actually managed to install significant amounts of apps to the adopted partition and how did you manage it?
The best way I found of doing this was to factory reset your phone with the latest update using Sony PC companion. Then as soon as the phone boots go into the google play store and make sure you have app updates switched off. This means that you keep a good 2GB of internal storage from being used up. Then if you do the adoptable storage fix it writes to both partions, but primarily the adoptive one. The reason people are running out of space is because their internal partition is already full, and the phone will tell you you have no space if the initial internal partion gets full before you do the adoptable strage fix. Some data is always installed to the internal partition so you need to make sure you have enough space on it at all times.

Just bare in mind I did all this on the day of the inital update release, and the adoptable strage partiton corrupted after about a week of use. I might have just been unlucky but just bare in mind you may lose everything on your phone if you do this.
 
Last edited:

sambartle

Senior Member
Dec 17, 2006
269
19
0
Sheffield
www.sambartle.co.uk
The best way I found of doing this was to factory reset your phone with the latest update using Sony PC companion. Then as soon as the phone boots go into the google play store and make sure you have app updates switched off. This means that you keep a good 2GB of internal storage from being used up. Then if you do the adoptable storage fix it writes to both partions, but primarily the adoptive one. The reason people are running out of space is because their internal partition is already full, and the phone will tell you you have no space if the initial internal partion gets full before you do the adoptable strage fix. Some data is always installed to the internal partition so you need to make sure you have enough space on it at all times.

Just bare in mind I did all this on the day of the inital update release, and the adoptable strage partiton corrupted after about a week of use. I might have just been unlucky but just bare in mind you may lose everything on your phone if you do this.
Apologies I probably should have been a bit clearer..

I did flash a completely clean MM ROM first and didn't update anything prior to setting up adoptable storage. I had ~2GB free on the internal when I set up adoptable..

I then updated all the built in apps (disabled some of them), and then installed about half of the apps I'd like to be running (this is intended to be my travel phone), and ran out of space before I could install everything.

I use a wide variety of very popular apps and only about 20% of the space used actually went too the adoptable partition (it was being used but by very few apps) instead of the internal. (2GB went to internal, 358mb went to adoptable).

I then went down all the ones that it had installed internally, and about 3 of them did have the move option to shift them to adoptable.. but all 3 cause a kernel panic and an immediate reboot when clicked. Apps that initially DID install to adoptable can be moved freely between storage types without error. The biggest issue is that a lot of apps simply refuse to use adoptable storage.

The instructions are great and it worked perfectly.. the problem is that the implementation by Google is terrible. It either needs to extend the internal storage seamlessly (as in every app will use it - as it wont know if its internal or adopted), or it needs to completely replace the internal storage. (again invisible to the apps)

I was hoping it would rescue this phone, but its as useless now as it ever was as it still fills up just as fast.

I'm going to build the MM AOSP and see if I can figure out how to make the adoptable storage simply replace the internal data partition.. as that would solve my issues.

---------- Post added at 05:47 PM ---------- Previous post was at 05:43 PM ----------

All of you guys above!!!
to have new apps installed on adoptive storage, you need to go settings/storage/adoptive partition/ top right corner ... and select migrate (move) data
It doesn't help. (I tried it) It moved a whole 37MB after the internal partition was filled.. which didnt help at all!


Also.. the description of the feature isnt clear which way it actually moves the data! That button is available for both the internal and the adopted storage, but its unclear which way it actually moves the data when you click it on each one!
 
Last edited:
  • Like
Reactions: petkow and gbru2505

vyrussu

Senior Member
Aug 10, 2012
102
24
0
Cluj-Napoca
...

---------- Post added at 05:47 PM ---------- Previous post was at 05:43 PM ----------



It doesn't help. (I tried it) It moved a whole 37MB after the internal partition was filled.. which didnt help at all!


Also.. the description of the feature isnt clear which way it actually moves the data! That button is available for both the internal and the adopted storage, but its unclear which way it actually moves the data when you click it on each one!
You need to do what i said after a fresh install, before installing any apps... this way all apps would install directly on adoptive storage.
After you select move data on 3 dots menu in adaptive storage, next time you enter this menu you will not have this option, but you will have it on internal partition menu but dont need to select it, if you do, all apps will be moved to internal memory and you will have memory full again.
Hope you understand and do everything properly.
 
  • Like
Reactions: Keesjansma01

sambartle

Senior Member
Dec 17, 2006
269
19
0
Sheffield
www.sambartle.co.uk
You need to do what i said after a fresh install, before installing any apps... this way all apps would install directly on adoptive storage.
I've just tried this now.. I factory reset the device, and reconfigured adoption before updating anything (or even logging into my account or wifi).. I then used the Migrate option and then installed the apps.

Unfortunately when installing the same apps, I can already see its not going to make a difference because all the apps are going to the same places again.. The apps that installed to adopted last time (very few) have done so again.. and all the ones that didnt work last time are still failing to use adopted (even after migrating it), and are installing fully to internal.
 
Last edited:

greatbal

Senior Member
Mar 18, 2006
1,527
75
0
I really don't get it. Adoptive Storage is one feature of Marshmallow that could save phones with limited internal storage, e.g. M4 Aqua. I really don't get it why Sony decided to leave that feature out!

The solution on this post is a work-around that could have potential devastating effects of one day losing all your data when it suddenly stops working.

Damn Sony. I've been waiting for the Marshmallow update for months thinking the adoptive storage feature of Marshmallow would solve the insufficient internal storage available. Grrr... :(