Sd fix

Post your questions and help other users.

Moderator: Martin

User avatar
Bluscre
Posts: 145
Joined: 31 Aug 2017 13:58
Location: Germany
Contact:

Re: Sd fix

Post by Bluscre » 05 Sep 2017 08:14

Desmanto wrote:@Bluscre : That two is different problem. For granting external SDcard access, it seem your documents didn't response properly. If you have no problem reselecting SDcard path for all other app, you can try to clear data for the documents (com.android.documentsui), and try to grant the permission again. Sometimes the database corrupt and can't be written with new app permission.

For can't select file at root folder, it has been ever asked before. It is probably because the action was run using normal user privilege.
viewtopic.php?f=5&t=6895
You have to use execute root command.

@Akt : Do you have that documents (com.android.documentsui) at your phone? What is your phone, and what ROM do you use? Some ported Lolipop ROM may have remove this feature for kernel compatibility with kitkat. For that, Automagic can't do anything about it.
I have documentsui and its enabled and i use 6.0
Unofficial AutoMagic Telegram Group: https://t.me/automagicforandroid
Check out my other flows here: https://github.com/Bluscream/AutoMagicFlows or here.

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Sd fix

Post by Akt » 05 Sep 2017 11:24

Thanx friend for your help and time.
I installed marshmallow sd fix app and that solved my problem.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Sd fix

Post by Desmanto » 05 Sep 2017 14:17

Bluscre wrote: I have documentsui and its enabled and i use 6.0
Did it happen only to automagic or other app can't be granted external sdcard access too? I check your log again, there is something about xposed. Do you apply any xposed module to automagic? What modules do you use? I also use xposed and several modules but none of them interferes with automagic's functionality.

That UID 10243 is which app?
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Bluscre
Posts: 145
Joined: 31 Aug 2017 13:58
Location: Germany
Contact:

Re: Sd fix

Post by Bluscre » 05 Sep 2017 19:30

How would i know which app belongs to a uid? :o
Unofficial AutoMagic Telegram Group: https://t.me/automagicforandroid
Check out my other flows here: https://github.com/Bluscream/AutoMagicFlows or here.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Sd fix

Post by Desmanto » 06 Sep 2017 05:51

You can use Automagic init variable package info and use script to search for uid in the map value and return the key. But since it is one time search, it is easier to save the variable to text file and search for the uid.

Other way around, since you have root; you can directly open /data/system/packages.list using your favourite root file manager, and search for the uid. You can get the package name and then you can check the App name in automagic, using getAppName() or just search for in launch App action.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Bluscre
Posts: 145
Joined: 31 Aug 2017 13:58
Location: Germany
Contact:

Re: Sd fix

Post by Bluscre » 06 Sep 2017 10:20

Image
Unofficial AutoMagic Telegram Group: https://t.me/automagicforandroid
Check out my other flows here: https://github.com/Bluscream/AutoMagicFlows or here.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Sd fix

Post by Desmanto » 06 Sep 2017 11:51

So UID 10243 is the automagic itself. That xposed line before the error seems to give the hints. You probably use some xposed that conflict with the storage access framework. I see there is Link2SD there. Probably you can try to disable Xposed, restart and try to grant automagic the SAF permission.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Bluscre
Posts: 145
Joined: 31 Aug 2017 13:58
Location: Germany
Contact:

Re: Sd fix

Post by Bluscre » 08 Sep 2017 00:15

Desmanto wrote:That UID 10243 is which app?
Did you know this existed? :o

Image
Unofficial AutoMagic Telegram Group: https://t.me/automagicforandroid
Check out my other flows here: https://github.com/Bluscream/AutoMagicFlows or here.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Sd fix

Post by Desmanto » 08 Sep 2017 01:29

Yes, but I just use only single java function so far, that is URLDecoder. Because Automagic has URLEncoder, but no decoder. It is use to parse special character from file stream_uri (intent share) back to original path. Don't know how use the other function, as Java is too difficult for me and not practical in most of my daily activities. So the insentive to learn it is too small.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Bluscre
Posts: 145
Joined: 31 Aug 2017 13:58
Location: Germany
Contact:

Re: Sd fix

Post by Bluscre » 08 Sep 2017 04:53

Desmanto wrote:Yes, but I just use only single java function so far, that is URLDecoder. Because Automagic has URLEncoder, but no decoder. It is use to parse special character from file stream_uri (intent share) back to original path. Don't know how use the other function, as Java is too difficult for me and not practical in most of my daily activities. So the insentive to learn it is too small.
I already use about 6 and i'm looking into a way to utilize XPosed but i'm not quite sure if XPosed would need to be added to AM in the first place for that to work. @Martin ? :)

Just realized i had https://www.xda-developers.com/appconte ... th-xposed/ installed all the time and was still using crappy usage statistics.
Unofficial AutoMagic Telegram Group: https://t.me/automagicforandroid
Check out my other flows here: https://github.com/Bluscream/AutoMagicFlows or here.

Post Reply