From bcfd900c23f917227fe841ae5cef7dda879ff624 Mon Sep 17 00:00:00 2001 From: eepymeowers System <106939391+eepymeowers@users.noreply.github.com> Date: Tue, 30 Dec 2025 15:08:22 -0500 Subject: [PATCH 1/2] Add pdx237 (Sony Xperia 5 V) install documentation --- 12/pdx237.md | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 12/pdx237.md diff --git a/12/pdx237.md b/12/pdx237.md new file mode 100644 index 0000000..1427c35 --- /dev/null +++ b/12/pdx237.md @@ -0,0 +1,72 @@ +### Pre-installation: + +* You must be on the stock ROM on Android 14 or 15 to proceed; you can use XperiFirm to install these versions +* Optional gapps (from download page, gapps button) + + +### First time installation (clean flash): + +* Step 1 +Unlock the bootloader by following the steps at [Sony's website for bootloader unlocking](https://developerworld.wpp.developer.sony.com/open-source/aosp-on-xperia-open-devices/get-started/unlock-bootloader/how-to-unlock-bootloader) +* Step 2 +Download boot.img, dtbo.img, vbmeta.img, recovery.img, and vendor_boot.img from the download website. +* Step 3 +Power off the device and boot into bootloader mode by holding Volume Up and connecting the USB cable. There should be a blue asterik in the top left corner of the screen. +* Step 4 +Connect the phone to your computer and run the following commands from the directory you downloaded the files in: +``` +fastboot flash boot boot.img +fastboot flash dtbo dtbo.img +fastboot flash vbmeta vbmeta.img +fastboot flash vendor_boot vendor_boot.img +fastboot flash recovery recovery.img +``` +* Step 5 +Reboot into recovery by running +``` +fastboot reboot recovery +``` +If the crDroid recovery does not show up, reflash recovery and try again. + +* Step 6 +To prevent issues due to the inactive A/B slot being unpopulated or containing much older firmware, we will copy the contents of the active slot to the inactive slot. +1. Download the copy-partitions-20220613-signed.zip file from [here](https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip) +2. On the device, select "Apply update", then "Apply from ADB" to begin sideloading. +3. On the computer, sideload the package by running: +``` +adb -d sideload copy-partitions-20220613-signed.zip +``` +Then, on the phone, tap Advanced -> Reboot to recovery. + +* Step 7 +1. Download the crDroid Android zip file from [here](https://crdroid.net/pdx237/12) +2. On the phone, select Factory reset -> Format data/factory reset. **This will delete all of your files!** +3. Return to the main menu and select Apply update -> Apply from ADB. +4. On the host computer, run the command: +``` +adb -d sideload /path/to/zip +``` +replacing /path/to/zip with where you stored the crDroid zip file. +It will most likely stop at 47%, and the phone will ask if you want to install any additional packages while in recovery. +If you want to install Gapps or anything like that needing to be installed in recovery, do it now. +Once done, go back to the main menu and select Reboot to system. + +You're done! + +### Manual update installation: + +* Step 1 +1. Download the crDroid Android zip file from [here](https://crdroid.net/pdx237/12) +* Step 2 +On the phone, enter recovery mode by powering off the phone and holding Volume Down + Power. Once in recovery, select Apply update -> Apply from ADB and plug the phone into the computer. +* Step 3 +On the host machine, sideload the ZIP by running: +``` +adb -d sideload /path/to/zip +``` +replacing /path/to/zip with where you stored the crDroid zip file. +It will most likely stop at 47%, and the phone will ask if you want to install any additional packages while in recovery. +If you want to install Gapps or anything like that needing to be installed in recovery, do it now. +Once done, go back to the main menu and select Reboot to system. + +You're done! From 67f48477ee37cbf4aebb01830b50261f6f5dbac7 Mon Sep 17 00:00:00 2001 From: Lup Gabriel Date: Wed, 31 Dec 2025 14:36:48 +0200 Subject: [PATCH 2/2] formatting --- 12/pdx237.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/12/pdx237.md b/12/pdx237.md index 1427c35..bf2f431 100644 --- a/12/pdx237.md +++ b/12/pdx237.md @@ -14,6 +14,7 @@ Download boot.img, dtbo.img, vbmeta.img, recovery.img, and vendor_boot.img from Power off the device and boot into bootloader mode by holding Volume Up and connecting the USB cable. There should be a blue asterik in the top left corner of the screen. * Step 4 Connect the phone to your computer and run the following commands from the directory you downloaded the files in: + ``` fastboot flash boot boot.img fastboot flash dtbo dtbo.img @@ -22,7 +23,8 @@ fastboot flash vendor_boot vendor_boot.img fastboot flash recovery recovery.img ``` * Step 5 -Reboot into recovery by running +Reboot into recovery by running + ``` fastboot reboot recovery ``` @@ -33,6 +35,7 @@ To prevent issues due to the inactive A/B slot being unpopulated or containing m 1. Download the copy-partitions-20220613-signed.zip file from [here](https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip) 2. On the device, select "Apply update", then "Apply from ADB" to begin sideloading. 3. On the computer, sideload the package by running: + ``` adb -d sideload copy-partitions-20220613-signed.zip ``` @@ -43,6 +46,7 @@ Then, on the phone, tap Advanced -> Reboot to recovery. 2. On the phone, select Factory reset -> Format data/factory reset. **This will delete all of your files!** 3. Return to the main menu and select Apply update -> Apply from ADB. 4. On the host computer, run the command: + ``` adb -d sideload /path/to/zip ``` @@ -61,6 +65,7 @@ You're done! On the phone, enter recovery mode by powering off the phone and holding Volume Down + Power. Once in recovery, select Apply update -> Apply from ADB and plug the phone into the computer. * Step 3 On the host machine, sideload the ZIP by running: + ``` adb -d sideload /path/to/zip ```