[Q] Swapper for root can't work - General Questions and Answers

I have installed cyanogenmod 11 on my galaxy mini GT-s5570. When I type free in terminal it already shows a swap of 47mb on device.
in terminal windows show initially
swap: 49148(total) 44244(used) 4904(free)
How can I expand it ? because 47mb swap file is very low amount.I have 8gb class 4 micro sd card.
Swap file created by swapper for root can't work.
Thanks in advance

MyAnand13 said:
I have installed cyanogenmod 11 on my galaxy mini GT-s5570. When I type free in terminal it already shows a swap of 47mb on device.
in terminal windows show initially
swap: 49148(total) 44244(used) 4904(free)
How can I expand it ? because 47mb swap file is very low amount.I have 8gb class 4 micro sd card.
Swap file created by swapper for root can't work.
Thanks in advance
Click to expand...
Click to collapse
Which version of CM11 do you use? Did you manually set swap or do you mean preconfigured? You can change the value with Performance Controls.
BUT keep in mind that your phone has 384MB of physical ram (Usable value will be even slower - i suppose ~ 300MB) --> swap ram is very slow, especially if you got a class 4 sd card.I have no clue about the used kernel, but zRam must be supported by the kernel. If the kernel does you can get a class10+ sd card and manually set a swap partitions. Any values >100MB will probably slow down your device instead of speding it up

LS.xD said:
Which version of CM11 do you use? Did you manually set swap or do you mean preconfigured? You can change the value with Performance Controls.
BUT keep in mind that your phone has 384MB of physical ram (Usable value will be even slower - i suppose ~ 300MB) --> swap ram is very slow, especially if you got a class 4 sd card.I have no clue about the used kernel, but zRam must be supported by the kernel. If the kernel does you can get a class10+ sd card and manually set a swap partitions. Any values >100MB will probably slow down your device instead of speding it up
Click to expand...
Click to collapse
I have downloaded and installed ROM from following link
http://d-h.st/XeT
kernel version is [email protected]#1
and the swap ram amount is preconfigured.
Previously I installed cm10.1 RC-5 stable dev ROM. On that I used swappe for root and using this I had created swap file of 820mb on class 4 8 gb sd card and it worked fine.

MyAnand13 said:
I have downloaded and installed ROM from following link
http://d-h.st/XeT
kernel version is [email protected]#1
and the swap ram amount is preconfigured.
Previously I installed cm10.1 RC-5 stable dev ROM. On that I used swappe for root and using this I had created swap file of 820mb on class 4 8 gb sd card and it worked fine.
Click to expand...
Click to collapse
820MB swap You made my day

LS.xD said:
820MB swap You made my day
Click to expand...
Click to collapse
Yes I have created 820 mb swap file by swapper for root app

MyAnand13 said:
Yes I have created 820 mb swap file by swapper for root app
Click to expand...
Click to collapse
I'll install the app just for fun on a low ram device to check the performance. May be I'm kinda dumb and it runs great^^
--> FAILED lol i can't even select internal or external sd card. As the internal free space is too small i can't even try it. Awesome app

Related

[FIX] use Apps2SD hack or Link2SD to solve the storage space problem in SGS4G

Some of you might now this well, if you had been through the older generation of the phones with very low internal storage space.
Apps2SD Script, Link2SD, and ... another lesser known flavor of App2SD have been used and still in use for a long time to make External SD cards as extended internal memory.
of course you'll need at least a Class 6 of better microSD to not feel the lag.
The great thing is the SGS4G as all its brothers/cousins models comes with its own 14 GB ~ 15 GB of internal storage space (SD card)
so when you use Apps2SD hard link script, or better yet Link2SD then it will by default use the Internal SD card as the memory extension
and you can still use the External SD to transfer stuff.
so even when you remove the External SD you wont disable the internal apps that are running.
the only IMPORTANT Rule to remember when you use this setup is to NOT USE the stock MOUNT USB
instead use the MULTI USB MOUNT or DUAL MOUNT both found in the android market.
that will prevent the Internal SD from being mounted as well, and causing the phone to reboot
[REF]
Link2SD
http://forum.xda-developers.com/showthread.php?t=919326
more details here to use ext3 http://forum.xda-developers.com/showthread.php?t=923628
the good ol' Apps2SD hack before Froyo was even born
http://forum.xda-developers.com/showthread.php?t=742126&highlight=apps2sd
Dual Mount SD Widget
https://market.android.com/details?id=com.protocol.x.USB&feature=search_result
Multi Mount SD-Card Free
https://market.android.com/details?id=com.rafoid.multimountsdcard.widget.free&feature=search_result
AllGamer said:
so when you use Apps2SD hard link script, or better yet Link2SD then it will by default use the Internal SD card as the memory extension
and you can still use the External SD to transfer stuff.
so even when you remove the External SD you wont disable the internal apps that are running.
Click to expand...
Click to collapse
pardon my ignorance, i am getting confused by "internal" and "external" SD, I believe the "internal" is the one that comes with the phone, which one is the "external" one?
external SD = microSD
internal SD = 15 GB of internal space
internal Storage = 1 GB of full bloatware with only 180-ish MB usable space
you will not see external unless you stick in a 16GB or 32GB microSD into the phone
I am confused how this helps Galaxy S 4G users? The Galaxy S 4G lacks the 16gb internal SD, that is the issue. It only has 1gb internal memory of which only ~300 megs appear to be available for app install/storage out of the box. I understand you can install your apps on the external 16gb (included) SD Card but that has always been the case. What am I missing here?
Yeah, I'm missing something here too. The Vibrant has the internal storage of ~16mb while the gs4g does not...
Sent from my SGH-T959V using XDA App
... wow im finding less and less of a reason to keep this phone ffs... i was told at the tmo store that it has 16g internal and thats not true. these sales reps need to learn there stuff
AllGamer said:
external SD = microSD
internal SD = 15 GB of internal space
internal Storage = 1 GB of full bloatware with only 180-ish MB usable space
you will not see external unless you stick in a 16GB or 32GB microSD into the phone
Click to expand...
Click to collapse
Thanks for the help. Even though as dcam and Seanathan mentioned. This Galaxy S 4G phone doesn't come with the Internal SD space like it's brother's have.
If I run out of memory again for apps I will try this out. I manually did the "Move to SD Card" for all the Apps I was able to do that for to get more memory under the Setting's options.
This may sound odd to some, but I prefer the setup with the memory for the S 4G. I actually still have the Vibrant & recently got the S4G, & just out of curiosity, I loaded the same exact apps to the S4G as I had on the Vibrant. Having the apps on the SD card has a tremendous effect on the performance than having them on the internals. There is of course the lag issue on the Vibrant, but the S4G just just kept on trucking, no lags. I even went a step further & pulled up google maps, you tube, media player & still didn't skip a beat. I tried that with the Vibrant & I had to restart...
What people are posting about devs being able to do with 1gb on memory is stupid. I have an hd2 with 1gb running cm7 on it. I still have about 600mb free on it. Of course I use apps2sd on it but that's just a personal preference. Devs will be able to do plenty once all the bloat and crapware is stripped from the 4g
Sent from my HTC HD2 using XDA App
Beefvvl said:
Thanks for the help. Even though as dcam and Seanathan mentioned. This Galaxy S 4G phone doesn't come with the Internal SD space like it's brother's have.
If I run out of memory again for apps I will try this out. I manually did the "Move to SD Card" for all the Apps I was able to do that for to get more memory under the Setting's options.
Click to expand...
Click to collapse
yes, that is true
but the Apps2SD script hack, or the Link2SD still works with the External SD
if you use the Multi mount or Dual mount USB then you can access the files on the PC without breaking the connection internally for the phone apps
ironically that's one of the problem with the Nexus S, the lack of External SD support, and only 1GB of space, so everything needs to be moved to External SD, and be able to use it meanwhile you share file on the PC
has anyone tried to repartition with MiniTool Partition Wizard? after I resized the original partition, and tried to create a new partition, it gave an error messaging saying the new partition could not be created unless I delete all the partitions and re-create from scratch.
AllGamer said:
yes, that is true
but the Apps2SD script hack, or the Link2SD still works with the External SD
if you use the Multi mount or Dual mount USB then you can access the files on the PC without breaking the connection internally for the phone apps
ironically that's one of the problem with the Nexus S, the lack of External SD support, and only 1GB of space, so everything needs to be moved to External SD, and be able to use it meanwhile you share file on the PC
Click to expand...
Click to collapse
Just curious. Which one is better out of the two or can you use both in conjunction with each other? Also which App2SD do you use? There are a couple from different devs.
Beefvvl said:
Just curious. Which one is better out of the two or can you use both in conjunction with each other? Also which App2SD do you use? There are a couple from different devs.
Click to expand...
Click to collapse
both can be used together
although the Link2SD is quite straight forward
you just need to repartition the SD card to have a linux EXT partition
then you can use either the ext2 or ext3 to mount it and use Link2SD to manage the apps as you would use the native Apps2SD supported by Froyo and newer AOS
unfortunately the Froyo method of Apps2SD only works if the developer of the apps enables it
but Link2SD will force even apps that are not natively apps2SD capable to run from SD
Cool. Thanks for the info. I tried using App2SD from the market but I don't think this is the same App2SD hack that you are referring to. It didn't really help me much at all. I'll try out Link2SD maybe some other time.
I ended up using Titanium Backup and did moved apps to SD. I was able to move the pre-installed apps to SD and also all the other apps that weren't able to move to sd originally.
for the Apps2SD hack to work and/or Link2SD
you will need to have an External SD formatted with a 2nd partition to ext2 for it to work
update
the latest version of Link2SD is FAT32 compatible
so now you no longer have to partition and format the External SD card to have a linux ext2 partition
AllGamer said:
the latest version of Link2SD is FAT32 compatible
Click to expand...
Click to collapse
I've found that some Linux systems have some speed penalty when writing to M$ filesystems. There have also been discussions about "aligning" FAT filesystems with flash blocks, such as http://www.patriotmemory.com/forums/showthread.php?t=3696
Is there solid evidence about the relative speed of FAT32 vs. ext3 (or ext4) for the partition to be linked to?
I am so glad I found this thread! I've been pulling my hair out over this MAJOR design flaw of minimal app space on the Galaxy S 4G! I felt forced to root this wonderful phone just to have a chance at correcting the designers mistake. I thought I was going to have to wait for a ROM to be released.
I was at 50MB available space before this suggestion and now I have 188MB free! I used paragon partition manager and partitioned 350MB in ext3. That was more than enough, as I've only used about 170 MB of that space. Anyway, thanks all you great people!
How did you get TB to move pre-installed apps? Have tried that to no avail - thanks in advance.

[Q] A few questions regarding Partitioning SD Card.

1. Whats Ext 1, 2, 3, 4 etc....?
2. What's Swap Partition?
3. What exactly does App2SD and Data2SD allow me to do?
4. Is there any risk of partitioning the SD Card?
I will ask more as I remember after the above ones get answered....
Bump......
happy to help!
[email protected] said:
1. Whats Ext 1, 2, 3, 4 etc....?
2. What's Swap Partition?
3. What exactly does App2SD and Data2SD allow me to do?
4. Is there any risk of partitioning the SD Card?
I will ask more as I remember after the above ones get answered....
Click to expand...
Click to collapse
Answers:
1.
Ext 1 2 3 4 are Linux File systems namely extended file system 1 2 3 4
which has their own pros n cons
generally journaling file system is backward compatible and performance of higher system is better than previous one.
2.
Swap
It is again a type of file system used by system namely Linux which has function as same as Page File in Windows
for start: when RAM gets overloaded, system moves some unusable data to swap while working on complex computations.
Generally 2x the size of phone RAM is advised for SWAP partition
3.
App2SD and Data2SD allows u to move apps from system to SDcard which in-turn saves ur phone memory
4.
Virually there exists no risk in partitioning SD card while flashing ur ROM
format using trusted tools like MiniPartition 7 etc.
njoy n keep browsing xda
kaustubhvp said:
Answers:
1.
Ext 1 2 3 4 are Linux File systems namely extended file system 1 2 3 4
which has their own pros n cons
generally journaling file system is backward compatible and performance of higher system is better than previous one.
2.
Swap
It is again a type of file system used by system namely Linux which has function as same as Page File in Windows
for start: when RAM gets overloaded, system moves some unusable data to swap while working on complex computations.
Generally 2x the size of phone RAM is advised for SWAP partition
3.
App2SD and Data2SD allows u to move apps from system to SDcard which in-turn saves ur phone memory
4.
Virually there exists no risk in partitioning SD card while flashing ur ROM
format using trusted tools like MiniPartition 7 etc.
njoy n keep browsing xda
Click to expand...
Click to collapse
Ok thanks for the info mate.....
Is there any difference between App2SD and Data2SD?
oops, figured out myself
Apps2sd put apps to your SD. Data 2sd put app files to sd card
Sent from my GT-I5800 using XDA App

[Q] How to have 1gb available space for apps?

First of all
I have a 8gb class 4 kingston sdcard. I've tried partitioning it with CWM recovery "512, swap 128"..........BUT there was a failure. My sdcard's available space became 7 gb, though my phone's still the same...... Now, I wish to partition my sdcard without failure, and i want my phone's available space to be at least 500mb to 1gb after the partition.............so all I need now is suggestions on HOW I PARTITION MY 8GB CLASS 4 CARD WITH 1GB AVAILABLE SPACE ON MY PHONE??............................
I AM USING STOCK JPU WITH A LOT OF FEATURES I ADD TO IMPROVE PERFORMANCE! WITH G3MOD 2.1 OC!
SUGGESTIONS PLEASE
JasonPurungrit said:
First of all
I have a 8gb class 4 kingston sdcard. I've tried partitioning it with CWM recovery "512, swap 128"..........BUT there was a failure. My sdcard's available space became 7 gb, though my phone's still the same...... Now, I wish to partition my sdcard without failure, and i want my phone's available space to be at least 500mb to 1gb after the partition.............so all I need now is suggestions on HOW I PARTITION MY 8GB CLASS 4 CARD WITH 1GB AVAILABLE SPACE ON MY PHONE??............................
I AM USING STOCK JPU WITH A LOT OF FEATURES I ADD TO IMPROVE PERFORMANCE! WITH G3MOD 2.1 OC!
SUGGESTIONS PLEASE
Click to expand...
Click to collapse
Try using the link2sd app from the market and moving them. I think you have partitioned your SD Card properly but you can't see because there is no app2sd script. Link2sd is the easiest way to move apps to the partition. If it still doesn't work then you can use a windows program called minitool partition wizard.
JasonPurungrit said:
First of all
I have a 8gb class 4 kingston sdcard. I've tried partitioning it with CWM recovery "512, swap 128"..........BUT there was a failure. My sdcard's available space became 7 gb, though my phone's still the same...... Now, I wish to partition my sdcard without failure, and i want my phone's available space to be at least 500mb to 1gb after the partition.............so all I need now is suggestions on HOW I PARTITION MY 8GB CLASS 4 CARD WITH 1GB AVAILABLE SPACE ON MY PHONE??............................
I AM USING STOCK JPU WITH A LOT OF FEATURES I ADD TO IMPROVE PERFORMANCE! WITH G3MOD 2.1 OC!
SUGGESTIONS PLEASE
Click to expand...
Click to collapse
partition it on pc...with minitool partition wizard...
Sent from my hybrid g3
Kyorarom Infinity b2 powered by
g3mod 2.1 Final OC
rkkoby said:
partition it on pc...with minitool partition wizard...
Sent from my hybrid g3
Kyorarom Infinity b2 powered by
g3mod 2.1 Final OC
Click to expand...
Click to collapse
how to use minitool partition wizard? step by step please
Google how to partition sd card using minitool partition wizard
Sent from my GT-I5800 using XDA App
Backup ur sd then partition ur sd via recovery .. 1gb sdext & 0mb swap..
ranadip.bswas said:
Backup ur sd then partition ur sd via recovery .. 1gb sdext & 0mb swap..
Click to expand...
Click to collapse
He has tried that and failed. -__- Thats why he made this thread ib the first place
Sent from my GT-I5800 using XDA App
Using partition tools in computer..
Shrink ur fat32 partition 1gb to right side.. Then use the created 1gb unalloted space to create a new secondary partition of ext4 filesystem.. Apply the changes.. U r done..
Smonic said:
Google how to partition sd card using minitool partition wizard
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
+1 to that....i googled to
Sent from my hybrid g3
Kyrillos' 9.0 powered by
g3mod 2.1 Final OC

[Q] Galaxy Fit internal memory full or low space

I am using Samsung Galaxy Fit 2.3.6 Gingerbread, when am installing new apps am getting message as internal memory full.
Phone is even getting hanged for a long time.
I have both internal memory and RAM problem. Please help me how to move all my internal apps to SD card.
Thanks,
Nikhil
U can't move system default apps to sdcard...unlike user apps.
1. Root ur phone.
2. Use link2sd to move user apps to sdcard(if u r on stock rom & don't want to mess up ur phone).
That will free up some memory.
& for more, u can enter the world of custom roms..
nikhil1333 said:
I am using Samsung Galaxy Fit 2.3.6 Gingerbread, when am installing new apps am getting message as internal memory full.
Phone is even getting hanged for a long time.
I have both internal memory and RAM problem. Please help me how to move all my internal apps to SD card.
Thanks,
Nikhil
Click to expand...
Click to collapse
I installed stock ROM S5670XXKPQ (Rus.) and custom kernel for S5670XXKPQ. After I installed Link2SD. I have total 67 apps installed and
in Internal Memory I have 90 MB free.
ZmisiS said:
I installed stock ROM S5670XXKPQ (Rus.) and custom kernel for S5670XXKPQ. After I installed Link2SD. I have total 67 apps installed and
in Internal Memory I have 90 MB free.
Click to expand...
Click to collapse
How did Link2SD work on stock unrooted ROM?
swat4samp said:
How did Link2SD work on stock unrooted ROM?
Click to expand...
Click to collapse
I rooted ROM.
ZmisiS said:
I rooted ROM.
Click to expand...
Click to collapse
Ok. Does the kernel support Init.d?
swat4samp said:
Ok. Does the kernel support Init.d?
Click to expand...
Click to collapse
In system/etc not init.d.
I created an EXT3 partition on my SD card and used the Link2SD. Until now I had no problems with space.
ZmisiS said:
In system/etc not init.d.
Click to expand...
Click to collapse
Apps2SD. create a SD-EXT and use apps2SD and viola. It might be slow with lower class of the SD card. IF class 10 then it will be the best

ram expander bug

hi frds,
i am having a problem with my phone samsung gts 8500 (wave 1) badadroid omni installed.
i had installed ram expander in my phone and swaped it with 2gb sd card, it went sucessfully.
after some days i delete the swap file from my sd card , but when i checked the swap memory through terminal emulator it was not zero.
i wanna know the solution to make it zero. and swap again with 16 gb sd card plz help
thanks in advance.
Iam not a expert, but if you did not use the app that created the swap file to remove it. It would probably make another.Also not all swap files are a fixed size. You might sit it to 2 gig but that might just be the max size it can grow too. Hope that helps
clear data and catch of that app and make a new one in 16 gb external card
Sent from my SM-G355H using XDA Free mobile app

Categories

Resources