|
| 1 | +metadata: |
| 2 | + maintainer: Tobias Sterbak (tsterbak)/SirRGB |
| 3 | + device_name: Sony Xperia Z3 compact |
| 4 | + is_ab_device: false |
| 5 | + device_code: z3c |
| 6 | + supported_device_codes: |
| 7 | + - z3c |
| 8 | + untested: true |
| 9 | +requirements: |
| 10 | + firmware: 23.5.A.1.291 |
| 11 | +steps: |
| 12 | + unlock_bootloader: |
| 13 | + - type: confirm_button |
| 14 | + content: > |
| 15 | + As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu. |
| 16 | + - type: confirm_button |
| 17 | + content: > |
| 18 | + Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.' |
| 19 | + - type: confirm_button |
| 20 | + content: > |
| 21 | + Now go to Settings 'About the phone' and then Status. Write down the IMEI of your device. You will need it in the next step. |
| 22 | + - type: link_button_with_confirm |
| 23 | + content: > |
| 24 | + Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader. |
| 25 | + Once you got the code write it down somewhere and continue to input the code. |
| 26 | + link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ |
| 27 | + - type: confirm_button |
| 28 | + content: > |
| 29 | + Connect the device to your PC via USB. And confirm to continue. |
| 30 | + - type: call_button |
| 31 | + content: > |
| 32 | + Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue. |
| 33 | + command: adb_reboot_bootloader |
| 34 | + - type: call_button_with_input |
| 35 | + content: > |
| 36 | + Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6). |
| 37 | + If you already did that, you can skip this step. |
| 38 | + command: fastboot_unlock_with_code |
| 39 | + - type: call_button |
| 40 | + content: > |
| 41 | + Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue. |
| 42 | + Connect your device to your PC via USB. Then confirm here to continue. |
| 43 | + command: fastboot_reboot |
| 44 | + boot_recovery: |
| 45 | + - type: call_button |
| 46 | + content: > |
| 47 | + Now you have to reboot into bootloader again. With your phone turned on, press the button to do so and continue once it is done. |
| 48 | + command: adb_reboot_bootloader |
| 49 | + - type: call_button |
| 50 | + content: > |
| 51 | + Next, you need to boot a custom recovery image. Press the button to flash the selected image. Then continue. |
| 52 | + command: fastboot_flash_boot |
0 commit comments