Skip to content

Commit c76dd73

Browse files
committed
builder: Welcome Morphe!
Signed-off-by: peternmuller <pm563838@gmail.com>
1 parent 521d28b commit c76dd73

File tree

7 files changed

+107
-49
lines changed

7 files changed

+107
-49
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
*By @peternoz*
147147
148148
*🌟 Check out my builder source:*
149-
https://github.com/peternmuller/revanced-builder
149+
https://github.com/peternmuller/revanced-morphe-builder
150150
"
151151
echo "'$MSG'"
152152
MSG=${MSG:0:9450}

README.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
#### ⚠️ Do not download APKs or modules from random websites you find on Google, as they may be dangerous and because providers impersonate ReVanced/ReVanced Extended. Please build your application from official sources or use open source builders like this one.
1+
#### ⚠️ Do not download APKs or modules from random websites you find on Google, as they may be dangerous and because providers impersonate ReVanced/ReVanced Extended/Morphe. Please build your application from official sources or use open source builders like this one.
22

3-
# Welcome to my ReVanced Builder!
4-
[![CI](https://github.com/peternmuller/revanced-builder/actions/workflows/ci.yml/badge.svg?event=schedule)](https://github.com/peternmuller/revanced-builder/actions/workflows/ci.yml)
5-
[![GitHub License](https://img.shields.io/github/license/peternmuller/revanced-builder?logo=gnu&label=License&link=https%3A%2F%2Fgithub.com%2Fpeternmuller%2Frevanced-builder%2Fblob%2Fmain%2FLICENSE)](https://github.com/peternmuller/revanced-builder/blob/main/LICENSE)
6-
[![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/peternmuller/revanced-builder/total?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNNC43NSAxNy4yNWEuNzUuNzUgMCAwIDEgLjc1Ljc1djIuMjVjMCAuMTM4LjExMi4yNS4yNS4yNWgxMi41YS4yNS4yNSAwIDAgMCAuMjUtLjI1VjE4YS43NS43NSAwIDAgMSAxLjUgMHYyLjI1QTEuNzUgMS43NSAwIDAgMSAxOC4yNSAyMkg1Ljc1QTEuNzUgMS43NSAwIDAgMSA0IDIwLjI1VjE4YS43NS43NSAwIDAgMSAuNzUtLjc1WiIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPjxwYXRoIGQ9Ik01LjIyIDkuOTdhLjc0OS43NDkgMCAwIDEgMS4wNiAwbDQuOTcgNC45NjlWMi43NWEuNzUuNzUgMCAwIDEgMS41IDB2MTIuMTg5bDQuOTctNC45NjlhLjc0OS43NDkgMCAxIDEgMS4wNiAxLjA2bC02LjI1IDYuMjVhLjc0OS43NDkgMCAwIDEtMS4wNiAwbC02LjI1LTYuMjVhLjc0OS43NDkgMCAwIDEgMC0xLjA2WiIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPjwvc3ZnPg==&label=Downloads&link=https%3A%2F%2Fgithub.com%2Fpeternmuller%2Frevanced-builder%2Freleases)](https://github.com/peternmuller/revanced-builder/releases)
3+
# Welcome to my ReVanced/Morphe Builder!
4+
[![CI](https://github.com/peternmuller/revanced-morphe-builder/actions/workflows/ci.yml/badge.svg?event=schedule)](https://github.com/peternmuller/revanced-morphe-builder/actions/workflows/ci.yml)
5+
[![GitHub License](https://img.shields.io/github/license/peternmuller/revanced-morphe-builder?logo=gnu&label=License&link=https%3A%2F%2Fgithub.com%2Fpeternmuller%2Frevanced-morphe-builder%2Fblob%2Fmain%2FLICENSE)](https://github.com/peternmuller/revanced-morphe-builder/blob/main/LICENSE)
6+
[![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/peternmuller/revanced-morphe-builder/total?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNNC43NSAxNy4yNWEuNzUuNzUgMCAwIDEgLjc1Ljc1djIuMjVjMCAuMTM4LjExMi4yNS4yNS4yNWgxMi41YS4yNS4yNSAwIDAgMCAuMjUtLjI1VjE4YS43NS43NSAwIDAgMSAxLjUgMHYyLjI1QTEuNzUgMS43NSAwIDAgMSAxOC4yNSAyMkg1Ljc1QTEuNzUgMS43NSAwIDAgMSA0IDIwLjI1VjE4YS43NS43NSAwIDAgMSAuNzUtLjc1WiIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPjxwYXRoIGQ9Ik01LjIyIDkuOTdhLjc0OS43NDkgMCAwIDEgMS4wNiAwbDQuOTcgNC45NjlWMi43NWEuNzUuNzUgMCAwIDEgMS41IDB2MTIuMTg5bDQuOTctNC45NjlhLjc0OS43NDkgMCAxIDEgMS4wNiAxLjA2bC02LjI1IDYuMjVhLjc0OS43NDkgMCAwIDEtMS4wNiAwbC02LjI1LTYuMjVhLjc0OS43NDkgMCAwIDEgMC0xLjA2WiIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPjwvc3ZnPg==&label=Downloads&link=https%3A%2F%2Fgithub.com%2Fpeternmuller%2Frevanced-morphe-builder%2Freleases)](https://github.com/peternmuller/revanced-morphe-builder/releases)
77

8-
This ReVanced Builder creates both APKs and [Magisk](https://github.com/topjohnwu/Magisk)/[KernelSU](https://github.com/tiann/KernelSU) modules for [ReVanced](https://github.com/ReVanced), [ReVanced Extended by anddea](https://github.com/anddea/revanced-patches) versions of YouTube and YouTube Music.
8+
This ReVanced Builder creates both APKs and [Magisk](https://github.com/topjohnwu/Magisk)/[KernelSU](https://github.com/tiann/KernelSU) modules for [ReVanced](https://github.com/ReVanced), [ReVanced Extended by anddea](https://github.com/anddea/revanced-patches), and [Morphe](https://github.com/MorpheApp) versions of YouTube and YouTube Music.
99

10-
#### **Get the latest CI release [here](https://github.com/peternmuller/revanced-builder/releases/latest)!**
10+
#### **Get the latest CI release [here](https://github.com/peternmuller/revanced-morphe-builder/releases/latest)!**
1111

1212
## Installation
1313
### Non-root users
14-
- Install the [ReVanced GmsCore app](https://github.com/ReVanced/GmsCore/releases/latest).
15-
- Download the APK files you want to install from the [releases page](https://github.com/peternmuller/revanced-builder/releases/latest), or follow the installation steps [here](https://github.com/peternmuller/revanced-builder?tab=readme-ov-file#easily-install-or-update-revanced-apps-with-obtainium).
16-
- (Optional) Import [one of my custom settings files](https://github.com/peternmuller/revanced-builder/tree/main/custom-settings) into your application. [*How to do this?*](https://github.com/peternmuller/revanced-builder?tab=readme-ov-file#import-custom-settings-in-revanced-applications)
14+
- Install the [ReVanced GmsCore app](https://github.com/ReVanced/GmsCore/releases/latest) or the [Morphe MicroG-RE app](https://github.com/MorpheApp/MicroG-RE).
15+
- Download the APK files you want to install from the [releases page](https://github.com/peternmuller/revanced-morphe-builder/releases/latest), or follow the installation steps [here](https://github.com/peternmuller/revanced-morphe-builder?tab=readme-ov-file#easily-install-or-update-revanced-apps-with-obtainium).
16+
- (Optional) Import [one of my custom settings files](https://github.com/peternmuller/revanced-morphe-builder/tree/main/custom-settings) into your application. [*How to do this?*](https://github.com/peternmuller/revanced-morphe-builder?tab=readme-ov-file#import-custom-settings-in-revanced-applications)
1717
- Enjoy!
1818
### Root users
19-
- Download the ZIP files you want to flash from the [releases page](https://github.com/peternmuller/revanced-builder/releases/latest).
20-
- (Optional) Import [one of my custom settings files](https://github.com/peternmuller/revanced-builder/tree/main/custom-settings) into your application. [*How to do this?*](https://github.com/peternmuller/revanced-builder?tab=readme-ov-file#import-custom-settings-in-revanced-applications)
19+
- Download the ZIP files you want to flash from the [releases page](https://github.com/peternmuller/revanced-morphe-builder/releases/latest).
20+
- (Optional) Import [one of my custom settings files](https://github.com/peternmuller/revanced-morphe-builder/tree/main/custom-settings) into your application. [*How to do this?*](https://github.com/peternmuller/revanced-morphe-builder?tab=readme-ov-file#import-custom-settings-in-revanced-applications)
2121
- (Optional) Use [zygisk-detach](https://github.com/j-hc/zygisk-detach) to detach YouTube and YouTube Music from the Play Store.
2222
- Enjoy!
2323

24-
## Easily install or update ReVanced apps with Obtainium
25-
You can easily install or keep your ReVanced apps up to date by using [Obtainium](https://github.com/ImranR98/Obtainium), which lets you install and update apps directly from the source and receive notifications when new releases are available.
24+
## Easily install or update ReVanced/Morphe apps with Obtainium
25+
You can easily install or keep your ReVanced/Morphe apps up to date by using [Obtainium](https://github.com/ImranR98/Obtainium), which lets you install and update apps directly from the source and receive notifications when new releases are available.
2626

2727
#### Here is a quick tutorial on how to add them to Obtainium:
2828

@@ -34,31 +34,33 @@ You can easily install or keep your ReVanced apps up to date by using [Obtainium
3434
> - YouTube Music ReVanced: `yt-music-revanced-v`
3535
> - YouTube ReVanced anddea: `youtube-revanced-anddea`
3636
> - YouTube Music ReVanced anddea: `yt-music-revanced-anddea`
37+
> - YouTube Morphe: `youtube-morphe`
38+
> - YouTube Music Morphe: `yt-music-morphe`
3739
38-
## Import custom settings in ReVanced applications
39-
I personally like my YouTube and YouTube Music applications to be as close as possible to the original look, but less cluttered, easier, and less annoying to use. If you feel the same, I highly recommend importing [my custom settings files](https://github.com/peternmuller/revanced-builder/tree/main/custom-settings).
40+
## Import custom settings in ReVanced/Morphe applications
41+
I personally like my YouTube and YouTube Music applications to be as close as possible to the original look, but less cluttered, easier, and less annoying to use. If you feel the same, I highly recommend importing [my custom settings files](https://github.com/peternmuller/revanced-morphe-builder/tree/main/custom-settings).
4042

41-
**To do this, go to YouTube Settings &rarr; ReVanced (or ReVanced Extended) &rarr; Miscellaneous (or Advanced Settings for YouTube Music) &rarr; Import&nbsp;/&nbsp;Export settings.**
43+
**To do this, go to YouTube Settings &rarr; ReVanced/ReVanced Extended/Morphe &rarr; Miscellaneous (or Advanced Settings for YouTube Music) &rarr; Import&nbsp;/&nbsp;Export settings.**
4244

4345
## Building Locally
4446
### On Termux
4547
```bash
46-
bash <(curl -sSf https://raw.githubusercontent.com/peternmuller/revanced-builder/main/build-termux.sh)
48+
bash <(curl -sSf https://raw.githubusercontent.com/peternmuller/revanced-morphe-builder/main/build-termux.sh)
4749
```
4850
### On Desktop
4951
```bash
50-
git clone https://github.com/peternmuller/revanced-builder
51-
cd revanced-builder
52+
git clone https://github.com/peternmuller/revanced-morphe-builder
53+
cd revanced-morphe-builder
5254
./build.sh
5355
```
5456

5557
## Credits
5658
- [j-hc](https://github.com/j-hc) for creating this amazing builder.
5759
- [Kevinr99089](https://github.com/kevinr99089) for providing assistance with the builder.
58-
- And of course, the [ReVanced](https://github.com/ReVanced) team and [anddea](https://github.com/anddea) for their work on the ReVanced apps!
60+
- And of course, the [ReVanced](https://github.com/ReVanced) team, [anddea](https://github.com/anddea), and the [Morphe](https://github.com/MorpheApp) team for their work on the ReVanced/Morphe apps!
5961

6062
## License
61-
Copyright (C) 2024 Peter Noël Muller
63+
Copyright (C) 2024-2026 Peter Noël Muller
6264

6365
This program is free software: you can redistribute it and/or modify
6466
it under the terms of the GNU General Public License as published by

build-termux.sh

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,45 +29,45 @@ if [ ! -f ~/.rvmm_"$(date '+%Y%m')" ]; then
2929
yes "" | pkg update -y && pkg upgrade -y && pkg install -y git curl jq openjdk-17 zip
3030
: >~/.rvmm_"$(date '+%Y%m')"
3131
fi
32-
mkdir -p /sdcard/Download/revanced-builder/
32+
mkdir -p /sdcard/Download/revanced-morphe-builder/
3333

34-
if [ -d revanced-builder ] || [ -f config.toml ]; then
35-
if [ -d revanced-builder ]; then cd revanced-builder; fi
36-
pr "Checking for revanced-builder updates"
34+
if [ -d revanced-morphe-builder ] || [ -f config.toml ]; then
35+
if [ -d revanced-morphe-builder ]; then cd revanced-morphe-builder; fi
36+
pr "Checking for revanced-morphe-builder updates"
3737
git fetch
3838
if git status | grep -q 'is behind\|fatal'; then
39-
pr "revanced-builder is not synced with upstream."
40-
pr "Cloning revanced-builder. config.toml will be preserved."
39+
pr "revanced-morphe-builder is not synced with upstream."
40+
pr "Cloning revanced-morphe-builder. config.toml will be preserved."
4141
cd ..
42-
cp -f revanced-builder/config.toml .
43-
rm -rf revanced-builder
44-
git clone https://github.com/peternmuller/revanced-builder --recurse --depth 1
45-
mv -f config.toml revanced-builder/config.toml
46-
cd revanced-builder
42+
cp -f revanced-morphe-builder/config.toml .
43+
rm -rf revanced-morphe-builder
44+
git clone https://github.com/peternmuller/revanced-morphe-builder --recurse --depth 1
45+
mv -f config.toml revanced-morphe-builder/config.toml
46+
cd revanced-morphe-builder
4747
fi
4848
else
49-
pr "Cloning revanced-builder."
50-
git clone https://github.com/peternmuller/revanced-builder --depth 1
51-
cd revanced-builder
49+
pr "Cloning revanced-morphe-builder."
50+
git clone https://github.com/peternmuller/revanced-morphe-builder --depth 1
51+
cd revanced-morphe-builder
5252
sed -i '/^enabled.*/d; /^\[.*\]/a enabled = false' config.toml
53-
grep -q 'revanced-builder' ~/.gitconfig 2>/dev/null ||
54-
git config --global --add safe.directory ~/revanced-builder
53+
grep -q 'revanced-morphe-builder' ~/.gitconfig 2>/dev/null ||
54+
git config --global --add safe.directory ~/revanced-morphe-builder
5555
fi
5656

57-
[ -f ~/storage/downloads/revanced-builder/config.toml ] ||
58-
cp config.toml ~/storage/downloads/revanced-builder/config.toml
57+
[ -f ~/storage/downloads/revanced-morphe-builder/config.toml ] ||
58+
cp config.toml ~/storage/downloads/revanced-morphe-builder/config.toml
5959

6060
if ask "Open rvmm-config-gen to generate a config?"; then
6161
am start -a android.intent.action.VIEW -d https://j-hc.github.io/rvmm-config-gen/
6262
fi
6363
printf "\n"
6464
until
6565
if ask "Open 'config.toml' to configure builds?\nAll are disabled by default, you will need to enable at first time building"; then
66-
am start -a android.intent.action.VIEW -d file:///sdcard/Download/revanced-builder/config.toml -t text/plain
66+
am start -a android.intent.action.VIEW -d file:///sdcard/Download/revanced-morphe-builder/config.toml -t text/plain
6767
fi
6868
ask "Setup is done. Do you want to start building?"
6969
do :; done
70-
cp -f ~/storage/downloads/revanced-builder/config.toml config.toml
70+
cp -f ~/storage/downloads/revanced-morphe-builder/config.toml config.toml
7171

7272
./build.sh
7373

@@ -78,10 +78,10 @@ for op in *; do
7878
pr "glob fail"
7979
exit 1
8080
}
81-
mv -f "${PWD}/${op}" ~/storage/downloads/revanced-builder/"${op}"
81+
mv -f "${PWD}/${op}" ~/storage/downloads/revanced-morphe-builder/"${op}"
8282
done
8383

84-
pr "Outputs are available in /sdcard/Download/revanced-builder folder"
85-
am start -a android.intent.action.VIEW -d file:///sdcard/Download/revanced-builder -t resource/folder
84+
pr "Outputs are available in /sdcard/Download/revanced-morphe-builder folder"
85+
am start -a android.intent.action.VIEW -d file:///sdcard/Download/revanced-morphe-builder -t resource/folder
8686
sleep 2
87-
am start -a android.intent.action.VIEW -d file:///sdcard/Download/revanced-builder -t resource/folder
87+
am start -a android.intent.action.VIEW -d file:///sdcard/Download/revanced-morphe-builder -t resource/folder

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ wait
166166
rm -rf temp/tmp.*
167167
if [ -z "$(ls -A1 "${BUILD_DIR}")" ]; then abort "All builds failed."; fi
168168

169-
log "\nInstall [ReVanced GmsCore](https://github.com/ReVanced/GmsCore/releases/latest) for non-root YouTube and YouTube Music APKs"
170-
log "(Optional) Use [zygisk-detach](https://github.com/j-hc/zygisk-detach/releases/latest) to detach root ReVanced YouTube and YouTube Music from the Play Store\n"
169+
log "\nInstall [ReVanced GmsCore](https://github.com/ReVanced/GmsCore/releases/latest) or [Morphe MicroG-RE](https://github.com/MorpheApp/MicroG-RE) for non-root YouTube and YouTube Music APKs"
170+
log "(Optional) Use [zygisk-detach](https://github.com/j-hc/zygisk-detach/releases/latest) to detach root ReVanced/Morphe YouTube and YouTube Music from the Play Store\n"
171171
log "$(cat "$TEMP_DIR"/*/changelog.md)"
172172

173173
SKIPPED=$(cat "$TEMP_DIR"/skipped 2>/dev/null || :)

config.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,17 @@ arch = "arm64-v8a"
3737
build-mode = "both"
3838
included-patches = "'Disable music video in album' 'Hide player overlay filter'"
3939
patcher-args = "-e 'Dark theme' -OdarkThemeBackgroundColor=@android:color/black"
40+
41+
# Morphe
42+
[YouTube-Morphe]
43+
apkmirror-dlurl = "https://apkmirror.com/apk/google-inc/youtube/"
44+
patches-source = "MorpheApp/morphe-patches"
45+
cli-source = "MorpheApp/morphe-cli"
46+
build-mode = "both"
47+
48+
[YT-Music-Morphe]
49+
apkmirror-dlurl = "https://apkmirror.com/apk/google-inc/youtube-music/"
50+
patches-source = "MorpheApp/morphe-patches"
51+
cli-source = "MorpheApp/morphe-cli"
52+
arch = "arm64-v8a"
53+
build-mode = "both"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"custom_branding_icon": "original",
2+
"music_change_miniplayer_color": true
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
"bypass_image_region_restrictions": true,
2+
"copy_video_url_timestamp": false,
3+
"disable_auto_captions": true,
4+
"disable_resuming_shorts_player": true,
5+
"disable_signin_to_tv_popup": true,
6+
"external_downloader_action_button": true,
7+
"hide_cast_button": false,
8+
"hide_chapters_section": false,
9+
"hide_comments_channel_guidelines": false,
10+
"hide_comments_community_guidelines": false,
11+
"hide_image_shelf": false,
12+
"hide_info_cards_section": false,
13+
"hide_info_panels": false,
14+
"hide_links_preview": false,
15+
"hide_medical_panels": false,
16+
"hide_movies_section": false,
17+
"hide_player_flyout_help": true,
18+
"hide_related_videos": true,
19+
"hide_related_videos_overlay": true,
20+
"hide_shorts_home": true,
21+
"hide_shorts_subscriptions": true,
22+
"hide_show_more_button": false,
23+
"hide_subscribers_community_guidelines": false,
24+
"hide_timed_reactions": false,
25+
"hide_transcript_section": false,
26+
"navigation_bar_animations": true,
27+
"player_overlay_opacity": 80,
28+
"remove_viewer_discretion_dialog": true,
29+
"shorts_autoplay_background": false,
30+
"shorts_disable_background_playback": true,
31+
"spoof_device_dimensions": true,
32+
"switch_create_with_notifications_button": false,
33+
"video_quality_default_mobile": 1080,
34+
"video_quality_default_wifi": 2160,
35+
"sb_compact_skip_button": true,
36+
"sb_filler": "seekbar-only",
37+
"sb_hook": "seekbar-only",
38+
"sb_music_offtopic": "seekbar-only",
39+
"sb_preview": "seekbar-only",
40+
"sb_sponsor": "manual-skip"

0 commit comments

Comments
 (0)