Delete sdcard and mount extSdCard 16 gb as internal memory.
How to? i have small memory on Samsung b5330 2GB only, and i want to install more apps... and some games, how to delete sdcard i don't need it and mount the extSdCard as internal. Thank you
agentulxxx said:
Delete sdcard and mount extSdCard 16 gb as internal memory.
How to? i have small memory on Samsung b5330 2GB only, and i want to install more apps... and some games, how to delete sdcard i don't need it and mount the extSdCard as internal. Thank you
Click to expand...
Click to collapse
Well, no reason to just disable it. You can swap them however, though with the limited available development for your phone, there doesn't seem to be any out of the box solutions. You'll either have to try an app like this: https://play.google.com/store/apps/details?id=eu.codlab.int2ext or follow a guide for say, an S3, and mod that to reflect the correct partition mounts and names for your particular phone and update. For some phones, a compatible kernel is needed for the swap. If that is the case for your phone, you are probably out of luck since there doesn't seem to be much of anything like that for you. Make sure to not only back up your phone, but internal and external storages before attempting this. Would also be good to be familiar with how to flash back to stock with Odin since that's about the only option you have to get back to normal if things don't work right.
NO problem
Is not a problem to do format with odin, i have root-it the phone, i have change some times andoid version on it, i don't care about apps, i have all apps on my pc. i tried more commands with terminal emulator.. no Lucky. i will try this app,
i try to modify "vold.fstab" but nothing changes except on start up, all apps has crashed. and i am sorry for my bad english.
I have a problem, now my extSdCard is same as sdcard folder, and sdcard folder has no changes. are the same... any ideea
Now finaly working, i have changed where normal i have to write path of internal name o /mnt/sdcard to extSdCard and for external i have write /mnt/sdcard now is working .. i have inverted the names.i have loot of memory now how to make the 2 gb of memory work as swap? or lass 512.. becouse i cant see it anywhere.:good:
agentulxxx said:
Now finaly working, i have changed where normal i have to write path of internal name o /mnt/sdcard to extSdCard and for external i have write /mnt/sdcard now is working .. i have inverted the names.i have loot of memory now how to make the 2 gb of memory work as swap? or lass 512.. becouse i cant see it anywhere.:good:
Click to expand...
Click to collapse
Good job! As far as the swap - are you referring to virtual RAM swap?
es0tericcha0s said:
Good job! As far as the swap - are you referring to virtual RAM swap?
Click to expand...
Click to collapse
Yes, Virtual RAM swap... i have made it on sd card
dd if=/dev/zero of=/mnt/extSdCard/.swapfile bs=1024 count=94288
mkswap /mnt/extSdCard/.swapfile
chown root:root /mnt/extSdCard/.swapfile
chmod 0600 /mnt/extSdCard/.swapfile
swapon /mnt/extSdCard/.swapfile
But i can't find anymore the 2 gb sdcard, is only my ext sdcard working :laugh::laugh:
Results
Sent from my GT-B5330 using XDA Premium 4 mobile app
Yea, not so sure about that part, unfortunately. I haven't had to do that manually before that didn't already have an established method for the particular phone. Glad the main part is working though!
es0tericcha0s said:
Yea, not so sure about that part, unfortunately. I haven't had to do that manually before that didn't already have an established method for the particular phone. Glad the main part is working though!
Click to expand...
Click to collapse
Any ideea to overclok CPU and GPU seems my kernel isnt supoport this, how to make-it to support :laugh::laugh:
On my pc i did overclok about 30%
agentulxxx said:
Any ideea to overclok CPU and GPU seems my kernel isnt supoport this, how to make-it to support :laugh::laugh:
On my pc i did overclok about 30%
Click to expand...
Click to collapse
That part will probably be pretty tricky because there isn't really any development for it, and almost certainly no source code to build the kernel yourself. Your best bet is to check out some other phones that use the same chipset that might have some development that you can kind of piggyback off of. These other phones would be similar: http://pdadb.net/index.php?m=pdamaster&posted=1&cpu=a21654
It looks like the Galaxy Y Plus (i9001) has a decent little development community. The guys there would probably be more helpful with figuring out stuff to do since it has a similar processor. Might try to befriend a kernel dev there and see if they could give you a hand.
http://forum.xda-developers.com/galaxy-s-i9000/i9001-development
Related
Today I got a 32 GB, SanDisk Micro SDCard, mainly for the use with Google Music (I have a 7,200+ library). However, I didn't find a source which had a solid solution, to at least have Google Music use the external sd card. So, I just messed around with it, and I found out how to Swap (reverse) the sd card 'locations', properly.
In vold.fstab, in the directory /system/etc/, you have two lines. Edit them with Root explorer's included "text editor", or any other good text editor. Make sure you have r/w on. Find the below two lines:
Code:
# external sd card
dev_mount sdcard_ext /mnt/sdcard-ext:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc3 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
and
Code:
# internal eMMC
dev_mount sdcard /mnt/sdcard 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
What I did, and what proved successful (to use both internal, and external storage, which are reversed), is this:
Code:
# external sd card
dev_mount sdcard_ext [COLOR="Red"]/mnt/sdcard[/COLOR]:none:lun1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc3 /devices/platform/tegra-sdhci.2/mmc_host/mmc1
and
Code:
# internal eMMC
dev_mount sdcard [COLOR="Red"]/mnt/sdcard-ext[/COLOR] 18 /devices/platform/tegra-sdhci.3/mmc_host/mmc0
Replace the regular lines, with the red lines, save, restart your phone, and BAM, your internal is now marked as external, and your external, is now your internal
I use Stock 154_5, Unlocked, rooted.
Enjoy, and press the thanks button
Also, you can revert them back, if you changed them. Just put the stock code back into the file.
Also, I just discovered:
You can only use the internal storage, when connecting to a computer. The 'internal' (which, we switched around), will not be detected. If you do connect your device to a computer, after you disconnect it, the 'internal', storage, which is really the external, because we switched it, will not be detected, and you must restart your phone.
I'll test this on MIUI. I have the 64GB version. Same problem.
ZeroManArmy said:
I'll test this on MIUI. I have the 64GB version. Same problem.
Click to expand...
Click to collapse
Cool. Let me know if it works. Yeah, 64 GB only for movies and pictures.... Isn't worth it for me. Lol
What do you have for CM9 or MIUI?
ZeroManArmy said:
What do you have for CM9 or MIUI?
Click to expand...
Click to collapse
I use Stock 154_5, Unlocked, rooted.
URGENT,
i am using samsung galaxy note device , i have follow your instruction to change the vold.hstab file.
Now my device has recognize my ext sd card as sdcard. But my device cant recognise my internal sdcard, so i have lose my root explorer. and I couldn't reedit the vold.hstab file back.
I have try to hardreset, and try to reinstall root explorer, but it always give an restart and error : "process.media force close "
From my understanding the failure of installing the root explorer because my device can't recognise sdcard anymore
I go to setting--> storage , I found the sdcard is not detected, only usb storage detected
how to solve this problem?
n1cky6969 said:
URGENT,
i am using samsung galaxy note device , i have follow your instruction to change the vold.hstab file.
Now my device has recognize my ext sd card as sdcard. But my device cant recognise my internal sdcard, so i have lose my root explorer. and I couldn't reedit the vold.hstab file back.
I have try to hardreset, and try to reinstall root explorer, but it always give an restart and error : "process.media force close "
From my understanding the failure of installing the root explorer because my device can't recognise sdcard anymore
I go to setting--> storage , I found the sdcard is not detected, only usb storage detected
how to solve this problem?
Click to expand...
Click to collapse
Well your problem is because, this is for the Photon 4G. Not the Note. Have you tried other File managers, such as Antek?
D2dyno said:
Well your problem is because, this is for the Photon 4G. Not the Note. Have you tried other File managers, such as Antek?
Click to expand...
Click to collapse
Anyhow, It is impossible to install any applications, if try to install,device will restart
But, it's okay now, I have reflash my rom, all the problem solved
Thanks for your responds
n1cky6969 said:
Anyhow, It is impossible to install any applications, if try to install,device will restart
But, it's okay now, I have reflash my rom, all the problem solved
Thanks for your responds
Click to expand...
Click to collapse
No problem, and I'm glad to help.
Man am I happy I came across this thread!!!
I've been reading forever in some of the rom threads for an answer to this question! A few of the roms I've tried out had the internal and external storage swapped with no option to switch and that kept me from using them because I use internal storage for apps data and such and then my external memory card for backups and personal files!
The only 2 roms that this can be fixed in is jokers CM9-unofficial-ICS rom (there is actually an Advanced Option in Settings) and the MIUI.us port (there is a storage mod flashable swap, which didn't work for me, and there is an option in the Aroma installer to choose what you want for Internal Storage).
Now that I've come across this, imma try it out and see if I can't get it to work on some other roms I have used!
Thanks for the discovery! I'll let ya know how it works out for me!
Sent from my MB855 using xda premium
Jleeblanch said:
Man am I happy I came across this thread!!!
I've been reading forever in some of the rom threads for an answer to this question! A few of the roms I've tried out had the internal and external storage swapped with no option to switch and that kept me from using them because I use internal storage for apps data and such and then my external memory card for backups and personal files!
The only 2 roms that this can be fixed in is jokers CM9-unofficial-ICS rom (there is actually an Advanced Option in Settings) and the MIUI.us port (there is a storage mod flashable swap, which didn't work for me, and there is an option in the Aroma installer to choose what you want for Internal Storage).
Now that I've come across this, imma try it out and see if I can't get it to work on some other roms I have used!
Thanks for the discovery! I'll let ya know how it works out for me!
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
Glad to hear! ICS ROMs handle external SD cards way better, so I prefer them now.
D2dyno said:
Glad to hear! ICS ROMs handle external SD cards way better, so I prefer them now.
Click to expand...
Click to collapse
I hear you there! The ICS roms rock! Jokers ICS rom has been my favorite due to the option to switch to use Internal memory for apps/app data. The other CM9 variants (AOKP/AOKPCB) had it default to use external memory as storage for apps/app data with NO option to swap. Now that I came across this, when my battery is a little better than 37% lol, imma do your mentioned edits!
Only difference from what I see from stock is that instead of "sdcard-ext" its "emmc". My current setup has "emmc" set as sdcard-ext (external storage) and sdcard as, well sdcard (internal storage) lol.
My issue has been that those have been swapped where "emmc" = internal storage and "sdcard" = external storage. With it being that way, it makes it a PIA to restore from Titanium Backup.
But this is all a thing of the past haha
I'm glad I'm not scared to read (like I feel like a lot of users are). I've seen a lot of posts where ppl were asking about how to swap the storage locations with no solid answers. Granted I didn't come across this solution immediately either...BUT I did and I plan to link to this thread and give you props in hopes that others find this useful as I know others are definitely having the same issue!
Sent from my MB855 using xda premium
I just successfully tested this on the AOKPCB from and it worked perfectly! Not gonna lie, that makes me VERY happy!!
Maybe everyone typing thanks could actually "THANK" this person?
Works on tablet
Ok tried this on a cheap tablet that I bought for playing around like this. An Arnova AN 7G3 7" with 4gb memory, 2 gb internal and 2gb internal sdcard. It was close to your file, all I had to change was sdcard and extsd. Before I did the switch and after seeing someone had trouble with apks after the switch, I made sure to move all apks to tablet, then copied all folders from sd to extsd. I also made a copy of the orignial vold file, just incase. Changed vold file rebooted and everything was great. Made a copy of altered vold file, then replaced with orignial and rebooted.....all still ok, replaced file with altered file and rebooted ,again all ok. Moved all apks that I could move to sdcard from tablet, free up 650mg on tablet. All moved apks worked fine.
AN 7 G3 is rooted out box runing stock ICS 4.0.1
Thanks for the info
ALD3 said:
F theOk tried this on a cheap tablet that I bought for playing around like this. An Arnova AN 7G3 7" with 4gb memory, 2 gb internal and 2gb internal sdcard. It was close to your file, all I had to change was sdcard and extsd. Before I did the switch and after seeing someone had trouble with apks after the switch, I made sure to move all apks to tablet, then copied all folders from sd to extsd. I also made a copy of the orignial vold file, just incase. Changed vold file rebooted and everything was great. Made a copy of altered vold file, then replaced with orignial and rebooted.....all still ok, replaced file with altered file and rebooted ,again all ok. Moved all apks that I could move to sdcard from tablet, free up 650mg on tablet. All moved apks worked fine.
AN 7 G3 is rooted out box runing stock ICS 4.0.1
Thanks for the info
Click to expand...
Click to collapse
Glad to hear it works on more than just GB
Thanks
D2dyno said:
Glad to hear it works on more than just GB
Click to expand...
Click to collapse
Thanks as I have been trying to find info for months. I posted in Arnova section of Arctablet news on how to do this tablet and a heads up and Thanks to YOU as well as a link to your work here. Hope you don't mind and did give credit to YOU. Check it out when you have time
http://www.arctablet.com/blog/forum...n-7-g3-recognize-you-micro-sd-as-internal-sd/
Just saw this topic and I have a (noob) question.
Does this work on any android phone or it's specific for this Moto one?
Seen as I can't ask in the actual Resurrection Remix thread cause of having to have a certain amount of posts, I ask here...
This is for RR 2.1
Has anyone figured out how to get /mnt/emmc to be mounted as /mnt/sdcard/external_sd.
Have been trying, from different threads, to edit vold.fstab and build.prop to no avail. (only get bootloops)
(used root explorer as other file managers cause bootloops sometimes even for small edits)
So if anyone has gotten it to work with this rom could you show what and how to edit the files. It would be greatly appreciated.
Why do you want to mount your internal memory as your external memory?
I would like my actual 8GB sdcard to be mounted as /mnt/sdcard/external_sd
and the internal memory as /mnt/sdcard
Cause right now the 8GB is /mnt/emmc
and the internal memory is /mnt/sdcard
So I'm guessing from your post that its not supposed to be that way to begin with?
but either way it was like that in GB roms and it was so much more convenient to go to straight to the external_sd folder instead of going the extra step of going to mnt/emmc.
And some apps can not find files that are now in /mnt/emmc. So I have to put them on the internal memory.
It was faster to work with.
Da Iceman said:
I would like my actual 8GB sdcard to be mounted as /mnt/sdcard/external_sd
and the internal memory as /mnt/sdcard
Cause right now the 8GB is /mnt/emmc
and the internal memory is /mnt/sdcard
So I'm guessing from your post that its not supposed to be that way to begin with?
but either way it was like that in GB roms and it was so much more convenient to go to straight to the external_sd folder instead of going the extra step of going to mnt/emmc.
It was a lot faster to work with.
Click to expand...
Click to collapse
hey pal check this Multimount sdcard app from play store hope it might resolve ur issue
ps- the emmc / external sd issue is related to AOKP since in AOKP the EMMC folder is ware u find all ur external sdcard files and folders
But isnt that just for mounting sdcard on your PC while its still mounted (accessible) on your phone?
yea, but im wondering if there is a way to get it to actually mount in the "/mnt/sdcard/external_sd" path or anything. as long as its accessible via a folder in the sdcard.
It makes many things so much more convenient.
Da Iceman said:
But isnt that just for mounting sdcard on your PC while its still mounted (accessible) on your phone?
Click to expand...
Click to collapse
yes also check the links below hope they might also help u
http://forum.xda-developers.com/showpost.php?p=24983708&postcount=23071
http://forum.xda-developers.com/showthread.php?t=1410262
Thanks.
Just one more wondering thought. but is there a way to do it like the first link so it starts on reboot, without the need for extra programs (like editing a file or making a startup script)
If not, then its fine, I'll be happy with these.
Hello Everyone !
Last week i was trying different ways to mount our phone storage ( internal as well as card ). What im about to share is the result of some experiments done at that time.
This is not a guide exactly, as many of us know the steps done here, but still, i take no responsibility of any type of problem you face.Please ask for help if you need.
for more information : Read this.
When i checked my internal storage, it was 72% fragmented !!!
so i thought may be there are others who haven't formatted internal/external storage for a year or above, thus leading to heavy fragmentation.
here it is :
method 1: (also applicable for card storage)
take backup of all data and format. That should solve it !
method 2:
i recommend using 360 security app(with root access) first.
let the app scan your phone, it will find app cache, trash and user data in your phone. but first uninstall unused apps and delete some data that you don't need. you can always copy it back if you need it.
clean all, including empty folders (it will increase simplicity of your storage).
How to Mount Internal Storage as USB DRIVE :
1. Reboot into CWM
2. Connect phone to a windows PC (prefer win 7)
3. Go to "USB mass storage"
4. Select mount sd card.
5. You should see your internal mounted as removable mass storage drive.
6. Enjoy unrestricted access to your internal drive.
--------------------------------------
All right guys, i dont know much about the ssd, but if it is not necessary (even at > 50% of frag-level ), please tell me.
Thank you !
And here I am, thinking that we are using the EXT file system. :|
at least Samsung uses ext4, i think Sony does that too ...
DigitalDreamer said:
And here I am, thinking that we are using the EXT file system. :|
Click to expand...
Click to collapse
deshx said:
at least Samsung uses ext4, i think Sony does that too ...
Click to expand...
Click to collapse
Samsung uses their own filesystem in the newer devices.
And I think Sony uses ext4. But the thing is why would we need defragmentation if it's ext4. The files aren't accessed as in windows. Of course that windows will find disk errors and that there is a need if defrag. But the way Linux works, do we really need that?
file access is not the issue. i think the way ext4 manages writes makes all the difference.
ext3/ext4 avoid fragmentation of data and the way they store data, they can easily manage new read/writes without decreasing performance.
but even ext4 gets some issues, i found after some googling that when free space is less than ~15%, ext4 does not get enough room to swap things around. that fragments the drive heavily, thus the issues.
in that case, defragmenting might do some good.
DigitalDreamer said:
Samsung uses their own filesystem in the newer devices.
And I think Sony uses ext4. But the thing is why would we need defragmentation if it's ext4. The files aren't accessed as in windows. Of course that windows will find disk errors and that there is a need if defrag. But the way Linux works, do we really need that?
Click to expand...
Click to collapse
deshx said:
file access is not the issue. i think the way ext4 manages writes makes all the difference.
ext3/ext4 avoid fragmentation of data and the way they store data, they can easily manage new read/writes without decreasing performance.
but even ext4 gets some issues, i found after some googling that when free space is less than ~15%, ext4 does not get enough room to swap things around. that fragments the drive heavily, thus the issues.
in that case, defragmenting might do some good.
Click to expand...
Click to collapse
Oh yeah, on low space. Well on my U from 4GB I usually have around 2.5GB free so I guess I'm safe for now.
Btw the fragmentation usually shows losing performance when accessing libs and stuff. But that doesn't apply to us.
i had only 500mb free some time ago, so i did defrag the internal at that time(72% fragmentation), but now i have 3 gb free ! :highfive: .so its same for me ...no need !
DigitalDreamer said:
Oh yeah, on low space. Well on my U from 4GB I usually have around 2.5GB free so I guess I'm safe for now.
Btw the fragmentation usually shows losing performance when accessing libs and stuff. But that doesn't apply to us.
Click to expand...
Click to collapse
Internal storage (/sdcard) uses FAT32 file system, the data partition uses ext4 file system.
I know that defragmenting a flash drive is useful only to cause more wear and tear.
Are you all insane? You can't defragment flash drives!
That slows it down and eventually will ruin it.
Sent from Hacker's U on CM11 Weekly
If sdcard uses fat32, then it should be defragmented....otherwise its fine...
One doubt though, internal is named sdcard too....
You mean external storage, right?
HandyMenny said:
Internal storage (/sdcard) uses FAT32 file system, the data partition uses ext4 file system.
I know that defragmenting a flash drive is useful only to cause more wear and tear.
Click to expand...
Click to collapse
Sent from my ST27i
hackerpower said:
Are you all insane? You can't defragment flash drives!
That slows it down and eventually will ruin it.
Sent from Hacker's U on CM11 Weekly
Click to expand...
Click to collapse
so we shouldn't need to defragment internal or card.... Right?
Well I wasn't aware of this...
Sent from my ST27i
deshx said:
If sdcard uses fat32, then it should be defragmented....otherwise its fine...
One doubt though, internal is named sdcard too....
You mean external storage, right?
Sent from my ST27i
Click to expand...
Click to collapse
Internal storage use FAT32 filesystem, external storage use FAT/FAT32/exFAT.
Both are flash drives and shouldn't be defragmented.
I'm a kind of a guy who wants atleast 250 apps on his phone which he actually had when he was on Kitkat (Link2SD linking did all the magic). After switching on to lollipop, the LP version of Link2SD is totally buggy and hardly works. Linked apps don't work, they force crash or show some other error. Link2SD is out of question and I think it's not getting any fixes because the dev says "v4 is is fully functional with LP" and v4.0.6 is already released but is still super duper buggy and it's working for no one, I'm not alone. I don't understand why does the dev still say it's "fully functional" when linked apps don't even work and neither do the mount scripts.
Anyways, link2sd is out of question now.
My query is, is there no way to "expand" the internal memory? I googled and found out some solutions like swapping internal and external memories (means internal would act as external and vice-versa, so if we have a 32GB card, system will see 32GB as internal and 2.1GB internal memory as external memory).
This appeared to be the best solution to all th problems of low internal memory and this is achieved by editing the /system/etc/vold.fstab file. But that file is not there at all on KK or LP! What the hell?! Why is Google "removing" "features" from the newer versions?!
Is there no way to swap?
nilanko said:
I'm a kind of a guy who wants atleast 250 apps on his phone which he actually had when he was on Kitkat (Link2SD linking did all the magic). After switching on to lollipop, the LP version of Link2SD is totally buggy and hardly works. Linked apps don't work, they force crash or show some other error. Link2SD is out of question and I think it's not getting any fixes because the dev says "v4 is is fully functional with LP" and v4.0.6 is already released but is still super duper buggy and it's working for no one, I'm not alone. I don't understand why does the dev still say it's "fully functional" when linked apps don't even work and neither do the mount scripts.
Anyways, link2sd is out of question now.
My query is, is there no way to "expand" the internal memory? I googled and found out some solutions like swapping internal and external memories (means internal would act as external and vice-versa, so if we have a 32GB card, system will see 32GB as internal and 2.1GB internal memory as external memory).
This appeared to be the best solution to all th problems of low internal memory and this is achieved by editing the /system/etc/vold.fstab file. But that file is not there at all on KK or LP! What the hell?! Why is Google "removing" "features" from the newer versions?!
Is there no way to swap?
Click to expand...
Click to collapse
XinternalSD is the only solution for you dude. I can confirm that it is working. It works flawlessly on lollipop, no issues at all.
I already use that but but apks, dex, lib, cache all go to internal only during installation.
I realised that even if I swap the internal (/mnt/emulated/0) and external (/mnt/media_rw/sdcard1), there still a magical "data" partition formatted in ext4 where everything goes-- dex, apks, libs, caches. So, that internal 2.17GB on Moto E which is free is actually shared by both the /mnt/emulated/0 and /data/ which is something I don't understand.
Can anybody explain how does this work? If I check in ES File explorer, 972MB of internal is shown as used up. When I open it and select all folder and files and see the properties, it shows 3 MB used up. This is so confusing.
Isn't there no way other than LINK2SD which would currently work and allow me to successfully link or directly install stuff to the second ext4 partition or SD card or *any* similar workaround? :'(
Android is so stupid :'( Why such a devastating limitation? :'(
Link2sd really works on lollipop also. After creating mount script for the first time reboot the phone , there will be a link2sd mount warning in the notifications after sometime , double click on it and choose the quick reboot option instead of recreating mount script. After quick reboot from the link2sd all the linked Apps will appear. You have to do this every time your phone boots .
Hit thanks If this helped you !
rkmiks said:
Link2sd really works on lollipop also. After creating mount script for the first time reboot the phone , there will be a link2sd mount warning in the notifications after sometime , double click on it and choose the quick reboot option instead of recreating mount script. After quick reboot from the link2sd all the linked Apps will appear. You have to do this every time your phone boots .
Hit thanks If this helped you !
Click to expand...
Click to collapse
It doesn't always work. Those apps which have lib files don't work after linking. Even if we don't link the lib files, it still doesn't work because the lib files kinda "vanish" and show 0 bytes after linking. And the apps either FC or complain about missing lib files.
nilanko said:
I realised that even if I swap the internal (/mnt/emulated/0) and external (/mnt/media_rw/sdcard1), there still a magical "data" partition formatted in ext4 where everything goes-- dex, apks, libs, caches. So, that internal 2.17GB on Moto E which is free is actually shared by both the /mnt/emulated/0 and /data/ which is something I don't understand.
Android is so stupid :'( Why such a devastating limitation? :'(
Click to expand...
Click to collapse
The internal 4GB is partitioned into /system, /data and internal sd.
/system is fixed and stores your ROM and system apps.
Back in the days /data/ used to be just like system. However now /data and internal sd are say dynamic. They grow as you install / copy stuff. This is much better than having fixed size partitions. This isn't a limitations instead consider it a flexibility.
All user apps are installed to /data by default which you cannot swap.
They don't seem to expand at all, for instance, /system/ which has a fixed size and once space is over, I can't copy anything to it!
nilanko said:
They don't seem to expand at all, for instance, /system/ which has a fixed size and once space is over, I can't copy anything to it!
Click to expand...
Click to collapse
Okay. Once again. /system/ is fixed in size for security reasons. You are not supposed to copy anything to it.
Its /data/ and internal sd that are dynamic.
That. I'm rooted with TWRP recovery, using the AOSP Extended ROM v3.2 (7.1.1 nougat).
I dont want to format my sdcard to internal, because I use it to save files and backups, and zip files to flash on an emergency.
Is there an alternative? I can't seem to find one.
It would be cool to make it think it has 2 sd cards, 1 internal and 1 external, while in real it's just one that is formatted in 2 partitions, but I don't think thats possible.
Thanks.
makmm said:
That. I'm rooted with TWRP recovery, using the AOSP Extended ROM v3.2 (7.1.1 nougat).
I dont want to format my sdcard to internal, because I use it to save files and backups, and zip files to flash on an emergency.
Is there an alternative? I can't seem to find one.
It would be cool to make it think it has 2 sd cards, 1 internal and 1 external, while in real it's just one that is formatted in 2 partitions, but I don't think thats possible.
Thanks.
Click to expand...
Click to collapse
What you want is possible. I'm using it on my moto e and moto z play.
I'll try to dig up the link for the procedure. You need a PC, and a basic knowledge of adb.
Edit: here you go. http://blog.sam.liddicott.com/2016/02/android-6-semi-adopted-storage.html?m=1
Here's what it looks like on Z play.
dandrumheller said:
Here's what it looks like on Z play.
Click to expand...
Click to collapse
Is it safe to do? In worst case scenario, will it brick my phone?
soft brick or hard brick?
(yes, i'm obviusly going to backup the contents of my sd card.)
BTW, thanks! if this works, ily so much lol
makmm said:
Is it safe to do? In worst case scenario, will it brick my phone?
soft brick or hard brick?
(yes, i'm obviusly going to backup the contents of my sd card.)
BTW, thanks! if this works, ily so much lol
Click to expand...
Click to collapse
It will nuke whatever is on your SD card. Won't touch a thing on your phone. Just follow the directions, he tells you how to confirm you're looking at the proper storage device.
AFAIK there are no negative effects beyond the normal additional read write cycles due to adoptable storage. Been using one card like this on the e (backup device, low use) for six months, and the other one for about a month now on the Z (high use daily driver). Working fine for me.
dandrumheller said:
It will nuke whatever is on your SD card. Won't touch a thing on your phone. Just follow the directions, he tells you how to confirm you're looking at the proper storage device.
AFAIK there are no negative effects beyond the normal additional read write cycles due to adoptable storage. Been using one card like this on the e (backup device, low use) for six months, and the other one for about a month now on the Z (high use daily driver). Working fine for me.
Click to expand...
Click to collapse
Seems legit. I have a 32gb sd (max for the Moto E surnia) and going for 25% internal (about 8gb) and 75% external (about 24gb.)
Thanks a lot!
EDIT: OK. I did it, but i forgotten to eject it, so now it's corrupted, and I can't seem to find a way to eject it to try to do it again, as when I press on the SD card, it tells me to format it. If I format it (temporarely, to then do it again) it will still say "Corrupted". EDIT2: I tried formatting it as portable and it worked, but then when I ejected with the icon next to the sd card, and then doing the commands gives the same result as before. "Portable Storage" is okay, named as "sdcard1 / vfat" but internal says "Corrupted". What do I try now?
makmm said:
Seems legit. I have a 32gb sd (max for the Moto E surnia) and going for 25% internal (about 8gb) and 75% external (about 24gb.)
Thanks a lot!
EDIT: OK. I did it, but i forgotten to eject it, so now it's corrupted, and I can't seem to find a way to eject it to try to do it again, as when I press on the SD card, it tells me to format it. If I format it (temporarely, to then do it again) it will still say "Corrupted". EDIT2: I tried formatting it as portable and it worked, but then when I ejected with the icon next to the sd card, and then doing the commands gives the same result as before. "Portable Storage" is okay, named as "sdcard1 / vfat" but internal says "Corrupted". What do I try now?
Click to expand...
Click to collapse
Hmmm. Probably better off to reformat the whole card to a single fat32 partition (use a card formating tool on the pc for this) and start over. Not sure if or how to do it via adb if it's seeing one partition as corrupt.
Fwiw, 32gb is the max " officially " supported SD card size on the surnia, but it works fine with bigger cards. I'm running 64gb.
I'm going to try a solution that is on the comments of the blog post. Thanks!
EDIT: tried the solution, heres the comment:
A Bored Boy 16 September 2016 at 19:54
For anyone that is getting the corrupted error on their SD card when creating a mixed partition. Here is the solution.
After you have partitioned the disk and while your SD card is corruped enter In the terminal the following:
$> adb shell sm list-volumes all
Which will list your volumes, for example:
private mounted null
public:179,1 mounted B5B1-140C
private:179,3 unmountable null
emulated mounted null
Then enter the following replacing 179,3 with whichever disk numbers you are given:
$> adb shell sm format private:179,3
$> adb shell sm mount private:179,3
Now your SD card in device storage should be properly mounted and your portable storage will still be there.
This worked on my LG G5 and should work on the S7.
On the 2nd and 3rd step I get the following error:
▶ adb shell sm mount private:179_67
Error: java.lang.IllegalStateException: command '55 volume mount private:179_67 0 -1' failed with '400 55 Command failed'
Help?
dandrumheller said:
Hmmm. Probably better off to reformat the whole card to a single fat32 partition (use a card formating tool on the pc for this) and start over. Not sure if or how to do it via adb if it's seeing one partition as corrupt.
Fwiw, 32gb is the max " officially " supported SD card size on the surnia, but it works fine with bigger cards. I'm running 64gb.
Click to expand...
Click to collapse
OK. Tried formatting into FAT32 with a chromebook (only computer I had access to atm, no usb adapter :/) and it formatted. Then putted the sd on my phone, selected as portable, EJECTED and did the proccess.. no luck.
Same result. The internal partition marks as "corrupted".
Anyone, help? I really need it, lol.
Thanks anyway,
dandrumheller? Someone? I really need it ?
I readed some more and see that link2sd is a better option? What's the difference?
makmm said:
dandrumheller? Someone? I really need it ?
Click to expand...
Click to collapse
Don't know what to tell you, I just followed the post and it worked. Do you have another card you can try with?
Does the original card work normally again after going back to fat32?
dandrumheller said:
Don't know what to tell you, I just followed the post and it worked. Do you have another card you can try with?
Does the original card work normally again after going back to fat32?
Click to expand...
Click to collapse
I think yes. I have other card(s) but they are not mine.
But what's the difference from this method than link2sd?
makmm said:
I think yes. I have other card(s) but they are not mine.
But what's the difference from this method than link2sd?
Click to expand...
Click to collapse
Haven't used link2sd in many years. Used to require lots of manual management, but it's the same concept. 2 partitions on SD card, 2 different formats, apps on one, media etc on the other.
Give it a shot. Used to have to manually format SD card to ext2 (iirc) for the app partition.
dandrumheller said:
Haven't used link2sd in many years. Used to require lots of manual management, but it's the same concept. 2 partitions on SD card, 2 different formats, apps on one, media etc on the other.
Give it a shot. Used to have to manually format SD card to ext2 (iirc) for the app partition.
Click to expand...
Click to collapse
I tried a thousand times with ext4 (and fat32) and it didnt work....
BUT WAIT, theres more! i tried with ext2 as you said (fat32 + ext2) and Just Works(tm)
Thanks, i really appreciate your help, you were the only one to respond lol...
PS: using apps2sd instead of link2sd as apps2sd has part manager, that's how i partitioned it, yay!
PS2: should i just use link2sd as "linker" and apps2sd as alternative/part manager?
thanks again ;D
Edit: I needed to change some config in SuperSU and create in advanced mode the Mnt script, but it works like a charm! It lets me move any app! ;D
makmm said:
I tried a thousand times with ext4 (and fat32) and it didnt work....
BUT WAIT, theres more! i tried with ext2 as you said (fat32 + ext2) and Just Works(tm)
Thanks, i really appreciate your help, you were the only one to respond lol...
PS: using apps2sd instead of link2sd as apps2sd has part manager, that's how i partitioned it, yay!
PS2: should i just use link2sd as "linker" and apps2sd as alternative/part manager?
thanks again ;D
Edit: I needed to change some config in SuperSU and create in advanced mode the Mnt script, but it works like a charm! It lets me move any app! ;D
Click to expand...
Click to collapse
Glad you got it working!
andorid sucks those years too