Related
I have been trying forever to get ext3 working on my phone. I have 3 primary partitions; fat32, ext3 and linux swap. I used a card reader to create them via Partition wizard. Every software can see the 3 partitions, but my phone wont pick up the ext3. I tried wiping everything, reflashing dexter's rom, but i just cannot get it to work. I still see only 134mb on internal memory and it decreases as i install apps. I have even tried using link2sd but that gives me an error ("Mount script cannot be created"). Any help will be greatly appreciated. Thanks in advance.
Frisbee6 said:
I have been trying forever to get ext3 working on my phone. I have 3 primary partitions; fat32, ext3 and linux swap. I used a card reader to create them via Partition wizard. Every software can see the 3 partitions, but my phone wont pick up the ext3. I tried wiping everything, reflashing dexter's rom, but i just cannot get it to work. I still see only 134mb on internal memory and it decreases as i install apps. I have even tried using link2sd but that gives me an error ("Mount script cannot be created"). Any help will be greatly appreciated. Thanks in advance.
Click to expand...
Click to collapse
Me too, I used Miui optimize rom and Steel v4 (
Sent from my XT720 using XDA Premium App
That's strange. My EXT3 partition works both in Dexter's rom and in the Steelblue V4 rom.
I used gparted under Linux to do my partitioning. What I did was to resize the existing FAT32 partition and move it all the way to the right. Then I created a 2gb EXT3 partition all the way at the left. From there I created a 256mb swap partition in the middle, and I resized the FAT32 partition to take up the rest of the drive.
Did you guys remember to create an "app" folder on the EXT3 partition?
There are other folders that you can create to put the delvik cache on there among other things. I just don't remember off hand what you need to name them as.
Ya there is a folder there called apps, but for some reason, nothing is moving into it. do i need to run some sort of a script? what i did:
1. flashed dexters 1.3
2. partitioned sd card using partition wizard with a fat32, a ext3 and a swap partition
3. booted up phone, internal memory shows 134mb, all apps installed go to internal memory.
4. terminal shows ext partition with 1100 mb free space
Am i missing a step?
Thanks in advance
Frisbee6 said:
Ya there is a folder there called apps, but for some reason, nothing is moving into it. do i need to run some sort of a script? what i did:
1. flashed dexters 1.3
2. partitioned sd card using partition wizard with a fat32, a ext3 and a swap partition
3. booted up phone, internal memory shows 134mb, all apps installed go to internal memory.
4. terminal shows ext partition with 1100 mb free space
Am i missing a step?
Thanks in advance
Click to expand...
Click to collapse
not folder apps but app no s....if your ext3 working fine then shud have lost+found folder @/sd-ext.. create app folder using root explorer then reboot..now your app shud automatically move to sd-ext..
and create cache folder dalvik-cache
Well i did what you guys said and now my apps are going to /sd-ext/app but im also losing space in the internal memory, and it does not show internal + ext3, it only shows internal. You guys have any idea whats happening?
Thanks for all your help guys.
Frisbee6 said:
Well i did what you guys said and now my apps are going to /sd-ext/app but im also losing space in the internal memory, and it does not show internal + ext3, it only shows internal. You guys have any idea whats happening?
Thanks for all your help guys.
Click to expand...
Click to collapse
Are you using Dexter 1.3 without any patches?
[If so, probably your dalvik-cache is on /data? So... even though the apps are going into /sd-ext, the optimized versions of the dex are being stored on internal memory.]
Yes... no patches, and dalvik is going to /data. Any idea whats up?
Frisbee6 said:
Yes... no patches, and dalvik is going to /data. Any idea whats up?
Click to expand...
Click to collapse
That's just how Dexter's 1.3 works by default and one of the reasons I started the bugfix patches. If you apply bugfix patch 3 dalvik-cache will move to /cache automatically (you can optionally move it to /sd-ext by creating /sd-ext/dalvik-cache and rebooting).
http://forum.xda-developers.com/showthread.php?t=995989
Or, if you don't want the patch, you can maybe use Androidiani OpenRecovery--it has a menu option to install an init script to move dalvik-cache to /cache. I haven't tested whether that works or not, though.
After this patch, now the /sd-ext/app folder deletes itself after i restart the phone, tried a few times, same goes for davlik-cache. This is crazy every thing that could go wrong has gone wrong, thanks again for your help. You got any other suggestions?
I do not understand what you worry?
It works now, thanks alot for all your help guys, really appreciate it!
Frisbee6 said:
It works now, thanks alot for all your help guys, really appreciate it!
Click to expand...
Click to collapse
How you did it?
V_XT720 said:
How you did it?
Click to expand...
Click to collapse
1. Formatted my card to the required partitions.
2. Flashed dexters rom followed by Mioze7Ae's bugfix 3.
3. Using root explorer I created /app folder.
4. Downloaded apps like there's no tomorrow.
Sent from my XT720 using XDA App
I tried two different ways to partition my sd:
1) I used Gpatred and I did everything as described here - http://www.youtube.com/watch?v=6z1Tu9l8WNc&feature=related.
2) I used MiniTooLsPartition Wizard and Root explorer to create app and dalvik-cache folders.
In both cases, everything seems fine....until i install some apps. After restart the phone can not load the android. The phone only shows M logo and restart. If I remove the card then OS load. What I have to do? Thanks in advance.
Are you partitioning your sd while its in the phone? Use a card reader if possible. Wipe clean your partitions and wipe data and dalvik cache. Then try again, although i did not have the problem that you mention, are you running any other scripts? eg. darktremors?
What I did:
1. Clean Installation of Steelblue V4 rom.
2. Two primary partitions (FAT32 and EXT3). I used card reader.
3. App and dalvik-cache folders on ext3 partition.
4. Wipe clean partitions and wipe data and dalvik cache.
After first reboot everything was fine. Then I installed a root explorer to check a ext3 partition. The app and dalvik-cache folders were there. I decided to restart the phone again before I install anything else and nothing happened....only M logo
V_XT720 said:
What I did:
1. Clean Installation of Steelblue V4 rom.
2. Two primary partitions (FAT32 and EXT3). I used card reader.
3. App and dalvik-cache folders on ext3 partition.
4. Wipe clean partitions and wipe data and dalvik cache.
After first reboot everything was fine. Then I installed a root explorer to check a ext3 partition. The app and dalvik-cache folders were there. I decided to restart the phone again before I install anything else and nothing happened....only M logo
Click to expand...
Click to collapse
dalvik-cache on ext partition will cause bootloops in Khal's ROMs.
Hi all,
So last night I decided to give Cyanogenmod7 a try. I came from MIUI.us 2.1.20 - I just love MIUI, but it's a bit too demanding for the Milestone. So I have CM7 up and running, and it is a lot more snappy. But now, I'm having trouble installing some apps.
I tried installing my bank's banking app, but it didn't install - checked the market and it doesn't appear. Same thing with WhatsApp!! If it were working, I might just become a CM7 user..but it's not working.
Am I missing something? I installed after doing a full wipe, after which I installed DT A2SD scripts and then gapps-20111216 (although didn't see gmail or market etc after gapps, so installed those via apk).
What's the deal here?
Thanks.
Sent from my Milestone using Tapatalk
Ok, just wiped again, and reinstalled all. CM7 then gapps then dt a2sd. So far it's working.
Sent from my Milestone using Tapatalk
googleservicesframework.apk and vending.apk are all you need for using market. Try to reinstall them. May you success.
Ok, so now my problem is A2SD. It's not working! A2SDGUI refuses to go in, and when I do a check, I get a segmentation fault...I've never had this issue before. I've tried reinstalling DT A2SD from withing recovery and still, nothing. Please assist, I just need to get set up properly now.
Regards
Sent from my Milestone using Tapatalk
DT scripts dont work ...use an external partition (app2ext)
d.casper.b: CM7 for Milestone already comes with its own ap2ext scripts that are automatically used if there is ext partition present on your sdcard.
You should not install any 3rd party app2ext scripts as they are very likely to be conflicting with the scripts that are already there.
Thanks kabaldan.
I'll check it out.
I was even going so far as trying to use Link2SD from the market..
How'd I know if it's working? By monitoring the available internal storage?
Sent from my Milestone using Tapatalk
d.casper.b said:
Thanks kabaldan.
I'll check it out.
I was even going so far as trying to use Link2SD from the market..
How'd I know if it's working? By monitoring the available internal storage?
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
when you will enable app2ext you will see the total space in your storage rise to 197 mb
I am not winning. I did a factory reset and flashed cm7 and gapps (not dt a2sd).
I did a test, internal storage was at 191mb, then I installed opera mobile and it went down to 182mb. Then uninstalled it again. Went into cyanogenmod settings and set install location to external. Installed opera again, but it was no different. Moving it to sd under 'manage applications' increased the internal memory again, but that's just moving the app to the FAT32 partition of the sd card.
So it's not seeming to work for me for some reason.
Sent from my Milestone using Tapatalk
EDIT: I really don't want to be a nuisance, but now, looking at the available storage using "Quick System Info", I noticed after uninstalling "Opera Mobile", 9mb was freed on internal storage & 13mb on the ext partition.
So, perhaps it is working, and since the dalvik cache is (I assume) on internal storage, the storage is still decreasing. Am I correct? If so, is there a way to also move dalvik cache to the ext partition - I had it like this on MIUI & never looked at available memory ever again.
First of all, have you really partitioned your SD card? Make sure you followed the 3rd step on this guide: http://www.mrmuh.com/2012/01/update-a-motorola-milestone-from-motorola-firmware-to-cyanogenmod-7/ . You should have your SD Card partitioned with two partitions, the first should be FAT32 that's used normally on Android, and the second EXT3 or EXT4. Obviously, make sure you have a backup of your FAT32 partition before partitioning.
Second, you should understand how the apps2ext scripts on CM7 work. Application installs that would be stored on internal memory are rerouted to the EXT3/4 partition on the SDCard. This happens at the underlying system (linux) level, Android (that runs on top of linux) is not aware of this rerouting, so, as far as Android "knows", apps that are rerouted to the EXT partition are on the phone's internal memory. That means that you should make sure that apps you need installed on the EXT partition of the SD card are shown in "Applications > Manage applications" list to be installed on the internal memory. Yep, it's confusing, but once you understand how it works and why it works that way, it makes sense.
Third, the fact that apps are rerouted to the EXT partition doesn't mean that everything about the app will live on the ext partition: it means only the main application package will live on the ext partition, application data is still stored on the internal memory. For most apps, the amount of data used for application data are much smaller than the application package, but in some apps the amount of application data from the app may often surpass the size of the app itself - for example, in my phone, Tweekdeck stores about 9Mb of data, which is about 10 times the size of the application itself (820kb) - presumably this amount of data is cached tweets, pictures, etc. But that case is usually the exception, not the rule, I've just mentioned it so you understand that using apps2ext doesn't mean your internal memory will always stay unused, it just means it will be used (way) less.
Finally, regarding the CyanogenMod Settings location setting, if you understood what I said above, you should now understand that it should actually be set to always install to "Internal", rather than external. However, there's a bug in this that you should be advised, that not all apps will respect this setting: some apps will install to external regardless of how you've configured that setting (meaning the app will use Froyo/Gingerbread native Apps2SD, hence being installed to the FAT partition of the SDCard). So, when you install a new app, check on app management if it didn't get installed to the SDCard, and move it to the internal memory if that's the case. For these kind of apps, you'll have to do it every time you update the app too.
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
I understand entirely what you've said, I know that internal is really ext if working, and sd is FAT32 partition.
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Thanks for putting up with me..I'm almost there.
Sent from my Milestone using Tapatalk
d.casper.b said:
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
I understand entirely what you've said, I know that internal is really ext if working, and sd is FAT32 partition.
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Thanks for putting up with me..I'm almost there.
Sent from my Milestone using Tapatalk
Click to expand...
Click to collapse
in the market you will find an app called s2e which moves app data, davlik cache to sd
also link2sd also free's up more space and makes cm7 snappier
please don't install such things to CM7 for Milestone unless you know what you are doing and you are able to resolve conflicts with the existing scripts
dalvik-cache is already moved automatically
if you want to free more space in /data, enable lib2ext to move native libraries to ext - it's mentioned in the changelog for 7.1.2 release
app data itself should not be moved as it can cause instability
d.casper.b said:
Thanks, I edited my previos post..
I actually have 3 partitions, a FAT32, an ext2 (maybe it's ext3, but doubt it - partitioned some months ago, so my memory's hazy), and a SWAP - which I should get rid of, but am too lazy.
Click to expand...
Click to collapse
Yeah, get rid of swap, there won't be any use for it (for now anyway) and it's best for you at this point to have a known working structure (two partitions, 1st FAT, 2nd ext3/4) for your SD as you're troubleshooting your problems/questions, it'll make it easier for us too as this will eliminate potential points of failure or inconsistencies. And you should really consider upgrading to a journaled filesystem, either ext3 or ext4. Using ext2 is unreliable because Android doesn't umount the ext partition cleanly on reboot or shutdown, so you may have problems with apps disappearing or misbehaving every other reboot. Using ext3/4 with journal elimitates this problem since the journal is just replayed for the uncleanly umounted partition and the filesystems behaves more consistently.
d.casper.b said:
You see, I'm just new to this rom and have to trial and error until I understand, with miui you just flashed the rom and the a2sd scripts and didn't bother again (maybe only to move an app that installed to FAT partition). But it seems CM7 is simply just to flash the rom and you're good to go. But as I was pondering in my previous post...is there any way to move dalvik cache to ext?
Click to expand...
Click to collapse
The apps2ext script built on CM7 should do this by default - you probably already have your dalvik-cache on the ext partition. To check this, go into OR, enter the console and type: "ls /sddata/dalvik-cache" . If it returns a list of files, you've already got the dalvik-cache on your ext partition. Another option is setting the option dalvik.vm.dexopt-cache-only to 1 in the file /system/build.prop . This will put all dalvik-caches (both from user apps and system apps) on the phone's internal cache partition, thus still freeing space on the internal memory but without using the ext partition, but that's not recommended if you install too many apps because the cache partition may run out space and that will spawn all kinds of weird behavior on Android. The safer route is just using the default configuration anyway (user apps dalvik-cache on sd-ext).
Another option to further reduce internal memory use is using lib2ext, that will move user apps native libraries to the ext partition, but the memory gain in this case is dependent on which apps you use and how big their native libraries (if they even have one) are. To activate it, just go into the Terminal app (with Android booted) and type:
$ su
# lib2ext
And reboot. The libraries will be moved to the ext partition during boot. Make sure you have a big enough ext partition to hold everything (apps, dalvik-cache and apps libs) - the size to recommend is very dependent on how many apps you use and how big they are, but I'd say 512Mb would be the bare minimum.
in the market you will find an app called s2e which moves app data, davlik cache to sd
also link2sd also free's up more space and makes cm7 snappier
Click to expand...
Click to collapse
DON'T! JUST DON'T! These third-party apps will cause all kinds of problems with CM7 builtin apps2ext.
EDIT: Oh well, Kabaldan already put all my rambling much more succintly than I could... I'm way too talky
well i was jus trying to help.. .anyway guys thanks i guess i won't be needing those apps anymore ...sorry for my noobness
Thank you so much guys!
It seems like it's working. I will check out lib2ext & the other suggestions tonight or over the weekend (on my way to work now).
I must say, I thought the move to CM7 would be a temporary one, but the speed gain is just what I needed, & the tweaks I thought I'd miss I am finding hidden in the settings .
Just wondering on the battery now - but I've been fiddling non-stop.
So let me play a bit more the weekend & I'll merge my ext2 and SWAP partition into one ext3 partition.
Thanks all, and kabaldan for your hard work on this rom.
Sent from my Milestone using Tapatalk
Just as I was on my way...
Everything's running fine, A2SD works. But now, I partitioned my SD card with a 2nd partition (ext3, it was ext2), but now widgets are not loading. Checked the apps install location, and it's 'internal', ie. ext3. I never had this before. I think maybe it's due to the filesystem now?
EDIT: Ok, ext2 is doing the same. I can't keep starting from scratch the whole time guys.
EDIT2: It's now suddenly working! Just have a Fat32 and an Ext3 partition. But I don't understand because it's been setup like this twice before with no success. I'll hold thumbs!
PS, CyanogenMod is quite up my alley now, speed is awesome and I'm happy.
Sent from my Milestone using Tapatalk
Hello,
With the limited space on Optimus One I decided to try out Link2SD app. I was able to partition my SD card and Link2SD created the script. After reboot I tried linking some of my apps to SD (EasyMoney, Solid Explorer Beta2, Swype Installer and Swype). The first app (Solid Explorer) linked the app file, and delvic cache fine. Every app after that game me error: "Failure. mkdir failed for /data/sdext2/dalvic-cache, File Exists". Also, when I filter it to show only the linked apps even the first app isn't listed.
If I move only the app file it is successful, but every app force closes. Rebooting the phone simply forgets that I even had the applications installed (even after quick reboot). Finally removing the link does absolutely nothing. My guess is that the app never properly linked apps in the first place resulting in the app going into a 'limbo'. Now I have used some space in my SD partition and can't use the app or reclaim the space.
I am new to all this, but am researching what my fault is. Can someone point to what am I doing wrong? How do I get link2SD to simply move my apps to the partition to free up my internal space.
In a nutshell:
1. First app successfully moved, but link2SD still shows no apps are listed. Subsequent apps cannot be moved since dalvic-cache folder (or file) already exists).
2.. Moving only the app data results in FC. Rebooting results apps disappearing with no way to reclaim the used space.
How did you partition your SD card, and how is it formatted? Any other partitions on the card?
The SD card currently has two FAT32 partitions, both set as primary. Partitioned is using Minitool Partition Wizard.
Typically, the 2nd partition is formatted as ext2/3/4. If for some reason you need both partitions to be FAT, there's a setting in link2sd where you can specify that the 2nd partition is FAT. This is important because link2sd makes a script which is run when you boot up your phone, which mounts the partitions appropriately.
sorry if Out Of topic.
but anyone can tell me.
how to use link2sd.,.?
btw i'am using PARANOIDROID custom rom now.
SaveeOztra said:
sorry if Out Of topic.
but anyone can tell me.
how to use link2sd.,.?
btw i'am using PARANOIDROID custom rom now.
Click to expand...
Click to collapse
If you have second partition on SD the Link2SD moves apps to sd-ext.
When starting the first time, make sure to select the correct filesystem. CWM makes ext4 I think..
If you are already by that with incorrect partition, go Options=>More=>Recreate mount scripts.
I recommend to activate Auto Link in settings to have no need to worry about apps being linked.
I think that's all what you need, if you are basic. I have done that too.
I'm currently running bhundven's herring CM9 with no kernel modifications and CWM 6. I find that the internal storage for this phone is very low and only holds a small amount of applications, especially since many apps seem to not want to install at all (about 3/4 of the time I try to install things, I get either "Package invalid" or "Insufficient space available", which is extremely annoying and might be a separate problem).
Is there any way that I can get sd-ext to work on this phone with this setup? I'd rather not switch kernels (I'd love to get TWRP recovery but the flashable doesn't work for me and I don't want to switch kernels).
cpkelley94 said:
I'm currently running bhundven's herring CM9 with no kernel modifications and CWM 6. I find that the internal storage for this phone is very low and only holds a small amount of applications, especially since many apps seem to not want to install at all (about 3/4 of the time I try to install things, I get either "Package invalid" or "Insufficient space available", which is extremely annoying and might be a separate problem).
Is there any way that I can get sd-ext to work on this phone with this setup? I'd rather not switch kernels (I'd love to get TWRP recovery but the flashable doesn't work for me and I don't want to switch kernels).
Click to expand...
Click to collapse
I haven't used it but this app should do the trick.
https://play.google.com/store/apps/details?id=eu.codlab.int2ext
Let me know if it works.
I prefer Mounts2SD, which lets you completely configure things. I was running PACman with cache and dalvik offloaded which worked quite well. And free is a good price.
https://play.google.com/store/apps/details?id=com.spazedog.mounts2sd
That seems like it just switches the internal and external storage, not making an ext partition on the SD card. But can things like this really be done through an app? I thought these things had to be done through init.d or build.prop scripts.
Sent from my SGH-T959V using xda app-developers app
The app creates an init file. Or so it appears. Like I said I don't use it. It seems that raze does and I'd defer to him here. Either his app or the one I linked should work fine.
Thanks (given) to both of you. And any ideas on what else might be causing the invalid packages when downloading from the play store? It happens even though I have much more free app space than I would need (eg. I had 119 MB of free space and a 30 MB app download failed).
EDIT: Just tried using Mounts2SD, but it couldn't find the sd-ext partition. Do I need to create that manually, and how?
Sent from my SGH-T959V using xda app-developers app
Titanium backup had a feature to integrate app updates into the Rom.
Sent from my SAMSUNG-SGH-I547 using xda app-developers app
Another way is to create ext4 partition (about 1G is usually enough) on you SD card with free MiniTool Partition Wizard and then use Link2SD to link apps/dalvik to this partition. I've been using it like this for a long time and it works fine. There are plenty of guides on the Web how to do that.
I used CWM or TWRP to create the sd-ext partition. You need to create that first somehow... if MiniTool Partition Wizard will do it without wiping the sdcard, that's better than recovery though.
My method was boot to recovery, mount sdcard, copy everything to computer HD, unmount sdcard, partition sdcard with 2 GB sd-ext (because I wanted lots of space, but I'd probably cut it down to 1 GB next time), mount sdcard, copy everything back from computer HD, unmount sdcard, reboot to system. Then launch Mounts2SD, pick what format you want the sd-ext in (FAT or ext2 are the fastest, but you can take ext3 or ext4 if you're not going to just disable the safety features) and what stuff you want moved over.
Edit: Just found this link, which I haven't used but which explains how to do the sd-ext with MiniTool... apparently MiniTool DOES still wipe the partitions though, so you may as well just use CWM/TWRP and make your life easier.
http://forum.xda-developers.com/wik...#using_MiniTool_Partition_Wizard_Home_Edition
Theraze said:
I used CWM or TWRP to create the sd-ext partition. You need to create that first somehow... if MiniTool Partition Wizard will do it without wiping the sdcard, that's better than recovery though.
Click to expand...
Click to collapse
MiniTool will wipe the sd card to create the new partition as well. I wish there was a way to do it without wiping the card but there is not. So back that stuff up first.
Madein Cyberspace said:
MiniTool will wipe the sd card to create the new partition as well. I wish there was a way to do it without wiping the card but there is not. So back that stuff up first.
Click to expand...
Click to collapse
I used GParted to partition my SD card. NO WIPING. Move, resize, add partitions.
nevkuril said:
Another way is to create ext4 partition (about 1G is usually enough) on you SD card with free MiniTool Partition Wizard and then use Link2SD to link apps/dalvik to this partition. I've been using it like this for a long time and it works fine. There are plenty of guides on the Web how to do that.
Click to expand...
Click to collapse
Yes, but our herring kernel does not support EXT4 partition, I tried it myself
and it didn't work. I had to create EXT3 which is supported by almost all kernels.
Eh, my results varied. Worked fine for me with ext4. And worked fine for my wife as well.
Rebel_X said:
Yes, but our herring kernel does not support EXT4 partition, I tried it myself
and it didn't work. I had to create EXT3 which is supported by almost all kernels.
Click to expand...
Click to collapse
The OP says he's running CM9. That's what I'm running but I use Proton kernel as CM9 kernel has a video bug, and ext4 partition works just fine for me. Strange if Bryan really removed ext4 support, it's just a line in the config file.
Successfully made the partitions last night but my phone won't mount the SD card anymore. Was trying ext3, I'll try ext2 and ext4.
EDIT: Fixed the problem, changed my partition to ext2 and set both partitions to "Primary" (not sure which one did the trick).
cpkelley94 said:
Successfully made the partitions last night but my phone won't mount the SD card anymore. Was trying ext3, I'll try ext2 and ext4.
Click to expand...
Click to collapse
Make sure that you make the first partition Primary/FAT32. This will be your normal SD card. Just take about 1GB of space from it at the end. Then make second partition Primary/ext4 with size to the end of the card. You can try ext2/3 but I don't think it is really necessary.
MiniTool will NOT wipe your partition if you do it right.
dsexton had a guide posted on how to do it.
Is it worth making a swap partition? If I remember correctly it significantly degrades the life of the SD card (and microSD's are delicate as it is), and I don't know if it would significantly increase performance.
cpkelley94 said:
Is it worth making a swap partition? If I remember correctly it significantly degrades the life of the SD card (and microSD's are delicate as it is), and I don't know if it would significantly increase performance.
Click to expand...
Click to collapse
I also created 128MB swap partition, not supported too and not mounted.
I tried to used swapper2 app from the market, but it says not supported by
kernel. Now I lost that space till I feel motivated to format or repartition the SD
card again.
I am using hefe kernel btw on AOKP milestone 6-5.
No swap.
Sent from my SGH-T959V using xda app-developers app
Increase space for apps, the end of " Insufficient Storage Available" in device ...
Hi!
I have a new post with a better and functional solution here:
http://forum.xda-developers.com/ascend-g6/general/send-apps-to-sd-card-avoid-low-storage-t3344880
Any one that try it, please let me know how it goes with you.
sd card
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
lalahamid said:
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
Click to expand...
Click to collapse
How do you made it?
Both partitions must primary.
The pv or phone cant see ext4 partition, only after mounted and in data
Sent using XDA One
persona78 said:
How do you made it?
Both partitions must primary.
The pc or phone cant see ext4 partition, only after mounted and in data
Sent using XDA One
Click to expand...
Click to collapse
Sent using XDA One
mount partition
I have made both partitions as primary and then followed your instructions. When I execute link2sd after installing from sdcard it asks to choose the format for the second partition of the sdcard. then I select fat32 an reboot.
after following your instructions the apps are beeing installed to the ext2 folder (also to the app folder).
But when I check the phones internal memory, it shows a decrease of space, after installing an app.
The Settings only show the phones internal memory an the one fat32 partition of the external sdcard. but nor the ext4 partition?
lalahamid said:
I have made both partitions as primary and then followed your instructions. When I execute link2sd after installing from sdcard it asks to choose the format for the second partition of the sdcard. then I select fat32 an reboot.
after following your instructions the apps are beeing installed to the ext2 folder (also to the app folder).
But when I check the phones internal memory, it shows a decrease of space, after installing an app.
The Settings only show the phones internal memory an the one fat32 partition of the external sdcard. but nor the ext4 partition?
Click to expand...
Click to collapse
Noooo!
When asks to choose the format for the second partition of the sdcard you must select EXT4 than reboot. Still the same you had created with mini partition tool, but he need to recreate to create the mount script to.
That's why it fails.
Sent using XDA One
persona78 said:
Noooo!
When asks to choose the format for the second partition of the sdcard you must select EXT4 than reboot. Still the same you had created with mini partition tool, but he need to recreate to create the mount script to.
That's why it fails.
Sent using XDA One
Click to expand...
Click to collapse
I also tried with ext4 and rebootin but then it still doesnt mount. I have to repeat the mounting process again with link2sd but it doesnt mount. I did not find init.d file.
Do I have to make any setting changes while creating a ext4 partition?
lalahamid said:
I also tried with ext4 and rebootin but then it still doesnt mount. I have to repeat the mounting process again with link2sd but it doesnt mount. I did not find init.d file.
Do I have to make any setting changes while creating a ext4 partition?
Click to expand...
Click to collapse
If you don't have the file or folder you can created, create a folder and must have 755 permission.
You need that folder....
Sent using XDA One
Installing apps
Hello,
untill now this method worked really great. I followed all the steps and everything went fine. Now the time has come to check if it works, I downloaded some app in de playstore, but whenever it's done installing my phone reboots instantly. Does anyone know how this comes?
thanks in advance
berenvacht said:
Hello,
untill now this method worked really great. I followed all the steps and everything went fine. Now the time has come to check if it works, I downloaded some app in de playstore, but whenever it's done installing my phone reboots instantly. Does anyone know how this comes?
thanks in advance
Click to expand...
Click to collapse
Hi!
This is a light version. Has missing some permissions ( fixed ) and busybox tools ... :/ ( fixed to )
It create a full root WITH option to send your apps to sd card automatically!
How?
Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.
LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!
So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!
To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!
If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.
Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...
3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.
UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC
Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE
And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg
Use it only if you need it. Is your option.
I hope this helps you.
is when is installing? When start doing this?!
persona78 said:
Can you explan it better?!
is when is installing? When start doing this?!
Click to expand...
Click to collapse
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------
berenvacht said:
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
Click to expand...
Click to collapse
Also when I create the shortcut sdext2, the shortcut has other permissions, should I change these permissions to the permissions of the 'original' app folder?
Step by Step
berenvacht said:
I created a shortcut sdext2 and renamed it to app, after i renamed the originally app to _app. directly after completing the process, I wanted to test if it worked. So I started downloading some apps. When it's done installing the app it reboots my phone. When its rebooted the app is not installed on my phone.
---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------
Also when I create the shortcut sdext2, the shortcut has other permissions, should I change these permissions to the permissions of the 'original' app folder?
Click to expand...
Click to collapse
See if you miss same thing:
need root
Need to have the ext4 partiton in sd card ( i use mini partition tool for windows)
Do backup from your data, apps, contacts, msg, etc, with default app in phone to restore after factory reset
download Root browser and link2sd from Google play, go to data app look for it (Root Browser: black folder with a android pirate and Link2 sd: Blue sd card icon) and copy to sd card
do factory reset but in inicial settings DON´T ACTIVATE GOOGLE ACCOUNT turn all connection off.
install Root Browser and link2sd from sd card
execute link2sd to mount ext4 partition from sd card, reboot
execute Root Browser, go to data a rename app folder to _app
look for sdext2 and create a short cut and paste in the same place, rename it app, reboot
activate Google account, now all should be working fine.
you will noticed that link2sd and root browser are missing, is because they are in _app and that folder is no longer in use, the apps can be deleted. Don´t install link2sd again, only root browser if you need it.
Tell me if you understand it
persona78 said:
See if you miss same thing:
need root
Need to have the ext4 partiton in sd card ( i use mini partition tool for windows)
Do backup from your data, apps, contacts, msg, etc, with default app in phone to restore after factory reset
download Root browser and link2sd from Google play, go to data app look for it (Root Browser: black folder with a android pirate and Link2 sd: Blue sd card icon) and copy to sd card
do factory reset but in inicial settings DON´T ACTIVATE GOOGLE ACCOUNT turn all connection off.
install Root Browser and link2sd from sd card
execute link2sd to mount ext4 partition from sd card, reboot
execute Root Browser, go to data a rename app folder to _app
look for sdext2 and create a short cut and paste in the same place, rename it app, reboot
activate Google account, now all should be working fine.
you will noticed that link2sd and root browser are missing, is because they are in _app and that folder is no longer in use, the apps can be deleted. Don´t install link2sd again, only root browser if you need it.
Tell me if you understand it
Click to expand...
Click to collapse
I followed all steps again, but still the same problem. The strange thing is that the whole method works fine, except installing the apps. It's like my phone doesn't accept me using a ext4 partition instead of the 'original app'. Maybe it's because of a software restriction android uses in their operating systems... I have no clue at all. I will keep searching the internet, as soon as find something I will post it here.
You should definitely change the permissions too. However this method seems convenient, it will reduce the lifetime of your sd card and you will risk data loss. I think the repartition script is better.
The time life still the same, only the apk goes to sd card.
So is like any other file, like mp3 for example, it writes the file (apk ) , than only reads when need it to load in RAM ( I think you know that all the work is in RAM ). The apps lib files and dalvik-cache still in data partition.
If you do a factory reset the apps still gonna be there, you don't loose them, only need to re-create the process in phone, reboot and they will automatically installed.
This and the resize of data partition will make you a huge amount of data storage, i have 8,5Gb for data storage ....
Hi!
I re-edit the main post with a functional solution.
lalahamid said:
hello the mobile does not recognize my sdcard of 16gb after I make a ext4 partition of 6 gb and a fat32 partition of 10gb. Any suggestion?
Click to expand...
Click to collapse
try this option, this works but was tested in 4.4.2 ROM
http://forum.xda-developers.com/ascend-g6/general/send-apps-to-sd-card-avoid-low-storage-t3344880
Hi!
Diferent version from KingUser root zip.
It create a full root WITH option to send your apps to sd card automatically!
How?
Because it create a funtional init.d folder in system/etc where you can put your own scripts to start on boot, giving you full control from your ROM/phone and if you have a ext4 partition in sd card ( 3 GB that's enough ), it will send your apps to sd card releasing storage.
LTE device have a default 2GB /data storage for apps and user definitions, phone call, etc. 3G device is worse!!!
So for a LTE device, 3GB from sd partition + 2GB from data partition = 5GB!
To show you why don´t need more, i have at this momente 61 app in /data/app ( in sd ext4 partition ) that fill 750MB - > 61 apps!!!
If you have a LTE device and your /data partiton is resized you can push a litle the size from external partition to 4GB ( that's enough ), im still trying to find a good size for external partition.
Why don´t need a bigger size?
Because there are file that still inside data partition, in /data/data and dalvik-cache, that still filling up data partition... you can´t take them all ...
3G devices need to be rooted with SuperSu zip first ( i don´t know way ) ... im a LTE user.
UPDATE-Kinguser-3.4.0-Modded_V2.zip
https://mega.nz/#!HoZniaSC
Key:
!tmmKUs-lnmAJo0Y4rcvxgZjYgsath0iTDBUYa7-T3YE
And this video shows how ROM works with a external ext4 partition in sd card what means that all apps go to sd card and let internal storage free:
https://youtu.be/7st6838_aAg
Use it only if you need it. Is your option.
I hope this helps you.