How do you install ADB? - Xperia Play Q&A, Help & Troubleshooting

Every root method seems to require you have ADB installed yet nowhere seems to tell you where to get ADB or how to use it.
Any help?

Try superoneclick or zergrush - they include adb and you dont have to do anything.
ADB can be downloaded from the android sdk.

http://www.londatiga.net/it/how-to-use-android-adb-command-line-tool/

Related

how can i utilize ADB

i have successfully installed ADB on VIST and it's working fine. What type of things i can get benifit from ADB?
thanks

Rooting on a Mac OS

Is it possible to complete the whole process on a mac? I don't have a PC.
i found this.
http://www.droidfilez.com/Evo4GRoot.html
dont know what it is/how it works though.
proceed at your own risk.
yes, all you need to root is adb!
download the adb sdk for mac and use the terminal app in utilities to execute adb commands
after you set up the sdk execute the commands, like the examples :
./adb devices
./adb shell
./adb push
just follow the guides to root and wheerever it says to use adb use ./adb instead because your on a mac.
hope you got the jist of what im saying
i wouldnt use the above post "automated rooter" just yet... you're new to this, you should research mroe about the automated rooter and if it does what it says it does. wait till it comes up on xda?
EDIT : follow the guide that waterboy100 posted below if you want to do it without adb. i would encourage you to learn adb though as its simple and will help you learn more about rooting in the long run.
this guy should have a post up soon too
http://forum.xda-developers.com/showthread.php?t=701152
chim4ira312 said:
yes, all you need to root is adb!
download the adb sdk for mac and use the terminal app in utilities to execute adb commands
after you set up the sdk execute the commands, like the examples :
./adb devices
./adb shell
./adb push
just follow the guides to root and wheerever it says to use adb use ./adb instead because your on a mac.
hope you got the jist of what im saying
i wouldnt use the above post "automated rooter" just yet... you're new to this, you should research mroe about the automated rooter and if it does what it says it does. wait till it comes up on xda?
EDIT : follow the guide that waterboy100 posted below if you want to do it without adb. i would encourage you to learn adb though as its simple and will help you learn more about rooting in the long run.
Click to expand...
Click to collapse
I am downloading the sdk now and I am interested in this. I have the 1st root completed and I am trying to get the second section done and I am having a hell of a time :/
you can totally do every rooting ability in Mac. I got a hackintosh and downloaded the ADB kit and just plug in the phone and ADB recognized in an instance. No need to install driver like Windows.
I just did the rull NAND unlocking with root on my Mac.
Awesome I downloaded the files and I'll try doing it today. I wanted to remove some Sprint Apps and maybe flash a ROM later one when the builds become more solid and bugs get worked out.
By the way I'm playing Pocket Empires to kill time and it's pretty cool. If I root will I have to start the game all over again?
i've done everything on my mac...works great!
I'm lost as hell. I found this thread:
http://www.androidpolice.com/2010/0...-write-permissions-to-system-incredible-next/
I did the unrevoked thing and I see this icon called SuperUser Permissions in my app list.
Am I able to proceed and fully root or do I have to re-do the root with the Toast method? This looks too complicated and by the way I tried the ./adb thing on my mac and I get errors saying "No such file or directory".
im trying to push the pcimg to sdcard and its saying access denied
Why do you guys say "Oh, I did it on my mac" without saying HOW you did it on your mac? Regular instructions dont work so you obviously did something special to make it work... I keep getting permission denied BS
Here you go dude. Step by step instructions along with the download links. I followed this to the T and it worked out find for me:
http://forum.androidcentral.com/htc-evo-4g-roms-hacks/17766-how-full-root-evo-4g-mac.html

[Q] ADB Shell Won't Allow me to run as SU

So I'm trying to get into su to run gfree_verify to make sure my permaroot S-off/SIM card unlock/SuperCID was successful, but I'm getting a permission denied error.
What happens is, I type adb shell, then I type su, there's a really long delay, then it tells me Permission Denied. However, when I run the Terminal Emulator from my phone and type in the su command, I get root access just fine.
I used the "official" method that is on the HTC Vision Wiki that is located here. The only thing, however, is that my Android SDK install wasn't installed using any type of installer. I just extracted a zip file and shoved it in a random folder. I did make sure to run the Command Prompt as Administrator before issuing the adb shell command, but I'm still unable to get superuser access through the PC. Trying to use the adb root command gives me an "adbd cannot run as root in production builds" error.
Did I do something incorrectly?
adb kill-server
adb start-server
See if that works. If not, try rebooting your computer.
Sent from a Western Union telegram.
Does the Superuser app seem to be installed correctly on your phone ?
Do you have the output from gfree ? I wonder if it didn't work correctly with your kernel, it doesn't work with all kernels. What ROM/kernel do you have ?
Which procedure did you use, the one in the Wiki, or one involving dd'ing the eng hboot ?
steviewevie said:
Does the Superuser app seem to be installed correctly on your phone ?
Do you have the output from gfree ? I wonder if it didn't work correctly with your kernel, it doesn't work with all kernels. What ROM/kernel do you have ?
Which procedure did you use, the one in the Wiki, or one involving dd'ing the eng hboot ?
Click to expand...
Click to collapse
I rebooted the daemeon, computer, and also the phone. No dice.
The Superuser app is correctly installed. When I ran Adfree and attempted to go into SU in Terminal, I got the usual Allow Superuser access dialog. Both worked without any problems; like I said, I can get root access from the on-the-phone terminal, it's when I attempted to get root access from the adb shell command on my computer where I have problems.
No special ROMs, completely stock post-November OTA update. The only thing I flashed after permarooting was the Clockwork Recovery mod, but adb shell SU wasn't working before this. I initially used some outdated instructions (involving the use of the dd command, and the wpathis.ko or something). I read some more and learned these were out of dated, so I unrooted. I then used the instructions that are on the wiki using gfree to permroot.
gfree_verify works without any problems if I run it from the Terminal Emulator on my phone. Returns the proper values to indicate I'm SIM Unlocked, SuperCID, and S-off. I'm glad it works, but I still don't like the fact I can't use the adb shell. Typing characters on the G2 is a pain in the ass.
I still want to know why I can't enter superuser from the PC adb shell. Am I doing something incorrectly?
Thanks a lot for your help!
Try clearing data for the SuperUser app?
go in your recovery screen from boot, select your mount options, and mount everything lol. Not sure if it'll fix it but everytime I have adb permission issues that seems to fix it and I don't think it could hurt.
dietotherhythm said:
go in your recovery screen from boot, select your mount options, and mount everything lol. Not sure if it'll fix it but everytime I have adb permission issues that seems to fix it and I don't think it could hurt.
Click to expand...
Click to collapse
This worked perfectly! When I entered su from the command prompt, the SuperUser app popped up on the phone's side and I hit allow. It then let me through.
What exactly was broken though? Why did mounting everything from the Clockwork Recovery menu fix this?

have S-OFF but no root access

I have S-OFF but now temp root visionary won't work for me and I can't get root access. Can only $ using adb so I can't push files. Any help would be apperciated
Try the method in the Wiki - http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
You should still be able to push files via adb though, I don't understand your comment about getting $ with adb (don't do an "adb shell" before you run "adb push", adb is a command for running on your PC, not your phone).
Same here. I did the wiki instructions. but /data/local/root gave me the cp:not found
and /su no a directory. visionary doesnt work. and rage never works right. my "root shell" doesnt let me do su. i think i might have no su. i'm really confused why this wont work. I've done four factory resets trying the rage method and the visionary method. I have S-OFF but nothing else as far as I can tell.
EDIT: I've read a bunch of threads on this and still can't find a solution
I've read in the Rage thread that there were issues with Visionary seeing root access. I would honestly give rage another shot. It worked brilliantly for me, you just have to have ADB configured first.
I did. i get temp root but gfree wont work. i have cid and sim unlock and s off but not system r/w. and when i run /data/local/tmp/root. also my phone will randomly restart now.
steviewevie said:
Try the method in the Wiki - http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
You should still be able to push files via adb though, I don't understand your comment about getting $ with adb (don't do an "adb shell" before you run "adb push", adb is a command for running on your PC, not your phone).
Click to expand...
Click to collapse
I tried this and it didn't work for me.
Can I reflash somehow to the stock rom? I think visionary somehow messed up my phone.
I reflashed to 1.12 and rage worked!
So if visionary has messed up your /su you need to reflash to stock because your /system is messed up.
http://forum.xda-developers.com/showpost.php?p=10966727&postcount=63
had the same problem. had s-off and all that fun stuff. had to do this.

[Q] Unable to perform any su commands in adb shell

FireTV, Fire OS 5.0.5 (537174420) (developer preview)
I have tried every guide, I can push apps and install via adb, and I can access shell via adb, but I can't perform any su commands in the shell, it says su not found, or no permission etc for other commands, so I can't manually upgrade/downgrade or do anything as everything has one of these commands in there at some point, anyone know what I need to do to unlock this? I've currently just reset it to factory defaults for now. Also I've tried kingroot and tr and they both won't root/unlock the device.
Thanks in advance,
para
paradoxiumwind said:
FireTV, Fire OS 5.0.5 (537174420) (developer preview)
I have tried every guide, I can push apps and install via adb, and I can access shell via adb, but I can't perform any su commands in the shell, it says su not found, or no permission etc for other commands, so I can't manually upgrade/downgrade or do anything as everything has one of these commands in there at some point, anyone know what I need to do to unlock this? I've currently just reset it to factory defaults for now. Also I've tried kingroot and tr and they both won't root/unlock the device.
Thanks in advance,
para
Click to expand...
Click to collapse
I just ran into the same issue on both of my boxes the last couple days. Im not sure why I cant get root access either but the good thing is the disabling of the OTA updates sticks after you command it, regardless if you lose root. What I did was just re flash the pre rooted ROM. Kind of a pain but it only takes a couple mintues. After I did that, root access was back!

Categories

Resources