At the same time, over at postmarketOS and Plasma Mobile, we're mainlining multiple devices like the Sony Xperia Z2 Tablet (sony-castor), LG Nexus 5 (lg-hammerhead), Sony Xperia Z1 Compact (sony-amami), FairPhone 2 (fairphone-fp2) and more! The devices I listed have already boot on mainline, with the Nexus 5 and the Sony Castor even having display with hardware acceleration working!
With enough time and people, the hacking community can open up bootloaders too. They are just another piece of software, and like pretty much all software that exists, they have bugs that can be exploited.
Related: * https://github.com/ucsb-seclab/BootStomp * https://postmarketos.org/blog/2018/04/14/lowlevel/#open-bootloader-for-mt6735p
> Like with all Linux distros, the effort is dispersed, and everyone is doing their own thing instead of gathering a master folder full of firmware for all kinds of hardware
Please actually read the full blog post, especially this part. Libhybris is used by multiple distros to make their OS work on all kinds of Android hardware, and yes it's a shared effort. Besides, the goal of postmarketOS is to mainilne as many phones as possible, which means it can be used with any distro.
postmarketOS, "A real Linux distribution for your phone". Rather than using Android's drivers through a container like all other Linux phone distros do (Ubuntu Touch, SailfishOS, etc), we use nothing from Android and are working hard on porting as many phones to mainline Linux as we can.
I'll try my best writing a full guide to this, including on how to get Wi-Fi working on MSM devices. And this should be repeatable on other devices.
If you're interested in porting Linux distributions to mobile phones, join DanctNIX Discord server in order to get some help: https://discord.gg/AvtdRJ3
I'll recommend you to check out postmarketos.org, it is a Linux distribution for embedded devices, based on Alpine Linux.
> So, what alternatives do we have left?
Completely FOSS? postmarketOS or UBPorts.
If you care less about FOSS (which would be wrong ;), SailfishOS as well.
The PinePhone is selling so well and people are so ecstatic about it, I'm 100% sure Pine64 will release more powerful phones over the coming years.
And in the meantime you can try running mainline Linux on your existing Android phones with for example postmarketOS, yes we do ship Plasma Mobile for those devices as well.
Not true. Pine64 is making their PinePhone which comes with hardware killswitches as well. I own their devkit currently (I work on postmarketOS), and it already has the killswitches.
I'm shocked that no one here has mentioned postmarketOS yet! The Librem 5 is definitely cool, but I'm sure all of you have great phones right now stuck on Android or SailfishOS (which is great, but partially proprietary) and it would be a waste to throw them away.
So that's where postmarketOS comes in: aiming to give phones a life cycle of 10 years using existing standard Linux technologies. Based on Alpine Linux, we're porting as many phones as possible to mainline and don't use anything of the Android stack at all (unlike SailfishOS and Ubuntu Touch). We're also offering multiple interfaces to choose from, including Plasma Mobile and Hildon (remember from the N900?)!
We use Alpine Linux as a base for postmarketOS due to it's insanely small base image size (~5MB without the kernel iirc) and it's easy to understand build system. While working on postmarketOS, I've grown to love it more and more. I might move my server over to it soon.
Besides Android, there is postmarketOS (which I work on myself so I might be a bit biased), Plasma Mobile based on KDE Neon, Ubuntu Phone (from UBPorts), SailfishOS, LuneOS, etc.
> Now all i want is a full KDE phone running on linux
Over at postmarketOS we're hard at work at making that happen together with Plasma Mobile. And of course, also Purism with their Librem 5!
Awesome! Any chance you could port postmarketOS to it? Mainlining old devices is exactly what we're doing and we have an awesome Matrix channel full of people mainlining their devices
> It uses the same approach as other projects that bring the Linux ecosystem to Android mobile phones
Not every project like that uses that approach, postmarketOS doesn't ;)
We do actually support a few smartwatches. Fun fact: we already had Doom on them running. The [LG G Watch R](https://wiki.postmarketos.org/wiki/LG_G_Watch_R_(lg-lenok\)) for example.
I noticed nobody mentioned postmarketOS yet. If you don't know about it you should definitely check it out. It's in its beginings, but the tooling is good and the community is growing. It's just a matter of (a little bit more) time.
postmarketOS v21.06 SP3 is out with a new Sxmo release, OnePlus6/6T improvements (close-to-mainline, of course 😉) and more. The picture shows latest tweaks app with the new oled theme. Thanks to everybody who made this possible! 🙏
The problem is the age of the device. Over time the tools used to flash devices deprecate support for older devices, so you would have to get the flashing tool from that era. Also ROMs are dependent on having the driver and software support for that exact combination of hardware so you would also have to get a ROM from that time, so you would be lucky to get an AOSP (Android Open Source Project) ROM with support for your exact devices hardware. Add to that the chances being worse because you don't have a major manufacturer brand of device and long term support that you can find help from other users is usually unlikely.
Then you will run into the problem that at this point it would be a security nightmare.
There is a chance you might get a Linux ROM like PostMarketOS ( postmarketos.org ) but it is in such early states I would not hold out much hope.
If you still plan to do it I wish you luck.
Have a look at postmarketOS as well! We're officially collaborating with Pine64 to bring our OS to the PinePhone, and one of our devs is hard at work at making the same thing happen with the Librem 5 as well (no official collaboration there though).
Hmm. I'm a fan of Alpine Linux myself (since I started working on postmarketOS, and I don't really see why anyone would go more minimal than that. I'm happy it has users though!
Remember the 100 days post, where we showed Doom running on the LG G Watch R? I've just recently realized that there's /r/itrunsdoom and shared the old blog post there today with a reference to the new one. Just noting this down here so it's easy to find the thread later.
Plasma Mobile runs on way more devices actually. Either through postmarketOS (with for now shitty performance for most devices), or through Halium. I do agree that the website should show more of those devices though.
We'd love to see your phone ported to our postmarketOS as well! We also have a fairly extended guide on mainlining your device (which you should probably do before porting Freedreno) here and some people in our communication channels who can help you out.
And yes, we do have MATE packaged as well, although I personally don't really see why anyone would want it on a phone ;)
Why not? Seems like a fun project to me, and if I had such a device I wouldn't want to throw it away for sure.
Just in case you're thinking: "Why waste development time with this, when we could be working on important features such as phone calls", see "Why We Evolve in Many Directions" from the last blog post.
Depending on the device, expensive, missing apps (only "officially support devices" support running Android apps), having a more proprietary system than before, etc. The UI is cool though.
Seriously, I bought a Jolla phone early on and although I still love the system itself, I hate their stance on open-source ("we're going to open-source everything, we promise", but a few years later nothing has happened). Now they even start asking money to put SailfishOS on the Xperia X. What if you don't want or need their 1 year support? You still have to pay.
Instead you should look into supporting the Librem 5 and postmarketOS. I have no idea why some people are still excited for SailfishOS and Jolla.
> It’s too bad there aren’t more mobile devices compatible with Plasma Mobile/actual Linux distros.
We're fixing that over at postmarketOS! I'm personally packaging Plasma Mobile, which is almost at a point we can actually run it on some devices!
> providing a curated experience to customers
Preventing Torrent clients, freely licensed apps like VLC, browser extensions, they decide what a user should/shouldn't do. Recommending Apple goods to people is a vendor-lock and hinder freedom.
> Android
Android is going the same route now. They're trying to prevent non-play store apps from being installed now.
The good, ethical way would be devices where users have the freedom to do what they want to do. postmarketOS. We have it better on computers, but sadly missed the freedom on phone-space.
Do you think there are only closed sourced OSes out there ? Have a look at PostmarketOS, Purism and Replicant. I would switch to one of them.
This post means a massive success for us, /u/PureTryOut did amazing work here! \o/
However, to someone not as familiar with pmOS as we are, they might not see the massive work that went into it from that screenshot. I would wait until it is a bit more polished until we post it elsewhere, and announce it together with a blog post about it on <https://postmarketos.org> and /r/linux.
You should! We use it (Alpine Linux) as a base for postmarketOS and I've grown to love it. As soon as we get Plasma Desktop in it's repos, I'm probably switching my laptop to it.
You might realize that the post is from September. We missed out posting it in this awesome subreddit, but now that we also have a new blog post out (which doesn't mention Doom, but check it out if you're interested in the project) it was enough of an excuse to dig out the previous one again and share it here!
Hi /u/tigerinus,
this looks like fallout from the recent postmarketos-mkinitramfs rewrite in postmarketOS edge (there's also a stable branch of postmarketOS where this has not yet been rolled out, but since hammerhead is in the testing device category, it's not part of stable).
Please make a bug report here: https://gitlab.com/postmarketOS/pmaports/-/issues
More information: https://postmarketos.org/edge/2021/09/03/new-mkinitfs/
Yeah.
The issue is that each device manufacturer modifies the Linux kernel manually, so every single android is running a different version of Linux, instead of merging device drivers into a single kernel (or just using the baseline and having proprietary drivers). So since no company wants to maintain their device, the devices stop being supported because the custom Linux versions stop being supported.
But if they merged their work with upstream, then they would be able to stop giving a fuck but each device would still support new versions.
>About postmarketOS
>
>We are sick of not receiving updates shortly after buying new phones. Sick of the walled gardens deeply integrated into Android and iOS. That's why we are developing a sustainable, privacy and security focused free software mobile OS that is modeled after traditional Linux distributions. With privilege separation in mind. Let's keep our devices useful and safe until they physically break!
Yes. postmarketOS, a distrobution for running Linux systems on smartphones uses Alpine Linux as a base because it is tiny. Check out r/postmarketOS. Porting a device is extremely fun and the documentation is great.
if you have the source code of the kernel, you can try port https://postmarketos.org/.
Anyways, did you tried to install Google services and play store via adb? it usually works with any device.
postmarketOS is using builds.sr.ht to build their system, and they've built some additional automation tools on top of it. It's pretty extensible, the core design is simple and it has an API for extending it further. It also uses KVM and can run your builds in your distro's native environment. It should scale very well to a huge number of builds, and/or a large number of builders. It has tools for helping you group builds into categories and search through them efficiently.
I'm the founder of sourcehut, if you want some help evaluating it please let me know.
The point is that hopefully those phones will come with the Librem 5, Pinephone, and postmarketOS. It'd be nice if Plasma Mobile on those had an “app store” like application.
postmarketOS is a thing. It does require a little bit of technical knowledge, so if you've rooted an Android phone that can be rooted (i.e. existing ROMs) using instructions from XDA Devs, I think you should be good with it. The OS is in infancy though and not everything can be guaranteed to work most likely because of firmware-related issues. Android is based on the Linux kernel but uses most things from Google.
Hmm pretty cool. I want to package libretro/RetroArch somewhere this summer for postmarketOS, but I have yet to find any good touchscreen controls/frontend for it. This might do, at least for the GNOME/GTK folks. Would love a Qt one as well for Plasma Mobile though ;)
Currently I use a SailfishOS phone, but I can't wait to get away from it due to it's proprietary core apps and UI. I backed the Librem 5 phone which I will use once it arives, and I'm helping postmarketOS becoming a usable phone OS to give some new life to all our old devices.
actually on certain devices you can have acceleration Qualcom Adreno 600 series and even mali but that depends on the kernel it needs to support dkms that means devices below armv8 64bit ot armv7 32bit won't see such kernels
https://source.android.com/devices/architecture/kernel/loadable-kernel-modules
for example on galaxy tabs7+ y have direct 3 d acceleration on proot but is unusable for video playback ant least not full screen ant that on a 6 core soc
if you trully depend on hardware acceleration postmarket os might be for you https://postmarketos.org/
Right now I think its only installable on few devices, and not all are fully supported.
https://leste.maemo.org/Category:Device
Doesn't look like any Samsung models are listed at all.
Alternatively you could see if your devices is supported by PostmarketOS?
If the smartphone is disconnected from any network, it should be fairly secure. I do recommend, however, to replace the firmware by https://postmarketos.org or similar.
Preinstalled firmware should never be trusted.
Every commercial standard requires mandatory access to law enforcement, and therefore, basically to anybody else too. This is also the case for firmware wallets. They will extract the seed upon simple request and hand it over to law enforcement.
There's also Postmarket OS (based on Alpine). It's probably the biggest active project of this kind. Runs on a couple hundred devices as of now I think. I recommend you check it out if your device is supported, although it probably won't replace android in full as of now it's still quite interesting to see.
>Finally, postmarketos, which seems to be the most well-developed os, states that it is ready for daily-driver use, but this seems to be far from correct.
They couldn't state that, because even on their website they say:
>Alpha version. Calls don't work on most phones yet.
Unfortunately Linux phone offerings are rather limited right now, thanks to major differences between phones as well as DRM. postmarketOS is a good option in general but Amazon Fire 7 is known not to work with postmarketOS.
If you want a Linux phone or tablet then the Nexus 5, OnePlus One, and Fairphone are good options. The new Librem 5 phone and PinePhone were built for Linux.
See the "introduction" link on the pmbootstrap README.
1) Instead of installing a bunch of junk on your system, everything you need to build + manipulate the phones is in one (chroot) directory. This means it works on any disto, and every developer isn't assembling a unique toolchain from random versions of upstream tools.
2) When you build something, it also lets you directly test it with QEMU ARM emulation. (QEMU lets you boot up an entire system in a VM, but it also lets you run an ARM binary against your existing x86 kernel, which is a quick way to test some things. I think pmbootstrap does this so you can chroot into a full ARM busybox "linux system" without waiting for it to boot. It's like running Alpine in Docker, but also with CPU emulation.)
> I was just wondering if creating a kernel that uses the initramfs to load programs could be done
Er, yes? That's exactly why initramfs exists. I'm not sure what you are asking.
Wenn du security updates wolltest wars halt die einzige wahl. Nokia/HMD mit android one geht jetzt, aber halt noch immer nicht so gut wie von papa google selbst.
PostmarketOS kann btw immer gelangweilte hacker brauchen denen das auch auf den sack geht.
You might want to look into PostmarketOS, a mainline Linux distribution being made to target and run on Android Devices.
The main stated goals of the project are to extend the viable usage of old phones that no longer receive updates, but if Planet Computers has made their drivers/firmware open, then you could probably follow the PostmarketOS porting guide and get it running on a Planet device without much issue.
> Should I post this somewhere on the github issue tracker instead?
Yes, the issue tracker is better for bug reports.
Regarding your issue, when you've tried telnet, have you enabled the debug-shell?
https://postmarketos.org/debug-shell
In case you did not, it would be helpful to know whether telnet works that way.
> I'm now able to ping the device despite the device status being DOWN.
Can you get it up?
ip link set usb0 up
(replace usb0
with the network device name on your PC)
Thanks for reporting! This should not take at most 5 minutes (we did not really measure it, but after 5 minutes it should definitely show something). Boot time can of course be improved in the future, no one looked into that either so far.
Steps to debug from here would be:
pmbootstrap init
as UI, then seeing the loading screen forever is expected)If you need further help, it would be best if you could open an issue (that's where we have all the bug reports).
I think you're just not managing your expectations correctly. What do you mean it's been "on life support for several lifetimes in the tech world"? It's not run by a company that needs to make money. People work on it because they want to and they work on the parts they want to work on. The definition of success that applies to a product developed by a business does not necessarily apply to volunteer projects.
I don't speak for the developers who work on it, but the Plasma Mobile project does not need to concern itself with developing support for hardware via drivers. There are other projects that do that already (Halium, postmarketOS, Purism for Librem 5) and I think the more the developers focus on just the Plasma Mobile shell and apps for it, the better.
I don't sorry, I only know a guy for the Qualcomms (and MediaTek if going for bootloader reverse engineering and stuff).
/u/Starks I recommend you join our (postmarketOS) Matrix room/IRC channel, as there is probably someone there who'd love to help you out!
> It's not like he wants money because he feels he deserves it, he wants money so that he can work on this project full-time and still eat.
Exactly, thanks for writing this post!
I did take away some lessons from what /u/amountofcatamounts said though:
I've been working on packaging Plasma Mobile recently for the postmarketOS project, which means I'm getting some experience working with Alpine now. It definitely is an awesome distro. APK is indeed really fast, most packages build fine on musl, and of course it has the lovely OpenRC.
I'm content with Gentoo, and Alpine is missing some packages I expect from a desktop distro still, but it's definitely high up my list now!
As the download page on our website says:
> Edge is recommended for development (latest features, occasional breakage).
Yes, it is "risky". You can use it perfectly fine but you have to be prepared for occasional breakage which you might have to fix or workaround yourself. We'll of course never try to break edge and we'll fix it when it happens, but we can't guarantee the same stability as on stable.
> Open-sourcing the hardware information is tricky, because Qualcomm requires NDA's to get acces to their datasheets. Manufacturers such as Apple, Google and Samsum use custom silicon. You would need special tools to program the chips.
This is bit I am proposing a law should change. I'm not saying all the hardware itself needs to be 100% open sourced, but rather enough documentation is given publicly that users who wish to can develop alternative software to run on these devices. This is already happening without this assistance, but would be greatly aided by it.
Flashing a new rom should not be hard, and while there is a risk of bricking it, currently that is low and could probably be almost eliminated once more work is done on how these systems work. Sure it isn't for everyone, but plenty of people have older phones that would benefit from a slimmer OS than Android to extend the longevity of the devices.
I agree device manufacturers should publicly state and commit to a length of support up-front; but what would make me more comfortable would be knowing that I am not dependent on the words of their marketing team. I would rather know that I actually own the device, and can do what I want with it once I have purchased it, rather than hoping the manufacturer will keep their word, and do so to the meaning rather than to the letter.
These links are for "edge" though, while the blog post is about the stable release. Find download links for stable here, linked on the right for each device name:
This page also explains the difference between edge and stable.
With that being said, I'm curious, are the download links not obvious enough? Serious question, and if that's the case, suggestions welcome to make it more obvious or I'll think of something :)
We made it just before the end of the year! The new v21.12 release is ... released... This release contains 8 more devices, bringing our total number supported in stable releases up to 23!
This also brings the great TTYescape feature to stable where it's possible to drop into a shell with a few taps of the volume button.
(In terms of Android, that's the platform I know the best)
This is literally the best case scenario in terms of widespread devices. (Bootloader unlocking is mostly officially allowed, and on some models you will still keep your warranty). How about Apple stuff? Amazon's spin on Android? My smart light bulb? The rest of so-called IoT stuff?
Depends on how technical you are. If you just want to use it as a phone, nothing needs to be done. If you want to get involved in a more technical solution, you could try getting involved in the postmarketOS project:
I'm using pmOS, but it should work on any distro. There should be multiple emacs packages, if you can't get a gui then try installing another one. I am using emacs-x11
. In packages.el
add the following and then doom sync:
(package! nlinum-hl) (package! rustic) (package! lsp-mode) (package! grab-and-drag)
For config.el
:
;;disable header forced-indent (with-eval-after-load 'org (setq org-startup-indented nil)) ;;disable line num (native emacs) (setq display-line-numbers-type nil) ;;start nlinum (global-linum-mode t) ;;display images on startup (setq org-startup-with-inline-images t) ;;babel stuff (org-babel-do-load-languages 'org-babel-load-languages '((calc . t) (C . t) (python . t) (rust . t))) (use-package rustic) ;;scrolling (require 'grab-and-drag) (grab-and-drag-mode 1) (setq grab-and-drag-pointer-shape nil)
Still not done with the configuration, I'd like to minimize all unnecessary margins and maybe tweak the font to be more compact.
Wydaje mi się, że Nokia N900 z postmarketOS by była dobrym wyborem do takiego eksperymentu. PostmarketOS to dystrybucja Linuxa robiona głównie pod stare (ale też i nowsze) telefony i tablety, zatem powinna się tu dobrze sprawować. Próbowałem nawet kiedyś sam ją budować na swój stary telefon, ale niewiele z tego wyszło.
>GNU/Linux on smartphones, I'd much rather have something like PostmarketOS to keep things lightweight.
you posted something pretty contradictory.... PostmarketOS devs uses GNU components and support Linux initiatives........
You could try porting postmarketOS to it, seems like the ideal distro for it to me. Don't count on it being useful as an actual TV box though if it's not going to be mainlined.
2 - Can we really rely on AOSP code ? I would prefer a smartphone with Linux. https://postmarketos.org, based on the secure Alpine Linux, is interesting because developers try embed into it drivers for all smartphones. Could you try a version of /e/ based on postmarketOS in the future ?
postmarketOS is a Linux distro and it supports a lot of devices, but only a couple Apple ones. https://postmarketos.org
There is a wiki page with a list of devices and the wiki also has installation instructions. This is not daily driver yet for most devices. https://wiki.postmarketos.org
u/puretryout
Got a bit further by using:
>pmbootstrap aportgen binutils-aarch64 gcc-aarch64
Then pmbootstrap install --sdcard /dev/sda
The new pmbootstrap log no longer shows error 127, and instead shows this:
The gitlab shows issues with compilation, but it looks like that was way back in 2017. Surely that dependency must be somewhere.
Any tips?
Oh my mistake a whole 3....
What about 10? https://postmarketOS.org
Seriously the OnePlus 6 is a very capable device, if it had a replaceable battery then the average consumer would easily be able to use it for a lot longer than 3 years
With android phones it is very difficult to change the os due to the diverse hardware and whatnot. You might want to checkout xda developer forums for most of what you need. The only arm distro that might work would be postmarket os, there are a few others but this will be your best bet.
Shoutout to
PostmarketOS (Mobile linux for used phones)
Pinephone (Open source phone)
Librem 5 (Nerd phone with integrated supply chain)
Apple is a major destructive force in central Africa.
Yes, ALL technology uses this stuff and it's bad. Apple is often singled out for three reasons:
they're a luxury brand with a high margin and therefore their supply-chain equity is more unbalanced than other OEM's
their market share and ridiculous wealth makes them an outsized market force. Where Apple goes, entire countries follow (or collapse).
More than ANY other company, Apple drives the "buy a new one" mentality with an unnecessarily wasteful and aggressive replacement cycle, AND they build in a three-to-five year death clock into their products. I'm writing to you on a twelve-year-old PC that I rescued from a neighbor's trash, but Apple products quit getting new OS updates after five years, and are functionally obsolete by seven. They've been caught slowing down and destroying older equipment through OS throttling.
TL;DR: in an industry that is excessively extractive, wasteful, and resource-hungry, Apple is one of the least "green" among a very bad bunch.
If you want to imagine what it looks like to live in a world of repairable, sustainable tech, you'd be looking at something like the volunteer-driven PostmarketOS Community, which starts from first principles: privacy, value, and longevity -- and builds with the goal of a serviceable, patchable, 10-year OS for phones.
Imagine a cellphone that ran a fast, modern OS and gets RECENT updates and security patches! Imagine being a dev who doesn't have to completely recode their app for Android 4.1 and then again for 6.0, and again for 7, 8, etc. Imagine being a consumer who doesn't actually HAVE to replace a phone unless it actually breaks... We live in a world of discarded, perfectly-working phones that Microsoft, Google, and Apple have turned into trash, without asking us.
I'm also running into this issue on Ubuntu 20.04.
Edit:
I think the "warning: file not found" is probably the culprit.
Edit 2:
On further digging, I think it has to do with this:
https://postmarketos.org/blog/2020/07/21/breaking-update-in-edge/
Unfortunately it looks like we just have to wait for them to catch-up.
i'm currently excited about postmarketos. admittedly i've been excited by linux-on-the-phone projects before and they ultimately went nowhere, but since pinephone is actually shipping devices with postmarketos installed i'm optimistic.
There are some core features that makes them great. Some are listed here.
​
This was the error message given. Troubleshooting does not seem to specify for this problem.
[13:11:46] *** (1/5) PREPARE NATIVE CHROOT ***
[13:11:46] Update package index for x86_64 (4 file(s))
[13:11:49] (native) install alpine-base
[13:11:54] NOTE: Valid pkgvers are described here:
[13:11:54] <https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver>
[13:11:54] ERROR: Invalid pkgver '3.x.x' in APKBUILD: /home/jenkem_chic/.local/var/pmbootstrap/cache_git/pmaports/device/testing/linux-pine64-tab.station/APKBUILD
[13:11:54] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
The 'community edition' will be released soon but is still in Beta and not suitable for the average user for daily use according to the developers of PostMarketOS.
https://postmarketos.org/blog/2020/06/15/pinephone-postmarketos-community-edition/
I'm not the average user, it is almost my birthday, so I might give it a try, since I can afford not to be available by phone.
> For most phones there is no chance that you can install a GNU/Linux OS
Well, maybe not a GNU/Linux distribution, but a regular Linux distribution is most certainly possible. For example at postmarketOS we boot up to 200 devices already, the majority of which are regular Android phones.
There is PostMarketOS.
But unless you have something lika a Nexus 5 or a Nokia N900, it will probably be very hard to get it running on you phone. This project is still in very early aplha.
Here is a list of devices tested: https://wiki.postmarketos.org/wiki/Devices
Maybe you are lucky that you device is there,
You did not mention what version of Yoga Tab you have, but if it is a version 3, you can install offical LineageOS on it.
LineageOS is still just android, but without the google stuff.
An iPhone port of postmarketOS was recently in the news, and it looks like exactly what you want - a package-based system with modular upgrades.
I agree that ZIP is an ugly tool for OS management.
"Alpha version. Calls don't work on most phones yet."
If you are interested in running Linux on a smartphone, you can check postmarketos. It's bootable on many phones and it's a fully functional Linux distro (as long as you can compile software for your CPU architecture).
But unfortunately, in most cases, this solution can't be a replacement for regular smartphones with android if you want to have all modern features. However, there are a few phones (e.g. Nexus5, Nokia N900, PinePhone), which have quite well support for calling, SMS, Wi-Fi, etc.
There are several other OS worth trying out:
- Ubuntu Touch
- Sailfish OS
- Pure OS
- Plasma Mobile
- Lineage OS (more like an android-based ROM)
and they have quite different approaches to this subject.
I very like this idea and I think you can also try it out.
Ok so I have few questions/suggestions?
Why didn't you go with one of these three? - https://postmarketos.org/ - https://termux.com/ - https://github.com/CypherpunkArmory/UserLAnd
Credits to u/necessarily-equal
postmarketOS is an experimental, touch-optimized and pre-configured Alpine Linux that can be installed on smartphones and other devices.
I wonder how much lightweight can a distro with KDE get. IMO Alpine Linux + KDE should be the lightest!
>The base installation [of Alpine] is about 5 MB!
https://postmarketos.org/faq.html#why-is-postmarketos-based-on-alpine-linux
I wonder how much lightweight can a distro with KDE get. IMO Alpine Linux + KDE should be the lightest!
postmarketOS chose Alpine Linux as their base for this exact reason!
​
>Why is postmarketOS based on Alpine Linux?
The biggest upside is, that Alpine is small. The base installation is about 5 MB! Only because of that, our development/installation tool pmbootstrap
is able to abstract everything in chroots and therefore keep the development environment the same, no matter which Linux distribution your host runs on.
And if you messed up (or we have a bug), you can simply run pmbootstrap zap
and the chroot will be set up again in seconds. Imagine how long it would take to do the same with Debian (which is a fine distributions for plenty of other use cases).
Another angle on the tininess of Alpine - many older devices don't have much space to spare, so hilariously tiny system images can be quite useful or even required.
It doesn't look like it, based on the donate page on the wiki. You can check the contributing page or the blog post How Can You Help?, but mostly they entail software development work.
Unless you personally know a pmOS developer who accepts donations, I couldn't find any means to contribute in this manner. Maybe make some t-shirts for you and your geekier friends?
Just like Linux on x86, all you need on your phone then checkout PostmarketOS, you can play with stuff like flatpaks and appimages which are essentially proprietary ZFS-based appliances.
Merci pour ta réponse !
Alors j'ai bien essayé d'activer le SSP sur le N900, mais ça me demande toujours un PIN. À vrai dire, c'est même par défaut.
Dans ce cas, je dois appuyer sur valider sur le N900 et mon objectif c'est que ça se passe comme pour une enceinte Bluetooth qu'on trouve sur le marché.
Eh oui, j'utilise bien bluetoothctl
sur Archlinux. J'ai presque envie de croire qu'il m'est plus sage d'attendre une version plus stable de PostmarketOS ou de Maemo Leste pour le N900…
Yes:
Feel free to ask in the IRC/matrix chat if you get stuck anywhere: https://postmarketos.org/chat
> The rest are just separate projects altogether, rather than versions of an existing Linux distro.
Not true, there is also postmarketOS which is a mobile version of Alpine Linux.
So now I reinstalled pmbootstrap and retried the building. It still fails at 2/5, but has a different error message.
[13:55:44] *** (2/5) CREATE DEVICE ROOTFS ("oneplus-bacon") *** [13:55:49] ERROR: Could not find dependency 'so:libkworkspace5.so.5' in any aports folder or APKINDEX. See: <https://postmarketos.org/depends>
The wiki says, I should look for the package in the pmbootstrap folder with $ find aports -name "hello-world"
, but that is where I am stuck at the moment. The library is needed by qt5-qtx11extras
, as the log later says. Do you know what to do now...?
Yes, but not all devices will work.
Check out PostmarketOS or Arch for mobile devices
Closest thing to open source currently.
There's the Librem 5, and there are some devices that have Postmarket OS on them.
Would have to be a massive cuck to use iShits.
I have just managed to get X.org running on this phone! Took quite some try, but managed to do it!
If anyone is interested in a actual Linux distro for handheld devices, you people should check out postmarketOS!
Or if you're just looking to port mainstream distros, I'll be on my Discord server.
​
​
Als Entwickler kann man sich an Projekten wie postmarketos beteiligen, damit man irgendwann doch noch was mit den alten Sachen anfangen kann. Trotz Fortschritte ein leider recht ausichtsloses Unterfangen. Kannst ja mal bei deinen nächsten Hackerspace anfragen, ob die was damit basteln wollen
Honestly what I really like about postmodernOS is their take on firmware. Agreed on the importance of free mobile devices, the current ecosystem duopoly is simply attrocious.
Best solution for now (IMO) would be something like a working postmarketOS and spiked firmware to remove unwanted functionality. They discuss it on their site somewhere, but it understanding "firmware injections" is a bit above my paygrade
Virtually any. PureOS is just an Debian testing fork with Gnome and a few graphical and ease of use packages (gnome as the default DE, Plasma mobile is a popular alternative.) pre-installed and configured. You could literally install ANY GNU/Linux distro that builds to the architecture of the librem5 (Arch, Debian, Alpine, CentOS maybe, probably lots and lots of others). Honestly you'll likely be able to install NetBSD/OpenBSD/FreeBSD either right away or very soon.
Obviously if you pick an OS + Desktop Environment that isn't specifically configured to render and support touch well on a mobile screen you'll have some work to do, but there's actually already several other distros specifically designed for mobile. PostmarketOS and UBPorts are the big two, but I'm sure more will pop-up this year.
Well, several options exist. As for actual hardware, either the Necunos NC_1 (expensive though, and can't make calls due to lacking a modem), the upcoming PinePhone from Pine64 or the Librem 5 from Purism.
As for software, there is postmarketOS (I work on this), KDE Neon, Maemo Leste, WebOS, Ubuntu Touch (from UBPorts) and PureOS for the Librem 5.
Void is a fine distro.
Alpine is smaller though, as it uses busybox in its base system, and Alpine has stable releases while Void is rolling release only. So all in all, Alpine fits our purpose better.