Unhappy [Q] Problems with deleting files and replacing sounds
HI all! New use here.
I superuser'd my phone, routed my phone, installed CM11 and all is well. It was my understanding that with apps like RootBrowser and or SuperManager i could browse to files change permissions and delete and remove them or replace them.
I am unable to change my lock sound or boot animation.
Ive granted the permissions to the apps and am operating the root browsers in Root mode. (sorry if my terminology is wrong but im new to this) When i try to replace the files in system/media or system/media/audio/ui they simply dont work, "operation failed". I am able to change the permissions on the replacement files going into these directories to match those im overwriting but its still fails.
Ive even successfully deleted the default lock sound but when i paste the new one into the folder it fails and says stuff like "out of space" or "no room" and then when i shut app and go back in the original file is back!
Can anyone help with this as my lovely rooted phone is being very difficult.
Your partition is mounted as read-only, that`s why you get "operation failed".
Mount it as read / write and should be ok.
ngl_ro said:
Your partition is mounted as read-only, that`s why you get "operation failed".
Mount it as read / write and should be ok.
Click to expand...
Click to collapse
Thank you. I now know what to do but not how to do it? Are you able to help or link me to a post on how to do that?
Many thanks
ngl_ro said:
Your partition is mounted as read-only, that`s why you get "operation failed".
Mount it as read / write and should be ok.
Click to expand...
Click to collapse
When i use the app SuperManager to browse the file system to "system" folder it asks me "If you want to modify the file in teh system, you have to mount the system image first. Please choose access mode: System IMage: R/O"
then
"Do nothing Read only R/W" so i chose R/W but that does not fix the problem?
My errors i get are "not enough free space" well there is plenty of that!
So confused....
Any thoughts
Just ignore the "not enough free space".
Cant help you with RootBrowser or SuperManager because I never used them. I use ES File Explorer, and mounting partitions with it always solved my problems with not being able to delete / modify system files / apps.
Related
I am trying to install a custom boot animation.
It says to put default.xml in system/customize/CID
I tried to do this with a root explorer but it said copy failed and I cant delete the default xml that is already there. Is it because it is being used? How would I do it with the phone off?
I dont understand how.
You could just flash one. Use bootscoot2, there's a thread in development.
jedinegotiator said:
I am trying to install a custom boot animation.
It says to put default.xml in system/customize/CID
I tried to do this with a root explorer but it said copy failed and I cant delete the default xml that is already there. Is it because it is being used? How would I do it with the phone off?
I dont understand how.
Click to expand...
Click to collapse
generally, the system is normally mounted in read only at boot. before making any changes to the system partition you'll need to mount the system in read/write mode. there is an app in the market by a senior xda moderator which helps with mounting the system as read/write called remount.
if, for some reason, you aren't able to modify the file because it is in use, then putting the phone in recovery mode, will be the next best way to access the /system partition with read/write access and not have any of the /system files be in use.
loading update.zip files where people have packaged up modifications in recovery mode, generally work well because recovery mode runs as root and there is the guarantee the recovery mode does not rely on and does not use any /system files.
hope that helps!
I have installed the Deodexed 407 Rom, and installed Streakmod Recovery and also installed superuser.zip, so in theory, from what I have read my streak should now be rooted.
But when I try and edit a file, the build.prop file in /system with Astro File Manager I alter some of the settings and save it, but when I reopen the file the changes had not been saved. I have tried seeing if I can change the permissions on the file, but without success.
I would be grateful if someone could assist me in where I am going wrong, hopefully it is something simple or a wrong setting that I am not quite doing correct.
spanner44 said:
I have installed the Deodexed 407 Rom, and installed Streakmod Recovery and also installed superuser.zip, so in theory, from what I have read my streak should now be rooted.
But when I try and edit a file, the build.prop file in /system with Astro File Manager I alter some of the settings and save it, but when I reopen the file the changes had not been saved. I have tried seeing if I can change the permissions on the file, but without success.
I would be grateful if someone could assist me in where I am going wrong, hopefully it is something simple or a wrong setting that I am not quite doing correct.
Click to expand...
Click to collapse
You have to mount the system as ReadWrite and there was no need for a new thread. You should've posted in the rooting thread
Sorry, for not putting it in the rooting thread, but didn't want to clog a general rooting thread with a specific problem.
I have solved this now thanks, but not with Astro File manager as I still cannot seem to change the permissions with that app, but used advanced tools app instead.
Thanks again anyway.
Yes i had same problem trying do root operations with file expert. I used root file explorer instead. Weird thing being that even with rooting permissions ticked file explorer failed.
For most root-enabled browsers, just enabling root permissions won't give you write access. You'll need to find a second option to mount the /system directory as read/write. That's normally somewhere in the Settings menu or on the directory's long-press menu.
ChicoKiri said:
For most root-enabled browsers, just enabling root permissions won't give you write access. You'll need to find a second option to mount the /system directory as read/write. That's normally somewhere in the Settings menu or on the directory's long-press menu.
Click to expand...
Click to collapse
It's mainly dependant on the kernel, all custom kernels automatically mount system as RW and all stock kernels mount it as RO
At least root explorer tells you that it's read only if you attempt to modify it without remounting, I havnt used ASTRO in a long time so I cant comment on that
Root explorer better for me
Sent from my PC36100 using xda premium
Hi, I'm using an LG Optimus L9 and running 4.3 bassed PAC-man rom.
The internal memory is 4GB and after installing a few apps, I started getting "Not enough storage space" warnings.
So, I checked the /data folder and found that there's directory called lost+found which is taking up a lot of space (Above 1.5GB).
I tried deleting files using ES Explorer with the data folder mounted as R+W, but it says "error deleting files"
Is it safe to delete the lost+found folder?
And if yes, how can I delete it since I'm unable to delete it with a file explorer app.
It would be really great if could recover thelost internal memory
void00 said:
Hi, I'm using an LG Optimus L9 and running 4.3 bassed PAC-man rom.
The internal memory is 4GB and after installing a few apps, I started getting "Not enough storage space" warnings.
So, I checked the /data folder and found that there's directory called lost+found which is taking up a lot of space (Above 1.5GB).
I tried deleting files using ES Explorer with the data folder mounted as R+W, but it says "error deleting files"
Is it safe to delete the lost+found folder?
And if yes, how can I delete it since I'm unable to delete it with a file explorer app.
It would be really great if could recover thelost internal memory
Click to expand...
Click to collapse
I don't think there is a problem doing that and change the permission to rwx-rwx-r try and report
sangalaxy said:
I don't think there is a problem doing that and change the permission to rwx-rwx-r try and report
Click to expand...
Click to collapse
I tried deleting the folder through adb shell.
Issued following commands:
adb shell
su
# cd /data
# rm -r lost+found
Click to expand...
Click to collapse
The output was "rm failed for lost+found. Operation not permitted"
Also tried this mounting /data as rw but no luck.
Tried chmod 775 on lost+found but no luck either.
Always getting operation not permitted message.
void00 said:
I tried deleting the folder through adb shell.
Issued following commands:
The output was "rm failed for lost+found. Operation not permitted"
Also tried this mounting /data as rw but no luck.
Tried chmod 775 on lost+found but no luck either.
Always getting operation not permitted message.
Click to expand...
Click to collapse
try r+w+x
sangalaxy said:
try r+w+x
Click to expand...
Click to collapse
Still getting the same error. Operation not permitted.
void00 said:
Still getting the same error. Operation not permitted.
Click to expand...
Click to collapse
may be something preventing it
try a reset and simply format the data in cwm do backup first
sangalaxy said:
may be something preventing it
try a reset and simply format the data in cwm do backup first
Click to expand...
Click to collapse
Using TWRP.
If I backup first, it will also back up the lost+found data
And restoring data will bring it back.
I did format data and system before flashing the rom. So I don't know why the lost+found has so large size.
What should I do?
void00 said:
Using TWRP.
If I backup first, it will also back up the lost+found data
And restoring data will bring it back.
I did format data and system before flashing the rom. So I don't know why the lost+found has so large size.
What should I do?
Click to expand...
Click to collapse
ok so don't backup
if anything goes wrong you can still flash the stock right??
sangalaxy said:
ok so don't backup
if anything goes wrong you can still flash the stock right??
Click to expand...
Click to collapse
hmm, i'll try flashing CWM and then do a format of every partition and freshly flash the rom.
Will report back if there's the same problem.
UPDATE:
Formatted all the partitions including /data/media using CWM
Did a fresh install of rom.
I've got my internal memory back
Thanks!
my 2 cents...
my 2 cents... I've opened the lost+found folder with the file manager (this https://play.google.com/store/apps/details?id=com.rhmsoft.fm), after enabling the root explorer functionality, and deleted a bunch of the biggest files, just checking they were at least 2-3 months old. Rebooted to make sure everything is fine and dandy, and now I've got enough free space, sun is chirping, birds are shining, life is beautiful :silly: :victory:
fabiosirigu said:
my 2 cents... I've opened the lost+found folder with the file manager (this *edited original link*), after enabling the root explorer functionality, and deleted a bunch of the biggest files, just checking they were at least 2-3 months old. Rebooted to make sure everything is fine and dandy, and now I've got enough free space, sun is chirping, birds are shining, life is beautiful :silly: :victory:
Click to expand...
Click to collapse
I was having the same problem. My phone is Samsung Galaxy S2 (GT-i9100). I was on stock Jellybean. But it was starting to feel sluggish and slow. So, having heard about the new Android Kitkat's lower memory requirements and smoother performance, i decided to install Cyanogenmod 11 on it.
Installation was not without problems. At first i flashed Clockworkmod Recovery 6.0.2.9. The phone bricked into a bootloop with a yellow triangle on it. Flashing the Cyanogenmod 11 resulted an error of "Status 7". So i searched for the latest Clockworkmod Recovery, which was at 6.0.4.5. After flashing the 6.0.4.5, Cyanogenmod 11 installed successfully. Performance was really smooth. No lags, no jitter, and everything worked like a charm.
The problem started when i re-installed my applications. Suddenly i got a message of "insufficient storage". This has never happened before. Note, that i previously had large games on my phone like Real Racing 3 and Bard's Tale. This time, i haven't even installed those large games. So i looked at my Storage, and found out that i only had 141mb of free space. But the weird thing is, my reported Apps was only 353mb, from 1.97GB internal storage. So there was over 1GB of storage just vanished.
I browsed for a solution to this problem, and landed on this thread. After reading reply from fabiosirigu, i decided to brave myself, and deleted the content of the lost+found folder (but not the folder itself). I accessed the folder with the built-in File Manager from Cyanogenmod, and set it to "Root Access Mode", and select all folder in the folder, and deleted it. The deletion took quite a few minutes, which felt like ages. Just sat on my bed, crossed my fingers, hoped that nothing will go wrong.
After the deletion, i rebooted my phone. the cyanogenmod logo appeared, and the system booted as usual. I just exhaled a massive sigh of relieve. I went straight to the internal storage, and now it is showing the correct report, 1.67GB of free space.
Thank you for your reply fabiosirigu. Really solved my problem.
lost+found genesis
Let somebody correct me if I'am wrong.
lost+found directory is standard for some unix/linux filesystems. All ext(s) 2, 3 and 4 contains it by default.
The operating system collects unidentified, broken files and its parts inside of l+f dir.
No one of these junks is used by running system.
So - you can look in l+f for some lost, missing files. If you don't miss for any (who knows it better?) then you don't need l+f content.
Hi,
I'm rooted yet cannot mount system folders as r/w. I am definitely rooted (confirmed by using su command in terminal and the fact apps that require root are working) and noticed this issue when trying to install busybox pro.
It warned me that there was an existing busybox in /sbin and would remove it before trying to install in system/xbin but the installation failed.
I tried to remove busybox from /sbin but the folder would not mount as r/w in root explorer OR solid explorer.
I managed to remove the file in TWRP recovery though.
Weirdly, I've been using titanium backup to uninstall system apps without any issues.
How can I fix this? Repair permissions int wrp?
I presume you followed the same instructions as I. I am on the 621 and currently have the same issue (also rooted). But on my end it is actually worse. I cannot mount the system partition in TWRP either (I mean I can mount it but when I try to delete or move a file I get error messages), and something happened to my download manager (which basically means that for the time being I cannot download apps from Google Play or from the internet, etc). I have a good download manager apk, but when I try to install it it asks me if I want to update the existing app, and the operation fails - I have to try and find a 3rd party alternative for the time being). It is kind of a problem.
(to update, I have very limited r/w permissions in TWRP. If I get lucky I can make small changes.)
WastedJoker said:
How can I fix this? Repair permissions int wrp?
Click to expand...
Click to collapse
I don't think so. I tried this, and I eventually was able to view/attempt to edit file permissions inside of X-plore file explorer (don't know if it is a coincidence, but I first had that success opening X-plore in 'mount system r/w' mode after changing the i/o scheduler to cfq). Anyways, it consistently shows all 755/644 permissions, so the permissions are not being re-written upon boot from what I can gather. But if I try to edit permissions or copy files to System folders, I still got error messages to the effect of "you cannot do this,' even though it is a root file explorer and the system partition is purportedly mounted as r/w.
Try flashing this in recovery: SonyRICDefeat by dosomder.
CubicU07 said:
Try flashing this in recovery: SonyRICDefeat by dosomder.
Click to expand...
Click to collapse
Thank you for this. Has anyone ever tried this on the Z3TC? Mine is running smoothly enough such that I am reluctant to fix what isn't broken. It seems that early issues I had with freezes, TWRP, etc, probably had to do with my SD card and the Android media scanner.
I've tried it on the Z3TC SGP621. Thus the recommendation.
CubicU07 said:
Try flashing this in recovery: SonyRICDefeat by dosomder.
Click to expand...
Click to collapse
I have the exact issue in lollipop and I have tried flashing RICDefeat and I get errors.
Sorry for the Hijack :/
Use my RICDefeat from here and run it from terminal. Works only if you are rooted. Afterwards you should have r/w access.
lowtraxx said:
Use my RICDefeat from here and run it from terminal. Works only if you are rooted. Afterwards you should have r/w access.
Click to expand...
Click to collapse
Do you thing that your zip can be used on a Z1C?
Envoyé de mon D5503 en utilisant Tapatalk
Hello guys, new user here, so please exuse me for any mistakes I made (posted in different thread for example). So recently I finally managed to root my Lollipop Sony Xperia Z2 (D6503). I decided to make a backup of my current rom using ROM Manager, so I did so. I chose it, then my phone restarted into recovery and did the backup. When I went back to the OS, I saw that I hadn't any space available left on the phone's internal storage. I found the folder clockworkmod/backup/(name of the backup) and I deleted it, but no space got freed. I found out that after android 4.1 it doesn't actually save it on the sdcard but on: /mnt/shell/emulated/clockworkmod/backup/(name of backup). I tried deleting the folder using Total Commander, but every time I was trying to delete it was giving me a: "Permission Denied" message, so I decided to try and change its permissions. It said that: "Function Succeeded!". but still no luck, and the permissions actually didn't change. Any suggestions anyone could give me? It has been getting on nerves lately because it seems that there is not way to delete it. Thanks in advance.
John000708 said:
Hello guys, new user here, so please exuse me for any mistakes I made (posted in different thread for example). So recently I finally managed to root my Lollipop Sony Xperia Z2 (D6503). I decided to make a backup of my current rom using ROM Manager, so I did so. I chose it, then my phone restarted into recovery and did the backup. When I went back to the OS, I saw that I hadn't any space available left on the phone's internal storage. I found the folder clockworkmod/backup/(name of the backup) and I deleted it, but no space got freed. I found out that after android 4.1 it doesn't actually save it on the sdcard but on: /mnt/shell/emulated/clockworkmod/backup/(name of backup). I tried deleting the folder using Total Commander, but every time I was trying to delete it was giving me a: "Permission Denied" message, so I decided to try and change its permissions. It said that: "Function Succeeded!". but still no luck, and the permissions actually didn't change. Any suggestions anyone could give me? It has been getting on nerves lately because it seems that there is not way to delete it. Thanks in advance.
Click to expand...
Click to collapse
Use es file explorer to delete it or else u can delete it from recovery itself
Tyaginator said:
Use es file explorer to delete it or else u can delete it from recovery itself
Click to expand...
Click to collapse
As I said, when I was trying to delete it, I cannot. It says 'Permission Denied'. Tried with adb from the computer aswell, running as root, still nothing. I cannot delete it from the ROM Manager app because it says that it does not exist... Any other suggestions?
John000708 said:
As I said, when I was trying to delete it, I cannot. It says 'Permission Denied'. Tried with adb from the computer aswell, running as root, still nothing. I cannot delete it from the ROM Manager app because it says that it does not exist... Any other suggestions?
Click to expand...
Click to collapse
Are u using es file explorer and have changed the read and write permissions?
John000708 said:
As I said, when I was trying to delete it, I cannot. It says 'Permission Denied'. Tried with adb from the computer aswell, running as root, still nothing. I cannot delete it from the ROM Manager app because it says that it does not exist... Any other suggestions?
Click to expand...
Click to collapse
Check this location too
Data>media>clockworkmod
Nope, still the same. Tried with ES Explorer, root checked, granting superuser, but still, when I go to delete it it says: "Permission Denied". And yes, it is read/write.
John000708 said:
Nope, still the same. Tried with ES Explorer, root checked, granting superuser, but still, when I go to delete it it says: "Permission Denied". And yes, it is read/write.
Click to expand...
Click to collapse
Open es file explorer
Go to Data>media>clockworkmod
Open clockworkmod folder's properties
And it should look like this
Sorry forgot to add picture
Oh wow, I changed the perms from there and it got deleted... thank you very much