wipe cashe and dalvik - Nexus 6P Q&A, Help & Troubleshooting

Hi all,
I think I might have a problem, after I flashed xposed framework on my nexus 6p and got the modules that I wanted up and running no problem, during 4 or 5 days all worked fine but had constant reboots,
I decided to go back before I flashed xposed with twrp and restored a full backup, it failed to restore all selected at the same time, so did one a time and restored but phone would just not boot, so
Having data partition restored and then dirty flash stock without wipe data I was able to get my phone back and running, and re-root fine and flashed twrp no problems
Went to twrp to wipe cashe and dalvik but it just takes like 2 seconds optimizing apps and boots to desktop right up, now my question is
Shouldn't it take a very long time to optimize all my apps after the wipe????
all seems to be working fine but kind of bothers me that I might have something in not working right that might develop into something worst in the future

It is at this point I usually full-wipe and reflash. =) Setting things up again can suck, but it's better than wondering what unknown thing is broken and will rear it's ugly head later.

Elnrik said:
It is at this point I usually full-wipe and reflash. =) Setting things up again can suck, but it's better than wondering what unknown thing is broken and will rear it's ugly head later.
Click to expand...
Click to collapse
full wipe and reflash, want to avoid that, any other commands perhaps?

OK so I did a full re flash, back to stock, re root, installed my apps, used for a while, log in on all, went to twrp to test wipe cache and dalvik, same thing, optimizing apps at first boot took like one second and boot to desktop, is this normal or should take longer to optimize all apps?? Anyone??

is my understanding that only apps that havent already been optimized will upon boot... (new installs from like a zip)

chaco81 said:
is my understanding that only apps that havent already been optimized will upon boot... (new installs from like a zip)
Click to expand...
Click to collapse
thats what i am thinking too now that you mention it, like when I installed xposed initially and did whipe cache/dalvik thing after it took long time to boot because was on something like optimizing app 3 out 78, same thing I have seen on my old nexus 5 when dirty flash a new firmware, but not sure if I have something broken or is normal

Related

Upgrading Roms MIUI 1.6.1 to 1.6.17

Hi i'm currently running MIUI 1.6.1 and i just finally got it completely setup exactly how i want it, took me like hours upon hours a day for a week getting all my apps and contacts and data set up along with themeing etc etc
I want to upgrade to the newer one that just came out today the 1.6.17 -- Do i have to do a FULL Factory reset/delvik cache and/ cache wipe?
or can i just wipe the delvik and cache and then flash overtop without losing everything?
Basically i dont want to have to go back in and re-fix my Sprint VVM and re-add Swype again as both those took me like 50 installs a piece to get working, along with like 50 apps i downloaded, and all my contacts, etc, etc do i have to do a full wipe and start from scratch again, or can i just flash and upgrade and keep all my stuff without doing a full factory reset and also without having a ton of errors and force closes?
pulazki said:
Hi i'm currently running MIUI 1.6.1 and i just finally got it completely setup exactly how i want it, took me like hours upon hours a day for a week getting all my apps and contacts and data set up along with themeing etc etc
I want to upgrade to the newer one that just came out today the 1.6.17 -- Do i have to do a FULL Factory reset/delvik cache and/ cache wipe?
or can i just wipe the delvik and cache and then flash overtop without losing everything?
Basically i dont want to have to go back in and re-fix my Sprint VVM and re-add Swype again as both those took me like 50 installs a piece to get working, along with like 50 apps i downloaded, and all my contacts, etc, etc do i have to do a full wipe and start from scratch again, or can i just flash and upgrade and keep all my stuff without doing a full factory reset and also without having a ton of errors and force closes?
Click to expand...
Click to collapse
Doesn't Titanium Backup or Mybackup Pro work with MIUI?
pulazki said:
Hi i'm currently running MIUI 1.6.1 and i just finally got it completely setup exactly how i want it, took me like hours upon hours a day for a week getting all my apps and contacts and data set up along with themeing etc etc
I want to upgrade to the newer one that just came out today the 1.6.17 -- Do i have to do a FULL Factory reset/delvik cache and/ cache wipe?
or can i just wipe the delvik and cache and then flash overtop without losing everything?
Basically i dont want to have to go back in and re-fix my Sprint VVM and re-add Swype again as both those took me like 50 installs a piece to get working, along with like 50 apps i downloaded, and all my contacts, etc, etc do i have to do a full wipe and start from scratch again, or can i just flash and upgrade and keep all my stuff without doing a full factory reset and also without having a ton of errors and force closes?
Click to expand...
Click to collapse
First backup using MIUI's built in backup. It had two parts: system and stuff, and apps. Back up all the apps. Then backup wifi and desktop at the very least. I don't backup contacts because then I get duplicates.
Reboot into recovery
Nand backup
Wipe just cache and dalvik cache.
Flash the update
Reboot.
Usually this is fine. But if you get fc's then you probably need to wipe clean everything and then restore via backup.
It's not.that bad. I've never had any problems re-installing swype and/or sprint voicemail. The only thing I usually have to redo is the theme.
Evo HW 003
MIUI 1.6.17
Cut Corners theme
I have been running MIUI for a couple of months now. Whenever I flash a new release (an update, in my situation) I just wipe cache & dalvik then flash. Once the rom has fully booted and settled, I'll reboot. I let it fully boot, then reboot into recovery (Amon 2.3) and "fix apk uid mismatches", then wipe cache and dalvik again, flash Tiamat since they started including the CM kernel instead, then reboot and I'm good to go. My theme sticks throughout and I haven't run into any problems doing it this way, other than broken themes from constant ui changes... which thankfully finally slowed down. Sometimes I'll skip on fixing permissions, it's more of a ritual than necessary.
Last week I decided it was probably time for a full wipe so I did. Between the MIUI Backup app & Titanium Backup Pro, setting back up took roughly 15-30 minutes (including flashing the rom and kernel). Just nandroid first to be safe, but I've always treated it as an update.
(from... Evo/MIUI/Tapatalk)

[Q] Android is upgrading after every boot

OK guys I have a problem and I'm hoping that you could help me.
I rooted my S4 and installed stuff that I wanted, phone was in a great shape until I came across this post that was guiding a way to remove the custom sign when you turn on the phone once you have rooted the phone, so the procedure was to install SuperSU and install the new su binary coming with it, uninstalling previous SU and rebooting. the post was claiming that the sign would be gone and the regular "Samsung galaxy S4" would be shown instead. So I did all those and on the way coming up on the first time the message "android is upgrading" popped up, it's the first time so it's fine, but then it became annoying when it started showing up every single time after that, I took some procedures to fix it as follows:
I,
1. removed application "supersu".
2. went back to the previous SU.
3. wiped delvik and cache. (something amazing about this is that after the manual wiping the number of apps being upgraded is 193, while in its every time boot it only upgrades 120 of them (which is good I think don't have to wait for all 193 every time), but it goes back to 120 after the initial boot after wiping delvik).
4. uninstalled TB.
5. executed fixing permission.
6 reinstalled TB and restored all the apps.
7. re-rooted the phone with motochopper.
8. looked for odex files in /data/ app. (there were none).
couldn't think of anything else and that's where I stopped. I know that this message pops up everytime delvik cache is wiped but I can't figure what is causing it every time.
one more thing, I noticed is that the USB debugging option turns off after every restart, not sure if this is something normal or what, just thought this may be helpful in the diagnosing process. one more thing the post was correct about the old sign coming back though.
There might be an app clearing cache everytime like an optimization app or something. Mine used to when I set rom toolbox to do so
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Please read forum rules before posting
Questions and help issues go in Q&A and Help sections
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
egolabbakhsh said:
3. wiped delvik and cache. (something amazing about this is that after the manual wiping the number of apps being upgraded is 193, while in its every time boot it only upgrades 120 of them (which is good I think don't have to wait for all 193 every time), but it goes back to 120 after the initial boot after wiping delvik).
Click to expand...
Click to collapse
This exact same thing is happening to me, as of today. All I did was clear cache and dalvik, and all of a sudden this is now happening. Gone through all the steps to figure out why as you did, and nothing has worked.
Strange part...mine is also getting stuck with the 120 at each boot. When I do it manually, it's 236.
I ended up restoring my phone, I think that's your last resort as well. I hope you have a backup, otherwise you're in trouble!
1.install lucky patcher
2.go to toolbox tab
3.remove all odex files
No great change
majid.gh said:
1.install lucky patcher
2.go to toolbox tab
3.remove all odex files
Click to expand...
Click to collapse
My phone still does the Updating, just now instead of starting at 27 and going to 57, it starts at 1 and goes to 30
majid.gh said:
1.install lucky patcher
2.go to toolbox tab
3.remove all odex files
Click to expand...
Click to collapse
Simple as that! Just had to boot a couple of times. Excellent!
svendsvin said:
Simple as that! Just had to boot a couple of times. Excellent!
Click to expand...
Click to collapse
+1
On my rooted 4.3 Sony Xperia SP:
I did the lucky patcher thingy twice (it reboots each time, first time the nag happened). Booted up nicely after that.
It will do this if dalvik cache is wiped...one of your apps may be doing this automatically
Sent from my SGH-I337 using Tapatalk 2
Hey there this problem is happening with my. Samsung Galaxy S duos 2 also
- I rooted it.
- Then after 2 days Format it.
- Now there is "Android is upgrading" Toast is appearing after every single reboot.
SO WHAT TO DO GUYS....

Dalvik Cache Wipe triggers Starting apps dialog box every boot

I have got this issue since I wiped the dalvik cache on Android 4.2.2 to fix a Play Store issue which I should of deleted that dalvik cache file with Titanium Backup or use Lucky Patcher to remove that left over file in /data/app/ but also wiping the cache somehow broke the APN API not allowing me to add the wiped APNs and such.
Since then I had to reflash EVERYTHING using the Nexus Stock Image flasher from Google Developers, since then I had no issues until a recent Android 4.3 update which caused the dalvik cache issue to arise since it wiped the dalvik cache.
I also do not have root because of the update but the su binary and SuperSU is still there so I cannot fix the issues manually.
When I come back on holiday I will root the device to see if I can fix the issue
but if that does not help then I can use the root to backup ALL the user apps, backup ALL the internal SD contents and reflash also rooting it.
Because I paid for the TB licence I can just restore my stuff in a touch of a "button".
I have removed apps which I don't use and the ones which I suspect is causing the issue but that does not help.
It seems that wiping the cache partition now does not break anything.
The dialog box says in the title "Android is upgrading..." and it says below "Starting apps..." and then gets off in a second.
I have seen forums of people having this strange issue but there are no replies.
I am getting back from holiday on the 31/8/13.
I really want this haunting issue to stop so please help so others can fix this issue without going though annoyance caused by this issue.
andyabc said:
I have got this issue since I wiped the dalvik cache on Android 4.2.2 to fix a Play Store issue which I should of deleted that dalvik cache file with Titanium Backup or use Lucky Patcher to remove that left over file in /data/app/ but also wiping the cache somehow broke the APN API not allowing me to add the wiped APNs and such.
Since then I had to reflash EVERYTHING using the Nexus Stock Image flasher from Google Developers, since then I had no issues until a recent Android 4.3 update which caused the dalvik cache issue to arise since it wiped the dalvik cache.
I also do not have root because of the update but the su binary and SuperSU is still there so I cannot fix the issues manually.
When I come back on holiday I will root the device to see if I can fix the issue
but if that does not help then I can use the root to backup ALL the user apps, backup ALL the internal SD contents and reflash also rooting it.
Because I paid for the TB licence I can just restore my stuff in a touch of a "button".
I have removed apps which I don't use and the ones which I suspect is causing the issue but that does not help.
It seems that wiping the cache partition now does not break anything.
The dialog box says in the title "Android is upgrading..." and it says below "Starting apps..." and then gets off in a second.
I have seen forums of people having this strange issue but there are no replies.
I am getting back from holiday on the 31/8/13.
I really want this haunting issue to stop so please help so others can fix this issue without going though annoyance caused by this issue.
Click to expand...
Click to collapse
that android is upgrading dialog box is the dalvik getting rebuilt, it get rebuilt after you wipe it, it is SUPPOSED to happen when you wipe your dalvik. it isnt an issue. if not, you wouldnt have a bootable or usable phone. the real issue here is you using lucky patcher. we all know what it is used for, and is disrespectable to the developers that hang out on xda.
simms22 said:
that android is upgrading dialog box is the dalvik getting rebuilt, it get rebuilt after you wipe it, it is SUPPOSED to happen when you wipe your dalvik. it isnt an issue. if not, you wouldnt have a bootable or usable phone. the real issue here is you using lucky patcher. we all know what it is used for, and is disrespectable to the developers that hang out on xda.
Click to expand...
Click to collapse
I only use Lucky Patcher for important stuff and not really for what you think so that is NOT the issue what so ever and misleading to this thread and plus, other people use it.
I mean that in EVERY boot it says that it is starting apps, nothing to do with building at all.
Sent from my Nexus 4 using Tapatalk 4 Beta
andyabc said:
I only use Lucky Patcher for important stuff and not really for what you think so that is NOT the issue what so ever and misleading to this thread and plus, other people use it.
I mean that in EVERY boot it says that it is starting apps, nothing to do with building at all.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Late reply, but Lucky Patcher did this to my phone just now and I don't know what to do, other than reflash. Which sucks because I spent all night modding out my phone and was stupid enough to not to a nandoid backup.
Edit: The first boot it upgraded everything then everything force closed, 2nd boot everything upgraded, but seems to be working fine. Woo. Was scared for a moment.
evilpig said:
Late reply, but Lucky Patcher did this to my phone just now and I don't know what to do, other than reflash. Which sucks because I spent all night modding out my phone and was stupid enough to not to a nandoid backup.
Edit: The first boot it upgraded everything then everything force closed, 2nd boot everything upgraded, but seems to be working fine. Woo. Was scared for a moment.
Click to expand...
Click to collapse
Well you was LUCKY (pun alert!).
Anyway it seems that the stock rom was always the issue, even reflashing does not fix this issue when you wipe the dalvik cache.
I am on ParanoidAndroid 3.98 at the moment and I am not getting any issues just by wiping the dalvik cache and/or the cache partition.
Sent from my Nexus 4 using Tapatalk 4
I have found fix for this error, it is mainly due to odex files which are created by lucky patcher so deleting these files using lucky patcher itself will surely remove this error with 50 percent success rate. Here's the fix; open lucky patcher, there in lower left section you can see Toolbox, click that Toolbox then select 4th last option i.e Remove all odex files.Thats it android will reboot on itself and vola no android is upgrading. .
Check out attached image for help.
:good:Hits Thanks If I helped u:good:
Garu8 said:
I have found fix for this error, it is mainly due to odex files which are created by lucky patcher so deleting these files using lucky patcher itself will surely remove this error with 50 percent success rate. Here's the fix; open lucky patcher, there in lower left section you can see Toolbox, click that Toolbox then select 4th last option i.e Remove all odex files.Thats it android will reboot on itself and vola no android is upgrading. .
Check out attached image for help.
:good:Hits Thanks If I helped u:good:
Click to expand...
Click to collapse
I just removed the odex files and worked great. Thank you.

Can't access to notifications and quicksettings tiles.

Hello,
I flashed the latest img and vendor from Pure Nexus and i got a little problem, I cant see notifications though the vibration happens, and i can't draw the notifications menu either same about the quicktiles settings.
I also noticed that recent apps button doesn't do anything anymore, i rebooted in safe mode, still same issues, can you help me?
Sberdila said:
Hello,
I flashed the latest img and vendor from Pure Nexus and i got a little problem, I cant see notifications though the vibration happens, and i can't draw the notifications menu either same about the quicktiles settings.
I also noticed that recent apps button doesn't do anything anymore, i rebooted in safe mode, still same issues, can you help me?
Click to expand...
Click to collapse
Sounds to me like you didn't wipe properly when flashing the ROM. You need to wipe system, data, cache, dalvik cache before flashing, is that what you did?
Usually when you update the same rom it's better to dirty flash no? i cant wipe all my data everytime i want to update the rom, though i might go back to stock, i
what's the best way to backup apps within the phone, and should i go deodex or Oden
Sberdila said:
Usually when you update the same rom it's better to dirty flash no? i cant wipe all my data everytime i want to update the rom, though i might go back to stock, i
what's the best way to backup apps within the phone, and should i go deodex or Oden
Click to expand...
Click to collapse
My mistake, I didn't realise you were just updating the same ROM. Yes, usually you can just dirty flash, but the way something is implemented may have changed in the latest update, causing the issues you're having now. The solution is pretty simple though: backup your user apps with Titanium Backup, boot into TWRP and perform a full wipe (system, data, cache, dalvik cache), flash ROM + gapps, boot into ROM and set up your settings, restore your user apps with Titanium Backup.
Thanks a lot!
I had this same issue after the March security updates. Was given this and it fixed my issues completely! It manually runs the setup wizard. Not sure if it will fix it or not, but worth a shot.
http://forum.xda-developers.com/showpost.php?p=65767953&postcount=7

How would you wipe any possible malware from your phone?

Hi
I've got a 2nd hand nexus 6p. I would like to be completely sure it has no keylogger, no remote control app (cerberus style), etc.
A factory reset would be enough? What should I do?
Best regards
alojo said:
Hi
I've got a 2nd hand nexus 6p. I would like to be completely sure it has no keylogger, no remote control app (cerberus style), etc.
A factory reset would be enough? What should I do?
Best regards
Click to expand...
Click to collapse
i would go to twrp and wipe data, cache, dalvik, and system then reflash the rom and gapps if needed and you will be fine
Flash the latest factory image
When you boot,
If no message displayed a factory reset is sufficient.
If yellow message (unlikely), then you sideload the most recent OTA + factory reset
If orange message then flash factory image. If you need extreme security (against publicly unknown vulnerability), you relock but that will *brick* your device unless the factory flash worked (which you can never be sure of). Don't relock if you are scared of malware.
For maximum security, throw out the phone
Or put it in a Safe! Better yet in a Force Field!
If orange I think you need to delete system and image partition then install rom.
I had virus like issues kept just reflashing would have issues a month later.
So I decided to just delete everything learned how to out the phone into download mode and did fresh install of pure Nexus and gapps runs like new again my battery will last 17 hrs of use now before I was getting barley 12 with little use.
Sent from my Nexus 6P using Tapatalk

Categories

Resources