Comments (18)
@supericqicq3, as suspected, that dlopen
error is unrelated to microG
. Here's how I managed to fix it manually:
- Extract
libjsc.so
from the YT Music APK (e.g.,unzip com.google.android.apps.youtube.music.apk lib/arm64-v8a/libjsc.so
) - Find where YT Music was mounted (e.g.,
path=$( pm path com.google.android.apps.youtube.music | grep base | sed 's/package://g' | sed 's/\/base.apk//g' )
) - Copy extracted
libjsc.so
to$path/lib/arm64
, and adjust permissions (i.e.,-rwxr-xr-x 1 system system 9127104 2022-06-19 11:25 libjsc.so
)
The patched YouTube Music app should start now. Of course, the assumption is that you deployed the app in root mode already.
from revanced-cli.
YouTube Music will not work without a microg patch which is in the works.
from revanced-cli.
@oSumAtrIX, this dlopen
issue happens with the root version as well.
E AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libjsc.so" not found: needed by /data/data/com.google.android.apps.youtube.music/app_lib/libelements.so.5.03.50 in namespace classloader-namespace
This seems unrelated to microG
support, and more like a gradle
issue?
from revanced-cli.
As I said, YouTube Music will not work without a separate youtube music specific microg patch
from revanced-cli.
I did build revanced-patches
with your microG
PR, which yields the same dlopen
error.
Thank you for your work. Hopefully, root mode YouTube Music will be functional, regardless of microG
support.
from revanced-cli.
Because that patch is for Youtube. Not YT music.
from revanced-cli.
I'm referring to commit e22060b52cf09b5b6fe08d5b9ffb8f102efc6cf5
in PR #22.
At any rate, the conversation here was supposed to be about root-mode YT music (regardless of microG
support). I simply added that I tested that cherry-pick just in case, even if I didn't expect that to be the culprit.
from revanced-cli.
I did build
revanced-patches
with yourmicroG
PR, which yields the samedlopen
error.
The MicroG PR is a draft because it's not finished yet, that may also be why it doesn't work for you 🙂
from revanced-cli.
Does the patches work?
from revanced-cli.
As I said a couple of times already, this is root
mode deploy (i.e., -d
and no --install
). I haven't tested non-root
mode, but I suspect the dlopen
error will happen there as well.
The original bug reporter ran into an issue that has nothing to do with the WIP music-microg-support
. It's an YTM installation issue, possibly from the patcher
. Alas, the issue was quickly dismissed.
from revanced-cli.
music-microg-support patch doesn't do anything lol (check the source code). its just a placeholder. non-root music isn't ready yet.
from revanced-cli.
I can confirm @airend method fixed my YTM from crashing and yes @Canny1913 all the available music patches work (though codecs-unlocks patch doesn't unlock Opus on personal uploaded songs, which only have AAC, but it's probably not the patch's fault, just google not encoding in opus uploaded music I think, because the patch works well with all the other songs)
from revanced-cli.
Just to let you know this commit fixed the need of any lib workaround!
No issues here with root method! Great work @Canny1913 !!
from revanced-cli.
The link does not point anywhere.
from revanced-cli.
The link does not point anywhere.
Ups, sorry! It does now 😅
from revanced-cli.
The link does not point anywhere.
Ups, sorry! It does now 😅
So this issue can be closed I guess?
from revanced-cli.
I would say yes... Or maybe wait for OP confirmation on this... Idk
from revanced-cli.
Can confirm that YTM works w/o workarounds now.
from revanced-cli.
Related Issues (20)
- bug: I can no longer use my keystone in the revanced cli HOT 4
- bug: How to include the patches to be applied? HOT 3
- bug: how to apply only specific patches? HOT 3
- bug: formatting error when reading patch names HOT 8
- bug: --unsigned behaves incorrectly? HOT 3
- bug: Mounting causes app to crash on startup and changes app name to "com.google.android.apps.youtube.app.YouTubeTikTokRoot_Application" HOT 13
- bug: `revanced-cli-4.0.2`: Missing mount script in `/data/adb/service.d` and apk in `/data/adb/revanced` after mounting HOT 26
- bug: Compiling error HOT 8
- feat: Index patches uniquely HOT 11
- bug: "INFO: " gets prepended to the output of `list-patches` command HOT 1
- patched reddit won't open bug: HOT 1
- feat: Interactive shell script HOT 14
- bug: YouTube patch: "Integrations have not been merged yet" error HOT 2
- bug: defined `-r` parameter is broken in patches v4.0.1 HOT 8
- bug: failure to build youtube 19.03.35 with default settings HOT 3
- bug (CLI v4.4.2): Certificate isn't installed properly in patched apk HOT 5
- bug: Parameter -ii seems broken HOT 3
- bug: The fact that this exists
- bug: Failed to delete temp files
- bug: Too many WARNING about `null` value for `client-id` patch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from revanced-cli.