1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

Preparation before rooting

Last Updated:

  1. Soup Pear

    Soup Pear Member


    First off I have a Mac OSX and also another laptop that runs Ubuntu. Which OS should I use to have a smoother root.

    Second question, are there any applications I should remove before rooting. For example, I have this task killer and battery saver app that really messes with settings on the phone. Should I remove these just as a safety precaution?

    P.s Can someone tell me how to correctly tag. This is very confusing for me.

  2. CNexus

    CNexus Active Member

    I would suggest using ubuntu, Linux is much more reliable all around, especially for android. Have you set up the 51-android.rules file so adb can recognize your phone? And no, all the apps you have will most likely.get wiped anyway (you should backup the names, or the apks themselves.if you want.them back) so it would not make a difference

    Also, what version of android are you running?
  3. Soup Pear

    Soup Pear Member

    I have not set up the 51-android.rules file, nor do I even know how to do that. I tried a google search and had no idea what to do. Could you tell me or link me to a step by step instruction?
  4. CNexus

    CNexus Active Member

    So open a terminal and and type "gksudo gedit /etc/udev/rules.d/51-android.rules"
    For your benefit, heres the breakdown of that command:
    gksudo - tells ubuntu to run next command with elevated privileges because you are creating/modifying a system file (you could also just use "sudo" instead of "gksudo", but "gksudo" opens a graphical prompt to ask for your password, as opposed to "sudo" which has you input the password into the terminal window itself)
    gedit - open the following file with the gedit text editor
    /etc/udev/rules.d/51-android.rules - path to the file you're opening/modifying (required by the "gedit" command)

    So what I'm gonna do is I'm just going to attach the file I have, all it does is take the vendor id for your phone's type (in your caze HTC) and maps it to a USB device so that your computer recognizes it
    So open the attached file and copy and paste into the gedit window, then save and close
    Also, if you have access to a Windows machine, I would suggest that you root using my utility (its posted over at XDA under EVO Shift 4G > Android Development)
    Soup Pear likes this.
  5. Soup Pear

    Soup Pear Member

    Thanks for the break down I really appreciate it. IMHO I feel like nobody writes a rooting tutorial in plain english, but then again no one could possible combine a tutorial on rooting and command prompt syntax at the same time. For my own sake, I just begun learning Linux inside and out so that I can have a better understanding of rooting and not just copy paste my self into a sticky situation.

    P.S. I am really enjoying learning Linux. It makes OS make much more sense and I also have a newfound respect for those who took the time to create them.
  6. CNexus

    CNexus Active Member

    No problem, I installed Ubuntu not too long ago myself in order to get more comfortable with that environment and get into android development, so I know how you feel
    If you have any other questions, feel free to post and/or PM, I would have no problem answering any questions you have as I was once in your position and also used to feel that things were a little over my head
    Also, heres the 51-android.rules file
    EDIT: Can't attach for some reason. Here's a link instead.
  7. CNexus

    CNexus Active Member

    Here's a breakdown of the most common commands you'll find yourself using:
    adb devices - lists devices detected by the Android Debug Bridge
    adb push <local> <remote> - push the file at "local" to "remote" on your phone, remote can be a directory or a file, in the latter you can have it change the file's name too. Example: adb push test.txt /sdcard/foo.html
    adb reboot [bootloader
    Soup Pear likes this.
  8. Soup Pear

    Soup Pear Member

    Can you explain how this is different that accessing the Android in "usb debugging mode"?
  9. CNexus

    CNexus Active Member

    Well, you can't run any ADB commands unless your phone is connected to your computer in debugging mode. Putting it in that mode is a prerequisite for using adb from your computer.

Share This Page