Wipe out eMMC before flashing new OS?
#15
(11-12-2021, 09:38 PM)susy1075 Wrote: Thank you for your advice, I tried flashing the sd card from a library computer and balena etcher kept giving me error messages such as “flash failed”.

Theoretically you should be able to use the same CLI commands (dd or bmaptool) to flash an SD card from the PinePhone itself as from a computer. So if you really want to try and your PinePhone is currently at least somewhat usable (i. e. it boots and stays on), you could do it from a terminal on the phone. If your OS runs okay, you could just launch the terminal application and do it from there. If it doesn't, you would need an external keyboard and log into a tty with Ctrl+Alt+F3 (or another F key, look up ttys if you want to know more about that). In either case you would of course need to have the image you want to flash on your phone. You could download it from within the terminal with wget ("wget [URL]"; you might have to install that first). If you use bmaptool, you don't need to download it manually first, you can just specifiy the URL in the bmaptool command. Be careful though that you specify the right device to flash to.

I wouldn't recommend doing it this way to someone completely new to Linux (besides I'm not even sure if it really works). But if you have the patience (to read up on the stuff you don't understand yet) and the need to do it that way ... Be aware though that this whole procedure would only work once with a fresh SD card. Once you have flashed an image to it successfully, the PinePhone will boot from the SD card (since it's before the eMMC in the boot order) and while running an OS from an SD card you should really not attempt to overwrite itself.
  Reply


Messages In This Thread
RE: Wipe out eMMC before flashing new OS? - by kqlnut - 11-13-2021, 02:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question PinephonePro can't Flashing to the eMMC ricardo 0 988 08-21-2022, 05:51 AM
Last Post: ricardo
  How to replace the home folder on eMMC ragreenburg 2 2,207 03-31-2022, 02:19 PM
Last Post: ragreenburg
  Problem Flashing the modem Firmware loreson 0 1,377 12-22-2021, 10:31 AM
Last Post: loreson
  Emmc drive gone? Flashing with Jump Drive muemmel 2 3,877 11-12-2020, 05:40 PM
Last Post: hiimtye
  Install OS directly to eMMC? tahayassen 11 17,727 10-10-2020, 03:56 PM
Last Post: electricprism
  USB Mass Storage is functional and makes EMMC installs very easy mestermagyar 1 4,397 03-15-2020, 03:43 AM
Last Post: mestermagyar

Forum Jump:


Users browsing this thread: 8 Guest(s)