[Q] Setting up ADB Mac - issue - General Questions and Answers

I was trying to get adb to work on my mac by following this guide.
http://www.droidforums.net/forum/droid-hacks/11770-adb-mac.html
After going through it i made the bash.profile wrong (im guessing) and adb isn't working. when I try to get in to remake the bash.profile I keep getting
Code:
-bash: pico: command not found
How do i fix this?

Related

Ubuntu 8.10 x64 can't find G1

Connect my G1 with my laptop(Ubuntu 8.10 x64)
When I run the adb devices, it only said: List of devices attached
No devices line; It lists one line when I start the emulator program.
And not like the SDK for windows, there is not some folder related to drivers.
Does it support for linux x64? plz help.~
have you activated the debugger in your g1 ?
oh I remember when I was in ubuntu now
you gotta launch adb daemon as root
try this :
adb kill-server && sudo adb devices
and let me know if it worked
dixxa said:
have you activated the debugger in your g1 ?
Click to expand...
Click to collapse
Absolutely, it works fine in Vista x64 with SDK 1.1 r1
I had to do two things to get this to work (although this was on x86) -
1) Build the kernel with the Android drivers enabled. This might not be necessary; I have no idea if they are turned on in the kernels you get from the Ubuntu repository as mine has been custom built for a while, but I'm guessing that they aren't enabled by default because they are in the "staging" area as of 2.6.29.1. So these were in Device Drivers/Staging Drivers/Android.
2) Add a "50-android.rules" file to /etc/udev/rules.d that has this line:
SUBSYSTEM=="usb",SYSFS{idVendor}=="0bb4",SYMLINK+="android_adb",MODE="0666"
The idVendor is different if you have an ADP phone, I believe; this was the value worked for mine (non-dev). You can do an 'lsusb' after it's been plugged in and see what shows up. Also, try grepping /var/log/messages for "udev" after you plug it into a USB port and see if there are meaningful messages.
- Chris
Hi all,
I got similar issue here, the main difference is that i got ubuntu 9.04.
running adb daemons as root permit to see devices when it's started normally, but not when in fastboot mode.
I tried all suggestions above (and others!) without success :/
Thanks for any help
noz.geek said:
Hi all,
I got similar issue here, the main difference is that i got ubuntu 9.04.
running adb daemons as root permit to see devices when it's started normally, but not when in fastboot mode.
I tried all suggestions above (and others!) without success :/
Thanks for any help
Click to expand...
Click to collapse
copy the 50-android.rules file you created into a file called 51-android.rules. The problem is related to the order in which things are launched and copying this file to the new name will solve your problem.
I should also note that you will have to restart udev Or reboot or logout/in
to restart udev, In terminal type:
Code:
sudo /etc/init.d/udev restart
sudo is necessary~ thx
Hi all,
After creating 50-android.rules file in /etc/udev/rules.d, I can mount my sdcard on my gPhone to Ubuntu8.04 but I still see no thing when i type command : adb devices. I also did some commands which you gave here. Can anybody help me?
Thanks so much,
NPAK
npak243 said:
Hi all,
After creating 50-android.rules file in /etc/udev/rules.d, I can mount my sdcard on my gPhone to Ubuntu8.04 but I still see no thing when i type command : adb devices. I also did some commands which you gave here. Can anybody help me?
Thanks so much,
NPAK
Click to expand...
Click to collapse
Code:
$ sudo mv /etc/udev/rules.d/50-android.rules /etc/udev/rules.d/51-android.rules/code]
that should fix it ;)
Thanks,
It can work now!
I have the same problem here. adb used to be able to see my phone when I was using Ubuntu 8.10. After I upgraded to 9.04, it never worked. I tried change the udev rule file from 50-** to 51-** or as haykuro suggested to 51-**/code. I also changed the permission to 777. And I did kill and restart adb-server several times under root, but I still get nothing~~~
Can anyone help?

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

Having issue with Cygwin/Kitchen to work

Originally Posted by mattlgroff
You are probably very mad at me for this, but here it goes.
chmod is not recognized as a command (tried the fix listed for this)
clean is not an installed program (tried the fix you just said for this too... I did Install from the beginning)
Also I was following the pictographic guide exactly...
Yes, I am steaming maaaaad! !! LOL
What do you see when you type in the Cygwin prompt: echo $PATH
Is /usr/bin found in there?
I am having the same issue re installed everything still getting the clear message.
I did locate the /usr/bin in the path command. Need a little help thanks
bump

ADB

Hello, I have a problem. I'm trying to do some things from my pc in the phone with the ADB Shell and not let me.
My problem is that I put adb: not found.
I do this:
img204.imageshack.us/img204/1832/adbshell.jpg
Worth up here all right but when I have root permissions and everything working I put the commands and none let me get adb remount such or adb pull and nothing makes me adb: not found.
Thank you.
Xele said:
Hello, I have a problem. I'm trying to do some things from my pc in the phone with the ADB Shell and not let me.
My problem is that I put adb: not found.
I do this:
img204.imageshack.us/img204/1832/adbshell.jpg
Worth up here all right but when I have root permissions and everything working I put the commands and none let me get adb remount such or adb pull and nothing makes me adb: not found.
Thank you.
Click to expand...
Click to collapse
if everything is installed correctly then just make sure you are in the platform-tools dierectory eg.
c:\android-sdk\platform-tools\
yes, all is succesfully installed. I started adb shell with cmd of directory platform-tools\adb but when I put code adb remount or other command I appear me adb: not found
AlOpen task manager and see if any adb process is running. If there are kill them and try again :
Also verify that adb. .exe is in the platform -tools folder. Actually it might be in the tools folder if so try running adb from there...
Sent from my Nexus One using xda premium
Xele said:
yes, all is succesfully installed. I started adb shell with cmd of directory platform-tools\adb but when I put code adb remount or other command I appear me adb: not found
Click to expand...
Click to collapse
That's not the way to use adb, so you're not following the guide you're reading correctly.
Usually the guide won't tell you to go to the shell directly, but instead typing something like: adb shell mount -o rw,remount ...
Once you type adb shell you're INSIDE the shell you don't need to call the debugger (adb) anymore...
You shouldn't follow guides without reading them completely and fully understanding them before trying anything.
And by the way you opened two threads with the same question.
Xele said:
Hello, I have a problem. I'm trying to do some things from my pc in the phone with the ADB Shell and not let me.
My problem is that I put adb: not found.
I do this:
img204.imageshack.us/img204/1832/adbshell.jpg
Worth up here all right but when I have root permissions and everything working I put the commands and none let me get adb remount such or adb pull and nothing makes me adb: not found.
Thank you.
Click to expand...
Click to collapse
This is your second warning about creating multiple threads on the same topic. The next incident will result in infractions being issued. Thread closed.

stack corruption detected

I´m runnig a Moto G5+ (potter) 7.0 stock rom, rooted with magisk 16.
Since a few days I recognize an error when opening a terminal emulator or using adb from a windows PC and just typing the command
Code:
getprop
from terminal emulator or
Code:
adb shell getprop
from PC the output is
Code:
stack corruption detected
.
I´m not new to android and know how to flash roms or kernels and stuff like this but I´m not so good in terminal commands. I googled for it but the answers I found were a bit above my level of knowledge. Can someone help me out a bit and explain what this message means exactly and how to debug and solve it?
I was able to run this command a few weeks ago without problems, also rooted with magisk. Could it be any third party app or a setting?
Any help much appreciated.
edit: attached a log when typing getprop into the terminal emulator.
get same error

Categories

Resources