Sony Xperia SP (sony-huashan)

From postmarketOS Wiki
Sony Xperia SP
File:Sony-huashan.jpg
Manufacturer Sony
Name Xperia SP
Codename sony-huashan
Released 2013
Hardware
Chipset Qualcomm Snapdragon S4 Pro (MSM8960T)
CPU Dual-core 1.7 GHz Krait
GPU Adreno 320
Display 720x1280 TFT
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software Android
Original version 4.1
postmarketOS
Category testing
Pre-built images no
Mainline no
This device is marked as not booting.
Status: Boots up. No screen so far.


Contributors

Maintainer(s)

Users owning this device


How to enter flash mode

From adb

Enter the command `adb reboot bootloader`

From Android with custom rom

The power menu might have a "Reboot to bootloader option"

With the device off

Press the Volume Up button, then plug in the USB cable. The LED bar should light up blue

What works

  • Compiles
  • Boots up
  • Weston

What does not work

  • Wifi
  • Bt
  • Audio

Boot image format

I used Android boot bridge's release zip to "skip" the bootimg_analyze step, as the releases include a "template boot.img".

This device uses ELF image but also adds RPM file to the mix which at the end builds into dt file in boot image. The ELF image support Merge Request does still not support it but i will work on it to get it supported. For now boot image has to be generated manually with mkelf.

Serial UART

To obtain bootloader logs, follow the test points shown in the image below. Note that the UART operates at 1.8V. The kernel logs for downstream kernel is available at ttyHSL0.

Sony-huashan-serial.jpg

For more information about serial debugging, please read Serial debugging.

See also