News for hackers. Stuff that matters.
Re:Debian for Mobile by kop316 on Monday July 26, 2021 @05:47PM (#27965909)
Heh, neat to see this here! I'm one if the (junior) devs helping out on this project, so if there are any specific questions I'm happy to try and answer!
Re:Debian for Mobile by danieldk on Tuesday July 27, 2021 @06:55AM (#27970934)
Do you have a threat/security model? Perhaps, the project is not aiming for world dominance. But if it is, it would be nice to have integration with a secure element to store secrets, application sandboxing (so that a chat client cannot read your banking session), etc.
Re:Debian for Mobile by kop316 on Tuesday July 27, 2021 @08:07AM (#27971447)
> Do you have a threat/security model?

Not explicitly no. Implicitly, it would be the same as Debian, and I would argue we go for sane/common sense security defaults.

Is there a particular threat your worried about/want me to comment on?

Re:Debian for Mobile by goodpoint on Tuesday July 27, 2021 @07:46AM (#27971287)
Most daemons are sandboxed by Debian (or upstream) already.

For applications, Debian ships firejail.

Re:Debian for Mobile by zozbot234 on Tuesday July 27, 2021 @08:12AM (#27971491)
AppArmor also allows for some sandboxing, and is enabled by default in Debian stable.
Re:Debian for Mobile by goodpoint on Tuesday July 27, 2021 @11:19AM (#27973492)
AppArmor does very little compared to modern sandboxes.
Re:Debian for Mobile by atlantis_ on Monday July 26, 2021 @07:23PM (#27966745)
No questions but one suggestion - it would be great to ease the process of making PWAs for the Linux space. My background is designer -> JS -> node -> mucking around with C/C++, and I think this would be a great way to seed experimentation and creativity around apps - essentially hooking into the curiosity of someone chancing on the project but then being able to pick through examples, boilerplates etc and getting excited at prospect of experimenting with some core HTML/CSS/JS skills for a side project - also specifically outside of the cloying business space of android/win/iOS. The problem with Electron is you embed an entire browser with each app - perhaps some sort of version manager that links PWAs + GTK webviews?
Re:Debian for Mobile by mobian on Monday July 26, 2021 @08:12PM (#27967122)
You can write native applications for GTK in any language you want. Most of the time they should be much less memory hungry than running a browser.
Re:Debian for Mobile by kop316 on Monday July 26, 2021 @07:33PM (#27966833)
> it would be great to ease the process of making PWAs for the Linux space

So developing for Mobian is no different than developing for Debian (in fact then I don't need to use the Modem, I just do all of my development on a Debian Machine).

So this isn't a Mobian issue per se?

EDIT: I also checked, you can install PWAs via Epihpany (which is installed by default on Mobian).

Re:Debian for Mobile by livre on Monday July 26, 2021 @06:01PM (#27966032)
Any plans on porting it to more mainstream phones? It seems to be aiming for "first-world phones" at the moment which is nice since they are more open and you don't have to worry (too much) about proprietary blobs and firmware but leaves a big chunk of the world out.
Re:Debian for Mobile by kop316 on Monday July 26, 2021 @07:19PM (#27966706)
Right now the focus is on devices that devs have and run mainstream Linux:

https://wiki.mobian-project.org/doku.php?id=devices

PostmarketOS runs on more devices (and is a great Distribution!), but they also run a lot more devices through Halium (which is a compatibility layer).

Re:Debian for Mobile by zozbot234 on Monday July 26, 2021 @07:23PM (#27966741)
Halium is interesting because it comes with the potential of building a pmOS Generic System Image (GSI). While this would be relying on vendor-shipped proprietary drivers and kernels, literally everything else could be Free and run on mostly any GSI-supported device with a full feature set.
Re:Debian for Mobile by kop316 on Monday July 26, 2021 @07:34PM (#27966836)
Yep! My personal issue with Halium is the fact that now you have devices running around today running something like Linux 3.10, which I shutter at because of security concerns.
Re:Debian for Mobile by Qwertious on Tuesday July 27, 2021 @08:51AM (#27971787)
shudder*
Re:Debian for Mobile by MartijnBraam on Monday July 26, 2021 @11:04PM (#27968190)
postmarketOS definitely doesn't ship halium, we're more focussed into doing proper Linux development
Re:Debian for Mobile by kop316 on Tuesday July 27, 2021 @06:24AM (#27970744)
Whoops, my mistake! Unfortunately I cannot edit my comment to reflect that.

So then out of curiosity, how are you all able to port to so many devices? Do you have a bunch of volunteers, or all most of the devices not too difficult to port to pmOS?

Re:Debian for Mobile by kop316 on Tuesday July 27, 2021 @11:25AM (#27973571)
So a few of the pmOS folks were kind enough to discuss the pmOS structure with me, so I will try to summerize here:

pmOS has really good tooling called pmbootstrap. They are able to use the downstream kernels directly (or a mainline kernel if the device supports it), and it generally isn't too difficult to get pmOS to boot with the downstream kernel. However, because of the downstream kernel, you may not get a lot of features, and will have to work to port the features to pmOS.

They also have device catagories, so if someone wants to see the status of a device, they can look here: https://wiki.postmarketos.org/wiki/Devices which bins the devices for a user to quickly understand how well a device runs pmOS.

Re:Debian for Mobile by dengolius on Tuesday July 27, 2021 @02:40AM (#27969350)
Thanks! Now I know what device I need to buy to test it.
Re:Debian for Mobile by kop316 on Tuesday July 27, 2021 @06:44AM (#27970870)
We welcome users, testers, and new developers! I actually started development with Mobian earlier this year. I personally would recommend getting a Pinephone for it.
Re:Debian for Mobile by kop316 on Tuesday July 27, 2021 @06:25AM (#27970752)
As MartijnBraam pointed out, pmOS doesn't ship with Halium, so that is my mistake
Re:Debian for Mobile by Kenji on Monday July 26, 2021 @06:07PM (#27966083)
The driver situation is super tough. Modern phones are full of proprietary shit and nobody is willing/able to reverse engineer all of this, and things like documentation and data sheets aren't really available.
Re:Debian for Mobile by livre on Monday July 26, 2021 @06:47PM (#27966428)
That's pretty much the answer I expected but I had to ask anyway. Thanks.
Re:Debian for Mobile by atlantis_ on Monday July 26, 2021 @07:28PM (#27966791)
It is getting better though - check out libcamera.
Re:Debian for Mobile by megous on Monday July 26, 2021 @08:03PM (#27967059)
What's to check out there wrt kernel drivers?