[PATCH]**Adoptable storage enabler** MARSHMALLOW

Search This thread

Elllorye

New member
Jun 12, 2017
1
0
Sounds like Samsung got over it.... tried it in my Samsung Galaxy on7 and it didn´t work :( The option format will only say 'format as portable"
 

oliv0

New member
Sep 15, 2013
2
0
Hello,

I tried to increase the internal memory for my Galaxy A3 2016 with the help of your solution here with "adoptable_storage_enabler_ashyx". nevertheless, I didn't find the file on the link you supplied here. Do yiou have another solution to retrive this patch?

Tx

Olivier
 

seunskills

Member
Dec 2, 2007
35
5
haven't started yet, but is it possible to split the sd-card. 50% internal adoptable storage and 50% normal sd-card space?
and a second question, can I read/write the "adoptable storage"-Card with my Windows10 PC?

I'm also thinking of splitting my memory into 2 and using half as a portable storage and half as internal, does someone know if this is possible?

Answer to the second question is "NO", your windows OS won't be able to read the adoptable storage.
 

seunskills

Member
Dec 2, 2007
35
5
I'm also thinking of splitting my memory into 2 and using half as a portable storage and half as internal, does someone know if this is possible?

Answer to the second question is "NO", your windows OS won't be able to read the adoptable storage.

So, I tried this, splitted my 128Gb Samsung memory card into 2, the phone saw the 2 partitions on booting and prompted to format either has internal or potable, I formatted the first partition as portable but before the formatting finished, the process crashed and the phone will only see the first partition. I had to remove the memory card and reformatted by the PC to recover the whole size. I tried this several times and still get the same result.

I'll appreciate someone's help in knowing how to keep the 2 partitions so I can use one as internal and the other as portable.

Thanks all.
 

fanzizou33

Member
Aug 12, 2013
7
0
So, I tried this, splitted my 128Gb Samsung memory card into 2, the phone saw the 2 partitions on booting and prompted to format either has internal or potable, I formatted the first partition as portable but before the formatting finished, the process crashed and the phone will only see the first partition. I had to remove the memory card and reformatted by the PC to recover the whole size. I tried this several times and still get the same result.

I'll appreciate someone's help in knowing how to keep the 2 partitions so I can use one as internal and the other as portable.

Thanks all.

I did not try the fix yet on my A5 2016 A510F.

Is it working on the last Samsung Android 7.0 ?

I am also interested partitioning the microSD into 2 partitions if possible. I read that it is possible on the S7 with the following command from ADB :

adb shell , and then:

sm list-disks to get the SD card name (let's call it sdcardname), and then:

sm partition disk:sdcardname private
sm partition disk:sdcardname mixed:50

where 50 mean 50% of the full sdcard size for mountable partition.

No idea if it is working. I will try next week if the fix is confirmed here for Android 7 (as it change the kernel of Android 6 and not 7, I am not sure....)
 

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,055
9,944
I did not try the fix yet on my A5 2016 A510F.

Is it working on the last Samsung Android 7.0 ?

I am also interested partitioning the microSD into 2 partitions if possible. I read that it is possible on the S7 with the following command from ADB :

adb shell , and then:

sm list-disks to get the SD card name (let's call it sdcardname), and then:

sm partition disk:sdcardname private
sm partition disk:sdcardname mixed:50

where 50 mean 50% of the full sdcard size for mountable partition.

No idea if it is working. I will try next week if the fix is confirmed here for Android 7 (as it change the kernel of Android 6 and not 7, I am not sure....)
Some have reported it working for Android 7.
 

fanzizou33

Member
Aug 12, 2013
7
0
Some have reported it working for Android 7.

Thank you for your answer.

If any XDA specialists could have a solution to have two separated partitions on the microSD (one for adoptable storage, the other mountable exFAT or whatever), it would be great. I will try few tricks with Minitool partition Wizard, but I am really not sure to success. The idea is to have the same configuration I have right now with Android 5 on the A5 2016 using Link2SD (without root first will be great also...).

Is there any attempt to make Link2SD working with Android Nougat (7) ?
 

danielfr40

Member
Jan 28, 2007
6
0
Thanks a lot for this patch which work fine on Galaxy A5 2016
it is nearly mandatory with Samsung with only 16GB of internal memory, since with the included software like office which take twice occupation, one in the stock and one as update, the legacy move on SD which is only partial and not available for every application, there is very few internal memory available (1GB in my case)
For information, after your patch, if you reinstall a stock rom, you'r patch is still active. So, you will have a legacy rom, with automatic update through internet, no risk of lock if protection against modified installation is on.
the only trouble is that I was started by default in energy saver mode, but every thing is normal after desactivation of this mode
I have reported your work on a french forum
Thanks a lot again
 

fabiofomp

New member
Jan 2, 2018
1
0
PERFECT - PERFEITO SAMSUNG GALAXY On7

SUCESSO....

As you may all know Samsung disabled the Adoptable storage function. Even the well known S7 hack doesn't work on some Samsung devices.
Well now it's back...

Thanks to some legwork (no pun intended) by @longshanks197 we now have a workable solution.

I have created this patch to fix the issue by patching the boot image and replacing sm.jar in system.
This will enable the adoptable storage feature in Settings>Storage

This should work for pretty much any Samsung device running Marshmallow




I advise making a backup with TWRP before proceeding.

NOTE: Due to Samsung's modifications the combined storage capacity may show as incorrect, ignore this and pay attention to the separate internal and external capacity which is correct.


INSTALL:

Copy the zip below to your device then install with TWRP.

adoptable_storage_enabler_ashyx

For information how to enable adoptable storage see the guide below:

how-to-use-adoptable-storage-on-android-6-0-marshmallow

This may also be worth a read for more info:

guidelines_for_marshmallow_users_formatting/



DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU


.
 

kunnusingh

Member
Dec 26, 2010
45
2
Not working for On7, Its show option to use SD as internal but does not increase internal total disk so its better to use it as portable.

I am using App2SD ;(

Please provide patch for Samsung On7.
 

laurentd75

Member
Apr 22, 2008
15
3
Thanks a lot for this patch which work fine on Galaxy A5 2016
For information, after your patch, if you reinstall a stock rom, you'r patch is still active. So, you will have a legacy rom, with automatic update through internet, no risk of lock if protection against modified installation is on.
the only trouble is that I was started by default in energy saver mode, but every thing is normal after desactivation of this mode
I have reported your work on a french forum
Thanks a lot again
Hi danielfr40,
Do you mean that if you have modified your Marshmallow 6.0 firmware on your Galaxy A5 2016 firmware to enable adoptable storage, you can then use Smartswitch to update to the latest 7.0 Nougat firmware, and your adoptable storage format and alkl your data will be preserved?

I have been postponing the upgrade of my Galaxy A5 2016 to Nougat for more than a year, because I am scared I will lose data or the adoptable storage feature I currently have setup with the Marshmallow 6.0 firmware thanks to the instructions provided by ashyx...

So if anyone can confirm whether it is possible to upgrade from a modified Marshmallow with an SD card configured with adoptable storage, to a Nougat firmware while retaining all data and the adoptable storage configuration, then I'll be really relieved to know I can safely update...

Cheers,
Laurent
 

danielfr40

Member
Jan 28, 2007
6
0
Hi danielfr40,
Do you mean that if you have modified your Marshmallow 6.0 firmware on your Galaxy A5 2016 firmware to enable adoptable storage, you can then use Smartswitch to update to the latest 7.0 Nougat firmware, and your adoptable storage format and alkl your data will be preserved?

I have been postponing the upgrade of my Galaxy A5 2016 to Nougat for more than a year, because I am scared I will lose data or the adoptable storage feature I currently have setup with the Marshmallow 6.0 firmware thanks to the instructions provided by ashyx...

So if anyone can confirm whether it is possible to upgrade from a modified Marshmallow with an SD card configured with adoptable storage, to a Nougat firmware while retaining all data and the adoptable storage configuration, then I'll be really relieved to know I can safely update...

Cheers,
Laurent
Yes I confirm
my galaxy a5 2016 has been upgraded in nougat now and the adoptable storage and data has been preserved
I don't remember if I had reinstalled first the stock or nougat, but now I have a not rooted nougat and have been automatically updated with some nougat revision.
adoptable storage and data preserved
it seems that adoptable storage patch is needed to build the unified memory between internal and external, but is then recongnized by stock os since it is a native function in android, just building has been removed by Samsung.
just during the building, you have to save your data on sd card, they are lost.
before the building some applications was internal other external, so I had to reinstall external application, application data was perserved probably in internal memory
 

laurentd75

Member
Apr 22, 2008
15
3
Many thanks for your quick reply danielfr40, and for the good news !!! :)

I'll try to upgrade to Nougat, I am currently rooted on Marshmallow but do not care very much if I lose the root privilege, it's becoming more of a hindrance than a good thing nowadays, with more and more apps detecting that you are rotted and blocking you...

Thanks again a lot;

Best regards,
Laurent

---------- Post added at 03:07 PM ---------- Previous post was at 02:51 PM ----------

Well, actually, after seeing a video on the highlights of Samsung's Nougat build for the A5 2016, I'm not sure it's really worth upgrading:
https://www.youtube.com/watch?v=ywLFYJVdb5c

I must say I hate the new status / notifications area at the top, which requires you to swipe twice and scroll down to access the screen brightness slider, which I find is really cumbersome as I use it a lot when finding myself suddenly in bright sunshine, and it must be a pain to search for the slider while you are dazzled by the sun, whereas in Marshmallow you know exactly where the slider sits so you can even adjust it while you are blinded...
I was not really impressed either by the new Phone or Messages application redesign, I think they are less legible and there is less contrast than before for the menus...

So, al in all, I'm starting to think it's not worth the hassle...

But maybe you might have some good points about Nougat on the A5 2016 you can tell about Daniel, and give me a good (if not compelling) reason to upgrade, other than more upd-to-date and "secure" system ??
 
Last edited:

ashyx

Inactive Recognized Contributor
Oct 14, 2012
15,055
9,944
Many thanks for your quick reply danielfr40, and for the good news !!! :)

I'll try to upgrade to Nougat, I am currently rooted on Marshmallow but do not care very much if I lose the root privilege, it's becoming more of a hindrance than a good thing nowadays, with more and more apps detecting that you are rotted and blocking you...

Thanks again a lot;

Best regards,
Laurent

---------- Post added at 03:07 PM ---------- Previous post was at 02:51 PM ----------

Well, actually, after seeing a video on the highlights of Samsung's Nougat build for the A5 2016, I'm not sure it's really worth upgrading:

I must say I hate the new status / notifications area at the top, which requires you to swipe twice and scroll down to access the screen brightness slider, which I find is really cumbersome as I use it a lot when finding myself suddenly in bright sunshine, and it must be a pain to search for the slider while you are dazzled by the sun, whereas in Marshmallow you know exactly where the slider sits so you can even adjust it while you are blinded...
I was not really impressed either by the new Phone or Messages application redesign, I think they are less legible and there is less contrast than before for the menus...

So, al in all, I'm starting to think it's not worth the hassle...

But maybe you might have some good points about Nougat on the A5 2016 you can tell about Daniel, and give me a good (if not compelling) reason to upgrade, other than more upd-to-date and "secure" system ??
IMO it's well worth the upgrade. TouchWiz is really toned down and is finally becoming a nice GUI experience.
It has a nice smoothness to it now.
 

Marpo12

Member
May 17, 2015
13
1
Oreo and A3 2017

hello,
so the oreo update is out. Does someone now if it also works on oreo?
.sammobile.com/firmwares/galaxy-a3/SM-A320FL
 

laurentd75

Member
Apr 22, 2008
15
3
IMO it's well worth the upgrade. TouchWiz is really toned down and is finally becoming a nice GUI experience.
It has a nice smoothness to it now.

Thanks for your feedback on this ashyx. I value very much your opinion of course as you're the specialist here, but I think that unless I have a really compellling reason to upgrade, I'll stay with Marshmallow for the time being just for the usability reason exposed above which is quite important to me.

And if I decide to upgrade later then maybe it will be to Oreo as it is being released now according to the latest post by Marpo12 !

Thanks,

Laurent
 

XelSam

Member
Sep 12, 2015
24
4
Poland
my steps were like this:
  • put the zip file into my internal storage.
  • Turn off my phone.
  • Going to recovery mode.
  • Installing the zip file WITHOUT the file signature verification.
  • rebooted the phone.
  • Going to (Settings) then (Storage) clicked on "Format as PORTABLE".
  • Then a notification came up saying I got a new SD Card.
  • Clicked it and showed that I can format it as "INTERNAL STORAGE".
  • then exported all my photos Automatically as asked from the format proccess itself.
  • took 3 minutes then its all done.

SAMSUNG Galaxy S5 SM-G900F Android 6.0.1 :good::laugh:
 
Last edited:

devilrex

Senior Member
Sep 2, 2010
281
30
www.mjet.it
Just "downgraded" my A510f to stock firmware (7.0) then:

put the zip file into my internal storage.
Turn off my phone.
Going to recovery mode.
Installing the zip file WITHOUT the file signature verification.
rebooted the phone.
Going to (Settings) then (Storage) clicked on "Format as PORTABLE".
Then a notification came up saying I got a new SD Card.
Clicked it and showed that I can format it as "INTERNAL STORAGE".

Works!
Ty mate
 

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    As you may all know Samsung disabled the Adoptable storage function. Even the well known S7 hack doesn't work on some Samsung devices.
    Well now it's back...

    Thanks to some legwork (no pun intended) by @longshanks197 we now have a workable solution.

    I have created this patch to fix the issue by patching the boot image and replacing sm.jar in system.
    This will enable the adoptable storage feature in Settings>Storage

    This should work for pretty much any Samsung device running Marshmallow




    I advise making a backup with TWRP before proceeding.

    NOTE: Due to Samsung's modifications the combined storage capacity may show as incorrect, ignore this and pay attention to the separate internal and external capacity which is correct.


    INSTALL:

    Copy the zip below to your device then install with TWRP.

    adoptable_storage_enabler_ashyx

    For information how to enable adoptable storage see the guide below:

    how-to-use-adoptable-storage-on-android-6-0-marshmallow

    This may also be worth a read for more info:

    guidelines_for_marshmallow_users_formatting/



    DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU


    .
    2
    Thanks a lot. Its works great for me as well.

    I'm using A710FD, Indian firmware, 6.0.1.

    Please, I would also like to request you or any of the developers here, to develop a permissive kernel for A710F, Marshmallow :)
    I've Link2sd paid version and it doesn't seem to work on MM.(Mount storage error !!).
    1
    Very thanks bro.
    1
    Works on the last firmware up to day? I have A510MUBU3BPI3
    No reason why it shouldn't unless Samsung have changed something.
    1
    Thanks a lot. Its works great for me as well.

    I'm using A710FD, Indian firmware, 6.0.1.

    Please, I would also like to request you or any of the developers here, to develop a permissive kernel for A710F, Marshmallow :)
    I've Link2sd paid version and it doesn't seem to work on MM.(Mount storage error !!).

    THANKS I got the same device and I was worried if it will brick my phone lol :fingers-crossed:

    ---------- Post added at 10:24 PM ---------- Previous post was at 09:50 PM ----------

    Worked great on my A7 2016

    my steps were like this:
    • put the zip file into my internal storage.
    • Turn off my phone.
    • Going to recovery mode.
    • Installing the zip file WITHOUT the file signature verification.
    • rebooted the phone.
    • Going to (Settings) then (Storage) clicked on "Format as PORTABLE".
    • Then a notification came up saying I got a new SD Card.
    • Clicked it and showed that I can format it as "INTERNAL STORAGE".
    • then exported all my photos Automatically as asked from the format proccess itself.
    • took 3 minutes then its all done.

    Done all of that without doing a backup to anything, I took my risks lol
    Anyway I've been using my phone for a day without any problems. THANKS MAN FOR THE FIX, we truly love you. <3