• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Stop any OTG from USB

Jasmin74

Member
Hello,
is there a way I could stop any flash OTG from accessing the tablet?
I don't want the user to read or write anything to it - Disable the use of all OTGs from a controller or something..
 
Last edited:
Are you capable of writing a modified operating system kernel? Because I think that is probably what you need.

That assumes your vendor makes the kernel source public and that you've rooted the tablet. Root is certainly going to be needed for something like this, no matter what the method might be.
 
Are you capable of writing a modified operating system kernel? Because I think that is probably what you need.

That assumes your vendor makes the kernel source public and that you've rooted the tablet. Root is certainly going to be needed for something like this, no matter what the method might be.

Yes no problem, just tell me what to do please & thank you.
 
You say "no problem" followed by "tell me what to do". That means that you don't know what to do, which means it is a problem.

If you don't know what to do, I can't help you. I don't even know for sure that it does require a kernel modification: it's possible that there's some process that you can remove that will stop this without damaging anything else. Perhaps. But I do know that OTG requires kernel support, which is why my first thought was a kernel modification.

The problem is that what you are asking is probably quite technical, would require a lot of time for most people to do it, and is not something that very many people want. And that's the catch: when you are asking for something difficult that only you are interested in, it's hard for anyone else to justify spending the time it would need to do it. That's why I asked (rhetorically, I admit) whether you knew how to do those things yourself. If it's important to you commercially, I suggest hiring someone who can do it for you.

I may be wrong: there may be a simple way of doing this (with root, that's a given), and perhaps someone who reads this will be able to tell you what it is. If they can then I'll thank them as well. But I suspect that this is not as simple as that, not something that can be reduced to a few lines of instructions.
 
Well I understood that you knew a way through kernel & you wanted to make sure if I am able to do it..
I am willing to hire someone for that if you know any.. It s not commercial but I needed for a few devices.
 
Back
Top Bottom