Does anyone have an actual use-case for the "pmbootstrap apkindex_parse" subcommand? Asking because apparently it was broken for over a year and no one seemed to complain 😅
Does anyone have an actual use-case for the "pmbootstrap apkindex_parse" subcommand? Asking because apparently it was broken for over a year and no one seemed to complain 😅
I just opened a merge request to #postmarketOS #pmbootstrap making some changes to the UX of the install subcommand, in particular prompting you about install disk issues much earlier and also informing about that without the --password argument you'll be prompted to manually enter it later.
Testing and feedback would be much appreciated, especially if you are using less common arguments to the install subcommand as the early mounting potentially could cause issues.
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2863
If you're interested in beginner-friendly tasks for contributing to #postmarketOS in #Python, #pmbootstrap has some clean-ups that need to be done—in particular, migrating the remaining commands from the legacy frontend.py to the new "commands" module.
See https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/commit/7df1ab11218dfbf4797dfb3ef896f3a060749549 for an example. Essentially, each command should have its own .py file and take a list of arguments instead of the whole "args" namespace.
Had a stab at making #postmarketOS #pmbootstrap able to automatically update the checksum of all packages with unstaged and uncomitted changes. Incredibly satisfying to not have to awkwardly script this or manually copy git output!
MR is up if you want to try it out yourself: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2807
How to add a custom UI option locally for pmbootstrap for that instance of pmbootstrap only?
@postmarketOS @[email protected] @linmob
Now you have a nice part.
Finalise by putting linux on the phone!!
https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_S2_/_Redmi_Y2_(xiaomi-ysl)#Installation
Enter fastboot mode in your phone, connect it to your Linux computer, and do these commands, starting with lk2nd is very important, then you must do this with this order:
pmbootstrap flasher flash_lk2nd
And then
pmbootstrap flasher flash_rootfs
I finally make
pmbootstrap shutdown
And the phone must boot pmOS and not crap from g**le
@postmarketOS @[email protected] @linmob @altbot
On the
https://wiki.postmarketos.org/wiki/Installation
page I choose 'Install with pmbootstrap' https://wiki.postmarketos.org/wiki/Installation/Using_pmbootstrap
To install #pmbootstrap on your computer, it depends on your #linux distribution.
https://www.geeksforgeeks.org/linux-unix/understanding-package-managers-and-systemctl/
There are graphical tools, like synaptic in mint.
Then, you can open a console, and follow
https://wiki.postmarketos.org/wiki/Installation/Using_pmbootstrap#Initializing_pmbootstrap
The images shows pmbootstrap init command with my answers:
two times nothing, the last time v25.06 to have better system stability
@postmarketOS @[email protected] @linmob @altbot
You'll need a computer with #linux
And install #pmbootstrap a system which generate a specialised postmarketOS version depending on the phone and your choices, and then flashes (puts linux in the phone when the phone is plugged to computer via usb cable).
Some people here explain better than me what is #flashing.
Long version is here :)
https://softhandtech.com/how-do-you-hand-flash-an-android-phone/
We'll flash with #postmarketOS tools.
Submitted a merge request today disabling the command timeout by default in #postmarketOS's #pmbootstrap. If you've ever had pmbootstrap die when linking some big binary for a foreign architecture or when flashing postmarketOS to a slow flash drive or SD card, this should no longer happen!
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2724
Is there any way to force #pmbootstrap to build the locally available packages from the local pmaports rather than using the latest available on the mirror ? I wanna build a postmarked OS base image completely based on my local pmaports without any downloaded APKs from the postmarket OS mirrors but only the base packages unmodified in alpine.