Hi,
I created another user on my custom rom Android (aka Multiple users)
Unfortunately when doing so the system do not adapt the permission of the sdcard and some other directory, thus the new user can’t access them :/
So I wanted to “remote” terminal into my android device from my computer.
How are you achieving this ? ( without 3thparty apps please ! )
Thanks.
You can do things with ADB (like copy files, etc). In fact, ScrCpy uses it for remote control.
You do have to enable developer options, then USB debugging, physically connect to a pc and authorize it (also enable permanent authorization and disable timeouts), etc. (I may forget a step or two there).
I wouldn’t really consider it a native sharing system - as you said, it’s not enabled by default, and it’s a bit cumbersome. It’s a debugging utility that happens to enable remote debugging which can be used for other things with a bit of work. Not something I’d tell most people to use, because it’s cumbersome, and opens a security hole. It’s also a bit unstable. It tends to drop the network connection for no apparent reason.
I use it to setup phones, because I can script a handful of app installs with it, or unlock the bootloader and flash a rom (or root the device).
Almost easier to set up a share or ssh on the pc and use an easily installed app like Ghost Commander to connect and transfer.
Yep.
Or MixPlorer on the phone, which can host it’s own servers.
But… Without root, it has to use the ephemeral port range, so no SMB from Windows to phone.
I’ve used an FTP server on my phone from The Olive Tree since about 2014. I only run it when I need to copy/move stuff manually.
Try to transfer files via MTP instead and then tell me what’s unstable.
Anyway, the most reliable way of file transfer I found so far is KDE connect. Haven’t had that fail yet.
Lol, oh fuck MTP - that’s almost useless.
Which is why I use apps like Syncthing, or MixPlorer (which can host it’s own servers for SMB, FTP, SFTP, FTPS, etc).
It really depends on what I’m trying to do.