• 3 Posts
  • 5 Comments
Joined 1Y ago
cake
Cake day: Oct 08, 2023

help-circle
rss

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.


chown on a sdcard directory impossible…
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. ```bash 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 ?
fedilink

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.


How terminal in, on Android
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.
fedilink

@[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…


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


An easy way to Install AOSP on Smartphone… ? FOSS
cross-posted from: https://programming.dev/post/6749271 > Hi, > > ::: spoiler 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 ](https://en.wikipedia.org/wiki/Custom_firmware#Android)etc..) > > But it became rotten --> > > ![](https://programming.dev/pictrs/image/0b30b1df-4a81-4d24-9a1c-1d5e62bb3650.png) 😱 > > ![](https://programming.dev/pictrs/image/75cdc0d7-bfe7-4161-ba48-57fca51f4603.png) 😱 > ::: > > ::: spoiler Current situation ton Install another ROM ~OS > > As you may know, in order to install another [ROM ](https://en.wikipedia.org/wiki/Custom_firmware#Android) > For example to get rid of [Google](https://en.wikipedia.org/wiki/Google_Mobile_Services) ! 👿 > > 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 > - https://android-developers.googleblog.com/2017/05/here-comes-treble-modular-base-for.html > - https://www.hsc.com/resources/blog/what-is-android-treble/ > > 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](https://en.wikipedia.org/wiki/Android_(operating_system)#Development) <-- > > > ::: > > ::: spoiler 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 > :::
fedilink