samolego / Canta

Uninstall any Android app without root (Shizuku)!
https://f-droid.org/en/packages/org.samo_lego.canta/
GNU Lesser General Public License v3.0
1.06k stars 28 forks source link

stuck at loading apps #3

Closed yant0 closed 3 months ago

yant0 commented 11 months ago

stuck at loading apps

Android 12

samolego commented 11 months ago

Please provide logcat, canta version, shizuku version.

xaverhimmelsbach commented 11 months ago

The same is happening for me. Canta is stuck at the loading Apps indicator and nothing happens. In Logcat, the following logs are popping up repeatedly, they could be the cause. If you need more log context, just tell me.

1697980295.036 10487 14646 18478 I samo_lego.cant: failed to find target package for overlay /system/product/overlay/ProductOverlay-oneplus-framework-res.apk
1697980295.036 10487 14646 18478 I samo_lego.cant: failed to find target package for overlay /system/system_ext/overlay/CommonOverlay-oneplus-framework-res.apk
1697980295.036 10487 14646 18478 I samo_lego.cant: failed to find target package for overlay /odm/overlay/OdmOverlay-oneplus-framework-res.apk
1697980295.038 10487 14646 18478 E samo_lego.cant: Invalid ID 0x00000000.
1697980295.054 10487 14646 18478 E OpApplicationPackageManagerInjector: Application package none not found

This is happening on a OnePlus 7 Pro on OxygenOS 11.0.9.1.GM21BA (Android 11). Canta version: 1.2.0 armeabi-v7a Shizuku version: 13.5.2

I'll try to look into it as well in the next weeks, maybe just a small patch is needed.

Matthieu-LAURENT39 commented 11 months ago

Same issue here on a Redmi Note 7 with Android 10 QKQ1.190910.002 Canta 1.2.0 arm64-v8a Shizuku 13.5.1.r1025.ebb2a30

Not too sure how to get the logs however

xaverhimmelsbach commented 11 months ago

@Matthieu-LAURENT39 I got the logs using LogFox from F-Droid. If you add a filter from the ∘∘∘ menu, you can select any APK (like Canta), to show only logs from that app.

samolego commented 11 months ago

@xaverhimmelsbach could you provide some more log context please :)? It might help as I'm lost rn 😅

xaverhimmelsbach commented 11 months ago

@samolego thanks for replying ^^ Sure, I've attached the full log of me, waiting ~30 seconds on the loading screen. If you need it,I can also upload logs of a longer timeframe. 24-10_08-41-13.log

0-BlackSpectrum-0 commented 10 months ago

Same issue here too, I've to wait too long for the app to open

Zilijen81 commented 10 months ago

Xiaomi 11 loading apps forever, disabled all battery optimisations and all recomended

samolego commented 10 months ago

@Black-StellarSpectrum @Zilijen81 please provide adb logcat-s so that we can determine if it's the same issue or not.

akshayalix commented 10 months ago

Same issue. Here is the logcat:

1698935120.458 10327 9139 9139 I samo_lego.canta: Using CollectorTypeCC GC. 1698935120.460 10327 9139 9139 E samo_lego.canta: Not starting debugger since process cannot load the jdwp agent. 1698935120.493 10327 9139 9154 V ActivityThread: updateVmProcessStateForGc sceneId =1 state=197376 1698935120.497 10327 9139 9139 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10327; state: ENABLED 1698935120.504 10327 9139 9139 D nativeloader: Configuring clns-4 for other apk /data/app/SqaLITciwkLe8rJAA2xPDw==/org.samo_lego.canta-yr7z_Hn4W-Skapk2On_fkg==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/SqaLITciwkLe8rJAA2xPDw==/org.samo_lego.canta-yr7z_Hn4W-Skapk2On_fkg==/lib/arm64:/data/app/~~SqaLITciwkLe8rJAA2xPDw==/org.samo_lego.canta-yr7z_Hn4W-Skapk2On_fkg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/org.samo_lego.canta 1698935120.511 10327 9139 9139 V GraphicsEnvironment: ANGLE Developer option for 'org.samo_lego.canta' set to: 'default' 1698935120.511 10327 9139 9139 V GraphicsEnvironment: ANGLE GameManagerService for org.samo_lego.canta: false 1698935120.511 10327 9139 9139 V GraphicsEnvironment: Updatable production driver is not supported on the device. 1698935120.513 10327 9139 9139 D NetworkSecurityConfig: No Network Security Config specified, using platform default 1698935120.513 10327 9139 9139 D NetworkSecurityConfig: No Network Security Config specified, using platform default 1698935120.514 10327 9139 9139 D ShizukuProvider: Initialize Sui: false 1698935120.515 10327 9139 9161 D ShizukuProvider: binder received 1698935120.515 10327 9139 9154 D ShizukuProvider: sendBinder is called when already a living binder 1698935120.516 10327 9139 9161 I ShizukuApplication: attachApplication 1698935120.521 10327 9139 9139 D VivoConfigStore: init begin 1698935120.525 10327 9139 9139 D VivoConfigStore: key:vivo.software.multilandscape isCached is true and value is true 1698935120.525 10327 9139 9139 D VivoConfigStore: key:vivo.software.virtualmultilands isCached is true and value is true 1698935120.525 10327 9139 9139 D VivoConfigStore: key:vivo.software.multiwindowresidentbar isCached is false and normal value is false 1698935120.526 10327 9139 9139 D VivoConfigStore: key:vivo.software.hovermode isCached is false and normal value is false 1698935120.530 10327 9139 9139 W samo_lego.canta: type=1400 audit(0.0:30302): avc: denied { read } for name="max_map_count" dev="proc" ino=8206897 scontext=u:r:untrusted_app:s0:c71,c257,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=org.samo_lego.canta 1698935120.540 10327 9139 9139 I AdrenoGLES-0: QUALCOMM build : ee4b625, I41c6f366e1 1698935120.540 10327 9139 9139 I AdrenoGLES-0: Build Date : 02/16/23 1698935120.540 10327 9139 9139 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV**** 1698935120.540 10327 9139 9139 I AdrenoGLES-0: Local Branch : 1698935120.540 10327 9139 9139 I AdrenoGLES-0: Remote Branch : 1698935120.540 10327 9139 9139 I AdrenoGLES-0: Remote Branch : 1698935120.540 10327 9139 9139 I AdrenoGLES-0: Reconstruct Branch : 1698935120.540 10327 9139 9139 I AdrenoGLES-0: Build Config : S P 12.1.1 AArch64 1698935120.540 10327 9139 9139 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so 1698935120.540 10327 9139 9139 I AdrenoGLES-0: Driver Version : 0615.60 1698935120.545 10327 9139 9139 I AdrenoGLES-0: PFP: 0x01730147, ME: 0x00000000 1698935120.562 10327 9139 9139 D VivoConfigStore: key:vivo.software.nightmode isCached is true and value is true 1698935120.571 10327 9139 9139 D VivoConfigStore: key:vivo.software.multiwindow isCached is true and value is true 1698935120.571 10327 9139 9139 D VivoConfigStore: key:vivo.software.freeform isCached is true and value is true 1698935120.597 10327 9139 9139 E BLASTBufferQueue: Cannot find perfservice 1698935120.633 10327 9139 9166 W Parcel : Expecting binder but got null! 1698935120.643 10327 9139 9161 V ActivityThread: updateVmProcessStateForGc sceneId =1 state=196608 1698935120.643 10327 9139 9139 V ImeFocusController: onWindowFocus: DecorView@27562ed[MainActivity] softInputMode=STATE_UNSPECIFIED|ADJUST_RESIZE|IS_FORWARD_NAVIGATION 1698935120.643 10327 9139 9139 V ImeFocusController: Restarting due to isRestartOnNextWindowFocus as true 1698935120.643 10327 9139 9139 D ImeFocusController: onViewFocusChanged, view=DecorView@27562ed[MainActivity], mServedView=null 1698935120.643 10327 9139 9139 V ImeFocusController: checkFocus: view=null next=DecorView@27562ed[MainActivity] immDelegate=delegate{6d8522 displayId=0} force=true package= 1698935121.439 10327 9139 9192 D TrafficStats: tagSocket(115) with statsTag=0xffffffff, statsUid=-1 1698935121.863 10327 9139 9197 W libc : Access denied finding property "vendor.vivo.imageencoder.dump" 1698935121.863 10327 9139 9197 D OpenGLRenderer: Bitmap::compress format:Png w:174 h:174 quality:100 app_apk:org.samo_lego.canta 1698935121.863 10327 9139 9197 W libc : Access denied finding property "vendor.vivo.imageencoder.dump" 1698935121.870 10327 9139 9197 W libc : Access denied finding property "vendor.vivo.imageencoder.dump" 1698935121.870 10327 9139 9197 D OpenGLRenderer: Bitmap::compress format:Png w:181 h:181 quality:100 app_apk:org.samo_lego.canta 1698935121.870 10327 9139 9197 W libc : Access denied finding property "vendor.vivo.imageencoder.dump" 1698935121.887 10327 9139 9197 W libc : Access denied finding property "vendor.vivo.imageencoder.dump" 1698935121.887 10327 9139 9197 D OpenGLRenderer: Bitmap::compress format:Png w:174 h:174 quality:100 app_apk:org.samo_lego.canta 1698935121.887 10327 9139 9197 W libc : Access denied finding property "vendor.vivo.imageencoder.dump" 1698935121.891 10327 9139 9197 W libc : Access denied finding property "vendor.vivo.imageencoder.dump" 1698935121.891 10327 9139 9197 D OpenGLRenderer: Bitmap::compress format:Png w:174 h:174 quality:100 app_apk:org.samo_lego.canta

PurpleCodingWizard commented 10 months ago

I too get a loading screen. This is on an android 13 samsung device. @samolego 02-11_21-43-28.log

Matthieu-LAURENT39 commented 10 months ago

Sorry for the long delay, here are my logs

1698961939.949 10450  7774  7774 E samo_lego.cant: Not starting debugger since process cannot load the jdwp agent.
1698961940.085 10450  7774  7774 I Perf    : Connecting to perf service.
1698961940.102 10450  7774  7774 D ShizukuProvider: Initialize Sui: false
1698961940.105 10450  7774  7792 D ShizukuProvider: binder received
1698961940.105 10450  7774  7793 D ShizukuProvider: binder received
1698961940.113 10450  7774  7774 I FeatureParser: can't find lavender.xml in assets/device_features/,it may be in /system/etc/device_features
1698961940.119 10450  7774  7792 I ShizukuApplication: attachApplication
1698961940.109 10450  7774  7774 W samo_lego.canta: type=1400 audit(0.0:536671): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=19365 scontext=u:r:untrusted_app:s0:c194,c257,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0
1698961940.121 10450  7774  7774 E libc    : Access denied finding property "ro.vendor.df.effect.conflict"
1698961940.146 10450  7774  7795 E Perf    : Fail to get file list org.samo_lego.canta
1698961940.147 10450  7774  7795 E Perf    : getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
1698961940.147 10450  7774  7795 E Perf    : Fail to get file list oat
1698961940.147 10450  7774  7795 E Perf    : getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
1698961940.199 10450  7774  7774 W samo_lego.canta: type=1400 audit(0.0:536672): avc: denied { read } for name="max_map_count" dev="proc" ino=14714756 scontext=u:r:untrusted_app:s0:c194,c257,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0
1698961940.224 10450  7774  7774 I AdrenoGLES: QUALCOMM build                   : 9b15012, I23c1002cc1
1698961940.224 10450  7774  7774 I AdrenoGLES: Build Date                       : 09/17/20
1698961940.224 10450  7774  7774 I AdrenoGLES: OpenGL ES Shader Compiler Version: EV031.27.05.02
1698961940.224 10450  7774  7774 I AdrenoGLES: Local Branch                     :
1698961940.224 10450  7774  7774 I AdrenoGLES: Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.8.2.R1.10.00.00.556.048
1698961940.224 10450  7774  7774 I AdrenoGLES: Remote Branch                    : NONE
1698961940.224 10450  7774  7774 I AdrenoGLES: Reconstruct Branch               : NOTHING
1698961940.224 10450  7774  7774 I AdrenoGLES: Build Config                     : S L 8.0.12 AArch64
1698961940.251 10450  7774  7774 I AdrenoGLES: PFP: 0x005ff113, ME: 0x005ff066
1698961940.253 10450  7774  7774 W AdrenoUtils: <ReadGpuID_from_sysfs:194>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
1698961940.253 10450  7774  7774 W AdrenoUtils: <ReadGpuID:218>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
1698961940.239 10450  7774  7774 W samo_lego.canta: type=1400 audit(0.0:536673): avc: denied { search } for name="kgsl-3d0" dev="sysfs" ino=32471 scontext=u:r:untrusted_app:s0:c194,c257,c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0
1698961940.285 10450  7774  7774 D ForceDarkHelper: updateByCheckExcludeList: pkg: org.samo_lego.canta activity: org.samo_lego.canta.MainActivity@fc7bff9
1698961940.289 10450  7774  7774 D ForceDarkHelper: updateByCheckExcludeList: pkg: org.samo_lego.canta activity: org.samo_lego.canta.MainActivity@fc7bff9
1698961940.332 10450  7774  7774 D ForceDarkHelper: updateByCheckExcludeList: pkg: org.samo_lego.canta activity: org.samo_lego.canta.MainActivity@fc7bff9
1698961940.334 10450  7774  7774 I chatty  : uid=10450(org.samo_lego.canta) identical 1 line
1698961940.334 10450  7774  7774 D ForceDarkHelper: updateByCheckExcludeList: pkg: org.samo_lego.canta activity: org.samo_lego.canta.MainActivity@fc7bff9
1698961940.362 10450  7774  7819 D NetworkSecurityConfig: No Network Security Config specified, using platform default
1698961940.363 10450  7774  7819 I DpmTcmClient: RegisterTcmMonitor from: $Proxy0
1698961940.383 10450  7774  7774 W Looper  : Slow Looper main: Activity org.samo_lego.canta/.MainActivity is 332ms late (wall=0ms running=0ms ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] }) because of 2 msg, msg 1 took 130ms (seq=2 running=73ms runnable=6ms io=43ms late=16ms h=android.app.ActivityThread$H w=110), msg 2 took 260ms (seq=3 running=104ms runnable=18ms io=59ms late=72ms h=android.app.ActivityThread$H w=159)
1698961940.426 10450  7774  7774 D SurfaceView: UPDATE null, mIsCastMode = false
1698961940.653 10450  7774  7805 W Gralloc3: mapper 3.x is not supported
1698962010.259 10450  7774  7774 W ActivityThread: SCHED: org.samo_lego.canta/.MainActivity [80, r=177ms, a=43ms, w=69910ms]
0-BlackSpectrum-0 commented 10 months ago

@Black-StellarSpectrum @Zilijen81 please provide adb logcat-s so that we can determine if it's the same issue or not.

Sorry for the delay, here's the log, I also have an issue, it seems to not show any apps for me to uninstall, can you check that as well? Screenshot_20231101-182715.png Logs

hydeplays commented 10 months ago

I also have the same problem, Canta is stuck at "loading apps".

MdSakifHossain commented 10 months ago

Problem: app is just showing "Loading apps...". And it's just loading and loading.

I'm using a realme narzo 50 phone. Os: android 11 Installed the Shizuku app. Installed Canta app. Configured both of them successfully.

I've triple checked everything. Nothing wrong on my side....

I just don't want to delete every single app by using a CLI based app. It's just painful. Please fix this error.

xd003 commented 10 months ago

I am also facing the very same issue, hopefully it could be solved soon. Here are the logs - https://bin.sohamsen.me/wdcol?r=&k=hFSMdgciO13PbbocmTq6f%2FRz0rgAUZ9okKiUKDs%2FVzw%3D

Himan16r commented 9 months ago

i m facing the same issue as well its stuck on loading apps screen

xaverhimmelsbach commented 7 months ago

Fixed on my device with 1.2.1, thank you so much :)

samolego commented 7 months ago

I have made a special version with some more logging, could you install this one and report back results (logs)? Sorry, but I cannot debug it myself since it works on my phone 😢 .

Note: .zip must be renamed to .apk

app-armeabi-v7a-release.zip

app-arm64-v8a-release.zip

Edit: if you want you can send me logs privately to discord as well, name is samolego

samolego commented 7 months ago

Ah, if it works, then it won't help that much but still.

samolego commented 7 months ago

Please provide the logs, that's the only special thing about upper app 😅 .

samolego commented 7 months ago

https://developer.android.com/tools/logcat

PurpleCodingWizard commented 6 months ago

Ok, so I'm past the loading screen on v1.3.0 downloaded from fdroid. It loads but takes a long to load.

But, I'm facing a different issue now. Apparently, the removal type(recommended, unsafe, etc) filter does not work. Here's the logcat from a realme device running android 14. canta_1.3.0_v2.log

samolego commented 6 months ago

@PurpleCodingWizard this was #42 which is now fixed :)

samolego commented 4 months ago

If anyone wants to try, the latest master branch source should be fixing this issue, though you'll have to build the app yourself (and uninstall current version of canta).

samolego commented 3 months ago

Should be fixed in 2.0.0