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
  pinephone virtual keyboard aular 4 297 04-10-2024, 03:45 PM
Last Post: aular
  PinePhone Doesn't Boot LED Doesn't Show Any Signs When Charging dorkydev 1 198 04-02-2024, 11:50 AM
Last Post: Kevin Kofler
  PinePhone - boot from microSD laserpyramid 5 469 03-06-2024, 06:37 PM
Last Post: aular
  Are you using the Pinephone as your daily driver? jro 157 107,922 02-18-2024, 11:33 PM
Last Post: aular
  2020 PinePhone Manjaro CE EU for sale, name your price astrojuanlu 7 1,713 02-14-2024, 04:51 PM
Last Post: astrojuanlu
  pinephone is not bootble for the box. ijij 1 571 01-19-2024, 01:29 PM
Last Post: fxc
  Multiple issues with the Pinephone MTXP 12 2,253 12-28-2023, 07:55 AM
Last Post: MTXP
  pinephone repair shop shengchieh 0 471 12-26-2023, 02:42 PM
Last Post: shengchieh
  sudo nano file saving pinephone beta edition CharlesGnarley 4 1,630 12-22-2023, 03:44 PM
Last Post: Kevin Kofler
  Can't get Mobian on PinePhone to recognise USB-C docking bar duncan_bayne 9 6,835 12-04-2023, 02:14 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)