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?

91 points

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.

permalink
report
reply
67 points
*

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.

permalink
report
reply
25 points

Great answer. People frequently think that Android phones work just like desktops, but they are very different.

permalink
report
parent
reply
14 points

To be fair they’re ARM-based devices (most of them anyway) and linux works fine onthat architecture. The Raspberry Pi and others, Microsoft has Windows on ARM; as do the new M-series from Apple.

It’s all the obscure hardware, bootloading and vendor lock-in that kills it.

permalink
report
parent
reply
2 points

It’s not the best option though, as long as the hardware is decent.

https://www.androidauthority.com/install-ubuntu-on-your-android-smartphone-765408/

permalink
report
parent
reply
7 points

Doesn’t stop the host OS (Android) from “spying” on you though, so doesn’t really help OP.

permalink
report
parent
reply
1 point

True.

permalink
report
parent
reply
19 points
*

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.

permalink
report
reply
17 points
*

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.

permalink
report
reply
Deleted by creator
permalink
report
reply
-2 points

That is a helpful commet.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.4K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments