*[PATCH]**Adoptable storage enabler** MARSHMALLOW*

ashyx

Recognized Contributor
Oct 14, 2012
15,110
9,823
0
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


.
 

punmeister

Senior Member
Apr 25, 2016
60
15
0
Bucharest
I used the S7 hack and it works perfectly, only difference is that it shows that I have 32gb of storage rather tham 24gb (8gb+16gb sd). Thanks a lot, adoptable storage is defintely the saving grace for phones with low internal storage.

Sent from my SM-J500F using Tapatalk
 

xGarro

Member
Aug 27, 2015
21
7
0
27
Whenever I try to format the SD card, I end up with a corrupted SD card. Using the Performance Boost Speed ROM with a SM-J500M, also using systemless su and xposed if that matters.
 

Source.cod

New member
Nov 20, 2016
2
0
0
Question

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


.
How about my samsung J500G MM 6.0.1 ? Can i enabler my adoptable storage ?
 

ashyx

Recognized Contributor
Oct 14, 2012
15,110
9,823
0
I have rooted J500F model and tried your method. Was installed successfully but didnt worked. No such option is showed in storage.
It has worked just fine for many others.
Format your card as portable storage. Reboot and look out for the sdcard notification.
If you don't see that go to storage settings.