@FranklyFlawless I am trying to install Crimson using the instructions you provided
I’m getting an error message
./scripts/librem5-flash-image --skip-download --dir ./
2024-04-06 15:02:39 INFO Looking for librem5r4 luks byzantium image
2024-04-06 15:02:51 ERROR No matching image found
I’ve done the previous steps. I’ve extracted the librem5r4.img file into the folder ‘librem5-flash-image’ and moved the ‘u-boot-librem5.imx’ file to the same location. I’m running the script from in the librem5-flash-image folder. What could I be missing?
Thanks, I hadn’t thought of trying the --debug. I tried again, and maybe something cleared up but it worked.
With the --debug though I noticed even though I used the --skip-download flag, it still tries to download? This seems counter-intuitive. But, a you mention @FranklyFlawless , if the API at Jenkins has issues at times, wouldn’t it be better if when the --skip-download flag is used, that it bypasses trying to go to the website?
I did use the --stable flag. not sure if that made a difference this time. Here is the command that worked for me this time:
./scripts/librem5-flash-image --skip-download --stable --dir ./ --debug
The script has online functionalities, so --skip-download does not stop it from attempting to query images via HTTPS anyways. --stable fetches Byzantium from storage.puri.sm by default, which is different from Jenkins. I assume your command worked because the script only checks for a valid URL to resolve to, then processes other arguments/flags after.
In addition to what @FranklyFlawless said … with byzantium there are two disk images - one with LUKS and one without. You choose with an argument to the script which you want and I believe it defaults to LUKS. However at this time Purism is not offering crimson with LUKS (as crimson has not been officially released yet).
If you are motivated and sophisticated … because it is just a disk image, you could retrofit LUKS to the crimson disk image after downloading and before flashing.
I was contemplating that, but it would be a stretch for my skills I think. More so, that I just don’t have much time with me day job.
I think also, this is a minor thing for Purism to add. I can see keeping filesystems unencrypted as it is being tested. Makes it easier to debug, etc. I had been thinking of using Crimson as a daily driver so that it would be easier to transition to the released version when that arrives. i’ve just had crimson for the day, but it works really well in my opinion. Suspend, resume from suspend, the modem works well, calls, texting, FF is really smooth, etc. I can see what Guido was saying in another thread, it really wouldn’t take much work to clean up the remaining pieces and get it out the door (the camera being the biggest issue still). I really feel like I can use crimson as a daily driver. My requirements are not high though. So, I am intrigued at Purism’s perspective on holding back or slowing down to release crimson given the other discussion threads on this topic.
For now, I can handle a few days of no LUKS to test it out as a daily driver. It’s really easy to flash back to byzantium of needed.
Easier transition in terms of functionality and behaviour, and the like - however the plain (unencrypted) disk image will likely mean that you will have to reflash when crimson is officially released with an encrypted variant if you do want the encrypted variant.
For me, for a portable device, it really should use the encrypted variant but, OK, for a few days of daily driver testing you can risk it.
Specifically you want the reencrypt --encrypt subcommand.
There are some limitations so it really is best to do it after downloading and before flashing i.e. you are doing it on the host computer / doing it to the downloaded disk image - and if the result doesn’t work then you haven’t lost any setup or configuration on the phone. Keep a copy of the original downloaded disk image in case things go pear-shaped.