What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

COMPCACHE for UD *2.5.0*!! [Instructions] Updated 12/16/10

For those that have installed P3's kernels with clockwork.... what does "disable asserts" mean? I never so this with other kernels and was just wondering what it meant??? Thanks...
 
For those that have installed P3's kernels with clockwork.... what does "disable asserts" mean? I never so this with other kernels and was just wondering what it meant??? Thanks...

Swap works with any kernel. Just go to the market and download Swapper 2 (for root users)

If you have any questions/issues just PM me.
 
I'm using a P3 kernel, and have flashed the Ramzswap file. I go into TE and compcache start gives me this.

modprobe: chdir(/lib/modules): No such file or directory
Failed to open dev/block/ramzswap0:
No such file or directory
swapon:can't stat '/dev/block/ramzswap0 no such file or directory



I looked in the modules folder and I have a ramzswap.ko file.

Not sure what's going on
 
For those that have installed P3's kernels with clockwork.... what does "disable asserts" mean? I never so this with other kernels and was just wondering what it meant??? Thanks...

Swap works with any kernel. Just go to the market and download Swapper 2 (for root users)

If you have any questions/issues just PM me.

Swap is different from compcache. Both are options. Read up on it here:

Swap and Compcache - CyanogenMod Wiki
 
I'm using a P3 kernel, and have flashed the Ramzswap file. I go into TE and compcache start gives me this.

modprobe: chdir(/lib/modules): No such file or directory
Failed to open dev/block/ramzswap0:
No such file or directory
swapon:can't stat '/dev/block/ramzswap0 no such file or directory



I looked in the modules folder and I have a ramzswap.ko file.

Not sure what's going on

Is Compcache enabled in UD Settings>Performance? An is the new version of busybox flashed?
 
anuraj1
I am also using the p3 kernel and having the same issues as LT.
I do have busybox v. 1.17.1 installed in /system/xbin/
should I also install busybox in the /system/bin folder as this is the other install location option.
anyways any help is appreciated.

and yes compcache is enabled.
 
I'm using a P3 kernel, and have flashed the Ramzswap file. I go into TE and compcache start gives me this.

modprobe: chdir(/lib/modules): No such file or directory
Failed to open dev/block/ramzswap0:
No such file or directory
swapon:can't stat '/dev/block/ramzswap0 no such file or directory



I looked in the modules folder and I have a ramzswap.ko file.

Not sure what's going on

Is Compcache enabled in UD Settings>Performance? An is the new version of busybox flashed?

Yes to both. Really puzzling.
 
anuraj1
I am also using the p3 kernel and having the same issues as LT.
I do have busybox v. 1.17.1 installed in /system/xbin/
should I also install busybox in the /system/bin folder as this is the other install location option.
anyways any help is appreciated.

and yes compcache is enabled.

Interesting. It works in xbin for me. Give it a try in /bin and let me know what happens. I'm researching further right now.
 
anuraj1
I am also using the p3 kernel and having the same issues as LT.
I do have busybox v. 1.17.1 installed in /system/xbin/
should I also install busybox in the /system/bin folder as this is the other install location option.
anyways any help is appreciated.

and yes compcache is enabled.

Interesting. It works in xbin for me. Give it a try in /bin and let me know what happens. I'm researching further right now.

Just tried it, same result. Thanks for looking into this.
 
anuraj1
I am also using the p3 kernel and having the same issues as LT.
I do have busybox v. 1.17.1 installed in /system/xbin/
should I also install busybox in the /system/bin folder as this is the other install location option.
anyways any help is appreciated.

and yes compcache is enabled.

I'll third that...same issues as LT and alscritter
 
The proper solution - as I'd posted before:


http://www.droidforums.net/forum/ul...uctions-updated-12-16-10-a-7.html#post1053009

This involves a lot of editing - but really works. As of latest UD25 (maybe 24 as well) - you need to call busybox to install the ramzswap module.

All other solutions will ignore the UD Settings - and set compcache to its default.

Use Root Explorer to find the files in /system/bin - set to R/W - and "open in text editor".

Or... I've attached the scripts to place in /system/bin - you'll need to set proper permissions: User, RWE; Group, RE; Others, RE

Perhaps someone can place in an installable zip.
 
Last edited:
anuraj1
I am also using the p3 kernel and having the same issues as LT.
I do have busybox v. 1.17.1 installed in /system/xbin/
should I also install busybox in the /system/bin folder as this is the other install location option.
anyways any help is appreciated.

and yes compcache is enabled.

I'll third that...same issues as LT and alscritter

I've reflashed the entire ROM on my device from scratch and replicated your issue. Looking for a fix now. Thanks for letting me know.


The proper solution - as I'd posted before:


http://www.droidforums.net/forum/ul...uctions-updated-12-16-10-a-7.html#post1053009

This involves a lot of editing - but really works. As of latest UD25 (maybe 24 as well) - you need to call busybox to install the ramzswap module.

All other solutions will ignore the UD Settings - and set compcache to its default.

Use Root Explorer to find the files in /system/bin - set to R/W - and "open in text editor".

Thanks for this solution, Chipster. For anyone that doesn't want to delve into editing, I'll be looking for a simpler fix. But otherwise, anyone that wants to should definitely try Chipster's solution.
 
The proper solution - as I'd posted before:

Use Root Explorer to find the files in /system/bin - set to R/W - and "open in text editor".

Or... I've attached the scripts to place in /system/bin - you'll need to set proper permissions: User, RWE; Group, RE; Others, RE

Perhaps someone can place in an installable zip.

which files are we looking for in /system/bin (when you talk about "find the files")

Ive copied your two scripts into this directory also, chmod them in terminal and then ran with same issues:


modprobe: chdir(/lib/modules): No such file or directory
Failed to open dev/block/ramzswap0:
No such file or directory
swapon:can't stat '/dev/block/ramzswap0 no such file or directory
 
Back
Top