Jump to content

Generic SM7150 (qcom-sm7150)

From postmarketOS Wiki
Qualcomm Snapdragon 730
730G
732G
Manufacturer Qualcomm
Name Snapdragon 730
730G
732G
Codename qcom-sm7150
Released 2019
Type generic
Hardware
Chipset Qualcomm Snapdragon 730 (SM7150)
Qualcomm Snapdragon 730G (SM7150)
Qualcomm Snapdragon 732G (SM7150)
CPU Octa-core (2x 2.2/2.3 GHz Kryo 470 Gold
6x 1.8 GHz Kryo 470 Silver)
GPU Adreno 618
Display Various 1080p AMOLED / IPS LCD
Storage 64-256 GB
Memory 6-8 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 9 on Linux 4.14
Extended version
The most recent supported version from the manufacturer.
Android 13
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.
Mainline 6.13.7
Device package device-qcom-sm7150
Kernel package linux-postmarketos-qcom-sm7150


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 POCO X3 NFC xiaomi-surya community
Xiaomi Mi Note 10 / Mi CC9 Pro xiaomi-tucana testing
Xiaomi Mi Note 10 Lite xiaomi-toco testing
Xiaomi Redmi Note 10 Pro xiaomi-sweet testing

Installation

Note Warning: Flashing U-Boot is required, as it is a hard dependency.

Installing U-Boot

To install U-Boot, download the latest U-Boot image for your device, which can be found here. There are two variants: usb-peripheral with peripheral USB mode and usb-host with host USB mode. Unless you want to boot from USB, use usb-peripheral.

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

Pre-built images

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

# Your device may not have a cache partition - check its wiki page to be sure!
$ fastboot flash cache qcom-sm7150-boot.img
$ fastboot flash userdata qcom-sm7150-root.img

pmbootstrap

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