Telnetd connection G1 - G1 Accessories

How can I connect via telnet to my mobile G1. I get this:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C: \ Users \ XXXX> telnet 188.89.236.58
It connects to 188.89.236.58 ... Could not connect to host
make, on port 23: Making the connection failed
Thankssssss

Why would you want to connect through telnet? I'd use ADB, or even SSH... but why telnet?

Related

Opt T + *buntu + ADB

I was able to get my old G1 talking just fine by tweaking the udev rules, so it's not like I am totally unfamiliar with how it's supposed to work.
The facts so far, as far as I can verify:
1. udev rule in place, like with working G1 entry only with new strings (g1 commented out here for testing):
Code:
#G1 stanza
#SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c01", MODE="0666", OWNER="[I]username[/I]"
# Optimus T stanza
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="618e", MODE="0666", OWNER="[I]username[/I]"
I've tried many, many udev rule combinations (sysfs v. ATTR v. ATTRS) followed by udev restarts and some reboots when I really wanted to be sure. You would think that the stanza that works right now with the G1 would work with the OptT. Grrr.
2. USB debugging turned on at handset. Handset shows USB Debugging On when plugged into usb cable.
3. Mass Storage Only option turned off in Settings
4. device shows up in lsusb, sdcard is mountable over USB, no problems there
Code:
Bus 001 Device 011: ID 1004:618e LG Electronics, Inc.
5. tried several different USB ports, front and back
6. xubuntu 10.10
Code:
Linux [I]redacted[/I] 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux
7. Rooted OptT, 2.2. It exhibited the same lack of cooperation before rooting, too. Rooted mainly to run Ti Backup to remove some of the bloatware.
Is there something squirrely about the T that I am missing here? I will assume the problem is with my udev rather than anything else.
Possibly solved.
I pulled down the latest sdk and downloaded a newer adb as described in the tools/adb-has-moved.txt file:
Code:
The adb tool has moved to platform-tools/
If you don't see this directory in your SDK,
[B]launch the SDK and AVD Manager (execute the android tool)
and install "Android SDK Platform-tools"
[/B]
Please also update your PATH environment variable to
include the platform-tools/ directory, so you can
execute adb from any location.
Was running adb 1.0.20; after update it's 1.0.26 and it immediately connected to the phone with zero changes to anything other than adb itself.
I hope this helps someone else. I was starting to doubt my sanity.

[Q] Has anyone managed to connect their S2 via MTP using Ubuntu?

Has anyone managed to connect their S2 using MTP when running Ubuntu? Obviously I know that it's a very simple tast to just connect via mass storage instead, but I'm interested to know.
I think that Samsung have some weird implementation of MTP because I was able to connect and copy files when I was running CM9 but not on stock ICS. I always get the error message:
Unable to mount SAMSUNG_Android
Error initialising camera: -60: Could not lock the device
Though it does mount and I can see the root of both SDCards, all the folders are empty and I can't copy any files to the cards from the computer as I get a error message reading:
There was an error copying the file into gphoto2://[usb:001,010]/store_00020002.
The same happens whether I try to use MTP or PTP.
I think the problem lies in that libmtp-1.1.3 contains fixes for the S2 but that version isn't included with 11.10 or 12.04
hint
did you find out,
i got mine working by doing below guide,
think the issue is we have our phones in USB Debugging Mode
ubuntuforums.org/archive/index.php/t-1806119.html
Steps:
1. Go to: Settings ➔ Wireless and network ➔ USB utilities.
2. Connect your phone to your PC using a USB cable.
3. Tap Connect storage to PC.
4. Scroll down from the phone notification bar. Click USB Mass Storage and tap "Connect storage from PC". The android robot will turn from green to orange. (Important step!)
5. From your PC, open the folder to view your files.
6. Copy files between your PC and the memory card.
alpike said:
did you find out,
i got mine working by doing below guide,
think the issue is we have our phones in USB Debugging Mode
ubuntuforums.org/archive/index.php/t-1806119.html
Steps:
1. Go to: Settings ➔ Wireless and network ➔ USB utilities.
2. Connect your phone to your PC using a USB cable.
3. Tap Connect storage to PC.
4. Scroll down from the phone notification bar. Click USB Mass Storage and tap "Connect storage from PC". The android robot will turn from green to orange. (Important step!)
5. From your PC, open the folder to view your files.
6. Copy files between your PC and the memory card.
Click to expand...
Click to collapse
That's connecting via USB mass storage, not mtp. But thanks for trying.
Sent from my GT-I9100 using XDA
Very easy
Code:
cd ~
sudo apt-get install mtpfs
sudo mkdir /mtp
sudo chmod 775 /mtp
sudo mtpfs -o allow_other /mtp
For dismount
Code:
sudo umount mtpfs
You need to have your device rules ( Check how to install adb if you dont )
what I have found out that mtpfs is unable to preserve timestamps of the files at least on my install.
gphoto2 backend worked fine on CM9 now wile testing CM10 its a bit buggy, I can get the list of files but I am unable to read or rename them.
Most likelly it will improve as development of CM10 progresses rapidly.
Mounting my Galaxy S3 when connected via USB to my Ubuntu computer
D4rKn3sSyS said:
Very easy
Code:
cd ~
sudo apt-get install mtpfs
sudo mkdir /mtp
sudo chmod 775 /mtp
sudo mtpfs -o allow_other /mtp
For dismount
Code:
sudo umount mtpfs
You need to have your device rules ( Check how to install adb if you dont )
Click to expand...
Click to collapse
I went through the steps above, except the last: How do I install adb? (device rules ?).
While my phone is so connected, the command:
cd /mtp
produces the result
bash: cd: /mtp: Transport endpoint is not connected
Help greatly appreciated.
Thank you,
-- Saul
slubkin said:
I went through the steps above, except the last: How do I install adb? (device rules ?).
While my phone is so connected, the command:
cd /mtp
produces the result
bash: cd: /mtp: Transport endpoint is not connected
Help greatly appreciated.
Thank you,
-- Saul
Click to expand...
Click to collapse
Ubuntu 13.04 is a drastic improvement for MTP support. I have not got around to trying my S II but I successfully managed a family friends Galaxy TAB 2 with MTP with zero manual modifications to Ubuntu. Everything worked perfect plug and play out of the box.
I have also tried old versions to know how bad they were compared to 13.04.
No luck with S2 and Ubuntu 13.04
I'm on Android 4.1.2 and trying to connect via USB to Ubuntu 13.04. Error I get is that my device is not an MTP device, which it's not as its using USB
Issue is that I don't see the mounted android partitions. To make this worse, it works every now and then. Following is the syslog and the outpu of lsusb
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Aug 26 23:04:00 ml kernel: [134718.425536] usb 1-5: new high-speed USB device number 11 using ehci-pci
Aug 26 23:04:00 ml kernel: [134718.558636] usb 1-5: New USB device found, idVendor=04e8, idProduct=685b
Aug 26 23:04:00 ml kernel: [134718.558647] usb 1-5: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Aug 26 23:04:00 ml kernel: [134718.558655] usb 1-5: Product: SAMSUNG_Android
Aug 26 23:04:00 ml kernel: [134718.558661] usb 1-5: Manufacturer: SAMSUNG
Aug 26 23:04:00 ml kernel: [134718.558666] usb 1-5: SerialNumber: 001964815b817e
Aug 26 23:04:05 ml kernel: [134723.546077] usb 1-5: can't set config #1, error -110
Aug 26 23:04:05 ml mtp-probe: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5"
Aug 26 23:04:05 ml mtp-probe: bus: 1, device: 11 was not an MTP device
[email protected]:~$ lsusb
Bus 001 Device 011: ID 04e8:685b Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (mass storage mode)
Bus 003 Device 002: ID 046d:c52e Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[Q] Blu Studio \ Pearl Simvalley SPX-5 \ Umeox X-Land \ Texet TM-5200

Can anyone help with the driver for this phone. It promts for "spx-5_3g" driver when I connect it to the laptop. Im trying to install flash player.

[Q] Heimdall cannot detect device on Mountain Lion

Tldr: Heimdall cannot detect my galaxy SII on mountain lion when plugged in and set to download mode. I don't have access to a windows PC but i've also tried virtual box running windows 7 with Heimdall and Odin.
Phone: Samsung Galaxy SII (i9100)
Computer: Retina macbook pro (mountain lion)
Software: Heimdall Suite 1.3.2 (Binaries)
Problem: I did a bad firmware update and now i can't boot my phone (not even into recovery mode). I can however, boot into download mode.
My thinking is that i can re-flash clockworkmod recovery using heimdall and then flash a version of cyanogen mod once i can enter recovery mode.
I've installed the Heimdall version above and re-started my macbook. I then open a terminal and try and flash:
Code:
$ heimdall flash --kernel zImage
Heimdall v1.3.2, Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna
xxxxx
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
xxxxx
Initialising connection...
Detecting device...
Failed to detect compatible download-mode device.
I've also tried with Sudo and get the same message telling me the device cannot be detected.
The device is plugged in and is visible to OSX (trimmed):
Code:
$ system_profiler SPUSBDataType
USB:
USB 3.0 SuperSpeed Bus:
Host Controller Location: Built-in USB
Host Controller Driver: AppleUSBXHCI
PCI Device ID: 0x1e31
PCI Revision ID: 0x0004
PCI Vendor ID: 0x8086
Bus Number: 0x14
USB High-Speed Bus:
Host Controller Location: Built-in USB
Host Controller Driver: AppleUSBEHCI
PCI Device ID: 0x7fcb00001e2d
PCI Revision ID: 0x7fcb00000004
PCI Vendor ID: 0x7fcb00008086
Bus Number: 0x1a
Hub:
Product ID: 0x0024
Vendor ID: 0x8087 (Intel Corporation)
Version: 0.00
Speed: Up to 480 Mb/sec
Location ID: 0x1a100000 / 2
Current Available (mA): 500
Current Required (mA): 0
Gadget Serial:
Product ID: 0x685d
Vendor ID: 0x04e8 (Samsung Electronics Co., Ltd.)
Version: 2.1b
Speed: Up to 480 Mb/sec
Location ID: 0x1a120000 / 4
Current Available (mA): 500
Current Required (mA): Unknown (Device has not been configured)
My real question is: Has anyone successfully got heimdall to detect their SII under Mountain Lion? If so, what software versions and processes did you use?

Cannot install ClockworkMod Recovery

Installing a custom recovery on Galaxy S II
Download codeworkx's ClockworkMod Recovery, and the Heimdall Suite:
codeworkx's ClockworkMod Recovery: download
md5: 364315cb9a499d50638d05b93bb44422
Windows:
Heimdall Suite 1.4RC1: download
NOTE: The Heimdall Suite requires the Microsoft Visual C++ 2010 Redistributable Package to be installed on the computer, which can be downloaded here.
Release Candidate (RC) versions may require the Debug Visual C++ 2010 DLLs which Microsoft does not offer for redistribution or download
Power off the Galaxy S II and connect the USB adapter to the computer but not to the Galaxy S II.
Boot the Galaxy S II into download mode by holding down Volume Down, Home & Power while connecting via USB.
Windows only:
Run the included zadig.exe in the drivers folder of the Heimdall Suite.
Choose Options » List All Devices from the menu.
Select Samsung USB Composite Device or Gadget Serial or Device Name from the drop down menu.
Click Install Driver.
NOTE: A prompt may appear warning that the installer is unable to verify the publisher of the driver, ignore it and select "Install this driver anyway."
Untar codeworkx's ClockworkMod Recovery into the Heimdall directory.
On the computer, open a terminal and run the following command from the Heimdall directory:
heimdall flash --kernel zImage
A blue transfer bar will appear on the device showing the recovery being transferred. Once completed, the device will reboot automatically.
The Galaxy S II now has ClockworkMod Recovery installed. Continue to the next section.
Click to expand...
Click to collapse
Okay, so I downloaded the ClockworkMod Recovery and the heimdall suite, and I unzipped them both. It took me a while to get the step with the Zadig.exe working on Windows 8, because it doesn't allow unsigned drivers, but I got that working. When I tried to do the "heimdall flash --kernel zImage" bit, I get an error saying msvcp100d.dll cannot be found. Now I checked in Programs & Features, and it says that I have Microsoft Visual C++ 2005 Redistributable (like 3 times), Microsoft Visual C++ 2005 Redistributable (x64), Microsoft Visual C++ 2008 Redistributable x64 9.0.xxxxx, Microsoft Visual C++ 2008 Redistributable x64 9.0.xxxxx, Microsoft Visual C++ 2008 Redistributable x86 9.0.xxxxx, Microsoft Visual C++ 2010 Redistributable x64 10.0.40219, and Microsoft Visual C++ 2010 Redistributable x86 10.0.40219.
So I decided to try and get a msvcp100d.dll off the net, I put that in the System32 and in the directory of heimdall.exe and it still did nothing differently.
Now that should be enough? All it needs is the Visual C++ 2010 redistributable.. right?
Though it does say this "Release Candidate (RC) versions may require the Debug Visual C++ 2010 DLLs which Microsoft does not offer for redistribution or download"
Now.. what can I do? It shouldn't be this hard should it?
I've also tried this on 2 other computers too, 1 of them running Windows 8 and another running Windows 7. Same thing.
hxc_pokecore said:
Okay, so I downloaded the ClockworkMod Recovery and the heimdall suite, and I unzipped them both. It took me a while to get the step with the Zadig.exe working on Windows 8, because it doesn't allow unsigned drivers, but I got that working. When I tried to do the "heimdall flash --kernel zImage" bit, I get an error saying msvcp100d.dll cannot be found. Now I checked in Programs & Features, and it says that I have Microsoft Visual C++ 2005 Redistributable (like 3 times), Microsoft Visual C++ 2005 Redistributable (x64), Microsoft Visual C++ 2008 Redistributable x64 9.0.xxxxx, Microsoft Visual C++ 2008 Redistributable x64 9.0.xxxxx, Microsoft Visual C++ 2008 Redistributable x86 9.0.xxxxx, Microsoft Visual C++ 2010 Redistributable x64 10.0.40219, and Microsoft Visual C++ 2010 Redistributable x86 10.0.40219.
So I decided to try and get a msvcp100d.dll off the net, I put that in the System32 and in the directory of heimdall.exe and it still did nothing differently.
Now that should be enough? All it needs is the Visual C++ 2010 redistributable.. right?
Though it does say this "Release Candidate (RC) versions may require the Debug Visual C++ 2010 DLLs which Microsoft does not offer for redistribution or download"
Now.. what can I do? It shouldn't be this hard should it?
I've also tried this on 2 other computers too, 1 of them running Windows 8 and another running Windows 7. Same thing.
Click to expand...
Click to collapse
1. Wrong thread
2. USE DAT SEARCH BUTTON!
Sent from my JellyBam'ed Galaxy SII using Tapatalk 2
Are you using a apple running mac computer or windows pc ?
I think it's because heimdall binary has been compiled with debugging option, so it is looking for "msvcp100d.dll" (look at the "d" at the end of the name) that is not available in the Visual C++ 2010 Redistributable Package...
I have the same problem and I am in Windows 64 bit...
Now I am trying to flash from a live ubuntu...
edited:
in live Ubuntu desktop 12.10 32bit works
Didn't find anything with a search.
Cosmic Blue, I stated twice that I was using Windows.
And that's a pain in the ass, have to use Ubuntu just to flash. Hopefully I still have an ISO for it somewhere >_>
In case anyone was wondering, I ended up using Odin and it worked after my second try.
Couldn't make it work on Ubuntu with Heimdall.

Categories

Resources