Can't Delete nandroid backup - Nexus 7 Q&A, Help & Troubleshooting

Ok, never seen this before and suspect SD card corruption.
I did a nandroid backup today before I flashed a custom kernel. Everything went well. Now I am getting low space alerts (got the 8GB model). I want to delete the backup which comes in at 1.8GB. Problem is, the permissions are wacky - the folder perms are rwsrwsr-t (775 with set uid, set gid and sticky).
I can't delete or change permissions with either root explorer or from the shell as root!
Has anyone seen this before, or have a solution ?

timekillerj said:
Ok, never seen this before and suspect SD card corruption.
I did a nandroid backup today before I flashed a custom kernel. Everything went well. Now I am getting low space alerts (got the 8GB model). I want to delete the backup which comes in at 1.8GB. Problem is, the permissions are wacky - the folder perms are rwsrwsr-t (775 with set uid, set gid and sticky).
I can't delete or change permissions with either root explorer or from the shell as root!
Has anyone seen this before, or have a solution ?
Click to expand...
Click to collapse
Same here. No clue how to get rid of it.

This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app

Its a common issue with some versions of CWM, but Koush has released a (radically) new version
fix is as Wiithepeng said

wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
"I can't delete or change permissions with either root explorer or from the shell as root!"
If I delete with root explorer I get "delete failed". If I adb shell in and `busybox rm -fR` I get "Operation not permitted"

With those steps?
Sent from my i777 using xda app-developers app

When I tried deleting from /mnt/sdcard or /sdcard or /storage/sdcard0 it would not work until I tried /data/media
Sent from my i777 using xda app-developers app

Phonic posted a script in the "[RECOVERY] r3 (6.0.0.4) - Interim ClockworkMod recovery for Nexus 7" thread in the Android Dev forum,
when executed thru CWM will delete undeleteable backups
didnt use it myself, I used Solid Explorer to delete /data/media/clockworkmod/backup/......

Ok, I rebooted into recovery and was able to delete the files with adb shell.
wiithepeng: Sorry, didn't see the /data/media path at first glance, I was going straight to /sdcard - so it might have worked your way.
Thanks for the help.

No problem. Glad you delete those backups
Sent from my i777 using xda app-developers app

Try THIS. Common problem and fixed in the newest version of the Recovery from that thread AND apparently the newest CWM directly from Koush.

wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thank Bro, this was bugging the crap out of me. I had no idea to navigate through data/media etc. Good fix!

wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thanks! I was about to tear my hair out! I used ES File Explorer though.

wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thanks bro... Root Explorer is premium so even ES File Explorer works as long as you are rooted and grant it SU access, which would be anyway as you have CWM.
Sent from my Nexus 7 using Tapatalk 2

wiithepeng said:
When I tried deleting from /mnt/sdcard or /sdcard or /storage/sdcard0 it would not work until I tried /data/media
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
This worked for me :good:

Wahay, Fix ed
I was going to make a zip and flash as i thought all was lost but then I just fixed this via adb using the following commands, I didn't get any errors and it was successful, here is what I did,
# cd /data/media/clockworkmod/
# chmod 777 backup
# cd backup
# rm -rf <backupfilename>
Hope this helps others,

Related

Deleting Bloatware ERROR!!

Im new to forum but Ive been trolling for the past couple days. I currently rooted my Vibrant with One Click GalaxyRooter. Then purchased Root Explorer to view the hidden files and folders that I need to get to in order to remove some of the stock .apk and odex files.
Im currently in the /system/app directory and the first thing that I want to remove is that avatar icon and files. I long press the file in root explorer to delete it and it allows me to. Only problem is that when I go back or refresh the directory everything is still there even when I reboot my phone.
Any suggestion.
AnthonyJFranks said:
Im new to forum but Ive been trolling for the past couple days. I currently rooted my Vibrant with One Click GalaxyRooter. Then purchased Root Explorer to view the hidden files and folders that I need to get to in order to remove some of the stock .apk and odex files.
Im currently in the /system/app directory and the first thing that I want to remove is that avatar icon and files. I long press the file in root explorer to delete it and it allows me to. Only problem is that when I go back or refresh the directory everything is still there even when I reboot my phone.
Any suggestion.
Click to expand...
Click to collapse
When using Root Explorer, on the top part of the screen, press [Mount R/O] and try again. I think that might solve the issue. Post up the results!
Why didn't you just uninstall the files via titanium backup?
Masterâ„¢ said:
Why didn't you just uninstall the files via titanium backup?
Click to expand...
Click to collapse
Forget what I said, use Mater's method. lol
I do see the Mount R/O in the top right hand section of the screen and I pressed it but it seems like it didnt do anything. It just shows my memory used / free and r/w [ Mount R/O]
I tried deleting a file still was there when I came back into the directory
How do I access the file directory in Titanium Backup
AnthonyJFranks said:
How do I access the file directory in Titanium Backup
Click to expand...
Click to collapse
You don't access the file directory. Titanium Backup will show you a list of ALL apps installed. You simply click and press uninstall. Simple, no fuss. You can even make a backup before you uninstall it in case you need it later. Done.
Use Titanium Backup like everyone said, I also had the same problem with other Root Explorers. Also be sure to delete the .zip file because it might cause problems later. Also do you know what trolling means? I think you meant lurking, because trolling implies you've been trying to get people angry.
I didn't even notice he said he had been trolling LOL. Get back troll! My brain automatically assumed lurking.
AnthonyJFranks said:
Im new to forum but Ive been trolling for the past couple days. I currently rooted my Vibrant with One Click GalaxyRooter. Then purchased Root Explorer to view the hidden files and folders that I need to get to in order to remove some of the stock .apk and odex files.
Im currently in the /system/app directory and the first thing that I want to remove is that avatar icon and files. I long press the file in root explorer to delete it and it allows me to. Only problem is that when I go back or refresh the directory everything is still there even when I reboot my phone.
Any suggestion.
Click to expand...
Click to collapse
Your system is set to read only.
Follow the instructions found in this post (forgive me i'm too new to post links, and i want to give credit to the solution):
hxxp://forum.xda-developers.com/showpost.php?p=8643744&postcount=6
Code:
$ mount -o rw,remount -t rfs /dev/block/stl9 /system
Run the command from terminal, and you should then be able to delete the files that you want.
Here do this I had this happen awhile back this worked
AustinKnight45 said:
Download busybox from market then run it and update it then after it updates and you have the latest busybox go back to root explorer and delete the bloat ware dont know why this works but it does.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
AustinKnight45 said:
Here do this I had this happen awhile back this worked
Click to expand...
Click to collapse
sentences without periods are hard to read.... ha
This didnt work
Sent from my SGH-T959 using XDA App
eatspaper said:
Your system is set to read only.
Follow the instructions found in this post (forgive me i'm too new to post links, and i want to give credit to the solution):
hxxp://forum.xda-developers.com/showpost.php?p=8643744&postcount=6
Code:
$ mount -o rw,remount -t rfs /dev/block/stl9 /system
Run the command from terminal, and you should then be able to delete the files that you want.
Click to expand...
Click to collapse
I tried this and it didn't work as well I got a error message that said operation not permitted
Sent from my SGH-T959 using XDA App
Any suggestion on whats going on, I know its rooted the super user always pops up when ever a couple apps or on
Sent from my SGH-T959 using XDA App
AnthonyJFranks said:
I tried this and it didn't work as well I got a error message that said operation not permitted
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Did you SU in the terminal first before you ran the command?

no CWM after reboot

hi
Ive rooted my nexus s & unlocked the boot-loader
installed superuser
Ive tried installing CWM a couple of times
it installs
but after reboot no recovery or CWM
checked the following posts but no luck
it says install aborted
http://forum.xda-developers.com/showthread.php?t=1317524
http://forum.xda-developers.com/showthread.php?t=1098168
Read : http://forum.xda-developers.com/showthread.php?t=895545
as far as i remember, CWM will be removed each time you restart your phone,unles you have a custom kernel/rom.
but its been long time ago when i did that x3
If stock there is a file that needs to be removed or renamed,
Sent from my Nexus S using XDA Premium App
Try to flash again.... Works for me...
ghost010 said:
Read : http://forum.xda-developers.com/showthread.php?t=895545
as far as i remember, CWM will be removed each time you restart your phone,unles you have a custom kernel/rom.
but its been long time ago when i did that x3
Click to expand...
Click to collapse
No. You merely need to rename / remove the install-recovery.sh script in /etc to prevent the stock recovery from writing at boot.
Sent from my Nexus S using xda premium
krohnjw said:
No. You merely need to rename / remove the install-recovery.sh script in /etc to prevent the stock recovery from writing at boot.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Thanks I to was having the same issue. I assume that to revert you just rename the aformentioned file back to original?
Sent from my A500 using xda premium
spaz2k7 said:
Thanks I to was having the same issue. I assume that to revert you just rename the aformentioned file back to original?
Sent from my A500 using xda premium
Click to expand...
Click to collapse
Yeah, restoring the file will then cause the stock recovery to be written upon reboot (if you want to go back to the stock recovery for some reason).
same but i solved it
clockworkmodrecovery rom manager find and install
open it and touch flash clockworkmod recovery(first item)
select reboot into recovery manual
mount and storage select
mount USB storage
unmount
++++ go back +++++
install from zip sdcard
find
'' super user.zip'' flash
reboot
es file explorer select setting mark root explorer and mount file system after
select phone in file explorer find etc folder select and find ''install-recovery.sh'' file and rename file for example ''install-recovery.sheski'' and
open rom manager again touch flash clockworkmod recovery(first item)
check it...

How to delete Nandroid backups?

How i delete them? I cant seem to find them...
jackdonogy said:
How i delete them? I cant seem to find them...
Click to expand...
Click to collapse
the answer to you question is in an hour old topic already asked in this section. cwm backup storage.
jackdonogy said:
How i delete them? I cant seem to find them...
Click to expand...
Click to collapse
they're in sdcard/data/media
eep2378 said:
they're in sdcard/data/media
Click to expand...
Click to collapse
I cant find the /data folder using ES File explorer...
jackdonogy said:
I cant find the /data folder using ES File explorer...
Click to expand...
Click to collapse
They are in /data/media but you can only view that folder with superuser priviledge. If ES File Explorer has an option of getting superuser permission in settings then you can view them or you can use Root Explorer App.
If you have adb then you can view them in adb shell and then become superuser and then view that location.
as i said. the fix for this is one or two posts below this one. why is it so hard for people to understand engrish?
go to android /mnt/shell/emulate and you will see your nandroid their I had same problem until I found it:thumbup:
Sent from my Nexus 4 using xda premium
phermey said:
as i said. the fix for this is one or two posts below this one. why is it so hard for people to understand engrish?
Click to expand...
Click to collapse
probably because 1 or 2 post below is not helpful at all. Im not sure if you are aware but threads are in order of the most recent comment. So, by posting a reply you are now changing that from 1 or 2 posts below to some other number.
whooda said:
probably because 1 or 2 post below is not helpful at all. Im not sure if you are aware but threads are in order of the most recent comment. So, by posting a reply you are now changing that from 1 or 2 posts below to some other number.
Click to expand...
Click to collapse
heard. the point is its on the same page. it isnt pages deep where you would need a search. the op can get away with not caring about a search. but to read this thread and see that the fix is only a couple of clicks away... why would you take the time to post that you are having the same issue.
gauravsri said:
They are in /data/media but you can only view that folder with superuser priviledge. If ES File Explorer has an option of getting superuser permission in settings then you can view them or you can use Root Explorer App.
If you have adb then you can view them in adb shell and then become superuser and then view that location.
Click to expand...
Click to collapse
I see the nandroid backup in /data/media/clockkworkmod/backup and in /mnt/shell/emulated/clockworkmod/backup. I am using root browser lite.
When I try to delete the nandroid it doesn't work with this app. How can I delete?
Use Solid Explorer, browse files and delete. I do this since forever with CWM and now TWRP
calanizzle said:
Use Solid Explorer, browse files and delete. I do this since forever with CWM and now TWRP
Click to expand...
Click to collapse
I hadn't heard of that browser before. Worked llike a charm. Thank you
ok, so - say i want to copy these nandroids to my computer before i delete them from my nexus 4 / and vice-versa. how would i find it using windows explorer or finder?
i understand that the nandroids for CWM are stored in:
/data/media/clockworkmod
and when you plug your phone into the computer, it shows an emulated sdcard, but whats a quick and easy way of getting to the root of the device for copying from the computer?
apologies if this has been covered before, but i just stumbled upon this thread when looking for it, and this had the latest activity.
thanks
Normally I don't recommend tool kits as people should learn, but I would give one a shot as there is a feature to just pull backup and save to PC.
Sent from my Nexus 4 using xda premium
aimetti said:
Normally I don't recommend tool kits as people should learn, but I would give one a shot as there is a feature to just pull backup and save to PC.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Just to clarify:
Nandroid is stored in the phone's internal storage not the internal sdcard.
When you connect to the computer, windows explorer shows the internal sdcard only.
A file browser app that allows manipulation of the internal storage will show the nandroid. You could copy it to your sdcard and move it to your computer with windows explorer, airdroid, etc. Or you can us the tool kit.
Hope this helps
AW: How to delete Nandroid backups?
In CWM itself you have the possibility to delete them, too. I think this is worth mentioning. To my mind this is the easiest way.
Copying them to your PC is also possible via ADB (if present and activated)
Code:
adb pull /data/media/clockworkmod/
Sent from my Nexus 4 using xda premium
fkrone said:
In CWM itself you have the possibility to delete them, too. I think this is worth mentioning. To my mind this is the easiest way.
Copying them to your PC is also possible via ADB (if present and activated)
Code:
adb pull /data/media/clockworkmod/
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Awesome thanks, so i'm assuming that will copy the data to whatever directory i am currently in in the Terminal. we'll just assume we are in C:\?
Then also i would assume the command to put that nandroid from my PC to the phone would be
Code:
adb push C:/clockworkmod/ /data/media/clockworkmod/
??
thanks

Need to get CWM Nandroid off of my phone. Can't find in mnt, data, backups... WTF!?

I've read all of the similar threads, can't find it in mtn/shell, data/ only has starbucks and titanium, backups folder. Between Storage, SD, 0/, emulated, and legacy folders, something's gotta be hiding.
When I boot into recovery I'll find it in the restore options, but I need it off of the phone to flash to a replacement device. Any help?
I'm going through the exact situation /;
Sent from my Nexus 4 using xda app-developers app
theedon323 said:
I'm going through the exact situation /;
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You can use Root Explorer to go to /data/media or use adb shell and then run "su" to get root privileges and then the directory will be visible.
The directory is not visible as a normal user and need superuser permissions.
I LOVE THIS MAN/WOMAN. I'd like to give you a present. A hard written card. A bumper. A piece of chocolate.
gauravsri said:
You can use Root Explorer to go to /data/media or use adb shell and then run "su" to get root privileges and then the directory will be visible.
The directory is not visible as a normal user and need superuser permissions.
Click to expand...
Click to collapse
Do I need the blobs? Never seen em before...
FishFan319 said:
I LOVE THIS MAN/WOMAN. I'd like to give you a present. A hard written card. A bumper. A piece of chocolate.
Click to expand...
Click to collapse
FishFan319 said:
Do I need the blobs? Never seen em before...
Click to expand...
Click to collapse
Yes, you need to copy the blobs as well as backup directory.
From what I understand, Backup directory is now very small in size and backups are done incrementally by pointing to blobs (which are the actual data).

I have renamed app_process.

I'm trying to install the update. The update said something is changed in the system/bin/app_process. So using root Explorer I saw app_process and app_process.orig.
Thinking the app_process.orig is the unchanged one. I renamed the app_process to app_process.new.
I was trying to rename app_process.orig to app_process but somehow root Explorer can't so I rebooted.
Now its not booting up. Is there a way I can go to the files without booting up and rename the app_process?
Sent from my GT-N7100 using Tapatalk 4
BratPAQ said:
I'm trying to install the update. The update said something is changed in the system/bin/app_process. So using root Explorer I saw app_process and app_process.orig.
Thinking the app_process.orig is the unchanged one. I renamed the app_process to app_process.new.
I was trying to rename app_process.orig to app_process but somehow root Explorer can't so I rebooted.
Now its not booting up. Is there a way I can go to the files without booting up and rename the app_process?
Sent from my GT-N7100 using Tapatalk 4
Click to expand...
Click to collapse
Some custom recoveries (TWRP) will let you browse the files on your device. I know that files can be copied, moved, deleted - I do not know if they can be renamed. My guess is yes, though. If you can boot to recovery go ahead and try that.
If you can't boot to recovery do you at least have ADB access? You can always ADB push the file you want if you do. There are guides out there if you don't know how to do it. I google for a quick refresher every time I have to ADB push a file.
I'm on stock recovery, I can see the device with 'fastboot devices' but 'adb devices' can't see my device? Is this a problem of driver? Or because I haven't checked the developers option? If I can only access the device I can rename back that file.
Sent from my GT-N7100 using Tapatalk 4
Just reinstalled everything from fastboot. Please close this thread.
Sent from my Nexus 7 using Tapatalk

Categories

Resources