Jump to content

Sony Xperia Z1 (sony-honami)

From postmarketOS Wiki
(Redirected from Sony Xperia Z1(sony-honami))
Sony Xperia Z1
Sony Xperia Z1
Sony Xperia Z1
Manufacturer Sony
Name Xperia Z1
Codename sony-honami
Released 2013
Type handset
Hardware
Chipset Qualcomm Snapdragon 800 (MSM8974)
CPU Quad-core 2.2 GHz Krait 400
GPU Adreno 330
Display 1080x1920
Storage 16 GB
Memory 2 GB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Android 4.2
Extended version
The most recent supported version from the manufacturer.
Android
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Device package device-sony-honami
Kernel package linux-sony-honami
Features
Flashing
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
Charging and battery level reporting works
Untested
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Works
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

Contributors

  • limiter121
  • ata2001 (work on Z1C)

Maintainer(s)

  • limiter121

Device owners

  • Konradybcio (Notes: Vibration motor sometimes works (apparently mainline driver is smarter than stock, lol))
  • Pigeon risotto (Notes: does not boot, usb responds)


What works

  • Display
  • Touchscreen
  • Network through USB
  • Telnet in initramfs
  • SSH
  • Wifi

What does not work

`osk-sdl` doesn't work:


sony-honami:/home/r# osk-sdl -d a -n a -c /etc/osk.conf -v
commandline read: osk-sdl
commandline read: -d
commandline read: a
commandline read: -n
commandline read: a
commandline read: -c
commandline read: /etc/osk.conf
commandline read: -v
(*) Direct/Thread: Started 'SigHandler' (1742) [CRITICAL - OTHER/0] <134492>...

   16:41, 29 May 2019 (EDT)16:41, 29 May 2019 (EDT)16:41, 29 May 2019 (EDT)16:41, 29 May 2019 (EDT)16:41, 29 May 2019 (EDT)| DirectFB 1.7.7 |16:41, 29 May 2019 (EDT)16:41, 29 May 2019 (EDT)16:41, 29 May 2019 (EDT)16:41, 29 May 2019 (EDT)16:41, 29 May 2019 (EDT)~
        (c) 2012-2015  DirectFB integrated media GmbH
        (c) 2001-2015  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2018-10-03 11:56) 
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'Fusion Dispatch' (1743) [MESSAGING - OTHER/0] <134492>...
(*) Direct/Thread: Started 'VT Switcher' (1746) [CRITICAL - OTHER/0] <134492>...
(*) Direct/Thread: Started 'VT Flusher' (1747) [DEFAULT - OTHER/0] <134492>...
(*) DirectFB/FBDev: Found 'mdssfb_80000' (ID 0) with frame buffer at 0x00020000, 16320k (MMIO 0x00000000, 0k)
(*) Direct/Modules: suppress module 'linux_input'
(*) Direct/Thread: Started 'Keyboard Input' (1748) [INPUT - OTHER/0] <134492>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Started 'tslib Input' (1749) [INPUT - OTHER/0] <134492>...
(*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib)
(*) Direct/Thread: Started 'PS/2 Input' (1750) [INPUT - OTHER/0] <134492>...
(*) DirectFB/Input: IMPS/2 Mouse (1) 1.0 (directfb.org)
(*) Direct/Thread: Started 'PS/2 Input' (1751) [INPUT - OTHER/0] <134492>...
(*) DirectFB/Input: IMPS/2 Mouse (2) 1.0 (directfb.org)
(*) DirectFB/Input: Hot-plug detection enabled with Input Hub Driver 
(*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org)
(!) DirectFB/FBDev: No supported modes found in /etc/fb.modes and current mode not supported!
(!) DirectFB/FBDev: Current mode's pixelformat: rgba 8/0, 8/8, 8/16, 8/24 (32bit)
(!) DirectFB/Core/layers: Failed to initialize layer 0!
    --> A general initialization error occured
(!) DirectFB/Core: Could not initialize 'layer_core' core!
    --> A general initialization error occured
INFO: /home/buildozer/aports/main/sdl2/src/SDL2-2.0.9/src/video/directfb/SDL_DirectFB_video.c (239):A general initialization error occured
Segmentation fault

How to enter flash mode

Press VOL UP while plugging the USB cable (fastboot mode)

Photos

Other Information

  • It should be possible to run The Mainline Kernel on the device. At least there is a dts file already in the 4.14 kernel: arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
  • USB device id: 0fce:d19a

Links