[Q] Weird permission ----rwxr-x on /storage folder - General Questions and Answers

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"

Related

[Q] Blur Camera won't install

Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
farshad525hou said:
Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
Click to expand...
Click to collapse
Push the sick app via adb. I read somewhere that with apps such as root explorer it doesn't work for some reason. Hope this helps.
Sent from my MB865 using Tapatalk
Yes, always use adb to push system apps. Root Explorer will not work.
Sent from my mAtrix2!!
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
farshad525hou said:
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
Click to expand...
Click to collapse
To copy anything to /system/app, you need root access.
This will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
jimbridgman said:
To copy anything to /system/app, you need root access, have you rooted the phone?
If you have rooted the phone, this will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
Click to expand...
Click to collapse
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
I figured out how to push the file with adb, but the app still does not show up. Any other ideas?
farshad525hou said:
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
Click to expand...
Click to collapse
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
jimbridgman said:
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
Click to expand...
Click to collapse
Sadly this didn't work either. I don't know what I'm doing wrong. Btw, thanks for your help so far!
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
JRW 28 said:
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
Click to expand...
Click to collapse
I could only find a deodexed system dump
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
JRW 28 said:
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
Click to expand...
Click to collapse
Thanks for the files! But once again sadly the file doesn't appear under my app drawer. I tried using adb and root explorer, with no luck. Is there anything I'm missing? Btw, JRW are those files from the atrix 2?
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
JRW 28 said:
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
Click to expand...
Click to collapse
Yeah I am. Can you walk me through what you do when you re install the apps? I am really confused. Is there anything that might be interfering?
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
JRW 28 said:
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
Click to expand...
Click to collapse
How do I make sure that BlurCamera.apk and BlurCamera.odex are both r/w?
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
JRW 28 said:
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
Click to expand...
Click to collapse
Yeah still no luck... no idea whats wrong
Try pushing them with ADB .....usually that will take care of it

A510 back to Stock ROM

Hello from Germany,
i have a Problem with my ACER Iconia A510 (Firmware Acer_AV041_A510_1.076.00_EMEA_DE).
A Friend has rootet it and now i cant update to the latest Firmware (Installation fails).
I do a Factory Reset, but nothing works.
So where can i get a Stock ROM and how must i install it?
Thanks for your help.
yeah, looking for the exact same thing, hope someone can help
That has nothing to do with rooting. Did you remove any system apps?
Only some Bulk Apps like Astro, Link to Facebock etc....
Did you back them up? If so, try to restore them before upgrading.
Thats my Problem, i didnt backup them .... :crying:
Here are the List of Acer Apps i have after Factory Reset:
Acer Print
Aupeo
Camcorder
clear.fi
EquiView
MediaServe
Register
....
Look in this thread. It's in german, too.
Same problems there and the solution.
Have the Apps, but /system/ is not writable =(
I try to re-root with this method but it dont works ....
Awwwwwww.....
fussle said:
Have the Apps, but /system/ is not writable =(
I try to re-root with this method but it dont works ....
Awwwwwww.....
Click to expand...
Click to collapse
ive ran into similar issues. you have to mount is as rw, then chmod it before you can add files to the system dir.
Rusty_Gunn said:
you have to mount is as rw, then chmod it before you can add files to the system dir.
Click to expand...
Click to collapse
Thats the problem, i cant mount it rw. Thats why i try to re root it ...
Rusty_Gunn said:
Thats the problem, i cant mount it rw. Thats why i try to re root it ...
Click to expand...
Click to collapse
Use the "ES file explorer" available in the play store. Enable "Root Explorer" in the options. Worked for me.
bzw: you can find the install_log in /cache
fussle said:
Thats the problem, i cant mount it rw. Thats why i try to re root it ...
Click to expand...
Click to collapse
even if you mount it as rw, most programs may indicate it isnt because of the write permission (in my case total commander, es file manager, and remount all indicate that my /system dir is not rw when it is). i was stumped on this for a while. check to see if it is mounted as rw with this:
mount | grep /system
i had a similar issue when i was rooting and playing with insmod for some extra functionality.
in my case, im using the following command to get rw
su
mount -o rw,remount /system
when im tinkering i do a chmod 777 /system (after setting rw), and when im done, i do chmod 755 /system then remount to ro to put it back.
Thanks for the Hint...
mib45 said:
Use the "ES file explorer" available in the play store. Enable "Root Explorer" in the options. Worked for me.
bzw: you can find the install_log in /cache
Click to expand...
Click to collapse
never worked for me. that was the first thing i tried doing! still doesn't work for me unfortunately.
Ahhh, i ..... it.
The Email.apk from Acer_AV041_A510_1.060.00_EMEA_CUS1.zip did not work ....
fussle said:
Ahhh, i ..... it.
The Email.apk from Acer_AV041_A510_1.060.00_EMEA_CUS1.zip did not work ....
Click to expand...
Click to collapse
Download the full german firmware from the Acer A700 here from the xda-dev. Most oft the apps, include in the firmware, are the same from the A510.
When i update android 4.0.3 to 4.1.2 by ota, sound and microphone not work. when i doungrade to 4.0.3 it is ok. whats wrong?

[Solved] Amazon Appstore Won't Download

Hello all,
I'm attempting to fix an issue I've had since updating to Android 4.3 on the Nexus 4 (clean wipe) and restoring some apps with Titanium. Since then, I noticed I cannot download any apps from the Amazon Appstore. I receive the following:
There was an error while downloading XXXXXX . Please try again. <OK>
Click to expand...
Click to collapse
Deleting data, cache, Dalvik cache, uninstalling the app, and re-installing, do not solve the issue. Research indicated the issue could be caused by the 1-click settings for Amazon, but enabling and changing both that and the Mobile 1-click did nothing.
So I went into the logcat, and found this:
Code:
E/AmazonAppstore.DownloadTask(12529): ... 9 more
I/AmazonAppstore.DownloadTask(12529): finish(FAILED, DownloadTask:MSG_EXCEPTION:
/storage/emulated/0/Android/data/com.amazon.venezia/files/apks/1272d3ae-4a98-46
bc-a73f-0df13367f194.apk: open failed: EACCES (Permission denied)) called
I/AmazonAppstore.DownloadService(12529): downloadTaskComplete, id = 20
I went into the Shell of my device, and found the following as my /storage/ directory:
Code:
[email protected]:/storage $ ls -l
ls -l
dr-xr-xr-x root root 2013-08-17 10:28 emulated
lrwxrwxrwx root root 2013-08-17 10:28 sdcard0 -> /storage/emula
ted/legacy
It looks like the Amazon Appstore is trying to hit a directory that doesn't exist: /storage/emulated/0/Android/data/
I don't know if anyone else has this issue, or why my Appstore keeps trying to hit a directory that doesn't exist, but I'm going to attempt to symlink the path it is looking for. Please advise if there's any issues with this, or if anyone has any suggestions.
Weird, why would the directory show as root, but not as the shell?
Code:
[email protected]:/storage/emulated # ls -l
ls -l
drwxrwxr-x root sdcard_rw 2013-08-11 18:29 0
drwxrwxr-x root sdcard_rw 2013-08-11 18:29 legacy
[email protected]:/storage/emulated # exit
exit
[email protected]:/storage/emulated $ ls -l
ls -l
lrwxrwxrwx root root 2013-08-17 10:28 legacy -> /mnt/shell/emul
ated/0
Resolved
After further inspection, the folder exists but can't be accessed. I tried making a now folder to the com.amazon.venezia folder but kept getting permission denied. So I uninstalled all Amazon apps and tried to get rid of the directory.
I tried removing the folder with a file manager, no go.
I tried with root, no go.
Finally I rebooting to recovery and from a shell I rm -rf'd the mofo.
I'm going to install the Appstore and see if it works now.
Update: Yup, I'm able to install everything now. Hopefully my little adventure here helps anyone else that runs into this same odd problem.
xantonin said:
After further inspection, the folder exists but can't be accessed. I tried making a now folder to the com.amazon.venezia folder but kept getting permission denied. So I uninstalled all Amazon apps and tried to get rid of the directory.
I tried removing the folder with a file manager, no go.
I tried with root, no go.
Finally I rebooting to recovery and from a shell I rm -rf'd the mofo.
I'm going to install the Appstore and see if it works now.
Update: Yup, I'm able to install everything now. Hopefully my little adventure here helps anyone else that runs into this same odd problem.
Click to expand...
Click to collapse
I've flashed four roms today to try and resolve this, can you please detail exactly what you did?
Thank you
edit
OK I couldn't find /storage from TWRP command line so I booted back up, uninstalled the amazon app, using root explorer I renamed the folder. Reinstalled amazon app and it worked.
So thank you for the heads up
Glad you got it working! The issue is definitely related to the Amazon folder permissions being messed up.
Seems the solution is completely removing the folder or renaming it.
I'm glad my documentation helped.
Question...
I am having the same issue, and I would like to get your help, if I may.
Which folder are you refering to in this post, are you pointing to the com.amazon.venezia folder?
Where can I find this folder?
xantonin said:
After further inspection, the folder exists but can't be accessed. I tried making a now folder to the com.amazon.venezia folder but kept getting permission denied. So I uninstalled all Amazon apps and tried to get rid of the directory.
I tried removing the folder with a file manager, no go.
I tried with root, no go.
Finally I rebooting to recovery and from a shell I rm -rf'd the mofo.
I'm going to install the Appstore and see if it works now.
Update: Yup, I'm able to install everything now. Hopefully my little adventure here helps anyone else that runs into this same odd problem.
Click to expand...
Click to collapse
cso5874 said:
I am having the same issue, and I would like to get your help, if I may.
Which folder are you refering to in this post, are you pointing to the com.amazon.venezia folder?
Where can I find this folder?
Click to expand...
Click to collapse
I believe I was referring to:
/storage/emulated/0/Android/data/com.amazon.venezia/
If you are re-installing it, you may delete any com.amazon.venezia folder.

[Q] OBB Folder write protected/hidden in Android 5.0, Lollipop Update.

The obb folder is hidden in android 5.0. Searched a lot on web and XDA and found out no one has found this problem yet. The obb folder is hidden throughout the system, i have tried to connect it via pc but no use. In pc you can see the obb folder but all the folders within it are empty! I have rooted and used even root explorer. No use. Anyone can help please? :fingers-crossed:
same here
need solution
juve2lia said:
same here
need solution
Click to expand...
Click to collapse
Hey i have found the solution! Just go to es file explorer and search for obb folder and you can see the obb folder and copy and paste filess too! that is the loop hole in the security...! you cant access it normally but when you search it via es you can access it
Sent from my XT1033 using XDA Free mobile app
obb location is at /data/media/obb
vikasb32 said:
obb location is at /data/media/obb
Click to expand...
Click to collapse
Sorry sir.... but its not... its under Android/obb only just hidden from external access but when you try to search it... it is shown..
Sent from my XT1033 using XDA Free mobile app
It only visible at /data/media/obb if you are rooted device
Fixed
Malyaj said:
Sorry sir.... but its not... its under Android/obb only just hidden from external access but when you try to search it... it is shown..
Sent from my XT1033 using XDA Free mobile app
Click to expand...
Click to collapse
Doesnt matter anymore, its fixed in android 5.0.1
bhumik147 said:
Doesnt matter anymore, its fixed in android 5.0.1
Click to expand...
Click to collapse
Yes man... yesterday only i updated to 5.0.1 brazilian ota... its fixed
Sent from my XT1033 using XDA Free mobile app
yaaahhhh
yes it fixed guys. now 1ly flashed 5.0.1. it rockzzz.
Terminal?
If anyone is still stuck on 5.0.0...
if you get the Terminal Emulator, the following instructions will work; supposing you have a folder in download you want to move to obb:
cd /sdcard/Download
Let's say our folder is com.sample.folder
cp -r com.sample.folder /sdcard/Android/obb
If you want to check it
cd /sdcard/Android/obb
ls (or ls -l)
thisUnkn0wn said:
If anyone is still stuck on 5.0.0...
if you get the Terminal Emulator, the following instructions will work; supposing you have a folder in download you want to move to obb:
cd /sdcard/Download
Let's say our folder is com.sample.folder
cp -r com.sample.folder /sdcard/Android/obb
If you want to check it
cd /sdcard/Android/obb
ls (or ls -l)
Click to expand...
Click to collapse
I've tried many ways to do this, but in all of them it seems i don't have the permission to do that (write on this folder) i can't delete what's in the folder, i mean i can, but when i refresh the folder nothing changes.
i can copy archives there but it seems they all turns into 0kb files when i do so, i can't move stuff there.
i'm stuck, and i can only see this folder searching with ES or creating it with root explorer (but then it vanish when i leave the folder)
In the way you said above terminal writes that i don't have permission to do that, and i have a rooted device.
IGNORE
---------- Post added at 10:17 PM ---------- Previous post was at 10:12 PM ----------
marquesini said:
I've tried many ways to do this, but in all of them it seems i don't have the permission to do that (write on this folder) i can't delete what's in the folder, i mean i can, but when i refresh the folder nothing changes.
i can copy archives there but it seems they all turns into 0kb files when i do so, i can't move stuff there.
i'm stuck, and i can only see this folder searching with ES or creating it with root explorer (but then it vanish when i leave the folder)
In the way you said above terminal writes that i don't have permission to do that, and i have a rooted device.
Click to expand...
Click to collapse
Download and install the latest version of TWRP for your phone. Then boot your phone into recovery. From there go into advanced and click terminal the input
chown -R media_rw:media_rw /data/media/
find /data/media/ -type d -exec chmod 775 {} ';'
find /data/media/ -type f -exec chmod 664 {} ';'
That should fix this issue (when you reboot your phone it should be there but be aware that whenever you reboot you have to do this or at least I do)
Hope I Helped

[Q] permission issue and mount question

Hi @all
first of all some details about my phone:
I use a Google Nexus 5 with Android 5.0.1 (LRX22C) and root access.
my first question is:
When i use chmod on any file or folder in /sdcard or /storage/emulated/legacy the command itself runs perfectly well. No errors or somthing, but the permissions are not changed.
Does anybody know why? And what do i have to do to change the permissions?
second question:
On my phone, the path /sdcard points to /storage/emulated/legacy.
What kind of link/mount/bind thing is that, and where is it established?
(I could not find it in /fstab.hammerhead, for example. Is there a kind of a second fstab or something?)
i hope you can help me
Sorontik
PS: If you need more details, feel free to ask

Categories

Resources