[Q] Cannot delete file - AT&T Samsung Galaxy S 5

I Downloaded a WinRAR file onto my S5 for my computer. It is in my downloads folder on the internal storage of my S5. I have deleted everything out of the folder itself but cannot delete the folder. It annoys me. When I try to delete it I get this dialog box:
"Error deleting folder" Cannot delete WinRAR 5.21 Final(x86-x64) Pre-Activated 100(weird Chinese symbol) an install: The storage is write protected.
Remove the write protection and try again.
I am not stupid...I've tried everything I could think of and cannot remove the write protection or anything. For some reason I think it may be because of the weird Chinese symbol that is after the "Pre-Activated 100"
I cannot rename it, modify it or anything. It is the only file I am having a problem with. Can anybody help me with my OCD?

Is your phone rooted? If yes, you can either use adb or just a terminal emulator app, and delete the cr.p of that file!
Edit: the command you're looking for:
su
cd /mnt/sdcard
rm -r Download
That will remove the Download folder along with all its content. (this is irreversible)

Related

Can't get apk's to install?

I got my NC rooted (I think LOL) I went through the root process and everything looks fine but now i'm trying to install some apk's and I cant get it to work. I want to install root explorer so I pulled the apk from my Htc Evo and put it in a folder on my desktop. Then in cmd I type
cd\
cd android-sdk-windows\platform-tools
adb kill-server
adb devices
I get my device listed so then I type (before the cursor it says C:\android-sdk-windows\platform-tools>)
adb install C:\documents and settings\owner\desktop\apks\root explorer 2.12.4.apk"
and I get a message that says "can't find 'explorer 2.12.4.apk' to install
I am stuck I don't know what to do. Please help me!!
I have tried the name root explorer 2.12.4.apk with and without spaces
Novarider said:
adb install C:\documents and settings\owner\desktop\apks\root explorer 2.12.4.apk"
Click to expand...
Click to collapse
If cmd is like Linux you have to put \ before spaces like root\ explorer\ 2.12.4.apk
its definitely related to where the apk is located or the file name.
Try putting quotes around the path such as....
adb install "c:\docume...."
If that doesn't work then create a folder on your c:\ called apk then move the file over to that folder and rename the .apk file to something without spaces.
Good luck!
So I am at the correct path? What EXACTLY do you type after you open the cmd? Can you just open the cmd and start installing apps or do you have to navigate to android-sdk-windows...
What do I need to type from the time I open cmd?
rob04 said:
its definitely related to where the apk is located or the file name.
Try putting quotes around the path such as....
adb install "c:\docume...."
If that doesn't work then create a folder on your c:\ called apk then move the file over to that folder and rename the .apk file to something without spaces.
Good luck!
Click to expand...
Click to collapse
The " around the path worked. Thanks!
Now that I have root explorer installed how do I use it? Can I put it on my home screen?

How To: Keep your old Fascinate clock

Here's a "How to" using nothing but your phone and computer (or Mac):
1.) If you JUST want the clock, you'll need to download onto your Mac or PC either "missing.zip" or "iofthestorm.zip" from here: http://forum.xda-developers.com/showthread.php?t=940456&page=6
2.) Extract the zip file, and open the folder: missing>system>app. Both of these zips have extras bundled into them, so locate Clockpackage.apk. Now, keep this window open.
3.) You'll need a file manager (I like Root Explorer) that allows you to see the "system" (you won't see "" around these files w/in your phone) file. Within in the "system" file, is the "app" file . You'll need to remove the previously bundled clock, but before you do you have to bypass the "system" file's r/o permission. For noobs, r/o = read only. r/w = read/write.
4.) I don't have the link, so click search from w/in the Android Market on your phone and type: mount /system. It'll be the first app that appears on the list. Mount /System is literally the name of the app, so the spacing, etc., is not a typo. Download and install.
5.) When finished with step # 4, fire up your new app, Mount /System, and click the button that says, "Mount r/w."
6.) Remove your old clock from the system/app folder. I first made a copy into my download folder just in case anything went wrong. Once the copy was in a place I could locate again, I went back to system/app folder and deleted the previously bundled clock.
7.) I plugged my phone via usb (settings/applications/development/USB debugging) into my computer. Locate the folder in step #2. Find the clock. Then, drag and drop onto your system/app file.
8.) You're done! Close Root Explorer, and you should see your old Samsung Clock in your app drawer on your phone.
Please note, I'm not a software developer nor am I a hacker. I know only about my device, a Samsung Fascinate, so please don't ask me how to use this mod for other devices. Those who would like to do so would be better off following some of the adb tutorials posted on these forums.

Transfer system files to external SD card?

My motherboard is toast, I bought a broken phone on ebay and switched out the motherboards but it isnt working. Phone works fine but wont recognize sim card or connect to network. Its just a camera/wifi device atm. So anyway..... I can still get the old motherboard to kinda work enough to play with it, the home buttons dont work or the power button and sometimes freezes up. Is there a way I can put the old motherboard in the phone and copy the system files to the external sd card or computer, then wipe the new motherboard and copy the files from the old mb to the new mb? I believe I have tried everything else but if anyone has any suggestions Im all ears
Thanks!
The easiest way would probably be to take the motherboard you're wanting to pull stuff from, hook it up (in the phone), and via USB in ADB do something like this:
adb pull / \backup
That would create a folder at the top level of your C: drive with all the contents of the phone on it. You could then move all of that to the new motherboard.
(That would probably be something like:
adb push \backup /
but I'm not 100% sure on that. You may have to do a more one-by-one procedure.)
when I try to push the backup I get this message....
failed to copy '\backup/acct/uid/0/task' to 'acct/uid/0/task' : Operation not permitted
Sooooo what did I do wrong??
Also I couldnt find where it saved the backup on my computer.
Ok, found the backup folder on my c: drive but what do I do with it now?
Bump cause I still havent figured this out Seems like I dont have the correct permissions in adb.
poprocksncoke said:
when I try to push the backup I get this message....
failed to copy '\backup/acct/uid/0/task' to 'acct/uid/0/task' : Operation not permitted
Sooooo what did I do wrong??
Also I couldnt find where it saved the backup on my computer.
Ok, found the backup folder on my c: drive but what do I do with it now?
Click to expand...
Click to collapse
If you typed in your backup like what you wrote above (\backup/acct/uid/0/task), it's likely that you're running into an error because you flipped your slashes midway through.
The backup folder needs to be in the platform-tools folder of the ADB installation, as that's where ADB pushes from.
Once you have that, reboot into recovery mode. This may not be 100% necessary, but I usually find that pushes work better from there as the file system is (usually) read-write.
Then, try this:
adb push \backup /
(You may have to switch the slash before the word backup so it reads /backup, I'm not 100% sure.)
If that doesn't work, drag an individual folder out of the backup folder to the main platform-tools folder and type:
adb push /acct \
You'll have to repeat that for each folder, but it should work.
If all that fails, you can try to make a CWM flashable zip file. I don't know exactly what the procedure is for doing this, but I would guess that the answer exists somewhere on this site.
jmtheiss said:
If you typed in your backup like what you wrote above (\backup/acct/uid/0/task), it's likely that you're running into an error because you flipped your slashes midway through.
The backup folder needs to be in the platform-tools folder of the ADB installation, as that's where ADB pushes from.
Once you have that, reboot into recovery mode. This may not be 100% necessary, but I usually find that pushes work better from there as the file system is (usually) read-write.
Then, try this:
adb push \backup /
(You may have to switch the slash before the word backup so it reads /backup, I'm not 100% sure.)
If that doesn't work, drag an individual folder out of the backup folder to the main platform-tools folder and type:
adb push /acct \
You'll have to repeat that for each folder, but it should work.
If all that fails, you can try to make a CWM flashable zip file. I don't know exactly what the procedure is for doing this, but I would guess that the answer exists somewhere on this site.
Click to expand...
Click to collapse
Actually what I typed was adb push \backup / then it gave me that error. It stored the backup folder on my c: drive, I will move it to the tools folder and see if that works. Going to go search on how to make a CWM flashable zip file now. Maybe i'll give that a shot too. Thanks for your help.
So If I am getting this correctly, I take the custom ROM I have flashed to my phone and then I can add my system files to to the system folder in the ROM I can then flash the ROM again and it will install all my files?
In theory, yes, that should work. All the CWM update file does is write the files inside of it to the folders that the updater-script file tells it to.
Again, this should work IN THEORY.
poprocksncoke said:
So If I am getting this correctly, I take the custom ROM I have flashed to my phone and then I can add my system files to to the system folder in the ROM I can then flash the ROM again and it will install all my files?
Click to expand...
Click to collapse
Ok, I tried this and put the .zip on my sdcard and ran it from recovery. Got an error that I didnt have enough space. Any suggestions?

OBB access

Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
I am NON ROOTED
I can only add files or overwrite them, by making a obb folder anywhere else, putting the files in it ,then moving this folder inside the Android folder
Sent from my XT1092
Hmm. I can do that. However it say that folder exist so I have to overwrite it. Seeing that I can't view it I'm worried there might be something I need in it.
Holyoblation said:
Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
Click to expand...
Click to collapse
Same problem here
I tried changing permissions in terminal but I couldn't make it visible. It wouldn't even let me delete the folder because the device or resource is busy. It would be nice to fix this. Maybe with twrp you could delete the folder and make a new one that would be visible.
Holyoblation said:
Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
Click to expand...
Click to collapse
Hi,
I was also facing the same problem and by some hit and trial i was able to see the folder and write to it. This is what i did:-
1) I used ES File Explorer.
2)In it if you search for obb folder using the "search" option you are able to see the obb folder and the files in it.
If you want a step by step guide i have written it in the following page:- http://forum.xda-developers.com/showpost.php?p=57161290&postcount=3
VHNDEV said:
Hi,
I was also facing the same problem and by some hit and trial i was able to see the folder and write to it. This is what i did:-
1) I used ES File Explorer.
2)In it if you search for obb folder using the "search" option you are able to see the obb folder and the files in it.
If you want a step by step guide i have written it in the following page:- http://forum.xda-developers.com/showpost.php?p=57161290&postcount=3
Click to expand...
Click to collapse
I saw that post. Thanks. I can get into the folder and write to it, but I would really like to make it visible. I think its really odd that with root you can view all the other folders, but not to the obb folder. If anyone knows why, that would be helpful.

Can't delete folder on my internal memory.

I had ktoonsez installed on my previous rom, I switched over to a different rom and now I can't delete the folder in my internal memory called, "device." When I look in the folder it has ktweaker and other stuff, I've tried to mount the system as r/w but it still doesn't work. Does anyone else have this folder? Photos attached.
Try looking in /data/media/0 or /data/media/legacy
See if the folder is there and try deleting it. Sometimes the files on /sdcard are just images of the data folder. GL!
Delete any folder easily
If you fell any problem to do copy,paste,error Deleting File or Folder.Then you should use Long Path Tool to solve your problem.
If Long Path Tool fails on start up, please ensure you have .net framework installed on your PC.

Categories

Resources