If I delete .android_secure I run with problems? - myTouch 3G, Magic General

Hi, recently I try to change my Recovery and for some strange reason I lost "aparently" all my sdcard content because I can't mount from recovery and either from the phone using AndroZip, my question is: if I format the sdcard and lost .android_secure directory I'm able to access my phone without problems?
Cheers and thx in advance

yes you are fine. The .android_secure folder has to do with paid applications and it will be regenerated automatically.

If you move apps to sd, they go in there. You should move any apps that are on sd to internal memory before you delete it
I felt like I needed a signature.... here it is

tvall said:
If you move apps to sd, they go in there. You should move any apps that are on sd to internal memory before you delete it
I felt like I needed a signature.... here it is
Click to expand...
Click to collapse
I must remember that.

Thx all of yours

Related

Save app settings between builds?

With so many great builds here at XDA, I of course want to try them all. Is there a way so save the settings on all or some of my apps. I have my apps on the SD card so I don't have to reinstall all of them at least. For example, its kind of a pain to set up the app Locale with all my situations every time.
Is there some xml or something for these apps that I could back up?
As it is right now I have a Nandroid of Haykuros 1.5, The Dude's, and JF's and I can load an older ROM, the restore the Nandroid backup and update with a non-wipe update, but its not ideal.
bittermormon said:
With so many great builds here at XDA, I of course want to try them all. Is there a way so save the settings on all or some of my apps. I have my apps on the SD card so I don't have to reinstall all of them at least. For example, its kind of a pain to set up the app Locale with all my situations every time.
Is there some xml or something for these apps that I could back up?
As it is right now I have a Nandroid of Haykuros 1.5, The Dude's, and JF's and I can load an older ROM, the restore the Nandroid backup and update with a non-wipe update, but its not ideal.
Click to expand...
Click to collapse
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
smeyerhuky said:
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
Click to expand...
Click to collapse
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
cigar3tte said:
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
Click to expand...
Click to collapse
I don't know, never done apps2sd, haven't really had a problem on my phone with storage. (I keep backups of the apps/data that I don't use much on my sd and install/push-data when necessary.)
I personally like the innovation but don't like the idea of apps2sd as I use my sdcard to transfer and store work files all the time and don't like what happens when you take the sdcard out/mount it.
however...
I can guestimate the answer....
Did you push the /data/data/ path to your sd also. Because if you did then you still have all that on your sd.
After doing a wipe when you link the folders again for the sd remember to keep the files that have been there already..
smeyerhuky said:
You can copy all info of the particular app you want to save settings from by copying its folder from /data/data
you can use adb pull or the terminal to cp
then push the /data/data/? to your phone when you reinstall the app...
Did this when I wanted to keep my level in bonsai blast during a wipe...
Click to expand...
Click to collapse
Thanks for the tip. I'll give it a shot next time I flash. I assume if I had put all my data on the SD card I wouldn't have this problem, but that seemed to slow stuff down last time.
cigar3tte said:
Would this be necessary if I'm running my apps from the SD? Does wipe remove the ln commands done to link the apps to SD?
Click to expand...
Click to collapse
Yes, a wipe removes the link, but your apps are still on the SD card. Just use the AppstoSD app and it will rebuild the link (or do it manually)
smeyerhuky said:
I don't know, never done apps2sd, haven't really had a problem on my phone with storage. (I keep backups of the apps/data that I don't use much on my sd and install/push-data when necessary.)
I personally like the innovation but don't like the idea of apps2sd as I use my sdcard to transfer and store work files all the time and don't like what happens when you take the sdcard out/mount it.
Click to expand...
Click to collapse
If you partition your card and apps2sd is on the ext2 partition you can mount and unmount your sd card as much as you want to your pc and not affect the apps2sd at all
however...
I can guestimate the answer....
Did you push the /data/data/ path to your sd also. Because if you did then you still have all that on your sd.
After doing a wipe when you link the folders again for the sd remember to keep the files that have been there already..
Click to expand...
Click to collapse
Putting /data/data on the sd slows down your phone, and gives the possibilty of getting the STALENFS error if the phone is syncing and you reboot. if you do that you'd want a class 6 microSD for sure. Thanks for the idea of pushing and pulling the data though, I have never thought about doing that. That would have saved me so many friggin headaches
bat file
Don't know if this will help anyone, but here is a BAT file I wrote that copies files from data/data to a folder on the sd card. You could edit it with the files you want to keep.

[REF] ATT-ALL LAGFIX USERS Check for possible data corruption!

!IMPORTANT! - CHECK FOR POSSIBLE DATA CORRUPTION​
Quick Steps to check for possible data corruption:
1. Navigate to LOST.DIR Folder in Internal/External SD card using any file explorer (My Files, ES File Explorer, Astro Explorer, etc.)
2. If this folder is empty then you have nothing to worry about - no data corruption! Otherwise, delete ALL of these files (Labelled with various numbers)
3. Reboot device/Restart media scan for internal/external SD card
4. If files reappear straight after reboot/rescan, then there's a possibility that there are damaged files located on the phone or your SD card is damaged/error with file system used.
[If LOST.DIR folder remains empty after reboot/rescan then your SD card/DATA is safe]
Locating damaged files:
- Open the file using any file explorer (My Files, ES File Explorer, Astro Explorer, etc.) and choose to open as "Text" [Alternatively, you can connect/mount it to your PC and open the files with notepad]
- Text should indicate location of possible corrupted file, navigate yourself to this file
- Make backup of file on PC
- Reboot device/Restart media scan for internal/external SD card
- Check LOST.DIR again if any files are recreated, if files are again recreated, then move to next section.
SD card is damaged/error with file system used:
- If you are using a lagfix (especially those with EXT2 as LOOPS), then disable them and/or return to the RFS file system.
- Reboot device/Restart media scan for internal/external SD card
- Check LOST.DIR again if any files are recreated, if files are again recreated, then I would suggest you reflash your ROM and repartition/format
- If LOST.DIR files continue to reappear instantly after a reboot/rescan, then I would suggest you flash back to stock and contact your device maker for warranty claims.
Possible Causes for creation of files in LOST.DIR:
- Improperly turning off device, such as pulling out battery when device is still on
- Interrupted media scan
- Files copied for PC were corrupted initially
- Damaged SD Card
- Fake SD card
- Disconnecting your device when mounted as mass storage device to your PC (without first properly unmounting it)
Evidence/Reference: http://tinyurl.com/4bccju4
----
x86-Dark said:
I have 1022 files in my LOST.DIR in the Micro SD :/...and only 2 in the sdcard.
I think i have some corruption issues...
Click to expand...
Click to collapse
Having lots of files in your LOST.DIR does not necessarily mean that you have any data corruption - As noted by some users, it is safe to have these files, but I believe if these files continuous reappear in LOST.DIR, right after a reboot, then you have might have a problem
Delete the files, reboot, and navigate back into LOST.DIR folder and if files are recreated then you possibly have data corruption, if LOST.DIR folder remains empty then you do not have to worry about data corruption
----
EXTRA INFO (Edited by me - thanks to rschenck for clarification/original post):
The LOST.DIR is where the system stores orphaned, damaged or corrupted files it finds during the file system check as it boots up. It would be expected that most all of you will have at least a few orphaned files in there. They are perfectly safe to delete, however, if after rebooting the system, MORE files are created in LOST.DIR then these aren't orphans, they are corrupted files and could signal a problem.
Hopefully when you delete them, they will not be replaced at reboot and you will gain some peace of mind that their is no evident DATA/SDcard Corruption/failure
This is a very important housekeeping/maintenance procedure to extend the lives of our phone, especially for those using EXT2 or loops.
Best of luck,
Peter
My lost.dir folder is empty.
I didn't use a lagfix for quite some time though.
I only recently used and ext4 lagfix which has been enabled for about a month or so.
Qazz~ said:
My lost.dir folder is empty.
I didn't use a lagfix for quite some time though.
I only recently used and ext4 lagfix which has been enabled for about a month or so.
Click to expand...
Click to collapse
Then your ext4 file system is good to go I'm using ext2 and my lost.dir fodler is empty too
Wrong section and useless post (as it was in speedmode section) as its too panicky and unnecessary (it is perfectly safe to have these files, and even if we have we don't need to remove lagfix, just switch on the brain).
dupel said:
Wrong section and useless post (as it was in speedmode section) as its too panicky and unnecessary (it is perfectly safe to have these files, and even if we have we don't need to remove lagfix, just switch on the brain).
Click to expand...
Click to collapse
Oh .... I'm sorry. If a moderator sees this post as useless then please feel free to delete it. Was just trying to help
my lost.dir is empty, and i haven't use lagfix
I have 1022 files in my LOST.DIR in the Micro SD :/...and only 2 in the sdcard.
I think i have some corruption issues...
/sarcastic mode on
I never wanted find out this thread
/sarcastic mode off
currydude said:
Oh .... I'm sorry. If a moderator sees this post as useless then please feel free to delete it. Was just trying to help
Click to expand...
Click to collapse
Why? I found it so usefull...Thanks!
x86-Dark said:
I have 1022 files in my LOST.DIR in the Micro SD :/...and only 2 in the sdcard.
I think i have some corruption issues...
/sarcastic mode on
I never wanted find out this thread
/sarcastic mode off
Click to expand...
Click to collapse
Having lots of files in your LOST.DIR does not necessarily mean that you have any data corruption.
----
Delete the files, reboot, and navigate back into LOST.DIR folder and if files are recreated then you possibly have data corruption, if LOST.DIR folder remains empty then you do not have to worry about data corruption
dupel said:
Wrong section and useless post (as it was in speedmode section) as its too panicky and unnecessary (it is perfectly safe to have these files, and even if we have we don't need to remove lagfix, just switch on the brain).
Click to expand...
Click to collapse
^^
This..perfectly safe.
currydude said:
Having lots of files in your LOST.DIR does not necessarily mean that you have any data corruption.
----
Delete the files, reboot, and navigate back into LOST.DIR folder and if files are recreated then you possibly have data corruption, if LOST.DIR folder remains empty then you do not have to worry about data corruption
Click to expand...
Click to collapse
Deleted everything and rebooted...no file has reappeared fheeew!
x86-Dark said:
Deleted everything and rebooted...no file has reappeared fheeew!
Click to expand...
Click to collapse
That's good to hear I hope my post is clear enough .... Again, having lots of files in LOST.DIR does not necessarily mean that your internal/external SD card is damaged, it just means that there has been some form of data corruption and by deleting and reboot, you can confirm that your SD is not damage but instead there has been some data that was corrupted.
I think those files can also be the result of disconnecting your phone when mounted as mass storage device to your pc (without first properly unmounting it)
MarkSGS said:
I think those files can also be the result of disconnecting your phone when mounted as mass storage device to your pc (without first properly unmounting it)
Click to expand...
Click to collapse
Oh yea! I forgot about that too, thank you for your contribution - will add to O.P.
can someone verify this, please?
auralzx said:
can someone verify this, please?
Click to expand...
Click to collapse
If LOST.DIR folder remains empty after reboot/rescan then your SD card/DATA is safe
Having files in the LOST.DIR folder does not mean that your SD card is damaged/data corruption - but if they reappear after reboot/rescan then there's a possibility of it.
Hmm...
I have some files in LOST.DIR folder, some in my internal and many in my external. I have deleted those files in both SD then reboot. My external SD's LOST.DIR remain empty after reboot, but in my internal SD there are 2 files reappear.
I am using ext 4 + ext 2 loops...
Thank you very much for sharing this, I will try to figure it out...
I get 2-3 files in LOST.dir on my internal SD. I have only tried this twice so far. I'm using EXT4. So what now?
Sent from my GT-I9000M using XDA App
No lagfix Eclair lost Dir has a few files in it .
Moved on lagfixed rooted customised etc etc .Six months a few files in Lost Dir .
Yesterday got about a dozen files in the directory . Why well simple all Titanium backup files and i had a problem with a restore on that app .
Conclusion and from OP post any file that gets damaged is moved to this folder .
A folder to keep an eye on just in case as a warning of possible corruption or bigger problems .
jje
TerraBuzz said:
Hmm...
I have some files in LOST.DIR folder, some in my internal and many in my external. I have deleted those files in both SD then reboot. My external SD's LOST.DIR remain empty after reboot, but in my internal SD there are 2 files reappear.
I am using ext 4 + ext 2 loops...
Thank you very much for sharing this, I will try to figure it out...
Click to expand...
Click to collapse
Remove your loops then check LOST.DIR again. (and/or refer to the Locating damaged files section)
#1RAGE said:
I get 2-3 files in LOST.dir on my internal SD. I have only tried this twice so far. I'm using EXT4. So what now?
Sent from my GT-I9000M using XDA App
Click to expand...
Click to collapse
Again, if files do not reappear right after reboot/rescan, then you do not have to worry.
JJEgan said:
.Conclusion and from OP post any file that gets damaged is moved to this folder .
A folder to keep an eye on just in case as a warning of possible corruption or bigger problems
Click to expand...
Click to collapse
Exactly

[Q] Delete everything in the sd and install GB?

A question...
what i've to do to install gb (WB expecificly), but erasing everything in the sd, i mean i just want to have the folders and files from this rom only.
does Xrecovery delete everything and keep the essential or i've to delete something else ?
thanks
ps: sorry for my english...
you don't want to delete everything on the sdcard, you may want to delete the android folder, data folder and lost.dir folder though to eliminate chances of problems with some apps.

[Q] Help! About memory space and app´s

Hello everyone
First at all want thanks the valious information in this forum. For a newbie like me is superb.
Now I´m needing here some tips please.
I have a IDEOS S7 tablet rooted (with SuperOneClick), working in full with the SuperUser, I have root access through with Root Explorer.
I use Link2SD to change the apps from the internal memory to the internal SD card.
I have no partitions on internal SD (do not know how to do).
The question: When i install an application this one goes to the /data/app folder, but also some additional files of this application goes to the /data/data folder.
With Link2sd when I move an app to the SD internal card, only the file in data/app moves and the files/folders in the data/data remain´s there!
For example when I install an application with 11MB (adobe flash for example) and move it with the link2sd to the internal SD card never copies all the 11MB (only about 3MB are copied )..... I conclude that any app that I install, and moved to SDcard, I can never keep in the same internal memory free "measurement" of bytes!
Example, I have 136MB free before installing Adobe. After installation I get 125MB. I move the app to the internal SD and are moved only 3MB! The remaining (8MB) stay in the internal memory. So, i never stay again with the 136MB that I had before, but +- 128MB.
What is wrong? Can I move all files of an application or not? What am I doing wrong or is this just like that!!? Any suggestion please?
By the way how can I create a partition on the InternalSD card and what is the advantage of doing this?
Thank you for your attention
regards
pedro
Can close/delete this topic please, solved and done.
Thanks
pedro

Internal sdcard problem

I have just installed aurora light rom yesterday, and today I found that I can not move any app to my internal "sdcard".
Inside CWM recovery, if I choose "choose zip from internal sdcard", I can see the internal card without problem.
If I use ES explorer, inside the folder: "mnt" I can see two other folders: "sdcard1" and "sdcard". "sdcard" is empty and "sdcard1" has my backups, and other files.
If I go into Storage, I can not see the options of the "sdcard", but I can see that I have almost 2GB for an USB storage.
So, what should I do to have be able to use my internal "sdcard" again?
Thanks for any help.
You can't move any apps to internal sdcard without repartitioning that. Actually you aren't even then moving apps to it, you just take some space from it and put that space to data partition.
Here's instructions for repartitioning: http://forum.xda-developers.com/showthread.php?t=1112857
P.s. Do nandroid backup before repartitioning, you might need it
(It can factory reset your phone and hide your statusbar, if that happens just restore backup and you are good to go)
Sent from my Huawei U8800
zazza8 said:
You can't move any apps to internal sdcard without repartitioning that. Actually you aren't even then moving apps to it, you just take some space from it and put that space to data partition.
Here's instructions for repartitioning: http://forum.xda-developers.com/showthread.php?t=1112857
P.s. Do nandroid backup before repartitioning, you might need it
(It can factory reset your phone and hide your statusbar, if that happens just restore backup and you are good to go)
Sent from my Huawei U8800
Click to expand...
Click to collapse
Thanks.
One question: The phone uses that memory for what?
alexmbra said:
Thanks.
One question: The phone uses that memory for what?
Click to expand...
Click to collapse
Do you mean internal sdcard? If so phone doesn't use that memory at all. It's basically like your external sdcard except you can't move apps to it. You can use it for documents, photos, backups etc.
Sent from my Huawei U8800
zazza8 said:
Do you mean internal sdcard? If so phone doesn't use that memory at all. It's basically like your external sdcard except you can't move apps to it. You can use it for documents, photos, backups etc.
Sent from my Huawei U8800
Click to expand...
Click to collapse
So, it is save to partition that memory to have more space for applications? And why almost all phones just reserve only so little space if has all that space there?
alexmbra said:
So, it is save to partition that memory to have more space for applications? And why almost all phones just reserve only so little space if has all that space there?
Click to expand...
Click to collapse
Yes, if you want you can even take all space from internal sdcard to data partition.
It's unusual to have internal storage, external sdcard and internal sdcard like in our U8800. Most of the phones don't have internal sdcard.
Thanks. I already did the new partition. I have more space now.
alexmbra said:
Thanks. I already did the new partition. I have more space now.
Click to expand...
Click to collapse
Good :thumbup: Use thanks button if I really helped
Sent from my Huawei U8800

Categories

Resources