There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

android

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

seaQueue , (edited ) in How can battery charging be limited with Easer (≈Tasker) and WIFI Plug (Shelly Plug S)?
@seaQueue@lemmy.world avatar

Not the solution you’re asking for but I’ve used the ACC magisk module to do this on devices for years. If you’re willing to install magisk and then ignore it this is a very mature solution.

Otherwise, like others have said, run home assistant on your network somewhere and have tasker call to HA to switch the charger plug off when you hit your target charge level. That should be pretty straightforward.

bremen15 OP ,

I agree; that is a good solution for a rooted device. I use it on a lineageOS tablet.

IceFoxX ,

Well I like magisk but he could try shizuku or grant perminission over adb and stay without root

seaQueue ,
@seaQueue@lemmy.world avatar

Yeah, shizuku could work I’m just not aware of any shizuku enabled charge control software

IceFoxX ,

You can ignore my answer. To set a limit when recharging probably does not work with shizuku. root is unfortunately mandatory if not implemented in the system. That’s sad

seaQueue ,
@seaQueue@lemmy.world avatar

Yeah, that’s about what I expected unfortunately

IceFoxX ,

discuss.grapheneos.org/d/…/34Seems like they will implement that feature.

Anyway that’s interesting too. akc3n.page/posts/battery-management/

tkk13909 , in Android 15 QPR1 redesigns the Settings app

I actually like this redesign. Anyone else?

Blisterexe ,

I really like it, the settings app was lacking before

skullgiver ,
@skullgiver@popplesburger.hilciferous.nl avatar

It’s bringing back the categorisation from Android 4. Looks like they’re not adding the headers to the groups, though. I guess that doesn’t vibe with Material You.

I do like this much better, but I find it a bit weird how often Google redesigns this screen.

the_crotch ,

I only ever use the search bar so IDC how its laid out

sbv , in Android 15 QPR1 redesigns the Settings app

It looks like a pretty minor change, but I appreciate it nonetheless.

Jz5678910 , in Google is now rolling out Gemini Live to free users on Android

Does Gemini still fail to do all Google Assistant tasks? Such as reminders, home controls, etc.?

I remember it falling so hard when it first rolled out and I never have it another shot. Is it any better?

skullgiver ,
@skullgiver@popplesburger.hilciferous.nl avatar

For me, there’s a 50/50 chance of it being able to tell me the weather rather than talking about how it’s an LLM.

I don’t have the subscription, though, so maybe that’ll fix it.

MangoPenguin ,
@MangoPenguin@lemmy.blahaj.zone avatar

Probably, Google rarely improves on stuff they make after releasing the first version.

Adderbox76 , in Google is now rolling out Gemini Live to free users on Android

Great. How can I stop it from coming?

evo , in Android 15 QPR1 redesigns the Settings app

I like it. Not sure the search entry in the list needs to always be on screen but it’s fine.

hal_5700X , in Google is now rolling out Gemini Live to free users on Android

lol no.

Rick_C137 OP , (edited ) in How terminal in, on Android
@Rick_C137@programming.dev avatar

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.

Rick_C137 OP ,
@Rick_C137@programming.dev avatar

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

example


<span style="color:#323232;">adb shell ls /
</span>
newthrowaway20 , (edited ) in Android 15 QPR1 redesigns the Settings app

I like the new layout. Settings categories are better grouped together.

Of course though, Google had to put it’s settings at the very top even though it’s probably my least used settings menu. Other than that, the layout and order make sense to me.

Image for reference:

lemmy.world/…/5637a9d5-3349-42d2-b206-9bb44bf5c7d…

Xylight ,
@Xylight@lemdro.id avatar

Just a tip, you can make those iamge links display inline by doing this:

![alt text (optional)](<image url>)

PetteriPano , in `chown` on a sdcard directory impossible...
@PetteriPano@lemmy.world avatar

What filesystem do you have on that SD-card? Likely FAT32, which does not support ownership.

user224 ,
@user224@lemmy.sdf.org avatar

But is it an SD card.

I mean, the directory name says so, but…


<span style="color:#323232;">~ $ realpath /sdcard
</span><span style="color:#323232;">/storage/emulated/0
</span><span style="color:#323232;">~ $
</span>

…it may also not be.

sxan ,
@sxan@midwest.social avatar

It doesn’t matter. FAT filesystems - which are usually the default on SD cards, simply do not support ownership or file permissions. Linux emulates these attributes at mount time, but they apply to the entire SD card. You can mount an SD card and tell Linux to act as if root owns everything on the card; you that you own everything on the card; and it will be so until you unmount it and remount it with a different ownership.

These are filesystem level attributes, not device attributes. If you have a modern internal nvme drive and you format it with vfat, you will not be able to set permissions or ownership at the file level, but only at mount time, for the entire drive.

user224 ,
@user224@lemmy.sdf.org avatar

I am talking about some devices using /sdcard to mount internal storage.

TrickDacy , (edited )
@TrickDacy@lemmy.world avatar

True, but presumably op probably has an sd card if they say they do.

Edit: I see both ways of reading their statements on re-reading them.

sxan ,
@sxan@midwest.social avatar

You mean, they’re mounting something that isn’t an SD card to the /sdcard directory? Like something truly evil, such as mount -t btrfs -o subvol=@home / /sdcard? Or do you think there’s not anything mounted there; it’s just a directory in the root partition? None of that would make any sense.

If they’re letting whatever automount tool (eg udevil) do its thing, this is practically impossible. And if they know enough to do it by hand, I think they’d have answered the direct question of “which filesystem” with a filesystem rather than a mount point. Don’t you think? We still don’t know what filesystem they’re working with, since they haven’t answered the question.

user224 ,
@user224@lemmy.sdf.org avatar

something that isn’t an SD card to the /sdcard directory?

Could be.

On my phone (Poco X3 Pro - stock Android 11, MIUI 12) the /sdcard is a symlink pointing to /storage/self/primary which itself is a symlink pointing to /storage/emulated/0, which is /data/media, the user-accessible portion of internal storage.
Though from what I can find it anyway is just emulated FAT filesystem which is actually ext4 under that.

Something about backwards compatibility as the directory used to actually be used for SD cards in the past.

9point6 , (edited ) in `chown` on a sdcard directory impossible...

Unless the SD card is using a Linux filesystem, you won’t be able to use Linux access permissions.

Most SD cards are preformatted to FAT or exFAT in order to maximise compatibility. If you don’t need to use the card on any non-linux devices you should be able to reformat it and gain the ability to chown/chmod (should go without saying, but back up any data on the card you want to keep before this)

TrickDacy ,
@TrickDacy@lemmy.world avatar

There are other comments here which might have some relevance but imo this one is the most likely the most applicable. I’ve had this experience with other filesystems over and over and it seems like it’s almost always a problem. Apparently NTFS supports permissions in a similar way to Linux if you set it up exactly right, but I’ve never taken the time to try that.

chakli , in `chown` on a sdcard directory impossible...

If you want to change the owner of fat partition, you can do it while mounting, e.g. mount -t fat -o uid=10,gid=10 …

drwankingstein , (edited ) in `chown` on a sdcard directory impossible...

Nine times out of ten, running chown on Android is an astronomically bad idea. 10 times of 10, what you’re trying to do right now, is an astronomically bad idea.

What is it you are trying to do? Or rather, why?

skullgiver , in `chown` on a sdcard directory impossible...
@skullgiver@popplesburger.hilciferous.nl avatar

Android users all kinds of overlays over the sdcard directory. This is part of how it enforces storage access for apps. There’s probably a way to override these settings, but they sure as hell aren’t easy.

There’s also another layer of permissions somewhere seeing as I can’t access certain files on /sdcard that were created by the recovery. I assume it’s an selinux context issue (it always is).

Changing ownership should work on real SD cards with normal storage, but it won’t for the emulated internal /sdcard.

Xylight , in Android 15 QPR1 redesigns the Settings app
@Xylight@lemdro.id avatar

I like the layout but the design is worse, you have to reach even further up to access search. the colors also look slightly worse imo.

lud ,

Yeah, that change is odd. Didn’t they just start to move things down so they are easier to click?

Xylight ,
@Xylight@lemdro.id avatar

Google UI devs will do anything but follow their own material guidelines

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines