[Discussion]Will/How ART make an impact on developers - Java for Android App Development

Ichigo said:
So, as you all know Android kitkat 4.4 came out recently. Along with it was ART, a replacement for Dalvik that promises faster and more efficient execution, better battery life, and a more fluid experience. ART stands for Android Runtime, and executes apps different than Dalvik. ART uses AOT to execute apps, which is pre-compiling bytecode into machine language when apps are first installed, turning them into truly native apps. ART still is still experimental currently, but let's discuss our opinions.
I know that when programming games for android, if it uses heavy 3D translations, you'll to use the NDK, coding in C or C++, allowing the app to run natively, and helps maintain frame rate and speed. Because the ART has apps running natively now, will it possibly help maintain framerate and speed better on lower-end devices? I know java is much slower slower than c++, but will running the java coded app natively help at all?
Anyways, share your opinions, ideas, or questions.
Click to expand...
Click to collapse
I don't know much about ART, but from what I heard this sounds awesome . I think that it is just crazy not to precompile the code into machine language, sure there is longer install times, but hey, the apps should run much faster.
The thing is that currently it is quite hard to try it out, even on KitKat (which I don't have yet). Would love to make a comparison between the two

Here are some benchmarks by Android Police: http://www.androidpolice.com/2013/1...ormance-wont-blow-away-today-will-get-better/
I hope that they will improve that method. If they do, it will be amazing.
Apps could much faster.
I do, however, like Java. One of the reasons why I prefer Android to Ubuntu Touch (which uses C++).

nikwen said:
Here are some benchmarks by Android Police: http://www.androidpolice.com/2013/1...ormance-wont-blow-away-today-will-get-better/
I hope that they will improve that method. If they do, it will be amazing.
Apps could much faster.
I do, however, like Java. One of the reasons why I prefer Android to Ubuntu Touch (which uses C++).
Click to expand...
Click to collapse
When KitKat comes to Nexus 4 I'll do some before/after benchmarking on MagicKeyboard (since it is fairly predictable and CPU intensive) - sounds quite promising.

PicomatStudios said:
When KitKat comes to Nexus 4 I'll do some before/after benchmarking on MagicKeyboard (since it is fairly predictable and CPU intensive) - sounds quite promising.
Click to expand...
Click to collapse
Kitkat is here on our Nexus 4s.

nikwen said:
Kitkat is here on our Nexus 4s.
Click to expand...
Click to collapse
Aw, yeah... I try to make a rule that wherever possible I use 'standard' build on our test devices, that way I can be sure I'm seeing what our users see
Depending how long it takes I might have a look !

PicomatStudios said:
Aw, yeah... I try to make a rule that wherever possible I use 'standard' build on our test devices, that way I can be sure I'm seeing what our users see
Depending how long it takes I might have a look !
Click to expand...
Click to collapse
Now the official ones are finally here.

nikwen said:
Now the official ones are finally here.
Click to expand...
Click to collapse
OK got it finally.
In a not particularly scientific test I tried typing the sentence
'The quick brown fox jumped over the lazy dog.'
into Magic Keyboard 2 (as many other apps as possible stopped, internet off, etc)
After each key press the app runs quite a large number of comparisons/calculations/bitshifts in a loop, in order to score the most likely word (CPU intensive work)
I only ran the test 3 times but there does seem to be an improvement with ART
Average prediction time for each configuration is:
Android 4.3:
20ms
Android 4.4 / Davlik:
19ms
Android 4.4 / ART:
15ms
From previous tests I know that the prediction times are fairly consistent.
Obviously the above is some way short of proof but early signs are good.

i am on android 4.4.4 with art runtime i haven't noticed any performance enactment and also not a single app cashing
Sent from my XT1022 using XDA Free mobile app

Related

[POLL] Which gsm hero rom is running on your phone?

[POLL] Which gsm hero rom is CURRENTLY running on your phone?
Choose one and we'll see what's going on in the world of our little gsm heros.
I don't see a poll like this for gsm hero - certainly nothing with current roms.
Good idea for a poll! I too would like to know what is happening with our little Hero(s).
thanks
I decided to limit to only one answer, what's running right now, since many of us nandroid and flash regularly we could end up with the 5 or 6 most obvious answers all being voted for by everyone. to me that's just silly.
at least this is scientific: if not absolutely indicative of everyone's favorite rom, at least it's indicative of the current choice.
Could be used for a trend chart if in the future we do the same poll again and compare results.
a.t.m. running:
- 2.3 gingerbread - cronos
Working good, happy Gingerbread user
DjoeN said:
a.t.m. running:
- 2.3 gingerbread - cronos
Working good, happy Gingerbread user
Click to expand...
Click to collapse
Dito, and voted as such
note: I kept results anonymous (hopefully) so if you wish to keep your status private you can still vote.
happy to see people posting openly though of course
wow hahaha reload first page of gsm hero development forum and every rom thread's most recent post is my link to this poll.
I wanted to be fair so tried to post the link for every rom that is getting current thread discussion.
but no posts there after my posts, even after 15 minutes or so - I suppose everyone's here voting.
pretty much the results I expected aside from the mass of gb users!
surprising about rcmix and tegro - I know of some users of those roms currently.
wow - you VR12 guys - you could consider backing up (using nandroid) and trying out RCmix or tegro. they're both much newer versions of sense roms that are quicker in some ways and also offer newer nicer features (newer widgets and other good things). but good that you're happy with vr12 still
Cheers
dkelley said:
wow - you VR12 guys - you could consider backing up (using nandroid) and trying out RCmix or tegro. they're both much newer versions of sense roms that are quicker in some ways and also offer newer nicer features (newer widgets and other good things). but good that you're happy with vr12 still
Cheers
Click to expand...
Click to collapse
Hey dkelley, long time no speak (again)
Interesting you mentioned VR12... I have been looking into security of the Android platform, and I would strongly recommend people move off Sense-based ROMs, and onto a Froyo custom ROM for now...
I am not at liberty to give details of the exploit (and I don't have full details), given most non-custom ROM devices will sit for the rest of their lives, vulnerable to this, but I understand that the 2.1 ROMs have some pretty serious security holes in the browser system, which appear to be better in the last set of sources I pulled from CM on the froyo tree (for FroydVillain 1.7.x)
So while it's interesting to see people still using VR12, I would suggest everyone on a Sense-based ROM moves to a "proper" 2.2 vanilla ROM. I don't think a Sense UI 2.2 ROM would be safe, so I'd discourage those too. It appears you need something CM based, and pretty recent.
As such, I would urge anyone using older CM-based ROMs (say from before November or October) to upgrade if they are concerned about security while surfing the internet. HTC don't seem to be interested in fixing the vulnerability, but I checked FV 1.7 and it is not vulnerable to this one attack.
If you support the idea of HTC being pressed into updating their phones (remember that EVERY user of the Hero, who isn't on a custom ROM, is vulnerable to any security exploits, which will not be fixed unless they do an update), then check out http://bit.ly/fDGHPV, where I am trying to get some support together before I contact HTC and mobile carriers.
PS Don, I seem to have derailed this a bit... Figured it was perhaps best to post this in here, since there's no point in making a new thread that we want to get many people to do, and you already did the "donkey work" so to speak. If this derails the thread, I'll sweep it out into another thread if you want
pulser_g2 said:
If you support the idea of HTC being pressed into updating their phones (remember that EVERY user of the Hero, who isn't on a custom ROM, is vulnerable to any security exploits, which will not be fixed unless they do an update), then check out http://bit.ly/fDGHPV, where I am trying to get some support together before I contact HTC and mobile carriers.
Click to expand...
Click to collapse
Hi....
Do you have any CVE references ?
http://cve.mitre.org/
This is just a blog with without any CVE-refs as I can see.....
http://thomascannon.net/blog/2010/11/android-data-stealing-vulnerability/
Hey Pulser
surprised you didn't send me a warning for spamming the same post linking to this thread in like a dozen gsm hero threads within 5 minutes yesterday LoL
Interesting, and a little scary, what you're saying.
But being the scientific (and slightly cynical) type I tend not to believe anything without either proof or at least further information.
I'll read up on it some - but can you summarize the possible type of damage? such as gathering of private data by parties who know about the exploit? or damage to the phone via intentional cause (again by parties in the know)? or what
dkelley said:
Hey Pulser
surprised you didn't send me a warning for spamming the same post linking to this thread in like a dozen gsm hero threads within 5 minutes yesterday LoL
Interesting, and a little scary, what you're saying.
But being the scientific (and slightly cynical) type I tend not to believe anything without either proof or at least further information.
I'll read up on it some - but can you summarize the possible type of damage? such as gathering of private data by parties who know about the exploit? or damage to the phone via intentional cause (again by parties in the know)? or what
Click to expand...
Click to collapse
I went back to Cronosproject 1.7.2 from gb beta 6. Even the massive headway they made thus far has been awesome with Fee and Ele together I can't see how it can be made as good as 1.7.2. Its way behind on performance and hogs memory with the minimum system and regular apps installed. The battery seems awesome but not much in there to use it. I'll wait till full release or stick with this rom. I can have a desire on wife's upgrade but I fancy something more now.desire is very quick.
V1.7.2 Cronos® Speed Machine
spikey68 said:
I went back to Cronosproject 1.7.2 from gb beta 6. Even the massive headway they made thus far has been awesome with Fee and Ele together I can't see how it can be made as good as 1.7.2. Its way behind on performance and hogs memory with the minimum system and regular apps installed. The battery seems awesome but not much in there to use it. I'll wait till full release or stick with this rom. I can have a desire on wife's upgrade but I fancy something more now.desire is very quick.
V1.7.2 Cronos® Speed Machine
Click to expand...
Click to collapse
agreed but give it time, and disagreed about "hogs memory": using the available memory like crazy is done to speed up performance, it's not hogging anything in a bad way. when something else requests memory that memory is freed up.
gb's memory manager is years ahead of it's predecessors
but yea, it will take a while.
Note - it's at 0.0.7 now and has everything working except camera which they're working on. performance is always improving, all sensors work now, and it's pretty amazing.
I just need a more stable build for now dude. Grafix and app issues made me revert. I'm sure with input on Cronus now they will make it much better. They need to get used to each others methods of building. I love it on there and not many will give it the dedication that Feeyo puts in. Ele is not dissimilar so expect great things. The futures bright
V1.7.2 Cronos® Speed Machine
spikey68 said:
I just need a more stable build for now dude. Grafix and app issues made me revert. I'm sure with input on Cronus now they will make it much better. They need to get used to each others methods of building. I love it on there and not many will give it the dedication that Feeyo puts in. Ele is not dissimilar so expect great things. The futures bright
V1.7.2 Cronos® Speed Machine
Click to expand...
Click to collapse
agreed. was just correcting you about the memory hogging thing since it's a good thing not a bad thing.
edit: well, not agreed about stability LoL. sorry I keep doing that . I'm running it and have for days and it's super stable. gui speed has improved a ton now too. you wouldn't know you were in such a new rom if you tried it on my phone cuz I disabled the animatinos etc very carefully in various settings places and use LP and so on.
BUT for me the fastest rom is still cronos eclair lite - it's gui, with LP, is noticeably faster than with other roms. If only it wasn't 2.1 based (with it's EXCEPTIONALLY slow and crappy applications manager and so on).
dkelley said:
agreed. was just correcting you about the memory hogging thing since it's a good thing not a bad thing.
edit: well, not agreed about stability LoL. sorry I keep doing that . I'm running it and have for days and it's super stable. gui speed has improved a ton now too. you wouldn't know you were in such a new rom if you tried it on my phone cuz I disabled the animatinos etc very carefully in various settings places and use LP and so on.
BUT for me the fastest rom is still cronos eclair lite - it's gui, with LP, is noticeably faster than with other roms. If only it wasn't 2.1 based (with it's EXCEPTIONALLY slow and crappy applications manager and so on).
Click to expand...
Click to collapse
I just had fc's with too many things. Neo, quad, then regular apps and no market. With minimal apps it was slowing right down. I figured that no matter how good the memory allocation manager if you don't have the physical memory the manager can't work right. I'll wait. Do you have basics like market working?
I never had any kind of lag with 1.7.2. The GUI is awesome. It benches close to the desire.
V1.7.2 Cronos® Speed Machine
spikey68 said:
I just had fc's with too many things. Neo, quad, then regular apps and no market. With minimal apps it was slowing right down. I figured that no matter how good the memory allocation manager if you don't have the physical memory the manager can't work right. I'll wait. Do you have basics like market working?
V1.7.2 Cronos® Speed Machine
Click to expand...
Click to collapse
everything's workign perfectly, no FCs, market's been fine for several versions now for most of us. everything except camera apps and certain specific graphics apps work great now.
neocore's broken, doesn't matter of course, same with quad, it's not relevant to anything. They're apps designed for certain operating system versions and hardware and the hero running gb doesn't fit the bill. those are are irrelevant apps that can be dismissed.
I play lots of games and they're working just great. all productivity and utility apps are great.
audio and multimedia stuff are fine too. not really sure where you were getting FCs but it sounds like it needed a new wipe and reflash possibly.
but then there's that strange thing were not every rom works on everyone's hero - I'll never know why, but I swear it's true
apps2sd and so on are working now (with a patch from elelinux). there's something that's slowing down the gui and animations still, and I accidentally had my gb phone running super fast in those areas when my app2sd flash borked. So I know a solution is possible to that last little bit of performance...
dkelley said:
everything's workign perfectly, no FCs, market's been fine for several versions now for most of us. everything except camera apps and certain specific graphics apps work great now.
neocore's broken, doesn't matter of course, same with quad, it's not relevant to anything. They're apps designed for certain operating system versions and hardware and the hero running gb doesn't fit the bill. those are are irrelevant apps that can be dismissed.
I play lots of games and they're working just great. all productivity and utility apps are great.
audio and multimedia stuff are fine too. not really sure where you were getting FCs but it sounds like it needed a new wipe and reflash possibly.
but then there's that strange thing were not every rom works on everyone's hero - I'll never know why, but I swear it's true
apps2sd and so on are working now (with a patch from elelinux). there's something that's slowing down the gui and animations still, and I accidentally had my gb phone running super fast in those areas when my app2sd flash borked. So I know a solution is possible to that last little bit of performance...
Click to expand...
Click to collapse
Weird dude. I haven't had time to go through the thread but I will now and go again. I could swear I full factory reset and wiped everything.
I had a long week with kids but thanks, I wondered why it was so bad.... but it wasn't! And no mention of my probs!
Taxi for spike...
V1.7.2 Cronos® Speed Machine
spikey68 said:
Weird dude. I haven't had time to go through the thread but I will now and go again. I could swear I full factory reset and wiped everything.
I had a long week with kids but thanks, I wondered why it was so bad.... but it wasn't! And no mention of my probs!
Taxi for spike...
V1.7.2 Cronos® Speed Machine
Click to expand...
Click to collapse
haha - well hopefully it'll work better for you now than it did before. you will find slow gui screen animations at times though so it's worth disabling all of that and using launcherpro (if you can find launcherpro anywhere considering fede's rather frustrating emergency issue at the moment).
My launcher pro plus backup will work wont it?
V1.7.2 Cronos® Speed Machine

[Q] Root N7 or not, for what I use it for?

Hi all,
First post as just registered here but XDA seems to be the best place for this subject by far.
Should I root and unlock, install kernel, overclock etc?
I use it for:
-Emails (Business & personal)
-Web browsing (a lot)
-Some games (but simple ones)
-Viewing and editing (slightly) Images.
-Google Analytics/Ads/Drive
-CRM database etc
In addition to the above question, I want to now if overclocking to 1.4, 1.5 or 1.6 ghz or install would make the N7 smoother and faster for these general things? I wont be 'gaming' or doing anything massively graphics or processor intensive (I dont think?)
iAmlearning said:
Hi all,
First post as just registered here but XDA seems to be the best place for this subject by far.
Should I root and unlock, install kernel, overclock etc?
I use it for:
-Emails (Business & personal)
-Web browsing (a lot)
-Some games (but simple ones)
-Viewing and editing (slightly) Images.
-Google Analytics/Ads/Drive
-CRM database etc
In addition to the above question, I want to now if overclocking to 1.4, 1.5 or 1.6 ghz or install would make the N7 smoother and faster for these general things? I wont be 'gaming' or doing anything massively graphics or processor intensive (I dont think?)
Click to expand...
Click to collapse
Based on your uses I'd leave it stock...you could however install a custom kernel and squeeze some more battery life out of it.
Risk and Difficulty?
Culex316 said:
Based on your uses I'd leave it stock...you could however install a custom kernel and squeeze some more battery life out of it.
Click to expand...
Click to collapse
Ok thanks, I have thought about battery life however I am willing to sacrifice a little battery for more speed. Do you think you'd notice the difference? In terms of smoothness and speed on general activities? Also one BIG question(s), how hard it is and how risky is it to root from Mac? Whats the likelihood of me ruining my device, for good? Are we saying 1 in 1000 or for a rookie like me a toss of a coin?
I have watched a few videos and find it pretty amazing what you can do to a phone or tablet. Especially by yourself.
iAmlearning said:
Hi all,
First post as just registered here but XDA seems to be the best place for this subject by far.
Should I root and unlock, install kernel, overclock etc?
I use it for:
-Emails (Business & personal)
-Web browsing (a lot)
-Some games (but simple ones)
-Viewing and editing (slightly) Images.
-Google Analytics/Ads/Drive
-CRM database etc
In addition to the above question, I want to now if overclocking to 1.4, 1.5 or 1.6 ghz or install would make the N7 smoother and faster for these general things? I wont be 'gaming' or doing anything massively graphics or processor intensive (I dont think?)
Click to expand...
Click to collapse
Hi, iAmlearning...
Based on your needs... I would say... stay stock, but root...
You can then run apps like Titanium (always useful for backing up those Temple Run 2 high scores.. or running AdAway (for getting rid of those pesky, annoying ads that seem to crop up just about everywhere...)
As far as risk is concerned... well, it's not really quantifiable... there is ALWAYS the possibility you might hard-brick the thing... but then, you might drop it on the kitchen floor tomorrow!
I'd be a liar if I said the Nexus 7 was 'unbrickable' ... it is eminently 'brickable'! But it's actually kind of hard to do! And if you follow many of the excellent instructions here on XDA, you should be OK. (Actually, rooting is a piece of cake - people make too much of it.)
Finally... rooting involves unlocking the BOOTLOADER... which WIPES the device and performs a FACTORY RESET... so I would suggest it might be done sooner rather than later... before you build up a lot of content on it (not that it can't be backed up elsewhere beforehand).
Once you have root, you can then think about custom ROMs and kernels much later.
But root is you're gateway.
Rgrds,
Ged.
iAmlearning said:
Hi all,
First post as just registered here but XDA seems to be the best place for this subject by far.
Should I root and unlock, install kernel, overclock etc?
I use it for:
-Emails (Business & personal)
-Web browsing (a lot)
-Some games (but simple ones)
-Viewing and editing (slightly) Images.
-Google Analytics/Ads/Drive
-CRM database etc
In addition to the above question, I want to now if overclocking to 1.4, 1.5 or 1.6 ghz or install would make the N7 smoother and faster for these general things? I wont be 'gaming' or doing anything massively graphics or processor intensive (I dont think?)
Click to expand...
Click to collapse
Doesn't sound like you really need to root. If you get sick of the interface or whatever you can always install a launcher like Nova Prime and play around with it. The things you can do without being rooted is pretty amazing.
Overclocking it to 1.4 Ghz won't make a huge difference, but overclocking to 1.8 Ghz will. It will also drain your battery a lot faster - something to think about. I'm one of the under clockers to preserve battery.
One further question?
ynrozturk said:
Doesn't sound like you really need to root. If you get sick of the interface or whatever you can always install a launcher like Nova Prime and play around with it. The things you can do without being rooted is pretty amazing.
Overclocking it to 1.4 Ghz won't make a huge difference, but overclocking to 1.8 Ghz will. It will also drain your battery a lot faster - something to think about. I'm one of the under clockers to preserve battery.
Click to expand...
Click to collapse
You have probably answered my question, I am a bit scared to overclock past 1.4 or 1.5 due to the heat and me not really knowing what I am doing and as the battery life is fairly important I might just leave as stock.
However like a few people advise I may try to give the rooting a go.... or maybe find a cheap used tablet or handset and try it on that first?
Would be great to get rid of the adverts.
Question - I have heard that some of these customer ROM's take away the unnecessary junk from the OS and make things smoother and faster? Would this be more worthwhile than overclocking if I were to do just one? Also any ROM's for this purpose that people recommend?
Thans again everyone
Well because the device is a Nexus device, it comes very clean as default. Not really any junk on the device to slow it down, even though that "junk" is relative. For example, I live in Europe and Google Play Music does not work over here, so I've disabled it. I've also disabled Google Currents, and any other built in apps that I simply do not use. Now it's like those apps are not even on my device - they are just dead.
If we were talking about a Samsung tablet, then yes I would say root it. Because rooting would allow you to get rid of Samsung's Touchwiz interface, which can be a bit of a RAM hog. But the Nexus 7 doesn't have such a problem, it's already stock and very smooth.
I can tell that you're very interested in this stuff and you will most probably root in the near future. However, my advice to you would be to just use and enjoy the device as it is right now, but in the mean time just read about how to unlock bootloaders, rooting, custom ROM's.. read as much as you can. You'll get more familiar with the process and the terminology, and it will be a big help when it comes time to root two months down the line.
One custom ROM I can recommend is Paranoid Android. Truthfully, it's the only one I can recommend because its the only one I've flashed. I like it, but does it make a huge difference from stock in terms of speed? Not really. It has a load of other cool features, though.
If all you're interested in is battery life and performance, rooting and a custom kernel would suffice. However for what you say you'll be using it for, not really needed. The nexus line is super simple to root and play around on though. It all sounds way more complicated than it really is.
Sent from my Paranoid 3.0 Nexus7 running M-Kernel mr1
ynrozturk said:
Well because the device is a Nexus device, it comes very clean as default. Not really any junk on the device to slow it down, even though that "junk" is relative. For example, I live in Europe and Google Play Music does not work over here, so I've disabled it. I've also disabled Google Currents, and any other built in apps that I simply do not use. Now it's like those apps are not even on my device - they are just dead.
If we were talking about a Samsung tablet, then yes I would say root it. Because rooting would allow you to get rid of Samsung's Touchwiz interface, which can be a bit of a RAM hog. But the Nexus 7 doesn't have such a problem, it's already stock and very smooth.
I can tell that you're very interested in this stuff and you will most probably root in the near future. However, my advice to you would be to just use and enjoy the device as it is right now, but in the mean time just read about how to unlock bootloaders, rooting, custom ROM's.. read as much as you can. You'll get more familiar with the process and the terminology, and it will be a big help when it comes time to root two months down the line.
One custom ROM I can recommend is Paranoid Android. Truthfully, it's the only one I can recommend because its the only one I've flashed. I like it, but does it make a huge difference from stock in terms of speed? Not really. It has a load of other cool features, though.
Click to expand...
Click to collapse
Quite impressed that you can determine this, as its 100% correct. I am probably going to do this at some point, but maybe not just yet, I think I need to get comfortable with the process and research a bit more about it all. Also, I am actually very impressed with the Nexus 7 as it id and coming from an Apple iPhone 5 and iPad 3, I can safely say that I'd not go back to either after this. I used to think Apple had it all in terms of functionality and innovation, however in recent years they have almost made backwards steps.
But thanks for the response, I keep seeing the Paranoid ROM around and on signatures. So may give that a go.
iAmlearning said:
Quite impressed that you can determine this, as its 100% correct. I am probably going to do this at some point, but maybe not just yet, I think I need to get comfortable with the process and research a bit more about it all. Also, I am actually very impressed with the Nexus 7 as it id and coming from an Apple iPhone 5 and iPad 3, I can safely say that I'd not go back to either after this. I used to think Apple had it all in terms of functionality and innovation, however in recent years they have almost made backwards steps.
But thanks for the response, I keep seeing the Paranoid ROM around and on signatures. So may give that a go.
Click to expand...
Click to collapse
I wouldnt root it for the uses you are indicating, BUT from your post I can already see that you eventually will. My advise is set a saturday or friday night aside and get this done sooner than later. Its just easier because this device not having an SD card will make it difficult to restore data and things that you have already done on it ( I got it two days ago and still havent rooted but am already worreid about some of the work ). The thing that usually helps me the most is youtube. Read a lot but have a good comprehensive detailed youtube video of teh rooting method you decide to follow and just follow along with the video. I have rooted 3 phones using that method and have yet to brick anything.

Best Rom for ram usage

I have my nexus 10 rooted and for some reason i am seeing the ram is always near full... Now I know 4.2.2 OS does a great job of using optimizing the ram usage. My question is what rom do you think is best for less ram being used ? Just your thoughts and opinions
dia_naji said:
I have my nexus 10 rooted and for some reason i am seeing the ram is always near full... Now I know 4.2.2 OS does a great job of using optimizing the ram usage. My question is what rom do you think is best for less ram being used ? Just your thoughts and opinions
Click to expand...
Click to collapse
From my experience, roms based on stock. For some reason roms that have a lot of features eat a lot of memory, its like the os uses that much. CleanRom is based on stock and is pretty smooth and performance wise. A opod choice is also TeamEOS, which only has basic custom features.
dia_naji said:
I have my nexus 10 rooted and for some reason i am seeing the ram is always near full... Now I know 4.2.2 OS does a great job of using optimizing the ram usage. My question is what rom do you think is best for less ram being used ? Just your thoughts and opinions
Click to expand...
Click to collapse
thoughts - sabermod
oppinion - because its sabermod
Sent from my Nexus 10 using xda app-developers app
dia_naji said:
I have my nexus 10 rooted and for some reason i am seeing the ram is always near full... Now I know 4.2.2 OS does a great job of using optimizing the ram usage. My question is what rom do you think is best for less ram being used ? Just your thoughts and opinions
Click to expand...
Click to collapse
Unless you're seeing significant performance problems, full RAM usage is a good thing, not a bad one. It means your system is doing its utmost to avoid far more expensive I/O operations to the eMMC flash memory. You also shouldn't really be able to "see" the system performing these optimizations, as they're designed to happen silently in the background.
unfortunately with the N10 full RAM brings issues like stuttering, significantly slowdown in performance and the occasional reboot. This has been seen and reported by numerous users here on the forum and I agree with them. There are workarounds, yes, but the problem still exists. This device - for whatever reason - acts very sensitive to little (below 150MB) available RAM.
Having said that: I think SentinelROM has been best so far, but you will still have to reboot every now and again. But the ROM is using different Mali drivers which seem to cure many of the laggy scrolling issues others seem to have (try Firefox browser for example).
mrruin said:
unfortunately with the N10 full RAM brings issues like stuttering, significantly slowdown in performance and the occasional reboot. This has been seen and reported by numerous users here on the forum and I agree with them. There are workarounds, yes, but the problem still exists. This device - for whatever reason - acts very sensitive to little (below 150MB) available RAM.
Having said that: I think SentinelROM has been best so far, but you will still have to reboot every now and again. But the ROM is using different Mali drivers which seem to cure many of the laggy scrolling issues others seem to have (try Firefox browser for example).
Click to expand...
Click to collapse
"Numerous users" is a very nebulous claim, and not at all useful. I don't deny that it happens, but unless you can demonstrate that RAM usage is the culprit for lag (a very difficult feat when you consider all of the lurking variables "lag" entails), it's a pretty tall claim to say that it's a "full RAM" problem. This is especially important when you consider that problems with low memory management, handling paging to disk, and killing activities are highly ROM/kernel-dependent.
FWIW the uptime on mine, running Carbon ROM regularly exceeds one to two weeks without lag, and even then the reboots usually happen because I forget to charge the device and it dies in the night.
Sure you can make a science out of everything. Just look at the reports in this forum, they sing a pretty similar tune. Last but not least I have seen this on my own tablet as well. *shrug* for me it is what it is, I know a solution and have no lag our stutter.
mrruin said:
Sure you can make a science out of everything. Just look at the reports in this forum, they sing a pretty similar tune. Last but not least I have seen this on my own tablet as well. *shrug* for me it is what it is, I know a solution and have no lag our stutter.
Click to expand...
Click to collapse
Recognizing the difference between anecdotal and empirical evidence isn't "making a science out of something," it's part of being a halfway-informed human being. Deliberately choosing to run by anecdotes alone isn't simply illogical, it's folly, and usually leads people into doing some very, very stupid things (this is precisely how snake oil cures get spread around: "look at all these people who said this works! I'll try it too because they think it works!")
Seeder is a great example for one of these imaginary non-problems. Lagfix is an example of the opposite-- it was built by an informed developer who knew the exact hardware problem they needed to target, and did just that.
That you saw it on your tablet really means nothing more than you've run ROM/kernel combinations that don't deal with low RAM very well. Which says nothing bad about you, but doesn't really bode well for the efficiency of that software combo.

[4.4] Android KitKat is made to run on OUR old phone!!

Google released nexus 5, and as you know it contains the brand new Android version KitKat.
Apperently google has make it compatible with old phones (such as ours) even those with as low as 512mb RAM.
It uses 60% less memory than JellyBean!
So let's just wait for the sources to be released D
source:
http://developer.android.com/about/versions/kitkat.html
http://googleblog.blogspot.no/2013/10/android-for-all-and-new-nexus-5.html?m=1
https://www.youtube.com/watch?v=fecfiMSIe8k&feature=youtube_gdata_player
Yip! No reason for me to get a new device, the software just keeps getting better
That's only about ram, how about cpu, gpu and so on?
thomasnguyen said:
That's only about ram, how about cpu, gpu and so on?
Click to expand...
Click to collapse
The GPU load can be reduced to a level better suited to our phone, I'm already doing this on CM 9.1.
The CPU however will be interesting to see, but the two (memory footprint and CPU load) go together in some cases
Regardless of that though, more than likely Google would not have made the effort of giving 4.4 such a small memory footprint for the sake of old devices* if they did not also make sure it is perfectly capable of being run on comparable CPUs.
*They explicitly stated that was the intention.
Where did you get the statistic that it uses 60% less memory than Jelly Bean ? @david234000
---------- Post added at 07:31 AM ---------- Previous post was at 07:30 AM ----------
Where did you get the statistic that it uses 60% less memory than Jelly Bean ?
 @david234000
Our GPU is still decent, but still below a tier of the second best GPUs (Mali 400 of s2 s3).
RAM issue is interesting because we are employing the slowest memory DDR1, as well as 512 MB of physical memory (some devices have 640 physical but advertise them as 512 MB)
CPU is also very weak compared to other low end offerings, but it should not be the bottleneck of our device (it is probably RAM)
Sent from my GT-I9000 using Tapatalk
hope it comes out Android 4.4 for our device, Android 4.2 runs well then kitkat should run even better
ThunderOver said:
hope it comes out Android 4.4 for our device, Android 4.2 runs well then kitkat should run even better
Click to expand...
Click to collapse
My friend if 4.4 runs better than 4.2 then... awesome :highfive:
So does anybody know when are the sources going to be released?
kogli said:
So does anybody know when are the sources going to be released?
Click to expand...
Click to collapse
was released 4 days ago.. read this
and yesterday Samsung Galaxy nexus (oldest) already had its ports... read this
S3 already has leaked versions today ...read this
Check this out! You , YES! you are an " Android ". Not your phone but U.​
Google already released the source..cyanogenmod already pushed the source..so just wait for cyanogenmod
Sent from my GT-I9000 using xda premium
At least, it will run as good as the latest 4.2 builds for our device, so let's wait what our devs can do with KitKat to make it even more enjoyable :good:
Especially the RAM optimizations will be something our devices will benefit from. As being said before, that has been one of the weakest parts of the system in the past. Multitasking and such things should profit from that. Let's wait and see...
I have high hopes for Kit Kat. I am not sure if it'll actually run "our" poor device (i9000) run any better but i believe adding TRIM and better memory management can yield some positive effects.
Kit Kat was released for FUTURE low spec phones. When they said about Lower RAM, i immediately knew they were talking about those dual core processors and so on. I'd really love to have Hangouts as my primary sms app but the kind of resources it needs, our phone is just not enough to power it up.
Anyway, this seems like a fair challange for Android. If Kit Kat successfully powers our devices "Better" than previous android versions then i am SOLD for Google. :fingers-crossed:
Anxiously waiting for a Kit Kat ROM. Heck, imma upgrade it that very day, even if its an Alpha build lol.
I don't know what you're on about with regards to hangouts, it runs like a dream on my phone.
Are you running a bunch of background stuff? I intentionally ditched the Facebook app because it alone greens half the phone's resources, crazy.
Sent from my GT-I9000 using XDA Premium 4 mobile app
Hr Kristian said:
I don't know what you're on about with regards to hangouts, it runs like a dream on my phone.
Are you running a bunch of background stuff? I intentionally ditched the Facebook app because it alone greens half the phone's resources, crazy.
Sent from my GT-I9000 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
yes, I ditched that app too and saw a massive speed improvement
Hr Kristian said:
I don't know what you're on about with regards to hangouts, it runs like a dream on my phone.
Are you running a bunch of background stuff? I intentionally ditched the Facebook app because it alone greens half the phone's resources, crazy.
Click to expand...
Click to collapse
I don't know if you were serious when you said "it runs like a dream". It runs just fine It STARTS like a *****. And you obviously can't run Hangouts running in the background because its just too resource hungry. In almost all cases, it takes like 6-7 and sometimes as long as 12 seconds to load hangouts app (too much ram clearing going on in background i think) and you try to go back, the Launcher will redraw because Hangouts had kill the other processes in the background to make room for itself.
Before you say anything. I am not new to this stuff. I am using CM 4.2.2 (some oct Nightly) w/ Devil Kernel and BigMem (420MB). I use Greenify so other apps like Facebook & Googleplus are always Hibernated in the background which means more RAM is always available to apps like Hangouts.
Its the CPU which is the main bottleneck. A single core just doesn't cut it these days. However, on a Dual Core phone with same amount of RAM ... THATs where hangouts runs like a dream.
Anyway, i am not complaining. I just hope things could get better than that, especially when we have TRIM support and ART in our disposal with Kit Kat. I have been using i9000 since THREE years (or more) now. Bought it back in 2010 i think when it launched, and i am not letting it go any time sooner. (Just love Voodoo Sound)
abobobilly said:
I don't know if you were serious when you said "it runs like a dream". It runs just fine It STARTS like a *****. And you obviously can't run Hangouts running in the background because its just too resource hungry. In almost all cases, it takes like 6-7 and sometimes as long as 12 seconds to load hangouts app (too much ram clearing going on in background i think) and you try to go back, the Launcher will redraw because Hangouts had kill the other processes in the background to make room for itself.
Before you say anything. I am not new to this stuff. I am using CM 4.2.2 (some oct Nightly) w/ Devil Kernel and BigMem (420MB). I use Greenify so other apps like Facebook & Googleplus are always Hibernated in the background which means more RAM is always available to apps like Hangouts.
Its the CPU which is the main bottleneck. A single core just doesn't cut it these days. However, on a Dual Core phone with same amount of RAM ... THATs where hangouts runs like a dream.
Anyway, i am not complaining. I just hope things could get better than that, especially when we have TRIM support and ART in our disposal with Kit Kat. I have been using i9000 since THREE years (or more) now. Bought it back in 2010 i think when it launched, and i am not letting it go any time sooner. (Just love Voodoo Sound)
Click to expand...
Click to collapse
I'm on a nexus s, single core/ 512m ram/ we have 4.4 available to our phone and it's a bit laggy.. As far as the rest of the updated 4.4 apps, the run great, no lag on my 4.3.1 ROM... 4.1.2 is still the fastest/smoothest/ less resource heavy (modern-ish) ROM available... "New" is good, but "works perfectly" is better...
Sent from my Nexus S using XDA Premium 4 mobile app
Setting.Out said:
I'm on a nexus s, single core/ 512m ram/ we have 4.4 available to our phone and it's a bit laggy.. As far as the rest of the updated 4.4 apps, the run great, no lag on my 4.3.1 ROM... 4.1.2 is still the fastest/smoothest/ less resource heavy (modern-ish) ROM available... "New" is good, but "works perfectly" is better...
Click to expand...
Click to collapse
Yep, agreed on that. 4.1.2 is still the smoothest. However, Nexus S users are still better off because they have a faster NAND Flash as compared to us the i9000 users. So at the end of the day, our phones lag much more than the Nexus S.
Still, like you said. "new is good". I am hoping this "new" to be "perfect". Lets see what actually happens.
abobobilly said:
I don't know if you were serious when you said "it runs like a dream". It runs just fine It STARTS like a *****. And you obviously can't run Hangouts running in the background because its just too resource hungry. In almost all cases, it takes like 6-7 and sometimes as long as 12 seconds to load hangouts app (too much ram clearing going on in background i think) and you try to go back, the Launcher will redraw because Hangouts had kill the other processes in the background to make room for itself.
Before you say anything. I am not new to this stuff. I am using CM 4.2.2 (some oct Nightly) w/ Devil Kernel and BigMem (420MB). I use Greenify so other apps like Facebook & Googleplus are always Hibernated in the background which means more RAM is always available to apps like Hangouts.
Its the CPU which is the main bottleneck. A single core just doesn't cut it these days. However, on a Dual Core phone with same amount of RAM ... THATs where hangouts runs like a dream.
Anyway, i am not complaining. I just hope things could get better than that, especially when we have TRIM support and ART in our disposal with Kit Kat. I have been using i9000 since THREE years (or more) now. Bought it back in 2010 i think when it launched, and i am not letting it go any time sooner. (Just love Voodoo Sound)
Click to expand...
Click to collapse
I'm sorry, you must be confusing me with someone who takes another person's anecdotal evidence over my own.
I don't use Greenify, I don't use Ram Manager, I have nothing of the sorts installed, I use Hangouts, and I use ADW Launcher, and I've spent the last 5 minutes switching between apps trying to reproduce your issues, and I am not able to.
Hangouts does load kind of slow (about 4 secs to load from nothing), I have thousands of SMS going through it so I am not surprised, Spotify is much worse with my offline playlists. I go into Hangouts (all the regular background services running, obviously); Home Key out to ADW, it's still there (I am not forcing it to memory), all 5 pages and widgets. I hop into Hangouts; it's still there with no lag; switch to camera, it's no issue, switch to XDA, bam, that is one hungy fella so it uses about 3 seconds to load my first screen.
I could go on forever. The fact is though: Your issues are not my issues. It's also worth noting I have the slow i9000, not the fast one, I am running 1GHz, regular animations, no RAM optimizations like zRAM or Samepage Merging. Regular ol' CM Kernel.
I've also been on this phone for "THREE years" as you so calmly put it. I also love our Wolfston DAC, I love that for some reason, my old CM9.1 w/Semaphore ran like ****, but my new CM10.1.3 runs like the wind, including all the apps.
I do not care that you have issues, it frankly seems like you've painted yourself into a corner with all your optimizations (I had them running on 9.1), maybe you're doing something wrong, despite your amazing three years of experience.
I run my phone like a champ, you do not, sorry 'bro.
EDIT: For those that do struggle with memory problems, look into "Long press back to kill" in dev options, back on CM9.1 I used it a lot because I knew my apps and phone better than the OS did. It's a god-send for people who want control.
Hr Kristian said:
I'm sorry, you must be confusing me with someone who takes another person's anecdotal evidence over my own.
I don't use Greenify, I don't use Ram Manager, I have nothing of the sorts installed, I use Hangouts, and I use ADW Launcher, and I've spent the last 5 minutes switching between apps trying to reproduce your issues, and I am not able to.
Hangouts does load kind of slow (about 4 secs to load from nothing), I have thousands of SMS going through it so I am not surprised, Spotify is much worse with my offline playlists. I go into Hangouts (all the regular background services running, obviously); Home Key out to ADW, it's still there (I am not forcing it to memory), all 5 pages and widgets. I hop into Hangouts; it's still there with no lag; switch to camera, it's no issue, switch to XDA, bam, that is one hungy fella so it uses about 3 seconds to load my first screen.
I could go on forever. The fact is though: Your issues are not my issues. It's also worth noting I have the slow i9000, not the fast one, I am running 1GHz, regular animations, no RAM optimizations like zRAM or Samepage Merging. Regular ol' CM Kernel.
I've also been on this phone for "THREE years" as you so calmly put it. I also love our Wolfston DAC, I love that for some reason, my old CM9.1 w/Semaphore ran like ****, but my new CM10.1.3 runs like the wind, including all the apps.
I do not care that you have issues, it frankly seems like you've painted yourself into a corner with all your optimizations (I had them running on 9.1), maybe you're doing something wrong, despite your amazing three years of experience.
I run my phone like a champ, you do not, sorry 'bro.
EDIT: For those that do struggle with memory problems, look into "Long press back to kill" in dev options, back on CM9.1 I used it a lot because I knew my apps and phone better than the OS did. It's a god-send for people who want control.
Click to expand...
Click to collapse
So you are happy with your phone. Good for you.
You are being a little too unrealistic about the performances while you seem to disregard the problems/limitations that still exist as of this day, as well as the problems in the older ROMs.
The CM9.1 you are talking about was ICS which in itself was a worst nightmare for everyone. Its main problem regarding "Internal Storage Low" were enough to put some off. (However scripts to bypass that was available and i survived that perfectly fine, because of the "functionality" i was getting). It was Jelly Bean (CM10 and later) where things started to pick up the pace, and now 4.1.3 users seem happier because its slightly less hungry on RAM than 4.2 or later users (which is where "I" am).
That being said, i did mention about the Hangouts' Load Times. If i am at home then i can bear agonizingly slow load times of Hangouts but if i am outside or in an emergency, then its a genuine problem. (Stock CM SMS app takes like half a second to load up)
Lets talk about the point where your ROM starts to get slower after some time of usage, until you reflash it. TRIM support eliminates this issue which is in 4.3. That, combined with the fact that i9000 has a agonizingly slow NAND Flash used in it, greatly affects the performance ... which your post is implying that its "not happening with you". If its not, then Good for you. OR maybe you just arent' accepting it because you'll feel pwned ... MAYBE.
And i am not using any RAM Manager, never have in the first place. But Greenify is something essential, something which can actually replace the "AutoRun" program we used to use back in the days. If you don't know about it, or don't want to use it ... fine. But don't start pointing fingers are people or making it look like "We are Wrong" and "You are the Genius",
The only thing i mentioned about "Hangouts" was A FACT which you proved yourself, however apparently trying to hide or reduce its implications for some unknown reason. I didn't even mention any other problem where you are trying to be jumpy with your attitude.
Lets not turn the tables here and focus on the Kit Kat's discussion. I am looking forward to it. If you aren't, Good for you.

[Q] ART Runtime

What do you think about ART runtime? Do you use it yet?
You think it´s better to be on ART?
fuhrli said:
What do you think about ART runtime? Do you use it yet?
You think it´s better to be on ART?
Click to expand...
Click to collapse
There are numerous discussions about this already. You will likely get some feedback here, but if you search and read several dozen posts in existing threads, you'll probably get a more informative view of the topic.
Prior to my G2, I used a Galaxy Nexus (toro / Verizon) for two years. I flashed dozens of ROMs on it, and in the final couple of months used KitKat ROMs with the option to enable ART. On that phone, there was no question that ART provided a smoother experience, faster response, and used less working memory. The difference was so noticeable that it really felt like a new phone.
I have every reason to believe that ART on the G2 will have a similar effect, although this phone is so fast already that I'm not sure what the experience will be like or how different it will feel. Many UI effects, such as transitions and animations, are tied to timing parameters that dictate things like the smallest amount of time a transition might take. In those cases, if the animation is already running at maximum speed dictated by the code you will not see a difference. You WOULD see a difference in those cases where multitasking, for example, maxed out processor capacity and became the limiting factor in UI speed.
ART will definitely improve processing efficiency and memory use of the OS. The extent to which we'll see the difference in UI experience is not clear yet on this latest generation of phone.
Sent from my VS980 4G using Tapatalk
I notice no difference in gui nor battery or memory in everyday use.

Categories

Resources