DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 37

Thread: To get CompCache working on UD 2.0

  1. Droid Ninja
    anuraj1's Avatar
    Member #
    25108
    Join Date
    Jan 2010
    Location
    AZ
    Posts
    1,140
    Liked
    4 times
    Twitter
    AnurajBhatt
    Phone
    Motorola Droid Bionic
    #1

    To get CompCache working on UD 2.0

    Use Root Explorer to get to /etc/init.d/20userinit

    press the mount R/W button

    longpress on 20userinit and choose "open in text editor"

    add this line to the bottom of the file (skip a line after the last command):

    /system/bin/compcache start
    Last edited by anuraj1; 11-17-2010 at 12:26 PM.
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Droid Ninja
    anuraj1's Avatar
    Member #
    25108
    Join Date
    Jan 2010
    Location
    AZ
    Posts
    1,140
    Liked
    4 times
    Twitter
    AnurajBhatt
    Phone
    Motorola Droid Bionic
    #2
    This is for the D1 by the way. Not sure how it works on other devices.

    You can check the status of compcache by typing "compcache stats" without the quotes in the terminal emulator. If it gives you stats, it is on, if it gets an error, it is off. You can also check in SetCPU under info. The items that start with "Swap" will have numbers associated with them if compcache is on, or will be zero if it is off.
  4. Master Droid
    jbrock98's Avatar
    Member #
    50526
    Join Date
    Mar 2010
    Posts
    615
    Phone
    Motorola Droid
    #3
    Now does the stock kernel support compcache? Because its not working, I found that file and added it where its the last line in the file I hit menu then save & exit, it made a backup I think it said & the same file name was next to it but had .bak on the end & I deleted it, then check stats I got the error then rebooted & still got error,

    Edit:
    says failed to open dev/block/ramzswap0 or sumthing

    Sent from my Droid
    Go Vols!!! follow@jbrock98
  5. Droid Ninja
    anuraj1's Avatar
    Member #
    25108
    Join Date
    Jan 2010
    Location
    AZ
    Posts
    1,140
    Liked
    4 times
    Twitter
    AnurajBhatt
    Phone
    Motorola Droid Bionic
    #4
    I thought the stock kernel was a Slayher kernel so it should work, but if not, you would need a compcache enabled kernel like the ones by Slayher. They are available on ROM Manager under Slayher, or at this website:

    Froyo Kernels by slayher - CyanogenMod Forum
  6. Master Droid
    jbrock98's Avatar
    Member #
    50526
    Join Date
    Mar 2010
    Posts
    615
    Phone
    Motorola Droid
    #5
    Yeah I think bd changed from slayer being stock kernel b/c 2.0.0 naked is oc'd only at 0.8ghz & in about phone section kernel says sapphire......

    Sent from my Droid
    Go Vols!!! follow@jbrock98
  7. Droid Ninja
    anuraj1's Avatar
    Member #
    25108
    Join Date
    Jan 2010
    Location
    AZ
    Posts
    1,140
    Liked
    4 times
    Twitter
    AnurajBhatt
    Phone
    Motorola Droid Bionic
    #6
    Did you get it working after loading a slayher kernel?

    Sent from my Motorola Droid
  8. Master Droid
    jbrock98's Avatar
    Member #
    50526
    Join Date
    Mar 2010
    Posts
    615
    Phone
    Motorola Droid
    #7
    Quote Originally Posted by anuraj1 View Post
    Did you get it working after loading a slayher kernel?

    Sent from my Motorola Droid
    Yes sir its working, thanks for the tip I dunno how much compcache actually works or improves how well my phone runs but as long as it doesn't slow it down its worth trying....I wonder y BD took enable compcache out of UD settings

    Sent from my Droid
    Go Vols!!! follow@jbrock98
  9. Droid Ninja
    anuraj1's Avatar
    Member #
    25108
    Join Date
    Jan 2010
    Location
    AZ
    Posts
    1,140
    Liked
    4 times
    Twitter
    AnurajBhatt
    Phone
    Motorola Droid Bionic
    #8
    I've noticed a pretty big improvement using compcache. The only drawback is that you have to reboot every day or two or you will start experience lag and slowdowns because all the swap will be used up.

    BD does have the option there for compcache, but it is set up the same way as CyanogenMod 6.1 RC3, where you have to manually type in the command to start, or add that line to the init file to get it to start every time. It is a bug that will get ironed out eventually I'm sure.

    If you ever get sick of compcache, just go back to that file and delete the line you added.
  10. Droid
    jimmy2179428's Avatar
    Member #
    87902
    Join Date
    Jul 2010
    Posts
    44
    Phone
    Retired:Driod1, Now:Fascinate
    #9
    ok, I think I got it... When I check in SetCPU it shows numbers after Swap, but when I go to terminal emulator it give me an error when I type in, "compcache stats." Any ideas?
  11. Droid Ninja
    anuraj1's Avatar
    Member #
    25108
    Join Date
    Jan 2010
    Location
    AZ
    Posts
    1,140
    Liked
    4 times
    Twitter
    AnurajBhatt
    Phone
    Motorola Droid Bionic
    #10
    Quote Originally Posted by jimmy2179428 View Post
    ok, I think I got it... When I check in SetCPU it shows numbers after Swap, but when I go to terminal emulator it give me an error when I type in, "compcache stats." Any ideas?
    type in "su" and press enter before you type in "compcache stats"
Page 1 of 4 1 2 3 ... LastLast

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Cant get compcache working on 6.1 RC2
    By droidkevlar in forum Koush
    Replies: 1
    Last Post: 10-31-2010, 05:31 PM
  2. Anyone using Compcache?
    By razorseal in forum Project Elite
    Replies: 19
    Last Post: 10-05-2010, 10:41 PM
  3. CompCache
    By rich_r in forum ChevyNo1
    Replies: 4
    Last Post: 08-10-2010, 11:43 AM
  4. Compcache ???
    By wingdo in forum cvpcs
    Replies: 4
    Last Post: 06-25-2010, 04:47 PM

Search tags for this page

/system/lib/modules/tun.ko failed (device or resource busy)

,
20usernit ,
,
compcache init
,
how to go to compcache galaxy y
,
init module /system/lib/modules/tun.ko failed (device or res
,
init module tun.ko failed busy
,
init not a typewriter
,
insmod init module /system/lib/modules/ failed device or rea
,
insmod:init modules tun.ko failed
Click on a term to search our site for related topics.
Find us on Google+