[Q] how to increase ram by partitioning - Captivate Q&A, Help & Troubleshooting

Hi guys m running fusion cm9 beta and want to increase the size of ram with the help of swap size I want to know how to partition my sdcard and want to create 2nd partition as swap partition and which app to use to set the swapiness without moving apps to external

You are going to be dissapointed. Not possible...

It is possible I have done it on my galaxy mini about 2 months ago and every Linux devices ram can be increased

Increasing your swap space on any operating system does not increase your RAM. The OS might be able to start more processes, etc., but your RAM size remains the same.
The RAM in the Captivate is just that--RAM. Its size is fixed. All of your other solid-state memory is not RAM--it is behaving as file system storage.

dhlalit11 said:
It is possible I have done it on my galaxy mini about 2 months ago and every Linux devices ram can be increased
Click to expand...
Click to collapse
well how did you do it for the galaxy mini? I can't see there being a big difference in how something like that would be done from one phone to another.
Also, are you sure that there was an improvement in how the galaxy mini performs?
I ask because google specifically designed android to not have a swap partition nor to use one.

DaNaRkI said:
well how did you do it for the galaxy mini? I can't see there being a big difference in how something like that would be done from one phone to another.
Also, are you sure that there was an improvement in how the galaxy mini performs?
I ask because google specifically designed android to not have a swap partition nor to use one.
Click to expand...
Click to collapse
after creating swap partition the system thinks swap partition as ram and uses it for some background and foreground tasks it works great on mini
but the problem is I don't know how to partition sdcard through windows. before that I can partition through cwm recovery but in this mobile there are 2 SD cards so am fearing of partitioning internal one

dhlalit11 said:
after creating swap partition the system thinks swap partition as ram and uses it for some background and foreground tasks it works great on mini
but the problem is I don't know how to partition sdcard through windows. before that I can partition through cwm recovery but in this mobile there are 2 SD cards so am fearing of partitioning internal one
Click to expand...
Click to collapse
You can probably google it. To do it, I'm pretty sure you use command prompt in windows
Sent from my CM9 ICS i897 Captivate

I don't see that actually improving your experience. Android manages the ram pretty efficiently since GB (even better on ICS). As Danarki said google design it without swap partition. The method used on your galaxy mini should work (mostly) for our i897. If it was a .zip file open it up and look at the code see what it did exactly. Just my 2 cents.

prbassplayer said:
I don't see that actually improving your experience. Android manages the ram pretty efficiently since GB (even better on ICS). As Danarki said google design it without swap partition. The method used on your galaxy mini should work (mostly) for our i897. If it was a .zip file open it up and look at the code see what it did exactly. Just my 2 cents.
Click to expand...
Click to collapse
its not a zip file its a second partition of our sdcard and I want to know how to partition my external sdcard

I used Swapper from the Market when I tried your approach. The way I used my Cappy on stock GB the benefits seemed to fade over time.
I switched to SD Boost & SD Tools both before and after flashing Doc's Master ICS. Conclusion: speeding up disk i/o had a much more noticeable effect (especially on ICS) than RAM tweaking.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

If the kernel supports it...
Open android terminal emulator and cd to /etc... run
$ cat fstab
(it might be a variation of fstab... its vold.fstab on my transformer)
This will give you you sd card device name... i think it is referred to as 'emmc' rather than sdcard... sdcard is the internal memory... idk why they insist on this.. it's just confusing.. in short locate emmc not sdcard!
Run
$ fdisk
Delete the partitions and create 2 new ones... you'll need to change the type of the first partition to swap and the 2nd to Linux..then write the changes to the disk.
Run
$ mkswap
Then run
$ swapon /dev/emmc0 (not literal... device is probably different but it needs to be the first partition..which is 0)
Then for the rest of the card run
$mkfs.ext4 /dev/emmc1 (again not literal)
(or mkfs.vfat)
The kernel must support swap before swapon will work. I'd make absolutely sure that the external sd card is emmc... it is on mine but this might be different between roms... also, a higher class SD would make swap faster.
I don't see how trying swap could hurt anything....other than potentially deleting the wrong partitions. That's part of the beauty of Linux... messing with it to see what you can do. It's one of the reasons i love android.. i wish more of these android newbs would realize this and encourage poking around with the coolest part of android and give the information that was requested rather than reasons why its dumb or impossible. Nothing is impossible or dumb except the ones discouraging you.
If you want to hack around on your devices... do it!
Sent from my Transformer TF101 using XDA Premium HD app

pierut said:
If the kernel supports it...
Open android terminal emulator and cd to /etc... run
$ cat fstab
(it might be a variation of fstab... its vold.fstab on my transformer)
This will give you you sd card device name... i think it is referred to as 'emmc' rather than sdcard... sdcard is the internal memory... idk why they insist on this.. it's just confusing.. in short locate emmc not sdcard!
Run
$ fdisk
Delete the partitions and create 2 new ones... you'll need to change the type of the first partition to swap and the 2nd to Linux..then write the changes to the disk.
Run
$ mkswap
Then run
$ swapon /dev/emmc0 (not literal... device is probably different but it needs to be the first partition..which is 0)
Then for the rest of the card run
$mkfs.ext4 /dev/emmc1 (again not literal)
(or mkfs.vfat)
The kernel must support swap before swapon will work. I'd make absolutely sure that the external sd card is emmc... it is on mine but this might be different between roms... also, a higher class SD would make swap faster.
I don't see how trying swap could hurt anything....other than potentially deleting the wrong partitions. That's part of the beauty of Linux... messing with it to see what you can do. It's one of the reasons i love android.. i wish more of these android newbs would realize this and encourage poking around with the coolest part of android and give the information that was requested rather than reasons why its dumb or impossible. Nothing is impossible or dumb except the ones discouraging you.
If you want to hack around on your devices... do it!
Sent from my Transformer TF101 using XDA Premium HD app
Click to expand...
Click to collapse
thanks man will surely do it in future after backing up my data and you are right it's emmc but it's mount point is /mnt/emmc will it be a prob
please reply on this thread also
http://forum.xda-developers.com/showthread.php?t=1535360

Any new about this? Repartition or use some internal memory for system memory?
I am starting to get not enough memory when updating apps but when I check the app storage there is 45 MB free on Running, and 9 GB free on internal SD

Related

[webtop] webtop2sd discussion (currently version 2.0.1)

Note: Please keep this thread restricted to Bionic-specific issues. Atrix (and general) webtop2sd issues should be discussed in this thread instead. Threads for other devices are referenced at the top of the main webtop2sd thread.
Discuss webtop2sd here (the other thread will be kept clean for announcements, FAQs, etc.).
Before you report an issue:
Make sure it's not on the Known Issues list first!.
Basic debugging, since these are going to be questions I ask anyways:
If you hit problems with the Android webtop2sd application, you'll need to tell me the error, and give me the last few lines of adb logcat. Run this adb command, which will filter out most of the unimportant lines:
adb logcat ActivityManager:i AndroidRuntime:i webtop2sd:i *:s
Are you actually booting from your SD card? You can find this out by checking the Diagnostics tab in webtop2sd, under "Currently mounted webtops". If webtop isn't listed, you're not booted from your SD card. If this is the case, report what ROM you're running from.
Don't worry about webtop-configurator on the Droid Bionic for now. The current version won't work, but the next version will.
Note: One of the early updates will involve being able to create a filesystem file in /data so that you don't need an SD card (something that was present in earlier versions of my scripts but ended up being impractical for the Atrix, but is quite practical for the Bionic).
Thanks to tallnerd1985, who made this port possible.
Make some noise people! Looking forward to this! 900M /osh just doesn't cut it
I'm personally stoked for this. have some spare mini sd cards just calling my name to be used.....
Sogarth, you da man. tallnerd, same goes for you.
Natronics said:
I'm personally stoked for this. have some spare mini sd cards just calling my name to be used.....
Sogarth, you da man. tallnerd, same goes for you.
Click to expand...
Click to collapse
Hell, since our phone is so much better than the Atrix as far as storage space goes, we will not need to use our slow sdcards, we can use part of the 8gb of internal memory for the Webuntu partition.
you know, I'm glad you said that. I was hoping we could change that partition. Use up some of that extra space.
tallnerd1985 said:
Hell, since our phone is so much better than the Atrix as far as storage space goes, we will not need to use our slow sdcards, we can use part of the 8gb of internal memory for the Webuntu partition.
Click to expand...
Click to collapse
Sorry, but somebody else is going to have to figure out how to repartition the internal memory. That's one of those things that I'm not going to touch with a 20-ft pole....
The main reason I don't want to use /mnt/sdcard for a file is that it will then cause some pretty severe problems if you ever try to mount that from a computer (since Android won't be able to unmount /mnt/sdcard, since the filesystem file is still in use). I suppose if you wanted to guarantee that you would never, ever want to get to contents of /mnt/sdcard over USB, maybe, but that's not something I'd want to try to enforce.
so back to the sdcard-ext partition.
out of curiosity, how large are you making the webuntu partition?
Natronics said:
so back to the sdcard-ext partition.
out of curiosity, how large are you making the webuntu partition?
Click to expand...
Click to collapse
How big do you want it? Picture from the webtop2sd development thread:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Minimimum: 1 GB.
that's a loaded question. lol. and like a boss I almost spit my coffee out when I saw that pic.
4 gigs looks fine to me....i see you've got it set to 7790 as the max. thats perfect. Didn't realize your app would allow adjustment of the partition size. forgive me.
Natronics said:
that's a loaded question. lol. and like a boss I almost spit my coffee out when I saw that pic.
4 gigs looks fine to me....i see you've got it set to 7790 as the max. thats perfect. Didn't realize your app would allow adjustment of the partition size. forgive me.
Click to expand...
Click to collapse
Who said 7,790 MB is the max? That was just because it was an 8 GB card I was testing with.
lol. roger that. makes sense that it could be set to the size of whatever card you have.
Would it be possible to install the system partitions to /osh and have /usr and /home on the
Sd card or is that useless with class 10 cards? Not sure about the speed of the internal memory. If it's faster it would be a worthy feature...
Sent from my DROID BIONIC using Tapatalk
xaero252 said:
Would it be possible to install the system partitions to /osh and have /usr and /home on the
Sd card or is that useless with class 10 cards? Not sure about the speed of the internal memory. If it's faster it would be a worthy feature...
Click to expand...
Click to collapse
afaik, internal memory is going to be a fair amount faster than an SD card. Also, /home is a symlink to /data/home, so it wouldn't end up on the SD card anyways. At that point, /osh/usr is going to be most of /osh, so you might as well just have all of /osh live on the SD card.
Any progress on webtop2sd? I'm completely out of space with the limited amount... Can't wait till this is ready
Sent from my DROID BIONIC using XDA Premium App
2.0.0 (October 10, 2011):
Multi-device support.
Sogarth said:
2.0.0 (October 10, 2011):
Multi-device support.
Click to expand...
Click to collapse
Link?
Sent from my Xoom using XDA Premium App
runandhide05 said:
Link?
Click to expand...
Click to collapse
I tend to leave the bulk of content on the main webtop2sd thread, which is pointed to from the first post.
Sogarth said:
I tend to leave the bulk of content on the main webtop2sd thread, which is pointed to from the first post.
Click to expand...
Click to collapse
sorry i see it, my bad.. im so impatient sometimes, executing right now... cant wait
i read you told us how to report issues if it is not working properly so u can help us out, but how/ what info do u need if it will not execute?
I am running rom rebluerd3d 1.5
After configuring the partition and location, I hit go on execute tab, unmount SD card,
Partition complete formatting both partions complete,
SD card is then remounted,
Execution complete
Extraction complete
Calculation list
Calculation complete
Synchonizing files from mmcblk1p24 to mmcblk0p2...(screen cuts of can't see the exact directory)
Sync complete
Config mmcblk0p2...
Proplem occurred configuring the target partition. Aborting
runandhide05 said:
i read you told us how to report issues if it is not working properly so u can help us out, but how/ what info do u need if it will not execute?
I am running rom rebluerd3d 1.5
After configuring the partition and location, I hit go on execute tab, unmount SD card,
Partition complete formatting both partions complete,
SD card is then remounted,
Execution complete
Extraction complete
Calculation list
Calculation complete
Synchonizing files from mmcblk1p24 to mmcblk0p2...(screen cuts of can't see the exact directory)
Sync complete
Config mmcblk0p2...
Proplem occurred configuring the target partition. Aborting
Click to expand...
Click to collapse
Heres a screen shot of progress
Sent from my DROID BIONIC using XDA Premium App

[MOD] native swap

hey guys im making this thread cus androidboss dint know how to do this and im mkaing it easier for him(might help others too so )
I AM NOT RESPONSIBLE FOR ANY DEAD SDCRADS PHONES LAPTOPS DESKTOPS AND ANYTHING ELSE
requirements
-windows computer
-phone with swiftdroid or any rom that supports inti.d boot scripts
-recovery 5.0.2.3
1. backup all sdcard stuff to computer.
2. wipe all data from the sdcard. after that use this to remove all partitions from sdcard( if you do not have any other partitions on sdcard skip to the end bellow the last picture)
http://www.partition-tool.com/personal.htm
the pics will look may look different cus im using a older version
mine looks like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to remove all the other partitions
when all is done click apply at the top lefthand corner. at the end after it refreshes make sure there is only one partition left . the FAT32 partition.
so now the card has no data put it in the phone and boot into recovery(5.0.2.3). there go to advance>partition sdcard>EXT size 2M(2M if you dont want a ext partition but if you want then the size is up to you )>swap size 256m
power down the phone and put back data into the sdcard. now enjoy swap
well this is my first thread so hope it helps!!
hahaha thank you
every much bs828 !!!
You helped me a lot!!!
Thanks a lot mate.
Edit: will use this on my girls gt540.
These typos was sent from my Nexus S [I9023]
custom rom??
I use this method more than 2 or 3 month, thats nothing new. Mur4ik Swiftdroid roms use this method, automatically find&use SD card's swap partition.
Before that, i made a video for my 2.1 Ultimate rom, how to partition SD card under windows to use swap&ext partition. (I use swapper for swap and joe's autoapp2SD in my ROM) Sometimes it not possible because compatibility problems between win&card readers but newer CWM recoveries able to partition cards.
yeah like i said androidboss did not know how to do this so i made this. others may also find is useful so why not make it public ??
bs828 said:
yeah like i said androidboss did not know how to do this so i made this. others may also find is useful so why not make it public ??
Click to expand...
Click to collapse
hahaha!!!
yeah thanks !!!
i tried it today and it works fine!!!
should be useful if we we ever get ICS
hi, tnx for guide... folowing it i found out that me sdcard was formated like super floppy, maybe that was cose of sdcard unmounting.
LoL hope it helped
Just tried it, works like a charm
Im quite a newbie in this, how exactly does swap and ext porticions work and what do they do ?
the memory card you are using is in a fat32 format so by partition it to let say a ext3 file type you can store apps on it(if im not wrong the phone's memory is also ext3) swap works as addition external ram used to run apps
Where can I find recovery 5.0.2.3?
Sent from my GT540 using Tapatalk
jasper580 said:
Where can I find recovery 5.0.2.3?
Sent from my GT540 using Tapatalk
Click to expand...
Click to collapse
lavero burgos' mediafire-folder
http://www.mediafire.com/?dc647azbpozp2#vhlcnb75m7yq7
always the first thing for me if i need something ;D
bs828 said:
the memory card you are using is in a fat32 format so by partition it to let say a ext3 file type you can store apps on it(if im not wrong the phone's memory is also ext3) swap works as addition external ram used to run apps
Click to expand...
Click to collapse
thats true except the phones memory is yaffs2
I'm running CM9 Android 4.0.3
http://mikegapinski.androidus.pl/android-4-0-ice-cream-sandwich-aosp/
I've done everything like the tutorial says, but I had older clockwork recovery 2.5 I guess something like that, and I've done the same thing in recovery selected advance>partition sdcard> EXT3 and selected 2gb then selected 256MB Swap, but when I run the OS and enter free in terminal it says swap 0.
What could have caused the problem?
Thanks in advance!
vita94 said:
I'm running CM9 Android 4.0.3
http://mikegapinski.androidus.pl/android-4-0-ice-cream-sandwich-aosp/
I've done everything like the tutorial says, but I had older clockwork recovery 2.5 I guess something like that, and I've done the same thing in recovery selected advance>partition sdcard> EXT3 and selected 2gb then selected 256MB Swap, but when I run the OS and enter free in terminal it says swap 0.
What could have caused the problem?
Thanks in advance!
Click to expand...
Click to collapse
look in root explorer (or any root file manager), in folder etc/init.d
if there isnt script called 07swapon, the swap wont active. and afaik, mike's ics doesnt have this script. u must add it manually.
Yes take 1 from any rom
How can I open *.img files so I can get the 07swapon file?
Can you give me the download link for swapon file?

[Link2SD][SWAP] How to prep your SD card for it for Nameless ROM

What does this do?
make 3 partitions on SDCARD
-FAT32 > Primary Storage
-EXT4 > Secondary Storage Internal memory dummy
-Linux Swap > Extra RAM
Do I need to Backup my SDCARD contents?
Not needed, but if you want you can, it doesn't erase your sdcard data unless you did something wrong.
1/ Boot up your Windows machine
2/ Unmount your sdcard card on phone eject it and Insert your Micro SD card into a card reader and attach it to the computer
3/ Install Mini Partition Wizard Home Edition
4/ Run Partition Wizard Home Edition.
5/ Look for your SD card along the bottom and identify your FAT32 Partition
6/ Right click on it and choose "Move/Resize Partition"
7/ Use the down arrow in the middle field "Partition Size:" to change the value and consequently the value of the "Free Space After: field as well until you have created around 2307 MB of free space. *Warning - Do not create free space before the first primary FAT32 partition!!! If you do discard changes and start over!
8/ Click "OK"
9/ Identify the new unallocated space on the drive map.
10/ Right click on it and choose "Create"
11/ When you get the warning about the partition not being able to be used in Windows click "Yes" to continue
12/ Choose Ext4 for partition type. Primary, Resize to 2000 MB
13/Right click on empty 300 MB left Create Linux swap partition, Primary
14/ Make sure it is all primary not a logical partition
15/ Name it if you want.
16/ Click "OK" to continue
17/ Click the BIG "Apply" button in the top left of the window
18/ Choose "Yes" to continue from the pop up
19/ Let it do it's work.
Congratulations! Step 1 Complete!
Now to step 2:
1/ Eject and place your SD card back into your phone
2/ Install Link2SD from the Android Market
3/ Run it
4/ On first run it will ask you the type of partition your second SD card partition is. Choose Ext4 depending on which you made it.
5/ Follow the directions to reboot your phone
Congratulations! Link2SD is now working on your phone!
1.choose the funnel and choose User
2.choose multi select and select apps to to be moved to sd-ext and choose actions then create link choose all 3 checkbox
At this point I recommend you Menu click and go to Settings and choose "Autolink" to automatically link programs (.APK), dalvik cache files (.DEX) and library files (libs) to your SD Card 2'nd partition when a new program is installed.
Now for some strategy!
You say, "I've got all this external space! Why bother putting any programs on the internal space?"
Well...SPEED MAN! SPEED!
I keep Launchers, Widgets, Background processes like Titanium Backup, etc, on the internal as space allows to allow for speed when booting. The internal memory is faster than your SD card and keeping these programs here helps a lot in speeding up your boot time. This is an option with Link2SD that you DON'T have with Data2SD or Data2Whatever!
You can also keep commonly accessed programs like Tapatalk for example, on this internal fast memory.
You can also mass move by multi selecting, several programs to and from either internal, SD card, or SD card second partition. Ideal for your initial move to your new second partition of your apps pre-installed prior to link2sd.
People wanted instructions for a third swap download 81swap.rar in attachment extract 81swap script and push to /system/etc/init.d/ folder, during boot it would mount sdcard swap.
in cmd.
adb remount
adb push 81swap /system/etc/init.d/
adb shell chmod 777 /system/ect/init.d/81swap
reboot phone
to check if it mounted in terminal emulator type
su
free
see swap if it changed size to 400.
WARNING: From now on your SDCARD should not be Unmounted or ejected when phone is on.
Only eject SDCARD if phone is off.
Otherwise some problems might occur.
AUTHOR: d33ps1x
EDITED BY: me
FAQ:
Why when I created linked apps why does my Internal Memory Storage still low
A: After linking your apps to EXT4, reboot phone to see if Internal Storage increased.
Why my internal memory is still 700+ mb
A: link2sd ext4 partition is like a drawer so instead of 1 drawer you have 2, transfering stuff to your second drawer.
How can I check memory info?
A: In link2sd app hold recent apps button then choose storage info.
How does link2sd work?
It creates a link shortcut like in windows in internal memory and transfer the main apps files in sd-ext.
Can I connect my phone to usb storage mode?
Sure you can sd-ext partition won't be unmounted only your fat32 partition will be so computer will read contents of sdcard.
Stoshke says:
If you connect HTC desire C in USB mode on computer running linux OS, you can mount ext partition on your PC using Device Notifier, but this way you will dismount it from the phone. So be careful if you have automount enabled.
Questions
Hi einstein.frat ,are you running all this on your phone atm?
I ask because I've been waiting for my new sd card to arrive(it has) and have been looking and trialling this Mod over the last few days or so and I've met a few problems and irregularities .
I was going to PM you originally but I thought asking you in the thread might actually prove useful to others as well as myself .
I've read 3 other threads on this subject , the first http://forum.xda-developers.com/showthread.php?t=1432459 is referred to you in this thread.
The second http://forum.xda-developers.com/showthread.php?t=919326 is the thread about the app we are using to link to our ext partitions.
Now first question ;
Are the partition sizes you quote , the sizes you used as to me (and reading the other thread) they seem small . I wonder if you have typed KB instead of MB ?
Second question is about the swap file , the thread I referenced is this one http://forum.xda-developers.com/showthread.php?t=1659231
The Author basically goes through all the same procedures as everyone else but he uses an app instead of your script to manage the swapfile .
Now I agree with your thoughts here(i assume you wrote the script for this reason) that your script is a more elegant way of implementing the swap file at boot up .
But I think your line ;
adb shell chmod 777 /system/ect/init.d/81swap
should actually read;
adb shell chmod 777/system/etc/init.d/81swap
Just 2 very small differences
Anyway I have done it all and got it working on my new sd card so thankyou very much .:good:
Now my last tip? I guess I could call it that , is to do with checking if swap is working . Going back to this thread http://forum.xda-developers.com/showthread.php?t=1659231
The Author points out that if you run 'free' in terminal emulator if you have failed it will look like this (swap is all zeros)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and if it is successful it will look like this
Hopefully I havn't annoyed you with this post and hopefully it will help others get this Mod going .
All the best ,
Richard
SD card
Guys, what do you think, when doing this, is there any real phone performance difference between Class4 and Class10 SD cards, other then usb transfer speed?
neoyoli said:
Guys, what do you think, when doing this, is there any real phone performance difference between Class4 and Class10 SD cards, other then usb transfer speed?
Click to expand...
Click to collapse
I only got mine yesterday (a UHS-1 class 10) to move up from a class 4 , but it's way too soon to say whether there is a noticeable improvement (especially as I've implemented this mod)
.http://forum.xda-developers.com/showthread.php?t=1947560 This is a good thread to read especially where he finds a good class 4 is better than a poor class 10 . Have a read it's worth the time :good:
fixed kb to mb
Your chmod is wrong that is directory 777/ which doesnt exists right way is 777(space)/ chmod is attrib in windows like making it read only, hidden or write protect. 777 means read, write, executable to the file in all groups. If this it not set it won't run.
2000 = 2gb
300 = 300mb
Swap script is to enable linux swap partition on sdcard, nothing else.
einstein.frat said:
fixed kb to mb
Your chmod is wrong that is directory 777/ which doesnt exists right way is 777(space)/ chmod is attrib in windows like making it read only, hidden or write protect. 777 means read, write, executable to the file in all groups. If this it not set it won't run.
2000 = 2gb
300 = 300mb
Swap script is to enable linux swap partition on sdcard, nothing else.
Click to expand...
Click to collapse
Yup I realise what the script is for and my taking the space out of 777 / explains why the script hasn't stuck ( I think?)Just realised I erased the script myself last night as I decided to do a fresh install of your Rom and added a fresh init.d folder when I was doing all the bits with the Aroma installer after ...Doh
Hi einstein., thanks for your mod and development. Could this mod (Link2SD and swap) running on other devices with init.d support (I would like to test it with me)? If so, I would your permission I use your guide as a template for mine get in the S3 mini section, or not? Thanks for your answer and I wish you all the best for the new year, more!
Regards, leather.face
Sure you can, but swap partition on ur s3 might be diff mmblck so script might not work. You can find it if ur sdcard is mmblk03 swap will be 05 smething like that on 3rd place, modify script
Sent from my HTC Desire C using xda premium
einstein.frat said:
Sure you can, but swap partition on ur s3 might be diff mmblck so script might not work. You can find it if ur sdcard is mmblk03 swap will be 05 smething like that on 3rd place, modify script
Sent from my HTC Desire C using xda premium
Click to expand...
Click to collapse
Okay, thanks! I test first Link2SD and it should work then swap. Should questions arise then I write ...
Regards
sorry for my double post but ...
Hi einstein., Link2SD works very good and fine but I have problems with the swap script. My sdcard is mmcblk0 and I have mmcblk1, these are split on again in mmcblk1p1, mmcblk1p2, mmcblk1p3. What is the partition for swap? I've tried several but none worked. The value in the terminal emulator is 0 for swap. At the moment I do not go on, unfortunately ... Or can I see in a file where is the partition for swap in my device? Or do I need to swap a unsecured boot.img with swap support? I have enabled the init.d for stock rom and secured kernel but all scripts in the init.d and Link2SD works very good and fine. Thanks for your help.
Regards
Maybe your kernel doesn't support swap if you tried all 3 partitions.
Desire c kernel config have it enabled by default.
Will add this to index thread soon.
einstein.frat said:
Maybe your kernel doesn't support swap if you tried all 3 partitions.
Desire c kernel config have it enabled by default.
Click to expand...
Click to collapse
Hi einstein., thanks for your answer. I'll try again now. So one of these mmcblk1p1, mmcblk1p2, mmcblk1p3 partitions be destined for swap, I understand this correctly? Thanks for your mods and roms. Link2SD works perfectly. Can something happen when I test a another partition in the script specified and this is not be used for swap? Thanks for your help but sorry for my english ...
Regards leather.face
Edit:
@einstein., thanks for your help but my question has been settled. The stock kernel in the S3 mini supports no swap. I tested all the partitions but not working. Link2SD works perfectly. Thanks einstein. and have a nice evening.
Regards
Just in case anyone is thinking of adding this mod to their desire c my opinion is that It's worth it.
Performance when switching between apps is much better. I've tried most of the tweaks I can find, and this single change has made the most difference.
Boot time is significantly longer and I suppose you run the risk of wearing out your SD card sooner but its still worth it.
Thanks for the detailed instructions.
When using the latest version of nameless the swap will setup automatically ( you still need to create the partitions before flashing the Rom)
Sent from my HTC Desire C using Tapatalk 2
einstein, if I delete the symlink of an app, it goes back to the internal storage, right?
and an other thing: after doing the swap, my recent apps button goes straight into 2nd option mode, as if I held it longer, so no recent apps menu comes up. Do you have a tip how to fix it?
Same Issue
neoyoli said:
einstein, if I delete the symlink of an app, it goes back to the internal storage, right?
and an other thing: after doing the swap, my recent apps button goes straight into 2nd option mode, as if I held it longer, so no recent apps menu comes up. Do you have a tip how to fix it?
Click to expand...
Click to collapse
I get the same issue with the recent apps button . I've been reading through the original thread for the app but I've had no luck finding an answer.
And yes neoyoli if you delete the symlink the app goes back to internal
Wasn't the recent apps button changed/remapped to long pressing the home button in nameless v7.1.1 ?
Sent from my HTC Desire C using xda app-developers app
nikhil16242 said:
Wasn't the recent apps button changed/remapped to long pressing the home button in nameless v7.1.1 ?
Sent from my HTC Desire C using xda app-developers app
Click to expand...
Click to collapse
Does it work for you ?
Doesn't for me :silly:
LOool, silly us
whoamigriffiths, are you sure if you press the home button longer, the recent apps menu doesn't come up?

[Q] [URGENT]Link2SD or App2SD(APP Migr), SD card

Alright, so I've rooted and flashed CWM but when doing backups in
Nandroid and Titanium both stored in on my internal memory, while I want it on my SD card.
SD card: 32GB, FAT32(one partition), tried to make two FAT32 partitions but the second was not detected by both Windows pc and phone.
Phone sees my internal storage as "sdcard0" while it sees my sd card as "extSDCard"
1)Should I use App2SD(they changed it's name to App MIGR) or Link2SD to move apps to SD?
I've got most things covered for Link2SD but I still don't understand the init.d support; http://forum.xda-developers.com/showthread.php?t=2087497
2)While the Nandroid backup is pretty much organised, Titanium backup has like dozens of files, which am I supposed to choose if I wanted to restore my Titanium backup ?( I did the Backup new user+system apps & newer versions batch only.)(Nandroid didn't even detect my SD card while backing up.)
In cwm choose "backup and restore" / "backup to external sdcard" and your backups will be put in clockworkmod-folder on external sd.
For titanium backup you have to set location for backups to be on your external.
Have a look in titanium settings to change the default path.
I use derectorybind to bind the whole android folder to external.
Works great!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Both faria and benzrom (including drom) have init.d support. Just follow the guide to setup ext4 partition and Linux swap partition and link2sd should run fine.
Sent from the dark side on my GT-I8190
iKlutz said:
Both faria and benzrom (including drom) have init.d support. Just follow the guide to setup ext4 partition and Linux swap partition and link2sd should run fine.
Sent from the dark side on my GT-I8190
Click to expand...
Click to collapse
Init.d support can be done on every rom.
Universal init.d
tys0n said:
In cwm choose "backup and restore" / "backup to external sdcard" and your backups will be put in clockworkmod-folder on external sd.
For titanium backup you have to set location for backups to be on your external.
Have a look in titanium settings to change the default path.
I use derectorybind to bind the whole android folder to external.
Works great!
Click to expand...
Click to collapse
Got both external options to work for now.
Did u mean u bind the whole RAM or just the internal storage. Does it warn you when some apps i.e. widgets can't be moved(before it's broken) or doesn't it have that limit like Link2SD ? (Am still hestitating to use it;
-App2SD has this note:"Move apps function may not work on your devcie as manufacture removes the function of moving apps to SD from Android system" don't know whether we have that.
-Link2SD has sort of difficult requirements before install.
-DirectoryBind; Because many issues where posted by members.
Mystique03 said:
Got both external options to work for now.
Did u mean u bind the whole RAM or just the internal storage. Does it warn you when some apps i.e. widgets can't be moved(before it's broken) or doesn't it have that limit like Link2SD ? (Am still hestitating to use it;
-App2SD has this note:"Move apps function may not work on your devcie as manufacture removes the function of moving apps to SD from Android system" don't know whether we have that.
-Link2SD has sort of difficult requirements before install.
-DirectoryBind; Because many issues where posted by members.
Click to expand...
Click to collapse
Directorybind has nothing to do with ram. You just symlink appdata from "/sdcard/android" to your external to get more internal space
Never had any problems with it and im using it on three different devices.
tys0n said:
Directorybind has nothing to do with ram. You just symlink appdata from "/sdcard/android" to your external to get more internal space
Never had any problems with it and im using it on three different devices.
Click to expand...
Click to collapse
Got confused; I meant system ROM, since I just saw ~260MB left, but I suppose I made a mistake cause the system saves data to my internal storage too, am I right... o.0 ?
What are the differences between DirectoryBind, App MGR and Link2SD anyways?
iKlutz said:
Both faria and benzrom (including drom) have init.d support. Just follow the guide to setup ext4 partition and Linux swap partition and link2sd should run fine.
Sent from the dark side on my GT-I8190
Click to expand...
Click to collapse
How much space for;
FAT32 partition
Ext4 partition
Swap partition
and why on a 32GB SD card, the values.
The fat32 can be any size, this is your normal sd card data that you can use on your pc (music, videos, pics etc).
Ext4 should be however many apps sizes you want. Like if you have a lot of play store downloaded then set this as big as you think you need but save some space for linux swap.
Linux swap should be minimum 300mb (according to the guide), this is like a bit of extra ram incase your system ram gets full. Mine works fine with 800mb.
If you're looking for an example of what you could set, here :
Fat32 : 15gb
Ext4 : 15gb
Linux swap : 1gb
They could work fine is not very complicated unless I'm wrong. Study the guide well and read other people's posts on there too.
Sent from the dark side on my GT-I8190
---------- Post added at 06:08 PM ---------- Previous post was at 06:07 PM ----------
This is assuming you have 32gb sd card.
Sent from the dark side on my GT-I8190
Mystique03 said:
Got confused; I meant system ROM, since I just saw ~260MB left, but I suppose I made a mistake cause the system saves data to my internal storage too, am I right... o.0 ?
What are the differences between DirectoryBind, App MGR and Link2SD anyways?
How much space for;
FAT32 partition
Ext4 partition
Swap partition
and why on a 32GB SD card, the values.
Click to expand...
Click to collapse
Yes 260mb is left on your system partition.
Installed apps goes to "/data" = internal storage.
Does our phone/kernel support Ext4 ?
http://forum.xda-developers.com/showthread.php?t=2030282
Mystique03 said:
Does our phone/kernel support Ext4 ?
http://forum.xda-developers.com/showthread.php?t=2030282
Click to expand...
Click to collapse
sure it does....if u succeed in installing the Link2Sd the first option is to select ext 2,ext 3 or ext 4 to link it.....this might help on the init.d support...pretty easy actually...
http://forum.xda-developers.com/showthread.php?t=1933849
Mystique03 said:
1)Should I use App2SD(they changed it's name to App MIGR) or Link2SD to move apps to SD?
I've got most things covered for Link2SD but I still don't understand the init.d support; http://forum.xda-developers.com/showthread.php?t=2087497)
Click to expand...
Click to collapse
I paid for Link2SD Pro but I've had some problems with it. When I contact the developer, Bulant, he sometimes responds but other times I get no reply.
Have you tried using both? What do you think of AppMgr? What about Link2SD?

Internal memory

Hi guys!!! Anyone can say me how much internal memory does the s3 mini has? I say internal memory for apps, the /data partition.... Thanks!!!
Here you go.
Sent from Spaceball One.
LOL! You really think that i have not searhed it?
I searched it a lot, but it only says that has 4.5 gb for the user, but i dont know if this memory is for apps installation or an internal sd!!
blackknightavalon said:
Here you go.
Sent from Spaceball One.
Click to expand...
Click to collapse
+1 :good:
migof said:
LOL! You really think that i have not searhed it?
I searched it a lot, but it only says that has 4.5 gb for the user, but i dont know if this memory is for apps installation or an internal sd!!
Click to expand...
Click to collapse
Ok, chewed up and ready for quick digestion:
So 8GB version is leaving you with ~4,64GB for W/E you want to put/install there.
16Gb ver. should be ~12,64GB...
It's all clear if you read the specs and know how any smartphone is working.
Even more chewed up and ready to digest faster:
That is the internal system memory available to USER. Said that, it means you can use that potion of internal memory for purposes like storage or installations. If it does not suffice, toss in a 8/16/32gb MicroSD card and store photos/videos/music there thus leaving the internal memory for installations only. Do the same for the various caches etc, and clean up from time to time.
Cheers,
Fevv.
Ok, i don't understand you, or you don't understand me....
Yes, here are the specs for the S3 mini: http://www.gsmarena.com/samsung_i8190_galaxy_s_iii_mini-5033.php
But, here are the specs for the D3 (the phone that i have now): http://www.gsmarena.com/motorola_droid_3-4036.php
If you read says that has 16 Gb internal storage.... I will bring you some caps of my phone....
Here you can see my storage memory
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It has three storages.... The first is for apps installation (it's the /data partition), the second is to storage of photos, videos, etc (is the /sdcard partition), and the third is same as second (it's hte /sdcard-ext partition)
As you said, i can expand the S3 mini partition with a sd card, so i understand that you are talking about the /sdcard partition and it can be expanded with the /sdcard-ext partition, but i want to know how much is the /data partition size... If you say that i can install 4.65Gb of apk's, it's ok for me, but now i'm confused....
Here you can see the /data partition of my D3, 660Mb used, 348 Mb free, total 1Gb of internal storage for apps.... This is what i want to know...
Thanks...
Fevves said:
+1 :good:
Ok, chewed up and ready for quick digestion:
So 8GB version is leaving you with ~4,64GB for W/E you want to put/install there.
16Gb ver. should be ~12,64GB...
It's all clear if you read the specs and know how any smartphone is working.
Even more chewed up and ready to digest faster:
That is the internal system memory available to USER. Said that, it means you can use that potion of internal memory for purposes like storage or installations. If it does not suffice, toss in a 8/16/32gb MicroSD card and store photos/videos/music there thus leaving the internal memory for installations only. Do the same for the various caches etc, and clean up from time to time.
Cheers,
Fevv.
Click to expand...
Click to collapse
migof said:
Ok, i don't understand you, or you don't understand me....
Yes, here are the specs for the S3 mini: http://www.gsmarena.com/samsung_i8190_galaxy_s_iii_mini-5033.php
But, here are the specs for the D3 (the phone that i have now): http://www.gsmarena.com/motorola_droid_3-4036.php
If you read says that has 16 Gb internal storage.... I will bring you some caps of my phone....
Here you can see my storage memory
View attachment 1845661
It has three storages.... The first is for apps installation (it's the /data partition), the second is to storage of photos, videos, etc (is the /sdcard partition), and the third is same as second (it's hte /sdcard-ext partition)
As you said, i can expand the S3 mini partition with a sd card, so i understand that you are talking about the /sdcard partition and it can be expanded with the /sdcard-ext partition, but i want to know how much is the /data partition size... If you say that i can install 4.65Gb of apk's, it's ok for me, but now i'm confused....
Here you can see the /data partition of my D3, 660Mb used, 348 Mb free, total 1Gb of internal storage for apps.... This is what i want to know...
Thanks...
View attachment 1845662
Click to expand...
Click to collapse
But I do understand, just you pone a question in a way that seem a bit odd (NHF all the way) thinking all of them are the same when actually they're not
Your D3 is like my SGS II (My wife has a SGS III Mini) It has a dedicated system storage, then (USB) internal storage and also expandable external storage, am I right?
See this scr from my phone:
SGS III Mini has only one option available instead system and internal. It's all in one, thus you get something like this (MiscroSD is a secondary storage, and can be used as as internal memory on your D3, but not as a data partition on your D3, with an addition S III Mini can store huge potions of files/game/apk data on that one - like with huge games from the store - like your D3 is storing on SD and not EXT SD. IMHO - this is the way it should be):
and it's that proclamed 8Gb on S III Mini, or better said - what it has left in real time conditions of internal system memory so you simply have to accept the fact you can push it to that limit Simply means you have that memory to do whatever you want with it - be it apps/games or media :good:
See this scr from SGS III Mini compared to my SGS II if in need for more :
Cheers,
Fevv.
Thank you a lot!!!! Now i understand it!!! What you said was just what i need!!!
Solved!

Categories

Resources