I've got a weird situation where if I have my SDXC 64GB Micro SD card inserted when I press the power button, it won't turn on. if I leave it in the slot, but not inserted, power it on, then insert the card all goes well. I can mount and use the card no problem. I was able to power on the phone before with it inserted, but no luck anymore.
my SDHC 16GB Micro SD card works perfectly fine. I don't have another SDXC card to test. does anyone else have this issue? any tips to resolve it? I've deleted the partitions on it and created a fresh Ext4 partition with some data on it. it seems to read from it fine once it's booted up (it happily imported my music library).
07-24-2020, 12:51 AM
(This post was last modified: 07-24-2020, 01:06 AM by fernando_c_m.)
It seems the boot sector of your card hasn't been deleted.
I would try:
Back up your sd card contents, then make sure you select the right device on the of parameter as this will delete the MBR and the selected device won't be able to boot anymore.
dd if=/dev/zero of=/dev/yoursdcard bs=446 count=1
The contents of your sd card shouldn't be deleted, but better safe than sorry.
unfortunately that didn't fix anything. pressing and holding the power button still does nothing with the card inserted
Did you write an image on the card, after it was working normally, and afterwards deleted the partitions on it and formated it to ext4
I had used the card for the Jumpdrive image which worked perfectly, then I deleted the partitions and created a new Ext4 storage partition to use in the phone for music/photos.
That was my guess.
The MBR is still on the card. You have to delete it. The pinephone will look for it, find it, and try to boot from a partition which is not there.
If dd didn't do the trick for you, you should wipe the whole card. There should be some other software out there which could do that.
I'm not sure how it's possible for an MBR to exist without a partition, but I'm dd if=/dev/zero on the entire card right now to make sure.
I'm having a similar issue.
When I insert an SD card with jumpdrive0.6 on it and try to power up, nothing happens. Sometimes the rear camera LED flashes once, but nothing else. I've tried with two SD cards, a 128MB and a 64GB.
If I "dd if=/dev/zero of=/dev/mmcblk0" then the device powers up fine. I can also see the SD card in lsblk. "dd if=/dev/zero of=/dev/yoursdcard bs=446 count=1" did nothing.
If I insert the jumpdrive0.6 SD into the slot after powering on, I can see the jumpdrive partition as well.
I have the 3GB RAM PostMarketOS Community edition, all updates done. I have full-disk encryption enabled.
Any ideas?