trying to gain logical access to the sdcard - through its special file.
This is a discussion on trying to gain logical access to the sdcard - through its special file. within the Nexus One Development & Hacking forums, part of the Nexus One category; Im trying to gain logical access to the device SDCard(Micro SD) by its block device file.
from a JNI layer - A Native library that ...
-
Junior Member
trying to gain logical access to the sdcard - through its special file.
Im trying to gain logical access to the device SDCard(Micro SD) by its block device file.
from a JNI layer - A Native library that is interfacing with a
priviliged APK application by this piece of code:
(x and y is replaced by the correct major and minor numbers of the device)
open("/dev/block/vold/x:y",O_RDWR);
It worked under G1 and HTC Magic phone , but on Nexus One it doesnt -
i get Access Denied (errno 13).
it seems that the special block device file under nexus one has different permissions than the other devices.
What can i do, any ideas?
-
Android.net is the premier
Android Forum. Registered users do not see these ads. .
http://www.scramblerducati.org/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Search tags for this page
android jni sd open o rdwr permission denied
Click on a term to search our sites for related topics.