Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: App update installation always fails on first try #2361

Closed
4 tasks done
JimKnoxx opened this issue Dec 23, 2024 · 2 comments
Closed
4 tasks done

bug: App update installation always fails on first try #2361

JimKnoxx opened this issue Dec 23, 2024 · 2 comments
Labels
Bug report Something isn't working

Comments

@JimKnoxx
Copy link

Bug description

I noticed for some time now, that the first time I am updating a already patched app, that the installation will fail. If I reselect the app and retry patching it works fine.
The log files shows two errors, hopefully they can help narrow down the problem!

I added the Log from the ReVanced Manager as a file, because the text is too long. I only copied the errors to the patch log part of this form.
revanced-manager_logcat_20241223125625606308.log

Version of ReVanced Manager and version & name of app you are patching

Manager v1.23.2
YouTube v19.47.53 (happend to older versions too)

Installation method

None

ReVanced Manager logs

Full log see as file above (too long for gitlab to be happy with)

First error:
12-23 12:53:14.001 22427 22427 V AconfigFlags: Read Aconfig default flag value com.google.pixel.camera.services.flags.camera_client_tracking_service_enabled = true
12-23 12:53:14.001 22427 22427 V AconfigFlags: Read Aconfig default flag value com.google.pixel.camera.services.flags.overlay_camera_callback_enabled = true
12-23 12:53:14.001 22427 22427 V AconfigFlags: Read Aconfig default flag value com.google.pixel.iwlan.flags.dummy_fake_flag = false
12-23 12:53:14.007 22427 22427 E AconfigFlags: Failed to read Aconfig values from /system_ext/etc/aconfig_flags.pb
12-23 12:53:14.007 22427 22427 E AconfigFlags: java.io.FileNotFoundException: /system_ext/etc/aconfig_flags.pb: open failed: ENOENT (No such file or directory)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at libcore.io.IoBridge.open(IoBridge.java:574)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at java.io.FileInputStream.<init>(FileInputStream.java:179)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at java.io.FileInputStream.<init>(FileInputStream.java:133)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at com.android.internal.pm.pkg.component.AconfigFlags.<init>(AconfigFlags.java:75)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at com.android.internal.pm.pkg.parsing.ParsingPackageUtils.<clinit>(ParsingPackageUtils.java:296)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at com.android.internal.pm.parsing.PackageParser2.<init>(PackageParser2.java:99)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at android.content.pm.PackageManager.getPackageArchiveInfo(PackageManager.java:8816)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at android.content.pm.PackageManager.getPackageArchiveInfo(PackageManager.java:8790)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at fr.g123k.deviceapps.DeviceAppsPlugin.getAppFromStorage(SourceFile:260)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at fr.g123k.deviceapps.DeviceAppsPlugin.onMethodCall(SourceFile:113)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(SourceFile:267)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(SourceFile:292)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0(SourceFile:319)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at io.flutter.embedding.engine.dart.DartMessenger.$r8$lambda$BqGJF3aBeRT05gDeKMoHH6eOjH0(SourceFile:0)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(SourceFile:0)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at android.os.Handler.handleCallback(Handler.java:991)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at android.os.Handler.dispatchMessage(Handler.java:102)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at android.os.Looper.loopOnce(Looper.java:232)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at android.os.Looper.loop(Looper.java:317)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at android.app.ActivityThread.main(ActivityThread.java:8787)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at java.lang.reflect.Method.invoke(Native Method)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871)
12-23 12:53:14.007 22427 22427 E AconfigFlags: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at libcore.io.Linux.open(Native Method)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8673)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	at libcore.io.IoBridge.open(IoBridge.java:560)
12-23 12:53:14.007 22427 22427 E AconfigFlags: 	... 22 more
12-23 12:53:14.010 22427 22427 V AconfigFlags: Read Aconfig default flag value android.location.motionstate.release_motion_state_feature_flag = false
12-23 12:53:14.011 22427 22427 V AconfigFlags: Read Aconfig default flag value com.android.bluetooth.hal.flags.pixel_bluetooth_hr_mode = false

Second error:
12-23 12:55:49.919 30095 30095 W sh      : type=1400 audit(0.0:50772): avc:  denied  { read } for  name="/" dev="dm-12" ino=2 scontext=u:r:untrusted_app:s0:c204,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-23 12:55:49.943 30095 30095 W sh      : type=1400 audit(0.0:50773): avc:  denied  { read } for  name="/" dev="dm-12" ino=2 scontext=u:r:untrusted_app:s0:c204,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-23 12:55:50.896 22427 22427 E DartMessenger: Uncaught exception in binary message listener
12-23 12:55:50.896 22427 22427 E DartMessenger: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/files/lastPatchedApp.apk: open failed: ENOENT (No such file or directory)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at libcore.io.IoBridge.open(IoBridge.java:574)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at java.io.FileInputStream.<init>(FileInputStream.java:179)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at app.revanced.manager.flutter.MainActivity.installApk(SourceFile:388)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at app.revanced.manager.flutter.MainActivity.configureFlutterEngine$lambda$19(SourceFile:191)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at app.revanced.manager.flutter.MainActivity.$r8$lambda$C3cUe_dHEdP1GsfFm3c8DvZ_hqc(SourceFile:0)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda5.onMethodCall(SourceFile:0)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(SourceFile:267)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(SourceFile:292)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0(SourceFile:319)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at io.flutter.embedding.engine.dart.DartMessenger.$r8$lambda$BqGJF3aBeRT05gDeKMoHH6eOjH0(SourceFile:0)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(SourceFile:0)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at android.os.Handler.handleCallback(Handler.java:991)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at android.os.Handler.dispatchMessage(Handler.java:102)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at android.os.Looper.loopOnce(Looper.java:232)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at android.os.Looper.loop(Looper.java:317)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at android.app.ActivityThread.main(ActivityThread.java:8787)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at java.lang.reflect.Method.invoke(Native Method)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871)
12-23 12:55:50.896 22427 22427 E DartMessenger: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at libcore.io.Linux.open(Native Method)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8673)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	at libcore.io.IoBridge.open(IoBridge.java:560)
12-23 12:55:50.896 22427 22427 E DartMessenger: 	... 18 more
12-23 12:56:20.927 22427 22427 D VRI[MainActivity]: visibilityChanged oldVisibility=true newVisibility=false

Patch logs

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • The bug is only related to ReVanced Manager.
@JimKnoxx JimKnoxx added the Bug report Something isn't working label Dec 23, 2024
@KobeW50
Copy link
Contributor

KobeW50 commented Dec 23, 2024

Is it #2224? Please provide the exact installation failure error

@pramodhrachuri
Copy link

#2224 has been marked as spam and the thread has been locked. But I don't think the issue has been resolved. This just happened to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants