Results 1 to 16 of 16
  1.    #1  
    i need a command or something similar i can put into putty to remove the 600 cpu scaling patch.

    this is what happened.

    i ran the emergency patch removal because i wanted to redo all my patches installed and only install a minimal amount.

    so after running that, i installed my wanted patches.

    i assumed the 600 cpu scaling patch was also removed.

    i went to webOS quick install and i dragged the 600 cpu scaling patch. it gave me an error saying that /etc/event.d/powersave-cpu-scaling was already there and stuff.
    (i did check in /etc/event.d/ and the powersave-cpu-scaling file is there.)

    so i checked in putty
    Code:
    cat /sys/devices/system/cpu/cpu0/cpufreq/s
    tats/time_in_state
    600000 22446
    550000 759
    500000 438
    250000 9151
    125000 17292
    it's running at 600 but i now have no way of removing the 600 cpu scaling patch.
    i checked in webOS quick install and it isn't under patches.

    so i need a way to remove it(becuase of my study,see link below)
    Code:
    http://forums.precentral.net/web-os-development/218081-600-patch-both-study.html
    command line?

    would i just delete /etc/event.d/powersave-cpu-scaling file?

    help?

    thanks
  2. #2  
    I think you need to navigate to that directory and type "rm *name_of_file". I think this is what I did to manually delete the patch file. Make sure you reboot afterward.
  3.    #3  
    Quote Originally Posted by Armchair Commando View Post
    I think you need to navigate to that directory and type "rm *name_of_file". I think this is what I did to manually delete the patch file. Make sure you reboot afterward.
    so like.... rm patch name? or rm powersave-cpu-scaling?

    thanks
  4.    #4  
    i know what i need to do but i can't do it.

    i just need to delete /etc/event.d/powersave-cpu-scaling

    but i can't do it. novaterm to work so i don't have a terminal account with sufficient privilgies to delete /etc/event.d/powersave-cpu-scaling.

    i tried deleting /etc/event.d/powersave-cpu-scaling through webOS quick install but it won't delete...


    thanks
  5.    #5  
    nvm got it.
  6. vtecbrown's Avatar
    Posts
    52 Posts
    Global Posts
    58 Global Posts
    #6  
    How did you do it? I need to do the same thing. Did you disable the "Read-only"ness of the file? I don't know how to do this...
  7.    #7  
    Quote Originally Posted by vtecbrown View Post
    How did you do it? I need to do the same thing. Did you disable the "Read-only"ness of the file? I don't know how to do this...
    connect to your pre through root(through winSCP or go to WebOS quick install and click Tools>Linux command line)

    and type
    Code:
    rm /etc/event.d/powersave-cpu-scaling
    then reboot.
  8. vtecbrown's Avatar
    Posts
    52 Posts
    Global Posts
    58 Global Posts
    #8  
    Double post.. sry
  9. vtecbrown's Avatar
    Posts
    52 Posts
    Global Posts
    58 Global Posts
    #9  
    Tried, I get:

    Code:
    rm: remove '/etc/event.d/powersave-smartreflex'? y
    rm: cannot remove '/etc/event.d/powersave-smartreflex': Read-only file system
    I am trying to remove the smartreflex, but it's the same concept for cpu-scaling.
  10.    #10  
    Quote Originally Posted by vtecbrown View Post
    Tried, I get:

    Code:
    rm: remove '/etc/event.d/powersave-smartreflex'? y
    rm: cannot remove '/etc/event.d/powersave-smartreflex': Read-only file system
    I am trying to remove the smartreflex, but it's the same concept for cpu-scaling.
    hmm... i don't believe mine was a read-only... all i did to delete it was went to webosquick install and went to linux command line and typed
    Code:
    rm /etc/event.d/powersave-cpu-scaling
    if you can find a way to change the read only, i'm doing a little research myself. i'm a little new to file manipulation.
  11.    #11  

    un-check the "R" on each?
    try that?
  12. vtecbrown's Avatar
    Posts
    52 Posts
    Global Posts
    58 Global Posts
    #12  
    QI was the trick! I've been doing everything through Putty. I guess it's obsolete now, as I will be doing everything through "Linux command line" in QI.

    BIG THANKS!!!
  13.    #13  
    Quote Originally Posted by vtecbrown View Post
    QI was the trick! I've been doing everything through Putty. I guess it's obsolete now, as I will be doing everything through "Linux command line" in QI.

    BIG THANKS!!!
    there you go. i think it worked with quick install because that goes through an account with higher privileges that over turns the read only.
  14. Daemon's Avatar
    Posts
    796 Posts
    Global Posts
    809 Global Posts
    #14  
    Quote Originally Posted by derik123derik123 View Post

    un-check the "R" on each?
    try that?
    Absolutely do NOT do that!
    Removing read permissions from the /etc/event.d directory can
    cause very bad things to happen, and certainly won't help
    you remove the file in that directory.

    ian
  15. Daemon's Avatar
    Posts
    796 Posts
    Global Posts
    809 Global Posts
    #15  
    For simple stuff like this, I just use the Terminal app instead
    of bothering with ssh or novaterm, which both still work fine.

    In fact, I've created a couple shell scripts based on the commands
    in the Powerscaling and Smartreflex patches that I can simply
    run manually. That way I don't have to deal with uninstalling patches
    if the phone becomes unstable. If I want the speed, I open terminal,
    run the command and close terminal.

    ian
  16. #16  
    sudo -i
    mount -o remount,rw /
    *then go to etc/event.d*
    rm powersave-cpu-scaling
    sudo -i
    mount -o remount,ro /

Posting Permissions