chmod unexpected permission error when logged into an actual device

by kooscar » Wed, 29 Oct 2008 07:42:59 GMT


Sponsored Links
 $ ls
ls
sqlite_stmt_journals
cache
sdcard
etc
init
default.prop
logo.rle
init.trout.rc
data
system
sys
proc
init.goldfish.rc
init.rc
sbin
root
dev
$ ls /data/
ls /data/
opendir failed, Permission denied
$ chmod 777 /data/
chmod 777 /data/
Unable to chmod /data/: Operation not permitted
$

I want to change the permission settings for the /data dir, but it
won't let me....


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



chmod unexpected permission error when logged into an actual device

by Shane Isbell » Wed, 29 Oct 2008 11:47:18 GMT


 I have the same frustration. This is pretty bad. It is after all, my device.
I wouldn't be happy if I got a computer from Dell and they told me I
couldn't have admin access.

Shane







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


Sponsored Links


chmod unexpected permission error when logged into an actual device

by Jean-Baptiste Queru » Fri, 31 Oct 2008 00:43:04 GMT


 Yes, there are other ways. You can drop a signed update image in
/sdcard/update.zip and have the recovery system flash it for you.

The code is here:
 http://git.source.android.com/?p=platform/recovery.git ;a=blob;f=recovery.c
(line 267).

JBQ







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



Other Threads

1. Layout issues for multiple screen sizes and API versions

I am currently trying to make my app compliant with all screen sizes /
api levels.

I have this mostly working, however there is 1 issue i cannot resolve:

Layouts in the "layout-hdpi" folder are used by and any phone on 1.5
(API level 3).  - Which i dont want, i want API level 3 phones to use
the "layout" folder.  So to resolve this I added "-v4" onto the folder
also, this works, the folder is no longer used by 1.5 phones.

However, now the folder is also not used on API Level 6 phones, for
example the droid.  The droid only picks up the folder if i name the
folder: "layout-hdpi-v6".  (Also if i put "-v3" on a folder, the
layout folder is not used by API level 4 phones)

My understanding is that the -v<api level> qualifer allows you to
exclude phones on an API level that is too low, so -v4 should mean
that the folder will be used by all phones on API level 4 and above.
I am finding a folder is only used for that specific API level.

Has anybody else ran into this same issue? And does anybody know of
any possible solutions?

I hope that makes sense.

Marc



My current manifest file has the following:

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="7"/>

and my resources folder list is:

drawable
drawable-hdpi
drawable-ldpi
layout
layout-hdpi-v4
layout-ldpi-v4

2. How to run my app only when screen saver runs

hi,
I need my app to run only when the screen is locked, any idea about how to
do this??

cheers,
Ishay.

3. 鈥淐onnection reset by peer鈥? exception when connecting android g1 to rs232 adapter

4. How to disable user interaction arising from a long press to an EditText

5. How to feed MediaPlayer with AMR chunks properly

6. android, How develop a vedio call programe?

7. Looking for Stellar Android Developer/Contract in Seattle