[PATCH]**Adoptable storage enabler** MARSHMALLOW - Galaxy A3, A5, A7, A8, A9 General

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
.

Very thanks bro.

Can I flash this patch with stock Samsung recovery?

raming69 said:
Can I flash this patch with stock Samsung recovery?
Click to expand...
Click to collapse
No. You can't flash anything unofficial with stock recovery.

Can someone do me a favour and check if adoptable storage is mountable in TWRP.
I. E. tap the storage button it should list internal and adoptable storage as selectable options.

Works on the last firmware up to day? I have A510MUBU3BPI3

GsKill said:
Works on the last firmware up to day? I have A510MUBU3BPI3
Click to expand...
Click to collapse
No reason why it shouldn't unless Samsung have changed something.

Seems like no one has tried this one. Ok. Let me try it on my a5h

Hi there ashyx,
I had some trouble (Noob trouble that is...) installing your 'adoptable storage' mod on my Galaxy A5 2016, but after some bit of thinking and troubleshooting I was able to succeed without much difficulty, I have related my epic adventure on this thread:
http://forum.xda-developers.com/sam...to-configure-adoptable-storage-t3458536/page2
As I mentioned there, I'm going to make a donation to you right away to express my sincere thanks for your awesome work!!!
Cheers,
Laurent

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 !!).

ashyx said:
Can someone do me a favour and check if adoptable storage is mountable in TWRP.
I. E. tap the storage button it should list internal and adoptable storage as selectable options.
Click to expand...
Click to collapse
In TWRP i try to install xposed but can't find anything(only show folders no content). what would be? I try mount internal and external but no solution.
Thanks for your work.

Thank you !
Works on SM-A510F using TWRP 3.0.2-1
I Hope we will stop using "hacks" for those basic Android features in future.
Edit : in TWRP I don't see adoptable storage(The fuse one I mean). I still see Internal Storage and Micro SDCard separated.

ashwini215 said:
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 !!).
Click to expand...
Click to collapse
+1 to this, I have a A710M and link2SD don't work
Sent from my SM-A710M using Tapatalk

Hello ashyx thanks a lot for this awesome work.
But i am having issues when I am trying to format the card as internal, the device restarts itself. And now even when any card is not inserted it is showing checking under the SD card section in storage settings. Please help. Can i uninstall this mod and try again. My device is A5 2016.

deepray said:
Hello ashyx thanks a lot for this awesome work.
But i am having issues when I am trying to format the card as internal, the device restarts itself. And now even when any card is not inserted it is showing checking under the SD card section in storage settings. Please help. Can i uninstall this mod and try again. My device is A5 2016.
Click to expand...
Click to collapse
Format it as portable first.

ashyx said:
Format it as portable first.
Click to expand...
Click to collapse
I did just that only before formatting it as internal.
Formatting as portable was successful. But then when i tried to format it as internal, the device restarted. Since then it has beem restartint many time on its own.
Is it something to do with xposed installed ?

deepray said:
I did just that only before formatting it as internal.
Formatting as portable was successful. But then when i tried to format it as internal, the device restarted. Since then it has beem restartint many time on its own.
Is it something to do with xposed installed ?
Click to expand...
Click to collapse
I think you should reflash the stock firmware and try again to rule out any issues.

After i changed the card it worked. But then i thought of a fresh install. Reflashed the stock rom. And now after all sorts of combinations of installing the mod with xposed root or not, this is not showing the set up function. It seems the device has become inmune to this mod. What steps should we take for this ? This worked earlier with the same mod

this works like a charm thank you so much , i am using galaxy A-7 2016 SM-710FD.

I have problems with the mod, twrp not reconice internal, MicroSD and otg storage, I can't flash anything... help
Sent from my SM-A710M using Tapatalk

Related

[Q] Internal SD-Card doesn´t work

Hello,
I have a problem with the internal SD-Card of my Galaxy S2 in CyanFox 2.0.
When i want to use a application that access the internal SD-Card (for example the Camera), it says: "Please insert sd card."
In settings i can still see the card. There was a thread with a fix for the Galaxy S, can i use it with the S2. If not, what can i do?
Paktosan said:
Hello,
I have a problem with the internal SD-Card of my Galaxy S2 in CyanFox 2.0.
When i want to use a application that access the internal SD-Card (for example the Camera), it says: "Please insert sd card."
In settings i can still see the card. There was a thread with a fix for the Galaxy S, can i use it with the S2. If not, what can i do?
Click to expand...
Click to collapse
Being a developer of the ROM you council to update to 2.0.1 as soon as possible.
-Marco said:
Being a developer of the ROM you council to update to 2.0.1 as soon as possible.
Click to expand...
Click to collapse
Updated, still not working.
Paktosan said:
Updated, still not working.
Click to expand...
Click to collapse
To me it works perfectly. For Internal SD-card what do you mean? The memory 16GB? Because it works really well
P.S: However, to receive support on some ROMs you'll ask in the thread in question, so as not to create confusion in this section.
Ask here, please --> CyanFox i9100 THREAD
-Marco said:
To me it works perfectly. For Internal SD-card what do you mean? The memory 16GB? Because it works really well
P.S: However, to receive support on some ROMs you'll ask in the thread in question, so as not to create confusion in this section.
Ask here, please --> CyanFox i9100 THREAD
Click to expand...
Click to collapse
I would write in the main thread but I can´t cause i dont written enough posts...
What I have to say too ist that when i flash stock rom again the error still is there. Yes, I mean the 16GB internal memory.
I repeat: what do you mean with Internal SD-card? The main memory of the phone? ( of 16GB)?
-Marco said:
I repeat: what do you mean with Internal SD-card? The main memory of the phone? ( of 16GB)?
Click to expand...
Click to collapse
As i wrote above: The main memory (of 16GB)
I do not know what to tell you. If you happened even before then there isn't a problem of CyanFox.
Try to format the memory, nothing you can do more.
-Marco said:
I do not know what to tell you. If you happened even before then there isn't a problem of CyanFox.
Try to format the memory, nothing you can do more.
Click to expand...
Click to collapse
Formatting to default worked, thanks. Maybe it would be a good idea to add automatic formatting to the flashable zip of the rom so this error can´t come?
Has always been the ultimate solution to this type of problem, since you delete all the files (or almost). However, I am happy that everything has resolved

[Help]AOSP KitKat 4.4.4 port not reading extsd card

Had to post here since i've just been a lurker (don't kill me) on the forums and don't have 10 posts, so yeah this is for the kit kat 4.4.4 port and its not reading my SD card, hope I get some help on this and thanks in advance love you, bye bye.
Use xposed framework and the SD card fix module.
gameguru318 said:
Had to post here since i've just been a lurker (don't kill me) on the forums and don't have 10 posts, so yeah this is for the kit kat 4.4.4 port and its not reading my SD card, hope I get some help on this and thanks in advance love you, bye bye.
Click to expand...
Click to collapse
Do you mean my AOKP port? if so can you link me to a 4.4.4 rom where your SD card worked... i know a file needs to be edited to allow r/w permission access to SD but can't remember exactly which off the top.
CGRAHAM10 said:
Use xposed framework and the SD card fix module.
Click to expand...
Click to collapse
Forgot about xposed I'll be sure to try that.
dzee206 said:
Do you mean my AOKP port? if so can you link me to a 4.4.4 rom where your SD card worked... i know a file needs to be edited to allow r/w permission access to SD but can't remember exactly which off the top.
Click to expand...
Click to collapse
Yes your port, which runs smooth by the way, and external SD worked on liquid smooth
OK, so I just realized my internal wasn't being read either, so I erased the as card under storage and it reads it now, so I will try that on my external when I get to my PC and backup my SD card
dzee206 said:
Do you mean my AOKP port? if so can you link me to a 4.4.4 rom where your SD card worked... i know a file needs to be edited to allow r/w permission access to SD but can't remember exactly which off the top.
Click to expand...
Click to collapse
OK I did those things I mentioned earlier and the cards now show in storage, but the phone is still saying there aren't any SD cards available and es file manager can even read the cards, I can't even get xposed framework to install.
gameguru318 said:
OK I did those things I mentioned earlier and the cards now show in storage, but the phone is still saying there aren't any SD cards available and es file manager can even read the cards, I can't even get xposed framework to install.
Click to expand...
Click to collapse
i know this isn't meant for this device but its worth a shot, haven't had time to test myself... http://forum.xda-developers.com/showpost.php?p=51293597&postcount=151... not sure whats going on with your device internal/external storage. honestly it has me stumped...
dzee206 said:
i know this isn't meant for this device but its worth a shot, haven't had time to test myself... http://forum.xda-developers.com/showpost.php?p=51293597&postcount=151... not sure whats going on with your device internal/external storage. honestly it has me stumped...
Click to expand...
Click to collapse
Well, looks like that was the problem, went in and did that and rebooted my phone and it reads and writes to both cards. Thank you for helping me out.
gameguru318 said:
Well, looks like that was the problem, went in and did that and rebooted my phone and it reads and writes to both cards. Thank you for helping me out.
Click to expand...
Click to collapse
you're welcome, glad to have helped. i really hate leaving user hanging when in need of help. thanks for confirming that the edit actually works now. i can i add it to my ports and finally resolve this issue...

Only 2GB of space.

Hi! I've got an i717 16GB, and according to my settings, I only have 2GB of space on the total system. I plug it in, and it says I have 10GB available and 5.8GB used. What's going on? I have CWM 5.5
MoronDroid said:
Hi! I've got an i717 16GB, and according to my settings, I only have 2GB of space on the total system. I plug it in, and it says I have 10GB available and 5.8GB used. What's going on? I have CWM 5.5
Click to expand...
Click to collapse
Please refer to my previous post which is below:
http://forum.xda-developers.com/showthread.php?t=2786175
http://forum.xda-developers.com/showthread.php?t=2750629
We still did not find the solution(re-partition tool/flashable zip/script) at all.
Still waiting for any expert's tip - android re-partition skill.
I really do want to solve this problem to keep using my current note until I upgrade to new phone.
pointdooly said:
Please refer to my previous post which is below:
http://forum.xda-developers.com/showthread.php?t=2786175
http://forum.xda-developers.com/showthread.php?t=2750629
We still did not find the solution(re-partition tool/flashable zip/script) at all.
Still waiting for any expert's tip - android re-partition skill.
I really do want to solve this problem to keep using my current note until I upgrade to new phone.
Click to expand...
Click to collapse
hey sorry to be late with this somewhat solution.
I just got this phone 1 week ago myself with same lame problem.
I followed this.... HERE!
There are plenty "how tos" and ways to do the expansion situations.
Hope that helps.
madefree said:
hey sorry to be late with this somewhat solution.
I just got this phone 1 week ago myself with same lame problem.
I followed this.... HERE!
There are plenty "how tos" and ways to do the expansion situations.
Hope that helps.
Click to expand...
Click to collapse
The link is broken. Could you please post new one.
BTW, how did you change and share the detail command,source,steps of instruction?
Let us know ASAP!
pointdooly said:
The link is broken. Could you please post new one.
BTW, how did you change and share the detail command,source,steps of instruction?
Let us know ASAP!
Click to expand...
Click to collapse
OPPS sorry about that dead link.....
This link is working today https://www.youtube.com/watch?v=JHsHiXDgSy4
I put the whole URL this time to copy and paste.
I use the FREE EASEUS Partition Master 9.1.0 Home Edition to partition the sd card. I find it easier to and faster to back up the contents of sd card to computer than partition. and than transfer bkup to sd card on the 1st Primary Fat32 partition.
Takes to long to transfer 4 to 6 GB back from bkup to card from pc to phone IMO.
OR
Here is a step by step .... https://www.youtube.com/watch?v=nllIEBzuPHo I prefer the 4000MB partition for the NU storage.
Be sure to set or make BOTH the partitions "Primary" partitions or they will not work with Link2sd.
I tried Mini tool and Aparted but they might work for others, they didn't work for me.
Link2sd card is the most reliable and easy to do the linking from old tiny internal storage to the NEW enlarged external storage that I have found.
And if that app does not do it for anyone try foldermount https://www.youtube.com/watch?v=ATWTghTploY
OR
HERE at xda .... http://forum.xda-developers.com/showthread.php?p=39178981 Give a BIG thanks and support to madmack
And get that apk from madmack at bottom first post.
And if you do NOT have ROOT than try. . .
https://www.youtube.com/watch?v=EgKoMG378LI
Hope those suggestions help.
madefree said:
OPPS sorry about that dead link.....
This link is working today https://www.youtube.com/watch?v=JHsHiXDgSy4
I put the whole URL this time to copy and paste.
I use the FREE EASEUS Partition Master 9.1.0 Home Edition to partition the sd card. I find it easier to and faster to back up the contents of sd card to computer than partition. and than transfer bkup to sd card on the 1st Primary Fat32 partition.
Takes to long to transfer 4 to 6 GB back from bkup to card from pc to phone IMO.
OR
Here is a step by step .... https://www.youtube.com/watch?v=nllIEBzuPHo I prefer the 4000MB partition for the NU storage.
Be sure to set or make BOTH the partitions "Primary" partitions or they will not work with Link2sd.
I tried Mini tool and Aparted but they might work for others, they didn't work for me.
Link2sd card is the most reliable and easy to do the linking from old tiny internal storage to the NEW enlarged external storage that I have found.
And if that app does not do it for anyone try foldermount https://www.youtube.com/watch?v=ATWTghTploY
OR
HERE at xda .... http://forum.xda-developers.com/showthread.php?p=39178981 Give a BIG thanks and support to madmack
And get that apk from madmack at bottom first post.
And if you do NOT have ROOT than try. . .
https://www.youtube.com/watch?v=EgKoMG378LI
Hope those suggestions help.
Click to expand...
Click to collapse
So, basically your solution is based on using additional SD card not changing/modifying the phones' EMMC memory.
I think I had tried Link2SD/Folder mount earlier and not all apps supports with this method.
It is still helpful but I think we(other users) still like to change the EMMC side.
But I still want to tried your suggested method to try. Thank you!!!
pointdooly said:
So, basically your solution is based on using additional SD card not changing/modifying the phones' EMMC memory.
I think I had tried Link2SD/Folder mount earlier and not all apps supports with this method.
It is still helpful but I think we(other users) still like to change the EMMC side.
But I still want to tried your suggested method to try. Thank you!!!
Click to expand...
Click to collapse
U R welcome!:good:
madefree said:
U R welcome!:good:
Click to expand...
Click to collapse
BTW, how do you use? (Partition Size and link to External SD? or Internal 2nd Partition?)
Just wondering... If you have spare time to share. Please share how you did and how you are using it with which combination sizes. Thank you!
pointdooly said:
BTW, how do you use? (Partition Size and link to External SD? or Internal 2nd Partition?)
Just wondering... If you have spare time to share. Please share how you did and how you are using it with which combination sizes. Thank you!
Click to expand...
Click to collapse
Answers just above In Post # 5 just above step by step via Video (just pause vid to copy or do a screen print and save to file. Easy!)
Or you can find HERE....
Enjoy!

[Q] About marshmallow feature, which formats sd card as internal storage.

If I format my sd card as internal storage on an android 6.0 based rom, and then I flash an android 5.1.1 based rom, will the sd card still be considered as internal storage?
PS: To thread moderator ,
Please help me to rephrase the heading of this thread in a better way
No it won't work. The way MM handles the card is different from the way LP handles it. I recommend holding off just a little longer
RJDTWO said:
No it won't work. The way MM handles the card is different from the way LP handles it. I recommend holding off just a little longer
Click to expand...
Click to collapse
Thank you!
But, what do you exactly mean by "holding off a little bit"?
sankarshan said:
Thank you!
But, what do you exactly mean by "holding off a little bit"?
Click to expand...
Click to collapse
Wait for MM to become polished before running an experimental version unless you can contribute in the way of fixes and stuff like that.
RJDTWO said:
No it won't work. The way MM handles the card is different from the way LP handles it. I recommend holding off just a little longer
Click to expand...
Click to collapse
Also, can it be used as normal SD card if I flash a lollipop based rom, even after formatting it as internal in marshmallow?
And,
If I again revert back to marshmallow(after lollipop), do I have to format it as internal again?
sankarshan said:
Also, can it be used as normal SD card if I flash a lollipop based rom, even after formatting it as internal in marshmallow?
And,
If I again revert back to marshmallow(after lollipop), do I have to format it as internal again?
Click to expand...
Click to collapse
I'm not completely sure. I believe so.
if you flash MM ROM now just select 'use as external card'. If you format and use it as internal storage you can not use it in another phone or ROM. That's what the setup says when you boot MM for the first time.
There are guides that show how to partition your SD Card in TWRP in order to use it as a type of internal storage. This will work with Lollipop as well.

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

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
.
Dont work j500fn
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
cwzeromode said:
Dont work j500fn
Click to expand...
Click to collapse
More details.
ashyx said:
More details.
Click to expand...
Click to collapse
I tried it as well with Marshmallow for Nordic countries. rooted device. When I click format no option for internal use of SD is showing up, just as before.
nicoX said:
I tried it as well with Marshmallow for Nordic countries. rooted device. When I click format no option for internal use of SD is showing up, just as before.
Click to expand...
Click to collapse
Format the card as portable storage first. Reboot then try again.
i have twrp but is it necessary to be rooted? on j500fn
Hateyou777 said:
i have twrp but is it necessary to be rooted? on j500fn
Click to expand...
Click to collapse
No.
ashyx said:
Format the card as portable storage first. Reboot then try again.
Click to expand...
Click to collapse
That worked, there was a popup to format, didn't work in settings.
nicoX said:
That worked, there was a popup to format, didn't work in settings.
Click to expand...
Click to collapse
Can one of you backup your boot partition with twrp and then post the image?
ashyx said:
Can one of you backup your boot partition with twrp and then post the image?
Click to expand...
Click to collapse
this?
https://drive.google.com/file/d/0B8V2rvynCtiYN2VoYTh5YzdJTVk/view?usp=sharing
https://drive.google.com/file/d/0B8V2rvynCtiYY1F6UjFCS19BNUE/view?usp=sharing
https://drive.google.com/file/d/0B8V2rvynCtiYbXBNaHVSZmtMVnc/view?usp=sharing
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.
Question
ashyx said:
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
.
Click to expand...
Click to collapse
How about my samsung J500G MM 6.0.1 ? Can i enabler my adoptable storage ?
Source.cod said:
How about my samsung J500G MM 6.0.1 ? Can i enabler my adoptable storage ?
Click to expand...
Click to collapse
It should work on all J5 models. Backup your phone and flash the zip from first post. If you have problems, then post here and describe it as much as you can.
Thanks bro
I have rooted J500F model and tried your method. Was installed successfully but didnt worked. No such option is showed in storage.
J500F Was installed successfully but didnt worked.
Was installed successfully but didnt worked.
kunj.2809 said:
I have rooted J500F model and tried your method. Was installed successfully but didnt worked. No such option is showed in storage.
Click to expand...
Click to collapse
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.
hello will this work for my samsung galaxy a7 2016? i have been doing this from adb but it does not work there
alihassan1999 said:
hello will this work for my samsung galaxy a7 2016? i have been doing this from adb but it does not work there
Click to expand...
Click to collapse
That device runs lollipop. This patch only works on Marshmallow.

Categories

Resources