[KERNEL] Kernel (deprimed_test) - Break It If You Can

Discussion in 'Droid Kernels' started by prime, Feb 22, 2011.

  1. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,936
    Likes Received:
    72
    Trophy Points:
    143
    Location:
    Florida
    Ratings:
    +75
    I don't understand the reference "plus v"?
     
  2. droidaddict101

    Joined:
    Oct 14, 2010
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Binghamton
    Ratings:
    +0
    When I click that link it just shows the script. So I just copy it and save it as .sh?
     
  3. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,936
    Likes Received:
    72
    Trophy Points:
    143
    Location:
    Florida
    Ratings:
    +75
    Or use script manager, or scripter.
     
  4. cms5423

    cms5423 Member

    Joined:
    Jan 11, 2010
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Wexford, PA
    Ratings:
    +0
    So I saved the script in /init.d/15noop, and when I test if it works, I get:

    cat /sys/block/*/queue/scheduler
    noop [cfq]
    noop [cfq]
    noop [cfq]
    noop [cfq]
    noop [cfq]
    noop [cfq]
    noop [cfq]
    noop [cfq]
    noop [cfq]
    noop [cfq]
    noop [cfq]
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    [noop] cfq
    [noop] cfq
    [noop] cfq
    [noop] cfq
    [noop] cfq
    [noop] cfq
    [noop] cfq
    [noop] cfq
    [noop] cfq

    however, if I run the script using scripter, I get it to work correctly. Any ideas? Thanks
     
  5. undroid

    undroid Member

    Joined:
    Jun 5, 2010
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    make sure it is executable...

    using SS, here's the following commands i would use in Terminal Emulator or through ADB.

    # sysrw
    # chmod 755 /system/etc/init.d/15noop
    # sysro
    # reboot
     
  6. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,936
    Likes Received:
    72
    Trophy Points:
    143
    Location:
    Florida
    Ratings:
    +75
    This should resolve your issue.
     
  7. Pleirosei

    Pleirosei Member

    Joined:
    Apr 20, 2011
    Messages:
    171
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    I meant Google plus lol

    I see you got an invite. Send me a pm so I can add you

    Sent from my Droid using DroidForums
     
    #2011 Pleirosei, Sep 19, 2011
    Last edited: Sep 19, 2011
  8. mightybrick

    mightybrick Member

    Joined:
    Nov 14, 2009
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    So. Utah
    Ratings:
    +6
    Following these terminal commands,
    Code:
    # sysrw
    # chmod 755 /system/etc/init.d/15noop
    # sysro
    # reboot
    
    I still get the same output as before:
    Code:
    cat /sys/block/*/queue/scheduler
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    noop [cfq] 
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    [noop] cfq 
    [noop] cfq 
    [noop] cfq 
    [noop] cfq 
    [noop] cfq 
    [noop] cfq 
    [noop] cfq 
    [noop] cfq 
    [noop] cfq
    
     
  9. cms5423

    cms5423 Member

    Joined:
    Jan 11, 2010
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Wexford, PA
    Ratings:
    +0
    If you are using v6supercharger, rename 99supercharger to 98supercharger, and make the noop script 99noop
    That'll fix it
     
  10. mightybrick

    mightybrick Member

    Joined:
    Nov 14, 2009
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    So. Utah
    Ratings:
    +6
    No v6supercharger.
     
  11. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,936
    Likes Received:
    72
    Trophy Points:
    143
    Location:
    Florida
    Ratings:
    +75
    What happens if you run it in a su terminal?
     
  12. cms5423

    cms5423 Member

    Joined:
    Jan 11, 2010
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Wexford, PA
    Ratings:
    +0
    You could add 'sleep 60' to the beginning of the script, seems to work for me
     
Search tags for this page

deprimed kernel

,
deprimed kernel droid
,
directory non existent error in link2sd
,
directory nonexistent link2sd
,
droid1 deprimed test
,
fiops vs sio
,
link2sd directory nonexistent
,
link2sd failure directory nonexistent
,
primed kernel
,
yaffs2 cannot allocate memory