diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3602361 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +temp \ No newline at end of file diff --git a/README.md b/README.md index e63f808..3b1b4c9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,63 @@ # Quick-Phone-Setup +This is built to be a quick way to setup my phone running LineageOS. This will install apps from F-Droid, without needing the client on device, and then uninstall default apps I plan to replace. + +**TODO** + - Uninstall some of the default apps + +## Requirements + - ADB + - FDroidCl + - Golang 1.19 or newer + +## Enable USB Debugging +FDroidCl uses ADB to install apps to your device, USB Debugging is required to be enabled. + + - Open System Settings + - About Phone + - Click Build Number 5 times + - Go Back > Then System > Developer Options + - Enable USB Debugging + +> Root debugging is not required + +## Run and Install +Install all requirements: +```bash +sh install-requirements-rhel.sh +``` +> Uses the `dnf` package manager. Should work with RHEL/Fedora/Rocky. + +Then, begin installing apps to your device: +```bash +sh install-apps.sh +``` + +## Apps +The following will be installed: + - ~~Bitwarden~~ + - ~~Fastmail~~ + - Fluffychat + - FOSS Browser + - FUTO Keyboard + - Grayjay + - [Hoodik](https://ocean.sudovanilla.org/softwares/apps/apks/hoodik-sudovanilla-instance.apk) (Custom - Points to SudoVanilla's Instance) + - Immich + - Jellyfin + - Jerboa + - KDE Connect + - Kvaesitso + - Moshidon + - Mull + - Mullvad VPN + - Organic Maps + - VLC + - [Spotify](https://ocean.sudovanilla.org/softwares/apps/apks/Spotify_v8.9.18.512.apk) (Modded) + - Fossify Calendar + - Fossify Clock + - Fossify Contacts + - Fossify File Manager + - Fossify Gallery + - Fossify Messages + - Fossify Notes + - Fossify Phone \ No newline at end of file diff --git a/install-apps.sh b/install-apps.sh new file mode 100644 index 0000000..efd887e --- /dev/null +++ b/install-apps.sh @@ -0,0 +1,41 @@ +cd ./temp/ + +# Install Fossify Apps +./fdroidcl_v0.7.0_linux_amd64 install org.fossify.calendar +./fdroidcl_v0.7.0_linux_amd64 install org.fossify.clock +./fdroidcl_v0.7.0_linux_amd64 install org.fossify.contacts +./fdroidcl_v0.7.0_linux_amd64 install org.fossify.filemanager +./fdroidcl_v0.7.0_linux_amd64 install org.fossify.gallery +./fdroidcl_v0.7.0_linux_amd64 install org.fossify.messages +./fdroidcl_v0.7.0_linux_amd64 install org.fossify.notes +./fdroidcl_v0.7.0_linux_amd64 install org.fossify.phone + +# Install Other Apps +./fdroidcl_v0.7.0_linux_amd64 install com.jerboa +./fdroidcl_v0.7.0_linux_amd64 install net.mullvad.mullvadvpn +./fdroidcl_v0.7.0_linux_amd64 install us.spotco.fennec_dos +./fdroidcl_v0.7.0_linux_amd64 install app.organicmaps +./fdroidcl_v0.7.0_linux_amd64 install org.joinmastodon.android.moshinda +./fdroidcl_v0.7.0_linux_amd64 install chat.fluffy.fluffychat +./fdroidcl_v0.7.0_linux_amd64 install org.jellyfin.mobile +./fdroidcl_v0.7.0_linux_amd64 install app.alextran.immich +./fdroidcl_v0.7.0_linux_amd64 install nodomain.freeyourgadget.gadgetbridge +./fdroidcl_v0.7.0_linux_amd64 install de.baumann.browser +./fdroidcl_v0.7.0_linux_amd64 install org.kde.kdeconnect_tp +./fdroidcl_v0.7.0_linux_amd64 install de.mm20.launcher2.release +./fdroidcl_v0.7.0_linux_amd64 install org.videolan.vlc + +# Add FUTO Repository +./fdroidcl_v0.7.0_linux_amd64 repo add FUTO https://app.futo.org/fdroid/repo +./fdroidcl_v0.7.0_linux_amd64 repo update + +# Install FUTO Apps +./fdroidcl_v0.7.0_linux_amd64 install org.futo.voiceinput +./fdroidcl_v0.7.0_linux_amd64 install org.futo.inputmethod.latin +./fdroidcl_v0.7.0_linux_amd64 install com.futo.platformplayer + +# Downloading APKs from SudoVanilla Ocean +wget https://ocean.sudovanilla.org/softwares/apps/apks/hoodik-sudovanilla-instance.apk +wget https://ocean.sudovanilla.org/softwares/apps/apks/Spotify_v8.9.18.512.apk +adb install ./hoodik-sudovanilla-instance.apk +adb install ./Spotify_v8.9.18.512.apk \ No newline at end of file diff --git a/install-requirements-rhel.sh b/install-requirements-rhel.sh new file mode 100644 index 0000000..15255a9 --- /dev/null +++ b/install-requirements-rhel.sh @@ -0,0 +1,18 @@ +clear + +echo "Installing ADB and Golang..." +sudo dnf install adb golang -y +clear +echo "Completed." +sleep 2 + +echo "Downloading FDroidCl..." +mkdir ./temp/ && cd ./temp/ +wget https://github.com/mvdan/fdroidcl/releases/download/v0.7.0/fdroidcl_v0.7.0_linux_amd64 +chmod +x ./fdroidcl_v0.7.0_linux_amd64 +cd ../ +clear +echo "Completed." +sleep 2 + +clear \ No newline at end of file