[XOOM 2] [INFO] Xoom 2 ME, Ubuntu Linux, and MTP - Xoom General

Thought I'd share some info regarding connection of the Xoom 2 ME. This may also apply to the Xoom 2 and Xyboards.
The Xoom 2 ME does not mount as USB mass storage, it supports MTP (and, I presume, PTP).
My laptop runs Ubuntu 11.10 with the GNOME 3 desktop. There is no file-browser or popup when the X2ME is plugged in, as there would be when a UMS device is connected. I suspect this is down to the udev config not having the USB IDs, so that's something to look into soon.
Banshee didn't detect it, so I installed the Gmtp application (sudo apt-get install gmtp) and this permits transfer of files to the X2ME. I got a rather poor upload rate of 2.5MB/s on a 1.4GB video file.
It was not possible to download a file from the X2ME using Gmtp -- I haven't yet tried any other apps.
The version of libmtp supplied with Ubuntu 11.10 doesn't recognise the X2ME device codes, though this has already been addressed by the developers. Maybe this will be in Ubuntu 12.04.

try this...that transfer rate is slow but is above full speed USB so the problem lays elsewhere
http://forum.xda-developers.com/showthread.php?t=1077572

Yeah, the syslog reports it as a high speed device, so my assumption is it's working at USB 2 speeds.
Just gave mtpfs a try. If we ignore some random and extremely long hangs of a minute or more, a file download ran at ~14MB/s and seemed to work OK. An upload ran at 40MB/s, but the resulting file was 0 bytes in length and was followed by a lengthy hang.
Will run mtpfs in debug mode to see if it shows why it's hanging. There are some other MTP utilities like gnomad2 that I might try as well.

A few quick updates. First, it seems that USB debugging must be enabled for MTP connectivity to work. When I disable it, the X2ME isn't seen at all by mtp-detect or other utilities.
Gnomad2 works, and was a little faster at upload than gmtp -- it peaked at an "astonishing" 4MB/s . Unfortunately its interface sucks for file access (it is, after all, designed more as a music transfer tool).
There is definitely a long delay every time libmtp connects to the device. This is normally over 1 minute and seems to consist mostly of USB device resets and then connection retries.
Enabling debug of mtpfs didn't flag up anything useful.
A useful aside, if you export LIBMTP_DEBUG=7 before running apps that use libmtp, it enables lots of debug output. Specific information on choosing the debug level are in the lib's README.

What I do is the following:
I have Root FTP on my Xoom which required also to install a script in my Linux Mint distro (would be the same for Ubuntu) and once I want to transfer, I can be via wifi or via USB cable; I just have to run the script in linux (2sec) and activate the Root FTP software on the Xoom and I can use any FTP software to remote in and transfer files to and from the Xoom.

megabiteg said:
What I do is the following:
I have Root FTP on my Xoom which required also to install a script in my Linux Mint distro (would be the same for Ubuntu) and once I want to transfer, I can be via wifi or via USB cable; I just have to run the script in linux (2sec) and activate the Root FTP software on the Xoom and I can use any FTP software to remote in and transfer files to and from the Xoom.
Click to expand...
Click to collapse
Xoom 2 has no root access yet :-( . So this is not possible ... I have no trouble to transfer files to my xoom 2 me with smb network ... Thx for the infos Fluffy . I am trying few things now ...

Yeah, so far the simplest transfer method has been to use ES File Explorer to pull files across via SMB.

TheFluffyOne said:
Yeah, so far the simplest transfer method has been to use ES File Explorer to pull files across via SMB.
Click to expand...
Click to collapse
I prefer 'file expect' to do that i believe is a better file manager but most powerful features of it are not usable because of that stupid motorola firmware. If i wanted to use programs like MotoCast i would buying apple's products Motorola... :banghead:
Sent from my XOOM 2 ME using Tapatalk

Now that ghe tablet have root, are there any ideas how to solve the problem. Something is still blocking the communication via wifi with my computer and is not the firwall i think. Dammit moto I want an ftp server on my tab
Sent from my XOOM 2 ME using Tapatalk

mdcykkk9 said:
Now that ghe tablet have root, are there any ideas how to solve the problem. Something is still blocking the communication via wifi with my computer and is not the firwall i think. Dammit moto I want an ftp server on my tab
Click to expand...
Click to collapse
After having a quick play around for 5 minutes, iptables shows all policies as "allow". Services such as Airdroid are showing as bound to ipv6 sockets rather than ipv4 sockets, so I'm going to have a bit more of a dig around in that area.
For example, from "netstat -nlp" whilst Airdroid is listening on 8888:
tcp6 0 0 :::8888 :::* LISTEN
tcp6 0 0 :::8889 :::* LISTEN

http://forum.xda-developers.com/showthread.php?t=1526465&page=1
This program is solve my problem and now i can wireless transfer files from my xoom 2 to my linux pc. Is not the most elegant solution but until now is the only solution that working for me ...

I finally solved my problem with airdroid filexpert and others similar apps by removing zumoservice from system applications. Probably this will create problems with motocast ( i can't check this, i am linux user)
Sent from my XOOM 2 ME using Tapatalk 2 Beta-3

xyboard
As far as the Xyboard is concerned it works fine for me on Ubuntu. When the device is connected I change from MTP to PTP. It's the second option under usb computer connection on the Xyboard. Once done, I've gotten access to the folders on the device and have tranferred videos, music, and documents. Hope this helps.

Mounting Xoom 2 on SuSE Linux
mdcykkk9 said:
I finally solved my problem with airdroid filexpert and others similar apps by removing zumoservice from system applications. Probably this will create problems with motocast ( i can't check this, i am linux user)
Sent from my XOOM 2 ME using Tapatalk 2 Beta-3
Click to expand...
Click to collapse
Hello
How has the uninstalling of zumoservice solving your Problem ?
I´m trying to mount my xoom 2 me on opensuse 12.2 with kde 4.11 and get an Error which could be caused by
the motocast installer cd which shows up on systems where the motorola drivers are not already installed.
This breaks the connection between linux and xoom. So i ask myself how i can shutdown this "service".
If this is caused by zumoservice i could uninstall it, but a deactivation by Titanium did not solved the Problem yet.
Thanks in advance! Michael

Try deactivate all applications you think that are related with motocast... I don't have now my tablet so i can't help you more, i will try later to find the list of all applications i had removed...
Sent from my Nexus 4 using Tapatalk 4

Related

[Android] Run Android without a data plan [CHECKLIST]

Hey Gang,
I currently do not have a data plan and won't get one until I switch from Sprint to Verizon. (accounts expire soon)
This is what I want to do with my Vogue:
Setup SD card with EXT2 partitions [CHECK]
Correctly install/run a SenseUI/Hero build [CHECK]
Convert my WM contacts to Android contacts offline [CHECK]
Install APK's offline [CHECK]
Use the internet connection through my PC via USB cable (while running android) [PENDING]
Install a "camera software" APK so i can use the camera [PENDING]
Enjoy the hell out of Android and all the possibilities for the Vogue! [CHECK]
Any and all help checking off my list is much appreciated!
~Syn
The camera already works out of the box. and Talk to enatefox about internet via USB connection.
Install a "camera software" APK so i can use the camera [PENDING]
I am currently using "Pro Paint Camera that came with this Hero/SenseUI build.
I can take pictures but not video. Also, none of the lighting effects work so every picture is very yellowish.
True.... the camera does work, but it is not really usable without adjustment.
I'm in the same situation right now. I want to use android but I'm afraid I wont be able to use internet to access the market (unlike WM/ActiveSync).
The camera issue is something that I can deal with, but I think that it would be nice if someone could make an activesync-like program that can share internet.
Only difference is that I'm on verizon right now, and might consider switching to sprint!
synaptyc said:
Install a "camera software" APK so i can use the camera [PENDING]
I am currently using "Pro Paint Camera that came with this Hero/SenseUI build.
I can take pictures but not video. Also, none of the lighting effects work so every picture is very yellowish.
True.... the camera does work, but it is not really usable without adjustment.
Click to expand...
Click to collapse
I forget exactly when that build came out, but I can assure you that the build I'm using now has a camcorder and camera app outside of Paint Pro Camera.
FWIW, I'm using the Droid donut ion build by Zenulator.
Also, from what I know, internet through USB only allows you to browse the web, and the marketplace doesn't work. There might be some changes in the future, however.
Yes. with Cupcake / Donut the camera/camcorder seem to work with the default applications. They still don't have filters or effects to correct lighting.
... still looking for that app.
Link9228 said:
I forget exactly when that build came out, but I can assure you that the build I'm using now has a camcorder and camera app outside of Paint Pro Camera.
FWIW, I'm using the Droid donut ion build by Zenulator.
Also, from what I know, internet through USB only allows you to browse the web, and the marketplace doesn't work. There might be some changes in the future, however.
Click to expand...
Click to collapse
How would one go about getting Internet via USB? I have searched endlessly (or so I thought). Thanks.
gascan555 said:
How would one go about getting Internet via USB? I have searched endlessly (or so I thought). Thanks.
Click to expand...
Click to collapse
I've been trying to do this too!
gascan555 said:
How would one go about getting Internet via USB? I have searched endlessly (or so I thought). Thanks.
Click to expand...
Click to collapse
I have also been trying to figure this out... but getting Internet via bluetooth rather than USB. So kind of like the bluetooth tethering that is possible right now with Android, but in REVERSE! So Internet-> PC-> Bluetooth-> Android.
USB Internet (at this point) can be very problematic. It can cause your phone to hard freeze out of the blue. I haven't spent a lot of time troubleshooting it since it's hard to figure out what went wrong when I'm forced to reset.
Credit to DimaFern for getting me anywhere near having this working. I just messed with it a little. This is reverse tethering because you are not getting the connection from the phone. So the USB Tethering option is not related in this situation.
Here's my howto
I have not tried this without a Linux host. I believe you can forward traffic with ICS but I don't know what is involved there.
My gateway is .37, my laptop is .107 and the phone gets it's IP from the laptop:
On laptop:
echo "1" | sudo tee /proc/sys/net/ipv4/ip_forward
On Android:
ip addr add 192.168.37.100/24 dev usb0
ifconfig usb0 up
## This is the IP for my laptop:
route add default gw 192.168.37.107
setprop net.dns1 192.168.37.107
cat /proc/net/route
Click to expand...
Click to collapse
The last line is not needed-- it's to show you that it's routing traffic. You won't be able to ping IPs from the command line and somehow Market doesn't think you're online but SAM Market, Browser, etc. do work. It's nice because you are not taxing the RAM of the phone for connectivity so it runs much quicker... unless it hard freezes on you.
i use tetherbot to tether my phone now that it's running android full time. basically install tetherbot and start the socks proxy server on port 1080 then.
Code:
adb forward tcp:1080 tcp:1080
from your computer and set up firefox to connect manually to the proxy.
http://www.google.com/url?sa=t&sour...tLoX-20q2czcpvdhw&sig2=YLuIUO1a9NqdzdKn2NhO5Q
http://www.google.com/url?sa=t&sour...D0n7yQtvLGRfy1GXg&sig2=OMS2j6DiIEHenOugM9VbSg
zenulator said:
http://www.google.com/url?sa=t&sour...D0n7yQtvLGRfy1GXg&sig2=OMS2j6DiIEHenOugM9VbSg
Click to expand...
Click to collapse
WOW..... this second link leads to a beautiful website.
10 levels of gay for poor "kevin" of 'kevin♥Amanda' but still a nice looking site
Geez.... he didn't even get his name capitalized in the header picture
/on_topic: I'll try Tetherbot.
(is there a way to use Tetherbot with Google Chrome? I haven't used Firefox in ages)
zenulator said:
i use tetherbot to tether my phone now that it's running android full time. basically install tetherbot and start the socks proxy server on port 1080 then.
Code:
adb forward tcp:1080 tcp:1080
from your computer and set up firefox to connect manually to the proxy.
http://www.google.com/url?sa=t&sour...tLoX-20q2czcpvdhw&sig2=YLuIUO1a9NqdzdKn2NhO5Q
http://www.google.com/url?sa=t&sour...D0n7yQtvLGRfy1GXg&sig2=OMS2j6DiIEHenOugM9VbSg
Click to expand...
Click to collapse
I'm sorry, but isn't Tetherbot used to share your phone's internet connection with your computer?
I think we are trying to be able to "reverse tether" and not tether.
enatefox (and others)...
I would love to see how this reverse-tethering can work. I know its very complicated and buggy right now, but if you do any more work on it you should create a thread showing how in layman's terms. I have dual-boots on both my computers into Ubuntu 9.10, I know what the terminal is and sudo and some basic commands, but when you type your commands with little explanation I get lost. They could use some clarification [ such as 1) open terminal 2) type these commands. ] And please explain terminal in Android. What apk do I need? I probably have it already but just need to install it. Thanks for any help. I don't have data since my line costs $10 a month (family plan) and data would be $26 a month. I just started reverse-tethering with WM6.5.1 and its really cool.
There aren't any other steps you just run what I posted and change "192.168.37.107" to what your desktop's IP is and "192.168.37.100" to "192.168.xxx.100" where "xxx" is the subnet of your LAN-- matching the 3rd set of numbers of your desktop's IP.
You can run these commands over ADB, which is required to do this. Here's a guide on how to set it up.
Here is what I came up with trying to do the same thing with bluetooth instead :
http://forum.xda-developers.com/showpost.php?p=4404512&postcount=9
I was missing your "ip addr..." command to add the forwarding network, this should help, I will give it a try.
I also came to the conclusion that I needed a way to fake that either the wifi or the data connection was up. Maybe this can be done by issuing a "setprop" command forcing the status to being "up"?
enatefox said:
There aren't any other steps you just run what I posted and change "192.168.37.107" to what your desktop's IP is and "192.168.37.100" to "192.168.xxx.100" where "xxx" is the subnet of your LAN-- matching the 3rd set of numbers of your desktop's IP.
You can run these commands over ADB, which is required to do this. Here's a guide on how to set it up.
Click to expand...
Click to collapse
UGH I'm stuck right now. I'm using Ubuntu 9.10, and when I type in terminal "sudo /etc/init.d/udev restart" I get some error message telling me to do it a different way. So even after restarting the computer, it does not recognize any command for adb. I already did the export PATH to the androidsdk/tools folder and adb is in there, but I cannot get it to open. Any ideas?
Got it to see adb. I forgot to put /home/drkow19 in front of the path...
edit: Has anyone successfully used ADB with zen's 2.0.1? I'm trying right now but it shows no devices connected. In the 50-android.rules file I have 0bb4 instead of 18d1 like enatefox said to. Also, on the Dream forums the file they use is 51-android.rules, whats the diff?
0bb4 and 18d1 are determined in the source code. Different versions can change so whichever is shown, use. The 50 and 51 are indicators for timing. Maybe I have this backwards but 51 should start later than 50 and can address issues with it not being recognized or more precisely, overrode with another operation. I set mine to 51.
Okay I deleted 50 and used 51-android.rules. What is the line about "define vendor id" does that need to be in the 51 file?
I can say adb start-server but no devices... They say you need to sudo adb start-server but when I try that I get "sudo: adb: command not found" How do you add the adb PATH so it works under sudo as well?

▌█▐ Free USB Tether method for Android - AziLink 2.0.2 ▌█▐

▌█▐ Free USB Tether method for Android - AziLink 2.0.2 ▌█▐
DOES NOT REQUIRE ROOT!
I came across this while searching for free USB tethering methods and apps. I am currently posting this message from this method and it is 100% free to setup and use. I know rooted devices can utilize the free Wifi tether, which I also have and I am also rooted but it kills my battery to use that so I wanted to find a USB solution.
I have compiled all needed files and zipped them for ease of download.
Download link: (---CLICK HERE!---)
Website: http://code.google.com/p/azilink/
Instructions from that site (which is also included in the .zip file):
[FONT=&quot]Description:
AziLink is an application that allows USB tethering for Android-based phones, without requiring root access. It works by using a Java-based NAT that communicates with OpenVPN on the host computer. It's been tested on MacOS, Windows, and Linux. The connection will be forwarded over the phone's active network service, which can be either WiFi or 3G/EDGE.
Required files:
* ADB from the 1.1 or 1.5 Android SDK or from http://lfx.org/azilink/adb.zip
* OpenVPN 2.1 (not 2.0) from http://openvpn.net/index.php/downloads.html
* AziLink.apk from the download section or from http://lfx.org/azilink/azilink.apk
* AziLink.ovpn from the download section or from http://lfx.org/azilink/azilink.ovpn
Installation:
1) Install OpenVPN on the host. I use version 2.1_rc15, but any version should work. Apparently if you use version 2.0 you'll need to remove the NO_DELAY option from the AziLink.ovpn configuration file. You can find OpenVPN at:
http://openvpn.net/index.php/downloads.html
2) Enable USB debugging on the phone. From the home screen, this is under
Settings>Applications>Development>USB debugging.
3) Install the Android USB driver (if you don't already have one installed).
See http://developer.android.com/guide/developing/device.html for more information. The driver is included in the ADB download if you don't want to get the full SDK.
4) Install the program. You can either use ADB to install by typing
"adb install azilink.apk" with the file in the current directory, or you can browse (on the phone!) to: http://lfx.org/azilink/azilink.apk
Either way you might need to allow installation from unknown sources
under Settings>Applications>Unknown Sources.
Configuration steps:
1) On the host, run "adb forward tcp:41927 tcp:41927" to set up port forwarding. Be sure to use adb from the Android 1.1 or 1.5 SDK! The version from 1.0 will lock up under heavy load. If you don't want to download the entire SDK, you can get a copy of ADB+drivers from http://lfx.org/azilink/adb.zip
2) On the phone, run AziLink and make sure "Service active" is checked.
3) Right click AziLink.ovpn on the host (not in the web browser!) and select "Start OpenVPN on this configuration file." You can find this file at: http://lfx.org/azilink/azilink.ovpn. If you're using Linux or, god forbid, MacOS, you'll also need to manually set the nameserver to 192.168.56.1 (the phone's NAT IP address). This address is automatically forwarded to the phone's current DNS server.[/FONT]
Just wanted to point out there is also a wired tether app by same dev as wireless tether app and also comes built in with latest cyanogenmod.
I personally don't like anything that requires drivers as I often tether to my iPod and anything that requires a driver won't work with my iPod or many other common items I tether to.
However, everyone likes their own procedures, and I'm sure someone will find this useful.
r3s-rt said:
Just wanted to point out there is also a wired tether app by same dev as wireless tether app and also comes built in with latest cyanogenmod.
I personally don't like anything that requires drivers as I often tether to my iPod and anything that requires a driver won't work with my iPod or many other common items I tether to.
However, everyone likes their own procedures, and I'm sure someone will find this useful.
Click to expand...
Click to collapse
Yeah, depends on the device. In my case, I have a HTC Hero with Sprint (CDMA) and there is no cyanogenmod for it that I am ware of.
Pyr0TeK said:
Yeah, depends on the device. In my case, I have a HTC Hero with Sprint (CDMA) and there is no cyanogenmod for it that I am ware of.
Click to expand...
Click to collapse
u sir, have failed, jk but here is a cyanogen rom from one of ur guys great developers Darchdroid v 2.7
Darchdroid 2.7 w/ Wired Tether
I'm trying to get the Wired Tether app (made by the same ppl as Wireless Tether than everyone knows and loves) to work with Darchdroid 2.7 but am having no luck!
If anyone has gotten it to work, please let me know how!
I've got the app installed, but Windows 7 does not recognize it as a network adapter...thinking its a windows driver issue, but need some help...
thanks!
thank you 4 ur nice help!!!!!!!!!!!!!!
why not justdownload pdanet or easytether i have both and the wireless tether those two are very simple to use and works good
Two reasons that i use Azilink:
1: no PDANet usb support for linux
2: wired tether built into cyanogen, as well as the standalone app cause the 3g connection in my Eris to intermittently cut in and out while azilink does not. (PDANET solves this problem in windows)
u can giv a try to easy tether but its not free tho work fine and easy to use
EasyTether shares your Android smartphone connection with your PC. This app allows you to tether your Android to a desktop or a notebook computer. EasyTether uses exactly the same data plan that is used for the on-phone Internet access like in the built-in browser or e-mail app or youtube application. No additional tethering fees.
Features
* does not require root access
* supports Windows 7/Vista/XP (32-bit and 64-bit), Mac OS X 10.6/10.5/10.4, and Ubuntu 10.4+
* UDP support for games, for L2TP VPN (not PPTP!) and for some IM apps
* tether PS3, XBox 360 or Wii via Windows Internet Connection Sharing feature
* free lifetime upgrades for the full version
* USB support
* compatible with HTC Sync
* Bluetooth DUN will be added later.
* much cheaper than PDANet
* implemented as a normal NAT application with full TCP and UDP support
Is it possible to use Azilink with Voip?
I have nat error, so is it possible to forward ports?
Yup, thats dumb question, why to tether for voip if you can use wirless card
I have sagem dongle and it ... losses connection often while my phone is online all the time, and i don't want to spend money for some good wifi adapter, if i could use phone that i already have
Awesome
Anybody know where to find an apk in 2020? There are github sites but only source there. I don't consider EasyTether to be so wonderful, and I paid the $10 for it. It's not open source so I can't tell why it breaks but I've had to reinstall it maybe 20 times, it's a black box.
ab1jx said:
Anybody know where to find an apk in 2020? There are github sites but only source there. I don't consider EasyTether to be so wonderful, and I paid the $10 for it. It's not open source so I can't tell why it breaks but I've had to reinstall it maybe 20 times, it's a black box.
Click to expand...
Click to collapse
Have u tried FoxFi
I probably should have checked back here, I'm learning to live with easytether. I wrote a little bash script to pkill the easytether-usb process, wait 1 second, then restart it. That for some reason seems to renew the phone connection. I can connect via ssh over wifi to the Pi that's serving as an AP/router, run that script and it's fixed. It's maybe not worked twice in 6 months, I need to do it half a dozen times a day or so. I can ssh from a computer or phone.

[Q] usb reverse tether to feature phone

I have a basic samsung feature phone. Id like to use this as a modem for my Acer if possible. This phone works fine on all my ubuntu systems - just plug it in for the first time, click next-next in the wizard and I'm online. On the tablet, I see that it shows up as a /dev/ttyACM0. I belive this means that its a matter of getting the correct chat commands and associating pppd with the android layer. I imagine the process must be similar as to getting a USB 3G dongle working. Does anyone have any thoughts on how to do this?
There are already some threads about tethering the tablet to your phone, as well as 3G dongles.
http://forum.xda-developers.com/showthread.php?t=1152869
But yeah, no solution yet.
got it working
I thought I'd post the info on how I got this working for my specific situation. I have not read many other threads about this so maybe this type of info is already out there.
My phone is a basic samsung feature phone on AT&T that I called up and got unlimited data for $10/mo extra. This phone is practically unusable for browsing on itself. I plugged it into my ubuntu laptop and basically the tethering worked right away. I thought then that it should be able to work on the tablet. I wanted to make sure that "unlimited data" also applied to tethering to a computer. They said yes, if you can get tethering working - still no limit. I get 1-2Mbit rate over it.
This is on a rooted tablet, of course.
When I plug it into my tablet I get a single /dev/ttyACM0. If your phone is similar, you maybe able to use this info.
I went to At+t website and found this:
Then I read the man pages for pppd "man pppd". From this information, I understood how to modify the sample scripts "gprs", "gprs-connect-chat" and "gprs-disconnect-chat".
I then came up with a suitable "ip-up" script, based on ones found in the Huawei 3G modem example code. This is called when a ppp0 connection is made. Some of the lines in there I am not sure of, but it works, regardless.
I was surprised to find the standard "chat" program was not present in any of the roms I'd tried. Currently I am using virtuous Xoom. Somewhere, I found "chat-ril" which did the trick.
I've attached "modem.zip" which contains all the mentioned files.
From a root shell, you type:
pppd call gprs &
(This is kind of a pain but I'd like to find a way to automatically do that when the phone is plugged in)
If you do ifconfig ppp0, you should have an address, then try to browse.
Now I'm watching Netflix on my A500 as I drive! Also google navigation is absolutely great on a tablet, once you have the data connection.
willyampz said:
I've attached "modem.zip" which contains all the mentioned files.
From a root shell, you type:
pppd call gprs &
(This is kind of a pain but I'd like to find a way to automatically do that when the phone is plugged in)
If you do ifconfig ppp0, you should have an address, then try to browse.
Now I'm watching Netflix on my A500 as I drive!
Click to expand...
Click to collapse
Thanks for the work, but what are we to do with the modem.zip file you provided?
Modem zip contains the scripts and the chat-ril utility that need to be copied to your tablet. There's two ways to copy the files to your tablet:
1)
first unzip the files on your PC
use adb and push the files over to your tablet in the corresponding locations under /system.
2)
unzip the files to a micro SD or USB stick
remount the /system partition as read/write
copy them to the corresponding locations in the tablet filesystem from the SD or USB stick.
Copying files to your /system partition is described elsewhere in the forum but I can give more detail if needed.
I'm admittedly a noob on many levels. I think I followed your instructions but I get:
# pppd call gprs &
# /system/bin/chat-ril: permission denied
Any suggestions?
make sure you do it as root by typing 'su' first. Also check the permissions of chat-ril binary to be executable.
Thanks, it was the chat-ril with incorrect permissions.
So going with what you provided and much help from Google, I was able to make my own set of scripts for my phone and carrier (a Nokia 5230 and T-mobile). It looks like it's connecting both in my shell on the tablet (all "got it"s and OKs) and on the phone side which shows it with the 3G connection in use. Executing that ifconfig ppp0 gives me an ip address with a [up point-to-point running multicast].
My problem is I can't seem to access anything on the tablet. I can ping google from within the shell but the default browser, Dolphin, and the rest of my internet accessing apps don't work. I did change a line in the ip-up file from /system/bin/setprop "net.interfaces.defaultroute" "gprs" to "3g", which is what I named my connection script. Is there something else I'm missing?
Thank you for all the help.
Well, the good news is you can ping which probably means it can work and you are just about there.
The stuff in ip-up I don't completely understand myself, but that's probably where the issue is. By that point I was so close and anxious, that I just manually did some 'setprop's and experiment until it worked. I had exactly the same issue where I could ping but not browse at one point. Also, make sure the dns setprop's are set. Are you sure the "3g" should not be "gprs". I'm not sure that has to do with the script name. But maybe just the fact that you can ping means that's ok. I'm just not sure. Good luck.

Remote you phone from Computer!

Android - Remote your android phone via usb cable or wireless router from PC.
Phone must be ROOTED!
Download droid VNC server - http://goo.gl/hYLXp - install it.
Download android adb driver - http://goo.gl/faiJU
extract adb.zip driver to Local Disk C = C:\adb
Now, click start, click RUN, type CMD, - ENTER
type adb command - cd \ - ENTER, type adb.exe - ENTER.
type - adb forward tcp:5901 tcp:5901 - ENTER
type - adb forward tcp:5801 tcp:5801 - ENTER
Go back to you're phone and open/start droid VNC Server
Wireless Mode - Phone and Computer must be connected to the same router.
Follow instruction on the phone screen once you press start - Example http://192.168.1.2:5801/ <--- type this in your Computer browser = Enjoy!
USB Cable Mode - Disable data connection (flight mode). Start droid VNC Server, Follow instruction on the phone screen once you press start - Example http://localhost:5801/ <--- type this in your Computer browser.
Once you able to remote your phone from you computer browser, press phone menu and re-enable data connectivity (disable flight mode) = Enjoy!
Or simply download Remote Web Desktop in the Market. It's free.
or webkey, also free on market. havent tried Remote Web Desktop, but webkey is pretty good
dr. xp55 said:
or webkey, also free on market. havent tried Remote Web Desktop, but webkey is pretty good
Click to expand...
Click to collapse
my mobiler is the easiest i have tried. Just install the software on the pc (i use win 7 64 bit). turn on the "debugging" in the development settings of the phone. it will automatically push the app into the phone. Very simple indeed...
irajvi said:
my mobiler is the easiest i have tried. Just install the software on the pc (i use win 7 64 bit). turn on the "debugging" in the development settings of the phone. it will automatically push the app into the phone. Very simple indeed...
Click to expand...
Click to collapse
my mobiler is the easiest. Tried. thanks
irajvi said:
my mobiler is the easiest i have tried. Just install the software on the pc (i use win 7 64 bit). turn on the "debugging" in the development settings of the phone. it will automatically push the app into the phone. Very simple indeed...
Click to expand...
Click to collapse
+1 mymobiler.
v0.9.2
wow, its like opp of vnc.
irajvi said:
my mobiler is the easiest i have tried. Just install the software on the pc (i use win 7 64 bit). turn on the "debugging" in the development settings of the phone. it will automatically push the app into the phone. Very simple indeed...
Click to expand...
Click to collapse
my mobiler needs the phone to be connected to the desktop with a usb cable. thats a turn off. and if a rom (such as some of the ics roms based off the leak rom) isn't supporting usb mount, then theres no use. webkey can be connected to your phone from any wi-fi connection, from any browser, from any pc.
Mymobiler was the ipso facto app for wm6.x to enable one to control ones phone via a pc.
many people were waiting for it to be ported to android. It does support wifi as well as USB connections. I'm fiddling with mine now, as it happens. (downloading webkey, never heard of that one so thanks. I'll have a fiddle with that one too. It looks far more complicated i.e My mobiler is exactly what is says. Your phone on your desktop. I do like the look of the GPS stuff in webkey though.. Still fiddling...)
Webkey... far too complicated. How many user names/passwords/registration of device with them even?
kies air
you guys do know tht there is an app called Kies Air on our devices by default tht allows you to do tht ryt?!
Kies Air has less functionality
jeremy.chan said:
Kies Air has less functionality
Click to expand...
Click to collapse
I agree with that, but it also depends on what requirements you got
little bit slow, but worth it a try
webkey is slow over the wifi. cant connect with usb. much trickier than mymobiler. Also much slower than my mobiler.
Actually, I agree. Hence, I've uninstalled it since discovering Airdroid. Its also free on the now Google Play Store (seriously though, Google Market sounds much better, I don't know what they were thinking.)
Its similar to webkey, but its more organized and has a better layout. And if you can't or don't want to connect via Wi-Fi you can tether it to your PC with a USB. You can control your Note from the browser as well. Definitely check this one out, much simpler to use. I don't like apps that restrict me to only be able to control my phone or act as a file manager with a cable. But this has both options.
Sent from my GT-N7000 using xda premium
You can now use our VMLite VNC Server, the first and only VNC Server that works on any devices, on rooted or unrooted devices.
It provides you the full control of the device from a PC or from another device, with very repsonsive keyboard and mouse operations.
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
For a review, pls read:
http://www.androidtapp.com/vmlite-vnc-server/

Mounting Samba/CIFS shares on Shield TV

Hi guys,
I am facing a lot of difficulty in trying to mount a samba share on the shield TV (16gb model).
It's freshly rooted with busybox, supersu, se linux mode and patched cifs manager.
No matter how I try to mount it, via terminal or via the patched CIFSManager, I always get an error saying "cannot access a needed shared library".
su --mount-master -c busybox mount -o username=shaf,password=android,rw,noperm,iocharset=utf8 -t cifs //192.168.1.1/android /data/media/0/android
The network folder is perfectly accessible through ES File explorer & I've even tried formatting the network drive as ext4.
I have checked in proc/ and the cifs files are there but I'm not sure if I need to load a cifs.ko kernel module, I assumed it was loaded.
I would be very grateful if someone could help me out here and point me in the right direction.
Shaf_96 said:
Hi guys,
I am facing a lot of difficulty in trying to mount a samba share on the shield TV (16gb model).
It's freshly rooted with busybox, supersu, se linux mode and patched cifs manager.
No matter how I try to mount it, via terminal or via the patched CIFSManager, I always get an error saying "cannot access a needed shared library".
su --mount-master -c busybox mount -o username=shaf,password=android,rw,noperm,iocharset=utf8 -t cifs //192.168.1.1/android /data/media/0/android
The network folder is perfectly accessible through ES File explorer & I've even tried formatting the network drive as ext4.
I have checked in proc/ and the cifs files are there but I'm not sure if I need to load a cifs.ko kernel module, I assumed it was loaded.
I would be very grateful if someone could help me out here and point me in the right direction.
Click to expand...
Click to collapse
Similar situation
Have shield as the server (3.0 usb edit: with a connected usb 3.0 harddrive)
edit: ive not found a suitable server app yet
I always assumed ciffs manager/mount manager worked only on jellybean and below......i assume the patched cifs app changes this.
In my search for alternatives, this ones the closest ive seen thats most recent and promissing, but have not managed to get it working, you seem like you might understand it better then i
http://forum.xda-developers.com/fire-tv/themes-apps/script-mount-samba-cifs-shares-t2993035
Edit
if you do find a solution, i'd be much gratefull if you post it.......gd luck
hey guys. im not much on networking. trying to figure it all out myself, but i found this app awhile back called servers ultimate pro.
https://play.google.com/store/apps/details?id=com.icecoldapps.serversultimatepro
they do have a 7 day trial to test things out but through this app i was able to create a smb/cifs server with windows 10 being able to map it as a network drive. At least on windows 10, i had to google and eventually found a few registry tweaks to make windows actually see it.
Currently my issue now is speed transfer isnt all that fast. its usable for my needs, but i average about 5-10MBps during transfer with an external usb 3.0 HDD plugged into the shield tv, transferring files over the network between my windows 10 machine. That is an issue im currently working on fixing, but i was at least able to create a working server with this app. The authors have a forum on xda as well but its looking more and more that it might become abandoned (servers ultimate pro) as the author(s) havent been responding to forum questions or even emails.
either way, just thought id let you guys know.
unvaluablespace said:
hey guys. im not much on networking. trying to figure it all out myself, but i found this app awhile back called servers ultimate pro.
https://play.google.com/store/apps/details?id=com.icecoldapps.serversultimatepro
they do have a 7 day trial to test things out but through this app i was able to create a smb/cifs server with windows 10 being able to map it as a network drive. At least on windows 10, i had to google and eventually found a few registry tweaks to make windows actually see it.
Currently my issue now is speed transfer isnt all that fast. its usable for my needs, but i average about 5-10MBps during transfer with an external usb 3.0 HDD plugged into the shield tv, transferring files over the network between my windows 10 machine. That is an issue im currently working on fixing, but i was at least able to create a working server with this app. The authors have a forum on xda as well but its looking more and more that it might become abandoned (servers ultimate pro) as the author(s) havent been responding to forum questions or even emails.
either way, just thought id let you guys know.
Click to expand...
Click to collapse
Ive actually tried that one amongst others, was one of the best tested at the time, even had, if i recall correctly, tasker support which is a must, but my shield for all intense and purposes, will be free of the google eco system, hence why i wont/cant have apps that require license check.......i dont like the artificial dependancy on other apps/services such as google services
On the lookout, hopefully, for an open source alternative with good tasker support.
banderos101 said:
Similar situation
Have shield as the server (3.0 usb edit: with a connected usb 3.0 harddrive)
edit: ive not found a suitable server app yet
I always assumed ciffs manager/mount manager worked only on jellybean and below......i assume the patched cifs app changes this.
In my search for alternatives, this ones the closest ive seen thats most recent and promissing, but have not managed to get it working, you seem like you might understand it better then i
http://forum.xda-developers.com/fire-tv/themes-apps/script-mount-samba-cifs-shares-t2993035
Edit
if you do find a solution, i'd be much gratefull if you post it.......gd luck
Click to expand...
Click to collapse
Hey thanks buddy,
I think I had a look at that before but ignored it temporarily as I wanted to fix mounting samba shares first thereafter focus on making a script so it mounts automatically on boot but I don't see a problem with skipping straight to using the script.
Unfortunately, I won't be able to check/test the firetv script until next weekend, what problem do you have when trying to use the script?
I'm tempted to install the full android version with a tv style home launcher and check if I can connect to samba shares as this is driving me nuts lol.
Check out the thread 'nVidia Shield Android TV - Post your home screen' and see andrewthecoder's post, need to ask him if he's able to mount remote samba shares.
BTW guys, I think there's some confusion, my intention is to use the shield tv as a client, not to host a samba server lol.
Shaf_96 said:
Hey thanks buddy,
I think I had a look at that before but ignored it temporarily as I wanted to fix mounting samba shares first thereafter focus on making a script so it mounts automatically on boot but I don't see a problem with skipping straight to using the script.
Unfortunately, I won't be able to check/test the firetv script until next weekend, what problem do you have when trying to use the script?
I'm tempted to install the full android version with a tv style home launcher and check if I can connect to samba shares as this is driving me nuts lol.
Check out the thread 'nVidia Shield Android TV - Post your home screen' and see andrewthecoder's post, need to ask him if he's able to mount remote samba shares.
BTW guys, I think there's some confusion, my intention is to use the shield tv as a client, not to host a samba server lol.
Click to expand...
Click to collapse
Yeah sorry, i did actually realise you were talking client side, i went slightly offtopic with server side talk
Honestly, i didnt really put much effort into it, just quickly tried to see if it worked first, second, third try before giving up, waiting on more info on the xda thread, or maybe even an app to do this more simply, or an alternative working method.........im playing the, keep my ears to the ground, waiting game
Plus, ive not found any confirmation on which android samba servers are confirmed working for this kind of mount, so i have the worry, that the script may work, but fail on a non standard samba server.........again, waiting on confirmation on what works and hopefully a guide.........looking it up every now and again
banderos101 said:
Yeah sorry, i did actually realise you were talking client side, i went slightly offtopic with server side talk
Honestly, i didnt really put much effort into it, just quickly tried to see if it worked first, second, third try before giving up, waiting on more info on the xda thread, or maybe even an app to do this more simply, or an alternative working method.........im playing the, keep my ears to the ground, waiting game
Plus, ive not found any confirmation on which android samba servers are confirmed working for this kind of mount, so i have the worry, that the script may work, but fail on a non standard samba server.........again, waiting on confirmation on what works and hopefully a guide.........looking it up every now and again
Click to expand...
Click to collapse
Haha no worries man, yes I'll try messing with that coming this Friday evening, did you use script manager, SManager?
Ah damn I did not even know there's different types of samba servers! ?
Lool I'm the complete opposite, too impatient to wait, that's why I'm really considering installing the full android version. It would be such a delight to have the dreamcast and gamecube roms running of the NAS drive as well as 4K files in the future.
Shaf_96 said:
Haha no worries man, yes I'll try messing with that coming this Friday evening, did you use script manager, SManager?
Ah damn I did not even know there's different types of samba servers!
Lool I'm the complete opposite, too impatient to wait, that's why I'm really considering installing the full android version. It would be such a delight to have the dreamcast and gamecube roms running of the NAS drive as well as 4K files in the future.
Click to expand...
Click to collapse
I used SManager
Sorry, what i meant was, that there is more then one samba server app for android.........all at various levels of development
Yep, i cant wait till i can unify network storage on android myself........one of the reasons i bought the shield.......assuming a solution ever decides to be polite........and show up
Shaf_96 said:
Hi guys,
I am facing a lot of difficulty in trying to mount a samba share on the shield TV (16gb model).
It's freshly rooted with busybox, supersu, se linux mode and patched cifs manager.
No matter how I try to mount it, via terminal or via the patched CIFSManager, I always get an error saying "cannot access a needed shared library".
su --mount-master -c busybox mount -o username=shaf,password=android,rw,noperm,iocharset=utf8 -t cifs //192.168.1.1/android /data/media/0/android
The network folder is perfectly accessible through ES File explorer & I've even tried formatting the network drive as ext4.
I have checked in proc/ and the cifs files are there but I'm not sure if I need to load a cifs.ko kernel module, I assumed it was loaded.
I would be very grateful if someone could help me out here and point me in the right direction.
Click to expand...
Click to collapse
For mine I found that the utf8 bit was throwing it off. I removed that and added sec=ntlm and that worked for me. The only downside is apps can read from it but can't seem to write to it. Give it a go and see if that helps though.
gumbi2400 said:
For mine I found that the utf8 bit was throwing it off. I removed that and added sec=ntlm and that worked for me. The only downside is apps can read from it but can't seem to write to it. Give it a go and see if that helps though.
Click to expand...
Click to collapse
Ahhhhh, now were getting somewhere
Thanks for that luvley bit of insight, and the thread maker for starting the subject in the first place........hopefully, a write solution will show up and find its way to this "network storage mounting" thread..........
Theres another potential, i stress, potential avenue to mount local filesystems beyond jellybean...sshfs
Easysshfs
https://play.google.com/store/apps/details?id=ru.nsu.bobrofon.easysshfs&hl=en
https://bitbucket.org/bobrofon/easysshfs
Ive attempted to test this, sshelper server on the shield, easysshfs on the tablet with no success.......im thinking theres kernel modules involved( fuse.ko) , mind you im no expert. (Easysshfs logs makes mention of "fuse.sshfs is not in proc/mounts")
If modules are indeed involved then this is not an ideal solution (unless kernel moduling becomes universally compatible somehow), as i'd prefer any future purchases of stock android to have the ability natively, minimum, instead of waiting and hoping someone can release a solution
Sshelper
https://play.google.com/store/apps/details?id=com.arachnoid.sshelper&hl=en
http://arachnoid.com/android/SSHelper/
Edit
Well holy moly, i got it working, i just randomly decided to put admin as username instead of leaving it blank and hey presto....mounted.........quickly tested a file manager without network support, opensource "amaze", to browse and play a video on my tab from a usb stick on my shield........excellent
So for those interested, a simple two app install plus configuring (username,pass,mount to, mount from) and you have network mounting.....on lollipop.........excellent
Shaf_96 said:
Hey thanks buddy,
I think I had a look at that before but ignored it temporarily as I wanted to fix mounting samba shares first thereafter focus on making a script so it mounts automatically on boot but I don't see a problem with skipping straight to using the script.
Unfortunately, I won't be able to check/test the firetv script until next weekend, what problem do you have when trying to use the script?
I'm tempted to install the full android version with a tv style home launcher and check if I can connect to samba shares as this is driving me nuts lol.
Check out the thread 'nVidia Shield Android TV - Post your home screen' and see andrewthecoder's post, need to ask him if he's able to mount remote samba shares.
BTW guys, I think there's some confusion, my intention is to use the shield tv as a client, not to host a samba server lol.
Click to expand...
Click to collapse
Kodi has samba ability as client. Used for video and audio files. Find it in google store free
This worked for me:
http://forum.xda-developers.com/shield-tv/general/samba-network-file-sharing-nvidia-t3321522
slamride said:
Kodi has samba ability as client. Used for video and audio files. Find it in google store free
Click to expand...
Click to collapse
Have you gotten this to work? I had it working on a previous OpenELEC box and an Xbian box, but I can't get it working on KODI on the Shield.
wishx said:
Have you gotten this to work? I had it working on a previous OpenELEC box and an Xbian box, but I can't get it working on KODI on the Shield.
Click to expand...
Click to collapse
Yes I am sharing a "server of sorts" (Desktop in den with video and audio files stored) with multiple setups .
Shield with Kodi
Laptop with Kodi
Laptop with VLC
Samsung Tablets with Kodi or VLC
Sharing permissions need to be set to allow "Everyone" read/write access on server
I use a "MOVIE" folder, a "TV SHOW" folder,and a "MUSIC" folder then add source under files in KODI,select scraper for tv,movie,or music and it will also add covers and details to list. Kodi will detect files and add a MOVIE ,TV SHOWS, and MUSIC tab on home screen after scanning. I also set "scan on startup" " in systems settings so I only need to reboot to update libraries.
https://kodi.tv/ use wiki if you get lost
Hope this helps
slamride said:
Yes I am sharing a "server of sorts" (Desktop in den with video and audio files stored) with multiple setups .
Shield with Kodi
Laptop with Kodi
Laptop with VLC
Samsung Tablets with Kodi or VLC
Sharing permissions need to be set to allow "Everyone" read/write access on server
Hope this helps
Click to expand...
Click to collapse
It appears you are sharing your media from a server to the Shield. I am trying to use my Shield with Kodi as the server. I have an external drive attached by USB to the Shield and need to connect two other computers to it. I did this previously with OpenELEC and Xbian, but I can't get them to recognize the Shield/Kodi on the network like I'm used to. Any assistance would be great. Thanks!
I should probably mention that I am not rooted and would like to not root my Shield so I can get further updates rolled out by NVidia. That's kind of the problem.
I'm trying to run a Samba server on the NVidia Shield without root that has read/write access to external storage (external hard drive).
So far, I've been able to get FTP servers running on it, but nothing allows access to my external storage. I'd much prefer SMB to FTP though.
Any thoughts or suggestions?
AFAIK it is not possible to run a Samba server on Android without root since SMB uses port numbers < 1024.
Rather than attach my external drive directly to the NVidia Shield, I attached it to the router and have all my computers (Linux and Windows boxes) and the Shield connect to the shared drive and all folders. That works great!
unvaluablespace said:
hey guys. im not much on networking. trying to figure it all out myself, but i found this app awhile back called servers ultimate pro.
https://play.google.com/store/apps/details?id=com.icecoldapps.serversultimatepro
they do have a 7 day trial to test things out but through this app i was able to create a smb/cifs server with windows 10 being able to map it as a network drive. At least on windows 10, i had to google and eventually found a few registry tweaks to make windows actually see it.
Currently my issue now is speed transfer isnt all that fast. its usable for my needs, but i average about 5-10MBps during transfer with an external usb 3.0 HDD plugged into the shield tv, transferring files over the network between my windows 10 machine. That is an issue im currently working on fixing, but i was at least able to create a working server with this app. The authors have a forum on xda as well but its looking more and more that it might become abandoned (servers ultimate pro) as the author(s) havent been responding to forum questions or even emails.
either way, just thought id let you guys know.
Click to expand...
Click to collapse
Does this app need root access? I saw this app yesterday and was going to try it.

Categories

Resources