-
Notifications
You must be signed in to change notification settings - Fork 76
/
herolte.yml
103 lines (103 loc) · 3.51 KB
/
herolte.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
name: "Samsung Galaxy S7 Exynos"
codename: "herolte"
formfactor: "phone"
aliases: ["heroltexx"]
doppelgangers: []
user_actions:
recovery:
title: "Reboot to Recovery"
description: "If your device did not reboot into Recovery, power off the device, then hold Volume Up + Home + Power."
image: "phone_power_up"
button: true
download:
title: "Reboot to Download Mode"
description: "Press and hold Volume Down + Home + Power, until you see the Warning about Custom OS installations, press Volume Up to Continue, then you may have to unplug and plug the USB cord back in."
image: "phone_power_down"
button: true
herolte_check:
title: "Unlock Bootloader"
description: "You need an unlocked bootloader. If your bootloader was never unlocked, please refer to the first two oem unlock steps linked here."
link: "https://forum.xda-developers.com/t/recovery-exynos-official-twrp-for-galaxy-s7-herolte.3333770/"
unlock: []
handlers:
bootloader_locked:
actions:
- fastboot:oem_unlock:
operating_systems:
- name: "Ubuntu Touch"
compatible_installer: ">=0.9.6-beta"
options:
- var: "channel"
name: "Channel"
tooltip: "The release channel"
link: "https://docs.ubports.com/en/latest/about/process/release-schedule.html"
type: "select"
remote_values:
systemimage:channels:
- var: "wipe"
name: "Wipe Userdata"
tooltip: "Wipe personal data (required for new installs)"
type: "checkbox"
prerequisites:
- "herolte_check"
steps:
- actions:
- core:download:
group: "firmware"
files:
- url: "https://github.com/Kethen/samsung-exynos8890/releases/download/2022-07-23/recovery_herolte.img"
checksum:
sum: "d573383abf8cc8112910d237e212174359b2611372289afa83ff70ffea91763f"
algorithm: "sha256"
- url: "https://github.com/Kethen/samsung-exynos8890/releases/download/2022-07-23/boot-reboot-recovery-herolte.img"
checksum:
sum: "05524f217e71494e88e077b54facfe00ce324674a4b84e4300a2793ed22ead90"
algorithm: "sha256"
- actions:
- core:user_action:
action: "download"
- actions:
- heimdall:flash:
partitions:
- partition: "BOOT"
file: "boot-reboot-recovery-herolte.img"
group: "firmware"
- partition: "RECOVERY"
file: "recovery_herolte.img"
group: "firmware"
- actions:
- adb:reboot:
to_state: "recovery"
fallback:
- core:user_action:
action: "recovery"
- actions:
- adb:shell:
["mkfs.ext4", "/dev/block/platform/155a0000.ufs/by-name/USERDATA"]
condition:
var: "wipe"
value: true
- actions:
- adb:shell: ["mount", "/data"]
condition:
var: "wipe"
value: true
- actions:
- adb:shell: ["mkdir", "/data/cache"]
condition:
var: "wipe"
value: true
- actions:
- adb:shell: ["mount", "/data"]
condition:
var: "wipe"
value: false
- actions:
- systemimage:install:
- actions:
- adb:reboot:
to_state: "recovery"
fallback:
- core:user_action:
action: "recovery"
slideshow: []