My sdcard permission is now d---------. How to change the sdcard permission as drwxrwxrwx. I need help. Please give me any one answer. Thanks.
Go to android sdk Manager and cllck edit button on your current emulator.check whether you mention the sdcard memory
commands..
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Try this and let me know what happen..
go to Android virtual Device manager->Edit->Hardware->new->sdcard support
You need be root to acheive this. If you need it in emulator grab a rooted emulator , you can find one here.Then you can use the Terminal Emulator for giving permission or if you don't want to write any command just install the rootexplorer app and use it for giving permission.
Related
I have Xperia S and I have already installed cwm recovery.
I need to use recovery to backup,restore or flash roms from my sdcard.
But every time I have the problem:"E:can'not mount /sdcard".
I have tried to mount it using adb using :
adb shell
su
mount -o mnt/sdcard
I still have the problem.
Can someone help me to use adb correctly to solve the problem or have any better idea.
Thanks
Try to see if this thread on XDA fix your problem.
I am using adb on Android phone.
I did./adb shell
and I can see the folders inside the phone
I type cd /sdcard
but it said permission denied.
I can't use su or sudo to make myself root.
How can I make myself as root?
You should root your android phone and then you can use su command in adb.
There is some useful information in this link www.androidcentral.com/root
I need to push a text file into android emulator in location SD card. I tried using DDMS
and referring this video: http://www.youtube.com/watch?v=ipRke1P4rIc. But after pushing its not showing in emulator. why is that? Please help me.
Error is transfer Error read only file system. Please help me guys. How to sort it out?
It seems you are pushing the file where you don't have write access. So you change the permission like so
adb shell
su
mount -o rw,remount rootfs /
chmod 777 /mnt/sdcard
I use a Samsung Dart - SGH-T499 with Android v2.2.2 on it.
Now I need to edit the /system/etc/bluetooth/audio.config file. For that I rooted my phone using the SuperOneClickv2.3.3-ShortFuse. And browsed the file-system using Root Explorer. But I am unable to edit the permission of the audio.config. Could you please help me?
You also need to ensure that the /system directory, as it's a filesystem, is mounted read-write. In the adb shell use -o rw,remount as parameters to the mount command to do this. First you need to determine what ( hardware / physical / logical ) device that particular filesystem is stored on - use the mount command on its own to see the list and select the one which has /system as its mount point.
Can you not issue a
chmod 777 /system/etc/bluetooth/audio.config
...from the adb shell?
How to pre-install an Android application?
Because I have a specific device, and I wanted to make my application pre-installed.
I'm assuming you're talking about a rom here.
If you want the user to be able to delete the application you should put the .apk file in "/data/app"
If you want to have the app behave like a system app (like e-mail or calendar) you can put the .apk in "/system/app"
First we need all the pre-requisites needed.
We need to root our device to have super user capability, In my case I root my nexus one
Im not responsible if your device brick so be careful.
(http://forum.xda-developers.com/showthread.php?t=611829)
install superuser
(http://www.appbrain.com/app/superuser/com.noshufou.android.su)
Install BusyBox (to do shell command "cp") -- available in android market
(http://www.appbrain.com/app/busybox/stericson.busybox)
Execute the following commands in the terminal emulator to remount the /system directory as read/write and to install the application into the /system/app directory (http://www.nexusforum.net/nexus-one-application-day/524-nexus-one-app-day-2-8-10-powermanager.html):
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/sample.apk /system/app
Thanks for all those who helped me.