Jump to content

Sony Xperia Z2 Tablet (sony-castor-windy): Difference between revisions

From postmarketOS Wiki
Replace Category:Unsupported device with Category:Not booting and remove Category:Device (since the infobox template sets that anyway!)
Cristianc (talk | contribs)
type = Tablet
 
(21 intermediate revisions by 12 users not shown)
Line 6: Line 6:
| imagecaption = Sony Xperia Z2 Tablet
| imagecaption = Sony Xperia Z2 Tablet
| releaseyear = 2014
| releaseyear = 2014
| originalsoftware = Android 4.4.2 on Linux 3.10
| originalsoftware = Android
| chipset = Qualcomm APQ8074AB Snapdragon 801
| originalversion = 4.4.2 (Linux 3.4)
| chipset = Qualcomm Snapdragon 801 (APQ8074AB)
| cpu = Quad-core 2.3 GHz Krait 400
| cpu = Quad-core 2.3 GHz Krait 400
| gpu = Adreno 330
| gpu = Adreno 330
Line 13: Line 14:
| display = 1200x1920 TFT
| display = 1200x1920 TFT
| memory = 3 GB
| memory = 3 GB
| architecture = armv7
| type = Tablet
| status_usbnet = Y
| status_flashing = Y
| status_touch = Y
| status_screen = Y
| status_wifi = Y
| status_xwayland =
| status_fde =
| status_mainline = Y
| status_battery = Y
| status_3d = P
| status_accel =
| status_audio = N
| status_bluetooth = Y
| status_camera = N
| status_gps = -
| status_mobiledata = -
| status_sms = -
| status_calls = -
| status_nfc = N
| booting = yes
}}
}}
== Contributors ==
This device is very similar to [[Sony_Xperia_Z2_Tablet_LTE_(sony-castor)]] and uses the same device package. A difference is that it has no modem.


* bjorn andersson (ported device to 4.3)
== Users owning this device ==
* robclark (freedreno support)
{{Device owners}}
* opendata26
 
== What works ==
 
* Booting the system
* Kernel log to the display
* Framebuffer graphics
* Unlocking the root partition
* Display Backlight control
* Wayland on framebuffer
* Module loading
* Wifi (see Additional Info below)
* Notification led
* Freedreno (see Additional Info below)
 
== What does not work ==
 
* Audio
* Both cameras
 
== Installation ==
 
# Init pmbootstrap
 
<source lang="bash">$ ./pmbootstrap.py init</source>
# Start the build process and install flash to the device
 
<source lang="bash"># Replace /dev/sdX with the device for your sdcard
$ ./pmbootstrap.py install
$ ./pmbootstrap.py flasher flash_system
$ ./pmbootstrap.py flasher flash_kernel</source>
 
== Links ==
 
* [https://github.com/postmarketOS/pmbootstrap/tree/master/aports/device/device-sony-castor-windy Device package]
* [https://github.com/andersson/kernel Kernel source]
 
== Wifi ==
 
The <code>linux-firmware</code> (included by default) package is required to provide the brcmfmac firmware necessary for initializing the wifi device.
 
Once the device has been successfully initialized, enable it:
 
<pre>$ sudo ip link set wlan0 up</pre>
Configure wpa_supplicant (only necessary on encrypted networks):
 
<pre>$ sudo su -
# wpa_passphrase $YOUR_SSID &gt; /etc/wpa_supplicant/wlan0.conf
&lt;enter passphrase here and press Enter&gt;
# exit</pre>
Connect to network using wpa_supplicant:
 
<pre>$ sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wlan0.conf </pre>
If your network uses DHCP, start the DHCP client:
 
<pre>$ sudo udhcpc -i wlan0</pre>
 
== Freedreno ==
 
Freedreno is only supported with X atm as weston segfaults<br />
Here are some games being played https://imgur.com/a/ji6jl#jhR61Ww
 
<source lang="bash"># Install mesa and X allong with the touchscreen driver
$ sudo apk add mesa mesa-dri-freedreno xorg-server xf86-input-libinput
 
# Start X
$ sudo X &</source>
 
== Setting the date ==
 
Since the rtc driver is read only you need to use ntp to set the date
 
<source lang="bash"># Install openntpd
$ sudo apk add openntpd
 
# Write the current system time to the hardware clock
$ sudo ntp -s</source>
 
== Helpful Links for Porting ==
 
* [https://github.com/andersson/kernel Kernel]
* [http://elixir.free-electrons.com/linux/v4.8.16/source/Documentation/devicetree/bindings/display/msm/mdp5.txt New MDP5 Bindings]

Latest revision as of 22:47, 30 October 2023

Sony Xperia Z2 Tablet
Sony Xperia Z2 Tablet
Sony Xperia Z2 Tablet
Manufacturer Sony
Name Xperia Z2 Tablet
Codename sony-castor-windy
Released 2014
Type tablet
Hardware
Chipset Qualcomm Snapdragon 801 (APQ8074AB)
CPU Quad-core 2.3 GHz Krait 400
GPU Adreno 330
Display 1200x1920 TFT
Storage 16/32 GB
Memory 3 GB
Architecture armv7
Software
Original software Android
Original version 4.4.2 (Linux 3.4)
postmarketOS
Category testing
Pre-built images no
Mainline yes
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Partial
Audio
Broken
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Works
NFC
Broken
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data

This device is very similar to Sony_Xperia_Z2_Tablet_LTE_(sony-castor) and uses the same device package. A difference is that it has no modem.

Users owning this device