Skip to content

Commit 360c52b

Browse files
committed
configs: add z3c support
* z3/c are basically the same phone, so lets copy its config Signed-off-by: SirRGB <sirrgb@proton.me>
1 parent 0c8706a commit 360c52b

2 files changed

Lines changed: 53 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ Vendor | Device Name | CodeName | Models | Status
198198
---|---|---|---|---
199199
Sony | Xperia Z | [yuga](https://wiki.lineageos.org/devices/yuga) | C6603 | tested
200200
Sony | Xperia Z3 | [z3](https://wiki.lineageos.org/devices/z3) | | tested
201+
Sony | Xperia Z3 Compact | [z3c](https://wiki.lineageos.org/devices/z3c) | | untested
201202
Sony | Xperia 10 | [kirin](https://wiki.lineageos.org/devices/kirin) | | tested
202203
Sony | Xperia 10 Plus | [mermaid](https://wiki.lineageos.org/devices/mermaid) | | tested
203204
Sony | Xperia XA2 | [pioneer](https://wiki.lineageos.org/devices/pioneer) | | tested
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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

Comments
 (0)