SHIFT SHIFT6mq (shift-axolotl)
SHIFT SHIFT6mq (axolotl)
|Original software||Android 10.0|
|Chipset||Qualcomm SDM845 Snapdragon 845|
|CPU||Octa-core (4x 2.8 GHz Kryo 385 Gold & 4x 1.7 GHz Kryo 385 Silver)|
|Display||1080 x 2160 AMOLED|
|Storage||128 GB UFS 2.1|
Users owning this device
By holding various button combinations while booting the device can be made to boot into different modes.
Unplug from USB, power off the device and press and hold the below buttons to enter the specific boot mode.
To unlock the bootloader, you need to allow unlocking it via enabling
OEM unlocking within Android.
- Go to Settings within Android and select
- Tap on
Build numberseven times to enable developer options
- Go back and select
Advancedand scroll down to
- Reboot into bootloader by long pressing the power button, selecting
After it has successfully rebooted into
Fastboot mode, initiate unlocking the bootloader using
$ fastboot flashing unlock
Please follow the prompts on the screen to finish unlocking the bootloader.
|WARNING: This will erase your data, please back up important data before unlocking the bootloader.|
Custom AVB key
|This is not fully relevant for postmarketOS, as AVB is currently unsupported, but documented for the future.|
The bootloader has support for setting an user provided AVB key to allow relocking the bootloader if an OS with proper support is flashed.
This is realized with exposing a virtual partition
avb_custom_key where the custom user key can be flashed to:
$ fastboot flash avb_custom_key avb_key.bin
For more information please refer to the commit
FastbootCmds: oem device-info: check if user public key is set.
Bootloaders since version
202205227 support additional
fastboot oem commands to enable certain Quality of Life improvements when running mainline.
For example this will ignore the slot retry count, until we have userspace support for marking bootup attempts as successful.
To enable mainline support:
$ fastboot oem enable-mainline-support
To disable mainline support:
$ fastboot oem disable-mainline-support
To check the current status of mainline support:
$ fastboot oem device-info (bootloader) Mainline support enabled: true/false
Fastbootd is a userspace implementation of Fastboot. For axolotl it is located within the recovery.
To access it, you can boot the recovery and select a menu option to enter fastbootd mode. Optionally you can also enter it via ADB and Fastboot:
$ # Enter fastbootd via adb $ adb reboot fastboot $ # Enter fastbootd via fastboot $ fastboot reboot fastboot
You can only access dynamic partitions within fastbootd.
|As fastbootd lives within the recovery, you need a valid recovery image installed in the currently active slot to access it.|
Follow the installation guide's "Initialization" section, using
shift as the vendor and
axolotl as the codename but stop before following flashing instructions, as these are different for axolotl.
There are currently different ways to install postmarketOS (only select one).
Installation on userdata partition
Installation on userdata is the most generic and universally supported way, however it does not allow for dual boot or utilizing the full flash storage of the device.
Fastboot mode and install postmarketOS:
$ # Flash rootfs to userdata partition $ pmbootstrap flasher flash_rootfs --partition userdata $ # Flash kernel to boot $ pmbootstrap flasher flash_kernel $ # Erase dtbo partition, as it conflicts with our mainline kernel $ # Note: this operation takes some time to complete $ fastboot erase dtbo $ # Reboot into postmarketOS $ fastboot reboot
|fastboot can sometimes misbehave, if any of the fastboot commands fail you should run
Installation on super partition
|WARNING: This is currently work in progress and actively worked on.|
First select a slot (
b) you want to install postmarketOS on.
|This guide assumes you want to install onto the
To install on
super partition, a valid recovery with proper
fastbootd implementation needs to be installed into the slot, which you want to install postmarketOS on.
You can download the stock recovery image, provided by the manufacturer and install it within
|You can select the slot to install on via appending
$ # Install recovery in "a" slot $ fastboot flash recovery_a recovery_stock.img
Fastbootd and ensure it is working as expected:
$ # Set "a" as active slot and reboot to fastbootd $ fastboot --set-active=a $ fastboot reboot fastboot $ # Verify current slot is "a" $ fastboot getvar current-slot
After you verified
fastbootd works in the slot you have selected, you can install postmarketOS:
$ # Flash rootfs to system_a partition $ pmbootstrap flasher flash_rootfs --partition system_a $ # Flash kernel to boot $ pmbootstrap flasher flash_kernel --partition boot_a $ # Reboot to bootloader, as erasing dtbo is not working in fastbootd $ fastboot reboot bootloader $ # Erase dtbo_a partition, as it conflicts with our mainline kernel $ # Note: this operation takes some time to complete $ fastboot erase dtbo_a $ # Reboot into postmarketOS $ fastboot reboot