@free open source @howTo @Tutorial
.. or #howTo get your cellphone onto your computer.
A thread about the tool adb
to access your android cellphone and become able to do all the stuff of your hand held computer from your desktop. You don't have to root your phone to be able to use #ADB, but you do have to switch developers mode on. You can do that in settings, depending on your android version, somewhere in a settings subfolder by tapping like ten times on the serial number (or something like that) of your phone. Next you have to open the "developer options" section that has appeared at the bottom of the settings section and enable "debugging with USB".
ADB is also available on windows, perhaps MacOS, yet the info here is from the view point of a #linux #debian #desktop. Except a few details, things shouldn't be different for users of proprietary operating systems.
How to install ADB and connect your phone to your computer | click to open/close
To install ADB:
apt get install adb
Connect your phone with a USB cable to your desktop computer.
Open the console of your computer and type or copy/paste:
adb devices
ADB will list you the TCP port it opens for the USB connection and the device (or devices) connected that it recognizes.
The output will be something like this:
:~$ adb devices
List of devices attached
4xxxxxxxxxxxxd device
Another necessary program for your desktop computer is scrcpy
. This program allows you to project the screen of your cell phone onto your desktop screen if you have ADB installed.
To install #scrcpy:apt get install scrcpy
Important note about the scrcpy versions and compatibility
This program is, from the coding point of view, in full development mode. To prevent to run into compatibility trouble with your installed ADB version, in particular when using ADB over WIFI, you should pull the scrcpy installation from the github page instead of installing the package of the debian package manager.The github page has links to SNAP versions as well as pull instructions. A recent intent of using a SNAP version here on KubuntuStudio created an incompatibility of versions too, so the best you can do is run the github instructions to pull the latest code from github.
Here a copy of the actual (19-06-2024) instruction.
github code to pull latest scrcpy from github
https://github.com/Genymobile/scrcpy/blob/master/doc/linux.mdfor Debian/Ubuntu
First, you need to install the required packages:
sudo apt install ffmpeg libsdl2-2.0-0 adb wget gcc git pkg-config meson ninja-build libsdl2-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev libswresample-dev libusb-1.0-0 libusb-1.0-0-dev
Than clone the repo and execute the installation script:
git clone https://github.com/Genymobile/scrcpy
cd scrcpy
./install_release.sh
When a new release is out, update the repo and reinstall:
git pull
./install_release.sh
To uninstall:
sudo ninja -Cbuild-auto uninstall
Detailed Information about scrcpy commands:
https://github.com/Genymobile/scrcpy/tree/master/doc
To see and have access to your cell phone from your computer you have to first start adb and connect the cellphone and than type in the console:scrcpy
.. voila ..
like this
reshared this
bit Pickup
in reply to utopiArte • •#bugReport for #scrcpy or is it just another #surveillanceNerveousBreakdown?
in the CLI :~$ scrcpy
scrcpy 2.7 <https://github.com/Genymobile/scrcpy>INFO: ADB device found:
INFO: --> (tcpip) 192.168.xxx.xxx:xxxx device moto_e22
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 44.0 MB/s (71200 bytes in 0.002s)
[server] INFO: Device: [motorola] motorola moto e22 (Android 12)
did not find extension DRI_IMAGE_DRIVER version 1
did not find extension DRI_Mesa version 1
failed to load driver: iris
did not find extension DRI_Mesa version 1
failed to load driver: iris
did not find extension DRI_Mesa version 1
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 168
Current serial number in output stream: 169
:~$
(which is actually a mess, not recommended if you want a reasonable working environment.)
The only reasonable imaginable issue with the none existing agencies could be a recent effort to help out in the german carnaval creating content supporting the election of the next german chancelor #foFritzMertz hashtagging against #ANTIFA
stay tuned
reshared this
howTo, free open source and Tech Cyborg reshared this.
utopiArte
in reply to bit Pickup • •@GNU/Linux.ch | Ralf
Das Thema bei SCRCPY vs KDEnlive ist das es im hiesigen spezifischen Falle Faehigkeiten hat die unabdingbar sind.
Das handy haengt fixiert auf fuenf Metern Hoehe unterm Dach an einem spezifischen 8x20cm Spot an dem es gerade so Verbindung fuer LTE gibt.
Und dann ist es auch noch zusteandig um per antennaPod euch zu hoeren, sowie vanillaMusic Jukebox und pipe YT music download.
Ausserdem ist Laptop bluetooth "handsfree" Option fuer mic und sound zum Telefonieren.
Wie waehlen wenn nicht per SCRCPY?
Ja es gibt ADB commandos dafuer aber screenshare ist echt tool.
Wie podcasts zum runter laden auswaehlen?
(so, und steig ich jetzt mit Laptop auf die Leiter um handy neu zu starten und ueber USB ADB wifi zu aktivieren oder warte ich noch bis morgen?)
btw
Dies hier ist ein friendica community group server.
Wenn ihr Profilen folgt dann koennt ihr in die Gruppen per Erwaehnung veroeffentlichen und die verteilen wiederum:
https://tupambae.org/directory
u.a:
@podCasts
und
@free open source
saludos captain,
it's FOSDEM's sunday night!
reshared this
free open source and howTo reshared this.