[Q] ADB not found while rooting HTC Tattoo - General Questions and Answers

First to say that I'm a total newbie into this.
I'm trying to update my HTC Tattoo to Android v2.3 CyanogenMod ROM. I followed his tutorial but I got stucked on one part.
During the rooting it all goes fine untill I arrive to step 7. I type exit to exit a shell and after that when I want to type adb push su /data/local/bin/ it says adb: not found.
I googled some solutions and searched even here on forum but didnt find acceptable hints how to solve this.
And yes when when I type adb devices it comes up with one device.

Related

n00b rooting assistance - modified su utility

Hello all,
I've been a bit of a lurker this last couple of weeks since I ordered my HTC Magic and managed to last about a week after receiving it before trying to root it. I think the main part (taken from the Magic rooting wiki) went fine as I now have root from adb on my desktop PC.
However, in following the instructions for root access on the device from this page I seem to have come across a problem.
First of all, I can follow the instructions fine (most of the time I only get an echo of my command from adb), even getting the same su permissions as in the wiki, i.e.:
Code:
-rwsr-sr-x root root 76200 2009-05-30 11:28 su
However, giving the 'sync' command when asked to in those instructions gives me just an echo back of 'sync' (this may be normal, I'm not sure) and then when I enter "reboot" at the prompt the reply I get is "reboot: not found".
Even if I manually reboot the phone after this point, I still cannot get root at the terminal emulator on the phone.
So I have two questions: Firstly, does anyone know where I'm going wrong?
Secondly, is local root access necessary for flashing a new ROM (e.g. Ion) or is it only required for root apps (e.g. tether/overclocking apps)?
Bump bump...?
drewstiff said:
Hello all,
I've been a bit of a lurker this last couple of weeks since I ordered my HTC Magic and managed to last about a week after receiving it before trying to root it. I think the main part (taken from the Magic rooting wiki) went fine as I now have root from adb on my desktop PC.
However, in following the instructions for root access on the device from this page I seem to have come across a problem.
First of all, I can follow the instructions fine (most of the time I only get an echo of my command from adb), even getting the same su permissions as in the wiki, i.e.:
Code:
-rwsr-sr-x root root 76200 2009-05-30 11:28 su
However, giving the 'sync' command when asked to in those instructions gives me just an echo back of 'sync' (this may be normal, I'm not sure) and then when I enter "reboot" at the prompt the reply I get is "reboot: not found".
Even if I manually reboot the phone after this point, I still cannot get root at the terminal emulator on the phone.
So I have two questions: Firstly, does anyone know where I'm going wrong?
Secondly, is local root access necessary for flashing a new ROM (e.g. Ion) or is it only required for root apps (e.g. tether/overclocking apps)?
Click to expand...
Click to collapse
I have the same problem "reboot: not found" and I can't get su in terminal. I followed the EXACT instructions in the Wiki, on two brand new phones, and get the same result. Someone please advise.
One other thing: I noticed that the original su has -rwsr-xr-x permissions (instead of -rwsr-sr-x), and I am relly sure I didn't do anything to it. Does it make any difference? Are these things related?
I have this problem as well the reboot command doesn't work on my Magic either...
i believe the reboot command was taken out of 1.5
but so what. just switch the phone off. home-on. select reboot

HELP

I am trying to put fm radio on the droid 2 but when i try to adb remount under adb shell i get adb not found. But before i do adb shell i can see my device. HELP!!!!!
Resolved
Hello!
First off, please make sure that your topics actually state what your issue is. Typing "HELP!" for a topic won't get you the response that you want, because many people skip these threads.
Okay, do you mean that you are not able to adb remount while you are IN the shell? This makes sense, because adb is an application that allows you to access your device in a Linux terminal style. If you need to use adb to remount the device, you must first exit your shell..
$exit
C:\android-sdk\adb remount
As an example. I hope this helps!
- Andy
i try but i get permission denied
[APP] FM Radio for the Droid 2!! - Page 2 - xda-developers
These are the complete start to finish exact instructions.
i got it. i just had to put the bootstrap on it so would recognize i had root.
You should edit your topis to issue resolved

"ADB Shell" gives me "#" instead of "$" when rooting MyTouch Slide, why??

"ADB Shell" gives me "#" instead of "$" when rooting MyTouch Slide, why??
trying to root my MyTouch 3G Slide. Ive tried various methods from different sites to do it but they all seem to come down to running something called "ADB Shell". On the screenshots, it seems to always give you a $ prompt. When I do it, I get a # prompt. Also, anything I type after that is just repeated back to me along with another # prompt. I find where other people get the same problem but cant find any solutions with it. What am I doing wrong?
kellyjaye said:
trying to root my MyTouch 3G Slide. Ive tried various methods from different sites to do it but they all seem to come down to running something called "ADB Shell". On the screenshots, it seems to always give you a $ prompt. When I do it, I get a # prompt. Also, anything I type after that is just repeated back to me along with another # prompt. I find where other people get the same problem but cant find any solutions with it. What am I doing wrong?
Click to expand...
Click to collapse
In Linux and Unix systems (Android Included) a # (Pound Symbol) signifies Root level access or su (Superuser) so since you're rooting your device this means you have done it, $ appears for any other user of the system
i have the same problem too. I'm using window xp and it giving me the # symbol instead of $. any suggestion to fix it? i have checked all the drivers, slideroot files are in androidsdk file
like Captainkrtek said, if you're getting a # for your adb shell, you ARE rooted.
root shell should look something like this:
Code:
$ adb shell
#

[Q] LG Optimus V: Stuck on "Waiting for device..." on SuperOneClick

Hey guys, this is my first post, and I just wanted to say first off that all of you who have figured out how to root phones are awesome! Because of xda-developers and androidforums, I helped a friend root and put cyanogenmod 6 on his HTC Hero (cdma).
Anyway, I'm trying to put Zefie's CM7 on my LG Optimus V, and I'm stuck. First off I'm trying to root my phone. I'm following this guide: [How-To] Root the LG Optimus V on Android Central (I'd post the link, but the system won't let me since I'm a new user.). Usually I'd follow the instructions step by step, but I had to make some changes. I see this guide is written for Windows, but I'm running Ubuntu 10.10. After doing a lot of searching I was able to figure out that I had to install the Linux version of the Android SDK and use mono to run SuperOneClick.exe. That part was easy since I have a good knowledge of Linux and how it runs. The part that I'm stuck at is performing a Shell Root. When I click on Shell Root, SuperOneClick is stuck at "Waiting for device..." It's been like this for a while. If I click on Root, it gets stuck at "chmod psneuter..." Either way it's stuck and I don't know what to do.
Just to let you guys know, I have USB Debugging turned on, and I'm running Android version 2.2.1.
When I rooted my friend's HTC Hero, all I had to do was run a downloaded apk onto his SD card and run it, and then it would instantly root it. Is there a similar apk for the Optimus V? If not, is there a way I can manually root it via the terminal? Anyway, I'm stuck and would appreciate any suggestions or comments. Don't forget, I'm running Ubuntu 10.10, so some issues may arise since the tutorial was meant to be run on Windows machines.
Later tonight I'm going to try to root my phone at my friend's house since he has a computer running Windows XP. Hopefully I can get some better progress on his computer instead of mine. Thanks in advance for all your help!
Okay, nevermind. I did a little more searching and found a way to root my phone without running SuperOneClick.exe. I'll post if I have any more problems.
Well I spoke too soon. Here are the steps I followed to get to a # prompt in adb:
./adb push psneuter /data/local/tmp
./adb shell chmod 777 /data/local/tmp/psneuter
./adb shell /data/local/tmp/psneuter
I then did the following commands:
adb shell
mount -o remount,rw -t yaffs2 /system /system
exit
adb push su /system/bin
adb push busybox /system/bin
adb shell
cd /system/bin
chmod 4755 su
chmod 555 busybox
exit
adb reboot
After rebooting the phone, I installed Superuser and TitaniumBackup. I opened TitaniumBackup and it gave me an error stating that it could not acquire root privileges. I know for a fact that my phone has su and Busybox installed on it and have the correct permissions.
What bugs me even more is that when I run su via the adb shell root prompt or a terminal emulator on my phone, it returns the following error:
link_image[1997]: failed to link su
CANNOT LINK EXECUTABLE
What's up with that? I did find out that some people have had issues with Android 2.2.1 on their phone, and unfortunately that's what my phone had when I bought it about a month ago.
Okay, I figured it out finally and have my phone rooted. I had to run SuperOneClick.exe on my buddy's Windows computer. Instead of doing a Shell Root, I just clicked Root and it rooted. Now I'm stuck at figuring out how to do a Nandroid backup. I backed up everything using Titanium Backup, but I know I want to make a backup rom in case something goes wrong during the flash. What are the steps to performing a Nandroid backup?
Lol nevermind. I got Zefie's CM7 up and running this morning.
Nandroid is made using recovery. Glad you got it working
Sent from my VM670 using XDA App
bhambalek said:
Okay, nevermind. I did a little more searching and found a way to root my phone without running SuperOneClick.exe. I'll post if I have any more problems.
Click to expand...
Click to collapse
I am having the same problem as you, can you link me the other method?
EDIT: I do see the instructions in the next post, however where did you find them and get the files?

Rooting Droid X2, permission denied

I'm following this guide to root my Droid X2:
http://forum.xda-developers.com/showthread.php?t=1234907
It gives some info on things I needed into install, including the Android SDK/related driver, changing my phone's development settings, and a few guides on how to use the SDK.
However, when in the command prompt, I get permission denied as I try to follow the guide. I googled for solutions but everyone else with this problem seems to have already rooted their phone. One other guy also has this problem, and he posted in the Droid X2 forum, but nobody answered.
Anyway, I open the command prompt and type this in:
cd c:\adt\sdk\platform-tools
adb.exe
I am now able to do some commands with my phone, like "adb reboot", the phone listens to me.
But when I do step 3 of the guide, I do this
adb shell
su
I get "permission denied". Help?

Categories

Resources