Can't start logcat!!! - Optimus One, P500, V General

I need logcat in adb to be able to get logfiles while testing android app on my P500!!! But when i enter in cmd:"adb.exe logcat > somefile.log"
it doesn't do anything and only creates somefile.log file that says:
Unable to open log device '/dev/log/main': No such file or directory
What is the problem? I am using PerfectPeso2.2!
i have confirmed that device is connected to PC when i type adb devices, i get serial number of my device so don't know whats the problem... got debbuging mode on, and in sdk manager downloaded all under the column "tools" and "extras"}
help please!!!

Echelonex said:
I need logcat in adb to be able to get logfiles while testing android app on my P500!!! But when i enter in cmd:"adb.exe logcat > somefile.log"
it doesn't do anything and only creates somefile.log file that says:
Unable to open log device '/dev/log/main': No such file or directory
What is the problem? I am using PerfectPeso2.2!
i have confirmed that device is connected to PC when i type adb devices, i get serial number of my device so don't know whats the problem... got debbuging mode on, and in sdk manager downloaded all under the column "tools" and "extras"}
help please!!!
Click to expand...
Click to collapse
In folder android-sdk / platform-tools / u can find ddms so run it..if u will see your connected device everything is OK and u will see after that logcat..if not your sdk instalation si corrupted or wrong..

mastershefis said:
In folder android-sdk / platform-tools / u can find ddms so run it..if u will see your connected device everything is OK and u will see after that logcat..if not your sdk instalation si corrupted or wrong..
Click to expand...
Click to collapse
thx tried that, but in that window in text column it still says that message...!?
"Unable to open log device '/dev/log/main': No such file or directory"
i read somewhere it it due to kernel logging disabled...:/ How to make enabled...?

You would need to either recompile the kernel to enable logging or install another kernel if the problem is that it isn't enabled in the kernel.
Sent from my LG-P500 using xda premium

Related

How to get ADB working...

/edit - I'm a complete idiot
You are using an out of date version of adb...
Download the android sdk and use the new version
I always keep my sdk up to date
Also, USB debugging is selected (forgot to include that )
have you tried to change the drivers manually using device manager on your pc?
the dellsync may have messed them up..
Turns out i'm a complete fool!
I had adb set up so i could run it from anywhere, but it turns out that was pointing to an old adb.exe i forgot i had.
Everything's working fine now, sorry for wasting your time guys (but thanks for your help!)
I can't get adb to work with Streak neither.
and I only have one and updated adb.exe. what version do you have (the version that suppose to work...)?
thanks
oriharel said:
I can't get adb to work with Streak neither.
and I only have one and updated adb.exe. what version do you have (the version that suppose to work...)?
thanks
Click to expand...
Click to collapse
2 quick checks
make sure java 6 is installed
debug mode on ur device
for test go in tools folder---ddms and try if your device is connected
cheers
I have "Java version is Version 6 Update 20"
DDMS shows blank.
and device is USB debug enabled
when u click ddms a dos cmd open and it dissappear? am i right
when I click DDMS (from cmd window - in windows XP), the DDMS UI is launched. the cmd window remains.
in the DDMS, I see no device attached. all empty lists and windows.
Have you installed the Dell PC Suite that's on the sdcard? That contains some usb drivers or something. Not sure if it's necessary, but it's worth a try
oriharel said:
when I click DDMS (from cmd window - in windows XP), the DDMS UI is launched. the cmd window remains.
in the DDMS, I see no device attached. all empty lists and windows.
Click to expand...
Click to collapse
have you got dell pc suit installed?
if not first install from dell website then run from ur phone sd card folder called" pc suit"
and then try first if u device is connected with pc suit

How can I change X10 design?

Hi and good morning.
I have seen on the thread, "post your X10 screen" or something like that. And I have seen some that have a different WiFi icon, battery in right corner. How do I change that? Is it custom ROMs or what?
Thanks for all help.
Sent from my X10i using XDA App
Sikiduck said:
Thanks for all help.
Click to expand...
Click to collapse
Hi.
See the tutorial link in my signature, it's really quite easy to do.
Do I have to start with ADB for noobs: http://forum.xda-developers.com/showthread.php?t=532719 and install Droid Explorer?
And then "Three tutorials for modifying your x10 OS aesthetically" and then: "framework-res Icon Pack (Modding)"?
Thanks
EDIT: Im not getting a notification of Android ADB when i plug in my USB. I have tried to download USBdeview and see if there is HTC Android, but there is not.
I have a Xperia X10i phone and the only thing that is listed is "Sony Ericsson sa0101 ADB Interface Driver" and "Sony Eri Memory Stick USB Device".
When I uninstall ADB Interface driver nothing happens. Just freeze for a couple of seconds but thats it.
Whats wrong?
Can someone help me?
Sikiduck said:
Do I have to start with ADB for noobs: http://forum.xda-developers.com/showthread.php?t=532719 and install Droid Explorer?
Click to expand...
Click to collapse
nephron said:
Hello All!
After much frustration with setting up ADB i finally got it working. Everyone said its simple and takes minimal knowledge but when things dont work, nothing really worked. Anyways after 2 hours of research trying to get ADB to work i finally got it all working and wanted to share my knowledge to anyone else that needed help.
This Guide is for windows only. If you are using Mac OS X please go here: ADB For Dummies
If you are using Linux please go here: [HOW-TO]Set up Android SDK/ADB/Fastboot on Ubuntu Linux
Like My Guide(s)? Donate
--------------------------------------------------------------------------
Things you need:
Android SDK - Download
Winrar - Download (32bit) Download (64bit)
Windows PC
USB Cable
A Rooted HTC Dream (Google G1)
--------------------------------------------------------------------------
Setting up the Android SDK
Download the file from above
Unzip to your desktop
Take the "android-sdk-windows" folder and move it to the root of your hard drive (C:\)
Right click on My Computer and click properties
Select the Advanced Tab or Advanced System Setting (Vista/Windows 7)
Select Environment Variables...
Press New
For Variable Name type: adb
For Variable Value type: C:\android-sdk-windows\tools
Now,
1. Run SDK Manager.exe located in the android-sdk-windows folder
2. If it gives you an error go to settings and click on "Force http//....."
3. Select all options and let it download and install
If you cant get the setup to work, Download the USB-DRIVERS folder - HERE (Windows XP/Vista/Windows 7)
--------------------------------------------------------------------------
Preparing your phone for ADB
Go to Settings on your phone
Select Applications
Select Development
Make sure 'USB Debugging' is checked
--------------------------------------------------------------------------
Installing Drivers
Plug in your phone through USB and DO NOT MOUNT IT!!!!!
Your computer should see a new device and try to install Android 1.0 driver (If it doesnt, scroll down to the "Im not getting a notification of Android ADB when i plug in my USB" section)
Let it load
Once it cant find them select "Install drivers from my pc"
The drivers you need are in the Android SDK 1.5r2 folder (C:\android-sdk-windows\usb_driver)
Depending on your OS pick x86 or amd64
You ADB Android Device should now be installed! Good Job
For Android SDK 1.5r7+
1. Run SDK Manager.exe
2. If it gives you an error go to settings and click on "Force http//....."
3. Select all options and let it download and install
If you cant get the setup to work, Download the USB-DRIVERS folder - HERE (Windows XP/Vista/Windows 7)
--------------------------------------------------------------------------
Check if your phone is detected by ADB
Open up Command Prompt (Go to run, type in cmd, press enter)
Type in
Code:
cd C:\android-sdk-windows\tools === Press Enter
adb devices === You should see your device listed
adb shell === you should see # in the next line
Now you are all set to run adb commands
Note: for a list of commands type in 'adb' in cmd
CONGRATS YOU NOW HAVE ADB FULLY RUNNING!
Click to expand...
Click to collapse
Sikiduck said:
And then "Three tutorials for modifying your x10 OS aesthetically" and then: "framework-res Icon Pack (Modding)"?
Click to expand...
Click to collapse
It would be an idea to read the three tutorials yes and the packs are there for you to use when you've learned how to edit apks. If the adb driver is already installed I'm not sure why you're removing it, you need it to use adb.
Hi all, I need help pls, i try SDK Manager work but I hawe problem. I fallow thys steps http://forum.xda-developers.com/showthread.php?t=532719 all works great, SDK Manager update and download all data but when I conect x10 on usb computer auto install "Sony Ericsson sa0101 ADB Interface Driver" and not the "androidwinusb86.cat" what i need for SDK Manager recognise me x10. Haw I can pls ghet install the right usb driver tu SDK recognise me x10? I need sdk for run the ADB for run JIT on me phone. PLS help thys noob thx
Or if smebody hawe som simple gude how enable JIT on X10, I welkom them, thx
Edit: win 7 ultimate 32b
btw sorry shuld by in difrend post, how enable JIT on x10.
thx
any help pls?

[Q] Total n00b to Android. I need help.

Hi all. I hope I'm posting in the right place. I tried to post on the original thread http://forum.xda-developers.com/showthread.php?t=935312, but I don't have access as I am a new member. Currently, I'm stuck. I've run SuperOneClick, but it has stopped at "Waiting for Device." I know. I just started. What have I done wrong that it's already failing? I have downloaded all the up-to-date necessary files, but I can't do anything with them because I can't get anywhere. Does the program need to be on the SD card in the phone? WHAT AM I DOING WRONG?!?! The instructions seem so simple! /about_to_RAGE_QUIT
EDIT::
Apparently my phone didn't take the debugging mode the first time. I'm now stuck on step 5. When you guys are talking about "Navigating" to the folder adb exists in, do I use PATH? If I type in the entire address of the file all the way through adb.exe, I can't type in the next line. What am I doing wrong? /n00b
Make sure you have debugging turned on. Go to menu, settings, applications, development and check usb debugging. In the same screen check for the phone to stay awake. I hope this helps you.
Sent from my LG-P999 using xda premium
RebelPro said:
EDIT::
Apparently my phone didn't take the debugging mode the first time. I'm now stuck on step 5. When you guys are talking about "Navigating" to the folder adb exists in, do I use PATH? If I type in the entire address of the file all the way through adb.exe, I can't type in the next line. What am I doing wrong? /n00b
Click to expand...
Click to collapse
to navigate to the folder, open cmd, and type the following:
cd (directory of the location)
for example:
if i wanted to navigate to my downloads folder on my computer, i would type this:
cd C:\Documents and Settings\user\My Documents\Downloads

Adb not getting install... really some please help me out.

i install sdk manager
and other files which it was mark as default
but to check if adb is installed correctly. i use cmd and enter adb devices
and i got the error " adb is not recognized as internal or external command on windows "
fine then i tried to get some help with device manager, i saw portable devices --> Xperia neo v.
and this is upto date, i stll click on update drivers --> Browse from my computer -- > let me pick manually --> Next
here i get only one compartiable hardware which name as " MTP usb device "
so i click have a disk enter this link " C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver "
The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems.
http://forum.xda-developers.com/showthread.php?t=1413293
i read this and try to help myself but
and i wont find this thing anywhere
9. Select Show all and click next
10. Click Have Disk, then Browse
11. Go to your extracted folder and go into it, until a file called android_winusb.inf is there. Double click that (NOT android_winusb_old.inf)
12. Click OK and then Next
-Note: If it says not signed, just click next anyway
13. Wait and if it says not signed, click install drivers anyway
14. Wait until it's done, then close all of your programs
15. Press the windows key and R at the same time on your keyboard
16. Type cmd and hit enter (Command prompt will appear)
17. Copy and paste the following code into it:
Code:
echo 0x0e79 >> "%USERPROFILE%\.android\adb_usb.ini
18. Type adb kill-server
19. Type adb devices, and your device should now show up
20. Hit the thanks button below
Please any of the xpert help me....:crying::crying::crying:
I forget to say i am using windows 7 64 bit
with xperia neo v 4.1 upgrated version
Qutub Uddin said:
I forget to say i am using windows 7 64 bit
with xperia neo v 4.1 upgrated version
Click to expand...
Click to collapse
Have a look at the 'basics' link in my signature. It tells you how to install the drivers properly.
Sent from my Galaxy Nexus using Tapatalk 2
I did it, adb installed in xperia neo v....
ITs alryt now....
thanx to veyka :good:
he help me with this
Google : how to add adb to your path...... this thing works for me
and i follow this steps. now adb is working fine after installation. i think people can help others with this link. and you too :good:
Qutub Uddin said:
ITs alryt now....
thanx to veyka :good:
he help me with this
Google : how to add adb to your path...... this thing works for me
and i follow this steps. now adb is working fine after installation. i think people can help others with this link. and you too :good:
Click to expand...
Click to collapse
As with any executable in windows, if you are in a different directory than the executable, you either have to provide the full path when executing it, or add the path of the executable to your windows path. This is not something specific to ADB, it is common for any executable in windows.
Sent from my Galaxy Nexus using Tapatalk 2

[Q] What is "ADB" and how to run it?

Hello all, I've been really happy with my XPS ever synce I've root it and everything is working clockwork, except there is something eating my battery.
I've used "BetterBatteryStats" app, and i've got a parcial wakelock "AlarmManager" in 1st place.
I've read that to know eacly what app is waking the phone i've got to connect the phone to a Pc, run "ADB" and type "adb shell dumsys alarm > C:\alarm_log.txt".
This will creat a log file that will show what app is generating all those wake numbers, and then unistall or limit it.
The problewm is... what is ADB.EXE??? Where can i get that program for the pc? Does the phone have to be in USB debuggin mode? If someone help me I'll post a guide to anyone in need to find the problematic apps that eat battery for others noobs out there!
Here
Sent from my ST25i using Tapatalk 2
As the above is saying you should search n read a lot... there are guides all over in net in many n here xda as well... Its a good start by learning urself from the help already here..
1. ADB is included in SDK here. get it ...http://developer.android.com/sdk/index.html
2. Here is a guide to set up SDK... http://www.talkandroid.com/guides/developer/android-sdk-install-guide/
4. Browse to folder platform-tools adb.exe is inside... but u can't just click open it.. adb is used via command prompt (cmd)
5. Easy way to open cmd to adb is Shift+ right click -> click open cmd here
6. To connect phone in adb u have to enable usb debugging mode as u said..
7.Then start typing commands....
Thank you a lot for the aswer!
I DID goodle for the answer, but I had an hard time undestanding what I should do, I'm a pharmacist, not a technician.
That beeing said, the other part of the info I posted I found using the search funcion.
Anyway, thank you a lot for that answer, I'll try it now.
s-X-s said:
As the above is saying you should search n read a lot... there are guides all over in net in many in here xda as well... Its a good start by learning urself from the help already here..
1. ADB is included in SDK here. get it ...http://developer.android.com/sdk/index.html
2. Here is a guide to set up SDK... http://www.talkandroid.com/guides/developer/android-sdk-install-guide/
4. Browse to folder platform-tools adb.exe is inside... but u can't just click open it.. adb is used via command prompt (cmd)
5. Easy way to open cmd to adb is Shift+ right click -> click open cmd here
6. To connect phone in adb u have to enable usb debugging mode as u said..
7.Then start typing commands....
Click to expand...
Click to collapse
To perform this actions, is it mandatory that phone needs to be rooted?
Because, i followed all the steps, when i executed the command in cmd prompt, i got below info
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
/system/bin/sh: dumsys: not found
What should i need to do now if phone doesn't needed to be rooted?
For using adb not necessarily ur phone rooted... but if u need to get anything insdie system folder ur phone needs root access... you can pull/push files from adb.. but it makes more easier if u do those for sdcard via windows explorer after connecting via usb..
In short its for rooted devices mostly.....
Ok, still need help on this one.
I've followed all the steps, installed SDK, phone in development, command line accepted, but then I check the log file I get this:
/system/bin/sh: dumsys: not found
So... Why is it now finding my phone? any idea? When am i supposed to connect the phone to the pc?
Thank you for the help!
Miguel Pereira said:
Ok, still need help on this one.
I've followed all the steps, installed SDK, phone in development, command line accepted, but then I check the log file I get this:
/system/bin/sh: dumsys: not found
So... Why is it now finding my phone? any idea? When am i supposed to connect the phone to the pc?
Thank you for the help!
Click to expand...
Click to collapse
dumpsys, not dumsys. With a P.

Categories

Resources