Securely erasing pinephone
#1
Hi all,

I am looking to sell my pinephone and want to securely erase it first, what is the best way of doing this?

I am thinking:
  • Boot from another distro on an SD card
  • Run shred on all partitions on the eMMC
  • Reinstall OS using jump drive image

I think this would work fine but I am wondering
  • Is there a better way of doing this?
  • Is it ok to nuke the eMMC like this or is there firmware, bootloaders etc. on the eMMC that would brick the phone if removed?

Cheers
  Reply
#2
(01-15-2022, 11:26 AM)Byte Wrote: I think this would work fine but I am wondering
  • Is there a better way of doing this?
  • Is it ok to nuke the eMMC like this or is there firmware, bootloaders etc. on the eMMC that would brick the phone if removed?

Cheers
depends how you define brick. pinephone ordinary is easier because boot order is sdcard first then emmc. therefore you can nuke totally emmc and is recoverable. pp pro is more problematic because boot order is emmc and then sdcard, even with pp pro, if there is no bootoader on emmc then it's recoverable easily. some rare cases pp pro requires mainboard connectors to disable emmc (this forum has pic for it).

(01-15-2022, 11:26 AM)Byte Wrote: Hi all,

I am looking to sell my pinephone and want to securely erase it first, what is the best way of doing this?

I am thinking:
  • Boot from another distro on an SD card
  • Run shred on all partitions on the eMMC
  • Reinstall OS using jump drive image
shred sounds little bit overkill and might be bad for emmc and similar memories which has limited amount of writes. i think just writing zeros or random data once is enough, if you do it for whole disk then it erases partitions as well.

maybe afterwards you could write OS image for convenience.

Code:
## showing disks and partitions
# lsblk
# fdisk -l

## this will write random bytes into disk and destroy bootloader and boot sector
# dd if=/dev/urandom of=/dev/sdx bs=1M
  Reply
#3
Thank you very much, I will use the dd method you suggested
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't get Mobian on PinePhone to recognise USB-C docking bar duncan_bayne 9 5,687 12-04-2023, 02:14 AM
Last Post: Peter Gamma
  Are you using the Pinephone as your daily driver? jro 156 95,103 11-29-2023, 02:10 PM
Last Post: aular
  Pinephone not booting, always vibrating alexander12 7 3,842 11-22-2023, 06:46 PM
Last Post: Scary Guy
  Multiple issues with the Pinephone MTXP 11 608 11-17-2023, 07:09 AM
Last Post: MTXP
  Pinephone on Verizon chachi 3 455 10-09-2023, 11:26 AM
Last Post: alaraajavamma
  pinephone with lte-m chip and volte zetabeta 0 304 10-02-2023, 05:42 AM
Last Post: zetabeta
  The Pinephone pro does not turn on and installation of the OS Alexander27 1 351 09-25-2023, 02:34 PM
Last Post: Kevin Kofler
  new pinephone regular model with nano-sim slot zetabeta 0 344 09-24-2023, 12:25 AM
Last Post: zetabeta
Photo PinePhone. How to run Python/Tkinter app? Manieck71 3 664 08-24-2023, 09:13 AM
Last Post: Manieck71
  Pinephone won't boot. spha 12 1,583 08-20-2023, 02:44 AM
Last Post: spha

Forum Jump:


Users browsing this thread: 2 Guest(s)