当前位置:网站首页>System permission program cannot access SD card
System permission program cannot access SD card
2022-06-23 07:00:00 【Ti-laser】
stay android There is system Permission applications are inaccessible sd Card , This is because vold Hang up sd Card assignment mask Why , Probably for safety reasons . If you have android Source code , This limitation can be removed :
about android2.2 It's in system/vold/fat.cpp in Fat::doMount To realize . If changed fmask and dmask You can modify the corresponding access permissions . For example, you can adjust the file :system/vold/Volume.cpp in if (Fat::doMount(devicePath, "/mnt/secure/staging", false, false, 1000, 1015, 0702, true), take 0702 Change to 0. be system Permissions can also access sd card . Specific attributes need to be carefully considered .
边栏推荐
- Solve the mining virus sshd2 (redis does not set a password and clear the crontab scheduled task)
- Phpstudy set 301 redirection
- Badly placed()'s problem
- 2121. sum of intervals of the same elements - hash table method
- How to realize video call and live interaction in a small program when live broadcasting is so popular?
- redux Actions may not have an undefined “type“ property. Have you misspelled a constant?
- 20220620 uniformly completely observable (UCO)
- Storage mode of data in memory (C language)
- MySQL Redo log Redo log
- 【STL】容器适配器之stack、queue用法总结
猜你喜欢

Some difficulties in making web pages

swagger3整合oauth2 认证token

Explain csma/cd, token bus and token ring clearly

Media industry under the epidemic situation, small program ecology driven digital transformation exploration

MySQL redo log redo log

【BULL中文文档】用于在 NodeJS 中处理分布式作业和消息的队列包

XXL-SSO 实现SSO单点登录

xml dtd 记录

Badly placed()'s problem

idea安装 CloudToolkit 插件
随机推荐
Detailed explanation of callback function
Explain csma/cd, token bus and token ring clearly
[graduation season · advanced technology Er] it's my choice. I have to walk on my knees
redux Actions may not have an undefined “type“ property. Have you misspelled a constant?
杂七杂八的东东
QT中的item views与Item widgets控件的用法总结
Idea installing the cloudtoolkit plug-in
[saison de remise des diplômes · technologie agressive er] votre choix, agenouillez - vous et partez
Termux
js中if逻辑过多,常见优化
Why does TCP protocol shake hands three times instead of two?
【畢業季·進擊的技術er】自己的選擇,跪著也要走
Mongodb record
Copy and paste of idea without escape
总结的好处
剑指 Offer 42. 连续子数组的最大和
Idea automatically generates serialVersionUID
C# DPI适配问题
【STL】顺序容器之deque用法总结
[project training] change of linear arrow