I have a Samsung Galaxy J3 (2018) smartphone which currently has the stock Samsung Android OS installed on it. I wanted to install an Android “distro” that doesn’t spy on me, like Graphene OS, but I couldn’t find a ROM for it. Since I would probably need to compile AOSP from source code anyways, I though, why not install Gentoo on my smartphone (doing the compilation on a more powerful computer using distcc). I have already installed Gentoo on both my laptop and desktop from a stage3 tarball and I’m loving it, so I guess doing the same on my smartphone wouldn’t be too hard.

Now, the problem is that I need to use a few apps that are not available on Linux, like the proprietary app that I use to pay for my bus tickets. How well does waydroid work?

  • Hubi@feddit.de
    link
    fedilink
    arrow-up
    61
    ·
    1 year ago

    Word of advice: do not do this to any device that you actually depend on. Linux enthusiasm is all fine and fun, but this will kill most practical functionality of your device. I’d say try it out on a old phone you might have laying around but not on your daily driver.

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

    If I’m not mistaken, I believe the 2018 J3 has a locked bootloader. The fact that I can’t find even a SINGLE custom ROM on XDA for this model means it’s highly likely that the bootloader is locked, and/or the device isn’t dev friendly (no kernel sources available etc).

    so I guess doing the same on my smartphone wouldn’t be too hard.

    Mate, you’ve no idea… Smartphones are a completely different ball game to desktops. You could try and compile your distro, but without the kernel sources and drivers for your specific model, nothings gonna work. You won’t even be able to boot the damn thing. And even if you did have those, it’s going to take a LOT of effort just to get basic OS functionality working. Forget getting actual phone stuff working, like making calls etc - that’s next to impossible. Even large projects like PostmarketOS struggle to get basic functionality going even on dev-friendly phones.

    But you can stop dreaming about all the above if you can’t even unlock the bootloader.

    Basically, what all this means is that there’s no point wasting your time on the J3. Stop right now and don’t waste any further time on this.

    If you’d really like to run GrapheneOS / Linux on your phone, your best option is to sell your J3, and get a used Google Pixel from Swappa/eBay or something.

  • LemmyIsFantastic@lemmy.world
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    edit-2
    1 year ago

    No. None of it is worth the effort. None of it works well, you’ll fight with payments, and shit is going to be buggy and unless you really want to learn you don’t sound too technical.

  • Shatur@lemmy.ml
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    1 year ago

    I daily drive GNU/Linux on my Phone (PinePhone Pro), I would say it usable, but Android is way more practical.

    Also not a lot of devices can run GNU/Linux and have fully functional HW due to missing drivers. And only 3 phones of them can run mainline kernel.

    Waydroid works fine, I use it for banking apps, but it’s a bit slow on my specific device.

  • theshatterstone54@feddit.uk
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    For a spare phone if you want to just tinker and have fun, go ahead. For a main devicez just. Don’t. It is very very alpha quality software.

  • rah@feddit.uk
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    1 year ago

    I guess doing the same on my smartphone wouldn’t be too hard

    Snigger

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

      Computer is computer, and it works great. Phone is computer, so it should work great.

      I understand this thought train, but yeah I had the same reaction as well.

  • Marduk73@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Ok I’d cut through all of this and focus on your needs: phone with no spying, can’t find rom. I assume you mean your phone isn’t supported for graphene, lineage, or calyxos, or any others I missed?

    Easiest way: buy a phone that is supported for the privacy minded os you want.

    • conc@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Hardest way: buy a PinePhone Pro Explorer edition with all the accessories. Then miss several calls and texts, and brick it 4 times.

      • zzzzzz@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        brick it 4 times

        I’d be impressed if the battery lasted long enough for that!

  • LinuxSBC@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    Have you installed a custom ROM on it? If not, you definitely don’t have the skills for this. If so, have you built your own ROM for it? If not, do that so you learn how it works in a predictable environment. Then port something existing to it, like UBPorts. Only after you do all of that and probably a lot more should you attempt to effectively develop your own distro on hostile hardware.

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

    Phones aren’t like old laptops. They’re a different architecture entirely, and the hardware is often somewhat custom to the device. Building an image that would even boot on it would be a challenge, much less getting stuff like the touch-screen etc working

  • virtualbriefcase@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    As others are saying, that’s not really an option unless you’re really dedicated. IF it has an unlockable bootloader you could technically get to compiling and tinkering to get everything built, but in order to get a phone all set you’d need to get the right drivers and do a whole lot of tinkering (like full time job levels of building and tinkering) kind of deal to get it built. Phone’s aren’t so plug and play like computers.

    If you there’s no rom support and/or a permanently locked bootloader but you want an OS without x y and z you can always try to fire up ADB bridge and disable stuff. You could also accomplish the same by rooting, though it’s a bit of a security risk (though not as overblown as some people say IMO).

  • Secret300@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I just bought a OnePlus 6 to test out mobile Linux and it’s not there yet. Firefox it a pain to use and it doesn’t auto rotate either. So far it’s been good to read manga on and… Ye that’s about it. Camera doesn’t work on it and the UI still isn’t the best. I haven’t used KDE’s DE for phones yet but I’ve used phosh and now I’m using gnome mobile and so far gnome mobile is a lot better but still buggy. I’m excited for the future development of it but with how locked down phones are it’s a bleak future