Skip to content

Commit ee7579e

Browse files
committed
Update readme with warnings, add config for Galaxy A5 2016
1 parent c9f5b7f commit ee7579e

File tree

3 files changed

+41
-5
lines changed

3 files changed

+41
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<br />
22
<div align="center">
33
<h1>OpenAndroidInstaller</h1>
4+
<p>Makes installing alternative Android distributions nice and easy.</p>
45
<a href="https://github.com/openandroidinstaller-dev/openandroidinstaller">
56
<img src="openandroidinstaller/assets/logo-192x192.png" alt="OpenAndroidInstaller" height="80">
67
</a>
78

89
<p align="center">
9-
<br />
10-
Makes installing alternative Android distributions nice and easy.
1110
<br />
1211
The OpenAndroidInstaller project helps Android users to keep their smartphone's operating system up to date with free software and to continue using the device even though the manufacturer no longer offers updates. With a graphical installation software, users are easily guided through the installation process of free Android operating systems like LineageOS.
1312
<br />
@@ -21,8 +20,9 @@
2120
</p>
2221
</div>
2322

23+
> **Warning**: This application is currently in alpha state, so use at your own risk! I take no responsibility for bricked devices or dead SD cards.
2424
25-
## Warning: Unlocking the bootloader will erase all data on your device!
25+
> **Note**: Unlocking the bootloader will erase all data on your device!
2626
This also includes your DRM keys, which are stored in the Trim Area partition (also called TA).
2727
Before proceeding, ensure the data you would like to retain is backed up to your PC and/or your Google account, or equivalent. Please note that OEM backup solutions like Samsung and Motorola backup may not be accessible from LineageOS once installed.
2828
If you wish to backup the TA partition first, you can find tutorials related to your device on the internet.
@@ -48,7 +48,7 @@ Sony | Xperia Z | yuga | | tested
4848

4949
## Usage
5050

51-
Download the lineageOS image and the custom recovery image.
51+
Download the lineageOS image and the custom recovery image. A source for files can be found here: https://lineageosroms.com
5252
Start the desktop app and follow the instructions.
5353

5454
## Run OpenAndroidInstaller for development
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
steps:
2+
- title: "Boot into recovery"
3+
type: confirm_button
4+
content: "Turn on your device and wait until its fully booted."
5+
- title: "Boot into recovery"
6+
type: call_button
7+
content: "Reboot into bootloader"
8+
command: "adb reboot download"
9+
- title: "Boot into recovery"
10+
type: call_button
11+
content: "Flash custom recovery"
12+
command: "heimdall flash --no-reboot --RECOVERY <recovery>"
13+
- title: "Boot into recovery"
14+
type: confirm_button
15+
content: "Unplug the USB cable from your device. Manually reboot into recovery. Press the Volume Down + Power buttons for 8~10 seconds until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off, hold Volume Up + Home + Power."
16+
- title: "Flash LineageOS"
17+
type: confirm_button
18+
content: "Now tap 'Wipe'. Then tap 'Format Data' and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage."
19+
- title: "Flash LineageOS"
20+
type: confirm_button
21+
content: "Return to the previous menu and tap 'Advanced Wipe', then select the 'Cache' and 'System' partitions and then 'Swipe to Wipe'."
22+
- title: "Flash LineageOS"
23+
type: confirm_button
24+
content: "Now connect the phone to the computer again with the USB-cable. On the device, go back and select “Advanced”, “ADB Sideload”, then swipe to begin sideload. Then confirm here"
25+
- title: "Flash LineageOS"
26+
type: call_button
27+
content: "Flash lineageOS image. Don't remove the USB-Cable!"
28+
command: "adb sideload <image>"
29+
- title: "Reboot"
30+
type: call_button
31+
content: "Reboot into OS"
32+
command: "adb reboot"
33+
- title: "Successfully finished flashing"
34+
type: text
35+
content: "Have fun with LineageOS!"

openandroidinstaller/openandroidinstaller.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
)
2828
from installer_config import InstallerConfig
2929

30-
# CONFIG_PATH = "openandroidinstaller/assets/configs/"
30+
3131
CONFIG_PATH = path.abspath(path.join(path.dirname(__file__), "assets/configs/"))
3232

3333
recovery_path = None
@@ -40,6 +40,7 @@ def main(page: Page):
4040
page.window_height = 640
4141
page.window_top = 100
4242
page.window_left = 720
43+
page.horizontal_alignment = "center"
4344
# page.theme_mode = "dark"
4445
views = []
4546
pb = ProgressBar(width=400, color="#00d886", bgcolor="#eeeeee", bar_height=16)

0 commit comments

Comments
 (0)