Related
So I tried to restore my phone multiple times from two different recoveries and every time it stops during it and the screen goes black and the only way to turn my phone on is to pull the battery. Everything but the .android-secure restores and I now have about 200 hundred apps that aren't installed on my phone and I don't want to have to go through all that again, the apps still show as installed on my phone, but the the data on my SD card is missing, does anyone know how I can get this back?
Did you actually wipe your.android_secure folder?
Sent.
No, I never wiped it. After I restored my phone it was empty
Did you ever try to move 200?? apps to sd?
Sent.
Yes all the apps were on my SD card already. But they were moved over one by one so it wasn't a major hassle. I tried doing it through TWRP now and it won't restore at all anything that is.
Joey121215 said:
No, I never wiped it. After I restored my phone it was empty
Click to expand...
Click to collapse
Also, did you ever flash some kind of superwipe .zip file or anything? Do you have titanium backups? Do you have a TWRP Nandroid?
Sent.
Joey121215 said:
Yes all the apps were on my SD card already. But they were moved over one by one so it wasn't a major hassle. I tried doing it through TWRP now and it won't restore at all anything that is.
Click to expand...
Click to collapse
Is your Sdcard partitioned, and, if so, are you running a ROM that supports A2SD?
Sent.
No I never did a superwipe or anything of the sort, I didn't have any Titanium Backups either, never planned on flashing a new ROM, still haven't. The backup was through CWM the newest update 4.0.1.5 I tried restoring through that and the Revolutionary 4.0.1.4, neither worked. I moved all the recovery files over to TWRPs backup location and they none of the partitions would restore. My SD is not partitioned and I'm on a rooted stock ROM. I'm only talking about regular App2SD apps that are supported by Android, like Angry Birds and Google Earth.
Joey121215 said:
No I never did a superwipe or anything of the sort, I didn't have any Titanium Backups either, never planned on flashing a new ROM, still haven't. The backup was through CWM the newest update 4.0.1.5 I tried restoring through that and the Revolutionary 4.0.1.4, neither worked. I moved all the recovery files over to TWRPs backup location and they none of the partitions would restore. My SD is not partitioned and I'm on a rooted stock ROM. I'm only talking about regular App2SD apps that are supported by Android, like Angry Birds and Google Earth.
Click to expand...
Click to collapse
Those go straight to your secure folder. I don't ever use CWM, as a rule, but it seems that somehow your CWM Nandroid didn't include that folder...I don't know how it got wiped, but my guess is that whatever rom you flashed included a Superwipe script,which would've wiped that folder. (another thing I don't use-Superwipe) If you go in with root explorer or whatever file manager, you can manually verify that a) your secure folder is empty (which it sounds like you've done), and also check under your /clockworkmod recovery folders to see if you actually have a backup for the secure folder.
If it's not there, then, unfortunately it's lost.. You can get the apps back from the market, though.. PM me if you have any 'hard to come by' apps you might need that don't show up on the market.
Good luck.
Sent.
I never flashed a ROM. . . at all. There was definitely no super wipe. My CWM folder has the .android-secure.IMG, I just want to find a way to get this readded. Thanks for the help
Joey121215 said:
I never flashed a ROM. . . at all. There was definitely no super wipe. My CWM folder has the .android-secure.IMG, I just want to find a way to get this readded. Thanks for the help
Click to expand...
Click to collapse
Then the same version of cwm should restore it. Get in touch with Koush from teamdouche/cyanogenmod, the creator of CWM if you're having issues.
Sent.
How can I get in touch with him exactly?
Joey121215 said:
So I tried to restore my phone multiple times from two different recoveries and every time it stops during it and the screen goes black and the only way to turn my phone on is to pull the battery. Everything but the .android-secure restores and I now have about 200 hundred apps that aren't installed on my phone and I don't want to have to go through all that again, the apps still show as installed on my phone, but the the data on my SD card is missing, does anyone know how I can get this back?
Click to expand...
Click to collapse
OK so what recovery did you make the backup? I don't think TWRP backup work in CWM. Also, you don't even NEED to restore the .img you're talking about. You can restore boot, system, data, and it should boot. If you need your apps back, download them. Then back them up with titanium backup. Koushik can be found in #cyanogenmod-dev on freenode, but I don't think you need to bug him. It sounds like your phone boots right? If you need more help come into our d3rp thread, linked in my sig.
Thanks, yeah I decided to just reset my phone anyway, to fix the black screen of death and everything. Just sucks I can't remember what all my apps were and I'm like a hundred short now
READ AT THE END OF THIS POST FOR THE SOLUTION
I accidentally used Titanium Backup's widget to frost all system and user apps, leaving mi phone in a infinite boot animation loop. I dont have aNandroid Backup and I would really love to solve this issue without flashing.
I found at Titanium Backup's troubleshooting webpage that I could use this command with adb to solve my issue:
Code:
Type the following command (replace with /dbdata/system/packages.xml if you have a Samsung phone):
busybox sed -n 's/<package name="\([^"]\+\)".*enabled="false".*/\1/p' /data/system/packages.xml | while read PKG; do pm enable "$PKG"; done
but it just says: No such file or directory (yes, I changed /data to /dbdata as stated in the webpage)
Any idea on how to solve this issue?
Thank you!
**EDIT:
This is the way I managed to get my phone working again without having to flash or wipe:
1. Boot in recovery mode and used adb pull command to extract "packages.xml" and "packages-more-backup.xml" from /data/system/
2. Open both files with Wordpad and replaced all protection="2" or "3" lines to protection="1".
3. Also, and very important, replaced all enabled="false" lines to enabled="true"
4. Boot in recovery again and used adb to delete old "packages.xml" and "packages-more-backup.xml" files and push the new ones.
5. Reboot and Voila!
6. Boot once again in recovery mode and fix permissions to avoid any problem.
Hope that this could be usefull to someone else having this horrible problem.
Thank you all!
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
nitox.n2o said:
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
Click to expand...
Click to collapse
I tried with /data too but same result.
shadow65781 said:
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I know I could do that but I would really like to restore my system as it was
Help please
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Simba501 said:
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
Click to expand...
Click to collapse
Pretty sure that's not gonna work because the frozen apps settings are at packages.xml file, but I can't access it I don't know why
jhermit said:
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Click to expand...
Click to collapse
I tried doing that right now but it didn't worked
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
shokuchi said:
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
Click to expand...
Click to collapse
Wrong forum dude
Sent from my Zanpakuto using Getsuga Tensho!
<deleted>
ZIP for unfreezing apps
For those, who accidentally frozen important system app: here quick solution without factory reset, reflashing and ADB
It automatically edits files as described in first post.
You should have unlocked bootloader. If no, ZIP useless because unlocking wipes all data.
Download both ZIP's and just flash them via custom recovery (TWRP / CWM)
If first throws error try second and vice versa. 2nd with mark "New" contains newer updater-binary that must be compatible with recent TWRP.
Then all apps will be unfrozen, so phone will boot.
Fix compatible with all Android versions.
Note: also you can somehow (ADB or filemanager in TWRP) delete file /data/system/0/package-restrictions.xml
More correct to edit that file which ZIP actually do, but deleting not harmful too.
tags: unfroze apps, auto-unfroze, defrost apps, unfreeze apps, 5596
Bonoboo said:
For those, who accidentally frozen system app there is quicker solution without factory reset and ADB.
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen.
Compatible with all Android versions.
Click to expand...
Click to collapse
THANKS MAN!! i just signed up to say thanks! you just saved my life :highfive:
Bonoboo said:
For those, who accidentally frozen system app here quicker solution without factory reset and ADB
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen, so phone will boot.
Compatible with all Android versions.
tags: unfroze apps, auto-unfroze
Click to expand...
Click to collapse
Thanks very much for the zip. It worked great
Same Problem
Does anyone have an updated version of that zip? I also froze an app linked to the device and it won't boot, even after factory resetting it. Tried running the zip on my t-mobile GS4 (probably newer than that zip) from the SD card in recovery mode, however it didn't unfreeze it.
Any help greatly appreciated!
pianoplayer55 said:
Does anyone have an updated version of that zip?
I also froze an app linked to the device and it won't boot, even after factory resetting it.
Click to expand...
Click to collapse
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Bonoboo said:
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Click to expand...
Click to collapse
Yup, unfortunately I did select wipe data on the recovery screen. I am also stuck in an infinite boot up loop and cannot access the phone to install any apps. How can I use a custom recovery to run the zip file if i cannot access the phone? Instructions much appreciated. Thanks again.
pianoplayer55 said:
How can I use a custom recovery to run the zip file if i cannot access the phone?
Click to expand...
Click to collapse
ZIP – it's not app.
Again, you need to install custom recovery.
Here link to TWRP and how install it via Odin on PC.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Bonoboo said:
ZIP – it's not app.
Again, you need to install custom recovery.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Click to expand...
Click to collapse
Downloaded TWRP with Odin and ran custom recovery without a change after the zip (this must have been a deeper-rooted problem in the OS itself), however in the meantime I formatted the system partition, removing the operating system. Installed Kies and ran the update. It reinstalled the OS and I'm good now. Most stuff was backed up anyways. Thanks guys for your time :good::good:
Which apk is the culprit?
Man, I wish I'd found this thread before restoring my phones internal ROM. Had it rooted and set up in every way I like except removing bloatware.
Using TB, I froze a system apk that shut down my System UI and sent the phone bootlooping. What I'm trying to determine is WHICH apk(s) I froze that caused this. I thought I had researched each one that didn't seem obvious, but I musta missed one or one of the 'obvious' ones wasn't so obvious.
delete
I am experiencing the same issues. I assume you have this problem with ICS roms, because that's where I get those problems. I am currently running WEUI and half my apps are not at all working. I have also flashed back to stock, tried ICS Slim and MIUI v4, but no luck. I am also getting issues, while listening to music, where the song will keep on playing, but the app will ask me if I want to FC or wait. This has only happened recently. I really do not feel like going back to 2.2 or 2.3. Any help is greatly appreciated
Have you guys tried fixing the permissions?
That usually fixes most force close problems.
Xenoism said:
Have you guys tried fixing the permissions?
That usually fixes most force close problems.
Click to expand...
Click to collapse
Tried it, but no luck. Only option now is to flash a different ics rom, and see if that works. If all else fails I can always go back to bionix.
2 questions:
1 Can you see your internalSD with a file explorer?
2 Did you try wiping /cache and /dalvik-cache and rebooting?
I find a good wipe cure many things wrong (with my phone too )
Woodrube said:
2 questions:
1 Can you see your internalSD with a file explorer?
2 Did you try wiping /cache and /dalvik-cache and rebooting?
I find a good wipe cure many things wrong (with my phone too )
Click to expand...
Click to collapse
1. Yes
2. Yes, usually before I flash a different rom/reflash rom to try and fix this I wipe data and wipe cache patition and dalvik cache.
OK. The first question was to make sure you still had access to your internal and not sole sort of veiled encryption error.
Let me think about somethings and ill get back to you. I am wondering if it wouldn't be a bad idea to format /data and /system to make sure that you don't have any ghosts lurking. If you do, make sure you back up SDs contents to PC just in case.
Woodrube said:
OK. The first question was to make sure you still had access to your internal and not sole sort of veiled encryption error.
Let me think about somethings and ill get back to you. I am wondering if it wouldn't be a bad idea to format /data and /system to make sure that you don't have any ghosts lurking. If you do, make sure you back up SDs contents to PC just in case.
Click to expand...
Click to collapse
All those apps are still force closing on 2.2. Could it be, because I'm restoring them from titanium backup?
I'll try to backup SD onto my Computer and then format sd. It's probably some ghost file that is causing my phone to have errors. It probably is a file that has to do with MIUI since I flashed that as it happened.
Btw thanks for trying to help
Edit: I formatted sd card, put all the files back onto sd card, restored apps with tiatnium backup, but still no luck. I even factory reset,wiped cache and dalvik cache after formatting sd, but still no luck.
Thanks everyone for trying to help. I figued out the problem. Titanium backup was causing all those apps to have issues. I uninstalled all user apps via tb and download them from the market. I am getting no force close what so ever, with dl apps from market.
Usually when that happens from TB, it is from restoring system files (they show in red in the TB list of apps).
I use it to restore user apps + data every time I flash a new ROM, but I never use it to restore system apps, and I don't have any problems with it.
Since you've already restored from the market, you could try running TB and deleting it's backup data and then running a new batch backup of user apps (and no system apps) to have the freshest copy of your apps from a working system. That should allow you to restore in the future, hopefully without issue.
Sent from my SGH-T959 using xda premium
This could be a problem with using TB. TB gives you the option of restoring apps+data. If you're coming from a 2.2 rom to 4.0, you don't want to keep the data from a 2.2 rom. What you can do is restore apps without the data. That should solve your problem.
For instance, I delete most of the notification and ringtones that come with a mod. In fact, I've deleted all of them. I've achieved this using Root Explorer with RW enabled.
But when I go into Settings > Sound > Ringtone\Notification, some names show up. I've tried deleting cache, etc. But no matter how many times I do this the names show up; even after restarting my phone.
2 vanished somehow, but I still have 1 left. Specifically it's called "Teleport". There's no real file and no sound to play from. So when I highlight it, it doesn't play, because I've deleted it. I just want the name gone. The nonexistent files don't show up in any music list or even in file manager such as Root Explorer.
It's been like this for a while. How can I fix this? Any apps, tricks or something?
CM7/S-Off
You could try unzipping the rom, removing unwanted files and then rezipping it.
ovar said:
You could try unzipping the rom, removing unwanted files and then rezipping it.
Click to expand...
Click to collapse
Wouldn't that usually mess with the MD5 sum and make it corrupt? I could do that, but I'd have to install the rom again over a factory reset.
Hayzie said:
Wouldn't that usually mess with the MD5 sum and make it corrupt? I could do that, but I'd have to install the rom again over a factory reset.
Click to expand...
Click to collapse
So don't unzip, use winrar and just delete the files
I suppose.
I think I'm going to update to the latest CM7 rom, as mine is months old. So I'll just do that for the new rom.
Just a few quick thoughts...Have u tried clearing dalvik cache in recovery? Also if u are flashing the same/similar ROM u may not need to do factory reset / wipe data. Though u may need to clear data for Media Storage (and possibly wipe dalvik) before flashing so it has to recreate it after flashing the new ROM.
Odd little problem u have there. Could be worth while to just flash a clean rom and try deleting the files to see if it still happens. Also, u could always delete them from rom before flashing and then try to only restore data from a backup. Kinda doubt that would work but if all else fails.....
Sent from my Little Engine That Could using XDA App
DocHoliday77 said:
Just a few quick thoughts...Have u tried clearing dalvik cache in recovery? Also if u are flashing the same/similar ROM u may not need to do factory reset / wipe data. Though u may need to clear data for Media Storage (and possibly wipe dalvik) before flashing so it has to recreate it after flashing the new ROM.
Odd little problem u have there. Could be worth while to just flash a clean rom and try deleting the files to see if it still happens. Also, u could always delete them from rom before flashing and then try to only restore data from a backup. Kinda doubt that would work but if all else fails.....
Sent from my Little Engine That Could using XDA App
Click to expand...
Click to collapse
Yes, sir (sir?). I have done that as well. No luck.
I deleted the ringtones/notifications in the latest CM7 RC2 released on May 9th before flashing on a full wipe and it worked, but unfortunately the rom kept freezing and restarting so I went back to my nandroid backup. No matter how many wipes and cleans I do on this, plus fixing persmissions etc, nothing works. It's no big deal, really. It just bothers me because I've got OCD and I refuse to believe it's there, therefore not allowing me to pick what I really want (maybe I'm stupid about it that way).
I'm just going to wait until there's a stable release and just start over from there by getting rid of the ringtone/notifications in the rar.
Thanks!
This error is still not answered on the forums so im starting a new thread.
i get the error as the title.
sd card space is not the problem.
i tried formatting the sd card.
i have less than 50 apps installed.
wiped dalvik cache, and all other sorts people say on other posts.
(my phone is LG P936 so "fix permission" screws up the phone. all text disappears)
have latest cwm recovery.
and still get the error.
any answers please?
and please dont reply if you are going to write an opinion.
only answers please.
sorry for my rude behaviour but I'm sick and tired of reading posts full of opinions and "maybe"s.
Not sure if you ever got this fixed but I 'm suffering from the same error. I tried pretty much everything you tried (even fix permissions) and I have about 20GB free on my SD card so space shouldn't be an issue. I have not yet tried formatting the SD card since it has always worked and CWM is able to write to it because the following files are created:
- boot.img
- data.ext3.tar
- recovery.img
- system.ext3.tar
The files that are missing are (based on older backups):
- .android_secure.vfat.tar
- cache.ext3.tar (probably because I wiped it first?)
- nandroid.md5
I have attached the log from CWM in the hopes that someone can tell me what is wrong. The error occurs at the end of the progress bar of 'backing up /data'.
hey just use TWRP Recovery. It's way better than CWM. normal backup on cwm took me like an hour but twrp was never longer than 10minutes.
Today I have formatted the SD card and tried again, but as expected it did not change anything.
ceoleaders said:
hey just use TWRP Recovery. It's way better than CWM. normal backup on cwm took me like an hour but twrp was never longer than 10minutes.
Click to expand...
Click to collapse
I guess I will give this a try. Can I just install it over CWM or can they run side by side?
different reciveries cannot be run side by side as they are installed on a different partition. so it will always be installed over your current one.
ceoleaders said:
different reciveries cannot be run side by side as they are installed on a different partition. so it will always be installed over your current one.
Click to expand...
Click to collapse
Well, I tried TWRP and it also fails at backing up my data partition. The log is a bit more clear though and it seems to get stuck on "/data/data/com.android.vending/cache/images" which is the last line before it gives an error. I checked the "images" folder and it seems empty but I cannot delete it. Tried ES File Explorer and Terminal Emulator but no way to get rid of it. The folder appears to be related to Google Play, so I cleared all data and cache from Google Play, even uninstalled the updates but there 's simply no way to get rid of it. I 'm not sure if this is the reason why the backup fails, but I CAN copy the folder and even rename it.
Pff looks like I 'm going to have to do a clean install after all .
Hello, I too have this problem and unfortunately TWRP is not available for my phone.
I used to be able to do CWM backups fine on my old phone, and they work great on my tablet. But they consistently fail at "/data" on my Galaxy Ace II x. Might it be because I'm using Link2SD? I don't see why that would cause a problem, but maybe it's having trouble with the symlinks?
Hmm. Seems the issue was that, despite having only 1.28 GB total available storage space on stock, the backups wanted more than 4 GB. Cleared some room on my microSD card and suddenly backups worked fine! Of course, shortly after I installed CyanogenMod, which has much smaller backups...
Sent from my GT-S7560M using Tapatalk 4
I forgot to report back here but the only way I found to fix the problem was by doing a clean install. After that, I was able to backup my data partition again. I then restored my apps ' data with TB and was unable to backup the data partition again. I 'm guessing one of my apps had corrupt data, but never got to find out which one it was.
maybe your partition not match with recovery, like something wrong vold.fstab
Just in case anyone still wants to know how to fix this, I managed to solve it by running these commands:
1. run adb shell in recovery.
2. unmount data partition (umount /dev/block/mmcblk0p26). -> this one failed so I skipped it
3. run e2fsck /dev/block/mmcblk0p26
See http://forum.xda-developers.com/showpost.php?p=48659092&postcount=868 for original post.
I got a few HTREE errors and a bunch of duplicate names which I renamed when prompted. Booted the phone and rebooted into TWRP and now I am able to backup my data partition again. :good:
EDIT: Problem reappeared so I tried the above commands again but it said that the filesystem was clean. Ran 'e2fsck -f /dev/block/mmcblk0p26' instead and had to fix a bunch of HTREE errors from Facebook again and duplicate names from Xprivacy but now I 'm able to backup my data partition again.
Dude just selest the backup format as both zip and tar filea