Difference between revisions of "Sony Xperia M (sony-nicki)"

From postmarketOS
Jump to: navigation, search
m
m
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
| name =  Xperia M
 
| name =  Xperia M
 
| codename = sony-nicki
 
| codename = sony-nicki
| image = File:nicki.jpg
+
| image = File:sony-nicki.jpg
| imagecaption = CHANGE_ME
+
| imagecaption = Sony Xperia M
 
| releaseyear = 2013
 
| releaseyear = 2013
 
| originalsoftware = Android 4.1.x, kernel 3.4.0
 
| originalsoftware = Android 4.1.x, kernel 3.4.0
Line 13: Line 13:
 
| display = 4", 480x854 px
 
| display = 4", 480x854 px
 
| memory = 1 GB
 
| memory = 1 GB
| architecture = armhf
+
| architecture = armv7
 
| status_usbnet = Y
 
| status_usbnet = Y
 
| status_flashing = Y
 
| status_flashing = Y
 
| status_touch = Y
 
| status_touch = Y
 
| status_screen = Y
 
| status_screen = Y
| status_wifi = -
+
| status_wifi =  
 
| status_xwayland =  
 
| status_xwayland =  
 
| status_fde = Y
 
| status_fde = Y
| status_mainline =  
+
| status_mainline = P
 
| status_battery = P
 
| status_battery = P
 
| status_3d =  
 
| status_3d =  
Line 37: Line 37:
 
== Contributors ==
 
== Contributors ==
 
* Konrad Dybcio (@konradybcio)
 
* Konrad Dybcio (@konradybcio)
 
== What works ==
 
- Boot
 
 
- USB Network (ssh and tethering)
 
 
- Display (with a workaround script)
 
 
- Touchscreen
 
 
- XFCE4
 
 
- Weston
 
 
- MATE
 
 
- osk-sdl
 
 
== What does not work ==
 
- Plasma
 
 
- Wifi
 
 
- Modem
 
 
- GPS
 
 
- Audio
 
 
- Camera
 
 
- 3D
 
 
- Sensors
 
 
- Notification LED
 
 
- charging-sdl // technically it shows up and shows (probably) accurate percentage yet the display won't go off after charger disconnect
 
  
 
== How to enter flash mode ==
 
== How to enter flash mode ==
Line 83: Line 45:
  
 
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.
 
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.
 +
 +
== Additional info ==
 +
=== Partition list ===
 +
{| class="wikitable"
 +
|-
 +
! 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 ==
 
== See also ==
 
* {{MR|1611}} Initial merge request
 
* {{MR|1611}} Initial merge request
 
* [https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1604#note_85239812 display hack] (needs to be reworked in the future to make it compatible with a display manager)
 
* [https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1604#note_85239812 display hack] (needs to be reworked in the future to make it compatible with a display manager)
 +
* [https://gitlab.com/postmarketOS/pmaports/issues/184 Mainline kernel notes]

Latest revision as of 10:05, 14 October 2019

Sony Xperia M
Sony Xperia M
Sony Xperia M
Manufacturer Sony
Name Xperia M
Codename sony-nicki
Released 2013
Original software Android 4.1.x, kernel 3.4.0
Hardware
Chipset Qualcomm MSM8227 Snapdragon S4 Plus
CPU Dual-core 1.0 GHz Krait
GPU Adreno 305
Display 4", 480x854 px
Storage 4 GB
Memory 1 GB
Architecture armv7
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Xwayland
FDE
Works
Mainline
Partial
Battery
Partial
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG



Contributors

  • Konrad Dybcio (@konradybcio)

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.

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