[Q] My Phone freezes while Installing Apps - Samsung Galaxy Nexus

Hi.!
I have a disturbing problem with my gnex.
Running Xylon 14 stable with franco kernel. I always use latest version of everything.
But my problem comes from past time and still continues.
When i install an app, from market, from blackmkrt or as an apk doesnt matter my phone frozes for 30 secs.
I cant do anything while doing that. Then it comes back to normal.
Its really annoying cuz sometimes play store crashes because of that, my navbar goes then comes back.
i have over 140 apps installed and i always flash roms wiping data and cache. always clean install.
but restoring apps from titanium backup.
When i do clean flash, if i install anything from anywhere, nothing happens, my phone acts normal.
Is this related to titanium backup? or Rom problem (Which i dont think so) or Related to so many apps installed.
Thank you..

Probably one of the apps u r restoring using Titanium Backup is giving u problem. I would do a clean install and download/install the apps one by one instead of restoring them with titanium backup. I know is painful doing this for 140+ apps but I don't think u use all of them.
Sent from my Galaxy Nexus using xda premium

jjjameson said:
Hi.!
I have a disturbing problem with my gnex.
Running Xylon 14 stable with franco kernel. I always use latest version of everything.
But my problem comes from past time and still continues.
When i install an app, from market, from blackmkrt or as an apk doesnt matter my phone frozes for 30 secs.
I cant do anything while doing that. Then it comes back to normal.
Its really annoying cuz sometimes play store crashes because of that, my navbar goes then comes back.
i have over 140 apps installed and i always flash roms wiping data and cache. always clean install.
but restoring apps from titanium backup.
When i do clean flash, if i install anything from anywhere, nothing happens, my phone acts normal.
Is this related to titanium backup? or Rom problem (Which i dont think so) or Related to so many apps installed.
Thank you..
Click to expand...
Click to collapse
I'm having the same issue, not quite as bad as 30 secs, but my phone will practically lock up when installing or uninstalling apps, or just any general file operation. I am also using xylon (16-1, also tried 19 and tried xenonhd latest). Tried multiple kernels doesn't seem to make any difference.
If you haven't already tried using Lagfix from the market, that might just fix your problem, I think it worked for me a couple times but I'm not 100%. Now it doesn't see to help at all.
Yesterday I decided to wipe everything and install from scratch, installing all apps from the market, and a few manually, it seemed better at first. Then I restored a few remaining apps with Titanium Backup (i needed to restore the data and app). Not sure if thats made it worse or not but it still hangs when installing/uninstalling apps. Very frustrating, after I spent probably over 4 hours (I have a lot of apps).
Seems like the CPU clock gets maxed out when this happens, but I can't see high usage from any apps in particular... I know this is not normal behavior because last week my phone was running perfectly with same rom and kernel, it would not lag/freeze when doing any file transfers or installs etc..
Wish I could pinpoint this issue its really driving me nuts. However I think you should definitely try Lagfix it might fix your issue.

i had the same thing happening on every rom/ kernel i tried .
and i also noticed that the cpu usage spikes to 100% for the time the device locks up.
i also noticed unusual high cpu usage whenever i/o was happening.
so i finally returned to stock and have not had any lock ups yet and the cpu never goes to 100% during i/o. its also high, but not maxed out.
i also noticed this on other devices with custom roms which makes me believe that it has to do with some stuff that was changed in the rom or kernel.
i will stay on stock for some time to see if the lockup will come back because everybody tells me it will... so i will report back in a couple of days and let you know if it started to lag.
oh and i restored all apps with titan backup like i had them in the custom rom so this can not be the issue.
Sent from my Galaxy Nexus using xda premium

grognaz said:
i had the same thing happening on every rom/ kernel i tried .
and i also noticed that the cpu usage spikes to 100% for the time the device locks up.
i also noticed unusual high cpu usage whenever i/o was happening.
so i finally returned to stock and have not had any lock ups yet and the cpu never goes to 100% during i/o. its also high, but not maxed out.
i also noticed this on other devices with custom roms which makes me believe that it has to do with some stuff that was changed in the rom or kernel.
i will stay on stock for some time to see if the lockup will come back because everybody tells me it will... so i will report back in a couple of days and let you know if it started to lag.
oh and i restored all apps with titan backup like i had them in the custom rom so this can not be the issue.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I can confirm the high CPU usage during the heavy i/o was happening. My phone would run cpu clock maxed, and then gets hot. One of the processes using a lot of CPU was System or System UI. I was also getting system ui crashes, without a error message though, it would just close and restart system UI by itself. When I checked battery stats showed Android_System which is System UI I believe.
I'm going to try again from scratch with a custom rom (one that was at one point not giving me problems xylon 16-1). This time i'm going to wipe everything including the internal SD.

AFAIK dalvik cache is generating right after installing app. Its like boot time increases after wiping dalvik cache.
And if so - its might be CPU greedy =.)

vvorth said:
AFAIK dalvik cache is generating right after installing app. Its like boot time increases after wiping dalvik cache.
And if so - its might be CPU greedy =.)
Click to expand...
Click to collapse
I see, maybe there is something gone wrong with the dalvik cache or something (I have no clue about dalvik cache) Is there perhaps an upper limit to the number of apps where the dalvik cache gets full or too large that would cause this issue? I've wiped cache and dalvik cache quite often (when trying other kernels recently) and it didn't seem to help the issue.
I went ahead and wiped everything went back to stock 4.2.1, installed 50+ apps via the market, phone barely got warm, and everything continued smoothly no freezing or high cpu usage during this (normally have 175+ apps installed).
I will test restoring app my other apps via Titanium Backup on the stock ROM and see what happens. Will report back...
I don't think I will stay on the stock rom for much longer, there are quite a few tweaks in these custom roms that I'm missing. But I will keep testing for now.
Thanks,
EDIT: Restored my missing apps with titanium (total 104 user apps) and everything is still smooth, including when installing and uninstalling apps from the play store etc... Will wait and see if that changes though.

quick_ said:
I see, maybe there is something gone wrong with the dalvik cache or something (I have no clue about dalvik cache) Is there perhaps an upper limit to the number of apps where the dalvik cache gets full or too large that would cause this issue? I've wiped cache and dalvik cache quite often (when trying other kernels recently) and it didn't seem to help the issue.
I went ahead and wiped everything went back to stock 4.2.1, installed 50+ apps via the market, phone barely got warm, and everything continued smoothly no freezing or high cpu usage during this (normally have 175+ apps installed).
I will test restoring app my other apps via Titanium Backup on the stock ROM and see what happens. Will report back...
I don't think I will stay on the stock rom for much longer, there are quite a few tweaks in these custom roms that I'm missing. But I will keep testing for now.
Thanks,
EDIT: Restored my missing apps with titanium (total 104 user apps) and everything is still smooth, including when installing and uninstalling apps from the play store etc... Will wait and see if that changes though.
Click to expand...
Click to collapse
Humm, I have the same terrible performance from Play Store. XENON HD Stable 4.0 and Franco kernel r364, although the problem goes back through many prior versions of this ROM and kernel.
I have almost 300 apps on the device, and Play Store seems to be the only one that kills the system. I'm also running the "seeder" app, which helped eliminate all other lag on the device FWIW.
A solution would be awesome, but for now, I just walk away from my comm dev and interact with the spousal unit. Strange, I know.

was1958 said:
Humm, I have the same terrible performance from Play Store. XENON HD Stable 4.0 and Franco kernel r364, although the problem goes back through many prior versions of this ROM and kernel.
I have almost 300 apps on the device, and Play Store seems to be the only one that kills the system. I'm also running the "seeder" app, which helped eliminate all other lag on the device FWIW.
A solution would be awesome, but for now, I just walk away from my comm dev and interact with the spousal unit. Strange, I know.
Click to expand...
Click to collapse
I should have updated earlier.
What I did was wipe everything including internal sd, then installed paranoid android rom, installed ak.Dummy kernel 673. Let the play store restore all my apps. Everything was smooth as hell almost 24hrs running so perfectly I was even running max cpu at 920mhz, everything was perfect until restoring some last remaining apps with titanium backup.
Soon as I did that lag and freezing has come back. Lag is so bad at times system ui force closes.
Edit: I just uninstalled all the apps that I had restored with titanium backup. So far the lag is still there somewhat.
This is really driving me fn nuts. If I wasn't so used to a lot of these custom rom features/tweaks, I would just stick with the stock 4.2.1 rom. That was the only rom that didn't eventually had even after restoring apps with titanium backup.
Anyway IMO there is something funky going on when restoring apps with titanium backup. That's when it all starts lagging again for me anyway. Device starts to get hot AGAIN (even though I have cpu still set to 920mhz max).
I've had this same issue with the following ROMs:
Xenon hd (latest)
Xylon (16-19 builds)
Paranoid android (latest)
So it doesn't seem to be rom specific...
I'm going to start over again for the millionth time (feels like) and wipe everything, and install paranoid android again but this time avoid titanium backup, but even going to install it.
I will report back.

Re: How do I fix this? Screen issue
quick_ said:
I should have updated earlier.
What I did was wipe everything including internal sd, then installed paranoid android rom, installed ak.Dummy kernel 673. Let the play store restore all my apps. Everything was smooth as hell almost 24hrs running so perfectly I was even running max cpu at 920mhz, everything was perfect until restoring some last remaining apps with titanium backup.
Soon as I did that lag and freezing has come back. Lag is so bad at times system ui force closes.
Edit: I just uninstalled all the apps that I had restored with titanium backup. So far the lag is still there somewhat.
This is really driving me fn nuts. If I wasn't so used to a lot of these custom rom features/tweaks, I would just stick with the stock 4.2.1 rom. That was the only rom that didn't eventually had even after restoring apps with titanium backup.
Anyway IMO there is something funky going on when restoring apps with titanium backup. That's when it all starts lagging again for me anyway. Device starts to get hot AGAIN (even though I have cpu still set to 920mhz max).
I've had this same issue with the following ROMs:
Xenon hd (latest)
Xylon (16-19 builds)
Paranoid android (latest)
So it doesn't seem to be rom specific...
I'm going to start over again for the millionth time (feels like) and wipe everything, and install paranoid android again but this time avoid titanium backup, but even going to install it.
I will report back.
Click to expand...
Click to collapse
Interesting. I use CWM for the ROM manager and Titanium to restore the apps. Haven't seen the lag problem, except after dirty flashes of XENON. After wiping, the lags went away, but only when using seeder (the free version from these forums).
For a while, I thought it was Facebook causing the lag. Every time I'd check OS Monitor, Facebook was running the CPU's at 40% or more. I backed off the refresh interval to one hour. Its now behaving normally but I'm not convinced that it caused the lags.
I concur: something is causing the lags. Maybe the community can piece together the common elements to isolate it. For now, my phone is running better than new and I'm really happy with the performance.

was1958 said:
Interesting. I use CWM for the ROM manager and Titanium to restore the apps. Haven't seen the lag problem, except after dirty flashes of XENON. After wiping, the lags went away, but only when using seeder (the free version from these forums).
For a while, I thought it was Facebook causing the lag. Every time I'd check OS Monitor, Facebook was running the CPU's at 40% or more. I backed off the refresh interval to one hour. Its now behaving normally but I'm not convinced that it caused the lags.
I concur: something is causing the lags. Maybe the community can piece together the common elements to isolate it. For now, my phone is running better than new and I'm really happy with the performance.
Click to expand...
Click to collapse
I will definitely give this "seeder" app a try this is the first I've heard about it. Thanks!
FWIW, I did have facebook installed but I had all refresh/notifications set to manual and/or off, never did see any high CPU usage with the facebook app in all the times I've been monitoring for this issue.
Thanks again,

You can get the entropy seeder app for free in the forum.
Galaxy Nexus (toro) XENON HD Stable-4.0 Franco kernel r364

was1958 said:
You can get the entropy seeder app for free in the forum.
Galaxy Nexus (toro) XENON HD Stable-4.0 Franco kernel r364
Click to expand...
Click to collapse
Thanks!
I've yet to try it thought, been trying to isolate the cause of this lag...which I might have found, sort of...
After wiping and installing everything from scratch 3 more times, it seems like if I go over 100 apps (number might be lower) that seems to the the trigger point. Once I hit this unknown number of apps installed its like a light switch gets flipped and everything goes to @#[email protected]#$, and lag starts.
This last time I only installed the most essential apps (which still was total of 60-70 lol) So far no lag at all, everything is running great, no lag when installing or uninstalling apps on the market etc..
Running as smooth as it does after a complete wipe and first install. So that's my thought for now, no idea what the actually issue is or how to fix it, other than staying below a certain number of apps. This seems to fix this issue for me at least for now anyway.
Few other things to note, I didn't let the market restore my apps automatically, I installed them one by one... Also did not install or use titanium backup, which I was suspecting as the cause initially, but it was just after restoring all my apps with TB, I went over this "X" number of apps installed that would cause the lag to begin.
Will update if anything changes.

i have exactly the same behavior...

Related

EVO keeps freezing / rebooting

Hi guys,
Hoping you all can help me. I installed Vipermod and undervolted 50mV. Running MIUI 1.7.22 with Tiamat 3.3.7 SBC. Also have SetCPU runnings with various profiles. Whenever I turn my phone on it'll work for a little bit and then freeze or restart itself. Should I just nand backup to without the vipermod, or is there a way for me to edit a script with the settings to remove the undervolt setting. I'm afraid of running a nand backup and the phone freezing in the middle. Thanks, appreciate any help.
As long as you have a full charge, a nand restore is usually a pretty fool proof way to fix any problems.
That vipermod is something most kernel devs don't mess with because of exactly what you are saying. There is some benefit if you can get it to work flawlessly, but it's hard to get it to do that.
I recommend a complete wipe, then restore your last nand. Again, just make sure you have plenty of battery whenever you restore a nand backup. The only thing that can really completely brick your phone is if it dies in the middle of doing something like that.
Here's Viperboys BSM_PSM_reset script, flash this in recovery if you get stuck in a bootloop.
Also, if you have the updated setCPU, goto the main screen and press menu, you'll see an option to download their "safe mode" zip file which you also flash in recovery
The BSM_PSM_RESET zip restores your kernel to its default settings, the setCPU zip you download restores setCPU to default settings as well
Viperboys BSM_PSM_RESET zip:
http://db.tt/5sHGbaY
Sent from my PC36100 using Tapatalk
I believe this is heat related!!! I am getting intermittent, but daily reboots and every time the phone feels hot. Usually I get the reboots whenever the phone is working hard, playing a game or using google maps. I always wipe EVERYTHING when flashing roms and the last two day I decided to do some fresh installs of AOSP and quality Sense roms(all GB) and I didn't load any new apps after install. Guess what!?!?! Still getting reboots and the phone is hot when it reboots. I then pull the battery cover and put it on a cool spot or in front of the AC and it boots and runs great as long as it is being cooled. I've been a huge HTC and Android supporter since day one, but at 13 months old I shouldn't have to deal with this especially when I baby the phone. I hate to say it but I may have to switch to the evil empire. Their phones just work and keep working, oh and their battery last all day, maybe two days on one a single charge.
If you read this post because you are having the issue please make note if the phone is hot when it reboots. Allot of people believe this is software related, I on the other hand believe it is heat and hardware related. Unfortunately I refuse to lose root and go return mine... UGH!!!
No offense, really, but I do NOT understand SetCPU. People use it to overclock, for what reason?? Are you planning on Playing COD BO on your phone?? Or do rocket science?

I747 Slim Rom Google Play Music

Hi All,
Not new here, but never had to post before, so it will not allow me to post to the SlimRom section under Original Android development. Just a bit of background: I have installed almost every ROM & Kernel out there for AT&T Galaxy S3. My favorite so far with the best battery life (and this is just MY favorite and MY opinion, everyone's is different), is SlimRom with BMS Kernel using SetCPU app, with Powersave/Noop for Screen Off and OnDemand/Sio for Screen On. Using an Anker extended battery, with 25% screen brightness, playing Candy Crush 1-2 hours a day, Facebook, web, a lot of email and text, I get 36 hours of battery, sometimes more. I also use Greenify, which is an excellent app, to hibernate running processes, which saves a lot of battery.
Since I have installed the rom, I have been downloading the weekly updates just to test them and try them out. With the 6.5 release, I noticed a significant difference in my battery drain. I uninstalled the apps I did not want with Titanium Backup as I normally do. But a few hours later, I noticed Google Play Music was back on my phone. I uninstalled again. Music came back again after reboot. It does not show in my "downloaded" apps, but it shows in my running processes and is using a considerable amount of battery usage. I can end the process, but of course it restarts after reboot. It also does not show as an option for Greenify to hibernate. I have never used Play Music, have nothing uploaded to it. It just bothers me that somehow, the app is being pushed to my phone without my consent at any time. Of course, I can go back to the official build of SlimRom, but just wondered why and how it keeps installing.
Thanks for any advice given!
nerdyblonde said:
Hi All,
Not new here, but never had to post before, so it will not allow me to post to the SlimRom section under Original Android development. Just a bit of background: I have installed almost every ROM & Kernel out there for AT&T Galaxy S3. My favorite so far with the best battery life (and this is just MY favorite and MY opinion, everyone's is different), is SlimRom with BMS Kernel using SetCPU app, with Powersave/Noop for Screen Off and OnDemand/Sio for Screen On. Using an Anker extended battery, with 25% screen brightness, playing Candy Crush 1-2 hours a day, Facebook, web, a lot of email and text, I get 36 hours of battery, sometimes more. I also use Greenify, which is an excellent app, to hibernate running processes, which saves a lot of battery.
Since I have installed the rom, I have been downloading the weekly updates just to test them and try them out. With the 6.5 release, I noticed a significant difference in my battery drain. I uninstalled the apps I did not want with Titanium Backup as I normally do. But a few hours later, I noticed Google Play Music was back on my phone. I uninstalled again. Music came back again after reboot. It does not show in my "downloaded" apps, but it shows in my running processes and is using a considerable amount of battery usage. I can end the process, but of course it restarts after reboot. It also does not show as an option for Greenify to hibernate. I have never used Play Music, have nothing uploaded to it. It just bothers me that somehow, the app is being pushed to my phone without my consent at any time. Of course, I can go back to the official build of SlimRom, but just wondered why and how it keeps installing.
Thanks for any advice given!
Click to expand...
Click to collapse
Did you notice when it reinstalls (reboot, download, etc.)?
Also, you could use TiBu to freeze it. I'm not so sure how it always gets back on your device after you uninstall it but logically, only the play store could push it, if that's the case, you could try clearing your store's data and see if it still pushed it (assuming that is what reinstalls it).
BWolf56 said:
Did you notice when it reinstalls (reboot, download, etc.)?
Also, you could use TiBu to freeze it. I'm not so sure how it always gets back on your device after you uninstall it but logically, only the play store could push it, if that's the case, you could try clearing your store's data and see if it still pushed it (assuming that is what reinstalls it).
Click to expand...
Click to collapse
It installs about 2 minutes after reboot, before I open any apps, email, etc. I did freeze with TiBu shortly after I posted the thread, and of course that worked. I guess it's the pesky thought of it installing by itself. I will unfreeze and try clearing the Play Store data as you suggested. It just seems it has to be something new in that build of SlimRom since the official build 6 and the 6.2 weekly did not reinstall it.
Thanks for your help!
nerdyblonde said:
It installs about 2 minutes after reboot, before I open any apps, email, etc. I did freeze with TiBu shortly after I posted the thread, and of course that worked. I guess it's the pesky thought of it installing by itself. I will unfreeze and try clearing the Play Store data as you suggested. It just seems it has to be something new in that build of SlimRom since the official build 6 and the 6.2 weekly did not reinstall it.
Thanks for your help!
Click to expand...
Click to collapse
I don't use SlimBean myself but it's a possibility. Seems odd though.
Glad to hear freezing it worked. Let us know if clearing the Store's data helps.

Apps slow to install on android 5.x.x?

I have noticed ever since I have started using lollipop based roms, the apps seems to install alot slower. For instance I had about 10 apps to install and I went to bed, when I woke up the next day it still wasn't done. They download fast, they just don't install fast like they did with kitkat. Has anyone else noticed this? If so, is there a fix?
johnnyh55 said:
I have noticed ever since I have started using lollipop based roms, the apps seems to install alot slower. For instance I had about 10 apps to install and I went to bed, when I woke up the next day it still wasn't done. They download fast, they just don't install fast like they did with kitkat. Has anyone else noticed this? If so, is there a fix?
Click to expand...
Click to collapse
Apps definitely install slower on lollipop. It has to do with ART vs Dalvik. Lollipop uses ART by default, where earlier Android versions used Dalvik, though kitkat did have an option to switch to ART. At a high level, on ART your apps will take longer to install because of some pre-compiling that has to take place. They also might take up some more room in your storage. However, they should open faster and hit the CPU a little less hard each time they open when using ART. Whereas on Dalvik some just in time compilation happened every time you started an app.
Not getting 10 apps installed overnight seems extreme. It sounds like your phone went into deep sleep and didn't work on the installation. Do you use something to try and aggressively force your phone to deep sleep when the screen is off, or revoke some "keep awake" privileges somehow? Also, if you use a CPU governor like interactivex that locks your CPU to min frequency when the screen is off, installing apps on lollipop will take a looooong time if your device is sitting with the screen off.
johnnyh55 said:
I have noticed ever since I have started using lollipop based roms, the apps seems to install alot slower. For instance I had about 10 apps to install and I went to bed, when I woke up the next day it still wasn't done. They download fast, they just don't install fast like they did with kitkat. Has anyone else noticed this? If so, is there a fix?
Click to expand...
Click to collapse
Should be longer, but all night seems excessive, perhaps it failed overnight or your phone went into deepsleep.

slow device after multiple rom changes and resetting

Unlocked s-off US model on verizon running viper now, but I've tried all of the other roms and done a whole bunch of RUU flashes back to the original verizon rom.
Now everything seems slower - especially restoring TB backups and app optimization (initial and after clearing cache). Seems to be taking at least twice as long as in the past if not 3-4x longer. Just re-flashed RUU thinking it would fix things but again it's taking forever to optimize apps after a brand new install. Have wiped everything countless times. Also slight stuttering when installing apps from the play store and doing something else. Wasn't like this initially. Is it possible that read speeds were altered somehow? I haven't played with the kernel so far so I'm completely out of ideas.
Check the ram consumption and how hard the cpu is working when your using the phone; was your phone ever running hot on a particular rom? It's possible you may have damaged your cpu, download Cpuz and see how each core of the cpu is working and also do a benchmark and Compare it to other people with the same phone.
Sent from my SM-N920F using Tapatalk

T989 running very slow?

From last few months, I've been noticing a major slow down in my device. It lags a lot freezes while opening almost any app making the phone almost unusable for daily basis. I don't know what's causing the slow down.
Here's what I've already tried with no positive results:
- Completely formatting SD card + Internal storage and Flashing stock ROM
- Completely formatting SD card + Internal storage and Flashing CM ROM with all android versions (4.1, 4.2, 4.3, 4.4, 5.0, 6.0)
- Frequently cleaning cache partition and wiping all application's cache.
I also have very few apps installed on my phone and there are no major load on the RAM as well.
I am wondering what can cause such slow down?
As far as I remember, this device wasn't that much slower when I first got it about 2 years back.
Does Google services are causing incompatibility with this device causing freezes or this is a hardware issue? (If it is, then which part of hardware could it be?).
Also do you also experience such slow downs, lags and freezing?
You can try to change your kernel and modify a few things. I really suggest using Wild Kernel and downloading the Trickster MOD app on Playstore and change your settings. I usually set my Governor to "ondemand" and it's worked pretty well. I used to have this problem too back when I had the phone on "batterysaver" and it was a mess.
I agree with the kernel tweaks. I"ve noticed that this device does NOT like to go below about 250mb free ram. I've set my LMK settings very aggressively. Accept for foreground applications, I've set everything to 3x normal.
I too am using On demand, tweaked.
I/O set to BFQ
I also like to run Chainfire's Recently (check the playstore) and I set it to max 6 apps with a limit of 6 hours. I only allow 2 Google search instances, no settings screens and I set it to remove each apps documents as well.
With the above, I experience very few slowdowns any more. I should add, that I am using MM roms.

Categories

Resources