Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard20181 committed Mar 5, 2024
1 parent 730070d commit 2421f1d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 22 deletions.
24 changes: 11 additions & 13 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

The following dependencies are required:

| DistrOS | | | | | | |
|:-------------------:|---------------------------------------------------------|------------|--------------|--------------------|---------------|--------------|
| Debian | `lzip patchelf e2fsprogs python3 aria2 attr unzip sudo` | `whiptail` | `qemu-utils` | `python3-venv` | `python3-pip` | `p7zip-full` |
| openSUSE Tumbleweed | Same as above | `dialog` | `qemu-tools` | `python3-venvctrl` | Same as above |
| Arch | Same as Debian | `libnewt` | `qemu-img` | Same as Debian | `python-pip` | `p7zip` |
| DistrOS | | | | | |
|:-------------------:|----------------------------|------------|--------------------|---------------|--------------|
| Debian | `python3 aria2 unzip sudo` | `whiptail` | `python3-venv` | `python3-pip` | `p7zip-full` |
| openSUSE Tumbleweed | Same as above | `dialog` | `python3-venvctrl` | Same as above |
| Arch | Same as Debian | `libnewt` | Same as Debian | `python-pip` | `p7zip` |

The python3 library `requests` is used.

Expand Down Expand Up @@ -151,13 +151,11 @@

Or you can download the built package for 12.1 and 13 for x86_64 from [this page](https://sourceforge.net/projects/wsa-mtg/files/x86_64/).

- Can I switch OpenGApps to MindTheGapps and keep user data in a previous build?
- Is it possible to migrate data from a lower version like 2305 to a newer version?

No. You should wipe data after changing the GApps brand. Otherwise, you will find that the installed GApps are not recognized.
This is certainly available, Microsoft's change of read-only partition from 2305's EROFS to read-only EXT4 only affects the read-only system partition.

- WSA with OpenGApps integrated fails to start.

OpenGApps has not yet released a version built for Android 12L and 13, only built for Android 11, which may not be compatible and thus cause crashes. Consider switching to MindTheGapps.
It has no effect on the user data partition. Check the logs if there is a failure to boot.

- How to install KernelSU?

Expand All @@ -171,10 +169,10 @@

- [StoreLib](https://github.com/StoreDev/StoreLib): API for downloading WSA
- [Magisk](https://github.com/topjohnwu/Magisk): The most famous root solution on Android
- [The Open GApps Project](https://opengapps.org): One of the most famous Google Apps packages solution
- ~~[The Open GApps Project](https://opengapps.org): One of the most famous Google Apps packages solution~~
- [WSA-Kernel-SU](https://github.com/LSPosed/WSA-Kernel-SU) and [kernel-assisted-superuser](https://git.zx2c4.com/kernel-assisted-superuser/): The kernel `su` for debugging Magisk Integration
- [WSAGAScript](https://github.com/ADeltaX/WSAGAScript): The first GApps integration script for WSA
- [erofs-utils](https://github.com/sekaiacg/erofs-utils): Pre-build `erofs-utils` with erofsfuse enabled
- ~~[WSAGAScript](https://github.com/ADeltaX/WSAGAScript): The first GApps integration script for WSA~~
- ~~[erofs-utils](https://github.com/sekaiacg/erofs-utils): Pre-build `erofs-utils` with erofsfuse enabled~~

_The repository is provided as a utility._

Expand Down
9 changes: 0 additions & 9 deletions scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,10 @@ require_su() {
echo "Checking and ensuring dependencies"
check_dependencies() {
command -v whiptail >/dev/null 2>&1 || command -v dialog >/dev/null 2>&1 || NEED_INSTALL+=("whiptail")
command -v lzip >/dev/null 2>&1 || NEED_INSTALL+=("lzip")
command -v patchelf >/dev/null 2>&1 || NEED_INSTALL+=("patchelf")
command -v resize2fs >/dev/null 2>&1 || NEED_INSTALL+=("e2fsprogs")
command -v pip >/dev/null 2>&1 || NEED_INSTALL+=("python3-pip")
command -v aria2c >/dev/null 2>&1 || NEED_INSTALL+=("aria2")
command -v 7z >/dev/null 2>&1 || NEED_INSTALL+=("p7zip-full")
command -v setfattr >/dev/null 2>&1 || NEED_INSTALL+=("attr")
command -v unzip >/dev/null 2>&1 || NEED_INSTALL+=("unzip")
command -v qemu-img >/dev/null 2>&1 || NEED_INSTALL+=("qemu-utils")
}
check_dependencies
osrel=$(sed -n '/^ID_LIKE=/s/^.*=//p' /etc/os-release)
Expand Down Expand Up @@ -130,9 +125,7 @@ if [ -n "${NEED_INSTALL[*]}" ]; then
if [ "$PM" = "zypper" ]; then
NEED_INSTALL_FIX=${NEED_INSTALL[*]}
{
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//setools/setools-console} 2>&1
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//whiptail/dialog} 2>&1
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//qemu-utils/qemu-tools} 2>&1
} >>/dev/null

readarray -td ' ' NEED_INSTALL <<<"$NEED_INSTALL_FIX "
Expand All @@ -145,7 +138,6 @@ if [ -n "${NEED_INSTALL[*]}" ]; then
NEED_INSTALL_FIX=${NEED_INSTALL[*]}
{
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//whiptail/libnewt} 2>&1
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//qemu-utils/qemu-img} 2>&1
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//python3-pip/python-pip} 2>&1
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//p7zip-full/p7zip} 2>&1
} >>/dev/null
Expand All @@ -158,7 +150,6 @@ if [ -n "${NEED_INSTALL[*]}" ]; then
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//whiptail/dialog} 2>&1
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//python3-pip/dev-python/pip} 2>&1
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//p7zip-full/p7zip} 2>&1
NEED_INSTALL_FIX=${NEED_INSTALL_FIX//qemu-utils/qemu} 2>&1
} >>/dev/null

readarray -td ' ' NEED_INSTALL <<<"$NEED_INSTALL_FIX "
Expand Down

0 comments on commit 2421f1d

Please sign in to comment.