Skip to content
aBER

This Q20 (SQC100-2, system 10.3.3.3216) is one I bought in my first or second year of high school and used as my main phone for over half a year.

In 2022 BlackBerry shut down its developer site and signing service, and the BB10 store had died even earlier. I could no longer install anything new. All that was left were a few old Android apps from back then that only barely helped (e-book readers and the like), plus the handful of useless preinstalled apps.

With AI’s help I can now write native and Android apps myself, which gives this old keyboard phone something new to do. Native apps need a BlackBerry signing certificate, though, and those are gone. That leaves one route: flash the ROM and take root.

The community approach is to take the official autoloader apart, patch it, and flash it back: add root, preinstall some tools, drop the setup wizard, done in one pass. This post is a record of how my flash went and why it failed a few times. The last section covers the Term49 terminal I reworked afterwards.

Before Starting the Flash

What you need to prepare: the 10.3.3.3216 MOD package for the Q20, the community-port bb10mt (I used the macOS ARM64 version), and the accompanying bb10mt.ini and loaders.dat.

The MOD package is split into two images:

Image Contents Size
.0.unsigned System (including root and preinstalled tools) About 2.5 GB
.1.signed Baseband About 54 MB

Both must be flashed, system first, then baseband.

Starting the Flash

After the flashing command starts, the tool must wait for the few-second BootROM window when the phone powers on and boots. Plugging in the cable too early will cause you to miss it.

Flashing also works on Windows: convert the package into an autoloader (system 2.6 GB and baseband as two EXE files), install the USB drivers that come with BlackBerry Link, and double-click them.

After connecting the phone to the computer, flash the system image in this order: run the command first → power off the phone → plug in the cable → enter the password.

Terminal window
./bb10mt_aarch64_darwin flash -r loaders \
-i ../Q30_Z30-Classic-Leap_10.3.3.3216-MOD.0.unsigned

Once the progress bar shows Making QCFM stream, a block count and a percentage, the write has started. Don’t unplug the cable or press anything while it runs; when it finishes, the tool restarts the phone on its own.

At the end, you might see a LIBUSB_ERROR_OTHER message. This is just the USB connection dropping because the phone restarted—it is not a failure.

After the system is flashed, flash the baseband, which takes one to three minutes.

If the setup wizard no longer appears on boot and the phone goes straight to the home screen, the flash was successful. You will see the preinstalled Term49 on the home screen, and a root indicator will appear in the notification bar.

If the wizard still shows up on boot, the flash didn’t take — go back and redo the previous steps.

Stuck on the Wi-Fi Page of the Setup Wizard

If you flash the original firmware or the package fails to flash properly, the phone will get stuck in the setup wizard, specifically on the Wi-Fi page: there is neither a “Next” nor a “Skip” button. This is because BlackBerry’s servers have been shut down, so the device cannot proceed without connecting to them.

The workaround: join a Wi-Fi network, walk through to the “Hotspot Login” page, then hold the BlackBerry logo and press the End call key. You land straight back on the home screen.

It’s the BlackBerry logo, not the BlackBerry key. I lost a good while on that, because I assumed it was the key.

This method only skips the wizard; the phone will still enter the wizard again after a restart.

Term49 Terminal Modifications

fastfetch ssh + herdr

Term49 is the terminal preinstalled in the flashing package. I first switched to Term49C (a fork of Term49 that adds keyboard shortcuts and touchpad support). It is a native application built with SDL 1.2 and QNX Screen. It can only receive keyboard events, cannot use the system’s Chinese input method, and can run only one session per window.

The rewritten Term49X still uses the same SDL 1.2 + QNX Screen foundation but adds several features to Term49C’s source code: multi-session tabs and a switcher, built-in Xiaohe Shuangpin and Quanpin input methods, scrollback search, and Nerd Font icons.

I also tried using the system input method. Its interface is proprietary, and the reverse-engineered version I attempted provided none of the necessary input method callbacks. In the end, I had to build my own input bar and embed an input method within the software.

The shell has traps of its own for Chinese. QNX ships no UTF-8 locale data, and the zsh 5.0.2 bundled with BerryCore was compiled without multibyte support, so typing Chinese after the prompt produced a row of tofu boxes. I cross-compiled zsh 5.9 and filled in the wcwidth/iswprint that QNX lacks; only then did typing and backspace behave.

Details are in the Term49X repo.

References