Permission denied deleting OBB file - OnePlus 3 Questions & Answers

Hi Guys,
I'm having some Problem deleting a file in the /sdcard/Android/OBB folder. it seems to be causing me problems and not letting me update one of my apps.
Here are the things i've tried to do.
Clear the cache of my app and the play store
Tried using terminal with SU, just got "Premission denied"
Tried using SU to change the CHMOD to 777, no luck on it actually changing that at all
Tried going to TWRP to uninstall it. however in recovery, when i got to the OBB folder, it was empty for what ever reason even though it is not when i use a file browser when the phone boots up.
Let me know if you have any idea what could cause this problem?
Thanks!

Tried root browser?

Roykooiman said:
Tried root browser?
Click to expand...
Click to collapse
Yup, tried that as well.

lil-devil said:
Hi Guys,
I'm having some Problem deleting a file in the /sdcard/Android/OBB folder. it seems to be causing me problems and not letting me update one of my apps.
Here are the things i've tried to do.
Clear the cache of my app and the play store
Tried using terminal with SU, just got "Premission denied"
Tried using SU to change the CHMOD to 777, no luck on it actually changing that at all
Tried going to TWRP to uninstall it. however in recovery, when i got to the OBB folder, it was empty for what ever reason even though it is not when i use a file browser when the phone boots up.
Let me know if you have any idea what could cause this problem?
Thanks!
Click to expand...
Click to collapse
Hi,
I have exactly the same problem. Any solution fo this yet?
Thanks

rizki_Alkaf said:
Hi,
I have exactly the same problem. Any solution fo this yet?
Thanks
Click to expand...
Click to collapse
Fix it by going in and instead of deleting, try renaming it. That's how I fixed it.
Sent from my ONEPLUS A3000 using Tapatalk

lil-devil said:
Fix it by going in and instead of deleting, try renaming it. That's how I fixed it.
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
[emoji15]
I cannot rename it as well
This is very frustating. The folder contents 4GB game files i don't use anymore
Edit: Apparently, i can rename the folders but not the file inside. So, maybe i can now update or re-download those apps.
But, all i want is just to remove those files, cause they use too much space. Even if i want to re-download those apps, the new apps will create a new obb folder, right? So those big obb files will be duplicated. That's not good
Sent from my Redmi Note 3 using Tapatalk

lil-devil said:
Fix it by going in and instead of deleting, try renaming it. That's how I fixed it.
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
[emoji15]
I cannot rename it as well
This is very frustating. The folder contents 4GB game files i don't use anymore
Edit: Apparently, i can rename the folders but not the file inside. So, maybe i can now update or re-download those apps.
But, all i want is just to remove those files, cause they use too much space. Even if i want to re-download those apps, the new apps will create a new obb folder, right? So those big obb files will be duplicated. That's not good
Edit 2: SOLVED
The actual location is /data/media/obb, i can delete those obb files from there [emoji4]
Sent from my Redmi Note 3 using Tapatalk

1. Couldn't delete obb.
2. Could only rename.
3. Couldn't locate required obb under /data/media/obb
Managed to LOCATE and DELETE required folder at
/mnt/runtime/default/emulated/obb
Root browser seems necessary.

lil-devil said:
Hi Guys,
I'm having some Problem deleting a file in the /sdcard/Android/OBB folder. it seems to be causing me problems and not letting me update one of my apps.
Here are the things i've tried to do.
Clear the cache of my app and the play store
Tried using terminal with SU, just got "Premission denied"
Tried using SU to change the CHMOD to 777, no luck on it actually changing that at all
Tried going to TWRP to uninstall it. however in recovery, when i got to the OBB folder, it was empty for what ever reason even though it is not when i use a file browser when the phone boots up.
Let me know if you have any idea what could cause this problem?
Thanks!
Click to expand...
Click to collapse
May your obb file was located in your sd card boot to your twrp then advance/file manager/external_sd/media/obb then open it and click the check button then choose the chmod and just type 777 you should also do that to the existing folder inside obb the reboot your device

rizki_Alkaf said:
[emoji15]
I cannot rename it as well
This is very frustating. The folder contents 4GB game files i don't use anymore
Edit: Apparently, i can rename the folders but not the file inside. So, maybe i can now update or re-download those apps.
But, all i want is just to remove those files, cause they use too much space. Even if i want to re-download those apps, the new apps will create a new obb folder, right? So those big obb files will be duplicated. That's not good
Edit 2: SOLVED
The actual location is /data/media/obb, i can delete those obb files from there [emoji4]
Click to expand...
Click to collapse
I just ran into this issue yesterday and was glad I found this post. I couldn't chown or chmod the directory or file even though I was root. Deleting it from data/media/obb fixed it.

Related

[Q] Can't get Whatsapp to work - Force close

Can't get whatsapp to work. I had it pre-installed when i got the phone. But i deleted it. But re-installed it from the market, now, all i get when i try to log in for the first time i get force close. Anyone else who has this problem?
_terror_ said:
Can't get whatsapp to work. I had it pre-installed when i got the phone. But i deleted it. But re-installed it from the market, now, all i get when i try to log in for the first time i get force close. Anyone else who has this problem?
Click to expand...
Click to collapse
It's dependent on the sony framework as it's preinstalled, push the .apk to /system/app/ and it will work again
AndroHero said:
It's dependent on the sony framework as it's preinstalled, push the .apk to /system/app/ and it will work again
Click to expand...
Click to collapse
i'll get that one a shot get back to you
btw, how do you do that? i have a file explorer app and the .apk file
_terror_ said:
btw, how do you do that? i have a file explorer app and the .apk file
Click to expand...
Click to collapse
You can just copy and paste it to /system/app. Using a file explorer, but you must set the right permissions afterwards, or if you have a pc, you can use adb, just to push the .apk
Sent from my R800i using Tapatalk
AndroHero said:
You can just copy and paste it to /system/app. Using a file explorer, but you must set the right permissions afterwards, or if you have a pc, you can use adb, just to push the .apk
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
when you say "push the .apk" do you basically mean move the downloaded .apk-file to /system/app then install it from there or what?
_terror_ said:
when you say "push the .apk" do you basically mean move the downloaded .apk-file to /system/app then install it from there or what?
Click to expand...
Click to collapse
No push is a command used by adb, so you would use the command "adb push xxxx.apk /system/app" and that would move the apk to that location, you dont need to install apps to /system/ just copy them there
i have this problem on s5830i
thats no has system folder
what do i?

Can't delete folder?

How the hell can i delete a folder that can't be seen via PC connection but i can see it using es file explorer?
I can't delete it using ES even with root enabled....
zerozoneice said:
How the hell can i delete a folder that can't be seen via PC connection but i can see it using es file explorer?
I can't delete it using ES even with root enabled....
Click to expand...
Click to collapse
Depending on where it is you need to mount it first. Which folder are you trying to delete?
Sent from my Galaxy Nexus
I had a folder that became corrupted (repeatedly interrupted game data downloads, I think). I was unable to delete it (even as root) and received an Access Denied error. I was able to rename the folder (so it wouldn't conflict anymore) and delete the majority of its contents (still received the Access Denied error on a file or two). I eventually had to do a full wipe via fastboot -w to get rid of the corrupted files.
had the same problem. had to reflash su.zip and it worked. can't explain it though. just reaching at straws
matt30 said:
Depending on where it is you need to mount it first. Which folder are you trying to delete?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
it's the folder created by the Photaf application.
i uninstalled the app and the folder is still there...permissions are writable, not hidden...
i can rename it, but can't delete it....and the subfolder within it as well...
i remember it happened once before and the only way to get rid of it was to reinstall the ROM (AOKP). Once installed, i could delete the folder.....
Try reinstalling the game and using settings/application/name of game clear data
Sent from my Galaxy Nexus
bwcorvus said:
Try reinstalling the game and using settings/application/name of game clear data
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
no effect, still can't be removed
LE: WTF, i just plugged in the phone into USB for charging and i saw the folder?! It deleted just fine?
Damn weird didn't do anything different than yesterday when i couldn't even see the folder via PC...
Thank you!
My Asus Transformer (TF101) hasn't been able to download anything to the Download folder for months now. Even Opera (which I installed just to try and fix this) could only download to a different folder. I did what you said, plugged it into the computer and first renamed the folder with ADB but couldn't create a new Download folder. "File already exists." Lies. Windows Explorer said it was still there as Download so I deleted it in Explorer and created a new folder named Download. The create failed but Android said it was there and Voila! I can download again. Very weird, but not ready yet to reformat in fastboot. Thanks guys!
If you're rooted you may be able to delete the files from /data/media, which is the true location, instead of the visual SD that you are seeing.
Could also be a file ownership issue.
Using a terminal emulator, use the following command to list ownership and permissions:
ls -l
(Lower case letter L, not i or 1)
Most of the files and folders should show up as media_rw, but the problematic ones may show up as numbers. To fix them, boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *

Limited access to file system?

I was side loading an app from my phone to my tablet, incompatible in market. Well when I tried to copy the obb into the obb folder on my tablet it said access restricted... can't get it to copy even with root explorer.
Sent from my Nexus 7 using xda premium
whoamanwtf said:
I was side loading an app from my phone to my tablet, incompatible in market. Well when I tried to copy the obb into the obb folder on my tablet it said access restricted... can't get it to copy even with root explorer.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Are you rooted...?
I noticed something similar to this as well. I used TiBu to restore the SwiftKey app and settings from my 1st Gen N7. After restoring it, the English language pack wouldn't download. After Googling around, they recommended deleting languagepacks.json from the sdcard/Android/files/com.whatever directory and even with root access and Root Explorer I wasn't able to delete the file. I had to do it through TWRP and even that didn't solve the issue. I had to format internal storage to solve my issue. Needless to say, I've been much more careful about using TiBu since then.
Sent from my SGH-T999 using xda premium
alicarbovader said:
Are you rooted...?
Click to expand...
Click to collapse
Yes, yes I am. But you should not need root for these folders anyways.
Sent from my Optimus G using xda premium
I got it working with a different file manager, but I am still unable to copy the Titanium backup folder to my computer via usb, or airdroid. Weird thing is I cannot even use a zip app to zip it up then move the zip.
whoamanwtf said:
I got it working with a different file manager, but I am still unable to copy the Titanium backup folder to my computer via usb, or airdroid. Weird thing is I cannot even use a zip app to zip it up then move the zip.
Click to expand...
Click to collapse
I actually ran into a similar issue on my N7v1 last night. I wanted to copy over all my apps and settings, so I attempted to copy the various files in my Titanium Backup backup folder. I tried using adb pull, but it failed to copy over any of the apks. The other files (properties, etc.) copied, but not the applications. This seemed very weird. Then things got weirder.
I looked at the ownership/permissions/etc. and they were all identical. I had read/write access to everything. So I tried tar'ing them all up on the device, as root, to copy over one big archive. No dice. Even tar couldn't read the files. I tried coping them to another directory, but that failed too. I could only move or delete them - not copy/read/etc.
I assumed maybe something was wrong with the backups, so I deleted them all and redid the TiBu backup. Problem persisted even on these new files I just made.
It reminded me of an issue I had with TWRP when Android changed around the file system location of the sdcard. When that happened, I couldn't access my nandroid backups either, or even delete them. I actually had to make a flashable zip to get rid of them.
So I had an idea. My current TiBu backup location was "/sdcard/TitaniumBackup". The /sdcard directory points to "/storage/emulated/0/". So I deleted all the backup files again, changed the TiBu backup location to the latter and ran the backup process again.
Voila. I could now read/copy/everything all the files in that same directory, albeit with a different path.
Anyway, I thought I would share this because it sounds like a similar issue. Try using the full path and not the /sdcard shortcut and see if that works.

[Q] Internal sdcard Problem

Hello,
I did a permition fix using TWRP (dunno why ;( ) and after that I can't do anything with my internal sdcard, I mean I can see folders and files inside and other stuff, but it fails if i try to send pictures from gallery to mail client, I can't even download files using browser, aswell as installing Xposed Framework and etc. I need your help!!
I noticed the sdcard name changed to Legacy from "0" (ES File Explorer), so looks like I've got mouting problem, but I don't know how to fix it.
WeedyEyes said:
Hello,
I did a permition fix using TWRP (dunno why ;( ) and after that I can't do anything with my internal sdcard, I mean I can see folders and files inside and other stuff, but it fails if i try to send pictures from gallery to mail client, I can't even download files using browser, aswell as installing Xposed Framework and etc. I need your help!!
I noticed the sdcard name changed to Legacy from "0" (ES File Explorer), so looks like I've got mouting problem, but I don't know how to fix it.
Click to expand...
Click to collapse
If you are rooted just install "Folder Mount" from play store run it , it will fix your sd card issues.
Thank You
Yeah man, you are genius!
Launched folder mount, granted root access, system fault was found instantly and fixed as well.
Thank You.

See root files from pc

Am I the only one who can't figure out how to view and or copy some files from the phone to my pc? Example, I created two zip files on my phone to be copied off for backup. TWRP.zip and Titanium backup.zip but neither is visible when connected from my pc. Chmod and chown also fails through root explorer or terminal. I'm feeling retarded right now...
Where are those zip files located? Somewhere in your root storage or on your sdcard/internal storage?
If it's the latter, try using adb commands to transfer the files to your PC
Or you can use this app called "Handshaker" and see if the files are visible there
CyberpodS2 said:
Am I the only one who can't figure out how to view and or copy some files from the phone to my pc? Example, I created two zip files on my phone to be copied off for backup. TWRP.zip and Titanium backup.zip but neither is visible when connected from my pc. Chmod and chown also fails through root explorer or terminal. I'm feeling retarded right now...
Click to expand...
Click to collapse
If you created zip files in root explorer, did you look in...storage/emulated/0/SpeedSoftware/archives
If yes, then move them to a folder you've already created. Much easier to find that way ?
Yeah I can see the zip files fine on the phone, and I can see most all files from the PC. I created the zip files right in the root of sdcard which is the same as the root of internal shared storage from the PC. I can even browse both the folders TWRP and Titanium backup from Windows Explorer. I even copied the files to a different dir. I'm thinking they being owned by root is the issue. Going to keep plugging. And try the app suggested.
The issue was not here on the 6P. I just zipped up those two dirs and copied them to the pc. Can't copy twrp cause of file names that piss off Windows and tibu has way too may files. Anyway, going to look into the adb thing but if the files are not visible then ???
Also. Thought about otg but the phone insists on formatting the cards as fat32 which have a 2 gig limit lol
Badger50 said:
If you created zip files in root explorer, did you look in...storage/emulated/0/SpeedSoftware/archives
If yes, then move them to a folder you've already created. Much easier to find that way ?
Click to expand...
Click to collapse
Heh one more thing, root explorer ain't working for me. Lol was using jrummy root browser. My bad for the initial problem statement.
CyberpodS2 said:
Heh one more thing, root explorer ain't working for me. Lol was using jrummy root browser. My bad for the initial problem statement.
Click to expand...
Click to collapse
Meh...no biggie bruh. Sorry RE doesn't work. Kinda strange though. It's worked great for me on any rom thus far. Unless it's a f2fs thing? ?
Badger50 said:
Meh...no biggie bruh. Sorry RE doesn't work. Kinda strange though. It's worked great for me on any rom thus far. Unless it's a f2fs thing? ?
Click to expand...
Click to collapse
So how do you back up for TWRP and tibu if you are doing a complete wipe?
CyberpodS2 said:
So how do you back up for TWRP and tibu if you are doing a complete wipe?
Click to expand...
Click to collapse
Set lock screen to swipe. Uninstall all theme overlays. Do my TiBu backup, and save it to my pc. Go to twrp and backup boot, system, and data, and let it rip. Then I save that backup to the pc. Then if I'm installing a new rom, I just do the twrp factory reset thing. I don't wipe system anymore since that seems to foul things up. Which, I still don't quite understand since that was SOP on the 6p ??

Categories

Resources