I’ve found the most simple way (for my case)
adb shell 'a command'
example
adb shell ls /
Thank you all for your input… but it seem my question is still not fully answered…
let me rephrase, I’m not looking to have a GUI to transfer files, but I would like to execute terminal command remotely (from my computer) to my android phone. Like SSH
.
So I’ve read that I can install a SSH
server on my android phone… (If you know some’s (FLOSS), I’m all ears)
Or if you know a better way than SSH
I’m all ears too.
Thanks.
@crystal@feddit.de I didn’t know about GrapheneOS too bad it only work Pixel phones (that are also owned by Google ! ) So If I’m against Google for all what they do https://degooglisons-internet.org/en/ I’ll certainly not give them money !
(Finding and importing a phone is something you have to do even when using the stock OS.)
True, but you will do it multiple time if the phone that your looking for doesn’t have an available ROM somewhere…
Indeed, but in AOSP there is no GMS and that already better !
see my comment in the original post ( https://programming.dev/post/6111023) for more info on the suspected bug.
and a True Linux ! not one that has been “infected” with parts that do not respect The Four Essential Freedoms of Free Software
So avoid Ubuntu for example…
have a look a this video https://www.fsf.org/blogs/rms/20140407-geneva-tedx-talk-free-software-free-society/
And for a Linux distrio have a look at https://www.devuan.org 💓
and about windows --> https://itvision.altervista.org/why-windows-10-sucks.html
Thanks all for your input !
So yes
/sdcard
was/storage/emulated/0
and it’s a real sd-card.That was indeed formatted as
FAT
, I reformatted intoEXT4
(from a desktop Linux) put the SD-card back into the phone and started the phone.Ive tried (in the phone)
su chmod 777 /storage/emulated/0 #yes it's still mounted as emulated ! stat /storage/emulated/0 #... #Access: (0771) #....
So I’m still blocked… any ideas ?
Thanks.