mobile-nixos
Tow-Boot
mobile-nixos | Tow-Boot | |
---|---|---|
12 | 24 | |
718 | 481 | |
3.1% | 3.5% | |
8.8 | 8.3 | |
9 days ago | 13 days ago | |
C | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mobile-nixos
-
Support for Linux distributions added to customrombay.org
For now, only information about Ubuntu Touch support is available on our website. We plan to extend that to PostmarketOS and NixOS. But which devices does Ubuntu Touch support? For example those:
-
Nix-on-droid: Nix-enabled environment for your Android device (termux-based)
Github has more recent activity: https://github.com/NixOS/mobile-nixos
- Nix-Powered Development with OCaml
-
Towards a reproducible F-Droid
NixOS/mobile-nixos
-
Just discovered this project. Interesting! Couple basic questions
Any nixos users here? Anyone have any luck running mobile nixos?
-
Nixery – Docker images on the fly with Nix
samueldr has been doing a lot of work in that direction. See https://mobile.nixos.org/
-
Today I learned that you can run nixos on a mobile phone
With the code from https://github.com/NixOS/mobile-nixos/pull/445, build the demo example with nix-build --argstr device pine64-pinephonepro -A outputs.temp-tow-boot-install-script examples/demo/; of course instead of example/demo you can have your own configuration, but I started with demo
- Wir schreiben für das c't-Magazin über Linux - fragt uns alles! [Beginn um 17 Uhr]
-
Mobile NixOS for Phones and Tablets
https://github.com/NixOS/mobile-nixos/pull/361
Though you might want to ask around for your particular use case. While basic support (it boots) is right around the corner, it's probably not yet at a point where it'll be nice to use.
-
How does pmOS make those .zip files that you can flash in TWRP?
As for what I did with those zip files? I made the equivalent for another Linux on Android devices distro. The implementation probably won't suit your tastes, but it's something else to look at to figure out what can be done.
Tow-Boot
-
Building an ARM64 home server the hard way
For the Pine family of SBCs I highly recommend installing Tow-Boot - https://tow-boot.org/ - on the SPI flash memory to allow yourself much better boot options, including booting directly from NVMe so you don't need to keep the MicroSD card plugged-in.
-
I fucked up with my Pinephone Pro (postmarket edition), do not boot anymore
TL:DR: Install Tow-boot first, then install in Mobian image.
- Can't get PinePhone to boot
- Another one of those "which distro runs better these days"
-
Not booting on Micro SD
I opened a ticket on Two-Boot because I wasn't sure Tow-Boot was actually installed, and every information on the internet assume you don't use Tow-Boot (and so, Micro SD is booted if present).
-
Back to Android (for the time being) - Sadly my PinePhone experiment has - after several months of running one as a daily driver - come to an end for now and I'm back on my Pixel 2.
Also the PinePhone and PinePhone Pro both can (and the PPP already does in postmarketOS) boot with UEFI nowadays. For that we use Tow-Boot currently but it could be any platform firmware really.
-
Unable to compile ATF to build Uboot
Also you should use Tow-boot which is more user-friendly than u-boot. you can download it here. Make sure you select the one for "pine64-pinephonePro" and not "pine64-pinephoneA64". You can find instructions for installing it here.
-
How does ARM support for Linux work? Why do they use custom kernels, OS instead of mainline and the typical distros?
U-boot is quite the nice project. Any opinion on tow-boot as a tool for it?
-
PINE64 has let its community down
This seems way overblown, from pretty much all perspectives.
1) Listening to community. People can suggest all kinds of conflicting things, and you just can't satisfy everyone. My experience is that many of my HW modification suggestions were listened to, even some I'd expect the Pine64 might have found a bit frivolous, like desire to have some GPIO exposed as easily accessible solderable pads on the Pinephone keyboard's PCB, so that I can mod the keyboard later on and add some buttons to the bottom side of it, etc. I got some help with aquiring of information about various chips, that I requested, etc. I didn't get everything I wanted. Life is hard I guess. OTOH, Pine64 probably did not listen to some other HW mod suggestions that I have participated in group thinking about in the chats.
I think those were the mods that would require more risky redesign, and would cause incompatibilities between Pinephone and the Pro, like sugestion to split DC-IN and USB-IN on the Original Pinephone PMIC to better support the keyboard, or suggestions to redesign battery charging circuitry in Pinebook Pro, so that drivers can limit input current to be able to follow the Type-C/PD specs more closly.
These are risky to follow from us randos on the internet. Even simple suggestions are risky to follow, even if they are correct! Take the addition of diode to prevent some issues with the pinephone keyboard's charging circuitry. The suggestion was followed, but mistakes were made in the long chain that engineering the change takes, and the diode was placed incorrectly and prevented charging the keyboard completely.
2) Bootloader/SPI thing. Yeah it's unpleasant for distros to have to include U-Boot as part of the distro image, especially when things are in flux and fixing bootloader is required for fixing things in general, too, and you have to track non-mainline patches, because Pro support can't be mainlined, yet.
So now there's Tow-Boot to come to the rescue as bit of a center of gravity for U-Boot development/support. Except that it's not really that maintained either with last patches added like 6 months ago https://github.com/Tow-Boot/Tow-Boot/tree/released/boards/pi... despite persistent issues with Pinephone Pro bootlooping, because bootloader allows boot when there's not enough energy in the battery. Some hack patches are available, but not included. Etc.
Also because things are in flux, allowing users to combine arbitrary U-Boot with arbitrary kernel version can lead to all kind of fun things, like hard to explain overheating of the phone, because kernel enabled cpuidle support, and U-Boot version in SPI lacks it and similar things.
3) Diversity/monoculture angle
Focing Tow-Boot can easily be construed as just another thing that Pine64 is forcing on users by default, too. Pinephone/pinephone pro has bootloader diversity, with alternative bootloaders being much better for users in several aspects (like not having charging or bootloop issues, or having multi-boot functionality or GUI) and maybe worse in others. So on one hand Drew is arguing that there's monoculture in distros, but wants to force monoculture in bootloader, barely maintained or developed one from Pine64 support perspective.
In the end, the most important thing is that there's not technical lockdown (secure boot not enabled). Pine64 has no say in what user can flash or not. Escaping the default bootloader is as easy as booting the preloaded Manjaro and erasing it from SPI and eMMC. The phone or pinebook will then boot whatever user wants to boot from SD card.
- I Left PINE64
What are some alternatives?
postmarketos-android-recovery-installer
Jumpdrive - Flash/Rescue SD Card image for PinePhone and PineTab. This is NOT a bootloader
debian - Installation and post-installation scripts for Debian.
sse2neon - A translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation
windows - Windows client for NextDNS
electron-discord-webapp - A Discord and SpaceBar :electron:-based client implemented without Discord API.
archwiki - MediaWiki used on Arch Linux websites (read-only mirror)
uefi-simple - UEFI development made easy
node - Node.js JavaScript runtime ✨🐢🚀✨
edk2 - EDK II
robotnix - Build Android (AOSP) using Nix [maintainer=@danielfullmer,@Atemu]
plasma-mobile - Manjaro Plasma-Mobile