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: Missing app optimization after mount method (root) #1773

Open
4 tasks done
Alex67693 opened this issue Mar 20, 2024 · 0 comments
Open
4 tasks done

bug: Missing app optimization after mount method (root) #1773

Alex67693 opened this issue Mar 20, 2024 · 0 comments
Labels
Bug report Something isn't working

Comments

@Alex67693
Copy link

Bug description

  1. After patching the App, if you choose "Mount" as install option, the app won't be optimized (dex2oat). This leads to a very laggy experience and long start time. If you do dex2oat manually, the installed app doesn't lag anymore. The optimization of an app happens automatically by the Android system while installing an APK but not after mounting.

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

Revanced Manager: 1.19.3
App: YouTube

Installation method

Mount

ReVanced Manager logs

--------- beginning of main
03-20 18:23:05.115 10324 10324 E manager.flutter: Not starting debugger since process cannot load the jdwp agent.
03-20 18:23:05.136 10324 10324 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10511; state: ENABLED
03-20 18:23:05.229 10324 10324 V GraphicsEnvironment: ANGLE Developer option for 'app.revanced.manager.flutter' set to: 'default'
03-20 18:23:05.229 10324 10324 V GraphicsEnvironment: ANGLE GameManagerService for app.revanced.manager.flutter: false
03-20 18:23:05.230 10324 10324 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
03-20 18:23:05.271 10324 10340 D libMEOW : meow reload base cfg path: na
03-20 18:23:05.271 10324 10340 D libMEOW : meow reload overlay cfg path: /vendor/etc/meow.cfg
03-20 18:23:05.274 10324 10340 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:23:05.274 10324 10340 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:23:05.340 10324 10324 W manager.flutter: type=1400 audit(0.0:65): avc: denied { read } for name="max_map_count" dev="proc" ino=94927 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=app.revanced.manager.flutter
03-20 18:23:05.358 10324 10324 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:23:05.358 10324 10324 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:23:05.369 10324 10324 I GED     : [GT]_get_procNameprocess pid(10324)
03-20 18:23:05.369 10324 10324 I GED     : [GT]_getprocess name(app.revanced.manager.flutter)
03-20 18:23:05.369 10324 10324 I manager.flutter: [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
03-20 18:23:05.369 10324 10324 I libMEOW_gift: ctx:0xb400007d34a02ee8, ARC not Enabled.
03-20 18:23:05.370 10324 10324 I GED     : [GT]_get_procNameprocess pid(10324)
03-20 18:23:05.370 10324 10324 I GED     : [GT]_getprocess name(app.revanced.manager.flutter)
03-20 18:23:05.370 10324 10324 I manager.flutter: [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
03-20 18:23:05.370 10324 10324 I libMEOW_gift: ctx:0xb400007d34a06f50, ARC not Enabled.
03-20 18:23:05.372 10324 10345 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:23:05.372 10324 10345 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:23:05.388 10324 10324 D FlutterFileDialogPlugin: onAttachedToEngine - IN
03-20 18:23:05.388 10324 10324 D FlutterFileDialogPlugin: doOnAttachedToEngine - IN
03-20 18:23:05.388 10324 10324 D FlutterFileDialogPlugin: doOnAttachedToEngine - OUT
03-20 18:23:05.388 10324 10324 D FlutterFileDialogPlugin: onAttachedToEngine - OUT
03-20 18:23:05.388 10324 10324 D FlutterFileDialogPlugin: onAttachedToActivity
03-20 18:23:05.388 10324 10324 D FlutterFileDialogPlugin: doOnAttachedToActivity - IN
03-20 18:23:05.388 10324 10324 D FlutterFileDialogPlugin: doOnAttachedToActivity - OUT
03-20 18:23:05.500 10367 10367 W sh      : type=1400 audit(0.0:66): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:05.528 10367 10367 W sh      : type=1400 audit(0.0:67): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:05.552 10367 10367 W sh      : type=1400 audit(0.0:68): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:05.576 10367 10367 W sh      : type=1400 audit(0.0:69): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:05.600 10367 10367 W sh      : type=1400 audit(0.0:70): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:05.624 10367 10367 W sh      : type=1400 audit(0.0:71): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:05.764 10324 10338 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:23:05.764 10324 10338 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:23:05.768 10324 10338 I GED     : [GT]_get_procNameprocess pid(10324)
03-20 18:23:05.768 10324 10338 I GED     : [GT]_getprocess name(app.revanced.manager.flutter)
03-20 18:23:05.768 10324 10338 I manager.flutter: [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
03-20 18:23:05.768 10324 10338 I libMEOW_gift: ctx:0xb400007d34a08f20, ARC not Enabled.
03-20 18:23:05.770 10324 10324 E BLASTBufferQueue: Cannot find perfservice
03-20 18:23:05.772 10324 10344 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:23:05.772 10324 10344 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:23:05.784 10324 10338 E OpenGLRenderer: Unable to match the desired swap behavior.
03-20 18:23:06.260 10324 10343 I flutter : dynamic_color: Core palette detected.
03-20 18:23:06.300 10324 10344 I Gralloc4: Adding additional valid usage bits: 0x0
03-20 18:23:06.303 10324 10344 E ion     : ioctl c0044901 failed with code -1: Invalid argument
03-20 18:23:06.434 10324 10324 E SurfaceSyncer: Failed to find sync for id=0
03-20 18:23:06.460 10324 10338 W Parcel  : Expecting binder but got null!
03-20 18:23:08.317 10324 10324 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
03-20 18:23:08.317 10324 10324 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
03-20 18:23:08.360 10367 10367 W sh      : type=1400 audit(0.0:90): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:08.392 10367 10367 W sh      : type=1400 audit(0.0:91): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:08.416 10367 10367 W sh      : type=1400 audit(0.0:92): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:08.440 10367 10367 W sh      : type=1400 audit(0.0:93): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:08.468 10367 10367 W sh      : type=1400 audit(0.0:94): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:23:15.411 10324 10332 W manager.flutter: Cleared Reference was only reachable from finalizer (only reported once)
03-20 18:23:15.431 10324 10332 I manager.flutter: Background concurrent copying GC freed 1012340(29MB) AllocSpace objects, 51(2624KB) LOS objects, 85% free, 4328KB/28MB, paused 248us,91us total 188.563ms
03-20 18:23:15.933 10324 10324 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10511; state: ENABLED
03-20 18:23:27.669 10324 10324 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10511; state: ENABLED
03-20 18:23:46.877 10324 10345 I GED     : ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 27, oppidx_max 27, oppidx_min 0
03-20 18:23:46.893 10324 10324 E BLASTBufferQueue: [VRI[MainActivity]#0](f:0,a:1) Applying pending transactions on dtor 1
03-20 18:23:46.900 10324 10338 I GED     : ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 27, oppidx_max 27, oppidx_min 0
03-20 18:24:14.129 10996 10996 E manager.flutter: Not starting debugger since process cannot load the jdwp agent.
03-20 18:24:14.140 10996 10996 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10511; state: ENABLED
03-20 18:24:14.156 10996 10996 V GraphicsEnvironment: ANGLE Developer option for 'app.revanced.manager.flutter' set to: 'default'
03-20 18:24:14.157 10996 10996 V GraphicsEnvironment: ANGLE GameManagerService for app.revanced.manager.flutter: false
03-20 18:24:14.157 10996 10996 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
03-20 18:24:14.178 10996 11012 D libMEOW : meow reload base cfg path: na
03-20 18:24:14.178 10996 11012 D libMEOW : meow reload overlay cfg path: /vendor/etc/meow.cfg
03-20 18:24:14.179 10996 11012 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:24:14.179 10996 11012 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:24:14.204 10996 10996 W manager.flutter: type=1400 audit(0.0:122): avc: denied { read } for name="max_map_count" dev="proc" ino=94927 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=app.revanced.manager.flutter
03-20 18:24:14.213 10996 10996 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:24:14.213 10996 10996 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:24:14.221 10996 10996 I GED     : [GT]_get_procNameprocess pid(10996)
03-20 18:24:14.221 10996 10996 I GED     : [GT]_getprocess name(app.revanced.manager.flutter)
03-20 18:24:14.221 10996 10996 I manager.flutter: [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
03-20 18:24:14.221 10996 10996 I libMEOW_gift: ctx:0xb400007d349a4ee8, ARC not Enabled.
03-20 18:24:14.222 10996 10996 I GED     : [GT]_get_procNameprocess pid(10996)
03-20 18:24:14.222 10996 10996 I GED     : [GT]_getprocess name(app.revanced.manager.flutter)
03-20 18:24:14.222 10996 10996 I manager.flutter: [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
03-20 18:24:14.222 10996 10996 I libMEOW_gift: ctx:0xb400007cc76b6f50, ARC not Enabled.
03-20 18:24:14.223 10996 11017 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:24:14.223 10996 11017 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:24:14.240 10996 10996 D FlutterFileDialogPlugin: onAttachedToEngine - IN
03-20 18:24:14.240 10996 10996 D FlutterFileDialogPlugin: doOnAttachedToEngine - IN
03-20 18:24:14.240 10996 10996 D FlutterFileDialogPlugin: doOnAttachedToEngine - OUT
03-20 18:24:14.240 10996 10996 D FlutterFileDialogPlugin: onAttachedToEngine - OUT
03-20 18:24:14.240 10996 10996 D FlutterFileDialogPlugin: onAttachedToActivity
03-20 18:24:14.240 10996 10996 D FlutterFileDialogPlugin: doOnAttachedToActivity - IN
03-20 18:24:14.240 10996 10996 D FlutterFileDialogPlugin: doOnAttachedToActivity - OUT
03-20 18:24:14.336 11039 11039 W sh      : type=1400 audit(0.0:123): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:14.352 11039 11039 W sh      : type=1400 audit(0.0:124): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:14.364 11039 11039 W sh      : type=1400 audit(0.0:125): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:14.392 11039 11039 W sh      : type=1400 audit(0.0:126): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:14.408 11039 11039 W sh      : type=1400 audit(0.0:127): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:14.440 11039 11039 W sh      : type=1400 audit(0.0:128): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:14.568 10996 11010 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:24:14.568 10996 11010 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:24:14.571 10996 11010 I GED     : [GT]_get_procNameprocess pid(10996)
03-20 18:24:14.571 10996 11010 I GED     : [GT]_getprocess name(app.revanced.manager.flutter)
03-20 18:24:14.571 10996 11010 I manager.flutter: [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
03-20 18:24:14.571 10996 11010 I libMEOW_gift: ctx:0xb400007cc777bf20, ARC not Enabled.
03-20 18:24:14.572 10996 10996 E BLASTBufferQueue: Cannot find perfservice
03-20 18:24:14.574 10996 11016 D libMEOW : applied 1 plugins for [app.revanced.manager.flutter]:
03-20 18:24:14.574 10996 11016 D libMEOW :   plugin 1: [libMEOW_gift.so]:
03-20 18:24:14.587 10996 11010 E OpenGLRenderer: Unable to match the desired swap behavior.
03-20 18:24:14.995 10996 11015 I flutter : dynamic_color: Core palette detected.
03-20 18:24:15.015 10996 11016 I Gralloc4: Adding additional valid usage bits: 0x0
03-20 18:24:15.016 10996 11016 E ion     : ioctl c0044901 failed with code -1: Invalid argument
03-20 18:24:15.181 10996 10996 E SurfaceSyncer: Failed to find sync for id=0
03-20 18:24:15.200 10996 11010 W Parcel  : Expecting binder but got null!
03-20 18:24:15.948 11039 11039 W sh      : type=1400 audit(0.0:147): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:15.972 11039 11039 W sh      : type=1400 audit(0.0:148): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:16.008 11039 11039 W sh      : type=1400 audit(0.0:149): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:16.032 11039 11039 W sh      : type=1400 audit(0.0:150): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:16.056 11039 11039 W sh      : type=1400 audit(0.0:151): avc: denied { read } for name="/" dev="sdc40" ino=2 scontext=u:r:untrusted_app:s0:c255,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-20 18:24:16.256 10996 10996 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
03-20 18:24:16.256 10996 10996 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
03-20 18:24:24.292 10996 11004 W manager.flutter: Cleared Reference was only reachable from finalizer (only reported once)
03-20 18:24:24.312 10996 11004 I manager.flutter: Background concurrent copying GC freed 1013759(29MB) AllocSpace objects, 51(2624KB) LOS objects, 85% free, 4329KB/28MB, paused 398us,100us total 186.419ms
03-20 18:24:28.946 10996 10996 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10511; state: ENABLED
03-20 18:24:32.284 10996 10996 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10511; state: ENABLED

Patch logs

No response

Acknowledgements

  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • The bug is only related to ReVanced Manager
@Alex67693 Alex67693 added the Bug report Something isn't working label Mar 20, 2024
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

1 participant