• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[PATCH]**Adoptable storage enabler** MARSHMALLOW

Search This thread

smudge100

Member
Feb 14, 2014
22
0
Via ADB

Your still using stock recovery. You need to install twrp.
Follow the instructions to the letter.
I'm connected to my car stereo (android marshmallow) via WiFi. I have not installed twrp as it not a listed device.
can i flash the patch using adb from my pc, im connected to the car, which is in terminal mode.

??? thanks
 

seunskills

Member
Dec 2, 2007
34
5
As you may all know Samsung disabled the Adoptable storage function in the Tab S. Even the well known S7 hack doesn't work. Well now it's back...

Thanks to some legwork (no pun intended) by @longshanks197 we now have a workable solution.
As previously thought, Samsung disabled adoptable storage in the framework.

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



NOTE: I advise making a backup with TWRP before proceeding.


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


.

I just tried this on Galaxy note 4 dual SIM (N9100) and it's been working seamlessly for the past 3 days. Thanks ashyx for this solution.
 
  • Like
Reactions: arcorsai and ashyx

creadle

Member
Apr 28, 2012
38
5
maybe you can help me, i try it with SM-G800F (S5 Mini) but when i try to falsh the patch a errer apperas "Unable to find boot block location!"

Code:
[Installing zip file '/sdcard/adoptable_storage_enabler_ashyx.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
############################################
#   Credit to jcadduono for this script    #
#           *Modified by ashyx*            #
#  Adoptable storage enabler for the Tab s #
#    Thanks to an idea by longshanks197    #
############################################
/sbin/getprop

Unpacking the installer...Archive:  /sdcard/adoptable_storage_enabler_ashyx.zip
  inflating: boot-patcher.sh
  inflating: config.sh
   creating: META-INF/
   creating: META-INF/com/
   creating: META-INF/com/google/
   creating: META-INF/com/google/android/
  inflating: META-INF/com/google/android/update-binary
   creating: patch.d/
  inflating: patch.d-env
  inflating: patch.d/01-enable-adoptable-storage
  inflating: sm.jar
  inflating: system.sh
   creating: tools/
  inflating: tools/lz4
  inflating: tools/mkbootimg
  inflating: tools/unpackbootimg

Running boot image patcher...- Error: Unable to find boot block location!
- Aborting...

Failed to patch boot image!Updater process ended with ERROR: 1
I:Install took 5 second(s).
Error installing zip file '/sdcard/adoptable_storage_enabler_ashyx.zip'
 
Last edited:

howsie

Senior Member
Nov 22, 2008
286
118
I just tried this on my note 8 running Oreo and it doesn't work at all....... Very unfortunate
 

pathar

New member
Mar 21, 2019
1
0
I managed to get it to run on Oreo on my Tab A SM-T580, and it definitely lumped the storage together, but it's saying that all the data on my SD Card is in use! So I have the same free space. I even used FreeSpace to check it, and it agrees. Thoughts?
 

smilenjackcasey

New member
May 17, 2019
1
0
SM-T800 Galaxy S 10.5 - Works but does not merge the Storage

Hi,

Thanks for making this. I used it on my SM-T800 Galaxy S 10.5, and can now enable Adoptable Storage, however it does not seem to "merge" the internal and external storage. I still see them as separate devices, and, when I connect the tablet to Windows, it only sees the external SD card storage. Any ideas? Thanks.


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

Thanks to some legwork (no pun intended) by @longshanks197 we now have a workable solution.
As previously thought, Samsung disabled adoptable storage in the framework.

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



NOTE: I advise making a backup with TWRP before proceeding.


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


.


---------- Post added at 06:19 PM ---------- Previous post was at 05:57 PM ----------

Hi,

Thanks for making this. I used it on my SM-T800 Galaxy S 10.5, and can now enable Adoptable Storage, however it does not seem to "merge" the internal and external storage. I still see them as separate devices, and, when I connect the tablet to Windows, it only sees the external SD card storage. Any ideas? Thanks.
 

enjoylife27

Member
May 26, 2019
5
0
Hi, tried this on my Tab S 10.5 today. After installing the TWRP using Odin and flashing the adoptable storage patch, I am stuck in that stupid reboot loop. I did selected "Allow modification to system partition..." in TWRP.

Anyone else had the same issue as it appears to be a very common one on these Samsung tablets. Any suggestion for a quick fix for this please. I am getting random reboots at the moment all the time since I tried flashing the recovery and patch. Any help would be appreciated.
 

gniblack

Member
Oct 6, 2011
32
0
My SM-T800 tablet is running Android version 6.0.1 (Marshmallow).. Yesterday I installed TWRP 3.3.1 and performed a backup of the default items selected. Then I installed CF-Auto-Root-chagallwifi-chagallwifixx-smt800.tar and adoptable_storage_enabler_ashyx with TWRP. After rebooting the device I had the option to use my SD card as an internal device. However, after formatting the SD card for internal use my total space read 256 GB (2 times the size of my SD card) rather than the total actual space (16GB internal plus 128GB SD card). Also the free space still reflects what is available on my SD card, which is not very much at all.

Any ideas? Is there a ROM that already includes this patch? I wouldn't mind doing that if that's the case.
 

M1STAKE

New member
Jun 7, 2019
1
0
Apl didn't go to sd card

Hei Ashyx, First of all i wanna say thanks to you cuz making this and i have some question about this.
So i have Samsung J2 Prime and i flash this zip to this phone but after that i just realize that when i download and instal apl, all of 'em did not go to the sd card is that bug or something thanks

I hope you reply this cuz this mean a lot for me
 

funinagg

Member
Jan 12, 2017
41
3
samsung tab a sm-t580. twrp 3.1.1-1. magisk. no-verity.
tried with n without adoptable storage patch.
tried with unformatted. formatted with windows 10 as fat.
none worked.
well as soon as i clicked to use sd card as adoptable storage, i got into a boot loop. i could not get out of it regardless of what combination i tried in TWRP. for mounting. for storage.
my aim is to have slow apps on sd card n fast apps on tab. if thats not possible then i would like all apps on sd card, new install as well as updates. any solutions? i am running liquid remix 10 rom.
when just to check, i tried to use sd card formatted as storage from tab, the screen kept shutting off every 15 second or so making it unusable. thinking of clean install hoping at least will work formatted as storage.
 
Last edited:

lvalves

New member
Aug 25, 2019
2
0
Hi guys,

Android file host cannot find any mirror for this file... Is there another safe way to get it?

Thanks!
 

Top Liked Posts

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

    Thanks to some legwork (no pun intended) by @longshanks197 we now have a workable solution.
    As previously thought, Samsung disabled adoptable storage in the framework.

    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



    NOTE: I advise making a backup with TWRP before proceeding.


    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
    This is great news. Is it possible to make it work for the SM-T700?
    It should work on all models.
    2
    Since adoptable storage option is due to a patch, what happens to internal sd partition (and related data) when we update the firmware?
    Most likely nothing as the partitions are handled by vold so it should still work regardless
    However you may lose the settings in storage.
    You can always reapply the patch.
    2
    Does it work on a non rooted device? Thanks for this fix!

    Sent from my HUAWEI P7-L10 using XDA-Developers mobile app
    Yes

    Sent from my SM-T815 using Tapatalk
    2
    Looks like how much combined storage is messed up, I have 20gb of video`s and a few ebook, but the storage manager says i have used 96%

    Just noticed maximum storage is showing as 256GB, I have an 16gb tablet with an 128gb microsd that`s an maximum of 144GB so it`s wrong by 112GB

    Is there anyway to correct this?

    Nbs4Rqv.png


    John.
    I would take the combined storage info with a pinch of salt and just pay attention to the individual storage info which seems to be correct.
    It's the same issue for the S7 and other Samsung devices.
    Looks like Samsung cobbed something else or maybe this is one of the reasons they disabled it?