Related
Hi,
i tried to connect the Tab(Open Kang 31 Rom) to a pc with Ubuntu 12.04 and i had a strange issue( i read all the posts so i selected in Setting/Storage MTP ). The pc is not able to open the Tablet Storage and this is the error msg:
"Sorry, could not display all the contents of "GT-P7510": DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
I tried to connect the tablet to a Windows plattaform and everything works fine.
Any ideas?
Thank you
Two issue :
the first which can be hard
1) look here : h**t://kobablog.wordpress.com/2011/05/25/connecting-samsung-galaxy-tab-10-1-via-adb-on-ubuntu/
the second which is easy :
You can simply acces to your tab wireless with app like WIFI File Transfer
Just like Brahim93 suggested, you can use adb, it will give you more than access to the internal storage, it will be helpful for debugging, testing and other related things.
But if you only want to access the files like in Windows, mount your tab with something like mtpfs.
Other option (if you have the proper network configuration) is using a FTP server in your tablet, like SwiFTP FTP Server.
Thank you both of you...i will try what you suggested.
Sent from my GT-P7510 using xda premium
Dear all
I want to connect a usb printer to an android device like android tv box to share it through LAN. Does anybody know an application can make android device to be a print server, or how can i make andoid device to be a print server
Thanks
Have you managed to do anything. ?
+1
I guess there is still no solution to this. I have same setup with a TV-Box, but can't figure out how to share over the network. I tried Servers Ultimate and the LPD print server it has, but had no luck getting it to work. I think we would need CUPS built in to the kernel of our device ROM.
I hope someone comes up with a solution. Doesn't seem like a big challenge.
If only google Cloud Print could see the attached USB printer and make it accessible.
You can set up Linux chroot (I used Linux Deploy) to install a cups server and share printer over the network. I am using this solution for a long time and it does the job.
krzysiek.karolak1 said:
You can set up Linux chroot (I used Linux Deploy) to install a cups server and share printer over the network. I am using this solution for a long time and it does the job.
Click to expand...
Click to collapse
Do u have tutorial for this? thanks
I am also interested in this.
ket_92 said:
Do u have tutorial for this? thanks
Click to expand...
Click to collapse
It will take some time for you if you haven't used linux and if you do not have idea about how to execute any of the steps I mention below.
Follow these steps:
* Root your phone
* Install Linux Deploy from play store
* Select distribution as Ubuntu in Linux Deploy and install it (this will take time as it will download the linux image and install it)
* In the config options, select VNC or SSH (this is only to install the cups package)
* Login to the linux machine (running on your android phone) using SSH or VNC
* Install cups, cups-daemon packages (run command "sudo apt-get install cups cups-daemon")
* Start cups daemon: run command "sudo /etc/init.d/cups start"
* Install system-config-printer-gnome if using VNC (run command "sudo apt-get install system-config-printer-gnome")
* If using VNC, connect to the machine using a VNC client and run "sudo /usr/share/system-config-printer/system-config-printer.py". In the screen, add your printer and share it to be used over network
* If using SSH, connect to the machine and add your printer using lpadmin (this is a bit advanced, use VNC to avoid and set the printer easily)
Ok, if I set it like this, do I need to start that Linux after every reboot or it will work automatically? I would also like to use my Android TV box as a scanner server, cause I have HP MFP printer.
Thank you @krischat1001 for the steps.
I'm trying to make my printer working with this method (Brother DCP-165C connected to Khadas VIM2)
The Linux Deploy is running well with CUPS installed. The printer USB port was correctly identified (I think), I installed the cupswrapper official driver and selected it while adding the printer.
The problem is the printer never was triggered by CUPS, even while all the jobs are listed as done. I tried print a test page using CUPS and also print from another computer where the CUPS server was added.
What I can see in the printer screen is a fast message "Receiving data", for 100ms or so, on the exact moment I start a print job (this is the normal message shown while printing). But nothing is printed.
Is there any idea on whats going on?
fearbrain said:
Thank you @krischat1001 for the steps.
I'm trying to make my printer working with this method (Brother DCP-165C connected to Khadas VIM2)
The Linux Deploy is running well with CUPS installed. The printer USB port was correctly identified (I think), I installed the cupswrapper official driver and selected it while adding the printer.
The problem is the printer never was triggered by CUPS, even while all the jobs are listed as done. I tried print a test page using CUPS and also print from another computer where the CUPS server was added.
What I can see in the printer screen is a fast message "Receiving data", for 100ms or so, on the exact moment I start a print job (this is the normal message shown while printing). But nothing is printed.
Is there any idea on whats going on?
Click to expand...
Click to collapse
Hi,
Im planning to repurpose one of our old MXQ Pro Android TV Box into a C.U.P.S. print server soon.
I'm really interested whether you've managed to identify the root cause or fix for this issue.
I would first check whether firewall and whether port 631 is allowed in the local network; I would then also check whether C.U.P.S. listener is configured to any print service request in cupsd.conf.
Dshah79 said:
Hi,
Im planning to repurpose one of our old MXQ Pro Android TV Box into a C.U.P.S. print server soon.
I'm really interested whether you've managed to identify the root cause or fix for this issue.
I would first check whether firewall and whether port 631 is allowed in the local network; I would then also check whether C.U.P.S. listener is configured to any print service request in cupsd.conf.
Click to expand...
Click to collapse
It was a driver problem. I found the specific driver for my printer, and everything is working well now.
Good luck!
I am trying to do the same for an old android phone. Have installed Ubuntu using Linux deploy, installed Cups, Printer Config Gnome, as discussed in this forum.
Printer is Epson L130. Gutenprint supports it, a user post in their forum confirms it.
But nothing happens when I connect my phone to the printer using USB. Neither CUPS nor Printer GNOME detects a new printer.
I have tried 3 different rooted phones: Moto Atrix 2, Xiaomi Mi 3, Moto X Play with same result. I am using the stock kernel and Rom.
lsusb does not show my printer.
lsusb -t however shows the printer in one of the nodes.
Are you guys on a custom kernel/rom?
Any suggestion would be appreciated.
avisekjena said:
I am trying to do the same for an old android phone. Have installed Ubuntu using Linux deploy, installed Cups, Printer Config Gnome, as discussed in this forum.
Printer is Epson L130. Gutenprint supports it, a user post in their forum confirms it.
But nothing happens when I connect my phone to the printer using USB. Neither CUPS nor Printer GNOME detects a new printer.
I have tried 3 different rooted phones: Moto Atrix 2, Xiaomi Mi 3, Moto X Play with same result. I am using the stock kernel and Rom.
lsusb does not show my printer.
lsusb -t however shows the printer in one of the nodes.
Are you guys on a custom kernel/rom?
Any suggestion would be appreciated.
Click to expand...
Click to collapse
Hi,
are you able to connect Epson L130 with the android device as a print server. Please let me know, as I have also the same printer.
krischat1001 said:
It will take some time for you if you haven't used linux and if you do not have idea about how to execute any of the steps I mention below.
Follow these steps:
* Root your phone
* Install Linux Deploy from play store
* Select distribution as Ubuntu in Linux Deploy and install it (this will take time as it will download the linux image and install it)
* In the config options, select VNC or SSH (this is only to install the cups package)
* Login to the linux machine (running on your android phone) using SSH or VNC
* Install cups, cups-daemon packages (run command "sudo apt-get install cups cups-daemon")
* Start cups daemon: run command "sudo /etc/init.d/cups start"
* Install system-config-printer-gnome if using VNC (run command "sudo apt-get install system-config-printer-gnome")
* If using VNC, connect to the machine using a VNC client and run "sudo /usr/share/system-config-printer/system-config-printer.py". In the screen, add your printer and share it to be used over network
* If using SSH, connect to the machine and add your printer using lpadmin (this is a bit advanced, use VNC to avoid and set the printer easily)
Click to expand...
Click to collapse
How do I connect VNC viewer from a laptop? I'm of course in the same wifi network.
whats-in-a-name said:
How do I connect VNC viewer from a laptop? I'm of course in the same wifi network.
Click to expand...
Click to collapse
(I was trying from my browser, which didn't work) Now installed a vncviewer and was asked for credentails, so YES it works.
This is a confusing thread, but I just want to state that I can print from my Android phone to my old-but-networked HP Laserjet 2100tn printer without using an Internet print server and without installing or using Linux.
Newer Mopria-certified printers are even easier to set up to print from Android.
1. On Android, I installed an "lpd" print server which outputs PDF level 1.3
2. But my printer doesn't accept PDF - my printer wants PCL-5 instead
3. So I added a muPDF "faux printer driver" to "render" the PDF to a bitmap
This converts the PDF to a bitmap and then to PCL-5, which is then sent to the old networked printer via the Android "print server".
I gave up on CUPS though as nothing seemed to work with my Android-12/Windows-10 setup.
I have found a very simple solution.
1. Make a USB server using your android mobile connected to printer with the app "
VirtualHere USB Server"2. Install the " VirtualHere client" in your windows/mac etc.
3. Connect the printer to your android mobile.
4. Run the server
5. In the windows , the client will detect the usb hub.
Now you are good to go.
Make sure that both server and client are connected over same network.
Hello,
I'm using Windows 8.1 Professional on my PC. I don't have any password, I just turn on my PC and it goes on desktop. I shared a folder on my PC with "Everyone" and "ANONYMOUS LOGON" profiles having full control on the share. When I go on ES File Explorer, go on LAN section and select "scan" my PC shows up. (192.168.2.2) But when I try to connect with anonymous login, it says:
Login Failure
This may be caused by:
-WiFi is off, (No, my WiFi is on.)
-SMB server is out of network scope, (?)
-The IP is invalid, (IP is not invalid, that's my PC's LAN IP)
-Blocked by the firewall, (I have no firewall on the PC)
-SMB service is off. (SMB service is not off)
I also have a Raspberry Pi, and I'm able to mount this shared folder on my RPi, without any problem. (by using sudo mount -t cifs -o guest //192.168.2.2 /mnt/192.168.2.2/folder) If my RPi can mount this folder without any problem, my Xperia Z2 should mount this without a problem aswell, is that right?
So what might be the problem?
Thanks in advance.
V4LKyR said:
Hello,
I'm using Windows 8.1 Professional on my PC. I don't have any password, I just turn on my PC and it goes on desktop. I shared a folder on my PC with "Everyone" and "ANONYMOUS LOGON" profiles having full control on the share. When I go on ES File Explorer, go on LAN section and select "scan" my PC shows up. (192.168.2.2) But when I try to connect with anonymous login, it says:
Login Failure
This may be caused by:
-WiFi is off, (No, my WiFi is on.)
-SMB server is out of network scope, (?)
-The IP is invalid, (IP is not invalid, that's my PC's LAN IP)
-Blocked by the firewall, (I have no firewall on the PC)
-SMB service is off. (SMB service is not off)
I also have a Raspberry Pi, and I'm able to mount this shared folder on my RPi, without any problem. (by using sudo mount -t cifs -o guest //192.168.2.2 /mnt/192.168.2.2/folder) If my RPi can mount this folder without any problem, my Xperia Z2 should mount this without a problem aswell, is that right?
So what might be the problem?
Thanks in advance.
Click to expand...
Click to collapse
You need to have a password for you account on your PC otherwise Windows does not let you share anything at all even if you set up a share as part of a security measure, this is default Windows behaviour.
If you want to have your computer login automatically when you turn your PC on and have a password setup, go to run and ype in "control userpasswords2" uncheck "Users must enter a username and password to use this cumputer" apply and ok, it'll ask you for your password when you click apply.
TheOnlyIntruder said:
You need to have a password for you account on your PC otherwise Windows does not let you share anything at all even if you set up a share as part of a security measure, this is default Windows behaviour.
If you want to have your computer login automatically when you turn your PC on and have a password setup, go to run and ype in "control userpasswords2" uncheck "Users must enter a username and password to use this cumputer" apply and ok, it'll ask you for your password when you click apply.
Click to expand...
Click to collapse
That's interesting. So how am I accessing the share via my RPi then? I don't think I must have a password installed on my PC.
V4LKyR said:
That's interesting. So how am I accessing the share via my RPi then? I don't think I must have a password installed on my PC.
Click to expand...
Click to collapse
It shouldn't be accessing it but Windows is known to have really dumb shares anyway. Try it with a password and see what happens.
TheOnlyIntruder said:
It shouldn't be accessing it but Windows is known to have really dumb shares anyway. Try it with a password and see what happens.
Click to expand...
Click to collapse
But that's the problem, I don't wanna install a password on my Windows account on my PC.
Any advices?
Bump! I need help please.
TRY THIS JUST INPUT USERNAME AND CLICK OK
Sent from my C2105 using XDA Free mobile app
have you change your active network to Home Network?
and try go to Advanced Sharing Setting to turn off the Password Protected Sharing.
because it works for me.
Here is the solution
Hello ...
If you still need help. What you have to do is the following:
"ON WINDOWS"
1) You have to activate the smb1 protocol, which windows 10 by default has disabled (also works for windows 7 or windows 8). To activate the smb1 protocol, download this regedit file; which you will execute as administrator: [h t t p : / / v i w r i g h t . c o m / 1 8 2 7 6 8 9 9 / a c t i v a t e s m b 1 m e g a]
2) Make sure you have shared resources correctly, so you can navigate from your android device.
3) Restart the computer so that the changes are effective.
"ANDROID DEVICE"
1) Download the apk es file explorer pro Dark Version totally free for you: [ h t t p : / / v i w r i g h t . c o m / 7 0 D x ]
2) Go to the configuration section lan, then press scan. Then choose your equipment when it is presented in the scan ... it will ask for username and password. In user place the username with which you login in windows and in the password, you put the key of your username to log in windows. And ready!! That's it, you'll have access to all the resources shared on that computer. You can copy, paste, move, create, etc ... within any resource.
The key to unzip the zips is: contraseña
Hi everyone,
since a while i try to set up an WiFi Network with static IP adresses on my Nexus 5 with Multirom and Ubuntu Touch-rtm installed, but it seems i'm a bit dumb. :silly:
i followed the instructions from an website wich url i can't post, because i am an new user and i don't have written 10 posts ...
but nevertheless, all i get after saving the configuration file and reconnecting is an new configuration file - of course without my changes.
So, what did i do wrong?
You could try doing the following before the reboot:
Code:
sudo stop ofono
sudo stop urfkill
sudo stop network-manager
sudo rm /var/lib/urfkill/saved-states
# Your changes to the config file
sudo reboot
(This will, among other things, stop the network connection services in the background, so you cannot run these commands via SSH. You need to use adb for that. )
That's the only idea I have right now. Let's hope that your files won't get overridden again.
thanks for the tip, but that also does not help anything.
meanwhile i think i got something wrong in the config syntax, but i don't know where. I also took the configuration of my Linux Mint pc for comparison, but without success. when i try to reconnect the wlan, a new file will created and the "old"-changed one simply be ignored.
@the_Pan Have you tried simply copying over the file from your PC? Make sure it has the same name on your phone which it also has on your desktop.
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Only copying wouldn't work, my pc is in LAN, but yes i used the same parameters for IPv4 as in this file (except from the IP).
The only idea i got for now, is that something went wrong with the file permissions when i edit the file on pc with the adb shell, but if i take a look with "ls -l" everything seems alright.
EDIT: nope, has nothing to do with editing on pc. it also happens if i edit the file within the terminal directly on the phone.
Hello,
I have rooted OnePlus One device (Android 5.1.1 custom ROM Sultanxda) and an old PC which have installed ubuntu 10.04. That PC don't have internet connection so I can't perform sudo apt get comand. Kindly teach me how do I connect to the internet by using my OnePlus One device and above ubuntu version OS.
Thank you.
If you have wireless option on PC its as easy as setting up a mobile hotspot, otherwise you can use a USB cable as well
A quick Google (or xda) search will give lots of guides on this
Thanks for reply. I only have USB cable option. Can you please help me how do I proceed. When I searched on internet all of them saying to have some apt get, but here qestion is when (i don't have internet connection on the PC; my only tool is my device to access the internet) starts to solve the problem, solution starts itself with head of problem. Even if I downloads some file in the device, I am not able to copy them in PC because it is neither mounting the device nor any MTP/ADB functionality available. Is there any way to copy / access the device through twrp?
Bump...
See if you can get MTP to work in Ubuntu with this:
edit -
/lib/udev/rules.d/69-libmtp.rules
Add:
ATTR{idVendor}=="05c6", ATTR{idProduct}=="6764", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1", TAG+="uaccess"
ATTR{idVendor}=="05c6", ATTR{idProduct}=="6765", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1", TAG+="uaccess"
Restart udev:
sudo service udev restart
As far as an internet connection, if your carrier (or rom) supports wifi tethering, then you can get a USB wifi adapter. If you are able to tether, then you can also transfer files wireless by using an app like WiFi File Explorer Pro.
There is no /lib/udev/rules.d/69-libmtp.rules in my PC. Do I have to create one new?
I tried to create one new and paste above two lines and restarted udev, but no luck. When i says lsusb it says :
Bus 001 Device 015: ID 05c6:6775 ualcomm, Inc.
@other:
Kindly don't post your answer(s) for just sake of posting because its frustrating me, why I am fighting with ubuntu, while same is running fine in windows...duh. Before posting your answer please please please check whether its is checked by you or you are just pasting **** answer at all over the internet.
None tested answer yet?