this post was submitted on 05 Aug 2023
41 points (95.6% liked)

Android

28000 readers
201 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
 

Hey everybody,

I installed LineageOS 20 (Android 13) on an old cellphone I had lying around. It works fine, apart from an odd problem: when I connect the phone to my computer by USB, the "Charging this device via USB" notification appears but all the USB preference options are greyed out.

Data transfer works however: if I go into System > Developer options > Default USB configuration, set it to Data Transfer, unplug the USB cable and plug it back in, the options are still greyed out, but File Transfer is selected and the drive appears on the PC. So it's not the cable, and my ports or plugs don't need cleaning.

It's very inconvenient to have to enable and disable this in the Developer options each time I want to transfer a file, and I most certainly don't want to leave Data tranfer enabled all the time.

I've been looking for a solution everywhere, and it seems plenty of people have the same problem with a lot of different phones, but nobody has a solution.

Anybody knows what might be going on here? Any adb shell command I could issue to reenable what might be disabled?

you are viewing a single comment's thread
view the rest of the comments
[–] Lun0tic@lemmy.world 10 points 1 year ago (1 children)

You said it's not the cable but I personally have ran into the issue when working with a cheap cable that is designed for charging only. Prob not the solution to your problem but I figured peeps will read your post and maybe that will be the solution for a similar problem.

[–] ExtremeDullard@lemmy.sdf.org 3 points 1 year ago (1 children)

Well it isn’t: when I enable File Transfer by default in the Developer option, it works fine. I can copy files to/from the phone. And USB debugging works fine too. It’s just that the options are greyed out in the menu.

But for good measure, I did try 3 or 4 other cables I had lying around, and my other USB ports, and the problem doesn’t go away.

well was it an ankor cable if not then the cable could've been overpriced