So here's the case- I used the zero camera mod, and don't have a recovery backup before that point, although I have made a backup copy of the two files, which the mod replaces. Now I want to restore the original camera app, but I can't.
Here is what I have tried:
Manual replacement with root explorer, after setting the right permissions, and the app just disappeared from drawer. After that, tried wiping cache and dalvik-didn't help.
So next thing-replaced my original files with those from the zerocam zip and flashed them, again with wiping caches and fixing permissions, and again no luck....
Any ideas why the s##t isn't working, like it's supposed to, and how to get back the original camera app? I've done such things thousands of times on other phones, without any problems, and can't figure out what's the problem here....
Sent from my HTC One S using Tapatalk 2
Boot into recovery and replace the files through adb. You cant replace system apps while the system is running, in most cases.
Tried with the file manager of trwp - again, the app just disappeared... Fixing permissions and wiping caches didn't help either...
Sent from my HTC One S using Tapatalk 2
When I had the One X tegra3 (my first Android phone), someone wrote that he always "fix permission" (using recovery) after restoring apps using Titanium and never had a problem.
So I guess I'm wondering if "fix permission" is really an important step when restoring app backups.
Thanks!
fix permissions in twrp can help problems, i can rarely get it to work always get twrp soft reboots. sometimes i'll wipe cache and dalvik first then try to fix permissions and it'll soft reboot, or i'll have to mount/unmount cache,data,system and try again. i haven't found a sure fire way for twrp to fix permissions anymore.
Hi everyone,
I have been using my nexus 5 since 4-5 days now and everything was working fine till last night when whatsapp started giving me errors (unfortunately app has been closed). I uninstalled whatsapp and when I am trying to re install it, its now giving me error "unknown error code on application install -24"
I have tried installing via apk, playstore's website, cleared the cache and data of playstore app, rebooted phone but nothing works.
I am hesitant to root my nexus 5 as there is no official recovery available and people are having issues when rooting the device and I cannot afford to have an unstable phone. Hard reset is an option but I would like to avoid it if possible. I have read that if I delete the related whatsapp folder from data/data folder somehow then it will fix the issue. Is there any way I could access and delete that folder without being rooted or if someone has any other solution to my problem.
Any help is much appreciated
Kamran9558 said:
Hi everyone,
I have been using my nexus 5 since 4-5 days now and everything was working fine till last night when whatsapp started giving me errors (unfortunately app has been closed). I uninstalled whatsapp and when I am trying to re install it, its now giving me error "unknown error code on application install -24"
I have tried installing via apk, playstore's website, cleared the cache and data of playstore app, rebooted phone but nothing works.
I am hesitant to root my nexus 5 as there is no official recovery available and people are having issues when rooting the device and I cannot afford to have an unstable phone. Hard reset is an option but I would like to avoid it if possible. I have read that if I delete the related whatsapp folder from data/data folder somehow then it will fix the issue. Is there any way I could access and delete that folder without being rooted or if someone has any other solution to my problem.
Any help is much appreciated
Click to expand...
Click to collapse
Same thing happened to me, Did you enable ART? Because that's what caused my errors (force closing). After switching back to Dalvik and trying to re-install, i was getting -24 error on the play store. I rebooted a few times and left it for a few hours. Tried again and it worked.
Whatsapp is i believe in-compatible with ART.
ronilzizou said:
Same thing happened to me, Did you enable ART? Because that's what caused my errors (force closing). After switching back to Dalvik and trying to re-install, i was getting -24 error on the play store. I rebooted a few times and left it for a few hours. Tried again and it worked.
Whatsapp is i believe in-compatible with ART.
Click to expand...
Click to collapse
Yes, I switched to ART . I went back to Dalvik and tried installing it but it still didnt work
Kamran9558 said:
Yes, I switched to ART . I went back to Dalvik and tried installing it but it still didnt work
Click to expand...
Click to collapse
Okay, As for as i know, it did fix itself when i rebooted a few times and after a while it just worked.
Things i also tried that might have helped. Clear cache for the playstore which you tried. i would do this again after you switched back to Dalvik. and make sure whatsapp is uninstalled before switching to Dalvik. Once you switch back and have cleared cache from the playstore, try to re-install Whatsapp.
As for the backup, on your phone is a whatsapp folder that has a backup of your messages and photos etc. When you re-install whatsapp it'll pick that up and restore your stuff. There is no need to delete that folder.
I Hope that fixes it for you.
ronilzizou said:
Okay, As for as i know, it did fix itself when i rebooted a few times and after a while it just worked.
Things i also tried that might have helped. Clear cache for the playstore which you tried. i would do this again after you switched back to Dalvik. and make sure whatsapp is uninstalled before switching to Dalvik. Once you switch back and have cleared cache from the playstore, try to re-install Whatsapp.
As for the backup, on your phone is a whatsapp folder that has a backup of your messages and photos etc. When you re-install whatsapp it'll pick that up and restore your stuff. There is no need to delete that folder.
I Hope that fixes it for you.
Click to expand...
Click to collapse
Ok, Here is what I did.
After switching back to Dalvik I rebooted the phone couple of times, Cleared the data and cache of playstore app then tried downloading again but still the same error
Kamran9558 said:
Ok, Here is what I did.
After switching back to Dalvik I rebooted the phone couple of times, Cleared the data and cache of playstore app then tried downloading again but still the same error
Click to expand...
Click to collapse
Right so far thats what i did, and thats exactly what happened to me. I just left it for a few hours and tried again it worked. Just give it a few hours and re-try / reboot and re-try.
It didnt work. I had to factory reset my phone eventually and wasted my evening doing all the restores, I wish Android had a seamless backup system something like that of Apple's. Helium/Titanium/mybackup, all of them have some kind of flaws
Kamran9558 said:
It didnt work. I had to factory reset my phone eventually and wasted my evening doing all the restores, I wish Android had a seamless backup system something like that of Apple's. Helium/Titanium/mybackup, all of them have some kind of flaws
Click to expand...
Click to collapse
Than you are not using TB or Helium as you should bro, app and data restoring always worked perfectly for me
gee2012 said:
Than you are not using TB or Helium as you should bro, app and data restoring always worked perfectly for me
Click to expand...
Click to collapse
I am not rooted at the moment so TB wasnt really an option. Helium works fine only for apps and their data but I am looking for something that can restore my phone exactly how it was before the reset including home screens, settings etc without being rooted.
Kamran9558 said:
I am not rooted at the moment so TB wasnt really an option. Helium works fine only for apps and their data but I am looking for something that can restore my phone exactly how it was before the reset including home screens, settings etc without being rooted.
Click to expand...
Click to collapse
That what you are looking for would be a nandroid backup made in a custom recovery, that restores everything. But not possible without root.
Hi,
I have the same problem. Error -24 if I want to install Whatsapp from Google Play Store. Local installation after downloading the APK from Whatsapp gives also an error (app not installed).
Tried several times to delete the cache and setting of the Play Store app and the Google Framework. Followed by restarts of the phone. Until now I was NOT succesful.
As far as I read on other forums, the problem is, that in data/data/ already exists a Whatsapp-directory and therefore Whatsapp doesn't want to install. You could delete this directory, but only if you are rooted. I avoided this step until now, because it's a new phone with warranty and after rooting, all data ist wiped.
I also tried adb to delete this directory, but same effect. Because the phone is not rooted, I can't remove this directory by remote shell.
Is there no way to clean up such remains WITHOUT root?
Greets,
scuba4436
Hi, did a quick search but couldn't find anything.
I experienced something very strange and depressing this morning. Running AOSPA 4.1 beta, I experienced a bug with pie that locked my phone up after rotating it while pie was active. Only way I could find out of it was to hold the power button until it rebooted the phone.
When my phone booted back up, I was greeted with the message "System UIDs Inconsistent." All of my gapps started force closing at random times and ALL OF MY APP DATA was gone. All of my apps were still there, just all of the data was gone so every time I opened one, it was like the first time it has ever been launched. It's like a factory reset was performed but all of my user apps are still installed.
I wiped system and reinstalled the rom and gapps hoping to solve it but it didn't fix anything. Used Titanium Backup to try to restore the backed up system ID but it said the current ID matches what's backed up. I then ran fix permissions in TWRP and that fixed the UID message and gapps force closing but my app data is still gone.
I'm hoping the data is still there, just inactive/hidden. My free space on SD seems to be a GB or 2 lower than before the problem but it's been a few days since I checked that so it might be the same as before the issue.
My last backup with Titanium was a few weeks ago so I'm really trying to avoid restoring that if there is some other solution to restore the app data if it's still there. All that Swordigo progress gone with only the final boss to go!
Any help is greatly appreciated.
Have you tried browsing the app data to see what's there?
I've had similar things happen across multiple devices and typically only a restore has helped.
Sent from my Nexus 5 using Tapatalk
The data/data folder has a folder for each of my apps but all that's in most of them is a cache folder or lib file but nothing else. I guess it's just gone.
Sent from my Nexus 5 using Tapatalk
Try fix permissions in recovery.
El Daddy said:
Try fix permissions in recovery.
Click to expand...
Click to collapse
Fix permissions solved the UID error but didn't fix the issue with the apps having no data.
I haven't got my n5 yet but on pure stock on my nexus 4 I had a forced reboot (do have a custom kernel) and all my Google app data was gone (account, music, ect...) I think it has something to do with fsync being off possibly?
Sent from my Nexus 4 using Tapatalk
I just gave up and restored to an old backup. Lesson learned... Auto backup now enabled.
Sent from my Nexus 5 using Tapatalk
I have a known problem. My device won't boot, apps all crash because of a file permissions error.
I replaced system/etc/permissions/ platform.xml
I tried to re-enable the original the simple way, using a root explorer, but permissions to write are.. well corrupted. This is causing all system services to fail at boot and the tablet to crash. Basically it looks like I'm stuck with trying to repair it from recovery, or download mode (Odin) and I do not have a custom recovery installed, stock only.
UPDATE:
I now have Phil-Z recovery and Aroma File Manager. I replaced the platform.xml with the original file. Still, System is crashing on boot with several crashed app dialogs.
Seems I fixed what should have been the problem, but the problem persists.. help?
Solved
I did a factory reset after making a Nandroid backup then restored select apps with Nandroid Manager APK.