*[PATCH]**Adoptable storage enabler** MARSHMALLOW* - Samsung Galaxy J5 Guides, News, & Discussion

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.

Related

(Request) Mega Internal 2 External App Setting

hi
anyone has any idea how to set internal2external app on our beloved Mega?
im having 8GB version and really could use the extra space on the External SD.
Thanks
ramy911us said:
hi
anyone has any idea how to set internal2external app on our beloved Mega?
im having 8GB version and really could use the extra space on the External SD.
Thanks
Click to expand...
Click to collapse
Have you tried foldermount app?
gx3k said:
Have you tried foldermount app?
Click to expand...
Click to collapse
this has to be done folder by folder.....
ramy911us said:
this has to be done folder by folder.....
Click to expand...
Click to collapse
I have not tried the app you mentioned so update us if it works
still didn't manage to figure it out....
You can install root external 2 sd card on google play. It is working now on my mega 5.8 with 32g sdcard
chinhegvit said:
You can install root external 2 sd card on google play. It is working now on my mega 5.8 with 32g sdcard
Click to expand...
Click to collapse
I believe he is talking about this app: https://play.google.com/store/apps/details?id=eu.codlab.int2ext
I've installed it and am trying it out now, but there doesn't appear to be any confirmation of it working or not. Installing an app to test!
Krijs said:
I believe he is talking about this app: https://play.google.com/store/apps/details?id=eu.codlab.int2ext
I've installed it and am trying it out now, but there doesn't appear to be any confirmation of it working or not. Installing an app to test!
Click to expand...
Click to collapse
If you check your storage it should show heaps of room as it has the card as internal.
Kangburra said:
If you check your storage it should show heaps of room as it has the card as internal.
Click to expand...
Click to collapse
Checked this view. The storage doesn't appear to swap after hitting the 'External > Internal' button. Have you had any luck on your phone? Perhaps I'm being an idiot and setting it up wrong.
Backup all your data to ExtSdcard
1./ Hard reset your phone
2./ Setup your phone as a new phone
3./ Root your phone
4./ Install Root External 2 internal from GP
5./ Use Root Explorer copy all folders from SDcard to ExtSdcard
6./ Open Root External 2 internal app --> Setting
- Check on Default SGS3 Roms
- Check on Use per Defaul
- Touch on The ext. sdcard device access --> change 179:49 to 179:9 (this is block of Ext Sdcard on my mega 5.8, on others i don't know)
7./ back and touch on External > Internal, At boot if init.d
8./ Restart your phone
Use Root Explorer to chech you Sdcard and see, now your Ext Sdcard swapped as Sdcard
But, after that i can not see my internal Sdcard, i am still finding out the way to fix it
inside Storage i am still seeing the Internal as 8gb but in Root Explorer it is my 32g Ext sdcard
Hope this can help you.
If any you find out the best way to swap Ext Sdcard, please share.
Cheers.
can you share your print screen of your storage with us?
go here if u r on 4.1.2 only...coz ext2int is not compatible with 4.2.2....
http://forum.xda-developers.com/showthread.php?p=41995498
i successfully swapped memories on my galaxy grand with it n that is my post only :thumbup:
jetvis37 said:
go here if u r on 4.1.2 only...coz ext2int is not compatible with 4.2.2....
http://forum.xda-developers.com/showthread.php?p=41995498
i successfully swapped memories on my galaxy grand with it n that is my post only :thumbup:
Click to expand...
Click to collapse
thanks for the feedback,i'd a grand before i got the mega and it worked perfectly,but the problem is now i can't do the same to the mega @ 4.2.2
ramy911us said:
thanks for the feedback,i'd a grand before i got the mega and it worked perfectly,but the problem is now i can't do the same to the mega @ 4.2.2
Click to expand...
Click to collapse
So forget abt it mate....that app is not compatible with 4.2.2...even I am on 4.2.2 now n it doesn't work atall...
Use GL2SD....works flawlessly....:thumbup:
Sent from my GT-I9505 using Xparent BlueTapatalk 2
chinhegvit said:
You can install root external 2 sd card on google play. It is working now on my mega 5.8 with 32g sdcard
Click to expand...
Click to collapse
Unfortunately the dev/author stopped updating in November 2012 long before 4.2.2. So although it will work on 4.1 it will not work anymore on 4.2.2.
I already pm @codlab about this but unfortunately he does not have a device anymore to test/start updating.

[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

[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
.
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

More internal storage ?

Hi dudes
So I was wondering if there's a way to increase internal storage on this device
Because well nowadays 4Gb of available memory is.. Well.. Too short
So I heard of the partition table tool, but when I tried It show "parted not found" so I couldn't do anything (Sorry I'm a real noob in this domain)
Note : I'm on RR nougat
And what do you think about adoptable storage with a sd card ? Will it slow my device down ?
Thank you for your help
Miasaya said:
Hi dudes
So I was wondering if there's a way to increase internal storage on this device
Because well nowadays 4Gb of available memory is.. Well.. Too short
So I heard of the partition table tool, but when I tried It show "parted not found" so I couldn't do anything (Sorry I'm a real noob in this domain)
Note : I'm on RR nougat
And what do you think about adoptable storage with a sd card ? Will it slow my device down ?
Thank you for your help
Click to expand...
Click to collapse
I'm using adopted storage and it's great. For my personal use I have enough storage for everything I need..
Is the problem to access to recovery with adoptable storage still exist ? And how can we do to pass through it
Miasaya said:
Is the problem to access to recovery with adoptable storage still exist ? And how can we do to pass through it
Click to expand...
Click to collapse
I believe it is fixed.
Though, @mobiusm can say for sure.
Miasaya said:
Is the problem to access to recovery with adoptable storage still exist ? And how can we do to pass through it
Click to expand...
Click to collapse
I never had problems accessing TWRP with adopted storage, nor do I have now.
Miasaya said:
Hi dudes
So I was wondering if there's a way to increase internal storage on this device
Because well nowadays 4Gb of available memory is.. Well.. Too short
So I heard of the partition table tool, but when I tried It show "parted not found" so I couldn't do anything (Sorry I'm a real noob in this domain)
Note : I'm on RR nougat
And what do you think about adoptable storage with a sd card ? Will it slow my device down ?
Thank you for your help
Click to expand...
Click to collapse
In order to partition through adb you need twrp 2.8.7.0. It has parted. Just follow the instructions of page 1 of this thread (h)ttps://forum.xda-developers.com/g2-mini/development/d620-partition-table-tool-t3107664/page1. And make sure to reboot recovery and then format data and cache partitions. You can have up to 6gb of free data, you will need to use the 5.2 gb data in order for rr nougat to work.
Okay... I just tried, but what I was afraid of just happened, I can't access to the recovery (stuck in Twrp logo) and I can't move any app to the sd card, an "insufficient space" error showed up
Miasaya said:
Okay... I just tried, but what I was afraid of just happened, I can't access to the recovery (stuck in Twrp logo) and I can't move any app to the sd card, an "insufficient space" error showed up
Click to expand...
Click to collapse
Remove the SD before booting up TWRP.
Vagelis1608 said:
Remove the SD before booting up TWRP.
Click to expand...
Click to collapse
But... Is there any risk of sd card corruption when you remove it ?
Miasaya said:
But... Is there any risk of sd card corruption when you remove it ?
Click to expand...
Click to collapse
Yes, there is.
However, if you disconnect it from android settings or power off the phone, before removing it, then you are safe.
Okay thanks now I have an access to recovery
But with adoptable storage I still can't move anything to SD card and I don't have access to the original internal storage...
Miasaya said:
Okay thanks now I have an access to recovery
But with adoptable storage I still can't move anything to SD card and I don't have access to the original internal storage...
Click to expand...
Click to collapse
With adaptable storage, the SD gets encrypted.
In order to able to use it on anything else than the phone, you will need to format it. Use a PC or a recovery that boots.

I have an android mobile but it is always hang when i use it.?

Can any one tell me what can i do for my android mobile?
MariyaWilson said:
Can any one tell me what can i do for my android mobile?
Click to expand...
Click to collapse
Clean your recent apps
Clean up the internal storage
Move your data to SD card
Root your phone and use performance magisk module
Flash a custom ROM
Don't expect too much from your old device
And if all of this things didn't work change your phone
amirizad_7436 said:
Clean your recent apps
Clean up the internal storage
Move your data to SD card
Root your phone and use performance magisk module
Flash a custom ROM
Don't expect too much from your old device
And if all of this things didn't work change your phone
Click to expand...
Click to collapse
Thanks for your answer it's really helpful for me.

Categories

Resources