News for hackers. Stuff that matters.
Re:The PinePhone modem SDK: a free-software baseband firmware by SubzeroCarnage on Sunday July 09, 2023 @09:27PM (#36660955)
This is just the user-space aspect of the modem, it still has a 40MB proprietary firmware blob that does all the fun stuff.

Also running long end-of-life and insecure Linux 3.18: https://github.com/the-modem-distro/quectel_eg25_kernel/blob...

I submitted a PR with my CVE auto-patcher which fixed many issues including numerous modem related ones which was ignored and closed: https://github.com/the-modem-distro/quectel_eg25_kernel/pull...

Re:The PinePhone modem SDK: a free-software baseband firmware by c-c-c-c-c on Sunday July 09, 2023 @10:09PM (#36661207)
Yeah, no shit. It wasn't ignored either, its about managing limited resources and doing things right.
Re:The PinePhone modem SDK: a free-software baseband firmware by SubzeroCarnage on Sunday July 09, 2023 @10:30PM (#36661337)
I'm happy to see things done right in the form of mainlining the necessary parts, but that takes _years_. Users shouldn't have to suffer with known security issues that have fixes readily available.

I've used this tool to support many dozens of end-of-life devices working well over the past six years, and it is even purpose-built for these Android/Qualcomm downstream kernels.

Re:The PinePhone modem SDK: a free-software baseband firmware by tadfisher on Monday July 10, 2023 @12:24AM (#36662066)
Maybe you could rework your process a bit, as a drive-by patchset with 400+ commits is not a great way to start a conversation. Some ideas:

- Open an issue or post to the project's mailing list, proposing the use of your tool.

- If you don't do so already, have your tool only apply patches to code that is actually compiled for the target, e.g. give it a .config and trace which source files are used in make.

- Obtain the hardware for the devices your tool supports and donate your time to test the changes generated by your tool.

Re:The PinePhone modem SDK: a free-software baseband firmware by SubzeroCarnage on Monday July 10, 2023 @12:35AM (#36662145)
Only applying patches that may be necessary is absolutely non-trivial to compute, especially with dependent patchsets or future changes to the config.

I already provide monthly software updates for 170 devices using this tool which I've personally tested on two dozen devices plus many user reports on others. Making a (near) working PR conversation starter to demonstrate the tool I've spent years of my time on is my contribution.

In this case where I didn't have a PinePhone I explicitly found a closest match (Google Pixel 1/marlin iirc) to the kernel at hand and applied my fix database to it as matching to increase the chance that it would be successful.

I have absolutely zero doubts that someone can't apply the PR and be up and running in an hour.

Re:The PinePhone modem SDK: a free-software baseband firmware by fabrice_d on Sunday July 09, 2023 @10:15PM (#36661247)
Your PR was not ignored, and the author explained why they could not merge it as-is.

After your PR got closed you explained how to create the patchset from kernel.org sources which is the right approach, maybe that happened in other commits?

Re:The PinePhone modem SDK: a free-software baseband firmware by SubzeroCarnage on Sunday July 09, 2023 @10:32PM (#36661359)
If it couldn't be merged as-is that is completely understandable, but why close it then? Why not say "can you tame this back?" instead the response was "this will break things and maybe you added malware".
Re:The PinePhone modem SDK: a free-software baseband firmware by 0x6c6f6c on Sunday July 09, 2023 @11:21PM (#36661677)
The project maintainer may not want to keep PRs open that are not acceptable as is.

There is zero functional difference between holding the PR open indefinitely (and many times follow-up just never happens) and closing the PR until changes are made and where a new PR is then opened.

Re:The PinePhone modem SDK: a free-software baseband firmware by lucideer on Monday July 10, 2023 @07:03AM (#36664640)
> There is zero functional difference

This isn't true though. There's may be no functional difference for the receiver/merger/maintainer but there's a large difference for the submitter - this kind of approach can often be the demotivational difference between finishing and abandoning branch work.

Sure, 95% of such PRs might never go anywhere, but with the contribution pool being that small, is there a strong reason to shrink it further?

I get that maintainers have a lot on their shoulders & expecting them to be perfect receivers of outside contrib is expecting a lot, but it's also why there's so much on their shoulders.

Re:The PinePhone modem SDK: a free-software baseband firmware by biktor_gj on Monday July 10, 2023 @01:54AM (#36662605)
First things first: I never implied (or wanted to imply) that you were introducing malware in that patchset, just that you could introduce it and I wouldn't be able to find that in a PR so big. Sorry if that came out wrong.

Still, that 3.18.140 kernel is ancient, it's not worth doing anything with it unless we find a bug that prevents something from working. Especially since there _is_ a mainline effort, and there's a 6.0 based tree that has most of the things working already except for some bugs with the nand and audio.

And that's the reason why there hasn't been a new release lately, because I hadn't had a lot of time, and because I'm spending all my little remaining energy on trying to get the userspace working with mainline.

For those who may not know, the userspace acts as a sort of bridge between the baseband and the Pinephone, by proxying stuff between them (that's how you can hijack some things and implement voice calls and SMS). When moving to mainline, there's certain devices that cease to exist, some others needs adapting, and I'm taking the time to try and get openqti to be more flexible and out of the box support different audio settings for different models, different flash configurations (for those modems which don't have a dedicated user data partition etc)

Re:The PinePhone modem SDK: a free-software baseband firmware by SubzeroCarnage on Monday July 10, 2023 @02:02AM (#36662661)
I appreciate the reply, happy to hear mainline efforts progressing too. :)
Re:The PinePhone modem SDK: a free-software baseband firmware by jona-f on Monday July 10, 2023 @05:05AM (#36663783)
I feel you should get more encouragement here. Thanks for your great work. You did a lot. Yes, the whole state of mobile is frustrating, but here is someone improving things. If our governments weren't the corrupt authoritarian shitheads they are, these kinds of trojan horses should be illegal.
Re:The PinePhone modem SDK: a free-software baseband firmware by palata on Monday July 10, 2023 @07:59AM (#36665109)
Respectfully, you really, seriously need to work on your communication skills. You seem to be doing good work and I respect that (I use Mull, for one), but... you systematically sound fairly aggressive and complaining about everybody. Just for that I wouldn't want to contribute to any of your projects, and I wouldn't want to depend too much on them either (who knows who you will piss off next and where your projects will go).

For instance, let's look at what you describe here as "my PR was fixing a ton of stuff but it was ignored and closed".

First, the title of your PR is "Make the kernel less awful"... really? How would you feel if I opened a PR saying "Make DivestOS suck a little less, but let's be honest, it will still be a piece of shit after that"?

Not even mentioning that you say "Untested, but shouldn't require more than a handful drop/reverts". So you just come and drop a huge PR that you haven't tested, and then you complain that others don't pick it up?

Before closing your PR, the maintainer said:

> Don't get me wrong, it's impressive, but there's no way I'm going to merge this. You can't send someone 424 patches to a repo and expect them to stop everything they're doing for a month and checking them one by one in case just one of them fucks up the entire system (or contains some kind of malicious code), even less so on a 3.18.140 kernel that originally comes from Qualcomm.

That is very fair, and I would not call that "being ignored" at all.

Keep up the good work, and learn to communicate in a constructive way!

Re:The PinePhone modem SDK: a free-software baseband firmware by hospitalJail on Monday July 10, 2023 @09:23AM (#36666030)
Btw this is a great case for Chatgpt.

I am also aggressive over the internet. I don't know why. I'm so chill IRL.

Ive learned to copypaste my message and ask chatgpt to make it nice, but not eliminate the point.

I don't copypaste what it says, but I do find sentences that are nice, but still make my point. Its sooo good.

Re:The PinePhone modem SDK: a free-software baseband firmware by palata on Monday July 10, 2023 @05:20PM (#36673112)
That is an interesting take indeed. And I respect the fact that you realized that you sound aggressive online and took action.

I will actually think about that: English is not my first language, and I feel like I sometimes unwillingly sound aggressive.

Re:The PinePhone modem SDK: a free-software baseband firmware by SubzeroCarnage on Monday July 10, 2023 @02:08PM (#36670496)
> awful

I think most people agree that such an ancient kernel is awful and can understand the comical take of that title. No where have I claimed their project is bad.

> So you just come and drop a huge PR that you haven't tested

I actually wrote a response to this in this thread, but the parent comment was deleted.

tl;dr I had actually compared it to match kernel, for the original Google Pixel, and fixed it like matching so it was actually quite likely to work.

Re:The PinePhone modem SDK: a free-software baseband firmware by palata on Monday July 10, 2023 @04:33PM (#36672553)
> I think most people agree that such an ancient kernel is awful and can understand the comical take of that title.

I did not find it comical at all, and I thought you were a jerk. And I have read many messages from you in different places (HN, the /e/ forums, git repos, etc), and every single time, I think you are a jerk.

Also my post above has a score of +17 (honestly I never get that many upvotes here), so I wouldn't think that most people think your PR was comical.

You can choose to ignore this and keep believing that most people find you funny, or you can try to reflect on it and possibly improve your communication skills.

I don't really care, to be honest. I just wouldn't want to work with you given how you communicate online.

Re:The PinePhone modem SDK: a free-software baseband firmware by SubzeroCarnage on Monday July 10, 2023 @05:06PM (#36672949)
I never claimed to be funny, but I think how you seek me out each time to call me names is.
Re:The PinePhone modem SDK: a free-software baseband firmware by palata on Monday July 10, 2023 @05:18PM (#36673089)
> I never claimed to be funny

You literally used the word "comical" in the previous post. English is not my language, but if I search for a definition, I get: "comical: arousing or provoking laughter".

> I think how you seek me out each time to call me names is.

I agree, it is actually funny, because I don't look for you. As I said, I don't want to be related to DivestOS because you seem toxic. I don't even know or recognize your usernames on the different forums, but somehow I seem to recognize your style ("That person is a bit of a jerk - wait, is it the DivestOS author, again?").

Also I wouldn't say I "seek you out each time to call you names", it's the second time in quite a while (unless there was a third and I had not even realized it was you again?).

Re:The PinePhone modem SDK: a free-software baseband firmware by bryal on Tuesday July 11, 2023 @05:12AM (#36678311)
> > I never claimed to be funny

> You literally used the word "comical" in the previous post. English is not my language, but if I search for a definition, I get: "comical: arousing or provoking laughter".

One can make an attempt at humour without the whole audience necessarily finding it funny. I was not confused by SubzeroCarnage's wording at all.

You call them out for lacking communication skills and being offensive, but if anything you're the one with lacking English comprehenshion, lashing out because of a misunderstanding on your part.

Re:The PinePhone modem SDK: a free-software baseband firmware by palata on Tuesday July 11, 2023 @08:05AM (#36679810)
Sure, maybe :-). Would you mind explaining it to me, then? It went like this:

They said:

> I think most people [...] can understand the comical take of that title.

I said:

> I did not find it comical at all

To which they answered:

> I never claimed to be funny

To which I answered that their previous message literally said "the title I wrote was comical".

As you mentioned, I am "lacking English comprehenshion". Can you explain to me how saying "I wrote a comical sentence" does not imply "claiming to be funny"?

Re:The PinePhone modem SDK: a free-software baseband firmware by bryal on Tuesday July 11, 2023 @04:59PM (#36687141)
There's such a thing as unfunny comedians.