I have been trying to root my nexus 5 but i am not able to connect it with laptop for that.
It shows my phone there as portable media player
Can anyone tell me how to connect nexus 5 to pc for rooting purpose?
If its a Windows laptop try the steps below.
Use a USB cable to connect the Windows PC and your phone .
Open up Device manager. You'll see the device 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 device, 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 deviced] 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 [your device] 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 ran into a similar thing using a BLU VIVO AIR - http://www.devfish.net/post/2015/07/20/android-usb-adb-drivers-for-blu-phones-vivo-air.aspx .
Healy in Tampa
This cost me some serious time. I hope it saves you the time. Frustrating. I love my BLU phones, but their level of support on this was horrible.
“Hate lawyers all you want. Unlike you, we'll never be replaced with robots. Case closed!” ― Amanda Mosher - Better to be loved than lovable ....
Related
My question
I would like to know if any of you know how to put a Xamarin.Forms/native Xamarin.Android application from Visual Studio on a physical smartwatch. I have consulted various sources, but have not made any progress. Also in Visual Studio, the smartwatch does not appear in the list of connected devices. The smartwatch is a Samsung Galaxy Watch4 and runs on Wear OS 3.2 (Wear OS 3 is again based on Android 11). I also connected the smartwatch to my laptop via a bluetooth connection, but despite this connection I still don't see the device listed (I tried it in both a Xamarin.Forms project and a native Xamarin.Android project). Furthermore, I activated the Developer Options on both the smartwatch and the smartphone, with USB debugging turned on. On the smartwatch I also turned on the 'Debug via Bluetooth' option just in case.
Required SDK tools are installed in Visual Studio, the smartwatch is linked to a Samsung smartphone. Transferring the Visual Studio app to the smartphone works without any problems, but how to put the app on a smartwatch is still the question.
Relevant software and hardware I use
Visual Studio 2022
Physical device: Samsung Galaxy Watch4 (runs on Wear OS 3.2 and Wear OS 3 is based on Android 11)
Samsung Galaxy S10+ (runs on Android 12, but I don't think this version number should cause any problem for the smartwatch, as I can pair them together, just don't know how to get the app on the smartwatch...)
Galaxy Wear App is used to pair the smartwatch with the smartphone
What I have already found or tried
In the documentation from Microsoft I also tried to follow the steps
Debug on a Wear Device
But when I get to step 4 then the first command works but on the second I get an error that the connection could not be established. If I try to run the same command again, I get another message saying that there is already a connection.
After that I can't get any further in the documentation, since the following commands only work if 127.0.0.1:4444 is not 'offline' but has the status 'device'.
In another Microsoft documentation for native Xamarin.Android wearable apps 'supposedly' the physical device should automatically be in the list of connected devices, but in this project the device is not listed, despite the bluetooth connection between my laptop and the smart watch..
Run the Android Wear app
I would really appreciate if any of you know how to do this..
Thanks for the help.
Update: 14-03-2022 15:20 [Issue solved]
I still don't know how to get the app from Visual Studio to the smartwatch via a bluetooth connection, despite following the documentation (if anyone does, please let me know). That's why I looked into how to make this work over a WiFi connection.
How did I fix it?
Enable 'Debugging over Wi-Fi' on your smartwatch device (after having Debugger Options enabled Enable Debugger Options. P.S. Somehow they're referring to build number, but you should press 5 times
on 'Software Version Number', not 7 times)
Download Android SDK Platform tools (to be able to use commands like 'adb')
Extract the file and save it somewhere on your computer's hard drive
Start the 'CMD' program in Windows
Go to (cd [..location....]) the folder where the 'adb.exe' is located (i.e. the location where you extracted the first file)
To confirm whether or not you are connected, you can run the following command: adb devices
Connect the smartwatch to the same WiFi network as your PC/laptop on which Visual Studio is located and check your IPv4 address on the smartwatch
If there is poor WiFi range/no WiFi nearby, you could also create a WiFi hotspot from your laptop to make this work
In Windows search for the 'Mobile Hotspot' feature
Enable the option: 'Share my internet connection with other devices'
Connect the smartwatch to this self-created network
Now that the smartwatch is connected, you can go back to the CMD screen
Take the IPv4 address of the smartwatch and run the command as follows: adb connect [insert the IPv4 address in between and remove the parentheses]
Run the command again: adb devices
You will now see that it says under 'attached' -> device, next to the name of your smartwatch device
If you now look in Visual Studio, you should see the smartwatch device and you can put the app on your smartwatch
If you want to neglect all connections, you can use the following command: adb kill-server
Now you no longer need to connect your smartphone to your laptop/PC with a USB connection or via WiFi, because you can now access the smartwatch directly via the internet connection.
I recently bought an arduino uno and am following the instructions to install the drivers. The instructions say I need to find COM PORTS in DEVICE MANAGER in control panel but it's not there even when I choose display hidden objects in the device manager options.
I tried going into BIOS to enable PORTS but I can't seem to find an "advanced settings" or "peripherals" menu to do so. I have an Acer Aspire 5755G-6620 laptop.
Is there some way to enable PORTS or is there another way to install the driver?...
Thanks
If there is no COM & LPT section, look under "Other Devices" for "Unknown Device".
Official Arduino Setup Guide
I am trying to install Blackberry 10 Native in my Windows 7 Machine, but somehow i am unable to install it properly, so please any one can guide me how can i install Blackberry 10 in my Windows 7 Machine.
I already downloaded Momentics IDE and also i have followed the instruction from this link
http://developer.blackberry.com/native/documentation/cascades/getting_started/setting_up.html
One more thing is that i don't have Blackberry device so i have to run mt application on simulator.
Please I just want brief guidance about how to setup all environment related to run Blackberry 10 on my Windows Machine.
Any help would be appreciated. Thank you in advance.
I am assuming Momentics installed without an issue, and simulator is the problem. You need VMware Player or some other virtual machine. You simply
Download and install VMware Player (Free for personal use)
in Momentics: where the "on:" choose "Add new target", click "Simulator", Install a new simulator and choose the version you want.
Once installed Launch simulator, go to Settings (in the simulator), Security and Privacy, Turn on development mode (you need to create password for this). I'm not 100% you need to turn on development mode on simulator but I do it anyway
Go back to Momentics (under Add new target), click Properties, enter password you used in simulator and click Connect.
Another thing that might be useful. You don't need signing keys on a simulator, but you do if you want to try on a real device. I hope you tried Momentics 2.1 beta, it's slightly better
When I try to start debugging my windows phone 8 app in Emulator WVGA 512MB the following error message is showing
The Windows Phone Emulator wasn't able to connect to the Windows Phone operating system:
The emulator couldn't determine the host IP address, which is used to communicate with the guest virtual machine.
Some functionality may be disabled.
and the emulator is always showing The Windows Phone OS is starting...
Can't understand what's the problem. Please advice.
This worked for me (found here):
follow the following steps to solve this problem
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).
At last the problem is solved.
Open Hyper V Manager
Delete all installed Virtual Machines
Delete all Virtual Switches
Restart system
Rerun visual studio
Thanks to Shiv Kumar Ganesh
I had the same problem. After a long investigation and checking the event log, learned that windows firewall is blocking the emulator connecting to the virtual machine. With that information it is simple to fix the problem.
Yes! Just navigate to Control Panel -> System and Security -> Windows Firewall -> Allow app or feature through Windows Firewall. And click on Add another app button and browse the emulator's path (typically "C:\Program Files (x86)\Microsoft XDE\8.0\XDE.exe" but may vary based on your installation location). Choose the appropriate network type that you want and add the new item.
Now go back to VS and run your application (close any emulator instance that you have opened already), everything should work fine now!
the solution that worked for me :
open Hyper V
Select ur VM and go to Virtual Switch Manager.
Select Windows Phone Emulator Internal
if your connection is Internal then , check the Enable VLAN Identification option
press F5 from VS .
good luck!
Just reboot
No magic needed. Just reboot your development machine after installing Windows Phone SDK.
what your describing is usually due to a Firewall of a third party Anti-virus.
If your using Symantec follow this procedure https://stackoverflow.com/a/26326528/4446346
If your using Windows Firewall follow this procedure https://stackoverflow.com/a/27685167/4446346
and If you'r using AVG do the following procedure:
open AVG and go to-->Options-->Firewall Settings-->Expert mode-->Advanced Settings.
Check the "Allow any traffic from/to virtual machines supported by firewall"
and click "OK".
One more thing you must do is go to the "Windows Phone Emulator Internal Switch" and uncheck "AVG network filter driver"
open Network and Sharing Center-->Change Adapter Settings-->Properties
Uncheck "AVG network filter driver"
If you are loading the emulator for the first time, it behaves just like the phone (on first boot) where it will install the initial set of apps and configure them. Which is why the first start will take a long time. You can actually open Hyper-V manager and connect to the VM you had selected at the time of initiating debug - to see the actual progress of what is happening.
Hope this helps.
You can disable Hyper-V from Program and Features and reboot your machine twice. Everything will be default. Enable Hyper-V and reboot twice and everything should be working again.
Also you can check if your vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) in Network and Sharing Center is enabled (mine was not, and I got same error like you).
Check that you have enough free space in your hard drive.
If you have a computer with a touch-screen and get this error, it can be because Hyper-V is trying to port over the touchscreen-fx to the virtual device.
This is (when found) easily corrected:
Shut down all attempt at launching virtual devices.
Go to: Hyper-V Manager->Hyper-V-settings->Physical GPU:s // Uncheck box "use this GPU with RemoteFX"
Try uninstalling vmware player 12 if you have ,I have tried several ways but nothing works until I remove it.
Hope it could help you.
I've created some Web API methods in .NET 4 / Visual Studio 2010 (and have now ported it to VS 2013 RC).
I want to consume them from a Windows CE / Compact Framework app using RestSharp.
Regardless of how I call these methods, though, I need to know the IP Address to use for the app running the Web API methods. I can access it from a browser using "localhost" and the port number Visual Studio displays when running the View for the Web API project in the browser (works fine, returns XML in Chrome).
But: how can I call it from my Windows CE / Compact Framework app? The emulator in which I run it doesn't believe that it and localhost are really on the same machine, so I can't use that, nor the machine's actual IP address as, again, it is delusional about who/where it is.
So: what is the workaround? How can I test this?
More details about this can be seen here: RFC on HttpWebRequest vs RESTSharp from Windows CE / Compact Framework 3.5
UPDATE
Vasily, my guess was that you meant for me to do this:
...but that led to this:
Note: I get the same when I choose the other option from the dropdown asociated with the "Enable NE2000 PCMCIA network adapter and bind to:" czechbox, namely "Intel(R) 82579LM Gigabit Network Connection".
And trying to install http://go.microsoft.com/fwlink/?linkid=46859 (both the 64-bit and the 32-bit flavors) slapped me with:
So tell me, I implore: Is there balm in Gilead, so that there may be joy in Mudville tonight?
UPDATE 2
In step 6 (bullet 6), I did this:
...which got me first a message that the software didn't install correctly, with the option to retry or assert that, no, everything is really fine (I chose the latter), but then this:
...IOW, I don't make it to step/bullet point 7
Then again, this Peek cat did warn, "Note that this is very much a “works on my machine” experience. If it burns your house down, don’t hold me responsible."
My house didn't burn down (I don't think - I'm not there right now), but the process to extract the file did fail ignominiously.
You can use workstation network card by the emulator. Todo it you have to select "Use installed network card" checkbox and select the card from the list. after that you can use the workstation ip.
This was helpful for me:
Windows Virtual PC and the Microsoft Device Emulator
I've had to use it more than a couple of times.
I saved the file as a PDF to my network folder, so it took me a while to find the link.