Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on ani.social
linuxphones·Linux PhonesbyTheMightyCat

Fairphone 6 + PostmarketOS offline charging mode!

Technically not a hardware bringup, but still very important non the less!

If you have used i think any linux phone before you may have noticed that if you plug in the charger the system immediately boots, while on android it shows a charging symbol.

This became quite infamous with the PinePhonePro, it's boot consumed more energy then the charger could give, so it was stuck.

This is also how my PPP died and was thus retired to the drawer.

Ive drained my FP6 many times now already with working on it but it always came back, but to not risk it i've now implemented a ultra lower power charging mode.

At boot it detects if the boot reason was because of a charger, then it shuts off everything it can shut off. and enters the charging mode.

While in charging mode you can press volume up to turn on the display, this shows the current battery % and charging rate, pressing it again shuts the display off again.

You can press volume down to enable debug mode, this initializes SSH. Keep in mind that this is mega slow as only a single little core is active and downclocked all the way, fine for fetching logs but if you want more it might be better to bring up more of the CPU.

In charging mode pulling out the charges causes the system to shut off.

In charging mode pressing the power button causes the system to reboot and start as normal.

I suppose my hands aren't really showing it in the video but those are the buttons i press.

Hopefully no FP6 will ever die because of a battery boot loop.

News roundup

As with any of my posts here is the regularly scheduled news roundup:

Mollie terminated my account

If you stalk me you might have read this post:

https://ani.social/post/35846695

My comment here explains "why":

https://ani.social/comment/18286964

So i would recommend anyone doing FOSS work to not use Mollie as they clearly don't like it and will terminate your account suddenly out of nowhere, another example of the grip big tech has on us.

As a result i've had to make the only payment rails on my website a regular bank transfer and cryptocurrency. When i still had access to the mollie dashboard i could see that many payments were already done with bank transfer so i hope its not too much of an inconvenience.

The donation money should be safe, i should be getting it in my bank account next week according to their email, and if i don't i'll be raising hell.

Donations

Thank everyone that donated so very very much, i really can't express my gratitude enough.

https://catcrafts.net/financials is now at a massive €1061.02!!!

I don't know what to say, genuinely thank everyone very very much. I'll be working to fulfill the mission you all have funded and continue to fund.

And that brings me to my next point, which makes me a bit teary eyed that people are so generous to me:

A massive thanks to the kind person willing to donate €500!!! but didn't get trough 3D secure on their card.

I really don't know what to say except your generosity knows no bounds, if you happen to be reading this would you be willing to do a bank transfer instead?

If not i understand, but thank you very much again for willing to donate this massive amount.

Linux 7.2

Linux 7.2 has released and i've updated my image! Anyone using it should just be able to do a regular update via apk and get the new 7.2 kernel, please let me know how it goes!

Fairphone 6+

I think everyone has read my original comment announcing it already but Luca emailed me confirming the FP6 and FP6+ are software compatible, this is also on the pmos wiki now.

Improved Camera

I've also improved the camera color correction again. If we compare with the image from my previous post:

Previous post:

Now:

My white wall is actually white now.

The quality is still pretty bad, but i'm continuing to improve it. The next steps are de-noising on the DSP/NSP/NPU (whatever the hexagon processor is called), maybe even more color correction (running out of ideas on this front i must admit) and a camera app that doesn't store in JPG format.

But probably the best solution to improving camera quality is not taking photos in my dark room at night, but we know that is never going to happen xd its 04:46 and i have work tomorrow send help

Feedback

I don't have any statistics on how many people are actually using the image because that's the point of a privacy focused OS so maybe i'm just shouting into the void here but i can see the image has been downloaded a couple times already. If you are using the image, how's is it going? Any issues? Any good things? Please let me know!

View original on ani.social
198

12 replies

Heyo! Thank you!

I did look at charging-sdl but since it was removed in 2023 I thought it would be better to start fresh then inherit a legacy codebase, if the upstream team wants this to go into charging-sdl instead of a new package I will be happy to oblige.

I'll be happy to upstream everything I can but I am currently not doing so to pmos in adherence of https://docs.postmarketos.org/policies-and-processes/development/ai-policy.html

If i understand correctly this is a zero tolerance policy, which is why I haven't send any patches to pmos yet, while it is allowed in the linux kernel which is why im currently upstreaming everything there.

6
infosec.pub

Sounds like the biggest issue for why it dies in this scenario is that it doesn't boot with power loss safe logic, it doesn't do strategies like copy-on-write, so it's not safe to unplug.

1
ani.social

Well the biggest issue is the battery boot loop of death.

It takes time to initialize the USB-PD, so before that it gets very little power.

If before that it already sags the battery causing it to shut down again then it never charges.

2

Those are two separate problems but the one I mentioned is the one causing permanent breakage

1

Well, these posts by @[email protected] have officially convinced me to get the 6+ when my current phone dies!

If I can't buy it directly from you (I live in Canada) then I'll at least convince my partner to sneak out some budget money for a donation or two, as your work alone has made me believe that a Linux phone will be possible!

Keep up the great work! Every little bit helps reduce friction.

12

Ok this is pretty awesome. Wish you all the best in your work!

22

Piling on the love here, and also want to say I haven't forgotten I promised to DM you some journalctl output re: my 3 P-CSCF addresses that behaved differently. Things have just been really hectic, but I want to get it done real soon™

8
piefed.zip

The next steps are de-noising on the DSP/NSP/NPU

You mentioned before that the NPU is still non-functional, does this mean you'll bring it up as well?

9

Sort of, when I said that I haven't looked into yet, I would say it's mostly functional already but that is also a preliminary guess.

It's more functional then most things in this bringup but the judgment on how functional is still out until I do something with it.

9

You reached the end

Fairphone 6 + PostmarketOS offline charging mode! | Spyke