You realise that the µSD card goes in the SIM tray on the side? So you could never have used this as a mobile phone?? (OK, I admit that I have not used the Anti-Interdiction service, so I don’t know which things get covered in glitter polish.)
For this approach to work, you have to be able to boot the phone from the µSD card - so that you can then safely obliterate the contents of the internal eMMC drive. (By default, the phone boots from the internal eMMC drive.)
I strongly recommend not proceeding further until you can confidently answer the above question.
@librem5user1o1
A good way to find out is to make a file or something that isn’t there already while booting normally and then try to boot from the sd card and see if that change you made is there
wget https://arm01.puri.sm/job/Images/job/Image%20Build/lastSuccessfulBuild/artifact/librem5r4.img.xz
(grab latest crimson (?) from jenkins)
xz -d librem5r4.img.xz
(get just the image)
( md5sum gives c31d89e6d9ed767f30de15571ac2492b librem5r4.img )
dd if=./librem5r4.img of=/dev/sdm bs=8192 status=progress
( my devuan machine autopopulates it into sdm as i put the sd card into an audio recorder with a sd card slot to give filesystem access, this should write the image to the sd card )
sync
(to ensure write was complete)
unplug audio recorder / sd card
plug sd card into L5
press and hold vol-
press and hold power to boot L5
which got me into a new kind of lock screen! default password 123456
downloaded new image …opened in files, directed to reformat eMMC with it …shut down, removed sd card…restarted …and i think i have a newly flashed crimson L5! thanks for help y’all
When it gave me issues, I was able to do it with a removed battery, only inserting the battery once the USB was in (which only sometimes worked (it’s been a while since I flashed a Librem 5 though)).