Jump to content

Qualcomm SM7150 (qcom-sm7150)

From postmarketOS Wiki
Qualcomm Snapdragon 730
730G
732G
Manufacturer Qualcomm
Name Snapdragon 730
730G
732G
Codename qcom-sm7150
Model SM7150
Released 2019
Type generic
Hardware
Chipset Qualcomm Snapdragon 730 (SM7150)
Qualcomm Snapdragon 730G (SM7150)
Qualcomm Snapdragon 732G (SM7150)
Architecture aarch64
Software
FOSS bootloader partial
postmarketOS
Category community
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
7.1-rc3
Device package device-qcom-sm7150
Kernel package linux-postmarketos-qcom-sm7150
Firmware package firmware-qcom-sm7150
Features
U-Boot
Primary Bootloader
Whether it is possible to replace stock bootloader with U-Boot.
Broken
Secondary Bootloader
Whether it is possible to chainload U-Boot from stock bootloader.
Works
Mainline
Whether latest upstream versions of U-Boot are not broken and it is possible to use them.
Works
Internal Storage
Whether it is possible to boot from internal storage (e.g. eMMC or UFS).
Works
SD card
Whether it is possible to boot from SD card.
Works
USB Host
Whether it is possible to boot from a USB storage or connect a keyboard.
Partial
USB Peripheral
Whether it is possible to use device as a peripheral in U-Boot, e.g. for fastboot mode.
Works
Display
Works
Buttons
Whether it is possible to navigate in boot menu or grub with volume and power buttons.
Works

This is a generic port for Qualcomm Snapdragon 730/730G/732G (SM7150) based devices that utilizes U-Boot and systemd-boot.

Supported Devices

All SM7150 devices supported by our U-Boot fork as well as linux-postmarketos-qcom-sm7150 can utilize this device package.

For feature support and device status please refer to the individual device-specific pages.

Device Codename Category
Xiaomi Mi 9T / Redmi K20 xiaomi-davinci community
Xiaomi Mi Note 10 / Mi CC9 Pro xiaomi-tucana community
Xiaomi Mi Note 10 Lite xiaomi-toco community
Xiaomi POCO X3 NFC xiaomi-surya community
Xiaomi Redmi Note 10 Pro xiaomi-sweet community
Google Pixel 4a google-sunfish testing

Installation

Note Warning: Flashing U-Boot is required, as it is a hard dependency.
Note Warning: OpenRC is not a supported init system for this device package and will result in broken images.

Installing U-Boot

To install U-Boot, download the latest U-Boot image for your device, which can be found here. In case there are multiple images, make sure you select the one with the correct panel vendor for your unit.

$ fastboot erase dtbo
$ fastboot flash boot u-boot-sm7150-[vendor]-[device].img

Pre-built images

Download, extract and install image file of "qcom-sm7150".

$ fastboot flash userdata qcom-sm7150.img

pmbootstrap

$ pmbootstrap init # choose vendor: qcom, device codename: sm7150
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs