To get CompCache working on UD 2.0

segdoh49

Member
Joined
Jan 4, 2010
Messages
403
Reaction score
0
Location
California
From what you've posted, compcache is properly working. When you typed "compcache start" it says that the file already exists. When you typed "compcache stats" it properly displayed the stats. The file is also configured properly.

I don't see the "not a typewriter" error that you were talking about...
The problem is that it doesn't start on a reboot. And I would think it should because of the line /system/bin/compcache start that was added in the etc/init.d/20userinit. Iv'e noticed that in the other commands just before the command you have a line 'fi;'
then it skips a line then the command. so should the start command be input like this:

fi;
(line skip)
/system/bin/compcache start

or the way I have it:

fi;
/system/bin/compcache start

I have it with a skipped line, and it works perfectly. Give it a try with the line skip.

That did it.............Thanks
 

smtom

Member
Joined
Oct 26, 2010
Messages
281
Reaction score
0
Location
The South
Anyone know how to get compcache working on the Incredible?
When in terminal, after typing su and compcache stats, I get:
Failed to open /dev/block/ramzswap0: No such file or directory

No-brainer thought tells me to go to that path and create a folder, but I don't know if that's right?

Any help is appreciated.
Kind regards.

I'm sorry, I don't know anything about hacking the Inc, but it sounds like your kernel may not support compcache. The error you describe occurs when the kernel doesn't have the ramzswap (compcache) module.

Bummer ....
it's the kernel that came w/ the ROM. Thx tho!

Sent from my ADR6300 using DroidForums App
 

bdub33

Member
Joined
Nov 6, 2010
Messages
379
Reaction score
1
Would this work with a kernel that doesn't support compcache??

Sent from my Droid using DroidForums App
 
OP
anuraj1

anuraj1

Active Member
Joined
Jan 8, 2010
Messages
1,140
Reaction score
0
Location
AZ
Would this work with a kernel that doesn't support compcache??

Sent from my Droid using DroidForums App

Negative. A kernel that supports compcache (like Slayher's kernels) would be required.
 

bdub33

Member
Joined
Nov 6, 2010
Messages
379
Reaction score
1
Nevermind I'm a tart. I found the answer above

Sent from my Droid using DroidForums App
 

bdub33

Member
Joined
Nov 6, 2010
Messages
379
Reaction score
1
Ok in ud settings for compcache it says 10% 18% and 26%. What is the best to set it at???

Sent from my Droid using DroidForums App
 
Top