Sony Xperia M4 Aqua (sony-tulip)
|
Sony Xperia M4 Aqua inside an ssh session | |
| Manufacturer | Sony |
|---|---|
| Name | Xperia M4 Aqua |
| Codename | sony-tulip |
| Released | 2015 |
| Type | handset |
| Hardware | |
| Chipset | Qualcomm Snapdragon 615 (MSM8939) |
| CPU |
8x Cortex-A53 4x 1 5Ghz (big cluster) 4x 1Ghz (LITTLE cluster) (clock speeds may vary slightly) |
| GPU | Adreno 405 |
| Display | 720 x 1280 LED Triluminos 294ppi 5" |
| Storage | 8/16 GB (refer to the model list) |
| Memory | 2 GB |
| Architecture | aarch64 |
| Software | |
Original software The software and version the device was shipped with. |
Android 5.0 |
Extended version The most recent supported version from the manufacturer. |
Android 6.0 |
| postmarketOS | |
| Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
| Device package |
|
| Kernel package |
|
Flashing Whether it is possible to flash the device with pmbootstrap flasher. |
Works
|
|---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Battery Whether charging and battery level reporting work. |
Broken
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Broken
|
Touchscreen |
Untested
|
| Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Broken
|
Camera |
Broken
|
| Connectivity | |
WiFi |
Works
|
Bluetooth |
Broken
|
GPS |
Broken
|
| Modem | |
Calls |
Broken
|
SMS |
Broken
|
Mobile data |
Broken
|
| Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Broken
|
| Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Works
|
Users owning this device
Contributors
- Konrad Dybcio (@konradybcio) - porting
- Patrick Hope (@Pachops) - testing
- Pavel Dubrova (@Cubbins) - cleaning up kernel, doing A LOT for this device kernel-wise
- User:Tuxman - mainlining this device
Maintainer(s)
- Konrad Dybcio (@konradybcio)
- User:Tuxman
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.
You will need an unlocked bootloader. To unlock it follow the official guide by Sony. /!!\ Warning /!!\ Unlock bootloader *Will* erase all the data, wipe out the phone to factory reset /!!\ Warning /!!\
Model list
E2303 (European) - 8GB storage, LTE
E2306 - 16GB storage, LTE
E2312 - 8GB storage, 3G, Dual-SIM
E2333 - 16GB storage, LTE, Dual-SIM
E2353 - 8GB storage, LTE
E2363 - 16GB storage, LTE, Dual-SIM
Additional notes
- Camera will NOT work for now, it's broken kernel-side.
- This device has not been made by Sony, it's been manufactured by FIH hence kernel needed (and still needs some) cleanup
- There are a lot, and by that i mean a LOT of variants of this device, varying mainly by baseband and storage size
- In Pavel's kernel_kanuti repo you can find some work on caf's 4.9, 4.4, and 3.18 kernels, the higher the version the less things will work, but hey, there is hope
- If camera ever gets fixed, it will need Sony's proprietary blobs to run
Installation
Prerequisites
- pmbootstrap
- Android platform tools
$ pmbootstrap init
Select 'sony' for vendor and 'tulip' for codename
Prepare the kernel and rootfs
$ pmbootstrap install
Export the kernel and roots to /tmp/postmarketOS-export/
$ pmbootstrap export
Optionally install lk2nd (not required at the moment)
$ fastboot flash boot /tmp/postmarketOS-export/lk2nd.img
Flash kernel (boot.img)
$ pmbootstrap flasher flash_kernel
Flash rootfs (flashing in userdata is highly recommended
$ pmbootstrap flasher flash_rootfs --partition=userdata
Reboot to PostmarketOS :)
$ fastboot reboot
Connect with ssh
Since the Xperia M aqua doesn't have display working at the moment the only way we can use it is with ssh
$ssh 172.16.42.1
And now you should be able to use postmarketos via ssh! You can connect to wifi and use this device as a headless machine :)
See also
- pmaports!77 Initial merge request
- pmaports!8185 Move this device from downstream to testing
- Another mainline kernel fork based off kernel 5.9rc