[Q] AOKP and ART problem - Xperia SP Q&A, Help & Troubleshooting

I install offcial AOKP ROM for my phone (hxxp://aokp.co/devices/huashan). After I switch from Dalvik to ART, my phone restart and optimize around 90 apps, after my phone boot up I restart again and restart again and restart again for 10 times.
Every boot I always get Optimizing App for 6 apps. I ever use Paranoid neXus and SlimKat, there are no such this problem. Any one can tell me how to fix this problem?

joei007 said:
I install offcial AOKP ROM for my phone (hxxp://aokp.co/devices/huashan). After I switch from Dalvik to ART, my phone restart and optimize around 90 apps, after my phone boot up I restart again and restart again and restart again for 10 times.
Every boot I always get Optimizing App for 6 apps. I ever use Paranoid neXus and SlimKat, there are no such this problem. Any one can tell me how to fix this problem?
Click to expand...
Click to collapse
Go to System\Framework and delete com.sonyericson.sysmon.jar
It has already been answered many times by MrSteve and others, you could have searched first before opening a new thread.

ramcool789 said:
Go to System\Framework and delete com.sonyericson.sysmon.jar
It has already been answered many times by MrSteve and others, you could have searched first before opening a new thread.
Click to expand...
Click to collapse
Oh sorry, I am a new one, I have already search a lot before start new thread.

Related

Advanced Power Management MOD loads but causes reboot

I recently downloaded the latest APM Mod from Benjamin in the dev section which is supposed to be for the later ICS ROMs and while it didnt cause the device to freeze when loading like the previous version it then meant I couldnt shutdown or restart as attempting to load the menu causes a power cycle and it just auto rebooted.
I recovered back to an earlier working backup but really want this function, as I havent had 10 posts I cant reply to the dev thread, any ideas?
Sensation_NZ said:
I recently downloaded the latest APM Mod from Benjamin in the dev section which is supposed to be for the later ICS ROMs and while it didnt cause the device to freeze when loading like the previous version it then meant I couldnt shutdown or restart as attempting to load the menu causes a power cycle and it just auto rebooted.
I recovered back to an earlier working backup but really want this function, as I havent had 10 posts I cant reply to the dev thread, any ideas?
Click to expand...
Click to collapse
No one report it work other than OP. not working for me too.

ART problem

Hello I just installed LiquidSmooth 3.2 and everything works perfect. Only problem I have is that after I switched to ART android is optimizing 23 apps every reboot. I tried to deleting .odex files with lucky patcher and wipeing cache but it doesn't seem to work.
What else can I try?
Use the search function please...
Delete system\framework\com.sonyericson.sysmon.jar
Why do you have to roll eyes?
shimmy2 said:
Why do you have to roll eyes?
Click to expand...
Click to collapse
Because the solution has already been posted several times.
A quick search would have given you your answer within seconds...

[Q] No ART Runtime on T-Mobile Note 4

When enabling ART runtime on my T-Mobile Galaxy Note 4, the system reboots and says optimizing apps, and then goes through the apps. However, it does this every time I reboot the phone (tried rebooting multiple times). I tried a full reset and running ART runtime again, but the same result. Switching back to DAVLIK solved the problem (phone reboot normally without the endless app optimizations each time), but still, cannot do ART. Any thoughts? Thank you.
BTW, I tried posting this in the question and answer section. If I posted this in the wrong place, my apologies!! First time poster.
I know many guys gonna cry after I post but sh*t happens. Save art for L. Till then stick with what works. No proof that art does anything to give you crazy performance. Stick with what works
NOTE 4
ryansc375 said:
When enabling ART runtime on my T-Mobile Galaxy Note 4, the system reboots and says optimizing apps, and then goes through the apps. However, it does this every time I reboot the phone (tried rebooting multiple times). I tried a full reset and running ART runtime again, but the same result. Switching back to DAVLIK solved the problem (phone reboot normally without the endless app optimizations each time), but still, cannot do ART. Any thoughts? Thank you.
BTW, I tried posting this in the question and answer section. If I posted this in the wrong place, my apologies!! First time poster.
Click to expand...
Click to collapse
Did you install or update anything between subsequent reboots? If so, it's going to optimize them during the reboot occurring immediately after the installs/updates.
His description is identical to mine. Rebooting without installation of new apps has the same result. Rebooting took a very long time every time. "updating 66 apps." ART is not ready for prime time on this phone.
done12many2 said:
Did you install or update anything between subsequent reboots? If so, it's going to optimize them during the reboot occurring immediately after the installs/updates.
Click to expand...
Click to collapse
No, didn't install anything new. Keeps "optimizing" the same apps over and over. Such a bummer!
Conversation already going on here: http://forum.xda-developers.com/showthread.php?t=2904909
Sesrch is your friend.
ryansc375 said:
When enabling ART runtime on my T-Mobile Galaxy Note 4, the system reboots and says optimizing apps, and then goes through the apps. However, it does this every time I reboot the phone (tried rebooting multiple times). I tried a full reset and running ART runtime again, but the same result. Switching back to DAVLIK solved the problem (phone reboot normally without the endless app optimizations each time), but still, cannot do ART. Any thoughts? Thank you.
BTW, I tried posting this in the question and answer section. If I posted this in the wrong place, my apologies!! First time poster.
Click to expand...
Click to collapse
Are you running Xposed? If so you have uninstall it.
Sent from my LG-D851 using XDA Free mobile app
draino623 said:
Are you running Xposed? If so you have uninstall it.
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
Hi, no, not running Xposed.

[Q] CM12 Nightly Factory Reset Lost Root

Was handing off my phone to my son, moving on to an LG G2, I let him test it out under my account, he added his account and phone was a little sluggish since the extra account was taking up more RAM, so he hands it to me while I was in bed and needs help, I factory reset it thinking it would just wipe out my personal data and allow him to enter his, well it did, but now he lost Root and I am stuck on the 1st nightly with memory leak...
Any method available to reroot this phone when in 5.0 so I can continue upgrading with nightlies? Or am I in a world of hurt now?
Justatechie replied in another thread, THANKS!!
Thats not going to work, it only works with the stock atrix hd 4.1.1
Cm12 can be rooted by going into developer options on the phone,
under root access (its disabled by default)
Just tap on it and allow apps or app and adb and it should be all set.
Other people prefer to flash supersu by going into recovery, just download the latest and put it where you will find it when you use the recovery.
I completely forgot about that, I had enabled developer mode, but nothing else, thought the reboot into advanced options was default, which it was not and slightly had a panic attack.. Thanks for the save...
Running apps stay running after a flash...
First thing odd I noticed, after giving him my phone and his adding his apps, is that when you click square to see running apps and click the 3 bars to turn them all off, they do not turn off, you have to swipe each one off now.
When I had the phone that process would end all apps I had started, now they stay on unless you swipe them off.
Also, after flashing the update to latest nightly, all the apps that were running before I flashed it and entered recovery to perform the flash, were running again upon a reboot. I have never seen this on any build, don't know if it is one of his apps causing this or what??
And I cleaned cache, cleaned dalvik, flashed both zips, cm12 and gapps, then cleaned cache again as instructed in the 5.0 threads.
I tried to see if it would happen again so I opened 3 apps, then performed a reboot, after phone rebooted, clicked the square and those same 3 apps were active...
What may have caused this?
Factory reset may have some bug as the phone was performing normally before I used that method to clear out my user data.
And if I ever decide to part with the phone I would expect that feature to work or I would be forced to keep it...
sobitthen said:
First thing odd I noticed, after giving him my phone and his adding his apps, is that when you click square to see running apps and click the 3 bars to turn them all off, they do not turn off, you have to swipe each one off now.
When I had the phone that process would end all apps I had started, now they stay on unless you swipe them off.
Also, after flashing the update to latest nightly, all the apps that were running before I flashed it and entered recovery to perform the flash, were running again upon a reboot. I have never seen this on any build, don't know if it is one of his apps causing this or what??
And I cleaned cache, cleaned dalvik, flashed both zips, cm12 and gapps, then cleaned cache again as instructed in the 5.0 threads.
I tried to see if it would happen again so I opened 3 apps, then performed a reboot, after phone rebooted, clicked the square and those same 3 apps were active...
What may have caused this?
Factory reset may have some bug as the phone was performing normally before I used that method to clear out my user data.
And if I ever decide to part with the phone I would expect that feature to work or I would be forced to keep it...
Click to expand...
Click to collapse
Apps will continue to run if you reboot. This is not a bug but a feature from Lollipop

Sudden random freezes

It started to happen to my phone after I flashed only system.img to my rooted phone, tried to get the phone back to stock like some sort of a shortcut, to try to get OTA update.
I did not recognize it right away, but it started to happen from time to time and in all random occasions.
The phone will literally freeze for about 5-10sec and then everything will go back to normal.
The standard android message will appear that app is not responding do I want to kill it or wait.
I flashed the whole phone with stock images, temporarily rooted the phone again to enable camera2, uninstalled root, and it still happens from time to time.
Any suggestions, what can I do, what to check, where to look ?
I had kernel "Kernel Adiutor (ROOT)" previously installed, but I changed nothing major, just cpu governor to ondemand, and messed a little bit with entropy. This was installed on the phone before flashing.
minnuss said:
It started to happen to my phone after I flashed only system.img to my rooted phone, tried to get the phone back to stock like some sort of a shortcut, to try to get OTA update.
I did not recognize it right away, but it started to happen from time to time and in all random occasions.
The phone will literally freeze for about 5-10sec and then everything will go back to normal.
The standard android message will appear that app is not responding do I want to kill it or wait.
I flashed the whole phone with stock images, temporarily rooted the phone again to enable camera2, uninstalled root, and it still happens from time to time.
Any suggestions, what can I do, what to check, where to look ?
I had kernel "Kernel Adiutor (ROOT)" previously installed, but I changed nothing major, just cpu governor to ondemand, and messed a little bit with entropy. This was installed on the phone before flashing.
Click to expand...
Click to collapse
You may want to clean the dalvik-cache first. (Install TWRP and clean it from there) the system is storing tons of thing in there, and *for my case* wiping it was like a deliverance ?
minnuss said:
It started to happen to my phone after I flashed only system.img to my rooted phone, tried to get the phone back to stock like some sort of a shortcut, to try to get OTA update.
I did not recognize it right away, but it started to happen from time to time and in all random occasions.
The phone will literally freeze for about 5-10sec and then everything will go back to normal.
The standard android message will appear that app is not responding do I want to kill it or wait.
I flashed the whole phone with stock images, temporarily rooted the phone again to enable camera2, uninstalled root, and it still happens from time to time.
Any suggestions, what can I do, what to check, where to look ?
I had kernel "Kernel Adiutor (ROOT)" previously installed, but I changed nothing major, just cpu governor to ondemand, and messed a little bit with entropy. This was installed on the phone before flashing.
Click to expand...
Click to collapse
Is the phone writing big files to the disk like an automatic Backup? That's when my phone becomes unresponsive..
dodjob said:
You may want to clean the dalvik-cache first. (Install TWRP and clean it from there) the system is storing tons of thing in there, and *for my case* wiping it was like a deliverance
Click to expand...
Click to collapse
Hmm, i will try this when I get home from work, thanx.
Benjamin_L said:
Is the phone writing big files to the disk like an automatic Backup? That's when my phone becomes unresponsive..
Click to expand...
Click to collapse
No custom installed auto backup aps, only default Android syncs.
I think that it has to do something with the kernel, or something deeper then stock images, maybe dodjob is right, I will try with dalvik erase, and if I remember correctly twrp has another option to clean something else, will check it today...
Is there a way to flash default stock kernel again ?
minnuss said:
Hmm, i will try this when I get home from work, thanx.
No custom installed auto backup aps, only default Android syncs.
I think that it has to do something with the kernel, or something deeper then stock images, maybe dodjob is right, I will try with dalvik erase, and if I remember correctly twrp has another option to clean something else, will check it today...
Is there a way to flash default stock kernel again ?
Click to expand...
Click to collapse
Let us know!
dodjob said:
Let us know!
Click to expand...
Click to collapse
Nope, it did not work, freeze remains.
Now I need to check what Benjamin said, about internal storage, format system, and do all over again, but now without restoring backup, starting with fresh droid install.
minnuss said:
Nope, it did not work, freeze remains.
Now I need to check what Benjamin said, about internal storage, format system, and do all over again, but now without restoring backup, starting with fresh droid install.
Click to expand...
Click to collapse
That sucks big time ? the only time I got a freeze was as I wanted to empty chrome beta cache. After the reboot, all went back as it should be...
I did it, finally, flashed all images again stock, and then don't restored backup of the phone offered by google, but do the clean new phone installation.
It works now, everything is setup and works as it should be, except camera2api, I did not enable that one yet.
Maybe, just maybe, the problem was with the way how camera2 api was enabled, I did it via adb shell.
How did you guys did it, if you have it enabled ?
This has started to happen to me since yesterday. I've had the phone to a couple of weeks and it's completely stock and un rooted. I rebooted the phone last night cause I thought it was some ram issue but it remains today. I'll give it a few days and hope it fixes itself.
minnuss said:
I did it, finally, flashed all images again stock, and then don't restored backup of the phone offered by google, but do the clean new phone installation.
It works now, everything is setup and works as it should be, except camera2api, I did not enable that one yet.
Maybe, just maybe, the problem was with the way how camera2 api was enabled, I did it via adb shell.
How did you guys did it, if you have it enabled ?
Click to expand...
Click to collapse
Adb root shell. Can't think of a way this could damage anything if you just set the one property
hacktek said:
This has started to happen to me since yesterday. I've had the phone to a couple of weeks and it's completely stock and un rooted. I rebooted the phone last night cause I thought it was some ram issue but it remains today. I'll give it a few days and hope it fixes itself.
Click to expand...
Click to collapse
Did you have device rooted for a while, or it was always stock ?
Benjamin_L said:
Adb root shell. Can't think of a way this could damage anything if you just set the one property
Click to expand...
Click to collapse
Thanx, I needed that confirmation, then my problem was probably caused by some application that wanted to take root actions, without root enabled, and causing havoc to the system, because I was restoring backup last two times, backup from rooted phone.
I had rooted phone, then flashed only system.img, then the problem started, I don't know...
I will use the phone tomorrow for work without camera2, to make sure that I don't have any more problems.
minnuss said:
Did you have device rooted for a while, or it was always stock ?
Thanx, I needed that confirmation, then my problem was probably caused by some application that wanted to take root actions, without root enabled, and causing havoc to the system, because I was restoring backup last two times, backup from rooted phone.
I had rooted phone, then flashed only system.img, then the problem started, I don't know...
I will use the phone tomorrow for work without camera2, to make sure that I don't have any more problems.
Click to expand...
Click to collapse
It's always been stock.
I had never rooted this phone and I am on September security patch, from September 6th, but for 2 days, 1-2 times a day I get some freeeze for 1-3 minutes. Today I tried to clear manually the cache from Facebook, and it took me 1 minute after I click the button "Clear cache". And then I got everything freezing. After a black screen for 10 seconds I got an error as you can see in the screenshot attached. I will repeat, never touched the phone's system. Does anybody meet this problem???
kaiwanted said:
I had never rooted this phone and I am on September security patch, from September 6th, but for 2 days, 1-2 times a day I get some freeeze for 1-3 minutes. Today I tried to clear manually the cache from Facebook, and it took me 1 minute after I click the button "Clear cache". And then I got everything freezing. After a black screen for 10 seconds I got an error as you can see in the screenshot attached. I will repeat, never touched the phone's system. Does anybody meet this problem???
Click to expand...
Click to collapse
Yes this happens when lots of I/o is done on the internal disk. I hope this is just a missing optimization and not a hardware issue. But let's bug xiaomi with it. I assume you also have the 64GB version?
@kaiwanted, I had that, but not 2 times per day, but almost constantly and the stops were about 10-15 sec, not for a whole minutes.
Clean flash, clean new start a phone procedure when the phone boots, no restores of backup.
And erased Dalvik cache in TWRP.
Or, if you don't want to do this, try with uninstalling all unnecessary apps that you have in the phone, try the day use with minimum, to see what happens.
minnuss said:
@kaiwanted, I had that, but not 2 times per day, but almost constantly and the stops were about 10-15 sec, not for a whole minutes.
Clean flash, clean new start a phone procedure when the phone boots, no restores of backup.
And erased Dalvik cache in TWRP.
Or, if you don't want to do this, try with uninstalling all unnecessary apps that you have in the phone, try the day use with minimum, to see what happens.
Click to expand...
Click to collapse
I read a lot regarding how people brick their phone with TWRP and rooting, so for now I will not use this future. But to reset my phone I will think about. Anyway I need this phone to use all my applications, not only a couple of them, because of this freezing (.
Thanks for suggestions.
minnuss said:
@kaiwanted, I had that, but not 2 times per day, but almost constantly and the stops were about 10-15 sec, not for a whole minutes.
Clean flash, clean new start a phone procedure when the phone boots, no restores of backup.
And erased Dalvik cache in TWRP.
Or, if you don't want to do this, try with uninstalling all unnecessary apps that you have in the phone, try the day use with minimum, to see what happens.
Click to expand...
Click to collapse
So I uninstalled about 5-6 applications and freeze disappear. From which I remember, I uninstalled: Spendee, XDA Dev app, Zugo Wallpapers etc.
Still when I clear the cache manually from Applications in settings, it takes about a minute or more to clean 100-500mb. This is weird.
Anyway, thank you for the suggestion.
kaiwanted said:
So I uninstalled about 5-6 applications and freeze disappear. From which I remember, I uninstalled: Spendee, XDA Dev app, Zugo Wallpapers etc.
Still when I clear the cache manually from Applications in settings, it takes about a minute or more to clean 100-500mb. This is weird.
Anyway, thank you for the suggestion.
Click to expand...
Click to collapse
I did the same thing. Went through my application list, uninstalled everything I didn't need and the issue went away. I cleared like 5% of storage space with still over 50% left but it seems to have helped.
reflashed all stock, enabled camera 2 api using mi a2 toolkit (magisk method) and I have the same. Cleared everything and run flash_all.bat. enable cam 2 api again and still have the same issue. clean install of apps doesn't fix it. Any idea on how to fix the sudden freeze?
Thanks
---------- Post added at 07:52 PM ---------- Previous post was at 07:28 PM ----------
if I completely root the device, I will still have the random freeze?
also, if I factory reset the device in the settings, the camera 2 api will be gone? thanks
minnuss said:
Maybe, just maybe, the problem was with the way how camera2 api was enabled, I did it via adb shell.
How did you guys did it, if you have it enabled ?
Click to expand...
Click to collapse
I did it via twrp and adb shell setprop persist...
No issues here at all.

Categories

Resources