[Q] swap use? - Galaxy 3 General

the Q i wan to ask is how cn i use swap partion to speed up my g3 on any custom rom.......help needed

It s automatic if you have a custom rom. All that you need is a swap script. You can take it from kyrillos rom. And if you have the script you dont need to modify any settings, for view if swap is in use type "free" in terminal emulator
ale_bot from xda app

Related

init.d script wont run

I have problem runing script from init.d folder. Script maked by link2sd work, but every script i add wont run on boot.
I set same permision liki in link2sd script... any idea?
when try to open script from init.d folder with root explorer there is no txt. :/
Have you tried script manager?
sent from my gt540 mur4ik RC0 806mhz
yes, it`s work when run script manueli... but not working when set run on boot.
goto data/local and edit the userinit and put this code in it
sh /system/etc/init.d/scriptname
that should force the script to run.
i dont have userinit in data/local
just to create it, or...?
yes just create a userinit.sh file then put the command in it
not working, strange...
can you upload the script you are trying to run so i can do some tests for you?
yes, it`s simple script to enable swap on swap partition. work fine when run it with gscript, script manager... but i want to run it auto on boot.
edit the script to look like this
Code:
#!/system/bin/sh
#
# enable swap on ext partition
#
echo 30 > /proc/sys/vm/swappiness
swapon /dev/block/mmcblk0p3
noup, mmcblk0p3: no such file or directory.
have you partitioned your sdcard properly and what way did you do it?
yes, i partitioned it with recovery. swap work fine when i run script manuele, or run comand with terminal. problem is than script wont run on boot, not only this one, v6 super charger wont run eather.
--------
i forgot, i use greendroid 2.0 and 666 infernal kernel
god thats odd what rom are you using mur4iks,joes or one of the softmod GB
greendroid 2.0 and 666 infernal kernel
this kernel hava init.d suport... i think.
it should support swap ok because init.d folder belongs to busybox which the ROM has i would say for you to get the best from your phone is to upgrade to a gingerbread rom preferably CM7 as it supports swap straight fro boot and it also allow V6 SuperCharger to run properly i can help with a 2.1 rom because i only had 2.1 on my phone for 30seconds before flashing a 2.2 CM6 rom.
i use CM7 before (mur4iks M6 was last i try), but every day there was some little bug, and i have big problem with battery, gps... so i went back to 2.1.
tnx for try helping me.
no problem sorry i couldn't help more.

Real Swap ON

Hi , i try to use real swap method for swapon partition on SD with the linux normal method
But i have a problem:
Function not implemented on kernel.
I describe the method:
Partition SD and make a little partition ext2 (100MB or 200MB is fine)
Open Terminal
#su (get root access)
#mkswap /dev/block/mmcblk0p2
and then
#swapon /dev/block/mmcblk0p2
With my kernel in the terminal i'm received a message
"Function not implemented."
I think is not implemented on kernel.
Maybe for other roms works fine.
We need to recompile the kernel with Swap support.
Somebody tried this method?
Regards...
bootloader is not bypassed, so we cannot have custom kernels -> we cannot have swap
Module can help.
Sent from my X8 using XDA Premium App
What module do you use?
maxiblammo said:
What module do you use?
Click to expand...
Click to collapse
None. It's his useless post
Sent from my SH!T Ericsson X8 running Froyobread using Tapatalk

[Q] Insufficient Storage :-/ What to do

Hey Guys whenever i download any apps from market i get the error Install Unsuccessful .... Insufficient storage ...
What to do :-/
Rom Hell Fire v7.2
UOT Kitchen Flashed 1
Overclocked 729 Mhz
Wildfire
delete apps or move some to SD card? If your memory is full it's logical you can't add apps
Sounds to me that a2sd is not properly set up.
I been having some issues running out of storage internaly. and after some fiddeling around with a2sd it was ok. And how to do it is posted in this rom's explanation on how to install it.
ruymanca said:
The ROM takes about 10 minutes to start for the first time since the beginning makes for a facility, I recommend formatting the memory trageta do a clean install or possibly delete the folders: ANDROID, LOST DIR ANDROID as these folders SECURE conflicts created by data from the old roms
I recommend making partitions ie swap64mb ext512 and the rest as fat32 mind too expensive or necessarily recommend formatting the card will memory or possibly delete the folders in the same android, haer all the wipes, the Rom takes a few minutes to make first start since being installed all the extras on the first boot takes 3 to 5 minutes, once this echo this start and made ​​previous settings obligation is to do a reboot for full functionality telefeno
Installation of the rom:
1. reboot in recovery mode
2. we wipes all
3. selected to install update sip
4. restart the tlf
5. enter the terminal console and register the following:
his press enter
# a2sd cachesd or enter
the phone will reboot and have about 150 megs of free internal memory
Click to expand...
Click to collapse
nope dint workk :-/
Type "su" first (Without Quotes), then try the a2sd command.
Can u mention it Step by Step?
Hi all, i have same issue.
Yesterday i finally rootat my Wildfire and put Cyanogenmod 7.0.3.stable on it.
Its very nice!
BUT cant allways install apps from market. I have 87mb free on inside memory and 1,7gb in sdcard... So what is problem?
What i need to do? I can full wipe all my data from telefone if somone tell me how i can do this..
Can somone help?
Use dalvik wipe from xrecovery to clean ur phone data..
Sent from my U20i using XDA Premium App
try istalling darktremor a2sd script (need to be istalled from recovery if not already integrated into your rom) and download a2sdgui from market, it's a gui for the script mentioned earlier. into recovery you have to partition your sd card too (advanced) 1024mb ext and i suggest 64mb swap, then open the app I told you (a2sdgui) and move everything to ext, dalvik cache too.
I agree with the poster above.
if you have issues with a2sd, I recommend installing A2SDGUI from market. (I assume you already have darktremors a2sd script installed). I had darktremors script working fine, but after flashing a zip file, it was not working. So I installed the A2SDGUI from darktremor and fixed the script. Now it is working. Just search the market and install it. It is great. Now I have around 168 MB free after all the installed apps.
Hope this helps,
SOLUTION TO INSUFFICIENT STORAGE:
1. Use FROYO+ default apps2sd. It gives the option to force moving of 95% of the apps to sdcard. Even root is not necessary. You can move 95% of apps only after using the adb command "adb shell pm setInstallLocation 2". This command is not even needed in cm7. And this method uses the fat/fat32 partition of sdcard not the ext partition. Specifically apps will be installed to .android_secure folder in the root of sdcard.
2. This method includes creating ext partition on sdcard and using an app called "link2sd". This is a root only app. No scripts are needed. That app has option to even link individual apps to ext partition. Also links dalvik cache.
3. Creating ext + swap partition and using dtapps2sd script. Root is required. Also custom recovery is required for flashing the script. This might be the toughest one but it is pretty awesome. Moves apps , data, dalvik cache to ext partition. Everything can be done with commands from the terminal emulator. Or you can use the "a2sdgui" app for graphical user interface.
Sent from my HTC Wildfire using XDA App
The GUI for the script is much more user-friendly than emulator terminal. And you can undo everything you did if it's not as you tought faster than from terminal.
I am not aware of how Hell Fire works. But yes for Cyanogenmod 7 I know there is a issue downloading a large application from the market. It won't download. Problem is the space.
Fix for this is few steps:
1. In Terminal type the following commands.
2. su
3. mkdir /sdcard/download-cache
4. cd /cache
5. mv download download.bak
6. ln -s /sdcard/download-cache download
Done... Now Go to market and download anything you won't get such errors..
If It Helps Don't forget Press Thank Button.
Thanks a lot!
I just get my new sd-card( 16 Gb) and install darktremor a2sd script + a2sdgui.
Works just like it says!
No more thinking what program van install and what not....
Well I just installed the MOdd Again ... and I was done
Though i bought Samsung Galaxy ace as its my second time the Touch Panel doesn't work ... first in Tattoo and den in Wildfire
So ... Thanx a lot guys for Helping
DestinyAwaits said:
I am not aware of how Hell Fire works. But yes for Cyanogenmod 7 I know there is a issue downloading a large application from the market. It won't download. Problem is the space.
Fix for this is few steps:
1. In Terminal type the following commands.
2. su
3. mkdir /sdcard/download-cache
4. cd /cache
5. mv download download.bak
6. ln -s /sdcard/download-cache download
Done... Now Go to market and download anything you won't get such errors..
If It Helps Don't forget Press Thank Button.
Click to expand...
Click to collapse
Working perfectly fine for me Thanks!

How to configure swapper?

Can any one know how to configure swapper?
I have installed and alloted 512 MB but when i check in terminal emmulator and type free...in swap its always 0
I am using CM10 nightly
it is very easy actually... i think u need to update ur busybox...u can update by busybox updater from market..
then u install swapper 2... u may or mAy not have separate partition for swap...in my case i juz use a swapfile...thats fine actually..
then u can configure the settings...actually u can put watever values...later u can change them to ur liking.
then on the swap...it takes afew minutes...then done...voila..
to check... open terminal emulator type
su
free
at swap section u should see some numbers... done...
Sent from my Xperia Pro using Tapatalk 2

[MOD]init.d & swap

Here I've made a script witch will enable init.d and swap
What is init.d
-----------------
Init.d scripts execute commands as if they were entered into a terminal. These commands modify the value of parameters that control your device's behaviour. Scripts are much more flexible than cpu apps and give end users more power to tweak and optimize their device as they see fit. Scripts are very small, fast, clean, and bug free if written properly.
What is Swap
----------------
Swap is, in short, virtual RAM so when you run out of real ram android writes to the
swap file saved on cache witch mean less closed applications
Swap will be made on cache and is 600mb in size
Download the zip file move to sdcard backup ROM with custom recovery then flash
rickwyatt said:
Here I've made a script witch will enable init.d and swap
What is init.d
-----------------
Init.d scripts execute commands as if they were entered into a terminal. These commands modify the value of parameters that control your device's behaviour. Scripts are much more flexible than cpu apps and give end users more power to tweak and optimize their device as they see fit. Scripts are very small, fast, clean, and bug free if written properly.
What is Swap
----------------
Swap is, in short, virtual RAM so when you run out of real ram android writes to the
swap file saved on cache witch mean less closed applications
Swap will be made on cache and is 600mb in size
Download the zip file move to sdcard backup ROM with custom recovery then flash
Click to expand...
Click to collapse
Nice.
Do you think we will get some benefits from this MOD?

Categories

Resources