[GUIDE] get more space internal memory by simple configure link2sd - Galaxy Ace S5830 General

this my favorite tricks for get more space internal memory, i installed 70 apps, and free memory is 41mb,. Simple and stable guys....
How to configure :
1- after installing a rom configure link2sd and choose link auto
2- install EVERY app on internal memory and after link, if some goes to sdcard move it to internal and after that you can create a link
3- sometimes i go to link2sd>menu button>more: relink all apk files, relink all lib files, link dalvik cache and clean dalvik cache
after you link a apk if want to see the real free space you'll need to reboot the phone... Link2sd is a great app i think thats better than int2ext scripts but you need to learn how to use correctly, with time you get it !!

Tried...but tired of this link2sd stuff...

I don't like at all link2sd. Cronmod Script is better :good:

i like link 2 sd..
Sent from my GT-S5830i using Tapatalk 2

Rhievaldo do you have to always install in internal first?

It put it on internal then link it and clear the space with link2sd. If you don't use many apps etc you should not even bother with link2sd in my opinion even tho its super easy to setup following instructions.

mfabruno said:
Rhievaldo do you have to always install in internal first?
Click to expand...
Click to collapse
Yes, otherwise some apps with native App2SD support will be linked with android native A2SD method and uses more internal space.
If you put them to internal they will be moved with link2sd to sdext partition of sdcard after the app is installed.

link2SD
I have a Galaxy Ace GT5839i which is rooted. I installed link2SD and have moved many of my apps to the second SD partition, but now several of the apps which require to write to the SD fail to work. For example the Sygic navigation app fails with "SD card access denied", when I try to open files in Dropbox I get "Storage full or unavailable", when I try to save a file from Ted, a simple text editor, I get "Can't use this folder because it isn't writeable". I have looked at the permissions of most files and subfolders in the SD both using file managers and from the command line (ls -l filename) and they appear to be writeable (most have rwxrwxrwx or rwxrwxr-x). How can I regain write functionality for my apps?
Chris

link2sd
I have used Link2sd for ages with different ROMs (currently CM-11 nightly jenkins) but now Link2sd only half works. dex files are initially linked but are named incorrectly and are regenerated on boot so if you delete them they come back to haunt you next time. If you don't delete them you run out of space fast. I tried making links to the links manually and it sort of worked but was fiddly as hell and in the end I found a new option.
Mounts2SD.
I admit it can lag the phone slightly and reboots are only successful every 1 in 5 times but eventually it will turn on and it will work and the space advantages of using it mean you can more or less install what you like.

I would like to say that what I said earlier about lag and reboots was correct at the time but I was running a very unstable rom but now with Mr Mardon's latest cm11 rom, which is far superior with a customised kernel, I have found that with Mounts2SD the phone boots up reliably now, and when I changed to a better i/o scheduler (zen) and badass controller there is hardly any discernible lag at all.
So a serious thumbs up for Mount2SD, which is excellent, thumbs down for Link2sd, which used to be good. It reminds me of back in the day when you could still use s2e, except this actually works without flopping over unexpectedly.
Mount2sd is like a magic wand waved over your phone while Link2sd is like a bad workman that sits chatting to you while drinking your tea all day then only gets half the job done, charges you double, then leaves a pile of bricks on your driveway.

Mugz2 said:
I don't like at all link2sd. Cronmod Script is better :good:
Click to expand...
Click to collapse
Hi, do you mind briefly describe how nice is the "Cronmod Script" ?
I am also looking any nice app as my 5830 keep on yelling low memory T.T

Related

[Solved] Memory shortage

Hi,
I am new here and did my best searching but couldn;t find a conclusive answer so i just need some suggestions about a way forward.
So far using Froyo's move to SD implementation I have managed to gain some space on the phone for more apps but i am still running out. I also have to use the slow Apps 2 SD application.
So my problem is I want more space for apps. Using adb, setting the install location to SD card helps provide some more but i have hit that limit too.
So, from what i've read so far, there is another symbolic link based method, that creates a partition on the SD card and then the phone appears to think its still on the phone.
I have a stock ROM and would prefer not having a custom ROM for now. What would be the suggested way of getting Apps2sdext functionality? I mean like installing a package after rooting.
I have read about rooting, and apps2sdext also seems to need root. But i'd really appreciate if somebody could drop some links as to what I could do. Here are my thoughts of what they might be:
Root phone
Format SD card with partitions
Install a2sd
Another question: is there no way of using Gparted, etc to resize partitions and create the ext4 partition on pc? As in before taking it to the phone? that way no need to reinstall some apps.
Ok so for now I see I can use Z4Root to root my phone. So i've sorted that part out.
I also saw on DarkTremor apps2sd page that stock roms need a custom init.rc. Where are the instructions for that?
gontadu said:
Another question: is there no way of using Gparted, etc to resize partitions and create the ext4 partition on pc? As in before taking it to the phone? that way no need to reinstall some apps.
Click to expand...
Click to collapse
I'm not quite sure. I'm not an A2SD user. But, here are my hunches/ideas/opinions:
I suggest you partition with the partitioner in the recovery image. A2SD may have trouble finding the ext partition when the layout is quite different from what it expects, though I'm not quite sure.
As for not having to reinstall apps, this is what I did prior to installing A2SD:
Move all apps to phone memory
Backup
Partition SD
Flash A2SD
Install A2SD (yes, I had to manually launch a2sd scripts --')
Done
Works as intended, but I've found that there wasn't a significant increase in free phone memory storage, but I'm very sure a2sd was applied.
So I went back to native A2SD.
Which leads me to say: I suggest flashing a custom ROM with A2SD integrated
Idk, maybe I just didn't give A2SD some time. Just try it out.
Hmmm interesting! Still digging up more info as i go along...
Ok so far I installed, z4root and it installs fine and does the whole root and restart thing.
Now when i browse from adb shell i still get the $ prompt and not the # prompt. But when i go into z4root it provides options for re-root and un-root...
UPDATE: well i found out that once the shell opens as $, you type su. When you do that look at your phone and accept the superuser request, otherwise permission denied appears on the pc screen. now i have the # prompt!!!
UPDATE: Got Clockworkmod running now! and exploring a2sd... i give up. cannot find a concise thing that says here's the script that you use after doing the clockworkmod. what do i do???
Hi,I came from megatron rom and is using CM7 rom now.Not sure partitioning of sd card work on stock rom but you can try.
Disclaimer: I'm not responsible for anything that happens to your phone! Below is what I did.
Instructions: Download DarkTremor Apps2sd.zip file.
Then,Backup all your sd card contents on your PC.You MUST backup as partitioning of sd card will wipe the whole sd card.
Reboot in recovery and select partition sd card > Partition sd card again> Swap Size:Choose 0 (I'm not sure what the other numbers will do.) > Then 512mb for the next option.Then it will start partitioning. > After you're done,upgrade ext.2 to ext.3 > Then upgrade ext.3 to ext.4 > After that,connect usb or take out sd card and put DarkTremor apps2sd.zip file in the root of your sd card and then flash it!
DONE AND PROFIT!
Your internal storage should decrease very slowly because your apps are now 'tricked' into being installed on your sd card Hope this helps!
Sorted my problem out!!
Gonna post details asap! So excited
gontadu said:
Sorted my problem out!!
Gonna post details asap! So excited
Click to expand...
Click to collapse
So you did my method or what?
Nope actually not. Found a simpler method that's easier for noobs.
So here goes in very short since I don't have links
1. Split memory card into two partitions. I used 1GB. I did the partitioning on Ubuntu as it was much easier to just resize the partition using gparted. I am not sure what file systems are supported for the apps but i used ext3 for the 1GB. Backup should not be necessary but you are welcome to be careful
2. Root phone with z4root, very straightforward process
3. Install Link2SD from Android Market.
4. Once its installed, it'll prob ask for root permissions. Grant them.
5. Open Link2SD and in the list, one by one for each app you'd like to move, select and it opens a page with some details. Just click on create link, and in the next page an option for moving cache also shows. Select that too. Then the app gets moved in the background and slowly your space starts increasing.
6. I did not move any preinstalled apps that came with the phone. Just moving the apps I installed gave me plenty of space not to worry with App 2 SD (froyo method) or anything. Also with this method, mounting for USB Mass Storage also gets quicker.
What's there not to line?
Always do a nandroid backup! I didn't as i didn't think much of an app.. my phone went into continued android logo loop. After several tries of battery pull,I managed to get into the phone but many of my apps went missing.. sighz...
Running Stock rom
Sent from my LG-P500 using XDA App
yanuk said:
Always do a nandroid backup! I didn't as i didn't think much of an app.. my phone went into continued android logo loop. After several tries of battery pull,I managed to get into the phone but many of my apps went missing.. sighz...
Running Stock rom
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
You mean the backup option that is there in clockwork mod recovery menu right? I screwed up the files once and the backup came in real handy!
Sent from my LG-P500 using XDA App
It may not help you but I was using megatron rom froyo 2.2 and had barley any memory space on my phone and since I flashed CM7 rom from milk I have tons of space I have twice as many as many apps and stol 100 megabits left
Sent from my LG-P500 using XDA Premium App
Just curious, on a scale of 10 how hard is it to get cm7 onto your optimistic? And any clue whether existing settings are lost? Any other benefits? And features missing? It would be nice if we either got more battery life or better performance if not both
Sent from my LG-P500 using XDA App
I use a stock ROM (2.2.1) and I have rooted and installed "Move2SD Enabler" from the market and moved all the apps to SD (except for widgets) in the plain simple old fashion. I currently have over 150 apps installed with about 90MBytes of internal memory free.

[Q] how i set up app2sd on jusada's ICS?

hello, noobs here! i just want to ask how can i set up app2sd on my galaxy ace. im using jusada's ICS right now, and i heard that rom support darktremor A2SD enabled, so my assumption is, i just partitioning my SD card, so the rest will working by itself.
now i have partitioned my SDCARD, but when i restart my phone, it didnt happend and still the same, even my sdcard memory decrease.
so my question is:
how to set it correctly?
thanks! (and sorry for my bad english )
Why don't you use s2e
AOKP 4 LYF
scoffyburito said:
Why don't you use s2e
AOKP 4 LYF
Click to expand...
Click to collapse
just make sure that my rom is doing right without app2sd apk
Look into my signature for the link pointing to SuperAce609's tutorial. I implemented that trick of S2E in ICsunday by Jusada and it really worked. I had more than 125 apps installed with more than 110MB free space.
Rushyang said:
Look into my signature for the link pointing to SuperAce609's tutorial. I implemented that trick of S2E in ICsunday by Jusada and it really worked. I had more than 125 apps installed with more than 110MB free space.
Click to expand...
Click to collapse
thanks but i think i found something on manage application menu. go to Settings > applications > manage applications, then tap the SD Card menu, just choose the application you want to move to memory card.
whats the diferent between this and s2e?
kindroid said:
thanks but i think i found something on manage application menu. go to Settings > applications > manage applications, then tap the SD Card menu, just choose the application you want to move to memory card.
whats the diferent between this and s2e?
Click to expand...
Click to collapse
The big difference between what you're doing and what I'm doing is..
1) Your trick is totally manual. Means, you will have to move each application one by one to the SDCard & also from what you're moving apps to sdcard, will leave "some" data (esp dalvik cache) of that app in actual device memory. So you won't have the full advantage of moving an app. You will have some saturation point at some time.. like even if all of your apps were moved to SDcard and you have about ~60 apps installed, but each app will leave some data to your device memory. & That's why at some point your device memory will get full.
While in mine (using S2E), I have created a partition which totally works like a built-in memory. Whatever I install, ALL gets automatically installed in that partition. which actually saves a lot more actual device memory.
2) You can not move Widget supporting app to the SDCard. It won't work.
While in mine, Everything in that 1GB partition can work even as a Widgets too. Which again means totally functioning as a device memory.
3) I also observed that, when I connect my SGA with computer through USB Mass Storage (Which actually gives more transfer speeds than adb push commands), all my apps which saved in 1GB partition stay active completely. So it takes a lot less time while scanning SDCard for media after removing from USB mass storage.
Rushyang said:
The big difference between what you're doing and what I'm doing is..
1) Your trick is totally manual. Means, you will have to move each application one by one to the SDCard & also from what you're moving apps to sdcard, will leave "some" data (esp dalvik cache) of that app in actual device memory. So you won't have the full advantage of moving an app. You will have some saturation point at some time.. like even if all of your apps were moved to SDcard and you have about ~60 apps installed, but each app will leave some data to your device memory. & That's why at some point your device memory will get full.
While in mine (using S2E), I have created a partition which totally works like a built-in memory. Whatever I install, ALL gets automatically installed in that partition. which actually saves a lot more actual device memory.
2) You can not move Widget supporting app to the SDCard. It won't work.
While in mine, Everything in that 1GB partition can work even as a Widgets too. Which again means totally functioning as a device memory.
3) I also observed that, when I connect my SGA with computer through USB Mass Storage (Which actually gives more transfer speeds than adb push commands), all my apps which saved in 1GB partition stay active completely. So it takes a lot less time while scanning SDCard for media after removing from USB mass storage.
Click to expand...
Click to collapse
nice info! now i'm using S2E too, but still did'nt understand because my internal memory phone keep reduced.
also i want to ask, what would happen if i mount the SDCARD? and can i fully backup my apps via titanium backup with this?
why dont try this?
http://forum.xda-developers.com/showthread.php?p=18561098
using this i got 1gb internal memory, while booting is not as long when using darktremore a2sd or s2e
kindroid said:
hello, noobs here! i just want to ask how can i set up app2sd on my galaxy ace. im using jusada's ICS right now, and i heard that rom support darktremor A2SD enabled, so my assumption is, i just partitioning my SD card, so the rest will working by itself.
now i have partitioned my SDCARD, but when i restart my phone, it didnt happend and still the same, even my sdcard memory decrease.
so my question is:
how to set it correctly?
thanks! (and sorry for my bad english )
Click to expand...
Click to collapse
Why don't you just try making your life easier and check out the thread in my signature?
an0nym0us_ said:
why dont try this?
http://forum.xda-developers.com/showthread.php?p=18561098
using this i got 1gb internal memory, while booting is not as long when using darktremore a2sd or s2e
Click to expand...
Click to collapse
ok ill try for it
SuperAce609 said:
Why don't you just try making your life easier and check out the thread in my signature?
Click to expand...
Click to collapse
right now i'm using S2E, but my question is, what would happen if i mount the SDCARD? and can i fully backup my apps via titanium backup with this?
and then i still did'nt understand because my internal memory phone keep reduced.

For those who want lots of apps on Ray

Well, for those who is already using a large /data, please ignore this.
For those who need an easy access to install a lot of apps with limited /data confused: 320M available on phone??? 10 games could fill that space!!)
Please read the following, and try on your own risk.
----Let me tell a story first----
My girl nees a lot of apps on her Ray, and is always complaining about the limited space on /data, and asked if I can make her phone a large /data like my Desire. Well, I have searched a lot without any appliable methods, or I was just fooling around?
Indeed, links2sd is appliable, but that is annoying if you need lots of apps, some of which can be hardly moved to sd.
Could there be an easy access? After that I started to try those scripts that I tried for my Desire. I have tried custom MTD partition method, but there is no Recovery that supports MTD, and SONY itself could not be easily make customed MTD.
So I tried 10+ scripts to mount /data on EXT(one by one!), from a normal apps2sd script, apps2sdx, etc., all prove invalid or some just make her Ray brick.
Every time Ray refused to boot, I have to restore /system, then tried another script.
Finally, I found this, mounts2sd script.
Sorry I forget whose this script it belongs to. I just borrowed it and it worked well on Ray, at least on her Ray, now she gets about 60 non-system apps...
----End of my story----
Main steps include:
1. partition SD-CARD. an EXT partition is needed. I gave her a 1G ext4, possibly large enough for about 100 apps.
(ps. your SD-card is better to be a fast one, like Class6+; I gave her a Class 10 Kingston...)
2. install your rom, and a bootable 3rd-party boot other than the original one. I tried this on official ICS rom with a moded boot with touch recovery, sorry I forget which it was, but the boot must be int.d supportive. (PS: the BOOT I used for the Official ICS ROM is in post #4.)
3. **an Nandroid Backup is strongly recommended before flasing this zip.**
4. flash this zip View attachment mounts2sd-signed.zip without any wipe. Then restart and see if it works.
*5. if this didn't work or caused any problem on boot, please restore at least /system. Perhaps this script isnot appliable for your Ray or just your boot.
-------------------------------
Pleas try this on your own risk, and report back so that other users know whether it could work.
Sorry for my poor English. Hope what I've written intelligible.
I'll update this this thread on post #2
reserve this for updates. Forgive me...
which rom and kernal you tested?
because my ray cannot see ext-partition on sdcard after try
The BOOT I used.
Nekkab25 said:
which rom and kernal you tested?
because my ray cannot see ext-partition on sdcard after try
Click to expand...
Click to collapse
Sorry for the delay.
I tried the early-leaked official ICS 4.1.A.0.562.
Please find the boot.img I used in attachment.
View attachment boot.rar
sorry but i can't understand how did you do it
paul20 said:
sorry but i can't understand how did you do it
Click to expand...
Click to collapse
Well, after you got your Ray BL-unlocked (and maybe rooted), you can flash any BOOT.img in fastboot, then flash official ICS rom(in zip format, you can search it yourself), with that BOOT (the one in Post #4) or any other BOOT that support int.d, you can try flashing the package in #1 in recovery without any wipe, then reboot your Ray and see...
I messed around with this in the past and even tried changing the partition sizes on the Ray - all with less than ideal outcomes and I eventually gave up.
All I do now (on ICS) is go into apps, select one and hit 'Move to SD Card' - large apps are automatically installed on SD Card if they won't fit on internal memory. Currently have 231MB of apps on phone and 332MB on the SD card - and all the SD card is usable, I've not 'lost' space to the non-windows writable partition that isn't being used at that time.
Don't think there's any "Right" way of doing it, but I just found this easier than messing around with partitioning.
hartej said:
I messed around with this in the past and even tried changing the partition sizes on the Ray - all with less than ideal outcomes and I eventually gave up.
All I do now (on ICS) is go into apps, select one and hit 'Move to SD Card' - large apps are automatically installed on SD Card if they won't fit on internal memory. Currently have 231MB of apps on phone and 332MB on the SD card - and all the SD card is usable, I've not 'lost' space to the non-windows writable partition that isn't being used at that time.
Don't think there's any "Right" way of doing it, but I just found this easier than messing around with partitioning.
Click to expand...
Click to collapse
That's why I said this to be a method for lazier persons like me and my girl.
She doesn't mind the EXT partition "eating up" 1G of her SD card leaving it "unfunctionable", and the card I gave her Ray is fast enough to run the apps and large enough for her.
Seems this method is more complex than link2sd.
Link2sd can run on rooted stock rom (locked bootloader) with ext support.
Sent from my ST18i using Tapatalk 2
Bugeca said:
Seems this method is more complex than link2sd.
Link2sd can run on rooted stock rom (locked bootloader) with ext support.
Sent from my ST18i using Tapatalk 2
Click to expand...
Click to collapse
Well, Link2sd is an app... Mounts2sd is a script, to a large extent.
I'm Not going to debate about their advantages or disadvantages.
Just share my experience with you...
you using wrong way i think friends
i think using another way is fastly..
u can use which rom u want but you have to delete what you dont want from ROM Memory..
You can use Root Explorer for this job.
For exp. I use Rayonium Rom already have about 150 mb free.. But i delete gmaps gtalk and some unusefull addons for me and i save about 250 mb.
Then there are some applicatioons which i won't delete anytime for example my special launcher, dolphin brow. some newspapers , mp3 players , markets, video players .. photo applications and etc what you want..
You will move from internal memory/ data/ app / to
Rom memory system / app /
Then it mean those applications will be in ur Custom Rom so if you wipe factory reset you wont lose your applications..
If you wanna use this way and still cant understand how to do i can explain it much better.. Hope u thx
You move only application which you can't move SD card...
emosis said:
i think using another way is fastly..
u can use which rom u want but you have to delete what you dont want from ROM Memory..
You can use Root Explorer for this job.
For exp. I use Rayonium Rom already have about 150 mb free.. But i delete gmaps gtalk and some unusefull addons for me and i save about 250 mb.
Then there are some applicatioons which i won't delete anytime for example my special launcher, dolphin brow. some newspapers , mp3 players , markets, video players .. photo applications and etc what you want..
You will move from internal memory/ data/ app / to
Rom memory system / app /
Then it mean those applications will be in ur Custom Rom so if you wipe factory reset you wont lose your applications..
If you wanna use this way and still cant understand how to do i can explain it much better.. Hope u thx
You move only application which you can't move SD card...
Click to expand...
Click to collapse
I quite understand your method. Rooted ROM has lots of freedom in apps, but I just put forward my alternative method to make it easier for those lazy guys like me and my girl who don't want the trouble of moving apps to anywhere and just keep it default. By the way, some apps can't be simply moved to ROM, eg. Titanium Backup, it causes FC if you move it to rom, also hope you could understand.
Of course, this method needs extra space on the SD card, along with its requirement of the SD-card's R/W speed...
Anyway, thanks for discussion...

[Q] darktremor & sd-ext

i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
BoGy1980 said:
i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
Click to expand...
Click to collapse
You have to edit the a2sd-script wich should be located in /etc/init.d/
But using "Link2sd" would be much easier. It is a well structured app and the usage is simple, because the first time (when you open the app) you have to choose your partition and the mountscript will be created automatically.
You can get Link2SD from this xda-thread or the play store
BoGy1980 said:
i often have this problem: There is an app2sd-gui DT script included in the rom... and this automatically places apps to the fat partition on the sd card ..
now, i always partition my sdcards with a second ext4 partition and prefer to use that one as an sd-ext directory and use linking to place my apps and all the stuff on my sd.
This allows me to use virtually unlimited storage and keep my internal memory completely free... (i also have a htc wildfire with CM7 and this setup; there i have about 70 apps installed. the internal memory has about 10 MB in use with some files i really wanted to have there so they always start fast like go keyboard, go contacts ex and my ringtones / alarm sounds. All other files are on my 16 gb sd card)
With a lot of the roms i've been trying i just can't get this working on my galaxy ace... especially the ICS roms i can't see my EXT4 partition as /SD-EXT for some reason, but often it gets mounted as /System/SD and thus link2sd cannot use my second partition.
Especially if app2sd is builtin as a system app this seems to be a problem. Has anyone ideas on how i could get this working again with these roms?
Click to expand...
Click to collapse
sd-ext is for CYANOGENMOd only...in stock based rom's u wont find a sd-ext..so s2e wont work.... but charmingly link2sd works....
now if it isn't working what shall u do???
-- if it says mount script not created,, partiotion is busy,,,, reflash the rom or i tried flashing another rom on wich link2sd worked and then reflashing the rom u want... install link2sd apk.. choose ext4 partition reboot.... (it works u can switch from cm7 to stock it wont be a problem)
- if ur sd-ext partition is of ext3 type,,, still choose ext4 on link2sd partition type screen
Fly-High said:
You have to edit the a2sd-script wich should be located in /etc/init.d/
But using "Link2sd" would be much easier. It is a well structured app and the usage is simple, because the first time (when you open the app) you have to choose your partition and the mountscript will be created automatically.
Click to expand...
Click to collapse
I always try to use links2sd; but if app2sd(gui) is installed it won't work.
I'd like to edit the init.d 'mount' script, but i don't know how to open thiis since it always says it cannot be found when i try to open it for editing or even for reading.
(i'm trying to open it with an app that has SU rights like Total Commander)
i have some experience with android and installing custom roms ; but i don't have real experience with editing files in a live OS.
Or should i edit the files in the APK before installing it? (isn't this going to break the APK's CRC-key rendering the file unusableN)
I already thank you guys for reading and sharing your knowledge...
I found it
I could edit the mountsd file in the original ZIP (which is not a crc'ed APK )
then reflash my device.
I removed everything in the mountsd file except this;
Code:
#!/system/bin/sh
#
# mount ext partition from sd card
(so this is what's left)
then i installed S2E & Link2SD, i let link2sd initialize it's scripts and pataboom; i got access again after the next reboot of my device ... finally i have a galaxy ace with unlimited space (or at least kinda limitless compared to the 120mb you get)
i was so used to the big space since it worked like a shine on my htc wildfire (like 60+ apps and only a few mb in use by some apps i really wanted on the internal memory so they start up fast anytime (no interference when other apps are running/starting).
I really love link2sd since it allows you to put apps on external memory and still use the widgets/services/.... while app2sd can't do that
thx again for your help guys! (although i did a lot of fo the job myself too

Expanding internal memory?

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.

Categories

Resources