[Q] Back ups fail on micro sd. - Galaxy S II Q&A, Help & Troubleshooting

Can anyone please enlighten me on why I seem to only be able to do a successful restore from internal sd? Sometimes i can restore from micro but not enough to call reliable. Is it that my card is bad, or am i doing something wrong, or is this normal? Its getting older i guess, and am going to buy a 32 gig card soon so hopefully that helps. It usually says that there's an error restoring data or md5 sum mismatch. Thanks in advance

Salem's galaxy said:
Can anyone please enlighten me on why I seem to only be able to do a successful restore from internal sd? Sometimes i can restore from micro but not enough to call reliable. Is it that my card is bad, or am i doing something wrong, or is this normal? Its getting older i guess, and am going to buy a 32 gig card soon so hopefully that helps. It usually says that there's an error restoring data or md5 sum mismatch. Thanks in advance
Click to expand...
Click to collapse
the mtd5 might be an indication that you renamed the folder or that already the creation process went wrong. After creation of the backup the mtd5 sums are calculated and stored. Before restoring it is chacked that the actual mtd5 sum which is again calculated corresponds to the ones saved in the folder. This protects your phone. So either something went wrong during first calculation of the data or something changed (folder, name whatever) so that the data stored are not exactly the same as the data present

Thanks for replying so quickly! I always rename my backups so that i know which rom it was lol! Funny thing is, is that sometimes it works on external and sometimes not but always on internal. Ill try not renaming them and see if that helps...

Does changing the kernel affect the backup at all? That is why I like to stick with my main daily rom on primary cuz each rom wants to flash a kernel and modem, wish they implemented an option to not choose. I guess the aroma installer is coming along with that tho.

so of course kernel affects it, as the kernel normally brings the CWM-recovery version.
so also it depends on the CWM-Recovery version how to cope with renamed backups.
In some renaming works (if backup is made in several tar.files and for each there is a mtd5) in some not, but this is treated by CWM recovery.
So savest way is not to rename the folders but to give the name when taking the NAND, e.g. by starting the backup from the CWM app but not from recovery

Thank you for clarifying that for me !! Is there any to use cwm app from second rom? I find i cannot, it just reboots me to recovery... what about the online backup method? I cannot name the backup through that either?

Related

Upgrading, nandroid questions

Hello
I rooted my phone a while ago and has been running a rom happily. I have two sd cards so I decided to flash my phone with a new rom on my secondary sd card. I did a nandroid backup + ext first on my old sd card. Installing rom on new sd card went fine. But I lost all my contacts so I wanted to boot the old rom to sync wavesync. I did a restore but now the old rom doesn't boot anymore? Isn't that how nandroid is supposed to work.
Anyway back to the new rom again.
Secondly where are all the data for programs stored? I found andnav and another data folder for a program on the fat32 partition but when I copied them to my new sd card they are simply not recognized after I reinstalled the programs. It's the same version of the programs. And this is only two programs. Like does anyone know where abduction stores it's data?
Thanks in advance.
Have you added the ext partition to your new sd card?
Yes I have
Nandroid takes like a picture of your system at a certain time and then restores that exact picture when you run the restore.
What exactly is happening, did the restore say "successful"?
Yes it finished with no problem. How does everyone else upgrade to a new rom? I'm guessing that the application data is stored in /data/data somewhere?
arj03 said:
Yes it finished with no problem. How does everyone else upgrade to a new rom? I'm guessing that the application data is stored in /data/data somewhere?
Click to expand...
Click to collapse
that is correct. i don't really get what you want to do, if you want to upgrade just install the new rom. if you don't then don't. if you have a bootloop you can find the problem in logcat.
I want all my progress/high scores made to abduction to be there on my new rom
Also contacts would be nice, but I can dump/restore that now.
arj03 said:
I want all my progress/high scores made to abduction to be there on my new rom
Also contacts would be nice, but I can dump/restore that now.
Click to expand...
Click to collapse
use titanium backup. you can aswell try to find the according files in /data/data, but titanium does the job for you and it works.
try flashing the boot.img for the backup your doing.I dont mean the nand backup boot.img i mean the original boot.img from the update.zip

[Q] Sd Card Almost Maxed Out

So, I was looking at my SD Card info through settings and I only have 2.43gb free. I only have 7 songs, not many photos, videos or anything else. I went through my SD and cleaned it up, but nothing changed.
I am running SC 2.5v no theme, and nothing really on my SD card for roms, themes or anything like that. I know this is a stretch, but what could be taking so much memory on the SD. I don't have titanium, i have cleaned my back ups and don't back up my apps... I know. Crazy. Anyone have any ideas. I know you don't know what is on my SD but, anyone have this issue as well?
gotsflat4love said:
So, I was looking at my SD Card info through settings and I only have 2.43gb free. I only have 7 songs, not many photos, videos or anything else. I went through my SD and cleaned it up, but nothing changed.
I am running SC 2.5v no theme, and nothing really on my SD card for roms, themes or anything like that. I know this is a stretch, but what could be taking so much memory on the SD. I don't have titanium, i have cleaned my back ups and don't back up my apps... I know. Crazy. Anyone have any ideas. I know you don't know what is on my SD but, anyone have this issue as well?
Click to expand...
Click to collapse
Did you partition your sd card?
Sent From My CM 7 Nightly #7 (Mixer theme) Monster Evo.
No. Should I? I have never ran across anyone doing that on a Fascinate...
gotsflat4love said:
No. Should I? I have never ran across anyone doing that on a Fascinate...
Click to expand...
Click to collapse
That could probably explain why.
Sent From My CM 7 Nightly #7 (Mixer theme) Monster Evo.
Mount the SD card on your computer and then select all the files in explorer (turn on show system files and hidden files first!), and check their total size (size and size on disk). If the size on disk for all the files is far lower than the amount reported as being used for the volume, something odd is probably up.
If the 'size on disk' is actually about the same as the amount of used space on the volume, you can then start checking the folders/files to see what's taking up the space.
@Jason Black: Why'd you want to repartition it? Or did you mean reformat it?
Another thing you could do is look for hidden files on windows when u open up removable drive then on the upper the upper left hand side hit tools then view then scroll down and hit the bubble that says show hidden files and see if thats what's taking up space
Sent from my SCH-I500 using XDA App
KitsuneKnight said:
Mount the SD card on your computer and then select all the files in explorer (turn on show system files and hidden files first!), and check their total size (size and size on disk). If the size on disk for all the files is far lower than the amount reported as being used for the volume, something odd is probably up.
If the 'size on disk' is actually about the same as the amount of used space on the volume, you can then start checking the folders/files to see what's taking up the space.
@Jason Black: Why'd you want to repartition it? Or did you mean reformat it?
Click to expand...
Click to collapse
Non of that. I was simply asking of the sd card was partitioned.
Sent From My CM 7 Nightly #7 (Mixer theme) Monster Evo.
Do you use ROM Manager, or have you used it? Also, do you have/use Titanium backup to create backups or have you done any nandroid backups in CWM? Also, if you download things on your phone, that would be another thing to check and clear out.
imnuts said:
Do you use ROM Manager, or have you used it? Also, do you have/use Titanium backup to create backups or have you done any nandroid backups in CWM? Also, if you download things on your phone, that would be another thing to check and clear out.
Click to expand...
Click to collapse
This
Sent from my SCH-I500 using Tapatalk
imnuts said:
Do you use ROM Manager, or have you used it? Also, do you have/use Titanium backup to create backups or have you done any nandroid backups in CWM? Also, if you download things on your phone, that would be another thing to check and clear out.
Click to expand...
Click to collapse
Yeah you can try clearing download cache in rom manager and also, those nanbackups take up a good amount of space if you have a lot of apps and data. I also have 2.40g left. Thats a lot of space unless you are downloading movies lol.
Sent From My CM 7 Nightly #7 (Mixer theme) Monster Evo.
I recently had that issue and went through my sd card and deleted unnecessary files. Old Roms such as superclean 2.1-2.3 I found in multiple places each taking up about 150MB. The main culprit was the nandroid backups. I had 4 backups each took up about a gig. They were in the clockwork mod folder. Im now limiting myself to 1 backup at a time.
Sent from my SCH-I500 using XDA App
I had a lot of lost space on my card a while back. I suspect from removing the card/inserting the card while still mounted and losing clusters.
I simply put the card in my PC. Backed it up to my hard disk (hidden files and all). Formatted the card. Copied the files back. This restored the lost space. (and gave me a backup too which is handy)
Thanks everyone for the replies. I only have 3 nandroid back ups so far. I have rom manager, but the one adrynalyne posted with fix permissions. I have titanium, but dont use it.
I will mount my SD card to my comp and take a look at it. See if I can find hidden files.
Ok. I figures it out. I use a PC for rooting purpose stuff, but put a bunch of files on my SD card from a mac. Well I found out that when you delete files on your sd card from a mac.
It creats a hidden folder call .trash where it stores everything you delete. I used stock "My Files" hit menu when open, click more, setting then select show hidden files. You can delete all .trash or whatever .(folder) there. That is the hidden files mac create.
I hope this can help someone. Once i deleted those folders, I wernt from 1.8gb to 12.58 gb.
gotsflat4love said:
Ok. I figures it out. I use a PC for rooting purpose stuff, but put a bunch of files on my SD card from a mac. Well I found out that when you delete files on your sd card from a mac.
It creats a hidden folder call .trash where it stores everything you delete. I used stock "My Files" hit menu when open, click more, setting then select show hidden files. You can delete all .trash or whatever .(folder) there. That is the hidden files mac create.
I hope this can help someone. Once i deleted those folders, I wernt from 1.8gb to 12.58 gb.
Click to expand...
Click to collapse
Macs also create other dot files when coping data, including a dot file for every file you copy over (it's to store the file's metadata... that's really not useful), as well as some others. Some poster around here has a link in his sig with a 'guide' on disabling those things...
In my /sdcard/clockworkmod/backup folder i have 9 backups. I'm guessing I might want to keep the oldest one in case it has a backup of my stock phone (I'm rooted now) and the latest one. The rest can be deleted, right?
Zacisblack said:
I recently had that issue and went through my sd card and deleted unnecessary files. Old Roms such as superclean 2.1-2.3 I found in multiple places each taking up about 150MB. The main culprit was the nandroid backups. I had 4 backups each took up about a gig. They were in the clockwork mod folder. Im now limiting myself to 1 backup at a time.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
eibbed0001 said:
In my /sdcard/clockworkmod/backup folder i have 9 backups. I'm guessing I might want to keep the oldest one in case it has a backup of my stock phone (I'm rooted now) and the latest one. The rest can be deleted, right?
Click to expand...
Click to collapse
TBH I haven't made a back-up since december 2010 and have deleted all mine long ago. With odin/TiBkup I find it to be an error free process. Restores always seem to have their own issues so I just gave up on them. But yes you can delete all older ones and keep the most current.
good day.
^^ same here. Haven't done a nandroid since November. Nandroid backups are a pain. It only takes like 10 minutes to get all your settings back the way you want them after a good ol' clean odin. Plus titanium backup, of course
Sent from my SCH-I500 using XDA Premium App
Agreed. Delete all your old backups. I had about 10 on mine at one pint. They eat about 1gb each
I've been KANGBANGED!!!!!
I've done a Nandroid restore a couple of times now and it went smoothly. A couple of cache and Dcache clears before, wipe data, clear caches again, install ROM, clear caches a couple of times, boot to make sure the ROM functions, then recovery, cache clearing, then advanced restore and restoring just data works for me. I used to use TiBu to restore everything but this has been working out fine, although I'd heard some people had problems with it. Although now that I think about it, I've only done this when re-flashing the same ROM as before. Maybe with different ROMS some things don't play nicely.
Still, I don't need 9 backups just sitting there taking up space, so thanks for the go ahead on deleting them. And I still do TiBu and MyBu backups because I've found you can never have too many resources when things go bad!

Nandroid backup

Hy guys, there is something I dont understand about nandroid. I flashed my rom, kernel, downloaded apps, change setting, homescreen etc. and now i would like to back it up exactly as it is. I read that nandroid is best for that but it doesnt backup sd card? whats up with that. I look at my sd card with root explorer and there are many folder and files that were made by apps when they were insteled on the phone.Does it backup that also? Also i have many apps, apps2sd, will it make backup of them also?
It won't back up your entire phone onto your phone. It would get really big with all the music, videos, etc, that a person might have. If you have your external card mounted then you can attach via a USB cable to your computer then either with adb or with a file manager copy all of /mnt/sdcard youlle get the important things that nandroid does not. The exception I can think of is that it doesn't seem to back up your modem firmware, so if your partial to a particular one then just have it as a flashable file.
Ok, thanks, so it doesnt backup internal sd card because someone told me yesterday that it does? If i copy the entire sd card to PC and latter copy it back to mobile like that will it work. First i recover nandroid backup, than i format internal sd card and than copy all the files back to sd card.
A Nandroid backup will copy a lot, but it can't copy everything or there wouldn't be room on the device for it to be practical. It is quite supprising how much it will keep; it just isn't a complete backup solution is all.
Addressing your question though, as for copying the entire sd card, you really only need to copy the folder /mnt/sdcard or /sdcard ; the latter is a symlink to /mnt/sdcard
If you try to copy your entire sdcard then it is possible to end up with data from partitions that will take forever to copy and that you really don't want, for example /proc on the phone is just kernel information that doesn't even exist when the phone is turned off. To keep things simple, everything is part of the ROM and kernel except for /mnt/sdcard and in the case of and external sd card, /mnt/sdcard/external_sd but the latter (/mnt/sdcard/external_sd) will be copied along with the first one provided it is mounted when you do it.
The only other exception to what needs to be backed up is a partition called /efs and there are various tutorials with various methods about how to do that. I would follow one of them rather than just copying the data out as its a partition that holds unique information about the phone that it can't function with if it gets messed up. This is more immediately important and I think there's quite simply some apps that will do it for you if you look at the sticky threads here. The files will be on your phone though so you'lle want to pull them off on to your computer for sure.
As for your friend's advice, though, you won't typically ever need more than a Nandroid backup unless something happens to that other data, for example if there's filesystem corruption. If you do a restore of your ROM then it still retains all your music and photo goodies or whatever, app settings get wiped though where they are retained with Nandroid. The only thing that I'd worry about is if the impending update to Ice Cream Sandwhich somehow wipes suff, or if you play around at the command line a lot make a mistake unintentionally. If it weren't for the updates and beta ICS releases we're seeing then I'd simply be telling you not to worry about it, but to back things up and be done with it.
By the way, doesn't Kies back things up? I don't have it so I don't remember but it seems like that's how I initially got things onto it and that it has a sync option. Perhaps this is enough?....
Igor 3 said:
Hy guys, there is something I dont understand about nandroid. I flashed my rom, kernel, downloaded apps, change setting, homescreen etc. and now i would like to back it up exactly as it is. I read that nandroid is best for that but it doesnt backup sd card? whats up with that. I look at my sd card with root explorer and there are many folder and files that were made by apps when they were insteled on the phone.Does it backup that also? Also i have many apps, apps2sd, will it make backup of them also?
Click to expand...
Click to collapse
Man just do the backup and don't worry about the sd card files/folders. The reason it doesn't back them up is because they stay there anyway. Eg, if you uninstall an app, a folder that was created by it on your sd card is still there. Flashing firmware, including wipe versions doesn't touch the 11.5gb internal storage or external storage.
BTW, most of my internal sd card is used up and 25gb is used up on my external card. If the backup was to include those a 64gb memory card wouldn't be enough.
Between the S1 and S2 I've backed up and restored over 100 times, including after fully wiping the phone (but not formatting sd cards) and the phone always looks and functions exactly as before, including apps.
So, only copy memory card files to PC if you intend to format the internal / external cards or if you are worried you might lose stuff if the memories become corrupted.
Sent from my GT-I9100T
Thanks guys for you help. I dont use Kies also so i dont know and, yes, i format sd card before flashing every rom so i would probably format it also before making restore of nandroid backup. Also when i delete some app a delete a folder created by it on sd card. OK, than i will make a nandroid backup and copy mnt/sdcard on PC so if it ever gets corupted i can restore everything. As for efs folder, Neak kerenl made a backup of that automatic so i just made a copy of that on PC.
Every so often I go though the folders on the sd cards and clean them up a little but I have never formatted the sd cards. I don't really think you should do it with every flash.
Sent from my GT-I9100T

[Q] S3 Filing System

Hi
I've just done a factory reset using Titanium Backup and the Nova Launcher backup system. It was a complete disaster (well, maybe not complete--I needed the cleanup) as neither of the backups functioned correctly and I lost all my apps, etc. After restoring from scratch, I did a bit of research. By default, both Titanium and Nova backups were saved to sdcard0 (as opposed to externalsdcard). I'm a relative newbie to the S3, but I think sdcard0 is the internal phone storage and therefore wiped when I did the factory reset. Am I correct?
If so, I have to wonder why both backups defaulted to this storage location. I've since moved both folders to external sd card and changed the backup paths on both apps. To preclude similar disasters, can I rename the somewhat confusing sdcard0 to something more recognisable (internal or phone storage seems reasonable) or would this cause more mayhem?
If I'm completely out to lunch with all of this, can someone educate me on the mysteries of the S3's storage configuration
Thanks in advance
Warthog
Hmm ...
Warthog01 said:
...
If so, I have to wonder why both backups defaulted to this storage location. I've since moved both folders to external sd card and changed the backup paths on both apps. To preclude similar disasters, can I rename the somewhat confusing sdcard0 to something more recognisable (internal or phone storage seems reasonable) or would this cause more mayhem?
...
Click to expand...
Click to collapse
The default is there since there are phones which have no extSDcard (the very cheap Android models and going up to Nexus and even more expensive models).
Do not rename anything - just remember that extSDcard (or the SECOND card that you get to see) is the 'removable' one.
Also note that even sdcard0 is not wiped by "normal wiping", and you probably issued a specific command in recovery or something in order to reformat that!
xclub_101 said:
The default is there since there are phones which have no extSDcard (the very cheap Android models and going up to Nexus and even more expensive models).
Do not rename anything - just remember that extSDcard (or the SECOND card that you get to see) is the 'removable' one.
Also note that even sdcard0 is not wiped by "normal wiping", and you probably issued a specific command in recovery or something in order to reformat that!
Click to expand...
Click to collapse
Many thanks, XClub!
I certainly don't remember issuing any command that would have reformatted the sdcard0, but you never know. Was I right in redirecting both backups to the extSDcard?
At some time you have flashed an Aosp 4.2.x Rom or the 4.2.1 leak.
As this has facility for users your sd card is formatted to accommodate different user data via an emulated set up.
To get things back to normal on 4.1.2 I suggest backing up your sd card and formatting it in settings/storage.
Hi Slaphead and thanks
I had to chuckle at your reply, because I wouldn't know how to flash a ROM (or a leak) if you took me by the hand to show me
Surely that's not something I could have done inadvertently? Anyway, if you're suggesting I backup and format the SD Card, can you give me a couple pointers so I don't screw it up somehow?
Cheers
Warthog
Warthog01 said:
Hi Slaphead and thanks
I had to chuckle at your reply, because I wouldn't know how to flash a ROM (or a leak) if you took me by the hand to show me
Surely that's not something I could have done inadvertently? Anyway, if you're suggesting I backup and format the SD Card, can you give me a couple pointers so I don't screw it up somehow?
Cheers
Warthog
Click to expand...
Click to collapse
Sorry,I read in haste!
Titanium does default to storing on internal sd, so a factory reset would wipe the backup, ditto nova launcher, so in titanium set folder to backup to external sd, no need to worry too much about nova as the titanium backup of it will restore its layout.
Apologies for the confusion, my fault!
Thanks again--I've already set up Titanium to back up to external card, so the next time I contemplate a factory reset, I can do so without fear!! :fingers-crossed:
yeah, and next time ask in the correct section
Glebun said:
yeah, and next time ask in the correct section
Click to expand...
Click to collapse
I'll try--hope you have a better day tomorrow (and, oh, dear, I forgot to hit Thanks)

[Q] SD Card issue

I am having an issue creating backups. Last time I had issues with what seemed like the sd card, I bought a new 64 gig card and replaced my old one.
The old one still works fine with an adapter into my pc, but I wrote it off and sucked it up.
I just tried again making a backup in TWRP with an error, "unable to create backup folder". So, I switched over to CWM and tried the backup. Same issue.
I just checked with my phone plugged into my pc and the file system is defined as "Generic Hierarchal" which I've never seen before. I am almost positive I formatted it initially as either fat or ex fat. With the phone on, I have no issues with the card. I have music and other data on it and it reads just fine.
Other possibly relevant history:
previous rom was Beans 21 and was unable to update to 22 (do not remember the error)
wiped and loaded Alliance's latest V8 with no issues. Been running Alliance for a few weeks now with zero issues. (other than backup)
Do I need to wipe my card and format it in the phone? I think previously I formatted it in my win 7 pc with an adapter.
TIA for any info
Formatting the card with TWRP is probably better
I had this issue with an S3 and nothing would work. I tried mounting/remounting, formatting, and even a new SD card. It finally worked with a new SD, which is really weird because it was an old SD card compared to one of the newer ones.
Thanks for the response. I have 2 cards. Just cleaned off one and formatted in the phone. Still fails trying to do a backup. I hate the thought of buying a third 64 gig card.
I think I'll try going back to stock and see what happens. It'll be a while before I can. Sucks I can't backup first.
Thanks again for the response
interesting update, for anyone that might be watching this post: I d'loaded skips updated toolkit from here: http://forum.xda-developers.com/showthread.php?t=2052788&page=10
and was able to make a backup.
just FYI
Bought a Sammy 64 and same issue. Unless anyone has any other suggestions, I'm going to Odin back to stock, I guess.
back to stock, unlock, root fixed it. just fyi.
georgepink said:
back to stock, unlock, root fixed it. just fyi.
Click to expand...
Click to collapse
Not. Tried to load another rom and can't read from ad card. Damnit. Any help would be appreciated.
more drama...I re-loaded twrp, b/c I found an old post with roughly the same issue. It said to use cwm to fix permissions. Well, cwm doesn't offer that anymore, the comment is that it was placebo effect. twrp still does offer it. I ran it and then rebooted to android, then rebooted into twrp reco again and was able to load Alliance v8 again.
so, until 4.4 roms appear (which I will have to go back to cwm for, unless twrp gets updated) I guess I'm set.
I'd still LOVE to hear from someone who might know how this happened or what exactly happened, to know what to avoid.
Thanks again, to the one person that responded.
Back to square 1, cannot make nandroid backups.
In CWM v6.0.4.3 here's the errors:
trying to backup: Can't mount Backup Path
trying to mount external_sd: Error Mounting /external_sd
In TWRP v2.6.3.0 here's the errors:
trying to backup: backup folder: /external_sdcard/TWRP/Backups/
E:unable to create folder: /exterenal_sdcard/TWRP
E:Failed to make backup folder
Any thoughts? I know I've posted this multiple times, but not sure where to turn. I suspect if I go back to unrooted stock again and unlock / re-root, load twrp and fix permissions, it will work again for a while. But not permanently. I really want to fix this once and for all. But am not getting any clear direction to go. I have searched on and off XDA to no avail. hoping this time is the key. Thanks for reading and potentially helping.

Categories

Resources