Hi guys, I have problem with this tablet. Before Froyo update, it was very slow and some features like Adobe Flash 10.1 wasn't working. After the update, at start everything worked fine, but after few weeks of usage it started to freeze, more and more often.
I tried several things like:
- uninstalling latest apps, didn't help
- resetting to factory defaults, didn't help
- once again updating firmware, did help, BUT
After reinstalling latest update, everything was fine in couple of weeks, but freezing starting again, with smaller and smaller time periods between freezing. Once again, I reinstalled latest update, but this time it didn't help
So guys, what to do? Wipe Dalvik cache? How to do that on unrooted device? Something else?
Thank you in advance!
You have to root to wipe Dalvik cache, but an alternative is just to contact Creative.
Creative support is infamous... I expected that root is needed for clearing Dalvik cache, but was wandering if there is another way?
Sent from my GT-I9000 using XDA App
Depends on the location of your dalvik-cache, it is usually not accessable without root.
You could use the app in my signature (SD Maid) or any other explorer tool and try to see if you can access your dalvik-cache folder without root. But i doubt it.
Thank you very much, I will try it and will leave back feedback.
Unfortunately, SD Maid is not much of a help without root access. I couldn't clear Dalvik cache within. Is there some way to track system events, and to find out exactly which task is responsible for freezing, or at least to have log with list of active tasks done periodically?
Related
Hi, I have a Samsung Admire and have been using Adfree perfectly fine before. However, after upgrading Android from 2.3.4 to 2.3.6 to fix the WIFI error, I can't seem to get Adfree to work again.
I get the following error message when trying to install the Hosts:
java.io.IOException: Error running exec(). Command: [su] Working Directory: null Environment: null
How do I get this app to work again?
Uninstall & reinstall. Try to clear cache & dalvik cache in recovery. Worst case scenario, I think, is to wipe everything and install from scratch.
post-mortem said:
Uninstall & reinstall. Try to clear cache & dalvik cache in recovery. Worst case scenario, I think, is to wipe everything and install from scratch.
Click to expand...
Click to collapse
I tried uninstalling, reinstalling, and wiping cache in recovery before, but to no avail. I didn't try wiping dalvik cache before. After uninstalling, wiping out cache and dalvik cache in recovery, and reinstalling, the error is still there.
I am not sure what you mean by "wipe everything and install from scratch". I would understand how to do that if it was on my PC, but not on my smartphone.
By that I meant, as a last-resort option, to completely wipe everything as if you're gonna flash a new ROM. Format everything through recovery, flash ROM, kernel (if applicable), gapps, whatever else. Then set up your google acct. & restore apps from titanium backup, or reinstall all apps from scratch.
BTW, you shouldn't restore Adfree, it should definitely be installed fresh from Google Play.
post-mortem said:
By that I meant, as a last-resort option, to completely wipe everything as if you're gonna flash a new ROM. Format everything through recovery, flash ROM, kernel (if applicable), gapps, whatever else. Then set up your google acct. & restore apps from titanium backup, or reinstall all apps from scratch.
BTW, you shouldn't restore Adfree, it should definitely be installed fresh from Google Play.
Click to expand...
Click to collapse
As much as I would like to give your method a try, it seems too complicated to do. First of all, I never format my phone before. Even though I know how to format a PC, doing the same thing on the phone seems to be new and unfamiliar to me.
Second of all, it seems to be quite a lot of troubles just to fix that error. I wonder if there is a manual method of removing the ads.
Ok, just to be sure you don't have a problem with su, go into the Superuser app, check for updates, and force an update even if there's no new version (it also makes sure the file has the proper permissions).
post-mortem said:
Ok, just to be sure you don't have a problem with su, go into the Superuser app, check for updates, and force an update even if there's no new version (it also makes sure the file has the proper permissions).
Click to expand...
Click to collapse
Yay! That was the problem. Thank you so much! Wow, AdFree app didn't get rid of most of the ads as it used to, but oh, well...it is better than nothing.
Ok so. Yesterday I was testing around some new games. When I installed a shooter game that I found Panda Mobile Security recognized it as a generic virus so I uninstalled the app just like the antivirus told me to. Then after some time playing the other games I had found I noticed that most of the UI sounds were not working.(like when i tap somewhere the usual "tick" doesn't hear or when I type my PIN in the reboot I dont hear the "tick" either. So I tried to reboot hoping that would fix it but it didn't help me at all. At last I decided to reflash my ROM without wipes and I was sure that was gonna fix that. After reflashing my ROM again, wiping cache, dalvik cache and fixing permissions nothing happened at all. Then I tried wiping only /data in CWM and wiping cache, dalvik cache and fixing permissions and thus time when I rebooted the sound was back!!!! So the "file" causing this problem is in /data. Any suggestions? Help please
I think I should also mention that the other sounds(like in games and music) is perfectly fine and I'm running CM9 4.0.4.
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
Yes, this is a straight-forward fail - I am running a CM13-based ROM and flashed a nightly build (has been redrawn meanwhile) onto my N5 without backing up first. Right after the first reboot, I received a "Play Services has stopped working" error message and this keeps appearing all the time. Additionally, the Google Now Launcher has disappeared from my launcher list - and of course, all the Play Services-dependent features don't work, i.e. Chrome, Contacts sync, Play Store and so on. So, my phone basically is useless.
I suspect all the problems arise from the non-working Play Services. I managed to uninstall them after deactivating the Android Device Manager and re-installed the latest version, but this didn't fix the problem. Is there anything else I can try? Or is there no way around a complete wipe?
have u flashed Gapps?
Tried it, but didn't help either. I'll just go for a full wipe now. But thank you for answering!
YassinTP said:
Tried it, but didn't help either. I'll just go for a full wipe now. But thank you for answering!
Click to expand...
Click to collapse
try clearing Cache and dalvik cache and then delete the host file from "etc" folder!
I should've tried deleting the host file. Wiping Dalvik and Cache didn't work before...
Anyway, I took the opportunity, put my 32GB mainboard in and set up everything from scratch.
Are you using amplify?
No, I didn't use that.
Hi, I'm kinda at my wit's end with this problem that I'm currently facing and would very much appreciate some help. For some background, I'm on a Oneplus 7 Pro running stock firmware (OOS 11.0.7.1). I originally was planning on installing a Magisk module to spoof my device (Pixelify) to gain Pixel features. I noticed that one of the features was patching over the Android System Intelligence. It didn't work out the way I was expecting and I decided to uninstall the module. That went fine, but I wanted to make sure I was on the correct version of Android System Intelligence as well, so afterwards, I went into settings and "uninstalled all updates" to the app, which I assumed would have reset that particular app back to the version that originally shipped with the device.
Now, here's where the problem began. I restarted my device and I ended up sitting on the boot animation screen for over 20 mins. At that point, I knew something was wrong as it still hadn't booted into the system yet. I went into TWRP and decided to do a full reflash of the ROM (without wiping my data) and reflashed magisk as well. No luck either, still stuck at the infinite boot. So I went a step further and dirty flashed again without reinstalling magisk to see if it might have been any other modules not playing nice. Of course, that didn't work either and I'm still currently bootlooping. It's been going for the past 3 hours now...
In any case, would anyone have any suggestions on what I can do without doing a full wipe? I have access to TWRP and decrypting works fine. All of my files seem intact at the moment and from what I see, the ROM is has installed mostly fine, just something is causing it to hang during boot. Is there any way I can view the code running in the background during boot to see what's causing it to hang? Or maybe some other potential solution that I could try?
HunterBlade said:
Hi, I'm kinda at my wit's end with this problem that I'm currently facing and would very much appreciate some help. For some background, I'm on a Oneplus 7 Pro running stock firmware (OOS 11.0.7.1). I originally was planning on installing a Magisk module to spoof my device (Pixelify) to gain Pixel features. I noticed that one of the features was patching over the Android System Intelligence. It didn't work out the way I was expecting and I decided to uninstall the module. That went fine, but I wanted to make sure I was on the correct version of Android System Intelligence as well, so afterwards, I went into settings and "uninstalled all updates" to the app, which I assumed would have reset that particular app back to the version that originally shipped with the device.
Now, here's where the problem began. I restarted my device and I ended up sitting on the boot animation screen for over 20 mins. At that point, I knew something was wrong as it still hadn't booted into the system yet. I went into TWRP and decided to do a full reflash of the ROM (without wiping my data) and reflashed magisk as well. No luck either, still stuck at the infinite boot. So I went a step further and dirty flashed again without reinstalling magisk to see if it might have been any other modules not playing nice. Of course, that didn't work either and I'm still currently bootlooping. It's been going for the past 3 hours now...
In any case, would anyone have any suggestions on what I can do without doing a full wipe? I have access to TWRP and decrypting works fine. All of my files seem intact at the moment and from what I see, the ROM is has installed mostly fine, just something is causing it to hang during boot. Is there any way I can view the code running in the background during boot to see what's causing it to hang? Or maybe some other potential solution that I could try?
Click to expand...
Click to collapse
When you removed the magisk module and uninstalled the updates, did you boot into TWRP and wipe your cache and dalvik cache(but not factory reset or wipe data partition)? If you didn't wipe cache or dalvik, try booting into TWRP and wipe cache and dalvik cache(but DO NOT factory reset). To wipe cache and dalvik cache, boot into TWRP and sekect the Wipe option, then select "advanced wipes", you'll see a list of partitions, select only the cache and dalvik partitions(do not select any other partitions) then swipe the slider to initiate the wipe, when it finishes, reboot your device, it might take 10 or 20 minutes to boot because it has to rebuild the cache and dalvik cache with the new changes that you've made.
Generally, when making changes to the system partition, booting into recovery after making the changes and wiping cache is required in order for the device to load the system with the changes that were made instead of continiung to load cached data from before the changes were made, this tends to cause issues because the device is loading cached data that it can't use or understand anymore. Also, reflashing your ROM without wiping cache and dalvik cache would not solve this issue. You should do this any time you add/remove/modify/delete/uninstall/edit anything at all in the system partition, even if you only changed one tiny thing, you still need to boot into recovery then wipe cache and dalvik cache then reboot to apply the changes. This is not required when changing things in the user partition but it is absolutely vital that you do it when changing anything involved in the system partition.
Droidriven said:
When you removed the magisk module and uninstalled the updates, did you boot into TWRP and wipe your cache and dalvik cache(but not factory reset or wipe data partition)? If you didn't wipe cache or dalvik, try booting into TWRP and wipe cache and dalvik cache(but DO NOT factory reset). To wipe cache and dalvik cache, boot into TWRP and sekect the Wipe option, then select "advanced wipes", you'll see a list of partitions, select only the cache and dalvik partitions(do not select any other partitions) then swipe the slider to initiate the wipe, when it finishes, reboot your device, it might take 10 or 20 minutes to boot because it has to rebuild the cache and dalvik cache with the new changes that you've made.
Generally, when making changes to the system partition, booting into recovery after making the changes and wiping cache is required in order for the device to load the system with the changes that were made instead of continiung to load cached data from before the changes were made, this tends to cause issues because the device is loading cached data that it can't use or understand anymore. Also, reflashing your ROM without wiping cache and dalvik cache would not solve this issue. You should do this any time you add/remove/modify/delete/uninstall/edit anything at all in the system partition, even if you only changed one tiny thing, you still need to boot into recovery then wipe cache and dalvik cache then reboot to apply the changes. This is not required when changing things in the user partition but it is absolutely vital that you do it when changing anything involved in the system partition.
Click to expand...
Click to collapse
Thanks for the response! Unfortunately, I already wiped the dalvik cache after I reflashed my ROM yesterday and it didn't end up being able to boot. Since the OnePlus 7 Pro is an a/b device, there's no other cache partition to wipe.
I ended up leaving it to run on the boot animation screen until it ran out of battery (just to see what would happen). Besides for the phone becoming burning hot to the touch, it just stayed at that screen for another hour or 2 before it finally ran out of battery. This leads me to believe that it's definitely doing something in the background at that time, but just not sure what.
Edit: Just for some extra context, I also created a flashable zip of the latest OEM version of the Android System Intelligence APK and flashed it to system/app through twrp. Since I'm not able to boot to unlock my device, I thought this was the only way to install the app. In any case, it didn't make a difference either. Not sure if this means maybe the APK wasn't the issue or if this just didn't install the app the way I was expecting. No error codes when flashing the zip though.
HunterBlade said:
Thanks for the response! Unfortunately, I already wiped the dalvik cache after I reflashed my ROM yesterday and it didn't end up being able to boot. Since the OnePlus 7 Pro is an a/b device, there's no other cache partition to wipe.
I ended up leaving it to run on the boot animation screen until it ran out of battery (just to see what would happen). Besides for the phone becoming burning hot to the touch, it just stayed at that screen for another hour or 2 before it finally ran out of battery. This leads me to believe that it's definitely doing something in the background at that time, but just not sure what.
Edit: Just for some extra context, I also created a flashable zip of the latest OEM version of the Android System Intelligence APK and flashed it to system/app through twrp. Since I'm not able to boot to unlock my device, I thought this was the only way to install the app. In any case, it didn't make a difference either. Not sure if this means maybe the APK wasn't the issue or if this just didn't install the app the way I was expecting. No error codes when flashing the zip though.
Click to expand...
Click to collapse
Use TWRP to create a backup of your device in its current state, then try to extract the data from the backup, if the data is intact, it can be restored once you get the device working. If your data is intact in the backup, you can do a full system and data wipe via TWRP then reflash your ROM then restore the data that you want restored. This "should" get you back to where you want to be. Be careful, be certain of what you do at every step or you may end up losing data or not being able to get it to work while at the same time be able to keep your previous data.
Droidriven said:
Use TWRP to create a backup of your device in its current state, then try to extract the data from the backup, if the data is intact, it can be restored once you get the device working. If your data is intact in the backup, you can do a full system and data wipe via TWRP then reflash your ROM then restore the data that you want restored. This "should" get you back to where you want to be. Be careful, be certain of what you do at every step or you may end up losing data or not being able to get it to work while at the same time be able to keep your previous data.
Click to expand...
Click to collapse
Just finished backing up my data through TWRP and and did a full reformat of my device. After reflashing my ROM, I was back up and running! So thanks for the tip! However, after restoring the data partition, I realized that the issue was with the data partition specifically rather than on the system side as I had the same problem again. So I cleared the data partition again but kept data/media (internal storage) intact, and just like that, the device booted just fine this time.
Would you have any suggestions on what I could do to to troubleshoot the data partition? I have some important app info that I need to get the data back from.
Or if not, do you know how to capture logs from a failed boot?
HunterBlade said:
Just finished backing up my data through TWRP and and did a full reformat of my device. After reflashing my ROM, I was back up and running! So thanks for the tip! However, after restoring the data partition, I realized that the issue was with the data partition specifically rather than on the system side as I had the same problem again. So I cleared the data partition again but kept data/media (internal storage) intact, and just like that, the device booted just fine this time.
Would you have any suggestions on what I could do to to troubleshoot the data partition? I have some important app info that I need to get the data back from.
Or if not, do you know how to capture logs from a failed boot?
Click to expand...
Click to collapse
Logs from logcat do not persist through reboot. You need to look at your last_kmsg file, kmsg persists after reboot and it should capture the issue. If you have important app data, it should have been stored in data/media in your Android/(name of app) folder and your apps should be in data/data/app folder.
In the future, I recommend booting into TWRP and creating a backup before you make any kind of changes to your device, then, if the change causes an issue you can just boot into TWRP and restore the backup, this will put you back to what you had right before you made the change. Then you can troubleshoot what caused the issue and find a solution to how to apply your change without causing the issue again.
Droidriven said:
Logs from logcat do not persist through reboot. You need to look at your last_kmsg file, kmsg persists after reboot and it should capture the issue. If you have important app data, it should have been stored in data/media in your Android/(name of app) folder and your apps should be in data/data/app folder.
In the future, I recommend booting into TWRP and creating a backup before you make any kind of changes to your device, then, if the change causes an issue you can just boot into TWRP and restore the backup, this will put you back to what you had right before you made the change. Then you can troubleshoot what caused the issue and find a solution to how to apply your change without causing the issue again.
Click to expand...
Click to collapse
Yeah, lesson learned with that. I'm just glad I was able to backup my data in TWRP, which means I should theoretically be able to extract them back out again if I really need them. But back to the topic, I did check my last_kmsg file and it was unfortunately empty.
What I did do though was since I still have access to my recovery, I pushed my PC's adb keys to my device to be able to execute the command and grab a logcat during boot.
Could you by any chance take a look at the file (it's a onedrive preview link) to see if you might be able to notice the issue? I'm going into the territory of Googling everything and I was just completely lost when I looked at the file as I have no idea which errors actually matter and which ones don't. Thanks in advance!
HunterBlade said:
Yeah, lesson learned with that. I'm just glad I was able to backup my data in TWRP, which means I should theoretically be able to extract them back out again if I really need them. But back to the topic, I did check my last_kmsg file and it was unfortunately empty.
What I did do though was since I still have access to my recovery, I pushed my PC's adb keys to my device to be able to execute the command and grab a logcat during boot.
Could you by any chance take a look at the file (it's a onedrive preview link) to see if you might be able to notice the issue? I'm going into the territory of Googling everything and I was just completely lost when I looked at the file as I have no idea which errors actually matter and which ones don't. Thanks in advance.
Click to expand...
Click to collapse
Too many errors for me to volunteer my time to figure out.
All I can say is, at each line that reports an error, it states the error then lists the service(s) or app(s) that are involved in or effected by that error, everything listed after the error all the way down the list to the next error are related to that error.
Do a Google search for each error and the name of the package that immediately follows that error.
Droidriven said:
Too many errors for me to volunteer my time to figure out.
All I can say is, at each line that reports an error, it states the error then lists the service(s) or app(s) that are involved in or effected by that error, everything listed after the error all the way down the list to the next error are related to that error.
Do a Google search for each error and the name of the package that immediately follows that error.
Click to expand...
Click to collapse
No worries, totally understandable. I think Titanium Backup might actually be my saving grace, as it's able to read TWRP files as well. So all I have to do is run my backup through that and have it directly restore my data. In any case, appreciate the advice you've given so far!
you might probably found a fix but you're supposed to put the other os in the internal storage and not the micro sd card since it wont detect bootable drives just like on a pc and if u didnt install the os on the sd card then you can search for a boot unlocker which can unlock your phone from the infinite boot based on your phone and os
have a good day