Switched from Dalik to ART....now Storage issues? - Droid RAZR M Q&A, Help & Troubleshooting

I've been running ART over the weekend. So far, I'm very happy and see a nice battery life boost Problem is, changing over seems to have done something with the Android OS size, as it seems to have doubled just about. What's the deal? Is that to be expected, if so will switching back to Dalik solve the problem?

Although ART can be a bit faster and better than Dalvik, it is also know to take more of your device's internal storage. Going back to Dalvik will restore the storage that ART took.

Related

Apps2SD Nexus One and Battery Performance

Don'y know if anyone observed this or not:
My N1 with a2sd enabled consumes more power than without. This shouldn't come as a surprise to anyone as need to access SD requires additional power.
Anyone observed similar pattern with a2sd?
What does it have to do with app2sd?
That just points out what applications you can move to the sd-card.
You can do that without app2sd too...
Mod edit: Let's keep it friendly here, guys.
LOL I have not notice but I have notice a crazy lag to load icon stored on the sd card maybe I need a better class. I been doing ok on battery so far down clocking to 700mhz and flashing it to MIUI but I wouldn't doubt my app2sd drains battery since is probably always scanning to free cache.
Let's keep it friendly in here, guys.
Personally I haven't noticed any battery drain with the Froyo / Gingerbread Apps 2 SD / Apps 2 USB Storage. While that's a little different than the Apps 2 EXT, but I would imagine them both to not use much power at all. Both internal memory and USB storage use NAND flash memory, and it would be reasonable to assume that they use similar amounts of power.
Spx2000, you could have some issue in your particular installation. Perhaps try wiping cache and Dalvik cache and/or do a full wipe and reinstall your ROM.
I think there is a problem with App2SD that seems to have started with an update a few weeks back. In fact, until I started reading the comments here, I had no idea that it might be the cause. My Nexus One has had extremely slow performance and a slow battery constantly for the last month or so. It all started at once. It was around the same time as the 2.2.2 upgrade, but I swore it started a little earlier. Today I went and turned off the option to check downloaded apps in Apps2SD and it seems that my Nexus is back to its old form. Something must be wrong with the App2SD feature that scans downloads. It doesn't show up as the App2SD process slowing down the phone, but you see system load from processes such as init. If you have the problem, I recommend turning off the App2SD option which checks downloads to see if that eliminates the problem.
it is true that if I use the app in SDCard consume more battery?

Switch to ART and back to Dalvik

Hello everyone, as the title says I'd like to test out the ART runtime and maybe switch back to Dalvik if I need it. Since I've never done it would be nice to gather some feedbacks from you guys. Also I don't know if doing all of this switch will leave some junk in the memory. Thank you!
P.S. I asked in the worng section, sorry. Someone could move the post in the Q&A?
I went back and forth between the two on a few kitkat phones (inc. G GPE) with no issues really.
there was an issue with some version of Flipboard which would bootloop your device if on ART, think its solved by now, not sure though.
Better stay with dalvik for now we will switch to art once we get L.
Tried both . Could not find any noticeable difference.
when I switched to art, i noticed it takes more ram, about 100MB more or less. although, I never noticed any performance change, positive nor negative, only slightly longer battery. i think i still have problems with google hangout using as default SMS app but not sure if it is because of ART, it might be. as I said, almost no difference except of slightly longer battery and not working hanouts as SMS[which I didn't like in the first place]
I'm using a few apps and according to this site: http://www.androidruntime.com/list none of them are reported to not work on ART. Thanks to anyone for the fast replies. I'll give you feebacks when I give it a shot.
I'm using ART on my phone as default.
The only problem I ever had with ART, was the incompatibility with "Facebook Beta" apart from that, in my experience my phone is more responsive on ART than it is with Dalvik.
MeanDroid
In ART i could not move apps to SD. Now back to Dalvik it is possible again.
No Differance
i was running on Dalvik on 4.4.2 and once i updated to 4.4.4 , i reset my Phone and changed to ART, i did not find any reason till now to switch back to Dalvik, although i did not find any noticeable Speed improvement or Better battery life. no force closes except 2-3 times with Subway surfers in this 2 months.
I swiched to ART as soon as i got 4.4, didnt fine any difference
Hey, I'm also using ART, no problems, just I find the battery draining fast. 10 minutes disconnected from charger and battery went down 2%... hope to see any difference in battery when L arrives
i use art when i got an upgdate to 4.4.4 i noticed that all my apps when i open it fast... but sadly i return to dalvik again because everytime i update some application like facebook, gmail.. etc some other apps most of the time my phone restart everytime i make an update it will restart that's why i return to dalvik again
NewP500 said:
In ART i could not move apps to SD. Now back to Dalvik it is possible again.
Click to expand...
Click to collapse
Hello,
You're right.
According "The SDCard Bible for Moto G 4G/LTE" (https://forums.motorola.com/posts/7e59cc7baf), "Move to SD card" doesn't work on ART.
And ART uses a lot more space than Dalvik.
So, unfortunately ART is not a good deal for Moto G 4G/LTE (XT1040), in my opinion.
http://www.addictivetips.com/android/art-vs-dalvik-android-runtime-environments-explained-compared/
Sent from my SM-T310 using Tapatalk
Meet ART
Part 1: http://www.androidpolice.com/2013/1...-in-secret-for-over-2-years-debuts-in-kitkat/
Part 2: http://www.androidpolice.com/2013/1...ormance-wont-blow-away-today-will-get-better/
Part 3: http://www.androidpolice.com/2014/0...ery-life-benchmarks-not-good-but-not-too-bad/
I haven't found one application I use that wasn't compatible with ART. IMO, there is a noticeable difference between using ART over dalvik. This holds true on the Nexus 5 as well. The Moto G is very smooth with 4.4 Y2FS, and ART enabled. I was quite unhappy with my Moto G running stock with dalvik enabled, but I'm very happy with my current set up. It's nearly as fast as my Nexus 5.

Art vs Dalvik. Anyone tried yet?

This morning I switched from Dalvik to ART just out of curiosity. Took forever to "upgrade apps" after the initial boot and the phone got a little warm during the process. Overall performance is good, though. Possibly better than before. I was having random stutters and this may have smoothed things out, I'm not sure. Anyone else tried ART? What's your experience so far?
Yep,
I tried but switched back to Dalvik. I saw no advantage with ART.
Art was smoother, although some apps refuse to work. Back on dalvik as well
Sent from my SM-N910V using Tapatalk 2
I switched the 2nd day having it so i cant speak much for dalvik but ART has been running like a champ. I have gotten at least 16 hours out of every charge with between 3 and 5.5 hours screen on. I havent had any app compatability problems except for possibly s health. But i uninstalled the latest update to the app and it runs fine again.
On mine dalvik runs way better than art. Saw more issues and higher Temps with art so switched back
I switched to ART over the weekend and didn't really notice a difference performance and battery wise and I ran into a couple apps that wouldn't work, so now I am back on Dalvik. The apps I had issues with was Pandora, Shealth, and Resco Mobile CRM.
Pandora was fixed with an uninstall and reinstall from the Play store.
S-Health just needed the updates uninstalled and it worked
Resco I just couldn't get to work at all.

Battery Life Amazing Now

Recently my battery life has really been on the up and up. I'm not sure what it is but after all the app updates it has really flatlined, meaning I can get 2 days on it now. One extra thing I did was delete the cache under app storage along with another wipe cache partition. Previously also I used to notice my phone battery would drain at night but now it just pauses any drain. Anyways anyone noticing this?
I haven't noticed any improvements (Pure edition running 5.0). What build/version are you on?
I agree : I'm using mine in LTE mode, location in high accuracy mode, Google now activated, gmail outlook and corporate mails in push, all sync activated including drive and google + and WiFi off but always available for location : with that settings I have 18h off-battery with between 3h30 and 3h45 SOT.
For weekends, it last from Saturday morning to Sunday evening off-battery with between 1h30 and 1h45 SOT per day.
It is a XT1092 used in France, moto official ROM and no root.
I believe recent battery improvement to come from LTE network improvements : more cells, better signal= lots less work for my device.
I'm very satisfied. I have a few bugs on 5.0 but nothing huge, no random reboots or app crash. My only one deception : no 5.1 for my moto x for now and I want it because I like security and does not accept that a simple factory reset would allow a thief to use my encrypted device. I have heard 5.1 will correct this by asking thief to log on last known Google account to use the device.
It could also be the latest version of google play services finally fixed some memory leak and wakelocks
Sent from my XT1097 using XDA Free mobile app
mercado79 said:
I haven't noticed any improvements (Pure edition running 5.0). What build/version are you on?
Click to expand...
Click to collapse
I am on the 5.0./pure version. Try the cache partition wipe as well as the storage cache wipe. Need to do both
Where are these cache wipe settings located at?
One is at wipe cache partition. Which requires a restart with buttons pushed. Google that one. The other one is under settings - storage - cache- delete apps cache
Maknora said:
One is at wipe cache partition. Which requires a restart with buttons pushed. Google that one. The other one is under settings - storage - cache- delete apps cache
Click to expand...
Click to collapse
Thanks
The other one is under settings - storage - cache- delete apps cache
mine worked around 2 days after cleaning battery stats in recovery
eldar4uk said:
mine worked around 2 days after cleaning battery stats in recovery
Click to expand...
Click to collapse
How do you clean battery stats in recovery?
I'm experiencing great battery too since a couple of days ago. It seems that the new Google Play Services fixes the memory drain. I did a wipe cache too but not a cache partition.
I cleared the app cache in settings and did a cache wipe from recovery and my battery life hasn't improved at all.
eldar4uk said:
mine worked around 2 days after cleaning battery stats in recovery
Click to expand...
Click to collapse
If you actually mean the battery stats, then that myth has been debunked ages ago: https://plus.google.com/105051985738280261832/posts/FV3LVtdVxPT
eldar4uk said:
mine worked around 2 days after cleaning battery stats in recovery
Click to expand...
Click to collapse
Is it best to let the battery full drain after doing this? Or anything else you recommend?
I had my battery heating up to 100+ degree and did a partition clear and it has helped with the heating but I still get less than a day with my battery. No root, 5.1.
I downgraded the other day to 4.4.4 - and for the first time since November, my phone's battery lasted me a full day from 6am - 11:30pm. I don't know why I didn't do this sooner.
I'm really doubting 5.1 is much better. Someone keep us posted on the battery life on 5.1. Otherwise, I'm content to stay on 4.4.4 for a longggg time.
I mentioned this to a coworker the other day. Its a very noticeable difference in battery life.
No changes here, I keep getting high cell standby usage (between 10 and 15%) and pretty bad battery life.
I can not figure it out! But Google is killing me!
On the new 5.1 pe ota
View attachment 3340172
View attachment 3340173On the new 5.1 pe ota
[/ATTACH]

Any 5.1 ROM that isn't horribly slow?

I use CM12.1 on both my N7 2012 and N6 and it's incredibly slow on the N7. Clearing the cache does nothing, trim does nothing, F2FS /cache and /data does nothing and even the stock 5.1.1 image is slow.
I've read everything under the sun about poor NAND, not enough RAM, poor CPU, etc but none of them really make that much sense. I have hardly anything running EVER and I only have a few apps installed for opening documents an such. No Facebook or Email clients or anything that would be running in the background. The built in RAM manager tells me that I usually have over 50% of my RAM free and with such a small number of things running, my CPU usage is low, so I fail to see where the issue lies. I guess the NAND, but I also read articles about how that's kind of a load of bull as someone tested old 2012 N7s that had been heavily used and slow, as well as new ones and the R/W speeds were the same.
The main thing that bothers me about it is the fact that when I do a clean install of the 5.1.1 factory image or even CM12.1, it will be snappy for all of 10 minutes and then suddenly it becomes annoyingly slow. It's by no means unusable, but compared to my Nexus 6 every action feel like it takes 2-3 times a long. Even doing my pattern unlock feels sluggish.
I went back to KitKat tonight and it seems to run much better, but there are some things I've gotten so used to with Lollipop and Holo looks plain ugly now that I'd really rather not use KK. Does ANYBODY know of something I can do to speed it up even a little bit. This almost seems like a kernel related issue to me, seeing as how the N7 has been running off of an old kernel for most of it's life. It makes me wonder if there are some kernel-level things that might be done to help.
admiralspeedy said:
I use CM12.1 on both my N7 2012 and N6 and it's incredibly slow on the N7. Clearing the cache does nothing, trim does nothing, F2FS /cache and /data does nothing and even the stock 5.1.1 image is slow.
I've read everything under the sun about poor NAND, not enough RAM, poor CPU, etc but none of them really make that much sense. I have hardly anything running EVER and I only have a few apps installed for opening documents an such. No Facebook or Email clients or anything that would be running in the background. The built in RAM manager tells me that I usually have over 50% of my RAM free and with such a small number of things running, my CPU usage is low, so I fail to see where the issue lies. I guess the NAND, but I also read articles about how that's kind of a load of bull as someone tested old 2012 N7s that had been heavily used and slow, as well as new ones and the R/W speeds were the same.
The main thing that bothers me about it is the fact that when I do a clean install of the 5.1.1 factory image or even CM12.1, it will be snappy for all of 10 minutes and then suddenly it becomes annoyingly slow. It's by no means unusable, but compared to my Nexus 6 every action feel like it takes 2-3 times a long. Even doing my pattern unlock feels sluggish.
I went back to KitKat tonight and it seems to run much better, but there are some things I've gotten so used to with Lollipop and Holo looks plain ugly now that I'd really rather not use KK. Does ANYBODY know of something I can do to speed it up even a little bit. This almost seems like a kernel related issue to me, seeing as how the N7 has been running off of an old kernel for most of it's life. It makes me wonder if there are some kernel-level things that might be done to help.
Click to expand...
Click to collapse
Turn off journaling, use trimmer and try Minimal OS
XenonHD and BSZAospLP run fairly well on my N7. I've got the 32GB model, which purportedly has less memory slowdown issues than the original 16GB model, fwiw.
If your flash memory has bad blocks in it, that will slow down your device whenever it tries to read/write data. A full format of the /system /data and /cache partitions may help. I can't remember if there is a way to mark off bad sectors from being used. You'll have to research that. You may have to do a special kind of format to remove bad blocks from use.
Sent from my Nexus 7
GtrCraft said:
Turn off journaling, use trimmer and try Minimal OS
Click to expand...
Click to collapse
Well, disabling journaling did nothing and trimmer does nothing.
Dirty Unicorns with /data and /cache formatted to f2fs works perfectly with my n7 2012. I'd highly recommend it.
I assume you went from a full flash of the latest stock images, flashed latest twrp recovery, formatted f2fs for cache and data, flashed latest stable CM snapshot, and optionally installed the relevant open gapps as linked to on CM's wiki site?
Have you tried running this setup with no additional apps installed? Chrome isn't much better under this CM 12.1 installation than stock 5.1.1 for me, but everything else seems to run about as good as stock 4.4.4. One thing I do is reboot my 2012 N7 every time I put it on the charger
Chroma works fine on my N7.
admiralspeedy said:
Well, disabling journaling did nothing and trimmer does nothing.
Click to expand...
Click to collapse
Then you clearly did something wrong. Try with a custom rom like Minimal OS, Chroma or Ressurection. And with M kernel
What could I have done wrong? I flashed the file to disable journaling and I've always used trimmer... Disabling journaling literally did nothing.
im right there with you OP, my nexus 7 is ****. Doenst matter what rom, or what format (ext4 or f2fs). I slows to a crawl in a few mins of use, more often than not, takes forever to wake, and then will sometimes just go black before i can unlock, freezes constantly and requires reboots. I hate this piece of ****.
I've added
ro.config.low_ram=true
to the build.prop and I am running the Trimmer app once a day. There is still some lag from time to time, but at least it's useable.

Categories

Resources