[Q] How to Access the device using Ubuntu? - Eee Pad Transformer General

Does anyone now how I can access the internal storage of my transformer through Ubuntu? I have the transformer connected via USB but it does not auto-mount or appear to be recognised as a storage disk
thanks for any help

I'm using SSHDroid and usb tethering when tablet is connected, find out the tablet ip, then you can use the ubuntu built-in "Connect To Server" via ssh.

readonlycn said:
I'm using SSHDroid and usb tethering when tablet is connected, find out the tablet ip, then you can use the ubuntu built-in "Connect To Server" via ssh.
Click to expand...
Click to collapse
Would you be able to explain the method you use a bit more thoroughly? I too am having frustrating problems getting my transformer mounted under Linux, and am sick of transferring everything via SD card
I tried over SSH, but Android automatically refuses connection. And why do we need to have it tethered via usb to SSH?

The transformer acts as an MTP device. I had some issues with it appearing properly in Ubuntu 10.04, but I believe is because I did something wrong. I have it all working now and mounted as /media/transformer - but I am also running 11.04 now.
This has been asked on the forum before and this answer assisted me in solving it[Full thread].
You also have some links in a different thread here.

poltak11 said:
I tried over SSH, but Android automatically refuses connection. And why do we need to have it tethered via usb to SSH?
Click to expand...
Click to collapse
What's your SSHD application? I recommend sshdroid, you search it in the market.
You needn't tethering if pc and android are in one lan (connected to same wifi for example). Getting android ip is the only purpose of tethering, you can run 'route' command in ubuntu to find out the gateway of usb0, which is the ip of android.

I use a combination of swiftp and droidsshd to access device from ubuntu. Works well. You might need to get the programs from code.google.com, as they are not in the market.

People... they aren't looking for an SSH application, they are looking to MOUNT THE DEVICE OVER USB.
You need to install either libmtp or mtpfs. On Arch Linux, libmtp is in the repos, while mtpfs is in AUR. I use mtpfs.
After getting mtpfs, all you need to do is: sudo mkdir /media/tf && mtpfs -o allow_other /media/tf.

I do it with ADB. adb push and and pull does the job easily, unless you've a ton of different files you want to place in different places.

Using gnomad2 from repo @ Fedora 15 Gnome3
since there is no flashy mtpfs for my distro :/
(to lazy to compile)

Related

Use PC as modem for phone?

I know its possible to use the phone as a usb modem for the PC, is it possible to do the opposite via an app or adb like active sync does to share the ethernet connection to the phone, I don't have data, but would like to be able to use the net on my phone for some things.
*M* said:
I know its possible to use the phone as a usb modem for the PC, is it possible to do the opposite via an app or adb like active sync does to share the ethernet connection to the phone, I don't have data, but would like to be able to use the net on my phone for some things.
Click to expand...
Click to collapse
yes on winmob, but i cant figure it out on android
there's currently no support for usbnet (linux) or rndis (windows) in dzo's kernel. Usbnet used to be available but was disabled to stabilize adb.

Developers, Don't Get EasyTether!

Developers, do NOT get EasyTether! EasyTether allows your 3G connection to be shared to your computer via the USB Cable.
HOWEVER, when you install the computer-side client of EasyTether, it saves a file that tells the computer to automatically mount the phone as a network spot when it is plugged in. This means adb won't find it (since it's not mounted as a device), and this means DDMS and "Eclipse Run on Device" won't work either. EasyTether is a great app, but developers shouldn't get it if you test apps on your device.
P.S. I learned this the hard way. It involved deleting system files and logging in as root on my Mac, as well as a few terminal commands.

Connect to PC via USB

Yesterday I was able to connect my Tab to my Win XP PC using the USB cable. I was able to transfer files without difficulty. But, some how I must have changed a setting on the Tab and the Tab is no longer recognized by any of my PC's. I think it is a Sync setting that was changed.
Now, when I connect using the USB cable, the PC says " Found New Hardware MTP"
What settiing do I need to change to get the PC to recognize the Tab?
Check under application > development > usb debugging.
Thanks, I found a USB driver on the Acer site. That seems to have solved the problem. But, that driver was not needed yesteray, and I don't know what "MTP" means?
jostarr said:
Thanks, I found a USB driver on the Acer site. That seems to have solved the problem. But, that driver was not needed yesteray, and I don't know what "MTP" means?
Click to expand...
Click to collapse
Even my Windows 7 boxes do not recognize the a500 without installing the USB driver from the Acer site. Guess you somehow got lucky
Mine always saw the internal 16gb on my Win7 machine. Before the latest updates, I was able to connect with my Win7 PC with no problem and even go to STORAGES and see my 32gb card. It no longer works now. All I see now is SD which is empty.
Which means I cannot copy anything directly to the Micro SD (external_sd). It worked before the last couple of updates. I'm currently running 4.010.10. Now I have to copy it to the 16 internal from the PC and then use the tablet to copy it to the external_sd.
Acer giveth and taketh away.... bummer.
Edit: And yes ... my debugging is on. Always has been. Stock kernel too.
Anyone figure this out yet?
I can't connect on my Win7-64 PC at all.
My 32 bit laptop will connect, but not to SD card, only internal SD.
Try turning development off when using usb go pc which no need for driver, if development is on then you need driver installed.
Sent from my SPH-D700 using XDA App
i can't get my tab to connect to my mac , ive tried both usb ports, ive tried ticking usb-debugging on and off with no luck. Anyone know whats wrong?
If you are having usb issues go to acers web site and go to the drivers and download section for the iconia a500. make sure you look under the honeycomb 3.0 downloads and not the 3.1. as the drivers are not listed under 3.1. download the drivers to your pc (not your tablet)and install. it is an 89 megabyte file so I am sure it has the drivers for everyone in it.
Alos if you are ojn honeycomb 3.0 make sure you get the wi-fi unpate as well while you are there it fixes lots of wi-fi problems.
Remember to thanks if I have helped you.
Thanks for the quick reply in the drivers package There is none for mac and on my fascinate it connects without problem and i never instaled any drivers
Chuban7, Hi well I am not a mac person but I did look around the net a bit and from what I see there are not usb drivers persay for android for mac. but what i have found is there are several companies who mac sync software that connects android to mac. One site to check out is http://www.salling.com/MediaSync/mac/ they have free versions of thier software to use. Give it a try. but there are many other venders of mac to android sync software. seems only way from what I read cant find usb drivers anywhere for ya for any android device.
You can also look through the android market for a free program called"auto mount your sd card" supose to work with mac but I dont know as I dont have a mac
MY personal choice is a program also free on market called "software data cable" again suppose to work with macs and pc's it is completely wireless so no usb cable needed to transfere files so in theory then no usb drivers needed either.
You can also use a program called dropbox allso free it works great just drop files into the dropbox folder and then once they upload go open dropbox on your android and bingo there ya go thier is your files. works in reverse too for android to computer.
Only thing I can figure is that apple hates android and between them and microsoft are tring to run android into the ground so it would stand to reason if you hated a compeating vendor why would you make it easy for them to run thier devices on your software. There is a reason apples Ipod/pad stuff works and others dont apple dont want you to buy android lol.
Just my little conspericy theory stuff good luck hope any of this helps you.
I have the same issue with Linux so it's not a Mac issue. I can plug my Android phone in and it mounts and show up as a USB device that I can then take a file manager and copy/paste/delete files. I use this all the time to transfer files to my phones sd card. Neither the A100 or the A500 will mount as a drive on my Linux machine. I like them but that is pretty much a deal breaker to me.
gramps50 said:
I have the same issue with Linux so it's not a Mac issue. I can plug my Android phone in and it mounts and show up as a USB device that I can then take a file manager and copy/paste/delete files. I use this all the time to transfer files to my phones sd card. Neither the A100 or the A500 will mount as a drive on my Linux machine. I like them but that is pretty much a deal breaker to me.
Click to expand...
Click to collapse
Somehow I feel very doubtful that your Linux OS cannot be set up to mount the a500 as a USB storage device. My Linux skills are rather rusty and outdated, however - so I could be wrong. Can you emulate a stripped down version of windows from your Linux system to get around this?
I can vouch for using software data cable (free app from AM).
Works perfectly with my iMac and should do with PC, since it essentially opens an FTP port on the Iconia (port 8888 by default) that can be accessed by any FTP client on the computer (I use Cyberduck on Mac, FireFTP plugin for Firefox works on all OS's).
If you are rooted, check root access in the app settings to get into the root, and find /mnt/external_SD for the add-on card. It is probably smartest not to leave the root access on all of the time unless you really need it as there is abundant opportunity to create havoc accidentally
Kevin
Sent from my A500 using xda premium
entropy.of.avarice said:
Somehow I feel very doubtful that your Linux OS cannot be set up to mount the a500 as a USB storage device. My Linux skills are rather rusty and outdated, however - so I could be wrong. Can you emulate a stripped down version of windows from your Linux system to get around this?
Click to expand...
Click to collapse
I didn't say it couldn't be done, I just think that it's strange and wrong to make an Android device dependent on having Windows. Yes I suppose I could install Windows in a Vm but I won't.
Using Google (pun intended) I found a fairly simple solution. It's not plug-n-play but is very doable even by an non techie.
There are also some ways of access the Tab file system using a browser and Wifi
kevindt said:
I can vouch for using software data cable (free app from AM).
Works perfectly with my iMac and should do with PC, since it essentially opens an FTP port on the Iconia (port 8888 by default) that can be accessed by any FTP client on the computer (I use Cyberduck on Mac, FireFTP plugin for Firefox works on all OS's).
Sent from my A500 using xda premium
Click to expand...
Click to collapse
Nice app thanks, didn't show up when searching for FTP servers. ;(
The only minor issue I see is that at 1st glance it appears that you don't have access to the external_sd card unless Rooted.
Did work better than any of the other FTP servers I have tried.

adb unable to connect...

I was to B&N today, read few books in store (on nook)
Came home, tried to connect:
adb unable to connect...
run dropbear - unable to ssh
rebooted nook via terminal
adb unable to connect...
Scratched head…
rebooted nook again via terminal
adb unable to connect...
Did basic adb troubleshooting:
setprop service.adb.tcp.port 5555
stop adbd
start adbd
adb unable to connect...
stop adbd
adbd &
adb unable to connect...
netstat
showed listening (with adbd running)
127.0.0.1:5037
0.0.0.0:5555
rebooted nook via terminal
rebooted PC…
adb unable to connect...
put noogie SD, reboot, check uRamdisk – same size & timestamp
removed noogie, off/on - connected right away!
I’m puzzled…
I saw few times, after 2-3 days of reading adb is unable to connect, but reboot fixed it always.
What was different this time?
“Cold reboot”?
I spend like 30min and feel like an idiot right now…
I was unable to connect over the usb port as well. Without too long investigation I've used adbwireless app on NT and was able to connect.
You might want to refresh server
adb kill-server
adb start-server
then connect using your NT ip address:5555 and you should be done.
In my case, I think, there are too many conflicting drivers installed and NT is not being recognized when connected.
Good luck
Adapt0r said:
I was unable to connect over the usb port as well. Without too long investigation I've used adbwireless app on NT and was able to connect.
You might want to refresh server
adb kill-server
adb start-server
then connect using your NT ip address:5555 and you should be done.
In my case, I think, there are too many conflicting drivers installed and NT is not being recognized when connected.
Good luck
Click to expand...
Click to collapse
I did it as well before every adb connect, thought it not worth to mention.
Naturally, "rebooting PC" should reboot adb server too, right?
But it didn't help either...
If you see this issue again, just try toggling ADB Wireless On/Off and it should reset anything on the devices side. Also I've noticed that sometimes and completely random from what I can tell "USB Debugging" will get unchecked, which will mess with ADB access via USB.
Disabling/Enabling ADBwireless sometimes may help.
Maybe a stupid question: Do you have a firewall running on your pc?
digiflash said:
Disabling/Enabling ADBwireless sometimes may help.
Click to expand...
Click to collapse
won't it be the same as below or it does more?
Code:
setprop service.adb.tcp.port 5555
stop adbd
start adbd
digiflash said:
Maybe a stupid question: Do you have a firewall running on your pc?
Click to expand...
Click to collapse
Always
I did check it too. It was nothing worth to mention.
abd attempted to connect - got nothing back (timeout)
on NST adbd was listening, I was able to access gmail.
I can ssh neither, and dropbear was listening too.
Looks, in fact, like firewall on NST was blocking all incoming connection.
That's why I wrote "Scratched head…" - which means I checked pretty much everything.
Could somebody explain, what is the major difference for NST between:
reboot (hot reboot) & shutdown/start (cold reboot)
Or more precisely for the latter:
insert noogie SD/reboot/remove noogie SD/turn off/turn on
ApokrifX said:
insert noogie SD/reboot/remove noogie SD/turn off/turn on
Click to expand...
Click to collapse
Cannot connect today at all. Cold reboot doesn’t help anymore...
Did some more tests (including ADBwireless):
I cannot ping [nook IP] from my computer
I can ping [nook IP] from router.
From PC
>telnet [nook IP] 5555
Connecting To [nook IP]...Could not open connection to the host, on port 5555: Connect failed
From router:
telnet [nook IP] 5555
Connection didn’t timeout (i.e. it does connect!)
Again, looks like something on Nook blocking connections from all IP, except from default gateway (i.e. router)
Question: Does rooting process unblock connections from other IPs?
About Disabling/Enabling ADBwireless:
Before running ADBwireless
netstat
127.0.0.1:5037
0.0.0.0:5555
netstat -tapn doesn’t work
stop adbd
both above disappear from netstat
start adbd
both show up
run ADBwireless
get message: ADBwireless is off
pushed button, message changed to: adb connect [nook IP]:5555
(adb connct didn’t work)
Switch to terminal,
netstat
127.0.0.1:5037
I.e. no more: 0.0.0.0:5555
Subsequent "stop adbd"/"start adbd" changes nothing:
netstat
127.0.0.1:5037
I was wondering what ADBwireless supposed to do then?
Could somebody check from his nook what netstat shows, please?
Nook can connect to internet (gmail, market) + netstat shows all outgoing connections…
What else can I try?
I guess, I can switch to adb usb…
It might be helpful if you tell what OS you are running on your PC and what did you do with NT. If we can reproduce your case then we can troubleshoot it otherwise you will hear useless guesses and speculations.
I like NT as a reader and nothing else. Web and games are looking awful on it.
Adapt0r said:
It might be helpful if you tell what OS you are running on your PC and what did you do with NT. If we can reproduce your case then we can troubleshoot it otherwise you will hear useless guesses and speculations.
I like NT as a reader and nothing else. Web and games are looking awful on it.
Click to expand...
Click to collapse
One box is XP with Outpost firewall (abd set to full trust).
Another win7 (FW policy – allow outgoing connections + few exceptions).
I’m Win developer/admin and Linux(CentOs) admin.
I’m complete noob when it comes to Linux non-shell related programming.
Router runs DD-WRT.
As of now I switched to uRamdisk_1_1_rooted_usb.
When I run dropbear, I see it listening on 22, but cannot ssh still.
That’s all I guess…
Could you do one test for me please?
If your NST runs uRamdisk_1_1_rooted_wifi:
Could you ping you NST from you box
If not - could you do same from your router/AP?
1. I don't have uRamdisk_1_1_rooted_wifi on my NT and can't test it.
2. adbWireless works on my Win 7 and Mac the same way. Both comps have firewalls running and both are on the same network. I can connect and ping NT.
Just for clarification I will describe how it works on my setup:
- I start adbWireless on NT,
- it asks for root permission if it for the first time and I grant it
- then shows fat button on the screen and says adbWireless is off
- I push the button
- it says adbWireless is on, from your computer run
adb connect 192.168.15.112:5555
At this point I can ping IP address and run adb shell.
I've rooted NT for purposes of software testing and customization. I did it twice with older and newer Nooter and did not find any noticeable differences.
Let me know if you want some other tests or info.
Adapt0r said:
I can connect and ping NT.
…
At this point I can ping IP address and run adb shell.
Click to expand...
Click to collapse
To clarify (trying to get a setup as simple as possible):
We connected NST to our home wireless network and it gets IP.
We didn’t touch adbWireless yet!
Now do two tests, please:
1. From NST we ping gateway or "another device on same network", (providing it let us).
2. From "another device on same network", ping NST.
What do you get?
I thought, adbWireless just configure adbd for IP connection (as opposite for USB one) and starts it - nothing else.
If #1 works, but not #2,
and #2 starts working after you “hit adbWireless button”, than adbWireless does more then I wrote above…
Sorry, I didn't have time to do your test at home. I'll try today.
I think you are correct, adbWireless does configuration of connection by executing something like this:
Turning On:
setprop service.adb.tcp.port 5555
stop adbd
start adbd
Turning Off wifi and start listening on usb
setprop service.adb.tcp.port -1
stop adbd
start adbd
Cheers!
Edit:
Ping NST_ip_address from PC works fine.
Since I don't have terminal installed I could not test reverse pinging.
Ouch…
Just figured out:
1: I press “big red button” in adbWireless.
2: I push back button
And it pushed adbWireless into background.
If it’s the same as turning it (adbWireless) off,
it’s possible, that adbWireless reset adbd service to use USB.
Thus there is nothing listening on 5555 when I run netstat in terminal on NST.
Who’s with me?
Should be east to test:
press “big red button” in adbWireless.
I push back button
try to connect
ApokrifX said:
Ouch…
Click to expand...
Click to collapse
Updated router firmware - I can ping nook and ADB over wireless works too.
Not sure thought, if it was wireless channel problem.
I've read somewhere, some NST firmwares doesn't work on high channels or certain combined modes - like works on A+B, but not A+G
Apparently, NST firmware 1.1.2 was targeted to solve some of these issues.
PROBLEM SOLVED.
I didn't have the proper folder for the adb.exe.
-----
I have a similar problem: I recently rooted my nook simple touch with touchnooter 2.1.31, and all seems well but I can't connect to the adb wireless. IP is 192.168.0.6:5555 according to adb; I can ping from my Win XP computer if I use 192.168.0.6, but not if I add the 5555, but I just can't connect to the ereader. Wireless connections seem fine otherwise. I've tried shutting off and one the wireless adb.
I'm a complete beginner in this. On the reader, the screen has this:
"from your computer run: adb connect 192.168.0.6:5555"
This suggests that I can't simply use a firefox browser to connect? I tried using the windows cmd box, but windows indicates it doesn't know what 'adb' is. Then I found a website about adbwireless: http://theunlockr.com/2011/04/12/how-to-connect-to-your-android-device-through-adb-wirelessly/
and installed Adroid SDK Tools as indicated. When I use the cmd window, go to the proper sdk tools subfolder, and type 'adb connect 192.168.0.6:5555', windows still insists it doesn't recognize 'adb'
Please help!
try adb.exe
Meter 13,
Thanks for the reply. I added a pre-script to my op. I had created a bat file to move to the proper folder but had realized that the adb.exe had been moved to the platform-tools subfolder from its old location in the tools folder. Once I realized this, all worked well - connected to my nook, and used adb to install an apk file.
Bob
Just a note:
Ping isn't the usual TCP/UDP stuff, so there are no (port) numbers on the end.
ping 192.168.1.27
ADB uses TCP and a port number but it usually defaults to 5555
adb connect 192.168.1.27
adb connect 192.168.1.27:5555
You can also telnet to check if you can connect to the nook via TCP and port 5555
telnet 192.168.1.27 5555
(Note: If this works it will tell you that you are connected, but you can't do anything because ADB is a binary protocol.)
I had the same problem, turns out the correct drivers weren't installed. Ive downloaded HTC sync from HTC.com. I installed it and removed HTC sync afterwards. The drivers should stay there. Now reconnect your phone and try "adb devices" Before ADB wouldn't recognize my device but now it does. Tried to "adb backup -all" again, and it worked instantly.
Maybe this solves the problem?
You could try going back to a stock /boot partition.
I run my nstg rooted with the addition of about 8 files (su, xbin, busybox in system, adb wireless in /data plus a launcher) when I first root.
with the nstg, at least, I don't actually need the modified kernels - adb connects from my computers to the nstg, I simply don't have a root shell when I first connect.
This is fixed by doing an
su
once I'm in
Might be worth trying a restore of just partion 1 from your backup?

Nexus file transfer tedious.

Hi all,
Of late i have been facing this issue of transferring media files from PC to my nexus 10. On connection, MyComputer just crawls and whenever it connects the file transfer bar shows virtually no progress. Even if the file is just a few MB. I also have 2 users on this tablet and on the other user the same thing happens. I have to do multiple restarts to fix this and multiple file transfers is not possible as the whole PC hangs and Windows Explorer crashes.
Any help will be appriciated.
PS. Windows 7 OS and stock N10 with 4.4.2
Hi,
While I can't help you with the Windows issue I can offer you a temporary solution! Which is using adb push.
To do as such please go to the Manta Help Thread and check how to set up adb and enable USB Debugging. From there you will now open a terminal in the folder you want to copy the files and type:
Code:
adb push *filename* /sdcard/
Now the file is in your Nexus 10, if you want to push many files, I suggest creating one folder with the files and pushing the folder itself.
Code:
adb push *foldername*/ /sdcard/
Hope this helps a little . I use it a lot since my Fedora can't recognise MTP hahaha .
~Lord
"All I ever needed was a little piece of hope" - World of Fantasy (Helloween)
Sent from my Xperia Z1
Have you looked at the wifi file transfer apps? - I've never tried them because I'm rooted and use Sambadroid.
Re the transfer speed problem I've a vague recollection that a USB 1 device, like a keyboard will pull other usb 2 devices on the same hub down to usb1 speeds. Have you tried other usb sockets? Other things you can try are disabling USB Legacy Support and enabling AHCI in your BIOS.
If you decide to pursue the USB problem then you may find these progs helpful
There's a microsoft program usbview.exe that you can get from MS here http://msdn.microsoft.com/en-us/library/windows/hardware/ff551063(v=vs.85).aspx It's also here http://www.ftdichip.com/Support/Utilities/usbview.zip . My copy is copyright 1996-98 and it runs under W8.1
http://www.nirsoft.net/utils/usb_devices_view.html
XxLordxX said:
Hi,
While I can't help you with the Windows issue I can offer you a temporary solution! Which is using adb push.
To do as such please go to the Manta Help Thread and check how to set up adb and enable USB Debugging. From there you will now open a terminal in the folder you want to copy the files and type:
Code:
adb push *filename* /sdcard/
Now the file is in your Nexus 10, if you want to push many files, I suggest creating one folder with the files and pushing the folder itself.
Code:
adb push *foldername*/ /sdcard/
Hope this helps a little . I use it a lot since my Fedora can't recognise MTP hahaha .
~Lord
"All I ever needed was a little piece of hope" - World of Fantasy (Helloween)
Sent from my Xperia Z1
Click to expand...
Click to collapse
Will try.
peterk-1 said:
Have you looked at the wifi file transfer apps? - I've never tried them because I'm rooted and use Sambadroid.
Re the transfer speed problem I've a vague recollection that a USB 1 device, like a keyboard will pull other usb 2 devices on the same hub down to usb1 speeds. Have you tried other usb sockets? Other things you can try are disabling USB Legacy Support and enabling AHCI in your BIOS.
If you decide to pursue the USB problem then you may find these progs helpful
There's a microsoft program usbview.exe that you can get from MS here http://msdn.microsoft.com/en-us/library/windows/hardware/ff551063(v=vs.85).aspx It's also here http://www.ftdichip.com/Support/Utilities/usbview.zip . My copy is copyright 1996-98 and it runs under W8.1
http://www.nirsoft.net/utils/usb_devices_view.html
Click to expand...
Click to collapse
Thanks
You've had a few tangential suggestions, the ADB push being the fastest with the hardware and software you have currently.
I don't actually store files on my "PC" really as my source, I store them on a NAS and then pull them either to my PC or my other devices. This makes all my devices "stateless" as I find individual devices I'm moving around with ultimately break more often so I prefer the NAS route. My NAS is a Raspberry Pi running Rasbian with a 1TB USB hardd drive and a 64GB OTG flashdrive.
You can add to the other ideas:
Airdroid which runs a small web server on your Android device and you access the Android device from browser on PC and push files, at Wifi speeds.
run web server on your "PC" and then in Android just get them in a download app. My "PC" is Linux and its running Apache and I either SSH from the PC to the Android and then wget the file or use of the file download methods inside Android.
USB OTG stick which also serves to augment capacity, I get about 22MB/s from USB to inside N10
One other indirect thing, is when you do a full Android flash wipe it seems to reformat and speed up the filesystem better than if you've done an upgrade, although I never benchmarked it to know, just an impression.

Categories

Resources