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

Canta doesn't delete apps #5

Closed kenderipa closed 11 months ago

kenderipa commented 11 months ago

Hello,

I've tried using Canta today. The concept is great, but it doesn't seem to work. I've activated Shizuku via wireless debugging, started Canta, granted it the Shizuku permission, selected an app (Google Assistant) and tried to delete it, bug nothing happened. This behaviour persisted after reboot. Canta can be seen in Shizuku under "authorized applications". The device is Realmi Pad Mini (RMP2105), Android 11, not rooted. Could you please take a look?

Thanks in advance

samolego commented 11 months ago

Please provide a logcat as well

kenderipa commented 11 months ago

Where do I find it?

kenderipa commented 11 months ago

Got it, Termux.

kenderipa commented 11 months ago

10-11 14:35:30.985 15675 15699 I gralloc4: unregister: id=254000005e0 10-11 14:35:30.986 15675 15699 I gralloc4: unregister: id=254000005e1 10-11 14:35:30.986 15675 15699 I gralloc4: unregister: id=254000005e2 10-11 14:35:37.907 15675 16657 E libc : Access denied finding property "media.stagefright.extractremote" 10-11 14:35:37.907 15675 15675 I ActivityThread: smart_link is not supported!!! 10-11 14:35:37.903 15675 15675 W SoundDecoder_1: type=1400 audit(0.0:34541): avc: denied { read } for name="u:object_r:media_prop:s0" dev="tmpfs" ino=7327 scontext=u:r:untrusted_app_27:s0:c195,c258,c512,c768 tcontext=u:object_r:media_prop:s0 tclass=file permissive=0 app=com.termux 10-11 14:35:37.912 15675 16657 I MediaCodec: app porc_name:com.termux mime:audio/vorbis 10-11 14:35:37.913 15675 16657 W MediaCodec: cannot connect to the sprdssense service 10-11 14:35:37.915 15675 16658 D CCodec : allocate(c2.android.vorbis.decoder) 10-11 14:35:37.917 15675 16658 I CCodec : Created component [c2.android.vorbis.decoder] 10-11 14:35:37.917 15675 16658 D CCodecConfig: read media type: audio/vorbis 10-11 14:35:37.919 15675 16658 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 10-11 14:35:37.919 15675 16658 D ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 10-11 14:35:37.919 15675 16658 D ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 10-11 14:35:37.919 15675 16658 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 10-11 14:35:37.919 15675 16658 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 10-11 14:35:37.919 15675 16658 D ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 10-11 14:35:37.919 15675 16658 D ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 10-11 14:35:37.920 15675 16658 I CCodecConfig: query failed after returning 7 values (BAD_INDEX) 10-11 14:35:37.920 15675 16658 D CCodecConfig: c2 config diff is Dict { 10-11 14:35:37.920 15675 16658 D CCodecConfig: c2::u32 coded.bitrate.value = 64000 10-11 14:35:37.920 15675 16658 D CCodecConfig: c2::u32 input.buffers.max-size.value = 32768 10-11 14:35:37.920 15675 16658 D CCodecConfig: c2::u32 input.delay.value = 0 10-11 14:35:37.920 15675 16658 D CCodecConfig: string input.media-type.value = "audio/vorbis" 10-11 14:35:37.920 15675 16658 D CCodecConfig: string output.media-type.value = "audio/raw" 10-11 14:35:37.920 15675 16658 D CCodecConfig: c2::u32 raw.channel-count.value = 1 10-11 14:35:37.920 15675 16658 D CCodecConfig: c2::u32 raw.sample-rate.value = 48000 10-11 14:35:37.920 15675 16658 D CCodecConfig: } 10-11 14:35:37.921 15675 16658 D MediaCodec: flushMediametrics 10-11 14:35:37.921 15675 16658 D CCodec : [c2.android.vorbis.decoder] buffers are bound to CCodec for this session 10-11 14:35:37.921 15675 16658 D CCodecConfig: no c2 equivalents for durationUs 10-11 14:35:37.921 15675 16658 D CCodecConfig: no c2 equivalents for track-id 10-11 14:35:37.921 15675 16658 D CCodecConfig: no c2 equivalents for csd-1 10-11 14:35:37.921 15675 16658 D CCodecConfig: no c2 equivalents for channel-mask 10-11 14:35:37.921 15675 16658 D CCodecConfig: no c2 equivalents for flags 10-11 14:35:37.921 15675 16658 D CCodecConfig: c2 config diff is c2::u32 raw.sample-rate.value = 44100 10-11 14:35:37.922 15675 16658 W Codec2Client: query -- param skipped: index = 1107298332. 10-11 14:35:37.922 15675 16658 D CCodec : setup formats input: AMessage(what = 0x00000000) = { 10-11 14:35:37.922 15675 16658 D CCodec : int32_t channel-count = 1 10-11 14:35:37.922 15675 16658 D CCodec : int32_t max-input-size = 32768 10-11 14:35:37.922 15675 16658 D CCodec : string mime = "audio/vorbis" 10-11 14:35:37.922 15675 16658 D CCodec : int32_t sample-rate = 44100 10-11 14:35:37.922 15675 16658 D CCodec : } and output: AMessage(what = 0x00000000) = { 10-11 14:35:37.922 15675 16658 D CCodec : int32_t channel-count = 1 10-11 14:35:37.922 15675 16658 D CCodec : string mime = "audio/raw" 10-11 14:35:37.922 15675 16658 D CCodec : int32_t sample-rate = 44100 10-11 14:35:37.922 15675 16658 D CCodec : int32_t channel-mask = 1 10-11 14:35:37.922 15675 16658 D CCodec : } 10-11 14:35:37.922 15675 16658 W Codec2Client: query -- param skipped: index = 1342179345. 10-11 14:35:37.922 15675 16658 W Codec2Client: query -- param skipped: index = 2415921170. 10-11 14:35:37.922 15675 16658 E FMQ : grantorIdx must be less than 3 10-11 14:35:37.922 15675 16658 E FMQ : grantorIdx must be less than 3 10-11 14:35:37.923 15675 16658 D CCodecBufferChannel: [c2.android.vorbis.decoder#530] Created input block pool with allocatorID 16 => poolID 21 - OK (0) 10-11 14:35:37.923 15675 15710 D BufferPoolAccessor2.0: bufferpool2 0x7360bf4c48 : 0(0 size) total buffers - 0(0 size) used buffers - 2/9 (recycle/alloc) - 7/24 (fetch/transfer) 10-11 14:35:37.924 15675 15710 D BufferPoolAccessor2.0: Destruction - bufferpool2 0x7360bf4c48 cached: 0/0M, 0/0% in use; allocs: 9, 22% recycled; transfers: 24, 71% unfetched 10-11 14:35:37.924 15675 16658 I CCodecBufferChannel: [c2.android.vorbis.decoder#530] Created output block pool with allocatorID 16 => poolID 33 - OK 10-11 14:35:37.924 15675 16658 D CCodecBufferChannel: [c2.android.vorbis.decoder#530] Configured output block pool ids 33 => OK 10-11 14:35:37.925 15675 16658 E FMQ : grantorIdx must be less than 3 10-11 14:35:37.930 15675 15710 E FMQ : grantorIdx must be less than 3 10-11 14:35:37.932 15675 15699 I gralloc4: register: id=2540000061b 10-11 14:35:37.936 15675 16658 D CCodecBufferChannel: [c2.android.vorbis.decoder#530] MediaCodec discarded an unknown buffer 10-11 14:35:37.937 15675 16658 I hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 10-11 14:35:37.938 15675 16657 D MediaCodec: flushMediametrics 10-11 14:35:37.939 15675 16658 W AMessage: failed to deliver message as target handler 15 is gone. 10-11 14:35:37.954 15675 15699 I gralloc4: register: id=2540000061a 10-11 14:35:37.959 15675 15699 I gralloc4: register: id=25400000619 10-11 14:35:42.923 15675 15709 D BufferPoolAccessor2.0: bufferpool2 0x7360c103a8 : 0(0 size) total buffers - 0(0 size) used buffers - 2/9 (recycle/alloc) - 7/24 (fetch/transfer) 10-11 14:35:42.923 15675 15709 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 1 10-11 14:35:43.086 15675 15675 W Choreographer: Frame time is 0.121914 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. 10-11 14:35:43.923 15675 15709 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 0

samolego commented 11 months ago

Please include the whole logcat, filtered for canta. Start capturing, open canta, try to uninstall the app, wait for failure and then stop the logcat.

There's some apps on playstore you can use to filter out the logcat.

I use MatLog personally. https://f-droid.org/en/packages/com.pluscubed.matloglibre/

kenderipa commented 11 months ago

Yeah, it needs some adb stuff for system logs permission. I´m pretty new at it and would need time to master it. Time I don´t have right now. So I see two ways for now. I can close this issue and reopen it, when I know my way around adb. Or I can leave this issue open as a reminder. I also hope, that it gets staightened up in next releases. Which way would you prefer?

samolego commented 11 months ago

I can't really do much with this info tbf, as it's very vague. Therefore I'll close this. Hope you'll be able to get me more logs ;)

Terkyz commented 11 months ago

I'm having the same problem, which logs do you need?

samolego commented 11 months ago

Logcat, filtered by application (only include Canta's logs) (Follow the instructions above)

Terkyz commented 11 months ago

1697394128.866 11304 15448 15448 E samo_lego.cant: Not starting debugger since process cannot load the jdwp agent. 1697394128.889 11304 15448 15448 D ActivityThread: setConscryptValidator 1697394128.891 11304 15448 15448 D ActivityThread: setConscryptValidator - put 1697394128.934 11304 15448 15448 D ActivityThread: handleBindApplication()++ app=org.samo_lego.canta 1697394129.042 11304 15448 15448 D LoadedApk: LoadedApk::makeApplication() appContext=android.app.ContextImpl@7ca9cee appContext.mOpPackageName=org.samo_lego.canta appContext.mBasePackageName=org.samo_lego.canta appContext.mPackageInfo=android.app.LoadedApk@b29858f 1697394129.043 11304 15448 15448 D NetworkSecurityConfig: No Network Security Config specified, using platform default 1697394129.068 11304 15448 15448 D NetworkSecurityConfig: No Network Security Config specified, using platform default 1697394129.080 11304 15448 15448 D ShizukuProvider: Initialize Sui: false 1697394129.087 11304 15448 15448 D ActivityThread: handleBindApplication() -- skipGraphicsSupport=false 1697394129.114 11304 15448 15465 D ShizukuProvider: binder received 1697394129.117 11304 15448 15464 D ShizukuProvider: binder received 1697394129.140 11304 15448 15465 I ShizukuApplication: attachApplication 1697394129.157 11304 15448 15471 D libMEOW : meow reload base cfg path: na 1697394129.157 11304 15448 15471 D libMEOW : meow reload overlay cfg path: na 1697394129.217 11304 15448 15469 D libMEOW : applied 1 plugins for [org.samo_lego.canta]: 1697394129.217 11304 15448 15469 D libMEOW : plugin 1: [libMEOW_gift.so]: 1697394129.217 11304 15448 15471 D libMEOW : applied 1 plugins for [org.samo_lego.canta]: 1697394129.217 11304 15448 15471 D libMEOW : plugin 1: [libMEOW_gift.so]: 1697394129.289 11304 15448 15469 I libMEOW_gift: ctx:0xf48857e0, ARC not Enabled. 1697394129.336 11304 15448 15448 D libMEOW : applied 1 plugins for [org.samo_lego.canta]: 1697394129.336 11304 15448 15448 D libMEOW : plugin 1: [libMEOW_gift.so]: 1697394129.347 11304 15448 15448 I libMEOW_gift: ctx:0xf4885900, ARC not Enabled. 1697394129.352 11304 15448 15448 I libMEOW_gift: ctx:0xf4885960, ARC not Enabled. 1697394129.355 11304 15448 15478 D libMEOW : applied 1 plugins for [org.samo_lego.canta]: 1697394129.355 11304 15448 15478 D libMEOW : plugin 1: [libMEOW_gift.so]: 1697394129.445 11304 15448 15448 I DecorView: [INFO] isPopOver=false, config=true 1697394129.445 11304 15448 15448 I DecorView: updateCaptionType >> DecorView@eba75aa[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true 1697394129.445 11304 15448 15448 D DecorView: setCaptionType = 0, this = DecorView@eba75aa[] 1697394129.484 11304 15448 15488 I System.out: (HTTPLog)-Static: isSBSettingEnabled false 1697394129.484 11304 15448 15488 I System.out: (HTTPLog)-Static: isSBSettingEnabled false 1697394129.496 11304 15448 15448 D InputTransport: Input channel constructed: 'f881c81', fd=100 1697394129.523 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: setView = com.android.internal.policy.DecorView@eba75aa TM=true 1697394129.542 11304 15448 15448 I SurfaceView: onWindowVisibilityChanged(0) true r.i{1ca7415 V.E...... ......I. 0,0-0,0} of ViewRootImpl@868d217[MainActivity] 1697394129.562 11304 15448 15448 I SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x6a8a6b8 / android.view.SurfaceControl.readFromParcel:1121 android.view.IWindowSession$Stub$Proxy.relayout:1840 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 1697394129.565 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: Relayout returned: old=(0,0,720,1520) new=(0,0,720,1520) req=(720,1520)0 dur=19 res=0x7 s={true 4149357568} ch=true fn=-1 1697394129.568 11304 15448 15448 I SurfaceView: windowStopped(false) true r.i{1ca7415 V.E...... ......I. 0,0-0,0} of ViewRootImpl@868d217[MainActivity] 1697394129.577 11304 15448 15448 I SurfaceView: surfaceCreated 1 #8 r.i{1ca7415 V.E...... ......ID 0,0-720,1494} 1697394129.578 11304 15448 15477 D libMEOW : applied 1 plugins for [org.samo_lego.canta]: 1697394129.578 11304 15448 15477 D libMEOW : plugin 1: [libMEOW_gift.so]: 1697394129.593 11304 15448 15477 E ion : ioctl c0044901 failed with code -1: Invalid argument 1697394129.602 11304 15448 15448 I SurfaceView: surfaceChanged (720,1494) 1 #8 r.i{1ca7415 V.E...... ......ID 0,0-720,1494} 1697394129.847 11304 15448 15466 I samo_lego.cant: Waiting for a blocking GC ProfileSaver 1697394131.286 11304 15448 15448 I ApplicationPackageManager: we don't have com.samsung.android.calendar package name. load it 1697394131.298 11304 15448 15448 W samo_lego.cant: ClassLoaderContext shared library size mismatch. Expected=3, found=0 (PCL[]{PCL[/system/framework/android.test.base.jar*2798937298]#PCL[/system/framework/org.apache.http.legacy.jar*876722329]#PCL[/system/framework/com.samsung.android.spensdk.framework-v1.jar*2224386652]} | PCL[];PCL[]) 1697394131.338 11304 15448 15448 I LiveIconLoader: [Calendar] LiveIcon - stdIconSize : 84 , targetIconSize : 84 1697394131.367 11304 15448 15448 I LiveIconLoader: [Calendar] getLiveIcon - Date: 15 1697394131.378 11304 15448 15448 I AppIconSolution: load= live icon for com.samsung.android.calendar, from overlay = false 1697394134.013 11304 15448 15448 D CustomizedTextParser: Initialzed 1697394134.013 11304 15448 15448 E CustomizedTextParser: getCustomizedText Rule is empty. mRuleMap={} 1697394136.619 11304 15448 15448 I ApplicationPackageManager: we don't have com.sec.android.app.clockpackage package name. load it 1697394136.628 11304 15448 15448 W samo_lego.cant: ClassLoaderContext shared library size mismatch. Expected=1, found=0 (PCL[]{PCL[/system/framework/org.apache.http.legacy.jar*876722329]} | PCL[];PCL[]) 1697394136.652 11304 15448 15448 I LiveIconUtil: getLiveIcon was called in ClockPackage 1697394136.664 11304 15448 15448 I LiveIconUtil: getLiveIcon res = com.sec.android.app.clockpackage 1697394136.666 11304 15448 15448 I LiveIconUtil: stdIconSize : 84 , targetIconSize : 84 1697394136.697 11304 15448 15448 I AppIconSolution: load= live icon for com.sec.android.app.clockpackage, from overlay = false 1697394137.293 11304 15448 15448 W PackageManager: Failure retrieving resources for com.google.android.packageinstaller: Drawable com.android.packageinstaller:drawable/ic_app_icon with resource ID #0x7f070060 1697394137.907 11304 15448 15448 E CustomizedTextParser: getCustomizedText Rule is empty. mRuleMap={} 1697394139.420 11304 15448 15448 E CustomizedTextParser: getCustomizedText Rule is empty. mRuleMap={} 1697394144.153 11304 15448 15448 I Choreographer: Skipped 866 frames! The application may be doing too much work on its main thread. 1697394144.194 11304 15448 15500 I SurfaceView: applySurfaceTransforms: t = android.view.SurfaceControl$Transaction@3627586 surfaceControl = Surface(name=SurfaceView - org.samo_lego.canta/org.samo_lego.canta.MainActivity@1ca7415@0)/@0xc5f0e47 frame = 1 1697394144.230 11304 15448 15469 I OpenGLRenderer: Davey! duration=14496ms; Flags=0, IntendedVsync=748785639796554, Vsync=748800073130176, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=748800075844169, AnimationStart=748800075851862, PerformTraversalsStart=748800075855708, DrawStart=748800089135708, SyncQueued=748800097387785, SyncStart=748800112961477, IssueDrawCommandsStart=748800114633400, SwapBuffers=748800147976862, FrameCompleted=748800151695400, DequeueBufferDuration=0, QueueBufferDuration=2525308, GpuCompleted=0, 1697394144.330 11304 15448 15460 I samo_lego.cant: Background concurrent copying GC freed 15948(994KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 3175KB/6351KB, paused 6.622ms total 97.974ms 1697394144.358 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[3573063776] 1697394144.358 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[3573063776] 1697394144.377 11304 15448 15448 I SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x6a8a6b8 / android.view.SurfaceControl.readFromParcel:1121 android.view.IWindowSession$Stub$Proxy.relayout:1840 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 1697394144.384 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[4124213984] 1697394144.385 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[4124213984] 1697394144.385 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[4124213952] 1697394144.385 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[4124213952] 1697394144.385 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: Relayout returned: old=(0,0,720,1520) new=(0,0,720,1520) req=(720,1520)0 dur=47 res=0x1 s={true 4149357568} ch=false fn=2 1697394144.398 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: updateBoundsLayer: shouldReparent = false t = android.view.SurfaceControl$Transaction@cbce674 sc = Surface(name=Bounds for - org.samo_lego.canta/org.samo_lego.canta.MainActivity@0)/@0xc5da79d frame = 2 1697394144.402 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1 1697394144.403 11304 15448 15448 D InputMethodManager: prepareNavigationBarInfo() DecorView@eba75aa[MainActivity] 1697394144.403 11304 15448 15448 D InputMethodManager: getNavigationBarColor() -855310 1697394144.408 11304 15448 15448 D InputMethodManager: prepareNavigationBarInfo() DecorView@eba75aa[MainActivity] 1697394144.409 11304 15448 15448 D InputMethodManager: getNavigationBarColor() -855310 1697394144.411 11304 15448 15448 V InputMethodManager: Starting input: tba=org.samo_lego.canta ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false 1697394144.432 11304 15448 15448 D InputMethodManager: startInputInner - Id : 0 1697394144.433 11304 15448 15448 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus 1697394144.488 11304 15448 15465 D InputTransport: Input channel constructed: 'ClientS', fd=127 1697394144.489 11304 15448 15448 D InputMethodManager: prepareNavigationBarInfo() DecorView@eba75aa[MainActivity] 1697394144.489 11304 15448 15448 D InputMethodManager: getNavigationBarColor() -855310 1697394144.489 11304 15448 15448 V InputMethodManager: Starting input: tba=org.samo_lego.canta ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false 1697394144.489 11304 15448 15448 D InputMethodManager: startInputInner - Id : 0 1697394144.517 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[3296248672] 1697394144.517 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[3296248672] 1697394144.517 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[3573063776] 1697394144.517 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[3573063776] 1697394145.608 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394145.711 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394145.893 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394146.292 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394146.474 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394146.738 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394146.870 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394147.003 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394147.185 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394147.435 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394147.600 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394147.698 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394147.866 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394148.079 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394148.361 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394148.460 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394148.612 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394148.908 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394149.305 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394149.388 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394149.571 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394149.835 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394150.020 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394150.119 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394150.252 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394150.484 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394150.647 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394150.763 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394150.881 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394151.113 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394151.660 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394151.923 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394152.338 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394152.435 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394152.801 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394152.983 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394153.149 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394153.480 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394153.647 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394153.877 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394154.093 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394154.192 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394154.359 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394154.573 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394154.755 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394154.871 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394154.987 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394155.235 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394155.600 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394155.702 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394155.868 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394156.147 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394157.044 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394157.090 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394157.955 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394157.968 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394158.466 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394158.532 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 1 1697394158.667 11304 15448 15448 W samo_lego.cant: Accessing hidden method Landroid/content/pm/IPackageInstaller$Stub;->asInterface(Landroid/os/IBinder;)Landroid/content/pm/IPackageInstaller; (greylist-max-o, linking, denied) 1697394158.698 11304 15448 15448 E DartMessenger: Uncaught exception in binary message listener 1697394158.698 11304 15448 15448 E DartMessenger: java.lang.NoSuchMethodException: android.content.pm.PackageInstaller.<init> [interface android.content.pm.IPackageInstaller, class java.lang.String, class java.lang.String, int] 1697394158.698 11304 15448 15448 E DartMessenger: at java.lang.Class.getConstructor0(Class.java:2332) 1697394158.698 11304 15448 15448 E DartMessenger: at java.lang.Class.getConstructor(Class.java:1728) 1697394158.698 11304 15448 15448 E DartMessenger: at f1.k.a(Unknown Source:23) 1697394158.698 11304 15448 15448 E DartMessenger: at org.samo_lego.canta.MainActivity.X(Unknown Source:28) 1697394158.698 11304 15448 15448 E DartMessenger: at org.samo_lego.canta.MainActivity.c0(Unknown Source:25) 1697394158.698 11304 15448 15448 E DartMessenger: at org.samo_lego.canta.MainActivity.T(Unknown Source:250) 1697394158.698 11304 15448 15448 E DartMessenger: at org.samo_lego.canta.MainActivity.Q(Unknown Source:0) 1697394158.698 11304 15448 15448 E DartMessenger: at f1.i.a(Unknown Source:2) 1697394158.698 11304 15448 15448 E DartMessenger: at c0.i$a.a(Unknown Source:17) 1697394158.698 11304 15448 15448 E DartMessenger: at t.c.h(Unknown Source:18) 1697394158.698 11304 15448 15448 E DartMessenger: at t.c.i(Unknown Source:40) 1697394158.698 11304 15448 15448 E DartMessenger: at t.c.e(Unknown Source:0) 1697394158.698 11304 15448 15448 E DartMessenger: at t.b.run(Unknown Source:12) 1697394158.698 11304 15448 15448 E DartMessenger: at android.os.Handler.handleCallback(Handler.java:938) 1697394158.698 11304 15448 15448 E DartMessenger: at android.os.Handler.dispatchMessage(Handler.java:99) 1697394158.698 11304 15448 15448 E DartMessenger: at android.os.Looper.loop(Looper.java:246) 1697394158.698 11304 15448 15448 E DartMessenger: at android.app.ActivityThread.main(ActivityThread.java:8653) 1697394158.698 11304 15448 15448 E DartMessenger: at java.lang.reflect.Method.invoke(Native Method) 1697394158.698 11304 15448 15448 E DartMessenger: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) 1697394158.698 11304 15448 15448 E DartMessenger: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130) 1697394158.699 11304 15448 15476 E flutter : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method uninstallApp on channel org.samo_lego.canta/native) 1697394158.699 11304 15448 15476 E flutter : #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:308) 1697394158.699 11304 15448 15476 E flutter : <asynchronous suspension> 1697394158.699 11304 15448 15476 E flutter : #1 KotlinBind.uninstallApp (package:canta/kotlin_bind.dart:11) 1697394158.699 11304 15448 15476 E flutter : <asynchronous suspension> 1697394158.699 11304 15448 15476 E flutter : #2 AppList.uninstallApp (package:canta/util/applist.dart:52) 1697394158.699 11304 15448 15476 E flutter : <asynchronous suspension> 1697394158.699 11304 15448 15476 E flutter : #3 _HomePageState._uninstallApps (package:canta/main.dart:396) 1697394158.699 11304 15448 15476 E flutter : <asynchronous suspension> 1697394160.075 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: ViewPostIme pointer 0 1697394160.498 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1 1697394160.634 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[3296249600] 1697394160.634 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[3296249600] 1697394160.634 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[3296249536] 1697394160.634 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[3296249536] 1697394160.634 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[3296248256] 1697394160.634 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[3296248256] 1697394161.504 11304 15448 15448 I SurfaceView: onWindowVisibilityChanged(8) false r.i{1ca7415 V.E...... ........ 0,0-720,1494} of ViewRootImpl@868d217[MainActivity] 1697394161.505 11304 15448 15448 I SurfaceView: surfaceDestroyed callback.size 1 #2 r.i{1ca7415 V.E...... ........ 0,0-720,1494} 1697394161.525 11304 15448 15469 I SurfaceView: remove() from RT android.view.SurfaceView$2@41cc305 Surface(name=SurfaceView - org.samo_lego.canta/org.samo_lego.canta.MainActivity@1ca7415@0)/@0xc5f0e47 1697394161.526 11304 15448 15469 I SurfaceControl: nativeRelease nativeObject s[3573064032] 1697394161.526 11304 15448 15469 I SurfaceControl: nativeRelease nativeObject e[3573064032] 1697394161.526 11304 15448 15469 I SurfaceControl: nativeRelease nativeObject s[3573064064] 1697394161.526 11304 15448 15469 I SurfaceControl: nativeRelease nativeObject e[3573064064] 1697394161.538 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[4123211904] 1697394161.538 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[4123211904] 1697394161.539 11304 15448 15448 I SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x423158b / android.view.SurfaceControl.readFromParcel:1121 android.view.IWindowSession$Stub$Proxy.relayout:1830 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 1697394161.540 11304 15448 15448 I SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/@0x6a8a6b8 / android.view.SurfaceControl.readFromParcel:1121 android.view.IWindowSession$Stub$Proxy.relayout:1840 android.view.ViewRootImpl.relayoutWindow:9005 android.view.ViewRootImpl.performTraversals:3360 android.view.ViewRootImpl.doTraversal:2618 android.view.ViewRootImpl$TraversalRunnable.run:9971 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995 1697394161.540 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[3709876128] 1697394161.540 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[3709876128] 1697394161.541 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[3296249664] 1697394161.541 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[3296249664] 1697394161.541 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: Relayout returned: old=(0,0,720,1520) new=(0,0,720,1520) req=(720,1520)8 dur=10 res=0x5 s={false 0} ch=true fn=2 1697394161.541 11304 15448 15448 I SurfaceView: windowStopped(true) false r.i{1ca7415 V.E...... ........ 0,0-720,1494} of ViewRootImpl@868d217[MainActivity] 1697394161.564 11304 15448 15448 D InputTransport: Input channel destroyed: 'ClientS', fd=127 1697394161.568 11304 15448 15448 I ViewRootImpl@868d217[MainActivity]: stopped(true) old=false 1697394161.582 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject s[4123211904] 1697394161.582 11304 15448 15448 I SurfaceControl: nativeRelease nativeObject e[4123211904] canta.log

I hope it works, I'm using LogFox and It's supposed to filter by Canta but I see a lot of logs that aren't related.

samolego commented 11 months ago

java.lang.NoSuchMethodException

I'd say the android version you're using is incompatible ... I haven't deepdived into the supported versions yet, sorry 😐 Which android are you running?

mkg20001 commented 11 months ago

I've got a similar issue, redmit note 10 5g

but "pm uninstall --user 0 appid" in ashell works

android 11

samolego commented 11 months ago

Could you try 1.2.0?

kenderipa commented 11 months ago

It works now. Thanks!

Terkyz commented 11 months ago

Confirm working on Android 11. Thanks for your work.