mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
use official Revanced MicroG
This commit is contained in:
70
.github/workflows/Build-MicroG.yml
vendored
70
.github/workflows/Build-MicroG.yml
vendored
@@ -1,70 +0,0 @@
|
||||
name: Build MicroG
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
Build:
|
||||
name: Build MicroG
|
||||
runs-on: ubuntu-latest
|
||||
permissions: write-all
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: inotia00/VancedMicroG
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
- name: JDK Setup
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Cache Gradle
|
||||
uses: burrunan/gradle-cache-action@v1
|
||||
with:
|
||||
job-id: Build
|
||||
- name: Setup Java
|
||||
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
|
||||
- name: Setup keystore
|
||||
run: |
|
||||
keytool -genkey -v -keystore play-services-core/keystore.jks -storepass microg -alias microg -keypass microg -dname "CN=microg" -keyalg RSA -keysize 2048 -validity 10000
|
||||
cat << EOF > play-services-core/user.gradle
|
||||
android {
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file('keystore.jks')
|
||||
storePassword 'microg'
|
||||
keyAlias 'microg'
|
||||
keyPassword 'microg'
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
- name: Build project
|
||||
run: |
|
||||
chmod +x ./gradlew
|
||||
./gradlew assemble
|
||||
- name: Build MicroG
|
||||
run: |
|
||||
./gradlew assembleRelease
|
||||
mkdir ./release
|
||||
cp play-services-core/build/outputs/apk/release/play-services-core-release.apk ./release/MicroG.apk
|
||||
- name: Generate release info
|
||||
run: |
|
||||
echo "
|
||||
**Change log** :point_down:
|
||||
[MicroG](https://github.com/inotia00/VancedMicroG)
|
||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
with:
|
||||
files: |
|
||||
./release/*.apk
|
||||
name: MicroG
|
||||
tag_name: MicroG
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
24
README.md
24
README.md
@@ -16,9 +16,7 @@ They are open-source scripts for patching various apps like YouTube, YouTube Mus
|
||||
Simply, all you need to do is choose the app you want to use from the options below: 'Revanced' or 'Revanced Extended'. Then, select your phone's CPU architecture. If you don't know what your phone's CPU architecture is, choose All Architectures. That's all there is to it.
|
||||
|
||||
> [!NOTE]
|
||||
> If you want to use the YouTube or YouTube Music app, you need to download and install MicroG, MicroG-RE or mMicroG.
|
||||
>
|
||||
> I strongly recommend you should build your MicroG apk by yourself. [Read wiki](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/wiki/Frequently-Asked-Questions#q-how-do-i-use-this-repository-for-building-microg)
|
||||
> If you want to use the YouTube or YouTube Music app, you need to download and install [MicroG](https://github.com/ReVanced/GmsCore/releases).
|
||||
>
|
||||
> If you are an advanced user and you want to use custom patches for patching apps, you should read the [Wiki](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/wiki/Frequently-Asked-Questions#q-how-do-i-use-this-repository-for-patching-my-own-app).
|
||||
>
|
||||
@@ -128,25 +126,9 @@ Download
|
||||
|
||||
---
|
||||
|
||||
## [MicroG:](https://github.com/inotia00/VancedMicroG)
|
||||
## [MicroG ReVanced:](https://github.com/ReVanced/GmsCore)
|
||||
|
||||
[](https://github.com/inotia00/VancedMicroG/releases/latest/download/microg.apk)
|
||||
|
||||
### [Built by Github Action](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/MicroG/MicroG.apk)
|
||||
|
||||
---
|
||||
|
||||
## [MicroG-RE:](https://github.com/WSTxda/MicroG-RE)
|
||||
|
||||
[](https://github.com/WSTxda/MicroG-RE/releases)
|
||||
|
||||
---
|
||||
|
||||
## [mMicroG:](https://github.com/kazimmt/mMicroG/)
|
||||
|
||||
[](https://github.com/kazimmt/mMicroG/releases/latest/download/MicroG-arm64-v8a.apk)
|
||||
|
||||
[](https://github.com/ikazimmt/mMicroG/releases/latest/download/MicroG-armeabi-v7a.apk)
|
||||
[](https://github.com/ReVanced/GmsCore/releases)
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -20,21 +20,6 @@ By default, the Readme.md file uses links to download my patched apps, but if yo
|
||||
|
||||
---
|
||||
|
||||
### Q: How do I use this repository for building MicroG?
|
||||
|
||||
Here are the steps to help you build MicroG using [inotia00](https://github.com/inotia00/VancedMicroG) source code with GitHub Actions. I'm not implying that downloading directly from inotia00's repository is dangerous, but using prebuilt file not safe at all.
|
||||
|
||||
You should [fork](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/fork) the repository, and then move to the `Action` tab
|
||||

|
||||
|
||||
Click "I understand my workflows, go ahead and enable them"
|
||||

|
||||
|
||||
Follow these steps to run the workflow for patching MicroG!
|
||||

|
||||
|
||||
---
|
||||
|
||||
### Q: I want to use custom patches for patching my apps. How can I do it?
|
||||
|
||||
You should open the folder `Revanced-And-Revanced-Extended-Non-Root/src/patches/`. It contains a lot of folders that are named after the apps you’re patching. Each folder has two files: exclude-patches and include-patches. Edit these files with the patches you like, putting one patch per line, following the patches list here:
|
||||
@@ -62,4 +47,4 @@ I’m so sorry about this, but my repository only patches apps from “scripts
|
||||
Yes, it’s safe because my code is 100% open-source and uses GitHub Actions to patch apps. The apk files used for patching are downloaded from the trusted site “APKMirror”.
|
||||
|
||||
----
|
||||
Images hosted by [Imgur](https://imgur.com/a/45Cc9hv)
|
||||
Images hosted by [Imgur](https://imgur.com/a/45Cc9hv)
|
||||
Reference in New Issue
Block a user