after wiping dalvik cache to flash a kernel....
this problem is caused when there are .odex files in /data/app folder than have permissions set so system can no write to them during the optimization process. There may be other causes, but this is the leading cause, i read about 15 threads on this, for alot of people its the app titanium backup odex file that causes the issue but there can be other programs. for these people the fix is uninstall and reinstall titanium backup. for me, i used es file explorer (root req) and i deleted any .odex (in data/app) that i found that didn't have write permissions for the system, i found two odex files that were rw- r-- r-- and deleted them. then i rebooted and the android is upgrading message did not come back (after 2nd reboot) at this point i reinstalled the two apps that had the odex files without w permission for system.
i assume the problem could also be fixed by changing the permissions on the odex files without having to reinstall them, but if the permissions were set like that for a reason, you'll want to set it back to rw- r-- r-- after you stop getting the android is upgrading message at bootup.
cheers guys, just made this thread because the other 15 threads i read on this topic were all lacking in useful information.
note: some outdated versions of ICS are known to have an issue where the system scans EVERY app on EVERY restart, this fix does not fix that. if your phone is rescanning EVERY app and not just the ones with odex w permission off then you need to update your ics version or get a custom rom that is up to date to fix this.
80 views today just gonna bump this once
NEED HELP
KronicSkillz said:
80 views today just gonna bump this once
Click to expand...
Click to collapse
HI,
FIRST OF ALL I AM REALLY THANKFUL TO EVERY MEMBER OF XDA DEVELOPERS. BECAUSE I HAVE LEARNT MANY MANY GOOD THINGS FROM XDA DEVELOPER. I DONT BELIEVE MYSELF AS A DEVELOPER I AM JUST AN ADVANCE USER.
I NEED HELP FROM YOU. I AM USING SONY XPERIA-S CELLPHONE WITH DUAL BOOT MANAGER DEVELOPED BY SENIOR XDA MEMBER letama HERE IS THE DETAILS OF MY DEVICE
MODEL SONY XPERIA-S
DUAL BOOT MANAGER BY letama
NATIVE OS ANDROID 4.0.4 ICS 6.1.A.2.55 STOCK ROOTED
ON LOOP HACK I AM USING ANDROID 4.2.2 CUSTOM ROM PAC VER 20.00
I AM ALSO USING FEW MODS ON STOCK OS LIKE
ACID AUDIO VER 4.00
BEATS AUDIO APPLICATION
BRAVIA ENGINE-2
CYBER SHOT CAMERA 4.72
NOW ABOUT MY PROBLEM. EVERY TIME I REBOOT MY DEVICE WITH NATIVE KERNEL (ICS STOCK) I AM GETTING MESSAGE ANDROID IS UPGRADING AND APPLICATION COUNT UP TO 58. THEN STARTING APPLICATIONS. THEN PHONE WORKS PROPERLY. BUT IT TAKE LONG TIME TO START.
I HAVE THIS PROBLEM SINCE I THINK I USED ABOVE MODS SO NO PROBLEMS WITH DUAL BOOT MANAGER BECAUSE THIS PROBLEM STARTED BEFORE USE OF DUAL BOOT MANAGER. THE CUSTOM ROM IS WORKING FINE AND NO ISSUES
I HAVE TRIED THIS TO SOLVE
FIRST I HAVE CHECKED FILES IN /DATA/APP BUT I HAVE NOT FOUND ANY ODEX FILES IN THIS FOLDER.
THEN I HAVE CLEANED DALVIK CATCH AND ALSO CLEANED DATA IN TWARP RECOVERY
THEN I FLASHED STOCK ICS 6.1.A.2.55 KERNEL
BUT STILL NOTHING WORKED FOR ME. PLEAS HELP ME IN THIS REGARDS. THANKS IN ADVANCE.
first of all there is no need to use all caps, secondly i answered your question in the last comment of my first post.
you need to get a newer version of ics or a custom rom thats been updated to fix this bug that was part with some old stock versions of ics and GB.
if u like the stock rom, just find a custom updated version of ics that has bloatware removed and memory leaks fixed, there is one available for most mainstream devices, the one i use is for my device though and is not supported on your phone.
if u like custom roms get somethign like cyanogenmod last stable release just google cyanogenmod "your phone model here" and it shoudl come up
KronicSkillz said:
first of all there is no need to use all caps, secondly i answered your question in the last comment of my first post.
you need to get a newer version of ics or a custom rom thats been updated to fix this bug that was part with some old stock versions of ics and GB.
if u like the stock rom, just find a custom updated version of ics that has bloatware removed and memory leaks fixed, there is one available for most mainstream devices, the one i use is for my device though and is not supported on your phone.
Click to expand...
Click to collapse
Hi. Thanks for your reply. I found the reseon for my above mantion problem. As I mantion I m using acid audio engine version 4 I have restored my cwm backup which was taken before the installation of acid audio. After restoration android is upgrading msg gone and phone boot normally. Then I tried different versions of acid audio like 5 and the latest 7 but after instalation the problem comes back so there must be something in acid audio package. So plz if u have some time then plz help me in this because apart from problem this audio mod is very nice. I herewith paste the build prop lines which acid audio adds during installation for your reference.
###AC!D Sound Tweaks by R-ikfoot###
#Sony Xloud
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
#Resampling Tweaks
af.resampler.quality=255
af.resample=48000
ro.audio.samplerate=48000
ro.audio.pcm.samplerate=48000
persist.dev.pm.dyn_samplingrate=1
persist.audio.samplerate=48000
persist.audio.pcm.samplerate=48000
persist.af.resampler.quality=255
persist.af.resample=48000
#One X+ Beats
persist.tegra.nvmmlite = 1
persist.audio.SupportHTCHWAEC=1
htc.audio.swalt.enable=1
htc.audio.swalt.mingain=14512
ro.audio.pcm.samplerate=48000
i dont think it has anything to do with what you posted, but im not 100% sure
my comments:
1. why do u need this sound tweak?
2. have u tried the same installation on another rom... everything i've read about rescanning all apps is a problem with stock ics 4.0.4 or some GB stock roms, which is fixed by upgrading to newer stock ics or custom roms.
3. have you contacted the developer of the tweak you are adding and asked him about it? i dont know anything about audio addons because i mostly play music in my car over bluetooth and its always sounded incredible so i've never had a need to tweak it.
4. what lead you to think that the build.prop changes are causing the problem?
5. without knowing what other modifications this audio tweak you are using does it hard for me to even try to figure this out.
6. i dont see why a bunch of audio setting changes would cause your phone to scan all apps every restart...
7. this thread is not meant to deal with this issue caused by things other than dalvik wipe/kernel upgrade/old bug in some versions of GB/ISC
does your acid audio addon or w/e its called make changes to the kernel? if so that is more likely the issue, have u checked permissions of all your files in /app folder
I don't get it. Every single app in my data\app folder is rw-r--r-- Should it be something else??
are you getting the kernel upgrading on every boot?
i think the permission problem is the .odex not the apps, i think its normal for the apps to all be rw r r
i thought it was both app and odex at first but i think just the odex is the issue. not 100% sure, either way if you are seeing the error on boot play with the permissions, or reinstall apps in question if that doesn't work. start with the odex permissions i think you are right and the apps are rw r r by default. therefore that probably isn't the issue.
i just did another kernel upgrade so i tried the method of changing permissions, it doesn't seem as reliable as uninstall reinstall.
when i changed permissions the optimizing of app went away but i still got annoying upgrading message.
i recommend uninstalling and reinstalling any apps that have odex in data/apps folder. i'm still not 100% sure why this fixes it but it does for me.
the permission changes seem like they only fix the issue sometimes
Hi Kronic,
I've got a Nexus 4 on stock and rooted (updated to 4.2.2) and constantly get the "Android is upgrading" on every boot. I've had this issue for sometime now and only every so often will I dedicate time to finding a solution with no avail. I updated a couple of days ago, had to do a factory reset and upon booting up that was the first message.
I had a looked into the data/app file and I do not have a single .odex file, all apk. I do have a strange file in that folder though, sensor_ctl_socket with permissions set to rwx-rw-rw
Thoughts?
its normal for it to happen after a factory reset, you should only look into fixing it if it continues this behavior after multiple reboots
KronicSkillz said:
its normal for it to happen after a factory reset, you should only look into fixing it if it continues this behavior after multiple reboots
Click to expand...
Click to collapse
Hi Kronic, thanks for the reply. Notice the key word EVERY boot/reboot . Granted, I don't have to reboot or power off my phone often BUT when I do it is annoying to see the Android is upgrading message and it takes a while to update all of the apps. (I actually had to reboot a few times while fixing a gallery/camera issue).
I've searched multiple forums/posts/pages for a solution and have found nothing. I tried undoing the Dalvik integration as recommended on this postand that didn't help either.
what version of android are you using, are you possibly using the bugged version? you did a factory reset and you haven't updated right? there was a few versions of android that have this bug and have to be updated to be fixed. aside from that i'm not sure what else it could be, let me know if you've already updated we'll look into some other solutions.
KronicSkillz said:
what version of android are you using, are you possibly using the bugged version? you did a factory reset and you haven't updated right? there was a few versions of android that have this bug and have to be updated to be fixed. aside from that i'm not sure what else it could be, let me know if you've already updated we'll look into some other solutions.
Click to expand...
Click to collapse
Rooted, stock on 4.2.2 (see image attached) Thanks for your help
you might wanna see if reinstalling apps fixes it but its wierd cuz u have a fairly new version of android.
kill .odex junk file
Bammed the "Thanks" button on this post, for solving this nutcracker.
KronicSkillz said:
after wiping dalvik cache to flash a kernel....
this problem is caused when there are .odex files in /data/app folder than have permissions set so system can no write to them during the optimization process. There may be other causes, but this is the leading cause, i read about 15 threads on this, for alot of people its the app titanium backup odex file that causes the issue but there can be other programs. for these people the fix is uninstall and reinstall titanium backup. for me, i used es file explorer (root req) and i deleted any .odex (in data/app) that i found that didn't have write permissions for the system, i found two odex files that were rw- r-- r-- and deleted them. then i rebooted and the android is upgrading message did not come back (after 2nd reboot) at this point i reinstalled the two apps that had the odex files without w permission for system.
i assume the problem could also be fixed by changing the permissions on the odex files without having to reinstall them, but if the permissions were set like that for a reason, you'll want to set it back to rw- r-- r-- after you stop getting the android is upgrading message at bootup.
cheers guys, just made this thread because the other 15 threads i read on this topic were all lacking in useful information.
note: some outdated versions of ICS are
known to have an issue where the system scans EVERY app on EVERY restart, this fix does not fix that. if your phone is rescanning EVERY app and not just the ones with odex w permission off then you need to update your ics version or get a custom rom that is up to date to fix this.
Click to expand...
Click to collapse
Thank you for extremely for this info.... Thought I was gonna have to re flash my phone again
Night_1 said:
Thank you for extremely for this info.... Thought I was gonna have to re flash my phone again
Click to expand...
Click to collapse
then push the thank you button
I'm sure there is a proper term for my issue, but I'm not clear on what it is. That fact has made it difficult for me to search for resolutions. Anyhow, I'm running cyanogenmod (RC2, as of this typing), apps that are not on phone storage show up in the following format:
com."appname"
I've temporarily fixed this issue a few different ways, but I'm never applying a fix that always works. For example, I have tried fix permissions in ROM toolbox app manager. After reboot, they are back to broken. I don't want to resort to desperate measures, but I'm thinking if I can't find out some kind of solution the only thing I can do to fix it is to wipe everything and reinstall manually, once 10.1 is stable.
I should also mention, generally the apps work just fine. Sometimes they will temporarily say they are not installed, but generally they work.
Elitevaz said:
I'm sure there is a proper term for my issue, but I'm not clear on what it is. That fact has made it difficult for me to search for resolutions. Anyhow, I'm running cyanogenmod (RC2, as of this typing), apps that are not on phone storage show up in the following format:
com."appname"
I've temporarily fixed this issue a few different ways, but I'm never applying a fix that always works. For example, I have tried fix permissions in ROM toolbox app manager. After reboot, they are back to broken. I don't want to resort to desperate measures, but I'm thinking if I can't find out some kind of solution the only thing I can do to fix it is to wipe everything and reinstall manually, once 10.1 is stable.
I should also mention, generally the apps work just fine. Sometimes they will temporarily say they are not installed, but generally they work.
Click to expand...
Click to collapse
Not sure why sometimes they don't work. Maybe you have a bad SD card? I'm on 5/11 nightly, and mine are labeled the same way, but I have no issues with any of them.
bobbyphoenix said:
Not sure why sometimes they don't work. Maybe you have a bad SD card? I'm on 5/11 nightly, and mine are labeled the same way, but I have no issues with any of them.
Click to expand...
Click to collapse
It seems to be waiting for some sort of initialization period or for a specific service to start that is a bit slower or lower priority. Lately, it's just at boot these apps don't work or aren't "recognized" by Android. Given about 5 minutes, they always work.
Hi, new to the forum, I tired to figure out this problem on youtube to no avail. So I have a rooted g3 with twrp. After the botting process, it takes me to the setup screen. But after getting to the point where I pick the look of the onscreen home buttons etc, the wizard crashes, I press 'OK" and it starts over. So then I found a link here about going into twrp and deleting the setupwizard.apk file which is supposed to 'fix" the problem(http://forum.xda-developers.com/showthread.php?t=2668851). Did that then I rebooted but still same issue remains. What else can be done about this?
Can't you just skip it and do it manually
Dez730 said:
Hi, new to the forum, I tired to figure out this problem on youtube to no avail. So I have a rooted g3 with twrp. After the botting process, it takes me to the setup screen. But after getting to the point where I pick the look of the onscreen home buttons etc, the wizard crashes, I press 'OK" and it starts over. So then I found a link here about going into twrp and deleting the setupwizard.apk file which is supposed to 'fix" the problem(http://forum.xda-developers.com/showthread.php?t=2668851). Did that then I rebooted but still same issue remains. What else can be done about this?
Click to expand...
Click to collapse
I had the same issue when flashing "Lonely Rom" and "Zone Rom" (come to find out my original out of the box rom crashed also if I went back into it and tried to do the set up again). 2 apks need to be deleted (4 if still odexed) LgStartUpWizard in system app folder and LgSetupWizard in priv-app folder. I edited my zip before flashing with all the updated Google equivalents plus some other stuff I normally do. The Google set up process worked like a charm and everything is running better than stock (better battery life and no noticeable lags) even though it's a "stock rom", I also run Xposed with several modules for my needs with no adverse effects here.
zoman7663 said:
I had the same issue when flashing "Lonely Rom" and "Zone Rom" (come to find out my original out of the box rom crashed also if I went back into it and tried to do the set up again). 2 apks need to be deleted (4 if still odexed) LgStartUpWizard in system app folder and LgSetupWizard in priv-app folder. I edited my zip before flashing with all the updated Google equivalents plus some other stuff I normally do. The Google set up process worked like a charm and everything is running better than stock (better battery life and no noticeable lags) even though it's a "stock rom", I also run Xposed with several modules for my needs with no adverse effects here.
Click to expand...
Click to collapse
Thanks man, lol but I unrooted back to stock an hour ago. But now I'll know what to do when I root again & have the same issue pop up
BACARDILIMON said:
Can't you just skip it and do it manually
Click to expand...
Click to collapse
Nah, the step I got to there was a 'next' or 'back'.
Similar Issue
Dez730 said:
Hi, new to the forum, I tired to figure out this problem on youtube to no avail. So I have a rooted g3 with twrp. After the botting process, it takes me to the setup screen. But after getting to the point where I pick the look of the onscreen home buttons etc, the wizard crashes, I press 'OK" and it starts over. So then I found a link here about going into twrp and deleting the setupwizard.apk file which is supposed to 'fix" the problem(http://forum.xda-developers.com/showthread.php?t=2668851). Did that then I rebooted but still same issue remains. What else can be done about this?
Click to expand...
Click to collapse
Hello,
I am new to the site, and fairly inexperienced with rooting. I used KingRoot to root my LG G3 and then did a factory reset so that I could re update to the current android version before rooting. Now I get stuck at the same point in the setup process. However, I do not have TWRP or CWM installed. What are my options?
Thanks
Okay, so...I've been searching for a good month or so on what and how to do to eventually fix this, no luck.
First of all, let me say I'm a complete noob in this stuff, and yes, i understand that I shouldn't have tampered with what I have no experience with, anyway;
I saw a thread on ported apps from the G4, and figured, "Heck, why not". Rooting and everything went smooth, until it said that I have to change the format (?) or something of the system/apps folder to something else than it already is.
That's where everything went in the wrong direction. The folder became invisible (?) and unreadable by the phone, even tho I could see it with the ES File Explorer, but couldn't with Root Browser. I tried changing the format of the system/apps folder to what it originally was and that didn't help.
So, now I have no system apps which I can use, I always get the "_____ has stopped working" notification. Bluetooth doesn't work, NFC, the remote app, can't change the lockscreen effects OR the lockscreen wallpaper, and many other apps and settings crash randomly.
The question is, can I find or get by any chance a copy of someone else's folder to copy it back to mine to fix this if it works this way. Or is the only way to fix this to flash back the stock ROM to the phone? Or perhaps is there a way to make the folder "usable" again by doing something I don't know? Any help would be appreciated.
Thanks!
Currently running Android 5.0 if that matters.
Edit: Just failed to mention that the phone is usable, not in any bootloops or whatsoever, the LG launcher is not working of course, but I somehow got the phone running with Nexus Launcher. The keyboard is the same, using Swiftkey. Yes, it's usable like this but not convenient, I need the system apps lol.
So last night i flashed cr droid 7.1 and was working great. But since theres no xposed for it yet i went online looking for a way to get rid of youtube ads. And i did but i messed up a step and instead of changing the app folder permissions, i changed the system folder permisions. When i did so, the phone would just bootloop into recovery. So i flashed the rom again and worked great ( in fact, still does. Im posting from the very same phone) except now i have no sound, camera doesnt work, michrophone says is being used all the time so phone calls are imposible, music wont play, etc.
What ive tried so far has been:
Reverted permisions manually.
Restored to a past backup.
Wiped clean and tries a couple different roms
Nothing seems to work and i am a loss right now and could really use some help