Root Command Prompt

Discussion in 'Android Devices' started by cornbreadfarts, May 3, 2010.

  1. cornbreadfarts

    cornbreadfarts Well-Known Member
    48

    Feb 5, 2010
    429
    21
    48
    Nashville, TN
    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
    163

    Mar 25, 2010
    2,266
    357
    163
    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
    38

    Feb 23, 2010
    121
    12
    38
    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
    103

    Mar 3, 2010
    699
    154
    103
    Automotive Electrical Technician / Mechanic
    I'm a drifter.. here and there.
    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
    48

    Feb 5, 2010
    429
    21
    48
    Nashville, TN
    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
    163

    Mar 25, 2010
    2,266
    357
    163
    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
    48

    Feb 5, 2010
    429
    21
    48
    Nashville, TN
    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
    163

    Mar 25, 2010
    2,266
    357
    163
    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
    48

    Feb 5, 2010
    429
    21
    48
    Nashville, TN
    debugging is off, but same thing still happens
     
  10. andrizoid

    andrizoid Well-Known Member
    163

    Mar 25, 2010
    2,266
    357
    163
    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
    48

    Feb 5, 2010
    429
    21
    48
    Nashville, TN
    yes it is there
     
  12. andrizoid

    andrizoid Well-Known Member
    163

    Mar 25, 2010
    2,266
    357
    163
    mount -o rw,remount /dev/block/mtdblock3 /system

    then

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

    cornbreadfarts Well-Known Member
    48

    Feb 5, 2010
    429
    21
    48
    Nashville, TN
    worked. thanks for all the help!
     
  14. andrizoid

    andrizoid Well-Known Member
    163

    Mar 25, 2010
    2,266
    357
    163
    no problem
     

Share This Page

Loading...