mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
MicroG
Can build MicroG from inotia00 source
This commit is contained in:
65
.github/workflows/Build-MicroG.yml
vendored
Normal file
65
.github/workflows/Build-MicroG.yml
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
name: Build MicroG
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
|
||||
- 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: ./gradlew assemble
|
||||
|
||||
- name: Build APK
|
||||
run: ./gradlew assembleRelease
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
with:
|
||||
files: |
|
||||
play-services-core/build/outputs/apk/release/play-services-core-release.apk
|
||||
name: MicroG by inotia00
|
||||
tag_name: MicroG
|
||||
body: Change logs https://github.com/inotia00/VancedMicroG/releases
|
||||
@@ -19,6 +19,8 @@ Simply, all you need to do is choose the app you want to use from the options be
|
||||
|
||||
If you want to use the YouTube or YouTube Music app, you need to download and install MicroG, MicroG-RE or mMicroG.
|
||||
|
||||
But 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)
|
||||
|
||||
All the code is open-source, clearly, and the APK files used for patching are downloaded from a trusted site, so it is totally safe for you to use.
|
||||
|
||||
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).
|
||||
@@ -101,10 +103,16 @@ Download
|
||||
|
||||
[](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/play-services-core-release.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)
|
||||
|
||||
@@ -20,6 +20,21 @@ 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 it's always wise to exercise caution when working with online resources.
|
||||
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user