"Android is Upgrading..." On Boot/Reboot - ONE Q&A, Help & Troubleshooting

Hi all. Sometimes when I reboot my phone it will go through the process of optimizing all of my apps all over again without having wiped my cache or Dalvik cache. I did wipe my caches once to try to fix the problem however. I have also tried fixing permissions in TWRP. I understand that the phone has to optimize apps after wiping the caches. This happens at random, but it does not matter how I reboot my phone, whether it be a soft reboot, normal reboot, or completely powering the phone off and back on again.
I've experienced this when using BlissPop and CM 12.1 Nightlies. I am using the Banks GApps. I have tried using the stock kernel as well as AK Kernel with the same results regarding this issue. I would prefer to be able to use AK Kernel however. Thanks for any help!
Sent from my A0001 using XDA Free mobile app

Related

[Q] stuck on cyanogenmod logo

hey all developer,
im kinda curious about something, recently i just flash my xperia s with cm10. everything goes well at first, i mean installing the cm10 zip and the g apps. but after reboot it just wont go away from that. i did all the flashing using the flashtool. if it is my fault cuz flashing it using flashtool. then its okay. if my steps are maybe not completed do please tell me.
thanks by the way.
Anan HS said:
hey all developer,
im kinda curious about something, recently i just flash my xperia s with cm10. everything goes well at first, i mean installing the cm10 zip and the g apps. but after reboot it just wont go away from that. i did all the flashing using the flashtool. if it is my fault cuz flashing it using flashtool. then its okay. if my steps are maybe not completed do please tell me.
thanks by the way.
Click to expand...
Click to collapse
Try formatting and reflashing (doing a clean install). You could also wipe the dalvik cache after flashing and reboot before flashing gapps.
Could you explain the steps you did before installation of Rom?
And did you do
Format system
Format cache
Format data in mounts and storage as well along with wipes mentioned?
Sent from my MT11i using xda premium
For some rom installs you need to:
Wipe data
Wipe dalvik
Install rom
Wipe data
Install rom
That's right, wipe and install twice. I've also noticed that flashing gapps after my CM rom installs tends to mess things up, particularly on my D3. I install all of my Google apps manually.
Sent from my A500 using CM10 JB unofficial
I connect my phone using the usb cable and the flashtool detect my phone status, it works well. After that I use the fastboot mode and flash kernel (cm10.img) by clicking the 3rd option at the fastboot window. The process said everything that ive flash is okay. After that I did fastboot reboot. Unconnect my phone and push the volume up button when the purple led turns on. It goes to recovery mode. I did the wipe cache, then I install the cm10.zip first, when it finished, I install the gapps. After I done all those thing, I did the reboot into system as the tutorial did. When the phone reboot, its all going well. Until the cyanogenmod logo come out. The tutorial showed it tooks about couple minute and then the phone will go to the normal phone screen. But unfortunately my phone took about hours and still in the cm logo.
Sent from my LT26i using xda app-developers app
Make sure you wipe the dalvik cache. Dalvik is different than just the folder marked "cache "
Sent from my A500 using CM10 JB unofficial

[Q] Phone keeps rebooting over and over; CM10.2

Uh, hello people,
First of all I want to clear out that I am not very knowlegable when it comes to the wonderful world of Android and stuff with all its details, but then again that is why I came here because other people seem to have found a solution to their problems here.
I don't think I found a topic that already covered my issue, so here I go:
Basically, all of a sudden my phone began to restart itself over and over again. I do not remember doing anything in particular prior to that happening, be it downloading anything or pretty much doing anything at all... After it restarts, I am able to enter my PIN code, unlock my phone, get to the homepage (where the apps and widgets suddenly disappear...) and around 15 seconds after the phone had restarted, no matter what I do to the phone it just goes off to reboot itself again. Even if I wait and not enter my PIN code it would still restart after those 15ish seconds...
I am running on Android 4.3 with CyanogenMod 10.2 (as far as I remember), which was already there when I got my phone.
Sоо, some help would be greatly appretiated
Enter recovery mode and wipe cache and under advanced wipe dalvick cache tjen reboot.
acuicultor said:
Enter recovery mode and wipe cache and under advanced wipe dalvick cache tjen reboot.
Click to expand...
Click to collapse
M.T. please tell me whether this did work for you. I flashed CM10.2 on the i9003 for my colleague and he just experiences the same things.
acuicultor said:
Enter recovery mode and wipe cache and under advanced wipe dalvick cache tjen reboot.
Click to expand...
Click to collapse
Nope, didn't help :/
wipe all and flash the rom again
Sent from my G1 using xda app-developers app

Update/dirty flashing Euphoria OS freezes at the Google boot screen

So every time I have dirty flashed Euphoria OS, it has frozen at the Google boot screen. This has forced me to wipe system, install the rom, install gapps, and reconfigure settings. What am I doing wrong that can't I update normally without having to wipe system?
stynatu46 said:
So every time I have dirty flashed Euphoria OS, it has frozen at the Google boot screen. This has forced me to wipe system, install the rom, install gapps, and reconfigure settings. What am I doing wrong that can't I update normally without having to wipe system?
Click to expand...
Click to collapse
What works for me is to wipe cache and davlik before I dirty flash the Rom.
Then after flashing the Rom, SuperSu......... etc wipe cache and davlik again before rebooting.
I have never had any problems dirty flashing Euphoria with this method on both Nexus 5 and Nexus 4.
One more thing. I always make sure to have the latest TWRP installed before I attempt any dirty flash.
Latest version as of this post is TWRP 2.8.5.2
joegestes said:
What works for me is to wipe cache and davlik before I dirty flash the Rom.
Then after flashing the Rom, SuperSu......... etc wipe cache and davlik again before rebooting.
I have never had any problems dirty flashing Euphoria with this method on both Nexus 5 and Nexus 4.
Click to expand...
Click to collapse
I usually do both of those things. I will say that I used ROM Installer to update it, but then dirty flashed with twrp and it still didn't work. Maybe next week I should just straight out flash with TWRP first?
Okay I just did this today and the thing STILL happens. I'd flash the update, wipe dalvik/cache, then reboot system. Then it hangs on Google boot screen for at least 10 minutes. Then I go back to TWRP, wipe system, data, cache, and flash it again and then starts to work, but all my apps are gone. Why can't I just flash the update and have it done with it instead of constantly tinkering around? Am I doing something wrong? is this what a dirty flash is?
I noticed this in your Log
"<6>[ 0.514020] [email protected]: Power-off reason: Triggered from UVLO (Under Voltage Lock Out)"
Are you undervolting?
Ignore. Wrong thread.
Bump
stynatu46 said:
Okay I just did this today and the thing STILL happens. I'd flash the update, wipe dalvik/cache, then reboot system. Then it hangs on Google boot screen for at least 10 minutes. Then I go back to TWRP, wipe system, data, cache, and flash it again and then starts to work, but all my apps are gone. Why can't I just flash the update and have it done with it instead of constantly tinkering around? Am I doing something wrong? is this what a dirty flash is?
Click to expand...
Click to collapse
See if this helps.
If you have many apps, try waiting 10 minutes or longer after wiping cache/davlik before rebooting into android. Or you could try a double wipe.
Apparently, it can take quite a while for cache to clear even if TWRP shows complete.
joegestes said:
See if this helps.
If you have many apps, try waiting 10 minutes or longer after wiping cache/davlik before rebooting into android. Or you could try a double wipe.
Apparently, it can take quite a while for cache to clear even if TWRP shows complete.
Click to expand...
Click to collapse
I've tried this several times yesterday, I think I waited 20 minutes and rebooted again to do the same thing. I also don't have that many apps, I only have 4 rows filled in my app drawer
Okay everyone, I found the problem! All I had to do was uninstall the driver/app for CF.lumen before flashing because it tampered with the /system partition making it unable to boot. I then installed it again after the flash was done.

[Q] Automatically clearing Dalvik cache on every reboot

Every time I boot up my N5, the "Android is optimizing app..." message pops up and takes about 15 minutes to finish. I suspect this has something to do with the Dalvik Cache clearing up automatically? I'm running Cataclysm Apr-14 Stable version. I noticed this problem when I flashed the ElementalX kernel. After the flash, everytime it boots up, this happens. Any idea on what's going on/ how to fix it?
Try flashing the boot.img, stock kernel, from the factory image with fastboot. If that solved it is a kernel issue.
Sent from my Nexus 9 using XDA Free mobile app

Reboot/Freeze Issue Upon Reboot (Repeatable)

Hi all,
I have been struggling with an issue for several months. Everytime I restart my phone the phone boots to my ROMs lock screen freezes and reboots again. Sometimes I can get my pin entered and sometimes not. Even if the phone unlocks it freezes and reboots shortly after.
I have had this issue on every ROM I have tried (Exodus, Euphoria, CM nightlies). I am currently running fastboot flashed stock COS 12.1, no root, stock recovery. My modem is current and I don't use any battery saving apps.
Has anyone experienced a similar issue?
Sent from my A0001 using Tapatalk
bucketheadmjs said:
Hi all,
I have been struggling with an issue for several months. Everytime I restart my phone the phone boots to my ROMs lock screen freezes and reboots again. Sometimes I can get my pin entered and sometimes not. Even if the phone unlocks it freezes and reboots shortly after.
I have had this issue on every ROM I have tried (Exodus, Euphoria, CM nightlies). I am currently running fastboot flashed stock COS 12.1, no root, stock recovery. My modem is current and I don't use any battery saving apps.
Has anyone experienced a similar issue?
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
When flashing are you wiping properly (system, data, cache, dalvik cache)? Flashing the stock images with fastboot doesn't wipe data so unless you wiped data with TWRP first that hasn't happened and could be causing your problems.
If after trying wiping data it still doesn't work. Upload /proc/last_kmsg (dmesg from last boot) and the logcat.
Maybe we can find out what's going on by looking in the logs.
Heisenberg said:
When flashing are you wiping properly (system, data, cache, dalvik cache)? Flashing the stock images with fastboot doesn't wipe data so unless you wiped data with TWRP first that hasn't happened and could be causing your problems.
Click to expand...
Click to collapse
I didn't realize that flashing image files didn't completely overwrite the partition. I did a cache wipe today but it didn't seem to work from the stock recovery.
I have data encryption enabled BTW...
Sent from my A0001 using Tapatalk
Thymo said:
If after trying wiping data it still doesn't work. Upload /proc/last_kmsg (dmesg from last boot) and the logcat.
Maybe we can find out what's going on by looking in the logs.
Click to expand...
Click to collapse
I need to be rooted to provide the kernel logs and logcat correct?
Sent from my A0001 using Tapatalk
I will clean flash wiping and formatting everything this morning just to make sure and report back. Thanks for the support!!!
Sent from my A0001 using Tapatalk
Just a quick update... I took my OPO all the way back to stock using OnePlus's patch files that @Heisenberg re-posted. I did this after a full format of all the usual suspects. I then updated via OTA all the way to COS 12.1.
Prior to installing any apps I started experiencing the "double reboot" issue. I then erased and flashed both the persist image and reserve4 image.
I have since rooted, flashed twrp, and slowly begun to rebuild and test COS 12.1. So far no double reboots (which will now start to occur since I said that).
Admittedly, I don't completely understand the persist and reserve4 roles being played in all of this...
Sent from my A0001 using Tapatalk
I would like to go out on a limb and say my issue is fixed! Thanks to everyone for their help. This issue had plagued me for months through countless flashing...
Sent from my A0001 using Tapatalk
I have a quite similar issue: yesterday i restarted my Opo after activating Xposed and after reboot, the phone stuck in the lock screen (nothing works, touch ecc...). I've done a Nandroid with TWRP and after that i've made a wipe data (data partition only): now the phone starts and works as well, but if I restore the data partition it stucks in lock screen like before. Is it a battery problem too? I can upload the dmesg.log if needed.
TeoJohn92 said:
I have a quite similar issue: yesterday i restarted my Opo after activating Xposed and after reboot, the phone stuck in the lock screen (nothing works, touch ecc...). I've done a Nandroid with TWRP and after that i've made a wipe data (data partition only): now the phone starts and works as well, but if I restore the data partition it stucks in lock screen like before. Is it a battery problem too? I can upload the dmesg.log if needed.
Click to expand...
Click to collapse
Doesn't look like battery issue.Maybe caused due to xposed.
Mr.Ak said:
Doesn't look like battery issue.Maybe caused due to xposed.
Click to expand...
Click to collapse
After a clean flash, the phone worked smoothly for a whole day; but last night it restarted and began to reboot and lock on the unlock screen. (After the clean installation, I restored the apps and data via Titanium and the old Nandroid Backup). Now I'm installing a new rom, I'll see if the problem persists. Have no idea how this problem occurs.

Categories

Resources