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 Development 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 ...


Nexus One Forum Nexus One Forum RSS Feed Find us on Facebook Nexus One Twitter
Register Button
Go Back   Nexus One/Nexus S Forum - Google Phone Forum » Nexus One Development » Nexus One Development & Hacking

Nexus One Development & Hacking General area for Nexus One Programming / Development / Hacking

Reply
Old 04-06-2010, 08:15 AM   #1
Junior Member
 
Member #6330
Join Date: Apr 2010
Posts: 1
Phone: Not Listed
Carrier: Not Listed
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?
guywithaquestion is offline   Reply With Quote
Reply

Lower Navigation
Go Back   Nexus One/Nexus S Forum - Google Phone Forum » Nexus One Development » Nexus One Development & Hacking

Divider


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Search tags for this page

,y sd card says accsess is denided

,

access denied google htc phone

,

access sdcard on galaxy nexus

,

block access sd card

,

how open htc nexus for sd card

,

how to access micro-sd card google nexus one

,

how to access sd card in htc magic

,

how to gain access to a micro sd card

,

how to open sd card in htc magic

,

htc magic how to acces microsd

,

htc magic sdcard block device /dev/block

,

iphone accessing sd card via code

,

micro sd access denied

,

micro sd card access denied

,

microsd access denied after erased

,

nexus one sdcard block dev

,

sd card block access

,

sd card block device

,

sdcard block

,

sdcard htc access denied

Click on a term to search our sites for related topics.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ConnectBot and Special Keys metalman Nexus One Application Discussion 1 04-03-2010 08:10 PM
what do i gain if i get access to root?? christian666 Nexus One General Discussion 14 02-10-2010 12:44 AM
/sdcard unreadable during video playback wmm Nexus One Tech Issues / Bug Reports 0 01-29-2010 10:29 PM