[Q] ADB command hang out - Other Tools & General Discussion

Hi All,
I am a newbie here. I issue following "adb shell getprop" adb command to retrieve device properties. This just hang out no output printed on the terminal or no prompt appears.
I then kill it at send "adb shell getprop ro.build.version.release" but it also just hang out.
I am working on ubuntu12.04. adb devices list one device which is connected.
Please help, how can I read device properties from adb (such as OS, model, manufacturer etc..)
My device is not rooted.
Many thanks!
IUA

Related

ADB freezes in Ubuntu 9.10 x64

I recently set up Ubuntu Karmic on my laptop's second hard drive, and I finished setting up Eclipse and the Android SDK yesterday. I set up ADB to work directly from the terminal without changing to the SDK Tools directory, and it works... kind of. I can get some ADB commands working, but most others won't. The only things that really work are "adb help" and "adb devices" at the moment. "adb install", "adb push" / "adb pull", and other similar commands seem to register, but then nothing happens after that- the terminal freezes, and inputting keys shows other characters. ]]^A and stuff like that. Can anyone help?
Ubuntu 9.10x64 adb works with sudo
$ sudo adb push...
I usually make sure the first adb command I use is sudo'd so it starts the daemon as root.
adb help - does not send any data to your droid. It's internal
adb device - shows which devices are on the USB bus.
The other adb command need to talk to the devices and depending on how your udev protections, device protections, and your personal group memberships are... it may not work.
sudo works for me always.
Ehud

[Q] AlphaRevX causes adb to report ???? as serial number

I ran AlphaRevX on my Desire S which was successful; I am now S-OFF. Unfortunately, when I plugged my phone in to do some development this evening, adb gave the following:
Code:
$ adb devices
List of devices attached
???????????? no permissions
emulator-5554 device
$ adb -d shell
error: insufficient permissions for device
As you can see, the serial number has gone, and trying to enter a shell causes an error.
Interesting, if I go into the "About Phone" section in the settings menu I can see the serial number. I also have the number stored on my pc, I don't know if this is of any use.
Anyone have any ideas?
Try alpharevx irc channel, link is on there webpage
Sent from my HTC Desire using Tapatalk
okey666 said:
I ran AlphaRevX on my Desire S which was successful; I am now S-OFF. Unfortunately, when I plugged my phone in to do some development this evening, adb gave the following:
Code:
$ adb devices
List of devices attached
???????????? no permissions
emulator-5554 device
$ adb -d shell
error: insufficient permissions for device
As you can see, the serial number has gone, and trying to enter a shell causes an error.
Interesting, if I go into the "About Phone" section in the settings menu I can see the serial number. I also have the number stored on my pc, I don't know if this is of any use.
Anyone have any ideas?
Click to expand...
Click to collapse
Have you tried running it as administrator?
I just realized what the problem was when I plugged in another usb device which also performed strangely. I had accidentally reset my udev rules in a restore which I performed earlier today.
Sorry for causing trouble.
I had trouble connecting my phone to eclipse dev environment on Ubuntu yesterday.
After S-Off with the Alpharez utility.
dmsg showed the usb device could not be mounted.
Rebooted phone and it was back to normal.
Gordon

[Q] ADB Push not working

My "adb push" command is not working. When I type it in, the command prompt seems to run "adb help". No error message, just the list of possible commands. See the attached screenshot.
Does anybody know what's happening?
Computer: Windows 7
Device: Verizon Galaxy Nexus (toro)
Version: 4.2.2​Kernel Version: 3.0.85-franco.Kernel-nightly​Build: JDQ39​
The "adb push" command is used to push files to your device.
Typing "adb push" won't do anything besides displaying all the adb functions.
To push something, your command must be something like "adb push whateverthefileis system/bin" the "system/bin" is the destination where it is to be pushed, for example if you want to push an app you do, "adb push android.apk system/app"
Make sure your drivers for phone is installed properly.
IF I HELPED HIT THANKS
Click to expand...
Click to collapse
Sent from my Nexus F...Fi...Fii...Ahem...*clears throat*... Five.
solution???
Did you put your phone in recovery mode first?
krishneelg3 said:
The "adb push" command is used to push files to your device.
Typing "adb push" won't do anything besides displaying all the adb functions.
To push something, your command must be something like "adb push whateverthefileis system/bin" the "system/bin" is the destination where it is to be pushed, for example if you want to push an app you do, "adb push android.apk system/app"
Make sure your drivers for phone is installed properly.
Sent from my Nexus F...Fi...Fii...Ahem...*clears throat*... Five.
Click to expand...
Click to collapse
I had typed in the correct syntax for the command, but will try updating drivers. Thanks!
ADB push just scrolls commands
I am trying to use ADB with telnet to root my Droid Maxx. I have been desperately trying to use Jcase's method. All my commands work, except the push command. I can telnet, my drivers are all up to date, my phone is on debug, install unknown sources etc...Everything seems to be in order, but the su and RockMyMoto.jar will not push, just a scrolling of commands. Any help would be most appreciated.
Thank you

[Q] Video screen recording help

So, I'm trying to get the screen recorder to work while tethered using ADB. I have tried a few apps but the quality once uploaded is greatly reduced.
ADB is recognizing my phone just phone and serial # appears when typing adb devices. When I proceed with the command, adb shell screenrecord /sdcard/"name of file".mp4 and enter nothing happens.
According to different tutorials I've read adb shell deamon should launch prior to recording but nothing ever happens.
Any help would be appreciated!
lt1pnyklr said:
So, I'm trying to get the screen recorder to work while tethered using ADB. I have tried a few apps but the quality once uploaded is greatly reduced.
ADB is recognizing my phone just phone and serial # appears when typing adb devices. When I proceed with the command, adb shell screenrecord /sdcard/"name of file".mp4 and enter nothing happens.
According to different tutorials I've read adb shell deamon should launch prior to recording but nothing ever happens.
Any help would be appreciated!
Click to expand...
Click to collapse
Do you have the latest SDK? (and USB debugging is enabled on your phone?)
Is ADB devices command returning your device's serial?

ADB Emulator 5554 offline

When I connect my pixel to my pc and go to adb, i'm seeing 2 devices on "adb devices" prompt
xxxxxxxxxxxx (the model for my phone)
emulator 5554 offline
this is since i updated my pixel xl onto Oreo.
I can use -d for adb commands, but the presence of the offline emulator means i can't fastboot command as it wont accept the -d in the string to select the phone.
I've checked online (lots) to try to see how to remove it, but does anyone have any ideas how i can remove the offline emulator (i don't even use an emulator) from my adb devices?
same problem here, and I don't have bluestack!

Categories

Resources