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/730G/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 Android
Original version 9 on Linux 4.14
Extended version 13
FOSS bootloader partial
postmarketOS
Category community
Pre-built images yes
postmarketOS kernel Mainline 6.13.7
U-Boot
Secondary Bootloader
Works
Mainline
Works
Internal Storage
Works
USB Host
No data
USB Peripheral
Works
Display
Works
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 POCO X3 NFC xiaomi-surya community
Google Pixel 4a google-sunfish 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.

$ fastboot erase dtbo
$ fastboot flash boot u-boot-sm7150-[vendor]-[device].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