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
  get a KVM switch from pinephone cybercommunist 0 61 06-29-2022, 02:14 AM
Last Post: cybercommunist
  Hosting a website on a PinePhone, etc. a-l 20 7,183 06-27-2022, 10:47 AM
Last Post: lokeshjoshi
  Activating a SIM on Pinephone jhasler 5 466 06-26-2022, 06:47 AM
Last Post: joe_w
  SELLING: Pinephone 3GB RAM 32GB ROM gerstavros 8 689 06-23-2022, 03:21 PM
Last Post: Aniell4
  Temporary fix for Modem Not Coming Back on in SXMO Postmarketos Pinephone kebab 1 160 06-16-2022, 08:40 AM
Last Post: robthebold
  SSH from Windows PC into PinePhone? Peter Gamma 21 890 06-11-2022, 02:55 PM
Last Post: Peter Gamma
  Can't get Mobian on PinePhone to recognise USB-C docking bar duncan_bayne 6 2,788 06-11-2022, 06:40 AM
Last Post: Peter Gamma
Lightbulb pinephone mobile dock jasmin763 2 265 06-06-2022, 09:06 AM
Last Post: 98cwitr
  Buiding apps for pinephone katesfb 9 3,900 06-03-2022, 07:29 AM
Last Post: presire
Heart What native PinePhone application would you like to see in the near future? kern707 95 38,337 06-01-2022, 08:37 AM
Last Post: SwordfishII

Forum Jump:


Users browsing this thread: 1 Guest(s)