Skip to content

Commit 3964e97

Browse files
committed
Merge branch 'allaeddineomc-main' into dev
2 parents b0dfd45 + 875201e commit 3964e97

12 files changed

+1306
-501
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ wheels/
2626
heimdall/
2727
libusb-windows/
2828
openandroidinstaller/bin/
29+
.flatpak-builder
2930

3031
# Log files
3132
pip-log.txt

CODE_OF_CONDUCT.md

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
2+
# Contributor Covenant Code of Conduct
3+
4+
## Our Pledge
5+
6+
We as members, contributors, and leaders pledge to make participation in our
7+
community a harassment-free experience for everyone, regardless of age, body
8+
size, visible or invisible disability, ethnicity, sex characteristics, gender
9+
identity and expression, level of experience, education, socio-economic status,
10+
nationality, personal appearance, race, religion, or sexual identity
11+
and orientation.
12+
13+
We pledge to act and interact in ways that contribute to an open, welcoming,
14+
diverse, inclusive, and healthy community.
15+
16+
## Our Standards
17+
18+
Examples of behavior that contributes to a positive environment for our
19+
community include:
20+
21+
* Demonstrating empathy and kindness toward other people
22+
* Being respectful of differing opinions, viewpoints, and experiences
23+
* Giving and gracefully accepting constructive feedback
24+
* Accepting responsibility and apologizing to those affected by our mistakes,
25+
and learning from the experience
26+
* Focusing on what is best not just for us as individuals, but for the
27+
overall community
28+
29+
Examples of unacceptable behavior include:
30+
31+
* The use of sexualized language or imagery, and sexual attention or
32+
advances of any kind
33+
* Trolling, insulting or derogatory comments, and personal or political attacks
34+
* Public or private harassment
35+
* Publishing others' private information, such as a physical or email
36+
address, without their explicit permission
37+
* Other conduct which could reasonably be considered inappropriate in a
38+
professional setting
39+
40+
## Enforcement Responsibilities
41+
42+
Community leaders are responsible for clarifying and enforcing our standards of
43+
acceptable behavior and will take appropriate and fair corrective action in
44+
response to any behavior that they deem inappropriate, threatening, offensive,
45+
or harmful.
46+
47+
Community leaders have the right and responsibility to remove, edit, or reject
48+
comments, commits, code, wiki edits, issues, and other contributions that are
49+
not aligned to this Code of Conduct, and will communicate reasons for moderation
50+
decisions when appropriate.
51+
52+
## Scope
53+
54+
This Code of Conduct applies within all community spaces, and also applies when
55+
an individual is officially representing the community in public spaces.
56+
Examples of representing our community include using an official e-mail address,
57+
posting via an official social media account, or acting as an appointed
58+
representative at an online or offline event.
59+
60+
## Enforcement
61+
62+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
63+
reported to the community leaders responsible for enforcement at
64+
65+
All complaints will be reviewed and investigated promptly and fairly.
66+
67+
All community leaders are obligated to respect the privacy and security of the
68+
reporter of any incident.
69+
70+
## Enforcement Guidelines
71+
72+
Community leaders will follow these Community Impact Guidelines in determining
73+
the consequences for any action they deem in violation of this Code of Conduct:
74+
75+
### 1. Correction
76+
77+
**Community Impact**: Use of inappropriate language or other behavior deemed
78+
unprofessional or unwelcome in the community.
79+
80+
**Consequence**: A private, written warning from community leaders, providing
81+
clarity around the nature of the violation and an explanation of why the
82+
behavior was inappropriate. A public apology may be requested.
83+
84+
### 2. Warning
85+
86+
**Community Impact**: A violation through a single incident or series
87+
of actions.
88+
89+
**Consequence**: A warning with consequences for continued behavior. No
90+
interaction with the people involved, including unsolicited interaction with
91+
those enforcing the Code of Conduct, for a specified period of time. This
92+
includes avoiding interactions in community spaces as well as external channels
93+
like social media. Violating these terms may lead to a temporary or
94+
permanent ban.
95+
96+
### 3. Temporary Ban
97+
98+
**Community Impact**: A serious violation of community standards, including
99+
sustained inappropriate behavior.
100+
101+
**Consequence**: A temporary ban from any sort of interaction or public
102+
communication with the community for a specified period of time. No public or
103+
private interaction with the people involved, including unsolicited interaction
104+
with those enforcing the Code of Conduct, is allowed during this period.
105+
Violating these terms may lead to a permanent ban.
106+
107+
### 4. Permanent Ban
108+
109+
**Community Impact**: Demonstrating a pattern of violation of community
110+
standards, including sustained inappropriate behavior, harassment of an
111+
individual, or aggression toward or disparagement of classes of individuals.
112+
113+
**Consequence**: A permanent ban from any sort of public interaction within
114+
the community.
115+
116+
## Attribution
117+
118+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119+
version 2.0, available at
120+
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
121+
122+
Community Impact Guidelines were inspired by
123+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
124+
125+
For answers to common questions about this code of conduct, see the FAQ at
126+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
127+
at [https://www.contributor-covenant.org/translations][translations].
128+
129+
[homepage]: https://www.contributor-covenant.org
130+
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
131+
[Mozilla CoC]: https://github.com/mozilla/diversity
132+
[FAQ]: https://www.contributor-covenant.org/faq
133+
[translations]: https://www.contributor-covenant.org/translations
134+

CONTRIBUTING.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Contributing to the OpenAndroidInstaller project
2+
3+
💖 First of all: thank you for contributing to the OpenAndroidInstaller! Great that you are here!
4+
5+
This document contains some resources which should help you in doing that.
6+
7+
All kinds of contributions are welcome. These include:
8+
- Fix and improve texts in configs and in the application.
9+
- Test the tool for a supported device.
10+
- Create a config for a new device.
11+
- Test the application on your computer and/or device.
12+
- Contribute an application build for a new platform.
13+
- Add features and/or improve the code base.
14+
- Report bugs.
15+
16+
## Code Of Conduct
17+
18+
Everyone who contributes to the project must follow [our code of conduct](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/CODE_OF_CONDUCT.md).
19+
If you notice any violations, please reach out to us via the ways described in the code of conduct.
20+
21+
## How to Contribute
22+
23+
### Report a bug
24+
25+
Oops 😅 Thank you for catching a bug 🐛.
26+
Please report this bug to us:
27+
28+
1. Ensure the bug was not already reported by searching through our [Issues](https://github.com/openandroidinstaller-dev/openandroidinstaller/issues).
29+
2. If you can't find a bug report for your bug, please [open a new one](https://github.com/openandroidinstaller-dev/openandroidinstaller/issues/new/choose). Please choose **Bug Report** here, add **a title and clear description** and fill in the blanks.
30+
31+
For more information on how to write a good bug report, [check out the atom contribution guidelines](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#how-do-i-submit-a-good-bug-report)
32+
33+
### The OpenAndroidInstaller "should to X" or is behaving weird / unintuitively / not doing what you want?
34+
35+
If the OpenAndroidInstaller is behaving unintuitively, feels weird, doesn't do something you think it should or similar, please [open an issue](https://github.com/openandroidinstaller-dev/openandroidinstaller/issues/new/choose) if there doesn't exist one yet.
36+
37+
We cannot guarantee that we can implement every feature you want, but we are always happy to discuss them and try to figure out how they might fit into the project.
38+
39+
If you cannot figure out how to do something with the OpenAndroidInstaller you should be able to do, we consider [this a bug](#report-a-bug).
40+
41+
### I don't understand the documentation 😕
42+
43+
If the documentation is unintuitive, we consider [this a bug](#report-a-bug).
44+
45+
If the documentation is missing something, we consider [this a bug](#report-a-bug).
46+
47+
If the documentation does not make you happy, we consider [this a bug](#report-a-bug).
48+
49+
### Write code / documentation to close issues
50+
51+
If you want to write code or documentation, please take a look at our issues.
52+
We try to make them somewhat clear, but if you do not understand what an issue means, please ask us.
53+
We sometimes tag issues as "good first issue", these could be interesting if this is you first contribution.
54+
55+
If you have an issue that you understand and want to work on, feel free to do so. If you leave a short message in the issue thread, we can make sure that we do not have multiple people working on the same issue.
56+
57+
Once you have a fix, **open a new pull request**. We will try to review your pull request as quick as possible.
58+
59+
To make sure we can merge it quickly, you can do a few things to help us:
60+
61+
1. Please make sure that the PR description includes all information we need to review this pull request (for example the issue this fixes, how it works).
62+
2. Make sure that our linters, style checkers and tests pass. You can run them by running `make test`.
63+
3. Make sure that branch can be merged into the dev branch
64+
65+
### Write code for new features 🚀
66+
67+
If you want to write code for something that is not already [described in an issue](https://github.com/openandroidinstaller-dev/openandroidinstaller/issues), please open an issue first and communicate that you are working on it.
68+
Especially if it's more than a small bugfix for an obvious bug.
69+
We might have some opinions on whether / how your feature should be included into the OpenAndroidInstaller.
70+
71+
If you do not open an issue first, we might have a lot of review comments that need to be addressed before we can merge your pull request or even have to close the PR entirely because we do not want to include the feature.
72+
73+
Opening an issue first also allows other users to comment on it, often leading to a better result.
74+
75+
### Write tests & documentation 🧪
76+
77+
If you want to write tests & documentation for existing features / behavior, always feel free to do so and open a pull request.
78+
Here, we would also appreciate if you opened an issue first to avoid duplicate work.
79+
If you have any questions while doing to, please open an issue or write us an email.

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![License](https://img.shields.io/github/license/openandroidinstaller-dev/openandroidinstaller?color=green&style=flat-square)](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/LICENSE)
66
[![Release](https://img.shields.io/github/v/release/openandroidinstaller-dev/openandroidinstaller?include_prereleases&style=flat-square)](https://github.com/openandroidinstaller-dev/openandroidinstaller/releases)
77
[![Downloads](https://img.shields.io/github/downloads/openandroidinstaller-dev/openandroidinstaller/total?style=flat-square)](https://github.com/openandroidinstaller-dev/openandroidinstaller/releases)
8+
[![Flathub](https://img.shields.io/flathub/downloads/org.openandroidinstaller.OpenAndroidInstaller?label=flathub%20installs&style=flat-square)](https://flathub.org/apps/org.openandroidinstaller.OpenAndroidInstaller)
89
[![Twitter](https://img.shields.io/twitter/follow/oainstaller?style=social)](https://twitter.com/OAInstaller)
910
[![Mastodon](https://img.shields.io/mastodon/follow/109341220262803943?domain=https%3A%2F%2Ffosstodon.org&style=social)](https://fosstodon.org/@openandroidinstaller)
1011
<p>Makes installing alternative Android distributions nice and easy.</p>
@@ -38,8 +39,8 @@ If you wish to backup the TA partition first, you can find tutorials related to
3839

3940
Linux is currently the best supported platform (tested with Ubuntu 20.04/22.04 LTS). Windows and MacOS are also supported but you might experience more issues. So far there is no support for ARM-based systems.
4041

41-
1. Download the AppImage, .exe or appropriate executable file for your OS. You might need to change permissions to run the executable.
42-
- On Windows also [install the Universal USB Drivers](https://adb.clockworkmod.com) and other potentially drivers needed for your device.
42+
1. Download the [.exe or appropriate executable file for your OS](https://github.com/openandroidinstaller-dev/openandroidinstaller/releases) from the releases or get the [official flatpak from flathub](https://flathub.org/apps/org.openandroidinstaller.OpenAndroidInstaller). You might need to change permissions to run the executable.
43+
- On Windows also [install the Universal USB Drivers](https://adb.clockworkmod.com/) and other potentially drivers needed for your device.
4344
2. Download the custom ROM image and the TWRP recovery image for your device and optionally some addons. A source for files can be found on the following websites:
4445
- some custom ROMs:
4546
- [LineageOS](https://wiki.lineageos.org/devices)
@@ -183,8 +184,13 @@ All kinds of contributions are welcome. These include:
183184
- Fix and improve texts in configs and in the application.
184185
- Test the tool for a supported device.
185186
- Create a config for a new device.
186-
- Test the application on your computer.
187+
- Test the application on your computer and/or device.
187188
- Contribute an application build for a new platform.
189+
- Add features and/or improve the code base.
190+
- Report bugs.
191+
192+
More details on how to contribute can be found [here](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/CONTRIBUTING.md).
193+
Please have a look before opening an issue or starting to contribute.
188194

189195
A detailed list can be found [here](https://openandroidinstaller.org/#contribute).
190196

0 commit comments

Comments
 (0)