1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

link for simple unroot (pc method)?

Discussion in 'Motorola Droid 2 Development' started by efexay, Dec 13, 2010.

  1. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Anyone know the link for line instructions to unroot D2? We did the simple PC method on XDA. Was a few lines of linux. Want to just unroot now for a warranty turn in. Thanks.
  2. pool_shark
    Offline

    pool_shark New Member

    Joined:
    Mar 28, 2010
    Messages:
    1,395
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    Ohio
    I used this from the sticky.

    - open your trusty terminal app
    - you should see a $ symbol, now do the following
    - su
    - now you should see a # symbol
    - mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    - rm /system/app/Superuser.apk
    - rm /system/bin/su
    * rm /system/bin/busybox
    - mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    - reboot your phone. Toda, no more root
  3. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    keep getting:

    $ su
    su
    Permission denied

    been so long since I rooted a phone can't remember what the right combination was to get in there. it took many tries of turning debugging on/off trying different usb connection mode. man, I' just trying to unroot this for a friend who's camera is busted.
  4. pool_shark
    Offline

    pool_shark New Member

    Joined:
    Mar 28, 2010
    Messages:
    1,395
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    Ohio
    If su isn't working, what makes you think it's rooted?
  5. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Because I was the one that rooted it like a month ago and the superuser app is there and I just unistalled wireless tether which was his only root app that I installed.

    Sent from my DROID2 using DroidForums App
  6. pool_shark
    Offline

    pool_shark New Member

    Joined:
    Mar 28, 2010
    Messages:
    1,395
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    Ohio
    Getting permission denied on the su implies that it is not rooted.

    I saw a thread about removing the superuser icon after removing root access. You could search for that to see how it turned out.
  7. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    what folder should I cd to first? tools right?
  8. pool_shark
    Offline

    pool_shark New Member

    Joined:
    Mar 28, 2010
    Messages:
    1,395
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    Ohio
    Using the no PC method there is no tools folder. I don't know what method you used to root. The no PC method is the only one I've used.
  9. chrstdvd
    Offline

    chrstdvd New Member

    Joined:
    Sep 30, 2010
    Messages:
    577
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    McKenney Va
    pool_shark is correct, if you type su and get permission denied, you are not rooted any more.

    I know pool_shark does not like to use the computer, but in this case, if this happened to me, I would plug the phone into the computer go into PC Mode:
    adb devices
    ya see your phone then
    adb shell
    if you get $ prompt you are not rooted.
    But try: (you can do stuff on computer that you can not in the emulator)
    cd /system/bin
    ls -l su
    if you get the permissions and file size, then the file must have been corrupted. Then
    rm su
    rm busybox
    cd /system/app
    rm superuser.apk
    and you will be unrooted. Turn your phone off and then back on.

    if you type ls -l su and get a "file not found" then type ls -l busybox. if it is there, type rm busybox and then cd /system/app, rm superuser.apk. Turn you phone off then back on.

    Then I would be scratching my head wondering how I got unrooted and not know it which would cause me to use my bootstrapper to restore my phone or flash the sbf to make sure I fixed it.
  10. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    Still trying to unroot. Suggestions?

    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\******>cd C:\android-sdk_r07-windows\android-sdk-windows\tools

    C:\android-sdk_r07-windows\android-sdk-windows\tools>adb devices
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    List of devices attached
    015D80B80902D01B device


    C:\android-sdk_r07-windows\android-sdk-windows\tools>cd /system/bin
    The system cannot find the path specified.

    C:\android-sdk_r07-windows\android-sdk-windows\tools>adb shell
    $ cd /system/bin
    cd /system/bin
    $ ls -l su
    ls -l su
    -rwxr-xr-x root shell 26248 2010-11-02 09:57 su
    $ rm su
    rm su
    rm failed for su, Read-only file system
    $




  11. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    how do i get the system in read write mode? that seems to be the problem?
  12. pool_shark
    Offline

    pool_shark New Member

    Joined:
    Mar 28, 2010
    Messages:
    1,395
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    Ohio
    mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

    You can't do it without root.
  13. chrstdvd
    Offline

    chrstdvd New Member

    Joined:
    Sep 30, 2010
    Messages:
    577
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    McKenney Va
    Did you get it yet?
  14. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    no. he had to go back in the field.

    if the superuser (ninja) icon is on there, and it had permissions for wireless tether(root dependent) before I cleared it out, doesn't that mean the phone is rooted? you guys keep saying it's not but just because I'm not getting read/write access.
  15. pool_shark
    Offline

    pool_shark New Member

    Joined:
    Mar 28, 2010
    Messages:
    1,395
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    Ohio
    You can still have the ninja even after removing root.

    The fact that you cannot su says you are not rooted. You don't need write access to su you need su to have write access.
  16. efexay
    Offline

    efexay New Member

    Joined:
    Jun 17, 2010
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    0
    I guess I'll install Root Explorer and remove the .apk. Shouldn't be dangerous right?

    I wonder how it lost root though..
  17. chrstdvd
    Offline

    chrstdvd New Member

    Joined:
    Sep 30, 2010
    Messages:
    577
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    McKenney Va
    Let us know if that fixes it. I have same w 7 version as U. Ur output is different than mine. I suspect U will have same problems wwith Root Explorer though. It won't hurt to try it. Et if U are not really rooted or if ur root is broken, you will not get R Exp to moumt r/w.
Search tags for this page

* daemon not running. starting it now on port 5037 *

,

d2 721 unroot

,

is my phone unrooted if it says $su permission denied

,

unrooted phone permission denied adb