• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root ADB Issue

they are not in a folder...

no i did the cp ect ect

i got cp is not recognized blah blah as a command


why am i not at the # comman and im back on c:\androidsdk\tools?


how do i get back to the # prompt

Its no problem you are almost done.

Just make sure that your phone is now in charge only mode. Then go back to the cmd prompt, change the dir to get into your androidsdk/tools dir again.

Just follow what we said above.

Start the CMD command from Windows 7. I assume you know how to do this sicne you have been using it so far.

You should see something like C:/users/XXXXXX<----whatever your anem or cpu name is)

Type CD..

Then Type CD.. again

That will get you to a C:

From there:

Type cd androidsdk/tools (or whatever the folder is named that you put the android sdk in)

Now your command prompt will look something like this:

C:\androidsdk\tools

Now that you are here,

type: adb shell (this is where you will see the # sign again)

then type
cp /sdcard/Superuser.apk /system/app/Superuser.apk

then type

cp /sdcard/su /system/bin/su

then type

chmod 4755 /system/bin/su

**That should do it. You will have root.
 
OK you are very close. Check and see if your wifi is turned on as well and try again. Post a screenshot of your attempt as well so I can see if there is anything you are missing. Everything is where you need it now, you are right at the end.

Also, make sure (I am sure you are) that you are putting in the spaces and things that are in the directions as you type things out.
 
here
 

Attachments

  • updat6edddd.jpg
    updat6edddd.jpg
    217.3 KB · Views: 68
Quick question it looks like some people using windows 7 had a harder time. I just got a new laptop, so I have a windows 7 machine now AND my old windows XP laying right next to it.

I am a Rooting noob cause this is my first smartphone ever, will it be significantly easier, to root from my old machine running windows XP? Will I be able to follow the instructions in the OP exactly and most likely have success??

Thanks in advance!!
 

Looks like you are at the $ sign and not the # sign when you are running those commands.

So once you have your wifi off, and your phone plugged into the USB cord, plugged into your computer and in charge only mode, go back to the cmd prompt:

Make sure you are in the androidsdk/tools folder

Then:

type adb shell

That should give you a $ sign as the prompt

Then:

type: rootshell

type in password: secretlol

(Edit, if that doesnt work, just type su and see if you get the # sign)

You should see a # sign now. (make sure you have a # sign) From here:
type in:

cp /sdcard/Superuser.apk /system/app/Superuser.apk

then

cp /sdcard/su /system/bin/su

then

chmod 4755 /system/bin/su
 
Looks like you are at the $ sign and not the # sign when you are running those commands.

So once you have your wifi off, and your phone plugged into the USB cord, plugged into your computer and in charge only mode, go back to the cmd prompt:

Make sure you are in the androidsdk/tools folder

Then:

type adb shell

That should give you a $ sign as the prompt

Then:

type: rootshell

type in password: secretlol

(Edit, if that doesnt work, just type su and see if you get the # sign)

You should see a # sign now. (make sure you have a # sign) From here:
type in:

cp /sdcard/Superuser.apk /system/app/Superuser.apk

then

cp /sdcard/su /system/bin/su

then

chmod 4755 /system/bin/su
ok i typed all that got no errors or anything
 

Attachments

  • yay.jpg
    yay.jpg
    221.9 KB · Views: 70
You got it. Reboot your phone and check and see if you have the Superuser.apk listed in your apps. If so, YOU HAVE IT ALL DONE!!!!!!

You have ROOT!!
 
do this now?

Run "chmod 4755 /system/bin/busybox"
Run "rm /system/bin/rootshell"
Run "exit" to drop from root to a non-root user shell (on phone still)
Run "exit" to drop back to your machine command prompt (instead of phone)
 
Not sure if I have seen those instructions. You can do those, not sure about the busybox as I didnt use that, however the line:

rm /system/bin/rootshell

Will remove that password etc so that your clean and solid. I think you are done, make sure to reboot and check and make sure that the Superuser Permissions app is in there. (Note that if you try and open it and it is blank that is normal.) Basically when you install or do other things that are root related, they will ask that app for permission and you will get a warning box that pops up on your phone that asks you for permissions, etc.
 
ok i do have the superuser permission icon..clicking it opens up the program but its blank....now what do i do?

See post above. That is NORMAL to see nothing. When you try and install things that need root access they will ping that app and you will see a box that asks if its ok to give permissions etc.

You are finished, you have root!
 
what exactly is wifi tethering? what should i be doing now that i am rooted...i have the wireless tether app and it asked permission from teh superuser
 
what exactly is wifi tethering? what should i be doing now that i am rooted...i have the wireless tether app and it asked permission from teh superuser

wifi tethering is for you to use your phone as a modem essentially for internet. For example, right now I am sitting outside of my house in the backyard. Rather than use my normal wifi, I am using the tethering app. Basically you can be anywhere your phone has service and plug it into your laptop to get internet service.

If the app (or any app that requires su permission) asks you for permission, just allow it and set it to remember for the future so you will not be asked for permission again.

OK, glad I could help even one person. When I was rooting my first phone, I got help like this from someone step by step and it was the best. Glad I could help. No remember, just be careful what you do. Try to read on apps and everything else to make sure what you are installing or tweaking. And remember, always back things up if you can.

Plus one last note of advice. If you end up deleting apps and such, remember to not remove the backupassistant one as it will screw up your phone.

Take care.
 
Is this process significantly easier on Windows XP than windows 7?i have both options available to me so pls let me know.

thank you all!
 
Back
Top Bottom