[Q] Backup emmc .android_secure with nandroid - General Questions and Answers

Hey, I am using Nils Business Gingersense ROM (excellent work Nils!) on my DInc (amoled), and have noticed that it currently mounts both emmc's and sdcard's .android_secure folder, and apparently the emmc's mount is second, so it wins.
The result of this is that my "move apps to SD Card" is moving them to the emmc storage, which I don't mind, but clockworkmod (running ver 3.0.0.7) misses it on a nandroid backup. I can't seem to either figure out a way to get the sd card to be the only mount of .android_secure or get clockworkmod to backup the emmc folder.
Suggestions?
Cheers
RoboCuz

more information
For more info, it looks like it was recognized and fixed in cyanogenmod--issue id 2470 (I'd post a link to it, but am not yet allowed to post links (shrug)).
It still exists in my ROM, so I am just wondering, if there is a good workaround until it gets fixed.

bump. Anyone got a work around? Right now, I have to copy files from .android_secure on my emmc to the sd card before I do a nandroid backup, and then if I want to do a restore, I need to do the restore, and then copy the files from the .android_secure on the sd card back to emmc after reboot, and then boot again. It's all very clunky, prone to user failure (forgetting to copy might render backup broken, etc).
Any suggestions?

I have tried Synergy as well, seems like it is an issue with many of the ROMs, fyi. I am guessing until we get the Kernel source code, we are stuck with this on the GingerSense roms, perhaps....

Related

[Q] No folders in Open Recovery

I have Open Recovery and was getting ready to flash Kahl's Galaxy and when I went into my nandroid, my back ups were there and the Galaxy folder, however there were no options to "tick" (system, data, cache,...). It was all empty. I can see the nandroids on my PC when I plug it in but can't flash them. Says something like, "Nothing to Restore".
Tried reformatting SD card
Re-installing Open Recovery.
SBF back to stock
32gb card (fat, then 1g ext3, then 125swap- and all are ordered correctly)
Any ideas?
Make sure the folder structure on the sdcard is ...
Code:
/sdcard/nandroid/GalaxyXTV4/ (boot.img, boot.md5, system.img, system.md5)
not
/sdcard/nandroid/GalaxyXTV4/GalaxyXTV4/ (boot.img, boot.md5, system.img, system.md5)
HTH
They are set up the correct way. Even my old bakc ups aren't showing correctly either.
Another clue to the puzzle:
When I go into my Gallery, I get a triangle at the top that says "failed to read/write sdcard. Gallery may not work as expected"
Maybe a mounting issue. Everything was working 2 days ago.
usually the problem is like 3rdstring just said.
but i got also those problem like yours when my sdcard corrupted and can't be mount on phone, try reformating your mem card.
At first I thought it was the card (and still kind of do now) but it seems that Root Explorer, even though you toggle it to r/w, sometimes it kicks back to r/o and that is what is screwing everything up. When reflashed my 2.1 sbf and started from scratch, re-installing Open Recovery, the sdcard was ticked at r/o, so Open Recovery, as hard as it tried, couldn't read the files.
This also created the problem with the media gallery b/c when I tried to save an MMS to the sd card, it would show up as a broken link/pix. This is actually what led me to the r/o vs r/w Root Explorer problem. Ticked it back to r/w and tried to re-save the MMS pix to my sdcard and viola, it worked. Open Recovery shows all my Nadroid back ups and the sub-folders within.
Now if there was some way to figure out how to make Root Explorer r/w all the time and avoid the constant fear that after I reboot sometime, it hasn't gone back to r/o and messes with my head.
I'll tell you that this phone, as frustrating as it may be, is always a learning experience.
1. the software that running on your phone now is came from a "fresh" file master(from market or computer) or from the backup from your sdcard after it crash?
2. is the fat partition set as active?
3. when reformating the card you use card reader or your phone(use phone as card reader) ?
=======
my problem at that time is quite the same as yours.
and it all happpened bcause i ran the software from the backup file( not a fresh one), i format the card using card reader(maybe my card reader is not run well, so the formating process not run perfectly) and i forget to set partition as active lol
when i tried to use a fresh file master, format through my phone(use phone as card reader) all the problem is gone
just from my experience
*bad english, i hope you understand what i said
same Problem
[email protected]
I've the same problem in the gallery. (failed to read/write sd card)
I can shot some pictures an then the cam freezes. After that the whole xt720 freezes.
@Woodrube:
have you try it with the phone USB mode to format the sd card twice?
I tryed 3 different sd cards - all the same problem.
- the orginal class 2 card
- a 32GB class4 card
- a 16 GB class10 card
I tryed also differt roms:
- orginal
- dexters
- and this one http://forum.xda-developers.com/showthread.php?t=1002993
but ever the same problems...
Is it possible that the SD Card reader inside of the phone is damged?!
I need help. i'm going crazy...
USB reader in phone works fine for me. It isn't the card per se, but rather something messing with it to make it glitchy. I have a 32gb class 10 card that is A-OK but I also tested a 16gb class 6 card I had too and it did the exact same thing on me.
I have narrowed it down to the Camera function. For some reason when I take pix it won't write to the card. Was just on a short vacation with my wife and kids and took a picture of my boys sitting on a canon and lo and behold, it didn't write to the card. I think what I did was take the card out, reboot w/o it in and then once phone was fully powered up, inserted my card and remounted it. Picture wasn't there but could open my media gallery with no issues.
To tell you the truth, I have tried so many ways to figure this out, that they are all jumbled now. Once it happens again, I will pay more attention to how I fix it and post it. Really, I think it all comes down to an issue with the camera and the ROM not mingling together.
Running Steelblue ROM, but had same issues with Personared too.
Woodrube said:
I have Open Recovery and was getting ready to flash Kahl's Galaxy and when I went into my nandroid, my back ups were there and the Galaxy folder, however there were no options to "tick" (system, data, cache,...). It was all empty. I can see the nandroids on my PC when I plug it in but can't flash them. Says something like, "Nothing to Restore".
Tried reformatting SD card
Re-installing Open Recovery.
SBF back to stock
32gb card (fat, then 1g ext3, then 125swap- and all are ordered correctly)
Any ideas?
Click to expand...
Click to collapse
I'm sure you've done this, but for completeness, some other things to check are to make sure all partitions are primary and that the fat partition is marked "active" (or "boot" depending on which partitioner you're using)
Been awhile since this was an active thread but I did say I would post a solution when I found one. Seems that something is corrupting the sdcard when you take a picture. Not sure what is causing it but here is the fix.
You will lose that picture, but go into your media gallery and once it all populates in, a triangle will scroll in your notification bar that says sdcard failed to read/write. This seems to screw with all kinds of things.
Solution: delete the picture that doesn't have a thumbnail, pull down notification bar and hit the error message. Unmount sdcard and force stop your media gallery. Remount the sdcard and close out your settings. Reopen your media gallery and you should be good to good. Simple as that. No reboot, battery pull or reformatting needed.
Seems that camera corrupts something during during read/write and it trickles through all SD files, including OR folders.

[Q] change mountpoint of sdcard so that it goes to the actual sdcard

Does anyone know how to update the mount points so that when I insert a microsd card it is mounted to the mnt/sdcard folder? I still would like to be able to use the internal storage though. Maybe it can be mounted someplace else.
I ask because I would like to backup my apps to the SD card using Titanium backup and Astro. Backing up my apps to the internal memory makes no sense. Especially when you are trying to move Angry Bird saved games between devices.
I did the opposite when I was running the CM7 on the GTablet: all the ROMs mapped sdcard to the internal memory while CM7 had it the way you want it. I didn't need an SD card for the GTab, so suffice to say, I updated it to change it back so all my apps would work again.
Anyway, you need root, and all you have to do is find /etc/fstab and change the mount points to where ever you want them. On the GTab, I just switched emmc and sdcard around. This worked on Android 2.3, so I assume its the same for 3.x. I don't have my Transformer with me here at work or I'd look to make sure.
IMPORTANT: Make sure you make a system backup before you mess with it, cause you could mess up the file and then nothing will mount on start up, so proceed at your own risk.
http://forum.xda-developers.com/showthread.php?t=1122710
Last page has a script you can use or you can use the app method, I think it is towards the end of the 2nd page, its a 1.99 app but works fine and survives reboots
EDIT: Post 38 and 41

[Q] Unable to mount SD card

Ever since I first got this phone, I have been unable to detect/mount the SD card in CWM, and under "Storage" in "Settings."
Oddly, I have no issues accessing "sdcard" in the My Files folder, or in Root Explorer.
Whenever I flash a ROM, I have to select "choose zip from internal" instead of "choose zip from sd card."
I have no issues with doing this, however the reason I think that I should fix this is because I keep having problems with Market FC's and "phone is not compatible" error messages when trying to get apps from the market. Also, I am unable to use Nandroid in CWM because of this.
I have followed the instructions here except I obviously was unable to format the SD card.
Thanks for any help!
I got help in another thread and fixed my Market compatibility problems.
Schwaxdoc said:
LCD Density Modder Pro installs a custom Market app that maintains compatibility despite a changed density. Have you changed your LCD Density?
Click to expand...
Click to collapse
Thanks to Schwaxdoc for that.
So no more issues with the market anymore. I'm still interested seeing if there's anything I can do about my sd card not mounting.
I've had the same issue, ROM Manager tells me that the SD card needs to be mounted when it already shows as mounted in settings OR it says "unavailable" in the space for both internal and external.
I can fix it by removing the SD card, turning off the phone, inserting the SD card, and turning the phone back on.
It almost always reoccurs every time I flash a new ROM.
I'm having the same problem, and I've tried to use seanscreamz fix in the link you posted but that didn't work (but, like you said, since I can't mount the sd card I can't format it ).
Does anyone have another solution? Even after going back to stock, wiping data, cache, system etc. nothing seems to work. I can't use ROM Manager, can't restore nandroid backups, can't mount the damn sd card!
I've attached a picture of the Storage display if it helps (USB Storage appears to be my sd card and the sd card is 0 out of 0).
Woo hooo!!! Fixed it. I can now run Nandroid backups and presumably restore them.
I'm not sure what worked, but I think it was flashing the latest CWM from ROM Manager. The Odin-flashable cwm I had didn't have the options for "Backup to Internal SD Card", "Advanced Restore", etc.
Other things that may have helped:
--Tried seanzscreams repair here: http://forum.xda-developers.com/showpost.php?p=21424179&postcount=1 (but obviously couldn't format the SD Card that I couldn't mount).
--Flashed back to stock, wiped data/cache in 3e recovery.
--Rooted, then clean install of Alien 5.5 rom using DARKSIDE SUPER WIPE first (new! found here: http://forum.xda-developers.com/showthread.php?t=1487706)
But I'm pretty sure that flashing the latest CWM from ROM Manager was what fixed it.

CWM 6.0.1.0 cant backup to local SD?

Hi,
I tried to run a nandroid backup & I am getting this error message:
Unable to find mounted volume: /sdcard
error finding an appropriate backup handler
I then tried to mount the SD card using CWM, that didnt not work but I can mount my external card & perform a backup - but it takes much much longer.
Any ideas why this would be?
I am running the stock ICS rom that is rooted. I did try to upgrade to a JB rom & updated the modem and rpm to a JB one. I dont know if that is the issue.
Any advice would be great.
Thanks,
Rich
Are you using an SDXC card? If so, try formatting it to FAT32 using this guide (I used the GUIFORMAT.EXE program to do it): http://forum.xda-developers.com/showthread.php?t=1773735. I have a 64GB SDXC card in mine and couldn't see it in recovery (or in AOSP ROMs) until I did that.
I am not using a SD card at all anymore. I am sort of stuck. I want to try another rom but I want a nandroid backup before I start messing around so I have somewhere to get back to.
I tried deleting .android secure but that did not help.
Any ideas on what I could try?
When I backup it says:
no /sdcard/.android_secure found skipping backup of applications on external storage.
no /sd-ext found,skipping.
Complete
My backup (which by the way says its in 1970) is only about 30 megs which seems way to small to be a real backup.
Thanks,
Rich
That's the backup. They use blobs that store common info so backups seem small. My stock backup is only 20.82 mb
Sent from my SCH-I535

Problems with TWRP Backup - unable to mount sd/ext

I've been searching both this forum and the net generally and not found an answer to my specific problem so I'm hoping someone can help.
I'm trying to swap out my ROM, I'm currently running CM 11 nightly but I'm getting endless FCs with apps so thought I'd try something different.
When I try to run the nandroid backup with TWRP v2.7.0.1 the backup fails every time with the error E: unable to mount '/sd-ext'
Can anyone advise? Thanks
tht looks like external sd card.
Try changing location for your backup to internal memory or make sure you got SD card plugged in to SD slot.
you may also try command on terminal emulator (or via adb shell):
ln -s /storage/emulated/0/ /sd-ext/
it will create symbolic link named sd-ext in root of your system and it will point to internal storage (if I am not mistaken, from now on it should not matter if you select internal or external storage as target for your backup - it will end up as internal anyways)
Sent from my TF300T using XDA Free mobile app
Thanks, the backup was to be created on the internal SD card, but you are right it is almost certainly a problem with the external card. I'm unable to mount either the dock SD or micro SD cards in TWRP - the options are just greyed out and can't be selected.
I can't get either card to mount when I boot to system ether I have noticed. I've tried formatting them as FAT32, EXFAT and NTFS and no dice so I'm wondering if this is a KK issue - they both worked flawlessly when I was running PA and Omnirom JB ROMs.
I've managed to find a workaround - I've flashed CWM and have been able to do a nandroid backup with that - but I still can't mount either the micro SD or dock SD cards with CWM or in system when I flashed KatKISS ROM - and of course now I can't use any old TWRP nandroids I have from JB ROMs without reflashing TWRP. I'd also rather be running TWRP ultimately if I can so it would be good to get to the bottom of what is causing this issue.
Not quite sure what the command line you suggested does, but I'm guessing it won't be useful with the problem as it stands now?
sorry for late reply as I was out of internet lately.
that command creates /sd-ext/ folder that acts similar to shortcut to intertnal sdcard
any call for /sd-ext (for example: cd /sd-ext) will end up on internal sdcard.
That wont help with accessing your external sdcard (as this was main issue here) - it would merely fool installer to 'think' it is working on external sd while it was still on internal.
Sent from my TF300T using XDA Free mobile app
Thanks for your help. I've had endless troubles which ultimately ended in a hard brick during a failed flash of the stock ROM. I'm waiting for a replacement motherboard - something wasn't right with the old board anyway, it doesn't seem that it was just ROM issue. Hopefully when it comes I'll find that it wasn't a hardware issue associated with the SD cards as well.

Categories

Resources