Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,823 Members 42,074 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Swapper for root can't work

Tip us?
 
MyAnand13
Old
#1  
Junior Member - OP
Thanks Meter 3
Posts: 25
Join Date: Apr 2014
Question [Q] Swapper for root can't work

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
 
LS.xD
Old
#2  
LS.xD's Avatar
Senior Member
Thanks Meter 585
Posts: 1,854
Join Date: Nov 2013
Location: Lübeck

 
DONATE TO ME
Quote:
Originally Posted by MyAnand13 View Post
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

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
HTC One S @ PAC-man 4.4.2 [ALPHA1] [12/5/2014] + IceCode Kernel v4.0 // HBoot 2.15 - unlocked BL - S-OFF - NO "tampered & warning text" // TWRP mod 2.7.0.8

Samsung Galaxy W @ ParanoidAndroid 4.3 [BETA3] [6/5/2014] + KhaN Kernel v2.0 // Base: I8150XXLMI // PhilZ CWM 6.01.4

"REVIVED" HTC Wildfire S @ CyanogenMod 11(AWESOME!!!) [6/5/2014] //HBoot 1.09 - unlocked BL // TWRP 2.7.0.0


It won't hurt you to press "thanks" if me or someone other helped you...
 
MyAnand13
Old
#3  
Junior Member - OP
Thanks Meter 3
Posts: 25
Join Date: Apr 2014
Quote:
Originally Posted by LS.xD View Post
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
I have downloaded and installed ROM from following link
http://d-h.st/XeT

kernel version is 2.6.35.7-androidarmv6+jenkins@piripiri209#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.
 
LS.xD
Old
#4  
LS.xD's Avatar
Senior Member
Thanks Meter 585
Posts: 1,854
Join Date: Nov 2013
Location: Lübeck

 
DONATE TO ME
Quote:
Originally Posted by MyAnand13 View Post
I have downloaded and installed ROM from following link
http://d-h.st/XeT

kernel version is 2.6.35.7-androidarmv6+jenkins@piripiri209#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.
820MB swap You made my day
HTC One S @ PAC-man 4.4.2 [ALPHA1] [12/5/2014] + IceCode Kernel v4.0 // HBoot 2.15 - unlocked BL - S-OFF - NO "tampered & warning text" // TWRP mod 2.7.0.8

Samsung Galaxy W @ ParanoidAndroid 4.3 [BETA3] [6/5/2014] + KhaN Kernel v2.0 // Base: I8150XXLMI // PhilZ CWM 6.01.4

"REVIVED" HTC Wildfire S @ CyanogenMod 11(AWESOME!!!) [6/5/2014] //HBoot 1.09 - unlocked BL // TWRP 2.7.0.0


It won't hurt you to press "thanks" if me or someone other helped you...
 
MyAnand13
Old
#5  
Junior Member - OP
Thanks Meter 3
Posts: 25
Join Date: Apr 2014
Quote:
Originally Posted by LS.xD View Post
820MB swap You made my day
Yes I have created 820 mb swap file by swapper for root app
 
LS.xD
Old
(Last edited by LS.xD; 2nd May 2014 at 11:13 PM.)
#6  
LS.xD's Avatar
Senior Member
Thanks Meter 585
Posts: 1,854
Join Date: Nov 2013
Location: Lübeck

 
DONATE TO ME
Quote:
Originally Posted by MyAnand13 View Post
Yes I have created 820 mb swap file by swapper for root app
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
HTC One S @ PAC-man 4.4.2 [ALPHA1] [12/5/2014] + IceCode Kernel v4.0 // HBoot 2.15 - unlocked BL - S-OFF - NO "tampered & warning text" // TWRP mod 2.7.0.8

Samsung Galaxy W @ ParanoidAndroid 4.3 [BETA3] [6/5/2014] + KhaN Kernel v2.0 // Base: I8150XXLMI // PhilZ CWM 6.01.4

"REVIVED" HTC Wildfire S @ CyanogenMod 11(AWESOME!!!) [6/5/2014] //HBoot 1.09 - unlocked BL // TWRP 2.7.0.0


It won't hurt you to press "thanks" if me or someone other helped you...
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes