4 hours ago
Hi!
A couple weeks ago I was trying to write Tow-Boot to my Pinephone Pro's SPI Flash. It worked once, so I know that the SPI device is connected and functional. However, (unrelated to the Tow-Boot install) I messed up the Manjaro-Phosh installation I had previously installed on the Pinephone pro, so I reinstalled Manjaro-Phosh which removed Tow-Boot from the SPI flash. I tried to rewrite Tow-Boot in the same way as before, but it got stuck and I forced the Pinephone Pro to power-off. I then tried to write Tow-Boot again and I got the following error:
I booted the Pinephone Pro to the Manjaro-Phosh installation I put on it and I used fdisk -l and ls /dev/ but I did not find the SPI Flash nor any mtd or mtdblock devices.
I have reinstalled Manjaro to the Pinephone Pro through booting on an SD card and through connecting my Pinephone Pro to my computer as an external drive using the Tow-Boot installer booted on an SD card.
I have tried to write the Tow-Boot.spi.bin binary to the SPI through putting my phone in MaskRom mode and using the rkdeveloptool through the command line on my linux laptop.
I have tried to zero everything out with rkdeveloptool by writing zeros.
I booted the factory android image with the hardware test app on an SD card and the SPI Flash failed its test.
I tried all of these at least twice each and they have all returned no errors, but I still get the same error from the Tow-Boot installer and I still cannot find the SPI Flash device or any mtd or mtdblock devices.
Is there any way to revive the SPI device? Would it require wiring to it directly since nothing has been able to read it?
Thank you in advance!
I should note, that my Pinephone Pro boots to the internal emmc and to SD cards without a problem, so fixing the SPI is not vital to using my pinephone pro, but I don't like to loose available hardware and it would be nice to install Tow-Boot.
A couple weeks ago I was trying to write Tow-Boot to my Pinephone Pro's SPI Flash. It worked once, so I know that the SPI device is connected and functional. However, (unrelated to the Tow-Boot install) I messed up the Manjaro-Phosh installation I had previously installed on the Pinephone pro, so I reinstalled Manjaro-Phosh which removed Tow-Boot from the SPI flash. I tried to rewrite Tow-Boot in the same way as before, but it got stuck and I forced the Pinephone Pro to power-off. I then tried to write Tow-Boot again and I got the following error:
Code:
Checks failed... [ret = 4]
Nothing was done.
Details:
Error: /dev/mtdblock0 not found
$ dmesg | grep -i spi
---
[ 1.176820] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[ 1.184548] spi-nor: probe of spi0.0 failed with error -2
---I booted the Pinephone Pro to the Manjaro-Phosh installation I put on it and I used fdisk -l and ls /dev/ but I did not find the SPI Flash nor any mtd or mtdblock devices.
I have reinstalled Manjaro to the Pinephone Pro through booting on an SD card and through connecting my Pinephone Pro to my computer as an external drive using the Tow-Boot installer booted on an SD card.
I have tried to write the Tow-Boot.spi.bin binary to the SPI through putting my phone in MaskRom mode and using the rkdeveloptool through the command line on my linux laptop.
I have tried to zero everything out with rkdeveloptool by writing zeros.
I booted the factory android image with the hardware test app on an SD card and the SPI Flash failed its test.
I tried all of these at least twice each and they have all returned no errors, but I still get the same error from the Tow-Boot installer and I still cannot find the SPI Flash device or any mtd or mtdblock devices.
Is there any way to revive the SPI device? Would it require wiring to it directly since nothing has been able to read it?
Thank you in advance!
I should note, that my Pinephone Pro boots to the internal emmc and to SD cards without a problem, so fixing the SPI is not vital to using my pinephone pro, but I don't like to loose available hardware and it would be nice to install Tow-Boot.

