Rick_C137

joined 1 year ago
[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

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 into EXT4 (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.

 

Hi,

I would like to change the owner of a directory on the sdcard /sdcard/aDirectory

I have a terminal installed on my Android 10 (LineageOS 17) com.android.terminal

sudo is not present so I use su and it works.

su
#Terminal was granted Superuser rights

cd /sdcard
chown 10:10 aDirectory
#I don't get any error message.

stat aDirectory
#Uid (0/root)

So the owner stay root no matter what I'm doing, any ideas ?

[–] [email protected] 1 points 1 month ago

I've found the most simple way (for my case) adb shell 'a command'

example

adb shell ls /
[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

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.

 

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.

 

cross-posted from: https://programming.dev/post/6788379

Hi,

As we might all know ( Early adopter of Lemmy ). Lemmy has been (also) made to give an alternative to the censor kingdom of Reddit ! https://en.wikipedia.org/wiki/Lemmy_(software)

And further more Lemmy is fLOSS 😍

Great ! but watch out ! we don't want that Lemmy take the same path as Reddit did ! ( hopefully this is limited as it run as a ~Federated model )

Anyways, I believe to avoid censorship and jeopardize users privacy the following should be considered by Instance admins and moderators.

  • Avoid as possible a mandatory email to register Doing so is not reducing spam or whatever you're afraid ! It's limiting users to create account that preserve their anonymity ! If you don't know why anonymity is important I'll suggest you to dig this website to start with https://www.laquadrature.net/en/support/#chiffrement BTW if I couldn't be anonymous, I wouldn't write any post on Lemmy, as I'm not living in a free country !! Look on other instances some admin have found clever way to circumvent bots without the need of an email.

  • Also Lemmy don't require too much of moderation ! as any user can use the block feature in their options so you should not censor content in behave of others !

If the freedom of expression is limited to the ideas that we like, it is not freedom of expression. Noam Chomsky.

Cheers,

[–] [email protected] 1 points 11 months ago

@[email protected] 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..

[–] [email protected] 2 points 11 months ago

Indeed, but in AOSP there is no GMS and that already better !

 

cross-posted from: https://programming.dev/post/6749271

Hi,

Intro about XDA forum (skippable)

I was using a lot xda-developers.com for anything that was related to Android development and phone support. (ROM etc..)

But it became rotten -->

😱

😱

Current situation ton Install another ROM ~OS

As you may know, in order to install another ROM For example to get rid of Google ! 👿

You need one that is specifically build for your devices for example: https://wiki.lineageos.org/devices/

This is so inefficient !

You might have heard of Treble that focus on this problem

sadly it's made by google 👿 and I doubt that they will release all the code. We will see.

If you don't know what is AOSP <--

The question : How to install AOSP on a "Supported device"

I've always use only google-free smartphone ! But OMG it's time consuming.

  1. Found a smartphone ( with the spec you want and in your budget )
  2. Check if you can have\import it in your "country"
  3. Check if someone already cook a ROM that support that specific model
  4. or create it by yourself (even more time consuming )
  5. Sometimes: bypass any protection that prevent to install another ROM !
  6. Finally install the ROM's, boot loader etc...

At this time, when it seem that Treble is not there yet... Do you have a quicker path\Solution ?

Thanks

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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