Today I wanted to see what the JellyBean for SGS III is like so I made a nandroid backup of my current setup. After playing with JB for a while, I wanted to restore the backup, but I was greeted with an error message.
I've been messing with this the entire F****** day and so far I've isolated the file that is corrupted (it's /system/app/Keystring_factory.apk).
So I need to delete that file from within the archive. The problem is how do I do that? When I try to copy the file to my computer, it hangs on it and says "corrupted file" (tried windows explorer but also total commander). I am able to open the archive on my SGS III using something like ZArchiver, but it doesn't have the option to delete the file from within the archive.
Help?
Deusdies said:
Today I wanted to see what the JellyBean for SGS III is like so I made a nandroid backup of my current setup. After playing with JB for a while, I wanted to restore the backup, but I was greeted with an error message.
I've been messing with this the entire F****** day and so far I've isolated the file that is corrupted (it's /system/app/Keystring_factory.apk).
So I need to delete that file from within the archive. The problem is how do I do that? When I try to copy the file to my computer, it hangs on it and says "corrupted file" (tried windows explorer but also total commander). I am able to open the archive on my SGS III using something like ZArchiver, but it doesn't have the option to delete the file from within the archive.
Help?
Click to expand...
Click to collapse
U can extract cwm with titanium backup or use a file explorer to extract the backup and delete the file then zip it.
But I would flash a new Rom and extract cwm with TB and restore the parts u need with TB.then when all is good make a new backup.
I don't think it's a good idea to restore a corrupted file even if u find the errors
Btw. Fayaab has tweeted that he is going to release a JB for gs3 tomorrow and this should be working
Tried that too, Titanium got stuck at the file. 7-Zip got stuck even when "Testing Archive". I'll write the file off as corrupt. Interestingly enough, the data.ext4.tar is also corrupt. Does this mean it's a time for a new microSD card? Or is it CWM that's writing corrupt files somehow?
Access system files from recovery any use .
http://forum.xda-developers.com/showthread.php?t=1646108
Works on SGS3
jje
NOTE: I have searched and reviewed the existing threads on items with similar wording. Several on how to recover corrupted files within the backup etc.. Although the questions and issues are similar none describe the issue that I am experiencing.
Samsung Galaxy Note
Rooted on AOSP xXx FJ,(Flappjaxxx) / FJ Mod of ICS UCLF6
Currently on CWM Recovery 5.8.4.3
Situation:
No prior issues experience with nandroid backup, had 2 other backups plus the one I'm referring to (one of AOSP xXx and FJ Modded)
Performed a nandroid backup to try out CM09 from FJ AOSP. All went well... including the CM09 install and apps.
Missed the S-pen functionality and wanted to flip back to FJ Modded ROM.
Attempted to restore the most recent backup... Failed. Booted into CM09 and went to Root Explorer and looked into the backup file. I noticed that the file has a lot of what appears to be random ASCII characters for file names etc... (indicated to me that this file was corrupted).
Since I had other backups, I went to one of the older ones and restored.
Problem: this corrupted backup is taking up about 1.9 GB and I want to delete but it will not allow me. Looked at permissions and it has RW
Question: how the heck do I delete this thing without having to take my SD card out and formatting the sucker?
Thanks in advance
You should be able to plug in your phone to your computer via USB and open folder to view files on the /sdcard. Make sure USB connection is set to "USB Mass Storage" option when connected. Once you opened the folder to view files, you can navigate to the clockworkmod folder, open, and find the backups within that folder and delete that way...
Sent from my MB865 using xda's premium carrier pigeon service
Did you try to delete it in recovery (sorry if there is no such option, never looked for it...) or in root explorer? You could always get a terminal like https://play.google.com/store/apps/details?id=jackpal.androidterm and do like this:
su (if you're rooted)
cd /sdcard/clockworkmod/backup
rm -r 2012-07-12.13.37
Same commands should work in adb as well
Try. Android Commander.
jje
Sent from my GT-I9300 using xda premium
I think that plugging the USB charger into your computer and manually deleting it should do the trick :fingers-crossed:
OK...
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
JohnnyQ1964 said:
Thanks guys for your responses...
- did try connecting to a PC in mass storage mode and tried to delete... did not work
- use Root Explorer to do a delete as well... did not work
- looked to see if there was a delete option in recovery (first thing I looked for) did not find it
I'll try the other options and see where that goes.
Click to expand...
Click to collapse
If you download clockwork mod (rom manager) you can delete it in the android application in manage and restore backups.
Empty recycle bin on PC sometimes helps when deleted stuff sticks, make sure do this when plugged in ofc
If you're using Windows, run chkdsk ("Scan this drive for errors" in drive's properties) when connected as a mass storage device.
That should help.
If it won't, the guaranteed method is to copy the files you need somewhere else, format the card and put those files back.
to clairfy, you were able to locate the back up files in the folder "clockwork mod-backup" but then it would not delete when you tried?"
Thanks again for all your input.
PC crapped out this past weekend... new hdd installed and re-building with Windows 7 pro-64 (hmmm... maybe I should dual boot to Ubuntu), will need to reinstall some of the linux/android tools.
@frdd... already had terminal installed tried the commands but no luck... it reports back I'm missing files and i get a lot of errors. I guess I'm gonna have to learn Linux/Android
@icomrade... I've got the purchase ver of ROM Manager and haven't fully gone down that rabbit hole but will investigate
@NeverGone\RU... will leave that as a last resort as i've got a 32GB SD card (sucks up time)
@mankows5... yes did find all the directories and files as it should be... just can't delete that 1 backup
Yeah, try Rom manager. Manage and Restore Backups>Select the one you want to delete, then delete it.
I have es file explorer and can't find cwm to delete some backups or even rename them
Sent from my SAMSUNG-SGH-I717 using xda premium
harley1rocker said:
I have es file explorer and can't find cwm to delete some backups or even rename them
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
First off, don't rename a cmw backup... trust me, if you rename the zip it will cause an md5 mismatch when you try and restore and that always tends to happen when ya need it most.
Second the file you are looking for is either on your SD or your internal storage, the file si called clockworkmod or something like that, inside you will see a file labled backup. Delete as you will, but I always tend to transfer said files onto my pc and title an individual folder for each file, there for eliminated the irritation of md5 mismatch.
celkin said:
First off, don't rename a cmw backup... trust me, if you rename the zip it will cause an md5 mismatch when you try and restore and that always tends to happen when ya need it most.
Second the file you are looking for is either on your SD or your internal storage, the file si called clockworkmod or something like that, inside you will see a file labled backup. Delete as you will, but I always tend to transfer said files onto my pc and title an individual folder for each file, there for eliminated the irritation of md5 mismatch.
Click to expand...
Click to collapse
That's what I'm sayin . There is no clockwork mod folder. I do have it installed though. Thanks for the info. I didn't know that would mismatch the md5
harley1rocker said:
That's what I'm sayin . There is no clockwork mod folder. I do have it installed though. Thanks for the info. I didn't know that would mismatch the md5
Click to expand...
Click to collapse
You should be able to restore the folder , by booting into recovery , and running a new backup.
This will force place a new backup file to the SD card in the proper location.
If this does not work , or the backup fails to run, you must reflash the recovery using Odin ....g
you are using cwm and not twrp right? if using twrp the backups are in folder named twrp on internal or external which ever one you specified when backing up.
/sdcard/clockworkmod/backup
/sdcard/external_sd/clockworkmod/backup
Are you rooted?
Are you on a stock-based rom and not a CM-based rom?
Hi!
I have the following (cosmetic, i know...) issue: after formatting data for a clean install, i still have a folder which won't go away (see attachment). it contains files with corrupt names, and I could not delete it in any way (format, using CWM, deleting from phone or PC)
I think a PIT fash would do the trick, but I am afaid its not worth it for being too risky.
Does anyone have any tips or tricks to get rid of these files?
Coirpre said:
Hi!
I have the following (cosmetic, i know...) issue: after formatting data for a clean install, i still have a folder which won't go away (see attachment). it contains files with corrupt names, and I could not delete it in any way (format, using CWM, deleting from phone or PC)
I think a PIT fash would do the trick, but I am afaid its not worth it for being too risky.
Does anyone have any tips or tricks to get rid of these files?
Click to expand...
Click to collapse
Mango? you have a fruit folder?
don't go pitting now. Root explorer wouldn't delete that?
gastonw said:
Mango? you have a fruit folder?
don't go pitting now. Root explorer wouldn't delete that?
Click to expand...
Click to collapse
looks like its re-generating.. maybe that directory is part of your rom
bytes2000 said:
looks like its re-generating.. maybe that directory is part of your rom
Click to expand...
Click to collapse
gastonw said:
Mango? you have a fruit folder?
don't go pitting now. Root explorer wouldn't delete that?
Click to expand...
Click to collapse
I tried deleting from PC and with solid explorer (with root) which was unsuccesful. The folder is the library of a comic reader app, thus not system relevant. Depending of the program I use to try to delete it, I get: "File or folder not found (CM File Manager), "unable to delete file /.../ö°Ñ5 π.∞..." (Solid Explorer), and on the PC, I can see a few files with names such as └éQ┬¾╠/Ú.┼, which can not be deleted, because they "can not be found."
does this help?
http://forum.xda-developers.com/showthread.php?t=2083682
Have sent that other guy a pm...
MistahBungle said:
http://forum.xda-developers.com/showthread.php?t=2083682
Click to expand...
Click to collapse
911-Future_Maker said:
Hi mate. Have you tried flashing with Odin? This way I fixed formattiing my sdext2 partition which was unaccessible at all.
You may try to flash some other CWM recovery like Philz and then delete those files.
Click to expand...
Click to collapse
I can't quite understand this. not enough information, I have almost no knowledge whatsoever about filesystems. Should I flash with odin? a rom? or a new CWM?
Why ? You've got the fix
Reminder: "don't mess with mangos"
If I connect my phone to the laptop and look at a specific 'backup date' that's saved, on my phone, there is 6 or 7 files within the folder.
If I then copy the backup to the HDD on my laptop and open it there's only 2 files in the folder.
Why ?
Does that mean that if, for whatever reason, I lost my backups on the phone and then copied them from my laptop to my phone, they wouldn't work as a 'restore' because there's 'files missing' ?
Thanks
10rdan said:
If I connect my phone to the laptop and look at a specific 'backup date' that's saved, on my phone, there is 6 or 7 files within the folder.
If I then copy the backup to the HDD on my laptop and open it there's only 2 files in the folder.
Why ?
Does that mean that if, for whatever reason, I lost my backups on the phone and then copied them from my laptop to my phone, they wouldn't work as a 'restore' because there's 'files missing' ?
Thanks
Click to expand...
Click to collapse
I am not really aware of thud issue, first off please post the name of the recovery you are using, since nandroid backups differ.
It might be probable that there is an issue while using the usb.
I would suggest following this step.
Download Airdroid (its a way that you can copy files or download files from your phone to your computer and vice versa over the WiFi )
Go to your backup folder , write click on your backup folder and select "download as zip" . Once downloaded try to open the zip file and count the number of files.
Good luck
Sent from my HTC One x+ using XDA developers app
Ghand0ur said:
I am not really aware of thud issue, first off please post the name of the recovery you are using, since nandroid backups differ.
It might be probable that there is an issue while using the usb.
I would suggest following this step.
Download Airdroid (its a way that you can copy files or download files from your phone to your computer and vice versa over the WiFi )
Go to your backup folder , write click on your backup folder and select "download as zip" . Once downloaded try to open the zip file and count the number of files.
Good luck
Sent from my HTC One x+ using XDA developers app
Click to expand...
Click to collapse
OK, will give it a go. Using TWRP-
Cheers
10rdan said:
OK, will give it a go. Using TWRP-
Cheers
Click to expand...
Click to collapse
Concerning the number of files in the TWRP nandroid backups, it differs from one ROM to the other. For me I have about 7 in stock, 8 in CM and 9 with android hd revolution.
If you want to know whether your copying is a success, compare the folder size. Use ES file explorer or any other to total size, then on your computer do the same and compare. But I think its an issue with your USB hubs or the phone itself . Airdroid fixed it to me as I am having laggy usb hubs and so forth and so on, so it saves time.
Ghand0ur said:
Concerning the number of files in the TWRP nandroid backups, it differs from one ROM to the other. For me I have about 7 in stock, 8 in CM and 9 with android hd revolution.
If you want to know whether your copying is a success, compare the folder size. Use ES file explorer or any other to total size, then on your computer do the same and compare. But I think its an issue with your USB hubs or the phone itself . Airdroid fixed it to me as I am having laggy usb hubs and so forth and so on, so it saves time.
Click to expand...
Click to collapse
It's stock 4.2.2, sense 5 that I backed up.
Just tried Airdroid like you suggested, will take a bit of getting used to, and still 2 files missing.
Files on phone in backup folder :- boot.emmc.win
boot.emmc.win.md5
data.ext3.win
data.ext3.win.md5
recovery.log
system.ext4.win
system.ext4.win.md5
Files on laptop after transfer :- boot.emmc.win
boot.emmc.win.md5
data.ext3.win.md5
recovery
system.ext4.win.md5
For whatever reason, 'data.ext3.win' and 'system.ext4.win' are missing ???
Thanks
10rdan said:
It's stock 4.2.2, sense 5 that I backed up.
Just tried Airdroid like you suggested, will take a bit of getting used to, and still 2 files missing.
Files on phone in backup folder :- boot.emmc.win
boot.emmc.win.md5
data.ext3.win
data.ext3.win.md5
recovery.log
system.ext4.win
system.ext4.win.md5
Files on laptop after transfer :- boot.emmc.win
boot.emmc.win.md5
data.ext3.win.md5
recovery
system.ext4.win.md5
For whatever reason, 'data.ext3.win' and 'system.ext4.win' are missing ???
Thanks
Click to expand...
Click to collapse
that was the bug with the TWRP 2.6.0 version...some ****ed up permission issue where the file will be in phone but won't copy to the PC...
but that has been sorted on the latest version of TWRP 2.6.3 u can get that from here
[email protected] said:
that was the bug with the TWRP 2.6.0 version...some ****ed up permission issue where the file will be in phone but won't copy to the PC...
but that has been sorted on the latest version of TWRP 2.6.3 u can get that from here
Click to expand...
Click to collapse
Ok, cheers.
What's the best way, or only way, to get it onto the phone, does it just wright over the top of the version I currently have ?
Thanks
Also...... after putting latest TWRP on phone, will the backups I made with older version disappear ?
Cheers
10rdan said:
Also...... after putting latest TWRP on phone, will the backups I made with older version disappear ?
Cheers
Click to expand...
Click to collapse
U can flash it on top of the old version....
and just clear the cache from the fastboot (just incase)
ur backup ll all be there it simply wouldn't disappear.......
Flash it with "fastboot commands" or put on sd and "install" through TWRP ?
Cheers
[email protected] said:
U can flash it on top of the old version....
and just clear the cache from the fastboot (just incase)
ur backup ll all be there it simply wouldn't disappear.......
Click to expand...
Click to collapse
Flash it with "fastboot commands" or put on sd and "install" through TWRP.
Cheers
Sorry for double post.
10rdan said:
Flash it with "fastboot commands" or put on sd and "install" through TWRP ?
Cheers
Click to expand...
Click to collapse
Using fastboot...
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img
fastboot erase cache
[email protected] said:
Using fastboot...
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img
fastboot erase cache
Click to expand...
Click to collapse
Thanks a lot.
[email protected] said:
Using fastboot...
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img
fastboot erase cache
Click to expand...
Click to collapse
Downloaded TWRP, put in 'fastboot' folder, connected phone, phone recognised, used command 'adb reboot bootloader', phone rebooted and showing 'fastboot usb', BUT
when I type the command 'fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img' I get a message saying '`fastboot' is not recognized as an internal or external command'
?????
10rdan said:
Downloaded TWRP, put in 'fastboot' folder, connected phone, phone recognised, used command 'adb reboot bootloader', phone rebooted and showing 'fastboot usb', BUT
when I type the command 'fastboot flash recovery openrecovery-twrp-2.6.3.0-enrc2b.img' I get a message saying '`fastboot' is not recognized as an internal or external command'
?????
Click to expand...
Click to collapse
I am pretty sure then u r missing the fastboot files in that folder.....
check whether u have fastboot files in that folder and set up things properly
[email protected] said:
I am pretty sure then u r missin the fastboot files in that folder.....
check whether u have fastboot files in that folder and set up things properly
Click to expand...
Click to collapse
Sorted..... put "download" into "sdk", "platform-tools", typed commands from "platform-tools" and.... sorted !
Thanks
[email protected] said:
that was the bug with the TWRP 2.6.0 version...some ****ed up permission issue where the file will be in phone but won't copy to the PC...
but that has been sorted on the latest version of TWRP 2.6.3 u can get that from here
Click to expand...
Click to collapse
Updated TWRP last night and copied backups to laptop this morning using USB cable AND Airdroid.
Same results, files missing. They're on my phone, in case of restore, but can't get them ALL onto laptop.
Tried to copy them onto Ubuntu, it's a dual boot laptop, but that only copies an empty folder ?
Also tried copying from phone direct to USB stick, no joy.
CONFUSED.
10rdan said:
Updated TWRP last night and copied backups to laptop this morning using USB cable AND Airdroid.
Same results, files missing. They're on my phone, in case of restore, but can't get them ALL onto laptop.
Tried to copy them onto Ubuntu, it's a dual boot laptop, but that only copies an empty folder ?
Also tried copying from phone direct to USB stick, no joy.
CONFUSED.
Click to expand...
Click to collapse
Still trying.....
Been trying through, various, wifi transfer apps. Nada !
Also tried copying the files one at a time through USB, the ones that will not copy are 'data.ext3.win' and 'system.ext4.win'.
Even when 'right clicking, to copy, I've tried copying to folders and straight to desktop, they just will not copy. I DON'T get any message re. unable to copy, absolutely nothing happens.
Any suggestions ?
Thanks
10rdan said:
Still trying.....
Been trying through, various, wifi transfer apps. Nada !
Also tried copying the files one at a time through USB, the ones that will not copy are 'data.ext3.win' and 'system.ext4.win'.
Even when 'right clicking, to copy, I've tried copying to folders and straight to desktop, they just will not copy. I DON'T get any message re. unable to copy, absolutely nothing happens.
Any suggestions ?
Thanks
Click to expand...
Click to collapse
what version of TWRP version r u using.....?
is it TWRP 2.6.3 or older
there is one way u can copy the old backup files to ur PC....
put ur phone on recovery mode and "adb pull" the files to ur PC
ex: "adb pull sdcard/TWRP/BACKUPS/XXXXXXXXX/backup/data.ext3.win"
10rdan said:
Still trying.....
Been trying through, various, wifi transfer apps. Nada !
Also tried copying the files one at a time through USB, the ones that will not copy are 'data.ext3.win' and 'system.ext4.win'.
Even when 'right clicking, to copy, I've tried copying to folders and straight to desktop, they just will not copy. I DON'T get any message re. unable to copy, absolutely nothing happens.
Any suggestions ?
Thanks
Click to expand...
Click to collapse
read here: http://forum.xda-developers.com/showthread.php?t=2357819
also, after upgrading TWRP, did you try to copy your old backups or did you created new one?