nyuuzyou/wikis huggingface dataset:
Sony Ericsson Xperia Arc (semc-anzu)

== Contributors ==
* rendeko
* asiekierka
== Users owning this device ==
== Entering Fastboot mode ==
Power off the device. Hold Back as you plug the USB cable into the device.
== Bootloader unlocking ==
The process of unlocking the bootloader officially is available here and it is strictly adviced to use it in the first place. It has all the instructions for one to unlock it.
@mirh wrote:
Just for the records of you gentlemen, I wanted to let you know that all of the 2011 Xperias (manufactured before a not-so-clear 2012 week), are capable of *unofficial* bootloader unlock. 
* https://forum.xda-developers.com/showthread.php?t=1285285
* https://forum.xda-developers.com/showthread.php?t=1551494
* https://forum.xda-developers.com/showthread.php?t=1730874
* https://forum.xda-developers.com/showthread.php?t=2768514
* https://forum.xda-developers.com/showthread.php?t=2070325
* The above methods are "s1tool" and will not get around "Bootloader unlock allowed: No". There doesn't seem to be a way to get around "Bootloader unlock allowed: No" except for a software+hardware box combination called SETool2 that can be used to modify any Sony Ericsson device. This is what likely what has referred to as a "paid unlock" - rendeko
== What works ==
* Building and installing to external SD card
* Display
* Touchscreen
* USB networking
* Xwayland
== What does not work ==
* Plasma Mobile
* Hardware accelerated graphics
* Audio
* Bluetooth
* GPS
* Camera
* Mobile data
* Phone calls
Note that Wi-Fi and osk-sdl are untested and may require further work.
== Additional info ==
* Page size may need to be adjusted in the future, as it is non-standard and presents a non-fatal error.
== Links ==
* The kernel currently being used
* Xperia Flashtool that should probably work once it is unlocked. With source code!
* there's possibly also a 3.10 branch in the wild
* 
*
Sony Ericsson Xperia Mini Pro (sony-mango)

== Contributors ==
* shadowsvanish
== Maintainer(s) ==
* shadowsvanish
== What works ==
* Install to SD Card
* Boots
* Wayland/XWayland
* USB Networking/Internet
* Display
* Touchscreen
* Proximity Sensor
* Accelerometer
* Slider Detection
* Keyboard, Capacitive Buttons and Buttons
* Keyboard Backlight
* Vibrator
* Flash Light
* charging-sdl
== What does not work ==
* Flashing (system partition too small)
== What is untested/probably won't work ==
* Camera (blobs)
* Wi-Fi 
* Everything else
== How to unlock bootloader ==
Official method
== How to enter Fastboot ==
1. Hold the Volume Up button
2. Connect the USB cable while holding the button
3. If the blue LED is on, then you successfully entered the Fastboot mode!
== See also ==
* The kernel currently used
* Initial merge request
* 
*
Sony Ericsson Xperia Pro (semc-iyokan)

== Contributors ==
* tmahlburg
== Maintainer(s) ==
* tmahlburg
== Users owning this device ==
== How to unlock bootloader ==
Official method
== How to enter Fastboot ==
1. Hold the Volume Up button
2. Connect the USB cable while holding the button
3. If the blue LED is on, then you successfully entered the Fastboot mode!
== See also ==
* The kernel currently used
Sony Ericsson Xperia mini (semc-smultron)

== Contributors ==
* mishaor
* joshas
== Maintainer(s) ==
* mishaor
== Users owning this device ==
== What works ==
* USB networking
* Display
* Touchscreen
== What does not work ==
* Wi-Fi (something's wrong with calibration file)
* Flashing (system partition too small)
== What is untested/probably won't work ==
* Camera (blobs)
* Everything else
== How to unlock bootloader ==
Official method
== How to enter Fastboot ==
1. Hold the Volume Up button
2. Connect the USB cable while holding the button
3. If the blue LED is on, then you successfully entered the Fastboot mode!
== See also ==
* The kernel currently used
* Device specifications
* initial merge request
* 4.4 kernel for MSM7x30 devices
* Device tree sources (useful for mainline)
* 
*
Sony Ninges

== Introduction ==
Ninges (or Ningles as some might argue) is a name commonly used by Sony fans (there are at least 7 of us!) to refer to Xperia Nile and Ganges platforms (sdm630/636, Xperia XA2 and 10 series).
The devices are mostly the same under the hood with the biggest outstander being the 10 Plus (mermaid), as it features a slightly different SoC (sdm636).
== Hardware ==
Component 	Model 	Driver
Touchscreen 	Synaptics / Novatek 	RMI4 (nile)/ Novatek NT36xxx (ganges)
Rear camera 	Check device page/over qcom CCI 	QCOM_CCI
Camera flash 	PMIC-based 	???
Front camera 	Check device page/over qcom CCI 	QCOM_CCI
LCD 	Check device page 	Panel names include device name
WiFi 	Qualcomm WCN3980? 	???
Bluetooth 	Qualcomm WCN3980/90? 	qcom,wcn3998-bt
Modem 	Inbuilt SDM modem 	???
GNSS/GPS 	Inbuilt qcom solution 	???
NFC 	NXP PN553 	ncp,nxp-nci-i2c
Vibration motor 	Qcom qpnp-haptics? 	???
Notification LED 	Some PMIC-based thingy 	LEDS_QCOM_LPG
Volume buttons 	Vol- via gpio-keys, Vol+ via pm660 RESIN	???
Power button 	pm660 RESIN 	POWER_RESET_QCOM_PON
Battery fuel gauge	pm660(l)-fg 	*not yet ready*
== Mainline ==
These devices are all running a shared out-of-tree-but-mainline kernel and thus have more or less same features working.
The goal is to achieve feature parity with PinePhone, or perhaps surpass it (these devices have some fancy-schmancy qcom features).
== Hardware details ==
==== Bluetooth ====
 /* Xperia XA2, sdm630 */
 [ 3.473375] Bluetooth: hci0: QCA Product ID :0x0000000a
 [ 3.473831] Bluetooth: hci0: QCA SOC Version :0x40020140
 [ 3.478019] Bluetooth: hci0: QCA ROM Version :0x00000201
 [ 3.483542] Bluetooth: hci0: QCA Patch Version:0x00000001
 [ 3.546618] Bluetooth: hci0: QCA controller version 0x01400201
==== eMMC (Device-specific) ====
 /* Xperia XA2, sdm630 */
 [ 4.026849] mmcblk0: mmc0:0001 DD68MB 29.1 GiB
==== SPMI Bus (SoC-specific) ====
 /* sdm630 */
 [ 2.255090] spmi spmi-0: PMIC arbiter version v3 (0x30000000)
==== Touchscreen (Device-specific) ====
 /* Xperia XA2, sdm630 */
 [ 3.029342] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer: Synaptics, product: TD4322Test, fw id: 2610092
Currently the kernel is stored at this link.
Sony PlayStation Vita (sony-psvita)

== Contributors ==
* xerpi
== Users owning this device ==
== Jailbreak ==
For firmware 3.65 - 3.74 h-encore² by Andy Nguyen must be used. For easier installation of h-encore² finalhe by soarqin can be used.
If you want a permanent jailbreak on 3.65 use the ensō installer
== Downgrading firmware ==
Refer to modoru. This works on firmware 3.60 - 3.73.
== Running Linux ==
Work is being done by xerpi on GitHub.
Linux loader: https://github.com/xerpi/vita-linux-loader
Kernel: https://github.com/xerpi/linux_vita
== See also ==
* PS Vita Devwiki
* Demonstration showing Linux on PS Vita
* 
*
Sony Playstation 4 (sony-ps4)

== Contributors ==
* crashniels
== Users owning this device ==
== Requirements ==
A Playstation 4 which is on a hackable firmware version. As of writing it is up to 11.00. The Playstation 4 needs to have the Aoelia southbridge. Belize may also work but isn't tested. Baikal requires some additional patches which are not included here yet. 
== Installation ==
Use pmbootstrap to build your own installation image.
$ pmbootstrap init
$ pmbootstrap install --disk=PATH_TO_YOUR_USB_DRIVE
== Booting ==
Use this Linux payload to kexec into a Linux kernel. 
On another USB stick you will need the following files:
* bzImage (vmlinuz from /boot renamed)
* initramfs.cpio.gz (initramfs from /boot renamed)
* the stage 2 payload renamed to payload.bin (mentioned below)
If these files are present you can follow the instructions from PPPwn
== See also ==
* Initial merge request
Sony SmartWatch 3 (sony-tetra)

== Contributors ==
* Rudloff
== Maintainer(s) ==
* Rudloff
== How to enter flash mode ==
# Hold the power button until you see "Insert USB" (do not insert USB cable yet).
# Double press the power button.
# Double press the power button again.
== See also ==
* WIP kernel branch
* Android kernel
* AsteroidOS port
* AsteroidOS device page
Sony Tablet S (sony-nbx03)

== Contributors ==
== Users owning this device ==
== How to enter recovery mode ==
* + 
== Unlocking ==
Sony does not seem to have provided a way to enter APX using a key combination, so we have to use an alternative method. Use the following project for rooting and entering APX mode: https://gitlab.com/eloydegen/apxploit
== Enable USB Debugging ==
== Installation ==
== Notes ==
=== ICs ===
TechRepublic made a nice overview: https://web.archive.org/web/20170703120151/http://www.techrepublic.com/blog/cracking-open/sony-tablet-s-teardown-wild-wedge-shaped-case-hides-unique-hardware/
=== Models ===
Difference is unknown yet:
* SGPT111
* SGPT112
* SGPT113 
* SGPT114
* SGPT211
* SGPT212
* SGPT213
* SGPT121
* SGPT122
* SGPT123
* SGPT131
* SGPT132
* SGPT133
=== Power adapter ===
* 10.5V
* 2.9A
It has 4 pins.
* TODO: check pinout
=== Downstream kernel ===
Reply from Sony OSS department, 2023-04-13:
We are sorry that the source code for Sony Tablet S is not available now.
Best Regards,
Open Source Program Office, Sony Group Corporation
The Wayback Machine crawled the index page of the sources that were available at one point, but not the files: https://web.archive.org/web/20130601162319/http://www.sony.net/Products/Linux/Tablet/SGPT111.html
== See also ==
* dmesg log
Sony Xperia 10 (sony-kirin)

== Contributors ==
* Konrad Dybcio (@konradybcio)
* DarkNeutrino (@darkneutrino)
== Users owning this device ==
== How to enter flash mode ==
Enter Developer options on Android and enable OEM Unlock
Unlock your bootloader by following instructions here: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
Hold PWR and Vol+ until the LED becomes blue. Congratulations, you've entered fastboot.
== Installation ==
Make sure to flash the latest stock ROM (via Androxyde's Flashtool or SONY Flash Tool (notice the space in the tool from SONY))
Then, flash the latest ODM binaries for Ganges platform via (fastboot flash oem IMAGE_NAME.img)
Follow the Installation guide 
== See also ==
* Platform-common device page
* Konrad Dybcio's patchwork profile, new features will likely appear here.
* Open Merge Request
Sony Xperia 10 III (sony-pdx213)

== Contributors ==
* StandaSK
== Maintainer(s) ==
== Users owning this device ==
== How to enter flash mode ==
See the installation instructions from Sailfish for details on unlocking and entering flash mode.
== Installation ==
== Trivia ==
* This device is currently supported by Sailfish OS, using a non-mainline kernel.
* The hardware supports DP alt mode
== See also ==
* Specs on GSMArena.com
* Specs on Device Info HW
* 
* Mainline device tree
Sony Xperia 10 II (sony-pdx201)

== Users owning this device ==
== How to enter flash mode ==
Enter Developer options on Android and enable OEM Unlock
Unlock your bootloader by following instructions here: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
Hold PWR and Vol+ until the LED becomes blue. Congratulations, you've entered fastboot.
== Installation ==
Just your standard "pmbootstrap flasher" procedure
Sony Xperia 10 IV

== TODO ==
Not yet supported by postmarketOS.
== The Mainline Kernel ==
Device is in the mainline kernel. Device tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts
Sony Xperia 10 Plus (sony-mermaid)

== Contributors ==
* Konrad Dybcio (@konradybcio)
* DarkNeutrino (@darkneutrino)
== Users owning this device ==
== How to enter flash mode ==
Enter Developer options on Android and enable OEM Unlock
Unlock your bootloader by following instructions here: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
Hold PWR and Vol+ until the LED becomes blue. Congratulations, you've entered fastboot.
== Installation ==
Make sure to flash the latest stock ROM (via Androxyde's Flashtool or SONY Flash Tool (notice the space in the tool from SONY))
Then, flash the latest ODM binaries for Ganges platform via (fastboot flash oem IMAGE_NAME.img)
Follow the Installation guide 
== See also ==
* Platform-common device page
* Konrad Dybcio's patchwork profile, new features will likely appear here.
* Open Merge Request
Sony Xperia 1 II (sony-pdx203)

== Contributors ==
* tath1nhhdk
== 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.
== Installation ==
For more info on UFS see below
Because UFS doesn't work, you'll want to flash the rootfs to an sdcard. Use pmbootstrap install --sdcard=/dev/path-to-sdcard-device. Take a look at partitioning to understand what's going on here. 
You'll need to flash some empty bytes to the dtbo due to a bootloader bug. Create a file with two empty bytes with truncate -s 2 emptystuff.img and then flash it with fastboot flash dtbo emptystuff.img
Then flash the kernel as usual, by putting the device into flash mode (fastboot) and then running pmbootstrap flasher flash-kernel.
== Status ==
This device belongs to the Sony Edo platform, which is the Xperia 1 II (this one, pdx203), Xperia 5 II (pdx206) and the 2020 Xperia PRO (pdx204). This might warrant a common platform page if anyone gets their hands on another Edo.
Work has been done on the device trees in the mainline kernel by the folks over at somainline. The device does boot, but I can't get SSH to work, telnet works fine, also for some reason the initramfs cannot find my sdcard
== 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 ==
* Mainline device tree
* Page at somainline
* postmarketOS device package
Sony Xperia 5 II (sony-pdx206)

== Contributors ==
* Konrad Dybcio (@konradybcio)
== 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.
== Installation ==
no actual aport at the moment. 
For more info on UFS see below
Because UFS doesn't work, you'll want to flash the rootfs to an sdcard. Use pmbootstrap install --sdcard=/dev/path-to-sdcard-device. Take a look at partitioning to understand what's going on here. 
You'll need to flash some empty bytes to the dtbo due to a bootloader bug. Get a file with two empty bytes and then flash it with fastboot flash dtbo emptystuff.img
Then flash the kernel as usual, by putting the device into flash mode (fastboot) and then running pmbootstrap flasher flash-kernel.
== Status ==
This device belongs to the Sony Edo platform, which is the Xperia 1 II (pdx203), Xperia 5 II (this one, pdx206) and the 2020 Xperia PRO (pdx204). This might warrant a common platform page if anyone gets their hands on another Edo.
The defining features of the Xperia 5 II compared to other Edo is as follows:
* 128GB UFS + 8GB RAM. GSMArena mentions a 256GB variant but it's not certain that it exists.
* lack of TOF depth camera
* smaller display resolution (both other Edo have 1644 x 3840), running at 120hz (other Edo run at 60hz)
* smaller overall body
Work has been done on the device trees in the mainline kernel by the folks over at somainline. The device does boot, USB networking and ssh work, and the framebuffer works, so x11 UIs should 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 ==
* Mainline device tree
* Page at somainline
Sony Xperia E1 (sony-falconss)

== Contributors ==
== Maintainer(s) ==
== Users owning this device ==
KarolKusmierski
== How to enter flash mode ==
# Power off: tap power off on display
# Connect usb cable to computer
# Press and hold 
# Connect usb cable to phone
# Hold until led turns blue
# Fastboot mode is now active
== Installation ==
== See also ==
* initial PR
Sony Xperia E3 Dual (D2212)

== Contributors ==
* Pigeon_risotto (put your username here!)
== Users owning this device ==
== How to enter flash mode ==
== Installation ==
Use pmbootstrap to build your own installation image.
To enter fastboot, hold volume up and connect phone to computer. 
== Notes ==
* There are multiple Xperia E3 variants, all with codename "flamingo": 
** MSM8926-2-based: D2203, D2206, D2243
** MSM8226-2-based: D2202, D2212.
* Apparently, D2202 and D2212 are mostly compatibleGUIDE - How to compile kernel for Xperia E3 - XDA Forums "For D2202 and D2212" vs "For D2203 and D2206 and D2243"4pda forum, Sony Xperia E3/E3 Dual - Прошивки "Sony Xperia E3 модели D2212 и D2202 одинаковые, за исключением количеством сим-карт!" "Sony Xperia E3 D2212 and D2202 models are the same, except number of sim cards"
* To edit Kconfig, use pmbootstrap kconfig edit -n (regular interface does not work)
== See also ==
* White paper
Sony Xperia E Dual (sony-nanhu)

== Contributors ==
* Nicknack
== What works ==
* Compiling the kernel
== What does not work ==
* Flashing, there are problems with Sony's boot image format
The built kernel boots with a black screen and no further sign of acitivity. Fastboot flashes without errors but flash offsets are probably wrong. Only known working kernels have a different ELF file format.
== Boot image format ==
There is one tool avaiable for unpacking Sony's ELF boot format into the normal ANDROID format:
libbootimg
Sadly, even unpacking and repacking a working prebuilt kernel doesn't seem to work.
I had more luck with mkelf.py script from Sony. You can loosely follow the tutorial here. This time unpacking a working kernel elf image and repacking it with mkefl.py worked. Needed to change only a few bits with vbindiff. Now we only need to find a working set of offsets and image parts to do the same with a custom kernel!
Here are some links describing the problem with Sony's boot format:
* https://github.com/chenxiaolong/DualBootPatcher/issues/181
* https://github.com/Tasssadar/libbootimg/pull/2/commits/8986984b5d618be0b753e55d6b9d9d1744bc4094
* https://books.google.de/books?id=2qo6AwAAQBAJ&pg=PA313&lpg=PA313&dq=sony+boot.img+format&source=bl&ots=0mtMMle9eZ&sig=adCVtfarXK9cticvd5qqYA6g39Y&hl=de&sa=X&ved=0ahUKEwjgp5mfx5XVAhUHWRQKHWSeDZcQ6AEIQzAB#v=onepage&q&f=false
== Next possible steps ==
* Try booting pmOS with a prebuilt kernel.
* Try repacking built kernel into ELF format
* UART debugging?
== Links ==
* Device package
* Kernel Source
* Kernel Source LineageOS
* Kernel Source FreeXperia
Sony Xperia J (sony-jlo)

== Contributors ==
* WilliamO7
== Maintainer(s) ==
* WilliamO7
== Users owning this device ==
== What works ==
* Nothing.
== What does not work ==
* Everything!
== To test/do ==
* Figure out the bootimg format and make the phone boot.
* Get everything else working.
== How to enter flash mode ==
When the device is powered off, press while plugging in a microUSB cable to enter fastboot.
Nothing will be displayed on the screen when this occurs.
== Installation ==
Can be flashed normally, but it will not boot atm, see below.
== Booting ==
* The Sony Xperia J along with some other 2012/13 Xperia phones (such as its previously attempted sister device Xperia E use a notoriously difficult (to use and generate properly) ELF format for boot images, which we can't generate bootable versions of right now.
* Rudimentary support for these formats have been added and requested for inclusion into upstream.
* One thing of note is that the FreeXperia project (now defunct) got a working CM/LOS10 build on this phone (used at the time of testing) and has quite an interesting init script to allow for using LEDs and recovery - the ROM can be downloaded from here if you want to research further (sorry for restrictive host.) 
== Links ==
* GSMArena
Sony Xperia M2 (sony-eagle)

== Contributors ==
* ilpianista
== Maintainer(s) ==
*ilpianista
== Users owning this device ==
== How to enter flash mode ==
Volume up + power
 adb wait-for-device && adb reboot bootloader
You will need an unlocked bootloader. To unlock it follow the official guide by Sony.
== Installation ==
== See also ==
* 
* 
* Red Screen issue
Sony Xperia M4 Aqua (sony-tulip)

== 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
== Maintainer(s) ==
* Konrad Dybcio (@konradybcio)
== 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
- The device can probably be mainlined since 8936/8939 is a 8916-class soc
- If camera ever gets fixed, it will need Sony's proprietary blobs to run
== Installation ==
Fastboot and TWRP zips work fine.
== Mainline kernel ==
An upstream mainline kernel is available here
== See also ==
* Initial merge request
* 
*