microg / microg/GmsCore

Cannot install patched YouTube

Open
#3,821 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Description: Cannot install patched YouTube at all. Morphe is on the newest version, and I can install YouTube music but not YouTube.

App: YouTube
Package: com.google.android.youtube
Version: 21.07.247
Patches: 81
Source: Official Morphe Patches 1.43.0
Manager: 1.29.0
Patcher: 1.12.0
Libraries: kept
Android: 16 (API 36)
Device: realme RMX5000
Memory: 4,48 GB / 11,19 GB
Storage: 989,93 MB / 222,62 GB

app.morphe.patcher.patch.PatchException: Expected to find directories and files: [morphe_adaptive_background_custom.png, morphe_adaptive_foreground_custom.png]
But none were found in the provided option file path: /storage/emulated/0/Morphe Assets/yt
at app.morphe.patches.shared.layout.branding.BaseCustomBrandingPatchKt.baseCustomBrandingPatch$lambda$1$10(BaseCustomBrandingPatch.kt:634)
at app.morphe.patches.shared.layout.branding.BaseCustomBrandingPatchKt.$r8$lambda$gcU1iPoI5qjpbwQHjvUBB91Dqjg(BaseCustomBrandingPatch.kt:0)
at app.morphe.patches.shared.layout.branding.BaseCustomBrandingPatchKt$8.invoke(D8$$SyntheticClass:0)
at app.morphe.patcher.patch.Patch.execute(SourceFile:117)
at app.morphe.patcher.patch.ResourcePatch.execute$morphe_patcher(SourceFile:394)
at app.morphe.patcher.Patcher$invoke$1.invokeSuspend$execute(SourceFile:96)
at app.morphe.patcher.Patcher$invoke$1.invokeSuspend(SourceFile:120)
at app.morphe.patcher.Patcher$invoke$1.invoke(SourceFile:0)
at app.morphe.patcher.Patcher$invoke$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(SourceFile:57)
at kotlinx.coroutines.flow.AbstractFlow.collect(SourceFile:226)
at app.morphe.manager.patcher.Session.applyPatchesVerbose(SourceFile:57)
at app.morphe.manager.patcher.Session.run(SourceFile:103)
at app.morphe.manager.patcher.runtime.process.PatcherProcess$start$1.invokeSuspend(SourceFile:125)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:34)
at kotlinx.coroutines.DispatchedTask.run(SourceFile:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(SourceFile:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(SourceFile:807)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(SourceFile:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:704)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with YouTube 21.07.247, Morphe Patches 1.43.0, and the listed manager and patcher versions. Inspect BaseCustomBrandingPatch.kt at line 634 and the reported /storage/emulated/0/Morphe Assets/yt path to determine why the required branding files are not found; done means the cause and expected handling are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.