samsung smart swith for ubuntu? - General Questions and Answers

hello, i am usning ubuntu. is there any desktop software for managing my tablet, like samsung smart switch on windows for ubuntu?

Scrcpy, adb, vnc
d9867eb said:
hello, i am usning ubuntu. is there any desktop software for managing my tablet, like samsung smart switch on windows for ubuntu?
Click to expand...
Click to collapse
There are a lot of choices to choose from if you want to manage your tablet with Ubuntu. However, there are different methods for different programs and you get different functions out of each. I'll compile a quick list for you, but without a little more specificity, I don't know what you mean by "manage".
1) VirtualBox - You can always use VirtualBox to run Windows and use that to install Samsung Kies/Smart Manager/etc.
apt install virtualbox
2) ADB - (USB Debugging must be enabled). Android Debug Bridge is a command-line based program to control different things on your device. To start, go to Settings - About Phone. Depending on your version of android it could be in "Software" or something along those lines but find "Build Number" and tap on it until it says "Developer Settings enabled". Afterward, go back to Settings and find the Developer menu. Turn it on first (there should be a box/slider/something on the top or in the menu) and go to USB Debugging. If it is grey'ed out and you can not turn it on, try turning off and on the developer settings. Once USB Debugging is enabled plug your device into the computer. The phone will ask a question about trusting the computer, press yes. Now, launch a terminal and type "adb devices". As long as only one device is plugged into your computer, and as long as the device is listed as "device" and not "offline" "unauthorized" or something like that, you can issue it commands! For more info on ADB, just google adb commands. "adb shell" gives you direct access to the /bin/sh shell in android. From there you can run commands directly through your tablet. Last note on this: 'adb tcpip 5555' restarts the adbd program on the tablet to listen for connections over the LAN/WAN/whatever it is connected to. To connect from the computer, type "adb connect <ip>" where <ip> is the tablet's IP address.
apt install android-tools-adb
3) scrcpy: Scrcpy is a program, written in java, that will use adb to display the screen of your android device in Ubuntu/anything that runs java. You can also click/type through it, allowing you to control it remotely. A word of warning: I don't know why, but my first few times trying to install this program were a major fail. I eventually got it, and it works pretty good, but it wasn't easy.
google: scrcpy (it's a github link)
4) VNC: You can install something like a VNC (Virtual Network Client) server or RDP (Remote Desktop Procedure) server on the tablet, and connect to it with tight/tiger vnc. Note: Device may have to be rooted for this, and, from my experience, most VNC servers wont work right. However, this has worked for my Samsung tablet in the past (the screen it broken on it but the digi is okay. I cant use scrcpy because scrcpy requires Lollipop I think and it has Kit Kat). I think the app "DroidVNC Server" was what I used.
5) Check Play Store for "android remote manager"
6) nuntius/kali-rolling 0.2.0-5+b1 amd64
share notifications from Android phone or tablet via Bluetooth or LAN
NOTE: I didn't like this program, but feel free to give it a shot!
Hope this helps!

Related

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!
Works on any phone or just droid and how to make it work on ubuntu.........?
Mr.Oug said:
Works on any phone or just droid and how to make it work on ubuntu.........?
Click to expand...
Click to collapse
Linux – Remote Desktop Viewer (use the command line). Remote Desktop Viewer is pre-installed in Ubuntu.
nice, I've already tried this, but it's not responsive enough
I try and is wonderful
Inviato dal mio GT-I9001 usando Tapatalk
I tried this on my Motorola Droid.
For Windows, I had some trouble getting it to work. Tight VNC works, RealVNC does not. You have to play with the colors and settings a little bit (it doesn't like compression).
Useful, but not useful enough for me to want to leave it running all the time....
little bit slow, but worth it
didnt work for me. Ultra VNC and TightVNC and I played with settings. Most I got was a black screen. VNC server thing is like stuck so I revoked permissions etc. Even rebooted to get it out for sure. Now did those adb commands just leave my ports exposed? how do I ensure they are closed? For me too, I got no keyboard to put a password for the server.
Update...Ok it works, but that VNC thing is buggy on my Nexus.. I don't see anything but a black screen. If I click in approximate location of where the buttons are to stop and start server i click the button on my nexus. So I got no display and I fiddled with the settings and cannot get it working from my pc with UltraVNC or Tightvnc.. Oh well.
I'd also would like to know about the adb commands opening ports on my phone. I want to make sure those are closed, so I'd appreciate a way to confirm that. It will be cool when/if I can vnc to my phone. Not sure why you would want to but regardless it would be fun to do.
I just use TeamViewer to connect droid to laptop, i leave my laptop at home on Wi-Fi signal all the time and connect to my laptop thatway i can browse and download torrents on a whim, access all my files and use ftp to transfer to phone i can access any kind of file on my phone because i installed Download All Files
Worked for me, defy+ and TightVNC on Ubuntu
Slow, but great!

[HOW-TO] Remote control your phone from Windows

Easiest way I've found to do this is by using a program called MyMobiler http://www.mymobiler.com
This was tested on ViperS 1.1.0 ROM and works like a charm.
1) Enable USB debugging on phone and connect USB.
2) Install and start MyMobiler on your pc.
3) In your systray on pc: right click the MyMobiler icon and select Connect. This will install MyMobiler on your phone.
4) Start MyMobiler on your phone. Enter settings as below.
5) Repeat step 3 and you should now be able to see and control your phone from your pc!
Settings are as follows (on phone)...
All display related settings on auto.
Display resolution: High
Change touch: Service-Touch
Change touch method: Ginger
Change touch origin: Default
Also, enable the MyMobiler keyboard from within settings if you want to use your keyboard to type!
Hope this is useful for someone!
Can't get it to work.
The Windows part and the Android parts both install on their respective devices but they don't communicate.
ADB recognizes the phone, but this program does not.
i ever tried remote windows from phone, but never from windows to phone
if you want to remote windows from phone, just use team viewer, and it will works like a charm
Skipjacks said:
Can't get it to work.
The Windows part and the Android parts both install on their respective devices but they don't communicate.
ADB recognizes the phone, but this program does not.
Click to expand...
Click to collapse
That's strange. Maybe it has something to do with USB device drivers in Windows?
Sent from my wonderful HTC Sensation
Cool, I might try it
Link looks awesome...
Sent from my GT-I9100 using Tapatalk 2
That's very weird. usually if adb recognizes the phone (which means USB driver is installed correctly), then program based on adb will work. Do you see something like the attached image under device manager?
Skipjacks said:
Can't get it to work.
The Windows part and the Android parts both install on their respective devices but they don't communicate.
ADB recognizes the phone, but this program does not.
Click to expand...
Click to collapse
I have tried it and both are connecting well.
However i am only able to use it for typing and not for selecting icons on my handset.
ok, just another option, you can try our new app, vmlite vnc server, it will surely work, you have full control of the phone, wifi or USB, rooted or unrooted devices.
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
so far, users like it
Airdroid app is not bad either.
You can use a standard browser to control your phone.

[Q] how can I make my Xoom 2 ME visible under linux?

Whenever I plug my tablet to a Windows machine, it appears as a flash drive.
On my linux box at work, dmesg recognizes it but kde fails to inform it on the device notifier.
Is there a driver I need install??
Thanks in advance,
gtludwig
Most of the times i transfer files wireless with programs like airdroid... If you still want to transfer files with usb connection you can choose the type of usb connection protocol that your tablet use. In settings menu, storage, check for the menu button at the upper right corner. Then use a program that can transfers files using the protocol you choose (try ptp). Windows use Motorola drivers to simulate a typical usb connection. There is a way to do it also under linux but you will need to install few extra packages. Is little difficult to explain to you right now how to do this but you will find tutorials if you search for it in Google...

[APP] Easy Remote ADB

Application allows you quickly enable debug via WiFi. You don't need run any commands on your PC after, just install our program on your computer.
Root needed. Widget available.
Program for PC you can download here: http://bartwell.ru/soft/android/easyremoteadb/EasyRemoteADB.exe
Usage:
1. Connect your PC and smartphone to WiFi.
2. Run Easy Remote ADB on your PC. If you run it first time, right click tray icon, choose "Set ADB path" and set path to ADB (as usually it C:\Program Files\Android\android-sdk\platform-tools\adb.exe).
3. Run Easy Remote ADB on your smartphone and press "Turn on" button.
If it doesn't work you can see log on PC: right click tray icon and choose "View log". If your PC doesn't receive commands from smartphone check your network configuration and firewall.
Home page: http://bartwell.ru/soft/android/easyremoteadb/
Android Market: market://search?q=pname:ru.bartwell.easyremoteadb
Android Market Web: https://market.android.com/details?id=ru.bartwell.easyremoteadb

[PYTHON SCRIPT][WINDOWS]Start scrcpy over Wi-Fi

This script is for non rooted phones, as on rooted ones TCP listening for adb can be configured on the device and it doesn't need to be plugged to the USB beforehand, meanwhile on un-rooted ones it should be apparently done after every phone reset. I've made this script so I don't have to manually enter commands every time eye wish to start scrcpy after a phone reset. The script also minimizes which also hides the scrcpy command line afterwards, but can also be hidden.
What it does:
- Minimizes the window
- Issues "ifconfig" to the device to get its IP.
- Enables port listening and connects to the device over WiFi
- Waits a bit
- Starts scrcpy.
Usage:
- Connect the phone
- Allow the dialog on the phone //if asked
- Open the script
- Allow the dialog on the phone //if asked
- You can disconnect the device
- Should be all.
The script has to be placed in the scrcpy's directory to work, and should only work correctly with one device connected.
To hide the window you can change the following line:
Code:
ctypes.WinDLL('user32').ShowWindow(ctypes.WinDLL('kernel32').GetConsoleWindow(),6)
to :
ctypes.WinDLL('user32').ShowWindow(ctypes.WinDLL('kernel32').GetConsoleWindow(),0)
and if you wish to run scrpy with some arguments you can do so by editing the following line:
Code:
os.system("scrcpy -s "+AyyyP+":4774")
where you can either add other arguments befor the "-s" part or after the ":4774" like so:
os.system("scrcpy -m 720 -s "+AyyyP+":4774")
or so:
os.system("scrcpy -s "+AyyyP+":4774 -m 720")
the changes should be doable in almost any text editor. Scrcpy attributes can be currently found here.
Also python 3.x has to be installed on the PC which should be obtainable here.
Sidenote: File is located in a .zip so I was able to upload it, just extract it beforehand.
If you have any questions feel free to ask .
Reserved.
Thank you for this python scrcpy script on behalf of everyone who loves scrcpy/sndcpy mirroring onto the PC as I do, where I'd like to take the developer up on his offer of:
If you have any questions feel free to ask
Click to expand...
Click to collapse
As most people know, Android 10 and below allowed wireless adb connections AFTER a USB connection was first established (adb tcpip 5555 && adb connect [IP]:5555), but that changed (for the better) in Android 11 and above with the new new Developer options Wireless debugging random port assignments (adb connect [IP]:[PORT] or adb pair [IP]:[PORT] [PIN]) such that the adb wireless connection never needs USB cable ever again.
Given Android 11 allows Developer options Wireless debugging via a random port, and Android 12 new Developer options Wireless debugging allows that to be accessed even easier with a new Developer options Wireless debugging tile, the only thing missing is a way to get, after the fact, the random port assignment that Android uses for the adb wireless connection to your PC.
[adb,scrcpy,vysor] What ports does Android 12 randomly set when Wi-Fi connecting via Wireless debugging adb "pair" or "connect" commands?
Does anyone know how to obtain that random Android port address from the PC?
I am asking for detailed instructions on how to install it on the galaxy s22U? I can't handle it on my own.

Categories

Resources