05-26-2022, 05:30 AM
(05-24-2022, 02:53 PM)erg Wrote:(05-24-2022, 01:54 PM)fxc Wrote:(05-24-2022, 07:15 AM)erg Wrote: I broke stuff.
Booted from JumpDrive, saw what looked like two partitions (I guess they're actually separate emmc drives?) exposed (apart from the SD card), in frenzy formatted the first one to vfat, flashed system to the second partition with dd.
Pinephone doesn't start. I guess the first partition is a boot partition and I broke it. I can't find files that should go onto the first partition in order to fix it.
What should I do?
Jumpdrive exposes the eMMC and the microSD card directly, which is probably what you saw in the "lsblk" output. Please don't format the drives manually, as that doesn't make sense and will just cause you issues: formatting a drive does not remove U-Boot from the partition so the phone will still load U-Boot and don't find a valid system (= the phone's screen stays black). I guess that is also where your other issues also originate from. When flashing an image it will contain everything you need, including the whole partition structure. Make sure you're flashing the partition to the whole disk, not to partition 1. The whole disk will typically be called ""sda", "sdb" or "sdc", not "sda1". The "1" next to "sda" means it is the first partition.
I did try that at first, flashing to /dev/sdc, only it failed with: No space left on the device. That's when I tried other options.
Was the issue solved or is there still an issue writing to the eMMC? If the latter I would suggest you to post the full "lsblk" output here.