• zolax@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    you could use Termux::API to get stats (battery percentage, notifications, calls, some other stuff) of your phone from your PC.

    this video gives good examples

  • Kevin@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Termux is awesome! I use it for a bunch of things:

    • sshing into servers and my home when I’m out and about
    • using croc to transfer files
    • making videos I’m going to send people smaller with ffmpeg
    • downloading stuff with yt-dlp
    • giving myself access to the sandbox + /sdcard from other computers by running an ssh server
    • scripting phone stuff (like taking photos) with the api
    • running weechat locally, which I can then connect to with weechat android
    • using vim
    • probably a bunch of other things I’m forgetting
  • acec@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Compile llama.cpp, download a small GGML LLM model and you will have a quite intelligent assiatant running into your phone.

  • Pantherina@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Try to use my apkverify tool.

    It may be broken or not work on some APKs, getting it running on Termux is kinda weird, but you could then use a better output of APKSigner to read signatures and verify APKs on first install.

    Apksigner on its own was pretty useless for me, thats why it uses a workaround. Apks are zips, so it renames the file, decompresses and reads some file where the signer is actually mentioned with Name and all. Then it deletes it.

    Iirc there was some bug with Termux and the unpack thing, because Android sucks I guess. On Linux it works fine.

    • SaltyIceteaMaker@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Im gonna be honest i really don’t care about that. There is no sensitive data on my phone except maybe social media logins and i have a recent backup so🤷

      • Orvorn@slrpnk.net
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Odd choice to use GrapheneOS if you don’t care about security. More power to you, though.

        • SomeBoyo@feddit.de
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          The long term support might make it worth using, even if you don’t care about security/privacy

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Definitely try running a full Linux distro with it, it’s pretty fun and a self-rewarding task, even if you don’t end up actually doing anything with it. But you may still find it useful in some ways, for instance, you could run a full fledged desktop Firefox with support for ALL addons, use it to inspect and debug web pages etc.

    And if you feel like it you could take it a step further and install Zink and Box86 to play Windows games.

    • mineapple@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Just as a tip: you can run every Add-on on Firefox nightly. You can add your own add-on collection and select from that. You have to go into dev mode though. Yo do taht by tapping the Firefox logo in the about section like 5-10 times. You have to have a Firefox account though. Or you could use my fairly small add-on list:

      Username: 16700479 Name of the list: cookies