SD card stuck in read-only on non-rooted non-dev phone.

by Quindo » Sat, 07 Mar 2009 11:00:00 GMT


Sponsored Links
 Hello,

Hope somebody here can help me.

My sd-card is mounted readonly in my G1.
It's a non-rooted and non-dev phone (default t-mobile G1).
Since I don't have root / su rights on the phone I can't remount my sd-
card in rw.
I've tried rebooting, taking the sdcard out of the phone but neither
idea works.
When I reinsert my sd-card I and run mount from the terminal emulator
I can see it as being mounted rw.
When I run the mount command again a few seconds later, it is mounted
ro.

Anyone any idea what can be done to get my phone back to being fully
useable again?

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Remove me from adroid group

Please help remove me from android porting group.

Thanks so much

-YiYun

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How to use libnetfilter_queue in android

Hi All,
I have written an application to receive packets through NFQUEUE
target of iptables.
The application runs OK on a PC but the problem is that I can't
compile it for my android phone.
I am giving the following command to compile it:

arm-none-linux-gnueabi-gcc -Wall -o nfqueue_test nfqueue_test.c -
lnfnetlink -lnetfilter_queue

And I am getting the following error messages :

nfqueue_test.c:3:51: error: libnetfilter_queue/libnetfilter_queue.h:
No such file or directory
nfqueue_test.c:116: warning: 'struct nfq_data' declared inside
parameter list
nfqueue_test.c:116: warning: its scope is only this definition or
declaration, which is probably not what you want
nfqueue_test.c:116: warning: 'struct nfgenmsg' declared inside
parameter list
nfqueue_test.c:116: warning: 'struct nfq_q_handle' declared inside
parameter list
nfqueue_test.c: In function 'nfqueue_cb':
nfqueue_test.c:124: warning: implicit declaration of function
'nfq_get_msg_packet_hdr'
nfqueue_test.c:124: warning: assignment makes pointer from integer
without a cast
nfqueue_test.c:137: error: dereferencing pointer to incomplete type
nfqueue_test.c:139: error: dereferencing pointer to incomplete type
nfqueue_test.c:139: error: dereferencing pointer to incomplete type
nfqueue_test.c:141: warning: implicit declaration of function
'nfq_get_payload'
nfqueue_test.c:148: warning: implicit declaration of function
'nlif_open'
nfqueue_test.c:148: warning: assignment makes pointer from integer
without a cast
nfqueue_test.c:153: warning: implicit declaration of function
'nlif_query'
nfqueue_test.c:155: warning: implicit declaration of function
'nfq_get_indev_name'
nfqueue_test.c:160: warning: implicit declaration of function
'nlif_close'
nfqueue_test.c:164: error: dereferencing pointer to incomplete type
nfqueue_test.c:223: warning: implicit declaration of function
'nfq_set_verdict'
nfqueue_test.c: In function 'netlink_loop':
nfqueue_test.c:247: warning: implicit declaration of function
'nfq_open'
nfqueue_test.c:247: warning: assignment makes pointer from integer
without a cast
nfqueue_test.c:255: warning: implicit declaration of function
'nfq_unbind_pf'
nfqueue_test.c:261: warning: implicit declaration of function
'nfq_bind_pf'
nfqueue_test.c:268: warning: implicit declaration of function
'nfq_create_queue'
nfqueue_test.c:268: warning: assignment makes pointer from integer
without a cast
nfqueue_test.c:276: warning: implicit declaration of function
'nfq_set_mode'
nfqueue_test.c:276: error: 'NFQNL_COPY_PACKET' undeclared (first use
in this function)
nfqueue_test.c:276: error: (Each undeclared identifier is reported
only once
nfqueue_test.c:276: error: for each function it appears in.)
nfqueue_test.c:284: warning: implicit declaration of function
'nfq_nfnlh'
nfqueue_test.c:284: warning: assignment makes pointer from integer
without a cast
nfqueue_test.c:289: warning: implicit declaration of function
'nfnl_fd'
nfqueue_test.c:294: warning: implicit declaration of function
'nfq_handle_packet'
nfqueue_test.c:299: warning: implicit declaration of function
'nfq_destroy_queue'
nfqueue_test.c:300: warning: implicit declaration of function
'nfq_close'


As obvious my cross-compiler is not getting the libnetfilter_queue
library .....
Could any body please tell me how can I compile this application for
android ????

Thanks in advance,
imran


-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. how to get the actual data of GPS?

4. who can help me

5. DDMS won't start

6. findViewById returns NULL

7. Repost : WTT Moto Droid 99% dengan Milestone