Securely erasing pinephone
#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


Messages In This Thread
Securely erasing pinephone - by Byte - 01-15-2022, 11:26 AM
RE: Securely erasing pinephone - by zetabeta - 01-15-2022, 01:24 PM
RE: Securely erasing pinephone - by Byte - 01-15-2022, 02:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone Pro Neural Processing Unit biketool 0 342 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 605 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 1,941 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 360 03-08-2025, 02:43 PM
Last Post: lupyuen
Star Selling my Pinephone Pro Explorer Edition zheyon 0 724 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 990 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 21,105 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 6,892 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 9,284 12-05-2024, 04:38 PM
Last Post: tllim
  Pinephone compatibility with Telstra, now that 3 G shutdown and 5 G available tracyanne 0 684 12-04-2024, 10:53 PM
Last Post: tracyanne

Forum Jump:


Users browsing this thread: 1 Guest(s)