I just upgraded from a g1 to a sgs4g, and was trying to move over my saved wifi networks, from /data/misc/wifi/wpa_supplicant.conf to /data/wifi/bcm_supp.conf and didn't keep track of the ownership and permissions on /data/wifi/bcm_supp.conf so wifi won't start now. Could someone please let me know what the ownership and permissions are for /data/wifi/bcm_supp.conf?
Thank you!
SOLVED:
chown wifi.wifi /data/wifi/bcm_supp.conf
chmod 660 /data/wifi/bcm_supp.conf
Related
Probably a stupid question, I just don't know enough yet.
I need to put some entries in my g1's hosts file. However, the OS seems to have it locked down on my 1.2 rc30. Terminal Emulator tells me chown is not found. I don't have access to the SDK where I am right now, however, but I'm hoping someone can point out what I'm missing.
adnans said:
Probably a stupid question, I just don't know enough yet.
I need to put some entries in my g1's hosts file. However, the OS seems to have it locked down on my 1.2 rc30. Terminal Emulator tells me chown is not found. I don't have access to the SDK where I am right now, however, but I'm hoping someone can point out what I'm missing.
Click to expand...
Click to collapse
busybox has chown in it. RC1.2 has busybox. Also, you must use uids and gids, and can't use user names or group names with busybox on Android.
ah, there's chown, thanks! now i gotta play around and figure out what to chown it to. i tried 0 and 777 (i just recently got back into linux, i haven't done jack with it since slackware 3 came out), and it's still telling me that /etc/hosts: Read-only file system.
adnans said:
ah, there's chown, thanks! now i gotta play around and figure out what to chown it to. i tried 0 and 777 (i just recently got back into linux, i haven't done jack with it since slackware 3 came out), and it's still telling me that /etc/hosts: Read-only file system.
Click to expand...
Click to collapse
you need to remount your /system as read write first.
mount -oremount,rw /dev/block/mtdblock3 /system
Please emal me at if you have a problem.
Thank you alritewhadeva with chmod
Cp the files to /system/bin.
Then chmod 755 (filenames)
Cleartmp
Clears all files in a chosen directory in a certain amount of days. You can chose the directory and the amount days.
Rename
You can rename all files or selected files.
Rmemptydir
Remove empty directories
Search
Search for files and folders
Grepcat
Is like a combination of egrep and cat.
My version of appstosd
There will be a folder in your sdcard called apps(MK47) and it has all your app from the market(free and also paid). This is good for when you wipe your Dream.
here is the scripts.
Might want to update your OP with the attachment and bold the commands so its easier to read Nice work
mohsinkhan47 said:
Please emal me at [email protected] if you have a problem.
Thank you alritewhadeva with chmod
Cp the files to /system/bin.
Then chmod 755 (filenames)
Cleartmp
Clears all files in a chosen directory in a certain amount of days. You can chose the directory and the amount days.
Rename
You can rename all files or selected files.
Rmemptydir
Remove empty directories
Search
Search for files and folders
Grepcat
Is like a combination of egrep and cat.
Click to expand...
Click to collapse
this can come in handy for the hero roms if u use the facebook feature quite often under the people app. i know i tend to show people certain pics of me or friends and it just eats up internal memory. all i do is clear the cache but if i can use this script to do so it'd save me that lil bit of hassle i have to go thru myself, appreciate the script, just curious tho... anyone know where to find where the albums cache is stored? i kno how to brose thru folders but i much rather have somebody that KNOWS rather than me THINKING i know... lol thanks in advance.
Thanks for the scripts. Can you repost the appstosd? The one you posted was empty.
cx92001 said:
Thanks for the scripts. Can you repost the appstosd? The one you posted was empty.
Click to expand...
Click to collapse
I won't be on a computer until Saturday so gtalk to me at
[email protected] invte me and I will give u the app2sd
I can't reach the clutch..
Hi,
I've been looking for a shell search tool for my SE Xperia X10 Android 1.6 phone to search the file system, and this has been the only resource I have found thus far. I have managed to download and copy the scripts to my Android device, but I am unsure on how to execute the .asc scripts on the Android shell.
I was unable to adb push the file to \system\bin. I pushed the file to \data but even mounting the system volume as RW I am unable to mv the scripts to the \system\bin folder.
adb shell
$ su
# mount -o remount,rw /dev/mtdblock3 /system
# mv /data/searh.asc /system/bin
mv /data/searh.asc /system/bin
failed on '/data/searh.asc' - Cross-device link
I tried running the chmod 755 search.asc command anyway, and execute it using ./search.asc, but receive the message:
basename: not found
getopt: not found
[: not found
shift: can't shift that many
Edit: I have now tried this in recovery mode and mounting the /system folder with RW permissions, still no joy.
Could someone please clarify what is required to get these scripts to operate?
I have only dabbled in linux so I am most likely missing something fundamentally obvious here.
Temp-n00b-usr
I managed to find a work around.
I was attempting to locate the Creatouch.apk which was not in /system/app or /data/app. It was infact in /data/app-private. I have manged to pull the .apk for a backup and removed this from the phone now.
I just used the file explorer in Droid Screencast to locate the file by browsing the system.
It would still be handy to be able to search the file system from a PC environment however.
I have a problem.
I have a /system/xbin/su with
-rw x rwsr-x
without the user sticky bit set on. But so the openvpn-settings doesn't work others do.
I have to change it with chmod 06775 /system/xbin/su so I have
-rw s rwsr-x
with user sticky bit. Openvpn-settings work fine.
But something change it back to the wrong set. I don't even need a restart. Something in background. I'm not familiar with the background processes. Has somebody a guess what can change the permission? I have /system mounted read-only too...
I have spicagenmod-froyo-beta1 (forum.samdroid.net/f53/spicagenmod-froyo-beta1-4563/)
hellos, in trying to get some ad block host files installed but there's no conventional way to write the files... can i use cwm or adb to push the host files?
i understand this isn't practical in terms of keeping the host files up to date but once the files are there 90-99% should be blocked for at least a few months which is good enough for me.
i had the same problem on my a510. after you mount it as rw, use chmod to give yourself write permissions the correct dir (/etc i think?), put the host file in place, then change the permissions back.
i did this with adb.
i cant remember what the permissions are suppose to be for /system and /etc after i messed with them, so i set them both to 755, and now AdFree works as advertised. where before i tinkered with permissions, it couldn't write the host file. i tired a couple adblock apps, and they all had the same write permission issue.
Rusty_Gunn said:
i had the same problem on my a510. after you mount it as rw, use chmod to give yourself write permissions the correct dir (/etc i think?), put the host file in place, then change the permissions back.
i did this with adb.
i cant remember what the permissions are suppose to be for /system and /etc after i messed with them, so i set them both to 755, and now AdFree works as advertised. where before i tinkered with permissions, it couldn't write the host file. i tired a couple adblock apps, and they all had the same write permission issue.
Click to expand...
Click to collapse
I'm using A700 and I've already tried editing permissions, didn't work.
Hi,
I have a weird permissions such as ----rwxr-x on /storage folder of my phone. I don't think it is related to the phone nor the ROM that's why I posted here.
I am neither able to chown nor to chmod a file on this storage as a root user
I tried to fix the permission in recovery but it doesn't solve the issue...
Does anybody have a clue ?
I am not able to attach while I didn't reach 10 posts.
up
nones. said:
up
Click to expand...
Click to collapse
As I don't get reply maybe I can make you smile: "When ghosts go camping, they sit around the fire and tell stories about Chuck Norris"