Skip to content

Instantly share code, notes, and snippets.

@PowerX-NOT
Last active April 13, 2025 11:25
Show Gist options
  • Save PowerX-NOT/39ff4fea8e358c129028b3026c4de601 to your computer and use it in GitHub Desktop.
Save PowerX-NOT/39ff4fea8e358c129028b3026c4de601 to your computer and use it in GitHub Desktop.
#!/data/data/com.termux/files/usr/bin/bash
set -e # Stop if any command fails
# Create a temporary folder
mkdir -p ~/revanced_apks
cd ~/revanced_apks
# Download APKs
curl -L -o googlephotos-revanced.apk "https://github.com/Unofficial-Life/revanced-gphotos-build/releases/download/9/googlephotos-revanced-v7.4.0.687342855-arm64-v8a.apk"
curl -L -o gmscore-revanced.apk "https://github.com/ReVanced/GmsCore/releases/download/v0.3.1.4.240913/app.revanced.android.gms-240913008-signed.apk"
# Launch installer for each
echo "Launching installer for Google Photos..."
am start -a android.intent.action.VIEW -d "file://$(pwd)/googlephotos-revanced.apk" -t "application/vnd.android.package-archive"
sleep 5
echo "Launching installer for GmsCore..."
am start -a android.intent.action.VIEW -d "file://$(pwd)/gmscore-revanced.apk" -t "application/vnd.android.package-archive"
sleep 5
# Delete downloaded files
cd ~
rm -rf ~/revanced_apks
echo "✅ All done. APKs installed and cleaned up!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment