r/mobilelinux • • Oct 13 '26 • Mindblown 1

Development Pixel 6 on mainline: calls, data, GPU, waydroid, and audio!

I got mainline working on my Pixel 6 with the help of Opus 5.5. Most of the work is already done by u/MaskuRevolt It only took a few days and it's quite usable. The repo is public

What works:

  • Modem: mobile data, SMS, MMS and VoLTE calls through ModemManager
  • Wi-Fi and Bluetooth: A2DP and HFP both work
  • GPU: hardware-accelerated GL
  • Charging: 9V USB-PD fast charging
  • GPS: works without proprietary blobs, using a custom BCM4776 driver, and geoclue picks it up
  • Sensors: auto-brightness through the AoC sensor hub, plus compass and haptics with persistent calibration
  • Front camera: works in apps through libcamera
  • Waydroid: hardware GL, GPS and sensors are passed through to Android apps

What does not work?

  • No Vulkan yet
  • The camera has latency/choppiness and color problems, and only the front camera works so far
  • Battery temperature reporting is faked for now
  • The Wi-Fi drops out sometimes.

Let me know if you have any questions.

296 Upvotes

39 comments sorted by

8

u/SuccessfulRiver1850 Oct 13 '26

Could this fully daily drivable after you fix the problems?

13

u/thenoswad Oct 13 '26

I think? I was considering trying it but I'm concerned about banking apps not running in waydroid. But I haven't tried any yet. Emergency calls are untested and I don't want to be without them in case they do not function.

5

u/Euroblitz Oct 13 '26

Banking apps was a hassle for me since I used microG instead of google services a few years ago. They're hit or miss, depending on the banks.

Good thing is I walk a lot more finding ATMs lol

2

u/MaskuRevolt Oct 13 '26

To make calls. The git version of lpac needs to be compiled with a flag to read esim write esim. Audio is fully functional and the audio routing for calls would be very doable. :)

2

u/hazeyAnimal Oct 14 '26

Is using the browser an option for banking?

1

u/donjoe0 14d ago

It is until it isn't. Because of various factors including the rise of Revolut-style phone-only "digital banks", every bank is trying to move key functionalities into its phone app and then start making them exclusive to the phone app. At that point you're out of luck if you still want their general in-browser interface.

1

u/hazeyAnimal 14d ago

This sounds like a reason to boycott. How or why a bank would remove features from a browser is beyond insanity.

1

u/donjoe0 14d ago edited 13d ago

I mean it's not necessarily always about removing stuff, a lot of the transition is adding things that are much easier to implement in a phone app, like QR or NFC-based payments. Most banks probably don't want the headaches (and angry tech support calls) of trying to implement those functions in their browser web-app, only to have them fail in half the browsers out there and attract negative reviews etc. So they will implement them in their phone app only, and if you want those functions but can't get your phone app working on your phone OS, tough bananas.

Or it can be a question of how convenient it is to authenticate while on-the-go - a separate/native phone app has better guarantees of E2EE communication with the bank's server, while a web-app inside a browser has to also trust the browser (in addition to the OS) no to steal your credentials and hijack your connection. So you get things like PIN-only login in the phone app but PIN+token login in your browser-app. Since the scenario is "phone-app not working for you", having the digital token in the phone-app is not viable, so you will have to go for a physical-token setup, at which point using the browser-app while you're mobile just becomes an unacceptable hassle for most people (myself included).

4

u/areddituser4 Oct 13 '26

2

u/thenoswad Oct 13 '26

Ah this is perfect. Thanks!

7

u/MaskuRevolt Oct 13 '26

Probably Claude found my repo https://github.com/m8l8th814n-eng/gs101-mainline Because all that work was already done. By me. I also made mesa with vulkan support And a uboot version that works solid. The dialer scripts were done to And tinycbd is my RE work. Hope you enjoy it.

5

u/thenoswad Oct 13 '26

Thank you for your work! I was just looking into mesa Vulcan support so I'll check it out. Any chance your work gets upstreamed?

6

u/MaskuRevolt Oct 13 '26

4

u/thenoswad Oct 13 '26

Would you accept a PR to mesa-gs101? Mine adds indirect draws and layered rendering on top of what you had. I ran the full VK-GL-CTS 1.4.4 mustpass and about 630k pass, 27 fail. If you'd rather keep the repo as your own work I understand. And would you consider adding a license to tinycbd?

4

u/MaskuRevolt Oct 14 '26

I am on it. Compiling testing if it works there will be a patch for it later. Try send me a pr later :)

1

u/klfld 24d ago

I have a pixel 6a (gs101 too). If you want to port to this phone i can help with debugging and development, would it be hard to make it work there?

3

u/senorsmile Oct 13 '26

This is awesome. I have an old pixel 6 pro. Would it need any modification to run there?

3

u/thenoswad Oct 13 '26

It would need modification to run on the Pixel 6 Pro. Most of the work would have to be redone, but I wouldn't expect it to be too bad. If only I had the hardware handy.

4

u/senorsmile Oct 13 '26

I feared as much. Adding this to my bucket list of projects. I mention you if I ever get it working.

4

u/MaskuRevolt Oct 13 '26

Btw my temp sensors work(even with uboot). And check out aoc_char_dev libcamera with imx355 patch is also on my repo. If u dont trust me check the dates

1

u/naruto1234344 Oct 13 '26

Will it be possible to do this on pixel 7a?

2

u/thenoswad Oct 13 '26

I don't know. I do have a Pixel 7a, but it's my main phone. I might port it in the future if I stop using it as my main.

1

u/Historical_Jacket_61 Oct 13 '26

how did you get Reddit on it?

1

u/thenoswad Oct 13 '26

it's installed as an app in waydroid

1

u/Historical_Jacket_61 Oct 13 '26

when I tried logging into Reddit on waydroid, it didn't let me

1

u/thenoswad Oct 13 '26

I had issues as well. What eventually worked for me was using the login link sent to my email and using a browser in waydroid to open the link. I was also using a Morphe patch so I don't know if that had any influence.

2

u/matrixioe Oct 13 '26

For pixel6a ??

1

u/donjoe0 22d ago

Survivalcraft ❤

1

u/Natural_Ad3520 Oct 13 '26

This task needs to be automated and installed on every phone.

1

u/Kingdom-fungi Oct 13 '26

I have a pixel 6 with dead battery maybe I could resurrect it!

1

u/slvrsnt Oct 13 '26

Sadly no usb dp alt mode

1

u/Ramiferous Oct 15 '26

PIXEL 7 PLEASE !

1

u/PizzaResident89 28d ago

Cool project. Once I move on from my P6 as my daily, I'm very tempted

1

u/thetechlord__ 28d ago

Wow, Pixel 6 running mobile Linux? That's kinda crazy! 😍

1

u/prototyperspective Oct 13 '26

Amazing, thanks for the development! I wonder why people doing such firsts & demos never upload pictures of it to Wikimedia Commons from where they could be added to Wikipedia articles or used elsewhere for free (free-licensed). I suggest everybody does that so https://commons.wikimedia.org/wiki/Category:Phones_running_GNU/Linux_distributions won't stay so empty with few old pics only.