Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions 12/pdx237.md
Original file line number Diff line number Diff line change
@@ -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!