Xiaomi Mi Note 2 (xiaomi-scorpio)

From postmarketOS
Jump to navigation Jump to search
Xiaomi Mi Note 2
Xiaomi Mi Note 2 running Phosh
Xiaomi Mi Note 2 running Phosh
Manufacturer Xiaomi
Name Mi Note 2
Codename xiaomi-scorpio
Released 2016
Category testing
Original software Android 6.0 (Marshmallow), MIUI 8.2 - Upgradeable to Android 8.0
Hardware
Chipset Qualcomm MSM8996Pro Snapdragon 821
CPU 2x 2.34 GHz Kryo & 2x 2.19 GHz Kryo
GPU Adreno 530
Display 1080x1920 OLED
Storage UFS 2.0 64/128GB
Memory 4/6 GB
Architecture aarch64
Unixbench Whet/Dhry score 2555.6
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Mainline
Works
Battery
Broken
3D Acceleration
Works
Accelerometer
Broken
Audio
Partial
Bluetooth
Works
Camera
Broken
GPS
Mobile data
SMS
Works
Calls
Broken
USB OTG
Broken



Contributors

  • Tooniis

Maintainer(s)

  • Tooniis

Users owning this device

  • Tooniis (Notes: 64GB Storage, 4GB Memory)


How to enter flash mode

Hold Power + Volume Down while the phone is turned off. This will make the phone boot into fastboot mode

Installation

You will need to unlock the bootloader in order to be able to flash anything onto the phone.

Installing TWRP before doing anything else is recommended, as it makes dealing with the phone easier later on, and allows for quick restoration by taking backups of /system and /boot, then flashing them back in order to restore the device to its original state.

Mainline

Kernel fork

Feature Components Status
USB TI TUSB320 (extcon)

PMI8996 SMBCharger (OTG supply)

P Peripheral mode only, host mode might be working but without power. USB networking works.
UFS Samsung KLUCG4J1CB-B0B1 (64GB variant) Y
Display LG Display SW43101 Y Both simplefb and mdss work.
GPU Adreno 5301 Y Somewhat glitchy, causes some artifacts and tearing on GNOME at least.
WiFi QCA6174a -> PCIe Y
Bluetooth QCA6174a -> UART Y
Modem MSS1 P Sending and receiving SMS works. Haven't tested other things yet.
NFC NXP PN548 Y
IR Transmitter PM8996 PWM2 N Will require a driver.
Audio Codec WCD9335 (Headphones, earpiece, microphones)

TAS2555 (Speaker)

P Headphones output only. Headphones mic input is very quiet for some reason.

Will require a driver for speaker codec.

Video Codec Venus1 P Boots successfully. Untested.
Battery PMI8996 SMBCharger/Fuel gauge2

SMB13512

P Fuel gauge works. Charging will require drivers for PMIC SMBCharger and SMB1351.
Cameras Main: IMX318

Front: IMX268

N Will require drivers for both camera modules.
Sensors SLPI1,2

Gyroscope/Accelerometer: LSM6DSLTR

Compass: AK09915

Pressure: BMP285

Proximity: unknown

N Will require a driver for SLPI.
Touchscreen Atmel MaxTouch Y
Touchkeys Cypress StreetFighter Y Driver not upstream yet.
Fingerprint Reader FPC1020 N Will require a driver.
Buttons TLMM1,2/PM8996 GPIO2 (Home, Volume Up)

PM8996 PON/RESIN2 (Power, Volume Down)

Y
Haptics PMI8996 Haptics2 Y Driver not upstream yet.
LEDs PM8996 PWM2 (Keypad backlights)

PMI8996 RGB/Flash2 (Status light, Flash)

P Keypad backlights only without brightness control (modeled as GPIO LEDs for now).

Will require drivers for PWM/RGB/Flash .

1: Internal component

2: Driver of component

Known issues:

  • The display comes up blue after initialization sometimes. Rebooting makes it work usually.
  • System locks up when accessing memory intensively. This might be caused by writing to a protected area of memory.

See also