ads

jeudi 24 septembre 2015

MyFile, Media scanner and USB OTG devices



I recently purchased a 128GB Samsung Galaxy S6 (SM-G920I) to replace my rapidly dying S4. I used SmartSwitch to transfer most of my information from the S4 to the S6.
First thing I did was flash the official 5.1.1 firmware for it from the SamMobile website. (firmware G920IDVU2COGA_G920IXSA2COGA_XSA as I am in Australia). I then rooted the phone using TWRP 2.8.7.1 "zeroflte" and the "UniKernel 6 for TWRP".

I have a USB OTG device I plug into the phone to access files I only need intermittently. It works well except for a couple of things:

(1) How do I stop the MyFile browser from popping up whenever the USB OTG device is plugged in? It's very annoying and I use a different file browser by preference (not that I want that one to pop up automatically either).

(2) There are music files on one of my USB device, but said USB OTG are not scanned and so those files are not added to the Music Player list of media. I have installed an app called "Media Scanner" which quite happily scans /storage/UsbDriveA on my phone and thus adds the music files to the play list. However, it has to be manually triggered every time. Is there a way to get the media scanner (built-in, or the app) to run whenever the USB OTG is (un)mounted?


Many thanks for any pointers.



Aucun commentaire:

Enregistrer un commentaire