Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flash manually downloaded OEM binaries on Suzu #40

Merged
merged 4 commits into from
Oct 27, 2020
Merged
Changes from 1 commit
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
31 changes: 31 additions & 0 deletions v1/suzu.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"codename": "suzu",
"unlock": ["confirm_model", "upgrade_android"],
"user_actions": {

retro486 marked this conversation as resolved.
Show resolved Hide resolved
"recovery": {
"title": "Reboot to Recovery",
"description": "With the device powered off, hold Volume Down + Power.",
Expand Down Expand Up @@ -60,6 +61,19 @@
],
"prerequisites": [],
"steps": [
{
"type": "manual_download",
"condition": {"var": "bootstrap", "value": true},
"group": "firmware",
"file": {
"name": "SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_loire.img",
"url": "https://developer.sony.com/file/download/software-binaries-for-aosp-nougat-android-7-1-kernel-4-4-loire/",
"checksum": {
"sum": "38fe0b6a72f4f2373529f29b12cba010a987cb3fa9417aebd7e3279eeea0798e",
"algorithm": "sha256"
}
}
},
{
"type": "download",
"condition": {"var": "bootstrap", "value": true},
Expand All @@ -77,6 +91,23 @@
"to_state": "bootloader",
"fallback_user_action": "bootloader"
},
{
"type": "fastboot:flash",
"condition": {"var": "bootstrap", "value": true},
"flash": [
{
"partition": "oem",
"file": "SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_loire.img",
"group": "firmware",
"raw": true
retro486 marked this conversation as resolved.
Show resolved Hide resolved
}
]
},
{
"type": "fastboot:erase",
"condition": {"var": "bootstrap", "value": true},
"partition": "system"
},
retro486 marked this conversation as resolved.
Show resolved Hide resolved
{
"type": "fastboot:flash",
"condition": {"var": "bootstrap", "value": true},
Expand Down