Skip to content

Commit ec57171

Browse files
committed
Add config for Galaxy S9
1 parent 7277751 commit ec57171

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

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)
3+
devicename: Samsung Galaxy S9
4+
devicecode: starlte
5+
steps:
6+
unlock_bootloader:
7+
flash_recovery:
8+
- title: "Boot into bootloader"
9+
type: call_button
10+
content: >
11+
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
12+
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
13+
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
14+
command: "adb reboot download"
15+
- title: "Flash custom recovery"
16+
type: call_button
17+
content: In this step, you need to flash a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
18+
command: "heimdall flash --no-reboot --RECOVERY <recovery>"
19+
- title: "Boot into recovery"
20+
type: confirm_button
21+
content: >
22+
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the Volume Down + Power buttons for 8~10 seconds
23+
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
24+
hold Volume Up + Bixby + Power.
25+
install_os:
26+
- title: "Flash LineageOS"
27+
type: confirm_button
28+
content: >
29+
Now swipe right to allow modifications then tap 'Wipe' on your phone.
30+
Next tap 'Format Data' and follow the instructions on your phone to continue with the formatting process.
31+
This will remove encryption and delete all files stored in the internal storage. Confirm to continue once you are done.
32+
- title: "Flash LineageOS"
33+
type: confirm_button
34+
content: >
35+
Return to the previous menu on your phone by going back two times.
36+
Them tap 'Advanced Wipe', and select the 'Cache' and 'System' partitions and then 'Swipe to Wipe'.
37+
Confirm to continue once you are done.
38+
- title: "Flash LineageOS"
39+
type: confirm_button
40+
content: >
41+
Now connect the phone to the computer again with the USB-cable. On the device, go back three times and select “Advanced”,
42+
then “ADB Sideload”. Select 'Wipe cache' and 'Wipe dalvik cache', then swipe to begin sideload. Then confirm here.
43+
- title: "Flash LineageOS"
44+
type: call_button
45+
content: >
46+
Now it's time to flash the LineageOS image. Don't remove the USB-Cable and press 'Confirm and run' to start!
47+
This might take a while. Confirm after it's done.
48+
command: "adb sideload <image>"
49+
- title: "Reboot into LineageOS"
50+
type: call_button
51+
content: As a final step, reboot into LineageOS to finish the installation by pressing the button.
52+
command: "adb reboot"

0 commit comments

Comments
 (0)