how to connect via terminal - Shift Development

hi guys i could use andriod 4 in my htc shift
i get my 3g working after i did lsus in my terminal in android and i get that connection
bus 003 device 002: id 0bb4:0303
so how can i make that connection work in android to use internet
thanks ,,,i am not well developer so i need some detalis
thanks

Related

ADB error: device not found

Ok here's the deal...
Im running XP 32bit, and ever since I installed 5.0.2h my ADB Interface entry is missing from the Device Manager.
I'm constantly getting error: device not found when trying to connect through the command prompt and the device is showing up as a "disk drive" and under the USB Controllers as a "mass storage device" in the device manager.
No matter how many times I uninstall these, and delete the entries from the registry, it automatically adds it as a disk drive every time I connect.
I then successfully try to manually add the ADB driver and it constantly comes up saying the "device cannot be started"
Anyone find a solution to this problem?
Thanks.
Hmm. Rebooting, then disabling and re-enabling Debug Mode did the trick.
Weird.
when im trying to push font do i got into fastboot mode? because when i do then go into cmd and type adb remount it keeps sayin device not found
Ok.
I was running Ubuntu 11.04 64 bit.
Because of this, I wiped the system and am now running Ubuntu 12.04.
The issue persisted.
I did install the lib file, I forget the name, but it did install successfully.
I have an android rules file, labeled 51-android.rules, with +w+r+x access
{
SUBSYSTEM=="usb",ATTRS{idVendor}=="0bb4",MODE="0666",OWNER="root"
}
I have fully updated my SDK
I have set the path correctly for ADB.
When I plug in either my G1 or a MyTouch 3G, and run the command adb shell I get:
error: device not found
When I run the command $ adb devices I get:
List of devices attached
Debugging is enabled on both phones. I tried only the MyTouch 4G on another computer but am getting the same result.
My goal, as a noob, is to try my hand at App development. I know the AVD is a good resource but trying it live is nice.
I have rebooted the handset and restarted debugging.
The handsets are charging when plugged in.
Probably need to download the proper drivers
Sent from my HTC Vision using xda premium
I did not think Linux needed drivers.
Where you meaning that you sent me the drivers? Sorry friend.
I really appreciate the help.
to my understanding all operating systems need drivers, they just tend to come with them. im guessing you may have the wrong ones being recognized when you plug in your phone. try manually installing the right ones from the sdk website or updating all the drivers found in your sdk manager
---------- Post added at 05:37 PM ---------- Previous post was at 05:34 PM ----------
well felt like checking on this, here is the first link i found in a google search, looks like you will find your answers here
http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/
@ demkantor
Your the MAN! Thank you sir. To be honest I am running out now to class, but I did skim through it and it looks very good. I am pretty sure my answer is in this list somewhere.
Now, I did a QUICK google search, and ill get back to it sometime this weekend, but off the top of anyone's head, do you happen to know the 51-android.rules line for precise pangolin? It refers to different ones, but I know its new and its not on that list. I have an HTC device so I know to use 0bb4 as the vendor ID.
This is a great forum, thank you guys.
http://www.joescat.com/linux/android_rules.html
This has been great information. I think I am getting closer to an answer.
I ran through both documents. Good information in there big time, Ill be keeping them handy.
Still, even after setting the rules and everything, I do not show a device. In fact, I tried even my very old G1 and am getting the same results
When I run lsusb (as root) I am getting no devices beyond the usual:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 04f2:b090 Chicony Electronics Co., Ltd
Bus 006 Device 002: ID 04d9:1203 Holtek Semiconductor, Inc. Keyboard
Bus 006 Device 003: ID 0461:4d42 Primax Electronics, Ltd
Keyboard/Mouse/Hub. Even after plugging and unplugging the handsets I get the same result. This is the 2nd cable I have tried and both phones actually do charge, though even still I am not getting the SD option either, much less debugging. I tried this on another computer at work that I test other devices on and I am getting the same results.
Thank you again.
---------- Post added at 03:14 AM ---------- Previous post was at 03:07 AM ----------
Oh man.... 2 bad cables....
After writing my last response, I said "What the hay" and threw in another cable... Boom Bam there she blows!
I really appreciate everything though. Believe me, these docs will not go in vain. I still need to read through them THANK YOU dudes a great deal!

ClockworkMod USB Tether application

I just saw that koush has released a new app, "ClockworkMod Tether" for free USB Tethering with Android Devices.
http://www.engadget.com/2012/01/03/clockworkmod-tether-serves-free-android-usb-tethering-no-root-r/
https://plus.google.com/u/0/103583939320326217147/posts/1Yy1jb9z4TA
Will we be able to use USB Tethering with our Milestones, or is our locked Bootloader gonna say NO once again?
Native Usb tethering works fine on Milestone since September (CM 7.1.0-RC15), thanks to mot_usb kernel module by Skrilax_CZ.
So I just conect Milestone to my Mac with the USB Cable and i am ready to go? Should I use an Application? Until today I've been using Wireless Tether app.
Thanks for clearing this up Pavel.
Just plug the cable in and enable tethering in settings (Wireless & Networks -> Tethering) and it should work out of the box. At least on my ubuntu laptops, dont know about mac.
Will the Linux Version work with ARM?
Since the Linux version needs to be compiled (i.e. running " ./configure " and " make " ) for each machine that its run on. Wouldn't that mean that it would work fine on an ARM machine, since it is configured for the individual machine its running on? Or am I misunderstanding something here?
Thank you for any info you can give, and God Bless!!

[Q]share internet from pc to galaxy mini?

is there a way to share the internet connection on a pc to our samsung galaxy mini?
via usb i mean
sorry, my english sucks..
u can try reverse tether..i think its some kind of script..dont quite remember where did i found it,but its here in xda..just search it..
I am using Reverse Tethering 2.21 and it works fine.
thairicci said:
I am using Reverse Tethering 2.21 and it works fine.
Click to expand...
Click to collapse
I want the same app or way but for Linux (Ubuntu and Fedora Particularly ^_^).
for linux you can set up hostapd + dhcp3-server
- From PC: using the usb wiless and a software as the same Connectify/TPLink (goto connectify.me) to share internet
- From laptop (include wifi card): using shared ahoc wifi (your phone must be rooted) or install Connectify software to share internet

How to install novacom? (unable to find device...)

I installed Ubuntu 13.10 on my Laptop and deleted the old Ubuntu 12.04.
Now Novacom didn't work anymore.
I installed it, but:
Code:
sudo novaterm
unable to find device
The Tablet is connected with the recovery mode:
Code:
lsusb
Bus 002 Device 003: ID 0830:8071 Palm, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 046d:c245 Logitech, Inc. G400 Optical Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0c45:640f Microdia
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I tried to install novacom on the Ubuntu 12.04 of my father but there is the same problem...
I don't now if i am doing something wrong...
Where can i find an intruction for installing novacom on Windows (8) (64 Bit) or Ubuntu 13.10 (64 Bit) /Ubuntu 12.04
Did you use the universal installer?
https://code.google.com/p/universal-novacom-installer/
It supports windows and Ubuntu but I dont know about the newest versions.
I tried both...
jokergermany said:
I tried both...
Click to expand...
Click to collapse
Well I have always heard people having issues with Windows 7 and 8. I'm not sure about Ubuntu. My computer still runs Windows XP. lol
Ok, i used the Windows 7 32 Bit from one of my fathers pcs...
jsgraphicart said:
Well I have always heard people having issues with Windows 7 and 8. I'm not sure about Ubuntu. My computer still runs Windows XP. lol
Click to expand...
Click to collapse
Perhaps because Windows 7/8 is mostly used with 64 Bit and Win XP mostly with 32 Bit
By the way: I wouldn't use Win XP after April
Sorry for reviving an old thread. I haven't had to do this for a long while, and I no longer have the Windows laptop where I first installed novacom. So, I'm trying to do this on an Ubuntu 16.04 machine.
My TP has moboot and CWM. It currently has Kit-Kat on it. I don't remember if I still have webos on it.
I have installed novacom using the universal installer on Ubuntu and was able to run novcomd. However, after rebooting into recovery, when I tried to run novaterm, I got the errors in OP. lsusb did not show the TP device.
Any ideas how to fix this?
tsoheq said:
Sorry for reviving an old thread. I haven't had to do this for a long while, and I no longer have the Windows laptop where I first installed novacom. So, I'm trying to do this on an Ubuntu 16.04 machine.
My TP has moboot and CWM. It currently has Kit-Kat on it. I don't remember if I still have webos on it.
I have installed novacom using the universal installer on Ubuntu and was able to run novcomd. However, after rebooting into recovery, when I tried to run novaterm, I got the errors in OP. lsusb did not show the TP device.
Any ideas how to fix this?
Click to expand...
Click to collapse
Considering the fact that you're running on 16.04, ADB might be the way to go in order to see and interface with the tablet.
I updated my 'Nix tower to 16 and _all_ my utilities that I use for working on devices failed. Had to go back to 14.04.x
_Dan

[SOLVED] HTC One Mini 2 HS USB Android Diagnostic port enabling?

Hi guys.
Does anyone have any instructions on how to enable HS USB Android Diag/Serial/Modem ports for HTC One Mini 2 please?
With the device connected to my Windows 10 machine, In command prompt I get the device id response when I type adb device which indicates the connection on adb is ok. I then type adb shell which of course takes me into the shell. Now what do I type in order to invoke the HS USB diagnostic ports in Device Manager on my Windows 10 PC?? I want to be able to get the HS USB diag port enabled, so that I can use QXDM.
Are there any ADB commands that will need to be typed (after adb shell) in order to enable HS USB Android Diag/Modem ports?
I have downloaded and installed the HTC Sync Manager, but this has not helped.
HTC One Mini 2 has Android version 4.4.2. Does the device have to be rooted?
On my PC In Device Manager, I see the following:
Android USB Devices
> My HTC
Network adapters
> HTC Remote NDIS based Device
Portable Devices
> HTC One Mini 2
Ports
> HTC Sync Manager Serial Interface (COM6)
I am in need of help with this please. Any help would be greatly appreciated.
Thanks in advance.

Categories

Resources