Sony Xperia 1 III (sony-pdx215)
This device is marked as not booting. |
CHANGE_ME CHANGE_ME | |
Manufacturer | Sony |
---|---|
Name | Xperia 1 III |
Codename | sony-pdx215 |
Released | 2021 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 888 (SM8350) |
CPU |
Octa-core (1x2.84 GHz Cortex-X1 3x2.42 GHz Cortex-A78 4x1.80 GHz Cortex-A55) |
GPU | Adreno 660 |
Display | 1644x3840 6.5" OLED |
Storage | 256GB/512GB |
Memory | 12GB |
Architecture | aarch64 |
Software | |
Original software The software and version the device was shipped with. |
Android 12 |
Extended version The most recent supported version from the manufacturer. |
Android |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
no |
Contributors
Users owning this device
How to enter flash mode
Before you can flash PostmarketOS, you'll need to unlock your bootloader as described on Sony's open devices portal. This may potentially void your warranty, be warned, and read the warnings that Sony provide also.
Once you've finished these steps, your device will have been wiped. Set up android if you want, you won't have any reason to get rid of it because UFS doesn't work at the moment (see below). Then, either:
- Power off the device. Holding up on the volume rocker, plug the device into a computer.
- (or, on android) get an adb shell and run
adb reboot bootloader
.
Status
This device belongs to the Sony Sagami platform, which is the Xperia 1 III (this one, pdx215) and Xperia 5 III (pdx214).
Work has been done on the device trees in the mainline kernel by the folks over at somainline.
For now installing on the sdcard starts up, ssh through usb works. For some reason the screen quickly turns off, and there are some errors in dmesg.
If you want to try to use pmOS you can copy the packages from here. You need to put them into your local pmaports, then installing with pmbootstrap should work fine (Installation). The patch to the kernel is for now a debug tool to see more in dmesg, so get rid of it if you need to.
The goals for now are:
- loading the pieces in dts properly (mainly /soc@0/interrupt-controller@17a00000 and /soc@0/dma-controller@900000 do not seem to work for now)
- making the screen work
UFS
The phone's internal storage is UFS. Sony's past devices have had a bug that will erase the phone's entire internal storage if you try to start up UFS on mainline, because one of the UFS commands is misimplemented. This includes wiping the bootloader, bricking the device FOR EVER.
We currently have UFS disabled in the device tree, which renders the device's internal storage unusable but means there is no chance of anything getting bricked. It should be possible to patch out this command and reenable UFS in dts on a device-specific kernel eventually.
See also
- Gitlab repo with package definitions (very much WIP): sony-pdx215-pmospackages
- Matrix room for the SoC: sm8350 mainlining