Help Request - Optimizing Apps moved to system at boot - HTC 10 Questions & Answers

Hi, im new to Android and the HTC 10 is my first Android phone.
Im cleaning up and creating my own system rom, as part of this im moving certain application updates to the system partition to maximise space and keep the phone clean - this way i can restore to a fully updates, non bloat ware rom in one step.
However, i have a problem and hope someone can help / advise.
Most out of the box updates have now been integrated successfully, however (and it seems to be random), some cause the phone to show "Optimizing apps" at boot - at first I assumed this was a one off, however its not - its every boot.
Does any one know what causes this and a way to track down which app is stuck causing this "optimizing apps" please? Are there any log files I can refer to?
Many thanks in advance!

This is to be fixed in Android N but it shouldn't happen every boot
Sent from my HTC 10 using XDA-Developers mobile app

Its not a problem now, but only for specific apps which have had updates moved to system - something must cause it, any ideas?

Ive managed to move all Google apps now to the system partition - i discovered disbling, force stopping and then clearing any app data allowed them to be moved without the "optimizing app" on startup message. The HTC apps dosnt seem to function from system - for example Zoe just fails to run from system.

dabbler77 said:
Ive managed to move all Google apps now to the system partition - i discovered disbling, force stopping and then clearing any app data allowed them to be moved without the "optimizing app" on startup message. The HTC apps dosnt seem to function from system - for example Zoe just fails to run from system.
Click to expand...
Click to collapse
Interestingly - With Zoe, if i delete the update, fully uninstall from system, download the full package, disable, stop and move back to system it now works fine from system Happy days.

Related

How to clean the cache (globally) in the internal memory?

I think I should clean the cache a bit, i tried to uninstall some apps but maybe it isn't enough. The Android market is unable to download new apps while BlackDroid still works
assente said:
I think I should clean the cache a bit, i tried to uninstall some apps but maybe it isn't enough. The Android market is unable to download new apps while BlackDroid still works
Click to expand...
Click to collapse
I have the same problem, i installed quite a few appz and then removed them, now out of memory from left over installs and not half the appz as orig installed.
I'm interested in finding out this as one. This utility is badly needed.
Don't know how long before we will be able to choose location where to install appications i.e., ofcourse SD card.
dr_s said:
I'm interested in finding out this as one. This utility is badly needed.
Don't know how long before we will be able to choose location where to install appications i.e., ofcourse SD card.
Click to expand...
Click to collapse
We need it rooted fpr apps2sd, but still waiting so we must just be patient.
I don't know if it's the same thing you're talking about, but you can clear the cache from the recovery menu.
This does not require root:
http://www.cyrket.com/p/android/com.cerisierbleu.qac/
But you cannot clear all caches at once. Still handy though.
This require root access:
http://www.cyrket.com/p/android/com.aac.cachemate/
http://www.cyrket.com/p/android/org.lsartory.cachecleaner/
gogol said:
This does not require root:
http://www.cyrket.com/p/android/com.cerisierbleu.qac/
But you cannot clear all caches at once. Still handy though.
This require root access:
http://www.cyrket.com/p/android/com.aac.cachemate/
http://www.cyrket.com/p/android/org.lsartory.cachecleaner/
Click to expand...
Click to collapse
Awesome find gogol, very handy indeed, less time consuming... would like to see a clean all feature though!
EDIT: Unfortunatly, Android does not offer the possibility to delete data of other applications (on unrooted phones) for security reasons ... the only way to clear an application cache is to call a system application which is allowed to delete it, that's the reason why several caches can't be cleared with one click, just like with this application.
Alternatively, instead of installing such an app, you can practically achieve the same results by going to settings>apps>manage apps
then menu and sort by size
the top 3 or so you can quickly clear and be done.
A quality utility, thanks
Ok I done a factory reset and gained 128 meg Install lots of appz and still have over 90meg free
Sent from my HTC Desire using Tapatalk
Refine Efficiency Pro (http://refineandroid.doodlekit.com/)
Check Refine Efficiency Pro:
- cache cleaner (root and non root(individually)), no sd card cache support;
- market history cleaner;
- task killer;
- start up manager (root and non root(no guarantee));
- task scheduling.
Also browser history cleaner.

[Q]CM7 apps Force Close

I have used CM7 on my Incredible for a while now and have had to constantly wipe and reinstall every week or so. When i install, the ROM runs perfectly, with all my apps working and everything. After a few days though, most of my apps force close whenever I open them. Namely, messaging, Gmail, and browser force close, along with my market installed apps.
This has happened to me many times now and I can't figure out how to fix this issue. I have changed different options when installing the ROM and tried Fix Permissions in Rom Manager and nothing fixes it .
My friend's phone as well as my dad's have had this same issue on CM7 as well. Any help would be greatly aprreciated!
bravesfan171 said:
I have used CM7 on my Incredible for a while now and have had to constantly wipe and reinstall every week or so. When i install, the ROM runs perfectly, with all my apps working and everything. After a few days though, most of my apps force close whenever I open them. Namely, messaging, Gmail, and browser force close, along with my market installed apps.
This has happened to me many times now and I can't figure out how to fix this issue. I have changed different options when installing the ROM and tried Fix Permissions in Rom Manager and nothing fixes it .
My friend's phone as well as my dad's have had this same issue on CM7 as well. Any help would be greatly aprreciated!
Click to expand...
Click to collapse
Any ideas?
Check and make sure your data/data partition isn't full. If it is, grab a cache cleaner from the market to free up some space.
This actually happened to me earlier tonight.
Had to reinstall to get through the night til I got back home, but I may need to go back to another ROM if this keeps up. Glad to know I'm not the only one though.
Smabbage said:
Check and make sure your data/data partition isn't full. If it is, grab a cache cleaner from the market to free up some space.
Click to expand...
Click to collapse
That's true, didn't think about that. Will I have to keep doing that more and more if i install more apps though?
This happens to me and all my friends phones with the cm7 final. They keep telling me its user error. We all have to clean wipe about once a week because of force closes. I finally switched it redemption rom
DROID Incredible
By the way i never had a single problem with the nightlies
DROID Incredible
06stang said:
By the way i never had a single problem with the nightlies
DROID Incredible
Click to expand...
Click to collapse
If what Smabbage said is true then hopefully that'd make sense. That way when you consistently install the nightlies, there is no way for the data partition to fill up all the way. Good to know. thanks!
I've been fighting this exact same problem. The only way I can keep it from happening is to do a full wipe and let the Android Market reinstall most of the apps. Then I can use titanium to bring back the missing apps and system settings.
Here's the things I've tried, with no success:
Wipe Cache / Wipe Dalvik Cache
Fix Permissions
Nandroid Backup then Restore (ok so I didn't expect that to do much)
Uninstalling apps, moving apps to SD (using the Android method, not Apps2SD)
Another interesting thing is that I run Watchdog, but instead of force closing, it pops up a message saying "Disk IO Error in Watchdog". That makes me wonder if some partition (Cache, data, I dunno) is out of space or worse, there are physical problems with the internal memory of my Incredible.
I have one question for everyone - How do I see how much space is available on each partition? I mean, I can go to the Android settings and see App Data storage left or SD card space left, but is there an app or tool I can see that will show me each partition with space left?
jjdoyle20 said:
Another interesting thing is that I run Watchdog, but instead of force closing, it pops up a message saying "Disk IO Error in Watchdog". That makes me wonder if some partition (Cache, data, I dunno) is out of space or worse, there are physical problems with the internal memory of my Incredible.
I have one question for everyone - How do I see how much space is available on each partition? I mean, I can go to the Android settings and see App Data storage left or SD card space left, but is there an app or tool I can see that will show me each partition with space left?
Click to expand...
Click to collapse
Had exactly same issue (even same Watchdog error) and Smabbage's answer was spot-on.
To check, open terminal emulator (gives you shell prompt) and do "df -k" - this will list all filesystems and, among other info, how full they are. My "/data/data" partition was full. Cleaned up some cache's and my phone is back in action.
Seems like a lot of games (and Netflix) fill the /data/data partition. Wonder if it is possible to make it larger at the expense of built in memory?
In any case, may be a good add-on to CM to monitor space in /data/data and give a reasonable warning when you close to running out.
I have been using CM7 for a while now and the apps that force close, are usually tied to the SD card. Try moving them to internal and see if it helps.
same here..
I use galnet miui (cm base)
after a few weeks, it shows 'disk io eror in watchdog'
and many programs fc.
never had this problem before.
someone can help me?
how can I fix this..
I know this is an old thread, but ive been searching around to see if other people have this problem.
i have found a temporary solution. open Root Explorer and go to /cache/dalvik-cache....use multi-select to select all items and then delete. reboot (IT WILL TAKE A WHILE TO REBOOT, IT IS REBUILDING, IT CAN TAKE UP TO 15MIN DONT PANIC) yes, this is in fact "wiping dalvik-cache" but ive gotten much better results doing it manually than through CWM.
this will calm your phone down at least for a few days with no force closes/service interruption, but you will have to do it again..........and again, and again. its better than having to do a full wipe though, obviously. hope this helps anyone who is still having this problem.

Help troubleshooting touchwiz problem for me.

Plzz if someone can help me.....i m even ready to pay for this..but only mobile recharge ..since its very difficult for me to solve and i require it to be solved badly..
So here is the problem..
I was almost having 450 apps installed on touchwiz or aosp based rom but whenever i m running them on touchwiz rom their are some apps which force close at some fixed point* which is majorly at a point where such app has to access whole list of apps, like if say permission master it access whole lost of apps than while accessing it force stop & some other apps also like my most impt. App caclubindia it force close when i login into it...these apps does not force close when only they are installed...but whenever some more apps are installed they start giving fc...
I tried many things like xposed may be giving error...trying unrooting phone...and tons of things but i m never able to find out the reason....please if any 1 can help me in fixing this bug...1stly what is causing these apps force close...and than fixing it ..i m really frustrated...tried changing 9 10 touchwiz roms...all at some point start giving these errors..but there is no problem on aosp based rom....can someone help me plz...i m ready to pay him for such help...bcoz now i cant live without my fav. App Caclubindia
partneroye said:
Plzz if someone can help me.....i m even ready to pay for this..but only mobile recharge ..since its very difficult for me to solve and i require it to be solved badly..
So here is the problem..
I was almost having 450 apps installed on touchwiz or aosp based rom but whenever i m running them on touchwiz rom their are some apps which force close at some fixed point* which is majorly at a point where such app has to access whole list of apps, like if say permission master it access whole lost of apps than while accessing it force stop & some other apps also like my most impt. App caclubindia it force close when i login into it...these apps does not force close when only they are installed...but whenever some more apps are installed they start giving fc...
I tried many things like xposed may be giving error...trying unrooting phone...and tons of things but i m never able to find out the reason....please if any 1 can help me in fixing this bug...1stly what is causing these apps force close...and than fixing it ..i m really frustrated...tried changing 9 10 touchwiz roms...all at some point start giving these errors..but there is no problem on aosp based rom....can someone help me plz...i m ready to pay him for such help...bcoz now i cant live without my fav. App Caclubindia
Click to expand...
Click to collapse
450 apps seem to be too much. It could be that your data partition and cache are nearing full. Also I would like to see a screenshot of the apps usage details-
Settings / Applications / Application Manager / All Applications where the phone reports available memory.
See Screenshot I have posted for you.
You can get a micro-sd card. Partition it and use Link2Sd to install applications on the sd card.
Just install the most needed & priority apps first and see if get force closes. If no, proceed to install the remaining in batches (of say 25 apps per time). If you do fine, proceed until you find the misbehaving app.
Touchwiz needs more space than AOSP Roms so maybe your phone is not getting enough memory.
Ravi.
grtbhl said:
450 apps seem to be too much. It could be that your data partition and cache are nearing full. Also I would like to see a screenshot of the apps usage details-
Settings / Applications / Application Manager / All Applications where the phone reports available memory.
See Screenshot I have posted for you.
You can get a micro-sd card. Partition it and use Link2Sd to install applications on the sd card.
Just install the most needed & priority apps first and see if get force closes. If no, proceed to install the remaining in batches (of say 25 apps per time). If you do fine, proceed until you find the misbehaving app.
Touchwiz needs more space than AOSP Roms so maybe your phone is not getting enough memory.
Ravi.
Click to expand...
Click to collapse
Thank you for showing some interest in the query....and i m absolute sure that not a problem of storage/memory....now this problem has become universal for me...even if around 100 apps are installed they start giving fc.....internal storage even if around 450 apps are installed...is free around 3-4 gbs. And cache etc is also not full...even ram usage i examined not a problem there..any help...??? Is their anyway for me to find out what is the reason behind fc's or any help from ur side ???
Frequent force closes mean files are corrupt some where.
I would recheck the md5sum of Rom before flashing. But you are saying that the issue has persisted over multiple Roms.
I would take a backup, reflash, start from scratch and install all the apps one by one again restoring only the core data which is really important.
But you can try by fixing permissions through the recovery and see if any luck from there. Also clear the cache & dalvik after fixing permissions.
Ravi.
Ravi.
-----------------------------
If you liked my post, please hit the thanks / thumbs up button.

Help needed with Cyanogenmod 11 crashes

I have very happily used CM11 on an Samsung S4 for many years. Now suddenly after an apparently harmless update of a few Apps (gmail, youtube, firefox and a few more small ones), my phone keeps crashing whenever it accesses some deeper app info.
Symptoms: With a SIM card, the phone will crash and reboot right after entering the PIN for the SIM card. Without a SIM card, I can get to the lock screen, enter my unlock gesture and then see many, many messages that Trebuchet has crashed. Leaving the phone turned on for a night will result in a working Trebuchet launcher. I can run most apps, but accessing Settings > Apps will briefly show the Apps and then crash Settings. Staring Titanium Backup will work for a minute while "Building data freshness information..." and then crash TB. Dragging an App icon onto "App Info" will briefly display the App Info while computing disk space and then crash.
What I tried so far: Installed two other launchers but they showed the same symptoms, one even directly rebooted the phone. I booted into recovery and reset the Dalvik cache and let CM rebuild the app details on restart. No apparent positive effect. I tried removing the SD card but did not see any positive effect either. Booting into Safe Mode did not help, I still see systemui and trebuchet crashing upon restart. Also clearing the app data for Trebuchet (through 'adb shell pm clear com.cyanogenmod.trebuchet') did not remove the crashes.
I have about 300 apps installed. Internal storage has about 1GB free, the SD card has 400MB available. I can connect to the phone via adb, but 'adb backup' produces only an empty file. I can run Play Store, list my apps, install updates. This is a Samsung S4 GT-I9505 running Cyanogenmod 11.0 based on Android 4.4.4.
Any help would be much appreciated, moving all my apps and their settings to a new phone or a new OS would be a very big effort...
Thank you very much in advance!
PS: What would be the best way to make a full backup of the phone before installing a new OS?
mb42 said:
I have very happily used CM11 on an Samsung S4 for many years. Now suddenly after an apparently harmless update of a few Apps (gmail, youtube, firefox and a few more small ones), my phone keeps crashing whenever it accesses some deeper app info...
Click to expand...
Click to collapse
Your best bet is to post this question within the following thread specific for your device.
https://forum.xda-developers.com/showthread.php?t=2192886
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Ibuprophen said:
Your best bet is to post this question within the following thread specific for your device.
https://forum.xda-developers.com/showthread.php?t=2192886
Good Luck!
Click to expand...
Click to collapse
Thanks, will try there.

Where are startup apps stored or startup permissions for an app stored [ROOT]?

I have my Samsung Galaxy J2 Pro rooted and have installed file explorer in my phone. I would like to know where are startup apps stored or the granted startup permissions stored for a particular app.
So that I can turn that off by editing the file as most of the apps that manage startup apps close them upon launch which is not a good solution.
So-called startup apps are apps that launches other apps. Do you refer to those?
BTW: These startup apps get started in background at system boot, they listen for BOOT_COMPLETED intent and then perform their tasks.
jwoegerbauer said:
So-called startup apps are apps that launches other apps. Do you refer to those?
Click to expand...
Click to collapse
Startup apps are those which launch at the boot time and thus slowdown the android boot.
xyzqwerty500 said:
Startup apps are those which launch at the boot time and thus slowdown the android boot.
Click to expand...
Click to collapse
Yes they increase CPU & RAM usage.

Categories

Resources