[Help] Auto Deletion of some folder from external SD Card [lollipop] - Xperia Z1 Q&A, Help & Troubleshooting

Recently My Phone deleted My external SD Card's IMP content
I took Quick look into SD card there are still some FOLDER still remain with unmodified date stamp
so i believe it was not formatted and some IMP and huge sized Folder like "DCIM" "Titanium Backup" are empty :crying:
currently trying to recover files with Recuva and stellar phoenix software
i also noticed that my custom recovery [XZdualrecovery] is not working however it was working after i did update to Lollipop
since i have root access but logging was set to Access Only in Super Su so i am really clueless which app did that
APPS i have doubt on
"Blackmart"
"Rashr"
"LuckyPatcher"
"NDR Utils"
and yes i do not use any antivirus apps BUT i do have Malwarebytes APP
and i dont even use my phone for browsing or even calling it always on airplane mode with wifi ON
so i dont thing is phone is infected
and do android by default saves Application logs ? OR Reboot Logs ? i really wanna dig up what APP triggered that SD card deletion
Any help will be appreciated :fingers-crossed:

Related

"Application is not installed on your phone" after moving apps to SD on Froyo

"Application is not installed on your phone" after moving apps to SD on Froyo
hey guys,
first of all i searched the forum but didn't find anything like my problem
(i run Froyo on non-rooted Nexus One)
so, i moved several apps to SD using that ADB command to change default install location from internal memory to SD. everything worked and apps were running smoothly. then my battery went dead during the night and when i switched the phone on in the morning i see icons with green robot for all those apps moved to SD. and if i try running them i get "application is not installed on your phone" error message. thou apps are still on the SD. it seems that my phone erased the part of the data of those apps stored in the internal memory.. which sucks.
anyone faced such a problem so far? i wonder if it's possible to solve without reinstalling all the apps..
many thx in advance.
Cheers.
It happened on my phone too, just removed battery for few minutes.
Looks like a bug.
dpds said:
hey guys,
first of all i searched the forum but didn't find anything like my problem
(i run Froyo on non-rooted Nexus One)
so, i moved several apps to SD using that ADB command to change default install location from internal memory to SD. everything worked and apps were running smoothly. then my battery went dead during the night and when i switched the phone on in the morning i see icons with green robot for all those apps moved to SD. and if i try running them i get "application is not installed on your phone" error message. thou apps are still on the SD. it seems that my phone erased the part of the data of those apps stored in the internal memory.. which sucks.
anyone faced such a problem so far? i wonder if it's possible to solve without reinstalling all the apps..
many thx in advance.
Cheers.
Click to expand...
Click to collapse
Forcing the apps to install to SD will break them. In order for applications to be successfully moved to the SD card in Froyo, they must have an appropriate flag set on them from the developer. If the application isn't updated with this flag, it will not work by default from the SD card.
The ADB command should work fine (I think) once all apps are updated, but until then it will just cause problems like what you're seeing.
codesplice said:
Forcing the apps to install to SD will break them. In order for applications to be successfully moved to the SD card in Froyo, they must have an appropriate flag set on them from the developer. If the application isn't updated with this flag, it will not work by default from the SD card.
The ADB command should work fine (I think) once all apps are updated, but until then it will just cause problems like what you're seeing.
Click to expand...
Click to collapse
What app in the market currently supports apps 2 sd?
ram130 said:
What app in the market currently supports apps 2 sd?
Click to expand...
Click to collapse
Not sure, as I'm currently unable to access the market (being deployed will do that). There is a thread on the subject though, which is here: http://forum.xda-developers.com/showthread.php?t=687659
codesplice said:
Not sure, as I'm currently unable to access the market (being deployed will do that). There is a thread on the subject though, which is here: http://forum.xda-developers.com/showthread.php?t=687659
Click to expand...
Click to collapse
THanks man!!
I set the installation location to SD via ADB and restored my apps via Titanium Backup. Here's what I found.
Apps will occasionly seem to have dissapeared (from App page + download page from the market) seems intermittent and seems to correct itself.
If you mount the SD card via USB then obviously your phone can't access the apps, after unmounting it takes a little time for the system to correct itself (my recommendation is to turn the screen off and on again).
Keep any widget app you are going to use on the phone's storage (i.e. install app, then move it back to phone via the 'applications' menu).
Shortcuts to apps will revert to a generic green/white robot icon, but they will still work (not when the SD card is mounted via usb though obviously).
Basically any application/live wallpapers or anything else that you expect to run live (constantly) should be moved to the phones memory.
bumskins said:
I set the installation location to SD via ADB and restored my apps via Titanium Backup. Here's what I found.
Apps will occasionly seem to have dissapeared (from App page + download page from the market) seems intermittent and seems to correct itself.
If you mount the SD card via USB then obviously your phone can't access the apps, after unmounting it takes a little time for the system to correct itself (my recommendation is to turn the screen off and on again).
Keep any widget app you are going to use on the phone's storage (i.e. install app, then move it back to phone via the 'applications' menu).
Shortcuts to apps will revert to a generic green/white robot icon, but they will still work (not when the SD card is mounted via usb though obviously).
Basically any application/live wallpapers or anything else that you expect to run live (constantly) should be moved to the phones memory.
Click to expand...
Click to collapse
This is how I've been using it, also when you reboot the phone, I give it a minute to calculate the applications on the SD card and load them into the phone memory. (Notice if you go to App settings while you can't access the application, they are all there and being "calculated."

[Q] need help..one of the worse conditions i have ever faced with my milestone

i used link2sd and linked market,astro,quickoffice and all the apps i have, my sdcard formatted automatically the problem starts here
i have lost android market, astro, quick office, and every single app on my phone please help
How do you know it is formatted? The phone doesn't show anything on SD? Did you try connecting it to PC and see if there is something out there?
Do you have a file browser app installed? Can you reach the SD with it?
anshsahajpal said:
i used link2sd and linked market,astro,quickoffice and all the apps i have, my sdcard formatted automatically the problem starts here
i have lost android market, astro, quick office, and every single app on my phone please help
Click to expand...
Click to collapse
If it is formatted then you could try connecting the SD card and using a file recovery app! Google 'recover formatted sd card' and you'll find plent of apps for it!

Expertise please HELP-SOLVED-

GTP1000 Rooted I'm using Install Manager, Android Assistant, Quick application Manager and Root explorer to shift all my application from the phone to the SD card unfortunately I figured out that I have only 200 MB remaining in my phone memory ! Only 4 programs installed on there as per of the previouse listed applications and the remaining on the SD card as it shows I start searching to figure out the problem using root explorer I found the root
Phone Memory/mnt/asec/secure/asec - 990 MB so I tried to move it to the SD card but once moved it will return back again to the same path!! Even if I tried to delete it will remain the same! also I found another root phone/mnt/asec -670 MB which has almost the same applications by all means using root explorer I cut& paste the first root to the SD card and reboot then only the installed programs in phone works and the other application icons disappeared I was shocked cause even trying to backup my mistake was a hectic work, by all means its again as it was and still facing the same problem any help
Solution
After fed up of finding any solution I start clear all the programs data manually at least to preserve some space and while clearing my phone explorer application data I shocked it was loaded with 1.53 GB!!!!! Don’t know where it came from!!! But finally my sole been relieved thanks for all the assistant been given by every one answered my query
Ok a few issues here....
1) You should be asking this in the Q&A forum, not the Dev forum, it has nothing to do with development
2) You don't need four third party apps to move your apps to sdcard. Apps2SD is a function of the android system. You can simply go into Settings->Manage Apps and then go into whatever app you want to move and press the button that says "Move to SD Card"
3) You really shouldn't be rooting around your phone deleting or moving stuff without a thorough understanding of Linux and Android.../mnt/asec/secure/asec is a symlink to .android_secure on your sdcard. Those files were not actually on your internal memory, just links to files on your sdcard.
4) Android will manage your internal memory as necessary...you really don't need to be worried about having only 200mb free. Once you run out it will start installing apps to your sdcard on its own.
At this point I think you're pretty fubar and will have to reinstall the apps then move them to SD if you so choose.
Dear thanks a lot for you respond also thanks to direct me to the proper channel to post my inquiry in, also thanks a lot for the advices and for the explanation but one more concern killing me, why once trying to install new application an red SD card icons appears on the tab upper left corner with memory full window listing that internal device memory is nearly full delete/uninstall some applications or data and try again! Any help
Internal Memory full
You must have a ton of data on your internal SD and that is why the icon appeared. Also, some apps cannot be moved to the external SD. I would go into your applications and see what is vital and what you can delete. Keep the internal SD as light as possible. External SD's can be expanded to 32 gbs (i have one and it works well)..so use that for all your data and for moveable apps. Remember to check which apps you can move and which must stay on the Internal SD.

[Q] Internal SD card not recognized CyanogenMod 7 nightly

I've just now flashed the latest Cyanogenmod 7 nightly on my O2X, and I'm experiencing a problem with my internal SD card.
Any app that want to use the internal SD card is unable to do so because supposedly the card is not mounted, while under Settings - Storage - Internal SD Card, it gives me an option to unmount the card. I've tried unmounting and mounting again, but that didn't do anything.
When I connect my phone to my laptop using USB, the only option I get is the USB Debugging (if I have that on). The only way to get the option to turn on USB storage is if I power off the phone, connect the USB and then power up the phone. That way I get the option to turn on USB storage, but when I do that, nothing happens on the computer or the phone.
If I reboot the phone in recovery mode, then I can select instal zip from internal sd card and then see the different folders on the card, but I have not dared to see if can actually flash Cyanogenmod again in fear of not being able to get any kind of contact with my sd card.
Now I realize that there are ways of fixing this issue, but is there a way that will help me keep the data I have on my internal sd card? I have a lot of information on it that I don't want to lose at all.
Even ideas of how I could backup the internal sd card so that I can just go crazy and format the card would highly appreciated! I've tried the Software Data Cable app, but that didn't work either.
Any help you can give me would be a major relief as I have been struggling with this problem through the night without much results.
Some info:
Before flash: Stock Gingerbread (Android 2.3.4)
Flashed ROM: CyanogenMod-7-20120313-NIGHTLY-p990 (Android 2.3.7)
Phone: LG Optimus 2X p990
No external SD card
Accessing internal storage
Go to settings - CyanogenMod Settings - Application
And check the Internal storage box.
If you have issues with some apps check the "allow moving.." as well
AND change the install location to internal. On automatic this should work anyway since you are not using an externalSD.
--- REMEMBER TO REBOOT---
If you are still having problems fix permissions and reflash the same nightly or a newer one. (data is not lost... dont wipe)
Dont think this applies to you.. but just in case.
If you still have issues with any apps and their settings. Delete the app data at the Application Manager. Then before opening/running the app, delete its associated folders on the sd. (You should be able to mount by now.) Reboot and things should be working fine. Dont worry about this last paragraph if you are not having issues with apps not saving data/starting/cant find sd card etc. Since you dont have a external SD.
Yeah, I found this out just two minutes ago, and now everything works! Thanks a lot elkhawkes!
Woah, I'm happy now!
I don't see why this isn't standard in CyanogenMod though. What are the benefits of "hiding" the internal SD card like that? Is it considered that people who flash CyanogenMod doesn't have anything useful on their internal SD, but rather the external one? At least for me, I had a lot of application data, pictures and text files I needed on the internal SD card.
Well, anyways, all is well for me now, so far...
Ok, I've noticed a problem.
You were right about some apps having problems. It seems like Whatsapp and SwiftKey is unable to save their stats. Message count and keystroke count returns to 0 every time I reboot. Its not the biggest problem, but it might be a symptom of a bigger problem, so I want to fix it.
I have tried all the different suggestions you mention for solving problems with apps, but none of them work. Even when I delete the Whatsapp folder on the internal SD card, the app still has problems saving its stats. I guess that might be because there are more Whatsapp files in one of the android folders on the card.
I was thinking that I might be able to do this sequence of things to fix it, but I'd like to get some confirmation that it might work and I won't brick my phone or will be having to buy and external SD card:
1. Copy everything on the internal SD card to my computer. (Already done!)
2. Re-flash the latest CyanogenMod nightly (and Google Apps) from the internal SD card using ROM Manager and delete all data cache, dalvik and so on.
3. Before installing any apps I go to Settings - CyanogenMod settings - Application and check Use internal storage. That way my internal SD card will be "visible".
4. Go to Settings - Storage and then selecting Erase SD card (note this is the internal SD card, I do not have an external card).
Questions:
- Will step 4. delete everything on the SD card, including all files in the Android folders?
- Will I still be able to use my phone with Cyanogenmod without having any files on the internal SD card (and no external card in the phone) or does flashing CyanogenMod or any other ROM on the phone install crucial files on the internal SD card? I want to know this for sure, because if I can't, then I will have no way of returning to a working ROM or flash a new one. I want to avoid a brick at all cost.
- Can I then start installing all the apps I want and then trying to copy only the folders containing for example the media and messages folders for Whatsapp back to the SD card to recover those on the fresh install?
** What about the Factory data reset option in CyanogenMod? Is that something I can use for this? Will the phone be reset to "factory" with CyanogenMod installed and no other old files on it, so that everything is fresh and I can install my apps and then copy media/backup folders to get the apps running without problems and with my old media?
Any help with this matter would be highly appreciated!
Testing7 said:
Questions:
- Will step 4. delete everything on the SD card, including all files in the Android folders?
Click to expand...
Click to collapse
Yes.
- Will I still be able to use my phone with Cyanogenmod without having any files on the internal SD card (and no external card in the phone) or does flashing CyanogenMod or any other ROM on the phone install crucial files on the internal SD card? I want to know this for sure, because if I can't, then I will have no way of returning to a working ROM or flash a new one. I want to avoid a brick at all cost.
Click to expand...
Click to collapse
Short answer: Yes. Long answer: No properly made Android version should depend on certain files being present on the SD-card. CM7 is a "proper" version.
- Can I then start installing all the apps I want and then trying to copy only the folders containing for example the media and messages folders for Whatsapp back to the SD card to recover those on the fresh install?
Click to expand...
Click to collapse
You should in most cases be able to do that, yes. You may run into trouble if you copy the data back after installing the app if it is running at the time. You may want to mount USB storage/copy data while in CWM to be sure that does not happen.
** What about the Factory data reset option in CyanogenMod? Is that something I can use for this? Will the phone be reset to "factory" with CyanogenMod installed and no other old files on it, so that everything is fresh and I can install my apps and then copy media/backup folders to get the apps running without problems and with my old media?
Click to expand...
Click to collapse
Yes, you should be able to do this. (Be aware that a factory reset, whether built-on or CWM, does not delete anything on the SDcard.) Some apps may initialize their external storage on the first start, some apps may find inconsistencies in the external data, especially if they use som kind of secure or encrypted storage, but that is probably not very common
Fix for apps
... Follow the steps in my post above and then uninstall the effected app, reboot and install again.
If you have backed up the whatsapp folder. Put it back on the sdcard before running the newly installed whatsapp and it should ask to import the backed up files.
- I think it only works if you place the files back before running the freshly installed app.
I`m guessing you might have tried this already. Hope this helps
Like Testing7 said, the files visible on the sd card are safe to delete but erasing the sd and factory resetting is probably not necessary. Personally I backup my important folders.. whatsapp etc on the pc regularly and erase the sd all the time. Its not really neccessary and I do this because I like to keep it clean and its just a "bad" habit from testing out different roms. The folders there are generally just clutter and also use a minimum amount of space, so really it is up to you. They do build up again pretty fast so dont worry about it.
- If you are still having problems... Just start from scratch again
# Backup - SMS and apps... I use Sms/app backup and restore... 2 separate apps on market (both free).
# Copy necessary folders and files to pc - then erase SD
# Recovery - Wipe cache, factory reset, Dalvik, battery stats ... on full battery
# Reflash nightly cm7
# Change all settings like in my first post and then reinstall all apps and backup files.
# And remember to restore files first before running the apps for the first time

How does Android MM, 'Use SD as internal memory' work, and how to prevent data loss?

Hi, I just upgraded yesterday my XT1068 to Android MM (Nexus Experience [http://goo.gl/Qc87Q7]).
And I was delighted to see the option to use my Samsung MicroSD card as internal memory. I installed all the apps I use frequently, restarted the phone and everything was fine till here.
I formatted my micro SD as internal memory, copied music, pictures and stuff using MTP to my SD, installed several apps and uninstalled some other that I didn't need anymore (Like 'Facebook Lite'). Wanted then to restart my phone to recovery mode, but it was restarting for ever and stuck with the rebooting animation, so I decided to press the power button for 3-5 sec to force shutdown the phone. But when my phone started again, everything I copied to the SD was gone, and files I removed were there again, apps like 'Facebook Lite' were mysteriously installed again as if I would have never uninstalled them.
In the launcher, all my icons and folders I organized, reverted to the positions and state I had before, last time I restarted my phone (before the forced restart when I lost the data).
What happened here? Looks somehow as if the partition table is being written back to the SD or phone memory when you are turning off the phone.. and remains in RAM during use.. Seriously?
Did such a thing happen to anybody else here? Is this how the new Android works? Every time your phone crashes or something, you'll loose all pictures and data that changed since last restart?..
Any information on this is highly appreciated.. Thanks.
similar
i have a similar situation with my sd card and my xt1063, at the beggining i choose the option which makes the sd to save files and media. today the phone turned off because the battery was empty, at the time that i tried to turn on the phone it says that the sd card need format and now when i connect the sd card to the pc it is in RAW format. i think that the new system for "initializating" sd cards is broken or something, or simply we have bad luck or else.
edit: i have stock android 6.0 retla
sorry for my english pls

Categories

Resources