@freeopensource @howto @tutorial
#ADBtutorial #scrcpyTutorial
.. 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 compatibilityThis 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 githubgithub.com/Genymobile/scrcpy/b…
for 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:
github.com/Genymobile/scrcpy/t…
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 ..
#adb
3 posts · Last used 2d
Fellow retro fedi folk, I need your advice/recommendation; I'm selling off a bunch of things, including all-but-one of my 68k Macs. I'm keeping my LC, but will be selling off the Color Classic I have restored over the past two years. With it I'll be selling a keyboard and mouse (of course), but I'm torn between which one I should sell along with the CC, and which one I should keep for myself.
On the one hand I have an "Apple Keyboard" that originally came from the US. It's working nicely, cleaned inside and out, and is not yellowed all that much. Actual mechanical keyboard, although it does have some odd decisions like a guiding poke thingy on the enter key that basically makes it harder to hit the key depending on where you mash, but whatever.
On the other hand I have an "Apple Keyboard II" (gotta love these names, thx Apple). Also working nicely, cleaned inside and out, has Korean keys, and is the less nice or premium feeling membrane style keyboard (kind of mushy). Slightly more yellowed, but not really all that bad I think (plus, I don't really mind the yellowing).
I'm torn because I think in basically all ways the "Apple Keyboard" is the better keyboard, but I like that the II is Korean, and is technically the correct matching keyboard with the LC, at least based on what I have been able to find through photos and whatnot. If I ever leave Korea and am able to bring my old Mac stuff with me, I suppose it'll also be nice to have that be this matching Korean keyboard?
So, my question to you is; Which one would you keep for yourself, and which one would you keep? Bonus points if you can share the why's.
Thanks so very much! And yes, if you think this is worth a boost, please by all means share and share alike :D
(I know this would've been a good thing to post as a poll, but my Fediverse corner does not support this. And so, old-school ask-and-answer style it is :D)
#AskFediverse #RetroComputing #VintageComputing #MacOS #Macintosh #68k #Keyboard #Korea #Korean #ADB
Times of India | Government notifies FDI changes on China funds
AI generated summary, Read the full article for complete information.
The Centre has issued two major amendments to India’s foreign‑direct‑investment (FDI) policy. Effective May 1, firms with up to a 10 % Chinese shareholding may now invest under the automatic route, dropping the previous rule that required government approval for all investments from countries sharing a land border with India; the change, prompted by concerns from global investors, still excludes entities incorporated in China, Hong Kong or other bordering nations and applies only when “significant beneficial ownership” is below the 10 % threshold. Multilateral development banks such as ADB, NDB and AIIB are also exempted from country‑specific treatment. In addition, the government has opened the insurance sector to 100 % FDI, allowing full foreign ownership of insurers and intermediaries (brokers, TPAs, corporate agents), while limiting automatic‑route investment in the Life Insurance Corporation of India to 20 % and requiring the chairman or MD‑CEO to be an Indian resident. These steps aim to boost capital inflows amid a weak rupee.
Read more: https://timesofindia.indiatimes.com/business/india-business/government-notifies-fdi-changes-on-china-funds/articleshow/130724067.cms
#ADB #China #PMLA #ForeignInvestment #InsuranceCompanies
You've seen all posts