How to get a logcat using ADB from a sonim xp7 device - android

I've been trying to extract a logcat from a sonim xp7 device. I turned on developér options and USB debug, instaled the USB driver for windows and the adb from the android adk both on linux and windows, but in both systems when I type adb devices on the comand line (Already set adb as system variable) the return is nothing even with the device connected (Works for another device samsung s5 and a LG but not with the sonim xp7). Anyone knows how to make the adb work for this device?

I just got a Sonim XP7 IS device, and here is how I successfully installed the ADB interface driver on Windows 7 X64:
make sure you have got the Google USB driver from Android SDK:
This is how the phone shows in your device manager:
Select "Browse my computer for driver software"
]3
Right click on that exclamation marked device, select Update driver software. And choose "Let me pick from a list of device drivers on my computer". (Ignore the upper half's browsing for driver location stuff)
Select "Have Disk" button:
You can copy & paste the Google USB driver location here (On my computer it's "C:\android\sdk\extras\google\usb_driver"), you select "Browse" button and choose the location.
Now you have some option to choose, please choose "Android Composite ADB Inteface".
Probably you got a warning because of compatibility risk. Press "Yes" to confirm.
Now you need to confirm again to install this "Google Inc. Android Phone" device driver.
You have done the driver software installation for: Android Composite ADB Interface.
Go back to your device manager and double check the device "Android Composite ADB Interface" is working now.
Now go to command prompt, type "adb start-server", your phone probably will prompt for RSA fingerprint confirmation, remember to select "Yes" otherwise the adb device list will show it as "Unauthenticated".
If you don't see the fingerprint confirmation prompt on the phone, unplug the cable, and plug it again, it should come, double check with "adb devices" in command prompt.

Download universal adb driver from the following link
http://googleweblight.com/?lite_url=http://adbdriver.com/&ei=Ho-htPxw&lc=en-IN&s=1&m=853&ts=1435775034&sig=AG8Ucul1mSgYkNHuK-mv8n8xYcMkCw3JOw
Open the driver software, keep ur device connected with system.., and install the driver.
Now close the command prompt, open again and check with adb devices command.

Related

Android Studio cannot find my device ! (Initializing ADB)

I'm struggling to connect my device(Galaxy S10) in Android Studio.
I used several methods to solve this problem, but it didn't work.
[Methods that I tried]
- Delete all android studio files and re-install it. ( gradle, sdk, etc.... )
- Add the PATH ( C\users....\Android\Sdk\platform-tools )
- Re-install the USB driver.
- Reset the adb using cmd. ( adb kill-server , adb start-server )
As you can see in the picture.
The connection assistant in Android Studio can find the Galax S10, but I cannot connect.
Please help me to solve this problem.
This issue not created by android studio or gradle file. Actually this issue is caused by adb drivers.Let install adb drives manually in your device. then check connect mobile with android studio.
try installing adb driver from samsung's website Link
Please check the following things to remember for connecting your phone.
Always install the driver from a trusted source.
Developer mode should be activated and USB debugging mode also enables.
Please make sure some devices require to set USB settings to file transfer mode.
In some rare cases after connecting the device we have to restart the ADB.
Step to restart ADB in Window:
Go to the task manager and search for ADB and end that task.
Step to restart ADB in Ubuntu:
Go to the System Monitor and search for ADB and kill that task.
Now go to Android Studio and try to select devices from the device list panel. And hopefully, you will be able to see your connected device.
NOTE : Connect the device to USB file transfer before kill the ADB and do not disconnect your device after killing ADB
There are many reasons why Android Studio doesn't see mobile phones.
One of them is a problem with the ADB Interface driver. You can check it in your Device Manager:
To solve this issue, follow these steps :
Connect your mobile phone with the PC using the cable and Enabled the Developer Option and USB Debugging, which you normally do
Download this Android SDK
Unzip the Zip file and go to the android-sdk-windows folder -> Run SDK Manager.exe with admin privileges
Search for Google USB Driver, Put a checkmark on it and click on Install packages... button
( Now the driver is downloaded but it won't install automatically. We will do it manually in the next steps. )
Open the Device Manager (Right-click on the Start menu -> Device Manager)
In the Device Manager locate your Android device. Then right-click on it and select "Update Driver Software".
Select "Browse my computer for driver software".
Select "Let me pick from a list of device drivers on my computer".
Select "Show All Devices" and click on the Next button
Press the "Have Disk" button.
Enter the path to the Google USB driver. ( To know where your Google USB Driver downloaded, just hover your mouse on it you will find the path/location ) [See the below image]
Select "Android ADB Interface" from the list of device types.
Confirm the installation of the driver by pressing "Yes".
Confirm the installation again by pressing "Install".
When the installation is done, press "Close".
Now, your Android device will be picked up by the Android Studio :)
For me it was the matter of a wrong USB cable :/

Can't install Google USB drivers for Kazam 348 on WIndows 10

I tried to install the Google USB drivers needed for Android development on my Windows 10 PC. But for some unknown reason it fails.
The phone (Kazam Tornado 348)ships with an option to enable the phone as a virtual CD ROM. When I do so I can se an "Install" file that should install the needed drivers. However they fail without any further details.
I then wrote a mail to Kazam and asked the for new drivers - however they say that they do NOT have any drivers and I should ask Google !!!!! Funny !
On Googles development site I downloaded the "generic" USB drivers. They install but I can't update my Tornado 348 driver through the device manager. It simply says that no valid drivers was found.
I also looked through the list of OEM suppliers - but Kazam is no listed.
One final notice - I can see that the drivers supplied on the Virtual CD ROM is from Media Tek. Also think they supplied the CPU in the phone. But searching their homepage for a driver not give me any result.
Anyone else out there with a Kazam Tornado 348 that is working in Windows 10?
The USB actually work - but is marked with a yellow exclamation mark. So I can see the phone in the file explorer. But in the device manager I can see that there is a problem - and also in Visual Studio it will not show as a device I can use for testing my code.
BLU VIVO AIR had same issue.
Use a USB cable to connect the Windows PC and your phone . Open up Device manager. You'll see the your phone show up in "Other Devices" as unavailable.
Download and install the Google Generic USB Driver from http://developer.android.com/sdk/win-usb.html#top . Note down and remember the location where you install the google driver to.
Right mouse your phone select Update Driver Software…
Select "Browse for driver software on your computer"
Navigate to where you installed the Google USB Driver software
Select "Let me pick from a list of device drivers on my computer"
Select "Show all devices"
Select "Have Disk"
Navigate to where you installed the Google USB driver, select the android_winusb.inf file
In the Update Driver Software - YOUR PHONE dialog select "Android ADB Interface"
Ignore the "Update Driver Warning" message.
You will now see the Android Device -> Android ADB Interface in Device Manager, and VIVO AIR will be gone from "Other Devices". You should now also be able to turn on things like USB/Mass Storage Mode on the phone so you can view files from Windows Explorer as well as debug to the device.
I blogged about getting the generic google usb driver to install here with step by step and no funny links or ads - http://www.devfish.net/post/2015/07/20/android-usb-adb-drivers-for-blu-phones-vivo-air.aspx .

adb devices - No device attached

I need to see my Nexus 7 on the adb devices list.
Although I enable the "" USB debugging "" on the device, but when I try to see the "" adb devices "", then no device is attached?
First you have to download Google USB Driver
Connect your Android-powered device to your computer's USB port.
Right-click on Computer from your desktop or Windows Explorer,
and select Manage.
Select Devices in the left pane.
Locate and expand Other device in the right pane.
Right-click the device name and select Update
Driver Software. This will launch the Hardware Update Wizard.
Select Browse my computer for driver software and click Next.
Click Browse and locate the USB driver folder. (The Google USB
Driver is located in \extras\google\usb_driver.)
Click Next to install the driver.
I know that you've already received right answer. But for those who meet the same error I advice to look for "Revoke USB debugging authorizations" in Developers options on your device. Sometimes it really helps! Especially if everything worked fine before in another OS.
Case study (on my WXP SP3... yes I still use it..), phone AllView V2ViperE, Android version 5.1:
If you continue to have no devices attached (although Android Composite ADB Interface is OK in Device Manager.. I mean without the yellow "!"), the root cause could be the adb server.. Workaround: download a new adb release (e.g: http://www.androidro.ro/descarca-si-instaleaza-driveri-adb-pentru-telefoanele-allview/).. I choose V1 Viper S.. unrar and run adb-setup-1.4.2.exe which will create the C:\adb\ directory:
C:\adb>dir
Directory of C:\adb
12/11/2016 03:23 PM <DIR> .
12/11/2016 03:23 PM <DIR> ..
10/19/2014 02:18 AM 1,009,664 adb.exe
10/19/2014 02:18 AM 96,256 AdbWinApi.dll
10/19/2014 02:18 AM 60,928 AdbWinUsbApi.dll
10/19/2014 02:18 AM 196,608 fastboot.exe
4 File(s) 1,363,456 bytes
2 Dir(s) 6,116,716,544 bytes free
C:\adb>
Now just run:
C:\adb>.\adb devices -l
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
DQBMWGSC9HT8CQ7D unauthorized
//V. in this stage allow USB debugging on the phone, then just run again:
C:\adb>.\adb devices -l
List of devices attached
DQBMWGSC9HT8CQ7D device product:V2_Viper_E model:V2_Viper_E device:V2_Viper_E
C:\adb>.\adb -d shell
shell#V2_Viper_E:/ $
Eclipse/LogCat also come alive.. Voila.. Vive la Roumanie.. Now I'm struggling with ndk debugging..

Unable to install correct driver for Android device not getting detected in DDMS?

I am not able to install USB-driver from "sdk/extras/google/usb_driver" and also am unable to do so using an external driver for my Sony mt27i device.
Where can I get the correct drivers for my Sony mt27i device?
Hello user3059993,
try to fellow some sequence of steps.
1)Go to device manager
2)than Usb Device
3)Right click on your connected device and click on update driver
4)there will secondary option to browse the drive here give the path
of google usb driver
or
fellow this link-
http://developer.android.com/tools/extras/oem-usb.html
i think it will work after that,thanks
I would recommend to install SnapPea in your PC which detects most number of Android devices. I was having a Tablet from China whose drivers where not there, so even that was detected by SnapPea. It will automatically ask you to download SnapPea for mobile also. Its great to have only one installation for all drivers.
Please take a look on this docs
http://developer.android.com/tools/device.html
try the below steps
1.on the device reset debugger options.. this might work
or
1.go to "device manager settings"
2.select your device and "update driver"
4 select "browse my computer for device software"
5.select "Let me pick from a list of device drivers on my computer"
6.Select " Your mobile device MTP " from the popup or the driver related to your device.
This will setup your device again.. and will be ready to use
Using Ubuntu
you can try the following commands
adb kill-server
adb start-server
adb devices
These commands also work on windows command prompt
Install drivers from: http://developer.sonymobile.com/downloads/drivers/
To detect the device by adb, you need to set the device USB mode to Mass Storage Mode (MSC). See settings - xperia connectivity - usb connectivity

windows 8 android usb driver

I have installed Windows 8 release preview
and I cant install android USB drivers, it says this:
and
"the third party INF does not contain digital signature information"
what to do?
Disable device signature confirmation on Win8 and follow the guide here. www.androidsim.net/2009/08/how-to-1-how-to-install-usb-driver-on.html
I had the same issue a while ago. Seeing that the USB driver hasn't been updated since, the simple (and probably unsatifying) answer is revert back to windows 7. I've seen some scetchy drivers around but not for your device.
Windows 8 is still in preview/developer stage and I doubt we'll see proper drivers until it's closer to release. Just keep checking the SDK Manager and try again when the USB driver has an update.
Disable driver signing
Run Command Prompt as an administrator
Paste and run the following commands:
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
or:
Win+c => parameters => Shift + restart and then like a links below...
http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode
http://www.fotoclubinc.com/blog/how-to-disable-driver-signature-enforcement-to-allow-installation-of-windows-7-printer-drivers-on-windows-8/
I had the some problem, and this how I fixed it.
On windows 8, Hold any SHIFT on your keyboard and Click Settings on the right corner of your PC or laptop, than the Menu bar of Settings will appear, than click Power, than click restart
You will see the Choose an Option, than you choose Troubleshoot
Under Troubleshoot choose Advanced options, and Under Advanced options choose Startup Settings, than click Restart, than press 7. After your PC or Laptop restart your will be able to Install Android ADB Drivers or any Drivers
I hope this will help you too
BLU VIVO AIR had same issue. I blogged about getting the generic google usb driver to install here with step by step and no funny links or ads - http://www.devfish.net/post/2015/07/20/android-usb-adb-drivers-for-blu-phones-vivo-air.aspx . Windows 8.1 ....
Use a USB cable to connect the Windows PC and your phone .
Open up Device manager. You'll see the BLU VIVO AIR show up in "Other Devices" as unavailable.
Download and install the Google Generic USB Driver from http://developer.android.com/sdk/win-usb.html#top .
Note down and remember the location where you install the google driver to.
Right mouse the BLU VIVO AIR, select Update Driver Software…
Select "Browse for driver software on your computer"
Navigate to where you installed the Google USB Driver software
Select "Let me pick from a list of device drivers on my computer"
Select "Show all devices"
Select "Have Disk"
Navigate to where you installed the Google USB driver, select the android_winusb.inf file
In the Update Driver Software - VIVO AIR dialog select "Android ADB Interface"
Ignore the "Update Driver Warning" message.
You will now see the Android Device -> Android ADB Interface in Device Manager, and VIVO AIR will be gone from "Other Devices". You should now also be able to turn on things like USB/Mass Storage Mode on the phone so you can view files from Windows Explorer as well as debug to the device.

Categories

Resources