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
  eSIM on PinePhone just_a_q 8 4,666 11-05-2024, 11:10 AM
Last Post: zetabeta
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 169 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,658 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 350 10-05-2024, 02:20 PM
Last Post: KC9UDX
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 11 5,757 07-28-2024, 03:42 PM
Last Post: dchang0
  How can I record video on a Pinephone? kk22 18 7,153 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 6,865 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 820 07-17-2024, 12:41 AM
Last Post: P. Siera
  PinePhone Boots but only Shows Black Screen with Backlight danyeaw 1 679 06-30-2024, 10:18 AM
Last Post: danyeaw
  Pinephone won't boot. spha 13 5,874 05-15-2024, 10:31 PM
Last Post: Richy_T

Forum Jump:


Users browsing this thread: 3 Guest(s)