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?

  • DevopsPalmer@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Wouldn’t this just be the default android safety feature that disabled data transfer via cable by default now? You need to enable it each time, and I know testing my phone on Android 13, it prompts me when I plug into my PC via push notification, maybe lineage doesn’t do that

    • ExtremeDullard@lemmy.sdf.orgOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Wouldn’t this just be the default android safety feature that disabled data transfer via cable by default now? You need to enable it each time

      Yes, disabled by default and having to enable it each time is exactly what I want! But I can’t because the options are greyed out, is my problem :)

    • MrStetson@suppo.fi
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      LineageOS 20 for me does that and works normally if my phone port isnt acting up, i don’t need to enable developer options for file transfers like op does.