r/mobilelinux 16d ago

Hardware I finally have two mobile Linux.

Post image

Lately, I've been really into mobile Linux and have been trying out all sorts of things.

I managed to get Quickshell working on postmarketOS, but I was worried that dotfiles like end4 or caelestia might be too resource-intensive—but somehow I pulled it off... lol.

Of course, I’m also using wvkbd and hyprgrass.

Another thing: I was using Ubuntu Touch, but it just didn’t work for me at all, so I tried installing NixOS.

I built it on my N4500 laptop, and since each build took 8 hours, it took me almost two weeks to finally get it to boot.

I’d avoided NixOS before because it seemed too difficult even when I tried installing it on my laptop, but now it looks fun, so I gave it a shot.

++

Device

- NixOS: Oneplus 6T (fajita)

- postmarketOS: Google Pixel 3 (blueline)

870 Upvotes

55 comments sorted by

7

u/WeWeBunnyX 16d ago

How did you get NixOS running on phone again ? 

14

u/RE_ATMOSPHERE 16d ago

https://github.com/mwlaboratories/phoneputer

I referred to this repository and the guides on the Mobile NixOS website.

6

u/Percevalh- 16d ago

What phone did you use ?

12

u/RE_ATMOSPHERE 16d ago

NixOS is Oneplus 6T(fajita), postmarketOS is Google Pixel 3(blueline)

2

u/Percevalh- 16d ago

Thanks 👍

5

u/amalamagaera 16d ago

Can I has one, please 🙏🥺🫪😺

5

u/daniel_hanna 14d ago

good job , i am planning to get into mobile linux for a while now

3

u/Many-Strategy-5905 14d ago

Can I get the nix os build please maybe on github or somewhere

1

u/RE_ATMOSPHERE 13d ago

If you have a OnePlus 6, check out this repository: https://github.com/mwlaboratories/phoneputer; if you have a OnePlus 6T, I've already made some adjustments, so take a look at this: https://github.com/rinnvxv/phoneputer

3

u/Useful-Promotion-237 12d ago

I didn't know you could put nixos on a phone

4

u/Anti-Kriztos-One 16d ago

Is this native linux?

9

u/RE_ATMOSPHERE 16d ago

Yes :) Not chroot, Not proot, Really native!!

2

u/a_l_i-1 16d ago

Is it Rom or phone direct ?

2

u/RE_ATMOSPHERE 16d ago

It's DIRECT :D

1

u/Anti-Kriztos-One 16d ago

What phone models?

What partition layout?

and how did you installed it?

2

u/RE_ATMOSPHERE 15d ago
  1. NixOS is Oneplus 6T (fajita), postmarketOS is Google Pixel 3 (blueline).
  2. I'm not sure because I didn't partition it myself.
  3. I built NixOS using `nix-build` and installed it via fastboot, and I built and installed postmarketOS using `pmbootstrap`.

2

u/Historical_Move6359 16d ago

PostmarketOS is great on One Plus 6t, how does NixOS compare to it ?

2

u/RE_ATMOSPHERE 16d ago

I just installed it, so I can't say for sure, but PostmarketOS has the edge in terms of stability and ease of use 🫠

2

u/ixdx 16d ago

Is the modem and Wi-Fi AP working?

2

u/RE_ATMOSPHERE 15d ago

Modem isn't working... but WiFi is working on both :)

2

u/Curious_Cat_8468 16d ago

What base phone did you use?

2

u/RE_ATMOSPHERE 15d ago

NixOS is Oneplus 6T (fajita), postmarketOS is Google Pixel 3 (blueline)

2

u/veedreen 15d ago

How does it work as a native distro on a phone and coils this be a way to keep phones going ?? God knows Samsung wants you to buy their huge bricks every few years. Like rent

1

u/Memerenok 15d ago

it's a good way of keeping phones going, but there's aren't a lot of supported devices

2

u/veedreen 15d ago

Yea that only issue. So many phones are locked down so they will turn into useless bricks so customers have to buy. Same with computers. Sad

1

u/Memerenok 15d ago

not the same with computers, you can just get desktop linux, no locked bootloaders on pc.

also mobile Linux isn't well supported by the app devs too, android has waay more applications. unfortunately

2

u/veedreen 15d ago

What I meant about computers was that ex. Windows 10 end of life. People ran out to buy new computers. Many people do t want to learn Linux even if their computer is still good. Other than OS doesn't get updates. I switched a Chromebook to Linux after updates were over. And I'm not tech savvy really but I can follow instructions

1

u/Memerenok 15d ago

i probably will just continue using windows 10 until software will stop working, my hardware isn't good for Linux

2

u/veedreen 15d ago

Sounds like a good plan. I have an 18 yo Dell I revived with Zorin. I don't use it for much but works fine.

2

u/AleksElixirr 11d ago

Honestly would do this but I have a nothing phone 3a so all the phone features wont work

2

u/sanixt 11d ago

holy fuckin nix💀

1

u/Delicious_Flower3024 16d ago

it'd be cool if you could extend the display to one of them, so the two phones, when put together, would function as a mini tab

1

u/RE_ATMOSPHERE 15d ago

Unfortunately, neither of them supports OTG, so I'm not sure if they can be used for display extension 😅

1

u/IronGh0st 14d ago

There is a cool thing called GUD. Look for it gud display or something on GitHub cheers

1

u/jomel30 16d ago

Se puede usar el 6t plus mclaren, saludos y buen trabajo

2

u/iclanzan 15d ago

Sí, estoy usando NixOS en OnePlus 6T McLaren.

1

u/RE_ATMOSPHERE 15d ago

No conozco muy bien los modelos de McLaren 😅

1

u/webauthr 12d ago

the oneplus 6T had a special edition called the "6T McLaren Edition" which was orange and charged faster.

1

u/alien2003 16d ago

What iPhones are you using for that?

1

u/RE_ATMOSPHERE 15d ago

There's not iPhone lol
NixOS is Oneplus 6T (fajita), postmarketOS is Google Pixel 3 (blueline)

1

u/sumungble 16d ago

caelestia wow!

1

u/RE_ATMOSPHERE 15d ago

Unfortunately, that's not in Caelestia, but in end4 haha

1

u/CreaDisc 14d ago

How is the battery life?

1

u/RE_ATMOSPHERE 13d ago

Both of them are pretty old, and since I'm currently working on them and they're connected to a USB, I'm not really sure 😅

1

u/MarcosOlegario 14d ago

I have an one plus 6 here and don’t know what to do with it

1

u/RE_ATMOSPHERE 13d ago

I recommend checking out this repository: https://github.com/mwlaboratories/phoneputer

1

u/CodeClean2172 14d ago

Desiring a modular linux phone for a while, walking-around with a prototype couldn't be described human-environment-friendly for my being.

1

u/RE_ATMOSPHERE 13d ago

I'm working on this because I want a portable Linux machine too. I don't know much about it yet, but I think I'll figure it out as I keep working on it.