Sony Xperia M (sony-nicki)

From postmarketOS
Sony Xperia M
Sony Xperia M
Sony Xperia M
Manufacturer Sony
Name Xperia M
Codename sony-nicki
Released 2013
Category testing
Original software Android
Original version 4.1.x (Linux 3.4.0)
Hardware
Chipset Qualcomm Snapdragon S4 Plus (MSM8227)
CPU Dual-core 1.0 GHz Krait
GPU Adreno 305
Display 4", 480x854 px
Storage 4 GB
Memory 1 GB
Architecture ARMv7
Type handset
Unixbench Whet/Dhry score 371.8
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
FDE
Works
Mainline
Partial
Battery
Partial
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

  • Konrad Dybcio (@konradybcio)

Device owners

  • Adelahmed
  • ImAdam
  • Knuxfanwin8 (Notes: not in use/development)
  • SuperPou (Notes: the glass was cracked, but I replaced it)
  • Tau
  • Zekiu (Notes: C1905; broken. no display, holding power button causes the phone to vibrate constantly; vendor: "orange")


How to enter flash mode

With device powered off, hold [VOLUME +] and plug USB cable in. Device's LED will turn blue, meaning it has entered fastboot mode.

Installation

Works with both pmbootstrap flasher and TWRP zip. No errors were found in that process.

If using a large rootfs (like with plasma-mobile) fastboot with throw a "no space left on device" error. Flashing as a .zip with TWRP solves the problem.

Parts table

It's worth noting that this phone was made by FIH Mobile, a subsidiary of Foxconn. The downstream kernel refers to a "Project S3A", which may be another codename for the device.

Icon TODO: Verify and expand this table; this is mostly taken from the kernel config, so it's likely inaccurate
Element type Element Works? Notes
Chipset MSM8227 Similar to MSM8960. Some patches exist in Konrad's tree, based on earlier work by flto. Would need to be merged into MSM8960 repos.
Graphics Adreno 305
Display "Orise" FWVGA ??? Can't tell the panel model from the driver. Might be one of the "Orise Technology" panels in mainline?
Touchscreen Cypress CYTTSP, Synaptics RMI4 CYTTSP panel might be supported - CYTTSP4 and 5 are, but not sure which part this one is. RMI4 is supported in mainline.
Accelerometer Bosch BMA250 Supported in mainline.
Proximity and ambient light sensor Capella Micro CM36283 Not supported in mainline, though may be similar to CM36651?
Magnetometer Bosch BMM050 Supported in mainline.
NFC PN544 Supported in mainline.
Back camera Samsung S5K4E1/ON Semiconductor AR0543 Not supported in mainline. S5K4E1 seems to be present on my device. AR0543 datasheet
Camera flash TI LM3642 Supported in mainline.
Selfie camera Himax HM03D5 Not supported in mainline.
RGB LED PWM-based ???
PMIC PM8038/PM8921?
Audio codec WCD9304/WCD9310?

Additional info

Partition list

Device Label Size in blocks
mmcblk0p1 TA 2048
mmcblk0p2 sbl1 128
mmcblk0p3 sbl2 256
mmcblk0p4 s1sbl2 256
mmcblk0p5 sbl3 512
mmcblk0p6 aboot 512
mmcblk0p7 tz 512
mmcblk0p8 alt_sbl1 128
mmcblk0p9 alt_sbl2 256
mmcblk0p10 alt_s1sbl2 256
mmcblk0p11 alt_sbl3 512
mmcblk0p12 alt_aboot 512
mmcblk0p13 alt_tz 512
mmcblk0p14 rpm 512
mmcblk0p15 alt_rpm 512
mmcblk0p16 LTALabel 16384
mmcblk0p17 boot 20480
mmcblk0p18 modem 65536
mmcblk0p19 modemst1 3072
mmcblk0p20 modemst2 3072
mmcblk0p21 fsg 3072
mmcblk0p22 ramdump 5120
mmcblk0p23 FOTAKernel 16384
mmcblk0p24 persist 4096
mmcblk0p25 system 1228800
mmcblk0p26 cache 256000
mmcblk0p27 data 2183151

See also