My installation guide starting from messed up eMMC
My installation guide starting from a messed up eMMC with a non responsive screen and ending with Debian MATE (and Xfce). The serial cable part can be skipped I think because briefly disabling the eMMC ought to suffice but I'm writing it down anyway.

Have a serial cable so you can use another computer to interact to the PineBook Pro (PBP).

Remove the PBP bottom cover. Make sure you keep the tiny screws in a safe location because they can easily get lost. Make sure the tiny nearly invisible audio/serial lever is switched to serial. Also switch the eMMC using the eMMC lever. The boot loader sucks and will keep booting from the eMMC regardless whether it's broken or not because of the preset boot order. Leave the PBP open because it's pointless to already close it.

Connect the serial cable by plugging the USB part in the PC and the audio jack in the PBP.

Install "minicom" on the PC and fire it up with the following command:

minicom -s -D /dev/ttyUSB0 -b 1150000 --color=on

Insert the SD card with the Tow boot installation file so the SPI can be overwritten with something that works.

Start the PBP by pressing the button nearly 2 seconds. (Unlike common devices, my PBP requires a long start button press time.)

If everything goes well, on the PC you follow the instructions to overwrite the SPI so Tow boot is installed. Once installed you stop the PBP by pressing the start button for 5 seconds until it stops. Unplug the serial cable. Then start the PBP again and press escape to verify if Tow boot was properly installed. If everything went well and you pressed ESC several times, you should see the boot device selection screen. Stop the PBP again by pressing the start button for 5 seconds.

Now we need to burn the Debian live installation SD. (Information based on and I managed to install Bookworm but the PBP was highly unstable and never stayed up long than 15 minutes. Afterwards I was unable to reinstall it. Either way, better to install the more stable Bullseye by downloading the following 2 net installer files:

Generate an image file

zcat firmware-pinebook-pro-rk3399.img.gz partition.img.gz > debian-bullseye-installer.img

Burn it to the SD card but first make sure the correct device name is used. Be very careful as choosing the wrong one can render your complete OS partition inoperable.

/home/pbp# lsblk
sda                8:0    0 110.0G  0 disk 
├─sda1             8:1    0    10M  0 part  /boot
└─sda2             8:4    0 100.0G  0 part  /
sdb                8:0    0 119.2G  0 disk 
└─sdb1             8:1    0    3G  0 part

In this case the current OS is running on / on device sda and that partition we most definitely don't want to overwrite. In this case the partition name we want is sdb. If you're not sure, unplug the USB, run the command, plug it back in and run the command again. The USB should have disappeared and reappeared. So the burning command looks as follows:

dd if=debian-bullseye-installer.img of=/dev/sdb

Put the fresh microSD card in the PBP. Make sure the network cable is connected, disable the eMMC and start the PBP.

Once in the Tow boot screen re-enable the eMMC with the tiny lever. Now choose SD boot in the boot selection screen and if everything goes well the Debian installer is launched.

It's a text installer without mouse so the arrow keys, the enter and tab are the most important keyboard buttons.

Language => English

Location => {choose your country}

Locale => {Choose one}

Keyboard => {choose your keyboard layout}

Mirror => {You country} > {first in the list I guess}

Choose a root password

Create the user for example pbp

Choose a password for this user

Repeat the password

Partitioning disks

Guided - use entire disk

  • this way the eMMC can be chosen because the installation installer might choose microSD to install to which will fail.
  • Choose MMC/SD card #3 (of 62,5 GB)

All files in one partition

An overview is given. Make sure the / and /boot are located on the eMMC partitions that were automatically created. The other partitions aren't touched. I left the swap space as is.

  • Finish partitioning and write changes to disk
  • Write the changes to disks? -> Yes

Go for a coffee brake because this part will take some time.

I always refuse to participate in the survey.

As desktop environment I select Xfce and MATE. Gnome and KDE are I think too heavy for this feather weight laptop. Also unselect the SSH server which could inadvertently serve as a remote backdoor. Standard system utilities should remain selected.

Once the installation is finished, restart the PBP.

Install some useful stuff

Logon as your user (pbp or whatever). In case you're using MATE, go to console by going to Applications > MATE terminal. Enter the following command to logon as root:

su -
(enter your password)
apt-get install aptitude
aptitude update

My sound at this point didn't work on Bullseye (even not from a Bookworm upgraded from Bullseye) so to fix this (kudos to download the following file.

Copy the file as root to


Now as root enter the following command

alsactl -f /etc/asound.state restore

This will display some unrelated error messages but should (hopefully) have fixed the sound.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora 37 installation gswatkins 16 7,270 03-16-2024, 03:09 PM
Last Post: michel_luc
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,660 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 657 12-07-2023, 03:11 PM
Last Post: wdt
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,186 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 3,877 04-01-2023, 03:22 PM
Last Post: TRS-80
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 4,480 04-01-2023, 02:58 PM
Last Post: TRS-80
  HOW TO create a installation USB with ... (see below) Ice-O-Star 1 1,407 01-06-2023, 01:02 PM
Last Post: DrYak
  newer ""emmc-installer" images (manjaro xfce) magistral 1 1,242 10-10-2022, 06:22 AM
Last Post: maxjrh
  6/22 run of PBPs - is reimaging eMMC with new OS possible still? elitegamercody 29 13,266 10-04-2022, 07:55 PM
Last Post: wdt
  Debian emmc installer db579 6 3,434 08-23-2022, 06:13 AM
Last Post: db579

Forum Jump:

Users browsing this thread: 1 Guest(s)