Reputation: 9
First of all I want to clarify that the device I'm working on is my car's tablet which runs Android 9 and does not have any google services(any google application is not going to work)
The tablet has a UI which sucks because I can not access any thing normally even the android settings.
How ever the developer options are opened by default and by pressing the Bluetooth version for like 10 times WIFI adb starts.
And after buying an app to control the car's tablet by adb every thing now is accessible by commands (installing apps "apk files" done by adb also)
I was having a problem granting external storage permission to any file explorer app on android 9 since all new apps tries granting the permission by directing me to the new stock android file manager and asks me to press on "use this folder" button, the problem is that the stock file manager does not exist on android 9 and the file explorer apps get to crash whenever I try to access the external storage
The solution is to have an app that asks the external storage permission as old days by the pop-up window.
(I installed MX-Player and when I tried to access the external storage it did ask the external storage permission by the pop-up window and I was able to access the video files on the flash drive.) (How ever I want to access all files.)
And here it gets very difficult to find such an app
MX-Player's old permission pop-up window
I tried installing old versions of known file explorers as File Explorer +, RS File Manger etc. but still negative :(
so before trying on the car I made a try on my phone to grant the access by this commands on my phone which runs Android 13
adb shell pm grant com.alphainventor.filemanager android.permission.READ_EXTERNAL_STORAGE
adb shell pm grant com.alphainventor.filemanager android.permission.WRITE_EXTERNAL_STORAGE
but since my phone is on Android 13 it didn't work because I should to grant the permission by the stock file manager
How ever it did work to grant the access to the camera for another application that didn't have the camera permission :)
I didn't try the last step on my car and I told my self; let me ask about this problem before trying.
I wish any body can help me to find a file explorer that accesses the external storage without directing me to the stock file manager or give away to grant the permission by an adb command :)
Upvotes: 0
Views: 670