GithubHelp home page GithubHelp logo

Comments (16)

dancorpse avatar dancorpse commented on June 13, 2024

IMG_20240218_092328__01

from sdmaid-se.

dancorpse avatar dancorpse commented on June 13, 2024
VID_20240218_092433_01.mp4

from sdmaid-se.

d4rken avatar d4rken commented on June 13, 2024

Please provide a debug log of this:
https://github.com/d4rken-org/sdmaid-se/wiki/Bugs#debug-log

from sdmaid-se.

dancorpse avatar dancorpse commented on June 13, 2024

OK, I will try to post the debug log later.

from sdmaid-se.

dancorpse avatar dancorpse commented on June 13, 2024

eu.darken.sdmse_logfile_1708319523690.zip

from sdmaid-se.

dancorpse avatar dancorpse commented on June 13, 2024

Here is the debug log. I noticed that on android 14, there's no selection of grant access to android/data folder under manager storage, but on android 10, there is selection for grant access to android/data folder. I guess this is the reason why SD maid SE's app cleaner does not work on android 14, how can I grant access to android/data?

from sdmaid-se.

dancorpse avatar dancorpse commented on June 13, 2024

Not only appcleaner, click appcontrol will also cause SD Maid SE to quit at once. I think the problem is because SD maide SE has not granted access to android/data.

from sdmaid-se.

d4rken avatar d4rken commented on June 13, 2024

The issue is with your systems package manager.

This is a "safety crash":

2024-02-19T05:12:14.805Z  E/SDMSE:App: UNCAUGHT EXCEPTION: eu.darken.sdmse.common.pkgs.pkgops.IllegalPkgDataException: No installed packages
	at eu.darken.sdmse.common.pkgs.sources.PackageManagerPkgSource.access$getCoreList(Unknown Source:232)
	at eu.darken.sdmse.common.pkgs.sources.PackageManagerPkgSource$getCoreList$1.invokeSuspend(Unknown Source:11)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:93)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: 

There should never be 0 pkgs, as there are always some system apps installed:

D/SDMSE:PkgRepo: 0 pkgs from eu.darken.sdmse.common.pkgs.sources.SystemManifestPkgSource@1dee8be

Any idea why this would be? 🤔

from sdmaid-se.

dancorpse avatar dancorpse commented on June 13, 2024

Oh, I'm so stupid that just noticed that I haven't given SD maid SE permission to app list, need to go to setting - app - SD Maid SE and allow permission to app list, the app itself do not pop up ask for permission to app list.

from sdmaid-se.

d4rken avatar d4rken commented on June 13, 2024

Is this a special Samsung only setting? Can you show me a screenshot? 🤔

from sdmaid-se.

dancorpse avatar dancorpse commented on June 13, 2024

Below 2 pictures are from oneplus 7T, Android 10 phone, there's no permmission for app list:
android-10
android-10-2

Below 2 pictures are from samsung galaxy 24+ phone, Android 14, there's permmission option named app list:
android 14
android 14-2

from sdmaid-se.

d4rken avatar d4rken commented on June 13, 2024

This should have been granted by default, did you manually disable it?

from sdmaid-se.

dancorpse avatar dancorpse commented on June 13, 2024

I never disable it manually, the app did not ask me for allowing on installation, at first I just stuck with "android restricted access to android/data folder from android 11 on" issue, later when I came to app setting then realized the crash was casued by applist permission.

from sdmaid-se.

d4rken avatar d4rken commented on June 13, 2024

This is normally not a permission that can't be taken away. The S24+ is a popular device, if this is not granted by default, then I would expect to get more feedback about crashes 🤷.

I'm closing this for now as there is nothing to do here for me. If we later find out this is a special thing to request on Samsung device, then we reopen it.

Thanks for the report!

Below 2 pictures are from samsung galaxy 24+ phone, Android 14, there's permmission option named app list:

The permission is new, I think Android 12 or 13+, it's just unusual that it's visible and can be taken away. The permission has to be declared by developer and is automatically granted, but Google Play requires devs to provide an explanation on why the permission is requested.

from sdmaid-se.

d4rken avatar d4rken commented on June 13, 2024

Actually, let's leave this open for now, I'll look into whether SD Maid can handle this without crash and show a setup card with instructions for Samsung devices...

from sdmaid-se.

d4rken avatar d4rken commented on June 13, 2024

Still don't get what Samsung is doing here except, but #1033 will make SD Maid not crash and handle this more gracefully, i.e. show a hint to the user about it.

Thanks for bringing this to my attention @dancorpse

from sdmaid-se.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.