Skip to content

Commit 0c8706a

Browse files
committed
configs: add yoshino devices
* copied from z3 Signed-off-by: SirRGB <sirrgb@proton.me>
1 parent c4aec8d commit 0c8706a

8 files changed

Lines changed: 384 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,13 @@ Sony | Xperia Z3 | [z3](https://wiki.lineageos.org/devices/z3) | | tested
201201
Sony | Xperia 10 | [kirin](https://wiki.lineageos.org/devices/kirin) | | tested
202202
Sony | Xperia 10 Plus | [mermaid](https://wiki.lineageos.org/devices/mermaid) | | tested
203203
Sony | Xperia XA2 | [pioneer](https://wiki.lineageos.org/devices/pioneer) | | tested
204+
Sony | Xperia XZ Premium | maple | G8141 | untested
205+
Sony | Xperia XZ Premium Dual Sim | maple_dsds | G8142 | untested
206+
Sony | Xperia XZ1 | poplar | G8341 | tested
207+
Sony | Xperia XZ1 Dual Sim | poplar_dsds | G8342 | untested
208+
Sony | Xperia XZ1 Canada | poplar_canada | G8343 | untested
209+
Sony | Xperia XZ1 KDDI | poplar_kddi | SOV36 | untested
210+
Sony | Xperia XZ1 Compact | lilac | G8441, G8442 | untested
204211
Sony | Xperia XZ2 | [akari](https://wiki.lineageos.org/devices/akari) | | tested
205212
Sony | Xperia XZ2 Compact | [xz2c](https://wiki.lineageos.org/devices/xz2c) | | untested
206213
Sony | Xperia XZ2 Premium | [aurora](https://wiki.lineageos.org/devices/aurora) | | untested
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)/SirRGB
3+
device_name: Sony Xperia XZ1 Compact
4+
is_ab_device: false
5+
device_code: lilac
6+
supported_device_codes:
7+
- lilac
8+
- G8441
9+
twrp-link: lilac
10+
untested: true
11+
requirements:
12+
android: 9
13+
steps:
14+
unlock_bootloader:
15+
- type: confirm_button
16+
content: >
17+
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
18+
- type: confirm_button
19+
content: >
20+
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
21+
- type: confirm_button
22+
content: >
23+
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.
24+
- type: link_button_with_confirm
25+
content: >
26+
Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader.
27+
Once you got the code write it down somewhere and continue to input the code.
28+
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
29+
- type: confirm_button
30+
content: >
31+
Connect the device to your PC via USB. And confirm to continue.
32+
- type: call_button
33+
content: >
34+
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
35+
command: adb_reboot_bootloader
36+
- type: call_button_with_input
37+
content: >
38+
Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6).
39+
If you already did that, you can skip this step.
40+
command: fastboot_unlock_with_code
41+
- type: call_button
42+
content: >
43+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
44+
Connect your device to your PC via USB. Then confirm here to continue.
45+
command: fastboot_reboot
46+
boot_recovery:
47+
- type: call_button
48+
content: >
49+
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.
50+
command: adb_reboot_bootloader
51+
- type: call_button
52+
content: >
53+
Next, you need to boot a custom recovery image. Press the button to flash the selected image. Then continue.
54+
command: fastboot_flash_boot
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)/SirRGB
3+
device_name: Sony Xperia XZ Premium
4+
is_ab_device: false
5+
device_code: maple
6+
supported_device_codes:
7+
- maple
8+
- G8141
9+
twrp-link: maple
10+
untested: true
11+
requirements:
12+
android: 9
13+
steps:
14+
unlock_bootloader:
15+
- type: confirm_button
16+
content: >
17+
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
18+
- type: confirm_button
19+
content: >
20+
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
21+
- type: confirm_button
22+
content: >
23+
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.
24+
- type: link_button_with_confirm
25+
content: >
26+
Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader.
27+
Once you got the code write it down somewhere and continue to input the code.
28+
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
29+
- type: confirm_button
30+
content: >
31+
Connect the device to your PC via USB. And confirm to continue.
32+
- type: call_button
33+
content: >
34+
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
35+
command: adb_reboot_bootloader
36+
- type: call_button_with_input
37+
content: >
38+
Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6).
39+
If you already did that, you can skip this step.
40+
command: fastboot_unlock_with_code
41+
- type: call_button
42+
content: >
43+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
44+
Connect your device to your PC via USB. Then confirm here to continue.
45+
command: fastboot_reboot
46+
boot_recovery:
47+
- type: call_button
48+
content: >
49+
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.
50+
command: adb_reboot_bootloader
51+
- type: call_button
52+
content: >
53+
Next, you need to boot a custom recovery image. Press the button to flash the selected image. Then continue.
54+
command: fastboot_flash_boot
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)/SirRGB
3+
device_name: Sony Xperia XZ Premium Dual Sim
4+
is_ab_device: false
5+
device_code: maple_dsds
6+
supported_device_codes:
7+
- maple_dsds
8+
- G8142
9+
twrp-link: maple_dsds
10+
untested: true
11+
requirements:
12+
android: 9
13+
steps:
14+
unlock_bootloader:
15+
- type: confirm_button
16+
content: >
17+
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
18+
- type: confirm_button
19+
content: >
20+
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
21+
- type: confirm_button
22+
content: >
23+
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.
24+
- type: link_button_with_confirm
25+
content: >
26+
Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader.
27+
Once you got the code write it down somewhere and continue to input the code.
28+
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
29+
- type: confirm_button
30+
content: >
31+
Connect the device to your PC via USB. And confirm to continue.
32+
- type: call_button
33+
content: >
34+
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
35+
command: adb_reboot_bootloader
36+
- type: call_button_with_input
37+
content: >
38+
Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6).
39+
If you already did that, you can skip this step.
40+
command: fastboot_unlock_with_code
41+
- type: call_button
42+
content: >
43+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
44+
Connect your device to your PC via USB. Then confirm here to continue.
45+
command: fastboot_reboot
46+
boot_recovery:
47+
- type: call_button
48+
content: >
49+
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.
50+
command: adb_reboot_bootloader
51+
- type: call_button
52+
content: >
53+
Next, you need to boot a custom recovery image. Press the button to flash the selected image. Then continue.
54+
command: fastboot_flash_boot
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)/SirRGB
3+
device_name: Sony Xperia XZ1
4+
is_ab_device: false
5+
device_code: poplar
6+
supported_device_codes:
7+
- poplar
8+
- G8341
9+
twrp-link: poplar
10+
requirements:
11+
android: 9
12+
steps:
13+
unlock_bootloader:
14+
- type: confirm_button
15+
content: >
16+
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
17+
- type: confirm_button
18+
content: >
19+
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
20+
- type: confirm_button
21+
content: >
22+
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.
23+
- type: link_button_with_confirm
24+
content: >
25+
Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader.
26+
Once you got the code write it down somewhere and continue to input the code.
27+
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
28+
- type: confirm_button
29+
content: >
30+
Connect the device to your PC via USB. And confirm to continue.
31+
- type: call_button
32+
content: >
33+
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
34+
command: adb_reboot_bootloader
35+
- type: call_button_with_input
36+
content: >
37+
Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6).
38+
If you already did that, you can skip this step.
39+
command: fastboot_unlock_with_code
40+
- type: call_button
41+
content: >
42+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
43+
Connect your device to your PC via USB. Then confirm here to continue.
44+
command: fastboot_reboot
45+
boot_recovery:
46+
- type: call_button
47+
content: >
48+
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.
49+
command: adb_reboot_bootloader
50+
- type: call_button
51+
content: >
52+
Next, you need to boot a custom recovery image. Press the button to flash the selected image. Then continue.
53+
command: fastboot_flash_boot
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)/SirRGB
3+
device_name: Sony Xperia XZ1 Canada
4+
is_ab_device: false
5+
device_code: poplar_canada
6+
supported_device_codes:
7+
- poplar_canada
8+
- G8343
9+
twrp-link: poplar_canada
10+
untested: true
11+
requirements:
12+
android: 9
13+
steps:
14+
unlock_bootloader:
15+
- type: confirm_button
16+
content: >
17+
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
18+
- type: confirm_button
19+
content: >
20+
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
21+
- type: confirm_button
22+
content: >
23+
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.
24+
- type: link_button_with_confirm
25+
content: >
26+
Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader.
27+
Once you got the code write it down somewhere and continue to input the code.
28+
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
29+
- type: confirm_button
30+
content: >
31+
Connect the device to your PC via USB. And confirm to continue.
32+
- type: call_button
33+
content: >
34+
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
35+
command: adb_reboot_bootloader
36+
- type: call_button_with_input
37+
content: >
38+
Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6).
39+
If you already did that, you can skip this step.
40+
command: fastboot_unlock_with_code
41+
- type: call_button
42+
content: >
43+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
44+
Connect your device to your PC via USB. Then confirm here to continue.
45+
command: fastboot_reboot
46+
boot_recovery:
47+
- type: call_button
48+
content: >
49+
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.
50+
command: adb_reboot_bootloader
51+
- type: call_button
52+
content: >
53+
Next, you need to boot a custom recovery image. Press the button to flash the selected image. Then continue.
54+
command: fastboot_flash_boot
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)/SirRGB
3+
device_name: Sony Xperia XZ1 Dual Sim
4+
is_ab_device: false
5+
device_code: poplar_dsds
6+
supported_device_codes:
7+
- poplar_dsds
8+
- G8342
9+
twrp-link: poplar_dsds
10+
untested: true
11+
requirements:
12+
android: 9
13+
steps:
14+
unlock_bootloader:
15+
- type: confirm_button
16+
content: >
17+
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
18+
- type: confirm_button
19+
content: >
20+
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
21+
- type: confirm_button
22+
content: >
23+
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.
24+
- type: link_button_with_confirm
25+
content: >
26+
Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader.
27+
Once you got the code write it down somewhere and continue to input the code.
28+
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
29+
- type: confirm_button
30+
content: >
31+
Connect the device to your PC via USB. And confirm to continue.
32+
- type: call_button
33+
content: >
34+
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
35+
command: adb_reboot_bootloader
36+
- type: call_button_with_input
37+
content: >
38+
Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6).
39+
If you already did that, you can skip this step.
40+
command: fastboot_unlock_with_code
41+
- type: call_button
42+
content: >
43+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
44+
Connect your device to your PC via USB. Then confirm here to continue.
45+
command: fastboot_reboot
46+
boot_recovery:
47+
- type: call_button
48+
content: >
49+
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.
50+
command: adb_reboot_bootloader
51+
- type: call_button
52+
content: >
53+
Next, you need to boot a custom recovery image. Press the button to flash the selected image. Then continue.
54+
command: fastboot_flash_boot
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)/SirRGB
3+
device_name: Sony Xperia XZ1 KDDI
4+
is_ab_device: false
5+
device_code: poplar_kddi
6+
supported_device_codes:
7+
- poplar_kddi
8+
- G8341
9+
twrp-link: poplar_kddi
10+
untested: true
11+
requirements:
12+
android: 9
13+
steps:
14+
unlock_bootloader:
15+
- type: confirm_button
16+
content: >
17+
As a first step, you need to unlock the bootloader of your device. On the device, dial *#*#7378423#*#* (*#*#SERVICE#*#*) to launch the service menu.
18+
- type: confirm_button
19+
content: >
20+
Go to service info > configuration and check rooting status - you can only continue if it says 'Bootloader unlock allowed":" Yes.'
21+
- type: confirm_button
22+
content: >
23+
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.
24+
- type: link_button_with_confirm
25+
content: >
26+
Click on the button to open the instructions on Sonys official unlocking website to generate an unlock code for your bootloader.
27+
Once you got the code write it down somewhere and continue to input the code.
28+
link: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
29+
- type: confirm_button
30+
content: >
31+
Connect the device to your PC via USB. And confirm to continue.
32+
- type: call_button
33+
content: >
34+
Press the button to reboot into the bootloader now. When the notification light turns blue, confirm to continue.
35+
command: adb_reboot_bootloader
36+
- type: call_button_with_input
37+
content: >
38+
Use your code to unlock the bootloader of your device. Type in the full 18 character code starting with 0x (Example: 0x3EC4F7AD6E0B32B6).
39+
If you already did that, you can skip this step.
40+
command: fastboot_unlock_with_code
41+
- type: call_button
42+
content: >
43+
Press the button to reboot. Since the device resets completely, you will need to re-enable USB debugging to continue.
44+
Connect your device to your PC via USB. Then confirm here to continue.
45+
command: fastboot_reboot
46+
boot_recovery:
47+
- type: call_button
48+
content: >
49+
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.
50+
command: adb_reboot_bootloader
51+
- type: call_button
52+
content: >
53+
Next, you need to boot a custom recovery image. Press the button to flash the selected image. Then continue.
54+
command: fastboot_flash_boot

0 commit comments

Comments
 (0)