Hi,i am running vista trying to use gfree 2,seems to b everything working finr,adb starts fine,prob is when I run a cmd it says no file or directory found.please I m new on droid,please help me how to execute files through adb.
Sent from my HTC Vision using XDA App
Are you doing "adb shell" to open a session with the phone?
Yes sir;but I tried also with simply adb too.it recognize my device too;I don't know wat I m doing wrong,my phone is running desire 0.74,
Sent from my T-Mobile G2 using XDA App
Related
ok so adb is installed and working however when I do "adb shell" I get $ not # and permission denied on everything I do. Phone is rooted via VISIONary, debug on, adb recognizes device and "ls" command gives proper read/ logcat works, any help would be AWESOME!
please don't be asses I would have posted this in the [SOLVED][ADB] Won't install correctly for my G2 thread but it's locked....
thanks in advance
Did you type "su" after adb_shell?
Yes and it just hangs...
Sent from my T-Mobile G2 using XDA App
Ok so I guess this one falls under the age old "have you tried turning it off and on again" method of dealing with windows... root access achieved.
Thanks for help KShatzkes....
Sent from my T-Mobile G2 using XDA App
Hi.i am trying to set up adb on my compaq laptop vista,i tried everything,youtube videos,guides
Still dont work,please help me if there,s any other metod.any help ill bappreciated,
Sent from my HTC Vision using XDA App
Have you tried this ?
http://forum.xda-developers.com/showthread.php?t=865685
Prob solvd thanks so much.
Sent from my HTC Vision using XDA App
Please help me on this one too
Hi,i am running vista trying to use gfree 2,seems to b everything working finr,adb starts fine,prob is when I run a cmd it says no file or directory found.please I m new on droid,please help me how to execute files through adb.
Sent from my HTC Vision using XDA App
imranbandial said:
Please help me on this one too
Hi,i am running vista trying to use gfree 2,seems to b everything working finr,adb starts fine,prob is when I run a cmd it says no file or directory found.please I m new on droid,please help me how to execute files through adb.
Click to expand...
Click to collapse
Have you been through the guide that I linked above, and done all the steps to get adb setup on your PC ?
If you're having a problem with the gfree procedure it would be best if you post up a question in it on that thread. Are you sure you're typing the commands exactly as it says there ?
the only thing i wanna know how to execute files,where should i put gfree on my comp and on my phone so the adb cmd recognize it,thanks once again .adb working fine it recognize my device the only thing it dont recognize any cmds,file or directory not found..
imranbandial said:
the only thing i wanna know how to execute files,where should i put gfree on my comp and on my phone so the adb cmd recognize it,thanks once again .adb working fine it recognize my device the only thing it dont recognize any cmds,file or directory not found..
Click to expand...
Click to collapse
When you are running adb, if for example you do "adb push gfree", where you are trying to copy (push) the file "gfree" from your PC to your phone, it will look in your current directory for gfree. So given you are usually doing this at the command prompt, in Windows do a "cd" (change directory) to change to the directory where you have put gfree.
For example, if gfree is in "\users\fred\desktop", then do "cd \users\fred\desktop", then run your "adb push gfree" and it will find the file.
If you do "adb shell" does that work, does it come up with a $ prompt ? If so, then it's working and has started a command "shell" on your phone.
can someone please explain it to me very detailed? i dont understand so much from the tuts i have read.
Are you rooted and s-off`d?
Blinkydamo said:
Are you rooted and s-off`d?
Click to expand...
Click to collapse
yes, i have
Put cwmod on the root of your sd card. Download terminal emulator from the market. In terminal emulator type
su
press enter
then type
flash_image recovery /sdcard/nameofrecovery.img
press enter
Replace nameofrecovery with whatever the name of the file is.
When you reboot into recovery it should be cwm 3.0.0.5 (should be amber font)
Sent from my Desire HD using XDA App
it shows file not found, even when i write the name of the file.
From the htc stock rom, you need to do it from your pc using fastboot. It won't work with terminal emulator.
Which rom are you running?
Do you have adb installed on your pc?
If you have fastboot, put the recovery.img in the tools folder of your sdk, start up your phone to the bootloader, connect your phone with the usb cable then open a command promt, navigate to the tools folder and type
fastboot flash recovery nameofrecovery.img
Press enter then type
fastboot reboot
Should take aboot 5 seconds
Sent from my Desire HD using XDA App
pwraggcan said:
From the htc stock rom, you need to do it from your pc using fastboot. It won't work with terminal emulator.
Which rom are you running?
Do you have adb installed on your pc?
If you have fastboot, put the recovery.img in the tools folder of your sdk, start up your phone to the bootloader, connect your phone with the usb cable then open a command promt, navigate to the tools folder and type
fastboot flash recovery nameofrecovery.img
Press enter then type
fastboot reboot
Should take aboot 5 seconds
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i am running revolution HD, i just tried that and it said failed <remote: not allowed>
why must it be so damn hard? damn crap
Are you eng s off?
Try using adb shell from your command prompt then use the same commands you used in terminal emulator.
Sent from my Desire HD using XDA App
pwraggcan said:
Are you eng s off?
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i think so, http://forum.xda-developers.com/showthread.php?t=857537 i used that tut. is it so many different S-OFF's ?
Ok, with that s off method you can't use fastboot commands. Did you try the commands in adb shell?
Sent from my Desire HD using XDA App
pwraggcan said:
Ok, with that s off method you can't use fastboot commands. Did you try the commands in adb shell?
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i dont know, maybe. but im trying this now http://forum.xda-developers.com/showthread.php?t=855403 will it be a problem that i used the other S-OFF and now this?
I don't know. First try the commands in adb shell from your pc.
Sent from my Desire HD using XDA App
pwraggcan said:
I don't know. First try the commands in adb shell from your pc.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
if you mean the commands that is written in cmd, then i have already tried it, and it failed.
In the command prompt, navigate to your sdk then type
Adb devices
Press enter
Your device's serial number should show
Then type
Adb shell
Press enter
If you get a $ type su then press enter
Then enter the same commands you used in terminal emulator
Why do you want cwm 3? It's generally only for 2.3 roms.
Sent from my Desire HD using XDA App
pwraggcan said:
In the command prompt, navigate to your sdk then type
Adb devices
Press enter
Your device's serial number should show
Then type
Adb shell
Press enter
If you get a $ type su then press enter
Then enter the same commands you used in terminal emulator
Why do you want cwm 3? It's generally only for 2.3 roms.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
I just installed it now thats why i want it, but do you know how i get back to the older cwm? do i just flash it in ROM manager?
Excellent. What worked finally?
To go back to an older version use rom manager or the use same way you upgraded.
Sent from my Desire HD using XDA App
You could try this, i haven't tried it myself so don't know if it works, but read it somewhere here on xda.
Go to this path with any file manager.
/mnt/sdcard/clockworkmod/download/koush.tandtgaming.com/recoveries
And copy that file to another folder. Then copy the name of that recovery (2.x.x.x) and then rename your 3.0.0.5 recovery with the old recovery name and just copy the new (2.x.x.x) to this path. (Just say yes to overwriting the file).
/mnt/sdcard/clockworkmod/download/koush.tandtgaming.com/recoveries
Then reboot and then boot into recovery and that should have changed the cwm from old to new. The color should be orange now and not green, if still green it didn't work.
If it doesn't work just restore the old recovery .img you've copied earlier (2.x.x.x).
Regards Dousan
e: Lol you fixed it while i was typing... Nice
pwraggcan said:
Excellent. What worked finally?
To go back to an older version use rom manager or the use same way you upgraded.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i used this and then the command worked
Cool. Glad you're sorted. Good luck with cm7.
Sent from my Desire HD using XDA App
Dousan said:
You could try this, i haven't tried it myself so don't know if it works, but read it somewhere here on xda.
Go to this path with any file manager.
/mnt/sdcard/clockworkmod/download/koush.tandtgaming.com/recoveries
And copy that file to another folder. Then copy the name of that recovery (2.x.x.x) and then rename your 3.0.0.5 recovery with the old recovery name and just copy the new (2.x.x.x) to this path. (Just say yes to overwriting the file).
/mnt/sdcard/clockworkmod/download/koush.tandtgaming.com/recoveries
Then reboot and then boot into recovery and that should have changed the cwm from old to new. The color should be orange now and not green, if still green it didn't work.
If it doesn't work just restore the old recovery .img you've copied earlier (2.x.x.x).
Regards Dousan
e: Lol you fixed it while i was typing... Nice
Click to expand...
Click to collapse
Hello
just tried that worked flawlessly
thank you
I hope this is in the right place, please mode feel free to move or flame me.
I've read the guides and know what I need to be doing, but I'm having trouble with downgrading. I've downloaded the downgrade and the zip file, but once I'm in the cmd prompt the code I'm putting in is not working. I've got HTC Sync installed on my of, but.I've.noticed that the adb shell tag is not.present in the cmd prompt bar accross the top.
Now the guides require HTC sync or adb drivers. Am I missing something obvious?
Sent from my Desire HD using XDA Premium App
Waiting for the answer..
Sent from my Desire HD using XDA App
i dont think htc sync is the problem.. the problem is , do you have the android adb file ?
if you are using windows, then download the adb file here .. --> http://dl.dropbox.com/u/22096653/Android-adb.zip
extract the file (at desktop for example) , and then cmd, point to the folder ..
cd /desktop/android-adb/
only then you can use "adb" command..
Im still having trouble.
I extracted the adb file to c: along with the downgrade folder and radio tool etc.
Once in the cmd prompt i can change directory and get to
c:/downgrade
From here i just get error messages.
I tried installing htc sync to see if the drivers from that will help but i seem to be missing something.
Also i just cant get it to work on my windows xp sp2, but can get to this stage using a windows 7 sp3 laptop
Hmm.. Make 'Charge only' and 'USB-debugging'. And try again.
Already tried that.
It's wierd, although its been a while since I rooted anything I'm struggling to do the most basic part when it comes to the DHD. I rooted and flashed my G1 like a whore, but can't even downgrade this thing.
Sent from my Desire HD using XDA Premium App
i flash the htc desire z hboot now i cnt restore my back up do i need 2 go bck to htc g2 hboot i need help plz
http://forum.xda-developers.com/showthread.php?t=2348266
Sent from my Nexus 4 using XDA Premium 4 mobile app
htc g2
demkantor said:
http://forum.xda-developers.com/showthread.php?t=2348266
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
thnks im trying 2 install ubuntu on my htc g2 t-mobile but i cnt cd ubuntu on the cmd
I think you will have to give a bit more detail than this if you want accurate help
Sent from my Nexus 4 using XDA Premium 4 mobile app
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
So again, need more information
In the fifth post from that link describes the type of info you may want to share
Also in the post I linked you has a link for how to install Ubuntu on the g2 which seems to be what you want
You need to explain all what you have tried and where you got stuck along with all info pertinent about your phone
Without this all I can do is write a guide for you which you have already read so... Yeah
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
So again, need more information
In the fifth post from that link describes the type of info you may want to share
Also in the post I linked you has a link for how to install Ubuntu on the g2 which seems to be what you want
You need to explain all what you have tried and where you got stuck along with all info pertinent about your phone
Without this all I can do is write a guide for you which you have already read so... Yeah
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
(What it looks like after copied over to the SD Card)
1) Again, make sure you have your Android smartphone/tablet “rooted”!
2) You must have Android SDK installed or have access to adb.exe.
3) Make sure your Android phone/tablet is in debugging mode. Go to Settings->Applications->Development and make sure USB Debugging is checked ON.
4) Connect your Android device to your computer via USB cable and set the USB mode to “Just Charge”.
5) Your Android device should be recognized as “ADB Device” under Device Manager. If not, install appropriate drivers.
For all HTC Android smartphones/tablets (such as G2 Phone, Nexus One), you can download Windows drivers here:
HTC Windows 64-bit driver download – Click Here to Download Driver
HTC Windows 32-bit driver download – Click Here to Download Driver
6) Open up a command prompt by typing “cmd” under Start->Search programs and files.
7) Browse to your SDK directory where you installed the Android SDK:
8) Then go into platform-tools directory:
9) Type “adb devices” to double-check your Android device is recognized.
In this example, I used an HTC G2 Phone, which shows up at “HT09SR204261″. This is fine. However, if you get an empty device, that means you didn’t install the drivers for your phone/tablet correctly. (Go back to #5)
im stuck at step 10 Type “adb shell” to enter the Android shell.
"Then type “su” to enter super user mode, then type “cd /sdcard” and “cd ubuntu” to enter the ubuntu directory in your SD card of your Android device." ← this part
So your device is recognized by adb, then you type
adb shell
And you see a # after su
But when you type
cd /sdcard
cd ubuntu
What happens, does it say something like no file or directory? This would mean there is no file on SD card named Ubuntu
Maybe if you can copy and paste all input/output from cmd here
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
So your device is recognized by adb, then you type
adb shell
And you see a # after su
But when you type
cd /sdcard
cd ubuntu
What happens, does it say something like no file or directory? This would mean there is no file on SD card named Ubuntu
Maybe if you can copy and paste all input/output from cmd here
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
after i type cd ubuntu it says on my cmd "cnt cd ubuntu" thts problm im getting