Command Prompt


Last Updated:

  1. cornbreadfarts

    cornbreadfarts Well-Known Member This Topic's Starter

    Joined:
    Feb 5, 2010
    Messages:
    429
    Likes Received:
    21
    I just rooted yesterday. Running Aloysius v6. [ROM] Aloysius 2.0 PORT V6 REUPPED (5/1/10) - xda-developers I need help with the command prompt. I am trying to disable OTA updates. the command is "su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
    mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.nothankyou"

    i understand the command prompt, i just dont know how i am supposed to access the phone with it.
     

    Advertisement
  2. andrizoid

    andrizoid Well-Known Member

    Joined:
    Mar 25, 2010
    Messages:
    2,266
    Likes Received:
    357
    ahhhh. thats what you are trying to do?


    i can help with that, i just wasnt sure of what exactly you were trying to do.

    open the emulator and type,

    adb shell
    su
    cd /etc/security
    ls

    look and see if there is a file called otacerts.zip
    is there?
     
  3. char561

    char561 Well-Known Member

    Joined:
    Feb 23, 2010
    Messages:
    121
    Likes Received:
    12
    you are supposed to cd to the tools directory of the sdk folder and then type in adb shell in the command line and then su and you should have a "#" symbol and then just type the commands
     
  4. LexusBrian400

    LexusBrian400 Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    699
    Likes Received:
    154
    Or just download Root Explorer. Its WAY simpler than adb and worth every damn penny. I wouldn't wanna have root without it.
     
  5. cornbreadfarts

    cornbreadfarts Well-Known Member This Topic's Starter

    Joined:
    Feb 5, 2010
    Messages:
    429
    Likes Received:
    21
    response when doing that:

    daemon not running, starting it now
    daemon started successfully
    error: device not found


    phone is on charge only setting.
     
  6. andrizoid

    andrizoid Well-Known Member

    Joined:
    Mar 25, 2010
    Messages:
    2,266
    Likes Received:
    357
    i can guide you through step by step,
    put in debugging mode and run the command i mentioned earlier and tell me what it spits out
     
  7. cornbreadfarts

    cornbreadfarts Well-Known Member This Topic's Starter

    Joined:
    Feb 5, 2010
    Messages:
    429
    Likes Received:
    21
    the emulator won't even open. it flashes up a command prompt window for a half a second and closes.
     
  8. andrizoid

    andrizoid Well-Known Member

    Joined:
    Mar 25, 2010
    Messages:
    2,266
    Likes Received:
    357
    oh i forgot your using the emulator.
    no debugging mode, thats only when your using it with terminal on your computer.
    my bad
     
  9. cornbreadfarts

    cornbreadfarts Well-Known Member This Topic's Starter

    Joined:
    Feb 5, 2010
    Messages:
    429
    Likes Received:
    21
    debugging is off, but same thing still happens
     
  10. andrizoid

    andrizoid Well-Known Member

    Joined:
    Mar 25, 2010
    Messages:
    2,266
    Likes Received:
    357
    ok well dont use the emulator.
    plug your phone into your computer and enable usb debugging and try that
     
  11. cornbreadfarts

    cornbreadfarts Well-Known Member This Topic's Starter

    Joined:
    Feb 5, 2010
    Messages:
    429
    Likes Received:
    21
    yes it is there
     
  12. andrizoid

    andrizoid Well-Known Member

    Joined:
    Mar 25, 2010
    Messages:
    2,266
    Likes Received:
    357
    mount -o rw,remount /dev/block/mtdblock3 /system

    then

    mv otacerts.zip otacerts.zip.old
     
    cornbreadfarts likes this.
  13. cornbreadfarts

    cornbreadfarts Well-Known Member This Topic's Starter

    Joined:
    Feb 5, 2010
    Messages:
    429
    Likes Received:
    21
    worked. thanks for all the help!
     
  14. andrizoid

    andrizoid Well-Known Member

    Joined:
    Mar 25, 2010
    Messages:
    2,266
    Likes Received:
    357
    no problem
     

Share This Page

Loading...