Can I recover bricked device from Mask ROM mode?
#4
(01-31-2022, 03:15 AM)ojimek Wrote: You did nothing dumb to me, this is just perfectly normal and sane hacking around Smile

I didn't have the problems you encountered with wifi and updates (although indeed, camera does not work for me as well on pinephone pro), so I can't exclude the possibility of a hardware issue, but if you're trying to fix a broken install on the eMMC, you're almost there. I use pacman directly to perform my updates, though, so maybe I would have had the same issue using a GUI.

You did almost everything that you should : flashing an OS on a SD card and bypassing the eMMC to boot on the card (gladly, we can now do that, which allow to not brick the phone if we install a bogus uboot on the eMMC). Now the only thing you need to do is to flash an image on the eMMC.

For that, download a pinephone pro image on your temporary OS (beware not downloading a pinephone image, they're not the same!) and copy it to your eMMC.

To find the device name, use `lsblk`. The device will probably be `mmcblk1` or `mmcblk2`. The SD card you are currently using is the device with one partition mentioned as being mounted as root partition (a "/" in the column "mountpoint"), so the eMMC device is the other one.

Once you found the eMMC device, you can flash the image using `dd`, which copies a file at an other location:

    sudo dd if=</path/to/your/image/file> of=</path/to/your/device> bs=1M

`if` means "input file" (the image), `of` means "output file" (the device) and `bs` is the buffer size (how many bytes copied at a time ; the higher the faster, but the more ram used and the most prone to error - 1M is usually fast and safe).

Once done, the OS is installed on the eMMC, you can just reboot.

Note that if you mistakenly write on the device of the SD card instead of the eMMC, it's no biggie either : just flash again an OS on the SD card and start over.

Thanks for taking the time to reply. However, I cannot boot from the SD card either - I just get a blank screen and green LED.

I can see the device via $lsusb from my desktop PC, so I wondered what I could do given that seems to be my only access.

The need to tinker is too strong, so I tried the Manjaro-ARM-phosh-pinephonepro-beta21 image again...still nothing.

At least I can regularly connect to the PC - the reset button needs to be pressed for at least 5 seconds (I do 10) while plugging in USB cable - I used a wooden BBQ skewer which seems more reliable than smaller items.
  Reply


Messages In This Thread
RE: Can I recover bricked device from Mask ROM mode? - by Damage - 01-31-2022, 06:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Shutdown / Reboot PPP from TowBoot "Volume Up" USB Readable Drive Mode crocspot 2 1,343 11-19-2023, 09:08 AM
Last Post: DaForest
  PPP now used as main device. DaForest 3 1,912 11-18-2023, 07:21 AM
Last Post: crocspot
  PPP as daily device. DaForest 5 2,205 11-05-2023, 10:00 AM
Last Post: DaForest
  PPP as daily device Chief 5 4,289 04-23-2023, 09:53 PM
Last Post: dcc
  Need to re-write U-boot from Pinephone pro currently in mass rom mode wolverine1 6 3,897 11-20-2022, 05:58 AM
Last Post: wibble
  completely bricked? rmpek 7 5,640 03-04-2022, 02:45 AM
Last Post: fxc
  New Pinephone Pro won't boot, not even in recovery mode Kaiser958 21 16,532 03-02-2022, 04:40 AM
Last Post: bcnaz
  How to activate developer mode on PPP explorer tckosvic 2 2,589 02-14-2022, 10:30 AM
Last Post: tckosvic
  Phone bricked after update. Won't boot mando 5 4,700 02-13-2022, 02:33 AM
Last Post: bcnaz

Forum Jump:


Users browsing this thread: 2 Guest(s)