Dalvik vs. ART - Benchmark Results on the Droid X - Droid X General

I've never seen benchmark results for the DX between Dalvik and ART, so I decided to do it myself. I'm running @Aaahh, @palmbeach05 and @m.ksy's latest CM11 build without GApps, and I ran the test with AnTuTu.
To ensure the integrity of the results, I wiped the caches before testing each runtime and disabled background processes via the developer options. Time was allowed after each boot for it to finish applying Aero Control's settings and everything else. (Thanks to @Oggie7797 for those tips)
All CPU frequencies are stock except the last one - 1.2GHz at 68vsel. The GPU is overclocked at 266MHz (default is 200MHz). Nothing was changed between tests aside from the runtime. The first two screenshots are for ART, the last two are for Dalvik.
The winner is -- ART!
But not by a miraculous amount. In my experience with ART, it hangs occasionally but does offer slightly better performance. Although, as glitchy as it is, as well as the number of apps that simply will not run on it, I'd stick to Dalvik. It's default on Kitkat for a reason. Only use it if you don't care about said apps and the occasional crash.
If you're like me and @Oggie7797 and have been wondering which one you should use (or otherwise found this info useful), please hit "Thanks"

@argentwarrior20 I still like Dalvik cuz I'm an Xposed fan but nice post!
Edit:
Unless I'm mistaken, @sd_shadow didn't develop any parts of cm11 but he has done some amazing work helping out the community!! If anyone should be given credit for cm11 I'd tag @palmbeach05 since he done a lot at the beginning.
Tap'd from my Unicorn covered Bionic

Related

FINALLY a fast phone (HTC Magic 32B)

Hey there,
I went through a lot of trouble to get my HTC Magic (32B) working really well,
just wanna share this for people who have issues with the phone's performance as well.
I've tried many things, including a swap partition (on a fast SD-Card) as well as compcache.
Turns out, disabling both did the trick. It FINALLY went from unusable to fast and enjoyable!
My current rom:
Cyanogenmod 6.1.0 RC1
Settings->Cyanogenmod-->Performance:
Compcache DISABLED
JIT Enabled (I noticed an increase in CPU Power with the linpack benchmark,
but it still seems underpowered at 3.3 mflops)
Dithering Disabled
Keep Home App in Cache Enabled
Keep MMS-App in Cache Enabled
VM Heap 16m
Also I am using SetCPU to overclock to 576mhz at the moment(feels like the battery is draining faster).
Another thing I did was to reduce number of Homescreens in ADWLauncher down to 3, since thats 'nuff for me.
Hope this helps someone out there, as I was about to shatter my phone into a million pieces :O
On a sidenote: How many mflops do you get with your Magic?
I have the same findings There was a point when swap, overclock, apps2SD, and compcache all would make a major speed-up on your phone, but the CM6.1RC and the nightlies that shortly preceded it have given me the best performance in my magic's history with all of it turned off.
My phone is configured very similar to yours. I went up to vm24 to smooth out how heavier applications run. I left JIT on despite the theoretical drawbacks because I notice no performance hit and it makes a difference on fractal rendering apps (I'm indifferent to benchmarks).
The CM forums seem to be in a bit of turmoil atm because people are slowing down their phones by applying mods that genuinely sped it up in the past.
But for the first time I can be widget-heavy, always go straight back to home, use window animations, never have choppy music (even when using navigation), use alternate keyboards with no performance hit, and even run a good few live wallpapers. All with unprecedented battery life? Not sure what CM did but he/they sure did it right.
One thing - overclocking your CPU will better your benchtest results but I think you'll surprise yourself by leaving it stock, and even (gasp!) underclocking it. CPU clockrate is one of many possible bottlenecks and considering the 1.5 and 1.6 official roms were capped at 384 (or 352 I can't remember), I doubt it is the culprit of possible slowdowns. I run at 384 almost all of the time and have noticed no side effect except for extreme battery life and added stability (615 gives me reboots). The only differences I've seen overclocking make are in fractal rendering apps and benchtests but Pandas vs. Ninjas and Raging Thunder rock at 384.
glad to see I'm not alone with this
I can still see the phone running out of ram when alot is going on, but its ok.
I'll try your suggestion and underclock the phone.
Another small tweak I just found:
under mobile network settings there is an option "only use 2G", which is checked by default. turning this off improved my connection speed (obviously).
but again this comes at the cost of battery-life.

i only got 6.9 mflops on my x10 benchmark!

Hello folks,
I just tried to benchmark my x10 with linpack and got only 6.8 or 6.9 mflops. is this normal, is there anything i can do to make it get a higher score?
I'm using the latest .435 firmware and rooted and have all the junk pps from the 'x10 junk apps' thread removed from my phone.
Thanks for any help.
How does the phone perform? Are you satisfied with it or does it lag considerably? A benchmark really means nothing other than bragging rights. If it feels fast and feels good then why worry about mflops?
Sent from my Delorean using a flux capacitor!
If you look in the developer forum just pick one of the ROMs and you will find info on enabling JIT
Sent from my 2.2.1 Beta4 using XDA App
My score for mflops is always around 39 and my highest is 40+
Sent from my X10i using XDA App
xxcysxx said:
Hello folks,
I just tried to benchmark my x10 with linpack and got only 6.8 or 6.9 mflops. is this normal, is there anything i can do to make it get a higher score?
I'm using the latest .435 firmware and rooted and have all the junk pps from the 'x10 junk apps' thread removed from my phone.
Thanks for any help.
Click to expand...
Click to collapse
whether you updated via flashtool or through seus or pc companion, to optimize your phone is very simple especially if not wanting to root or install custom roms. download latest flash tool, once installed and up and running. make sure your phone is set on debug mode. connect to usb and plug into comp. though you may not want the apps that are in the custom folder. hit the customize button, you can remove them later. you will now notice that the optimize button is now highlighted in black. click on that button and let it install the files. This installs JiTv2 Files. this will bring mflops up and quad scores up. it however will not give very high scores. quad will be around 800-850 tops. mflops will be increased to about 20-30 maybe 35. notice on quad when running the rotating planets test. you might hit 33fps!!! instead of the supposed 30 that its only suppose to get. if you run neocore test you might only peg and 25-28. Good Luck!!
-OP
try running the test again after the unit has settled down (no activity for a while). you might get different results.
hit the customize button, you can remove them later. you will now notice that the optimize button is now highlighted in black. click on that button and let it install the files. This installs JiTv2 Files
Click to expand...
Click to collapse
Hi SErooted,
thank you for your helpfull respond. i pressed the customize and then the optimize button like you said and the phone rebooted and the result was better. linpack now get about 32 and some change, quadrant about 757, and neocore about 21fps, shouldn't neocore get better frame rate than this?
can i get it even faster than this?
i have heard about clearing the dalvik chache when installing JIT for the first time. well i didn't clear any cache when i press that customize or optimizer button. did it do it automatically or do i still have to do it manually?
what i wanted was to have the interface and games run fluid and smooth. like no studder at all.
does the processor throttle down when the system is at idle?
should i overclock?
also, i have notice the video recording in hd mode have less studdering now. though its still there, but less. do you think it probably have anything to do with the memory card performance. i'm still using the stock 8gb that originally came with the phone.
My score for mflops is always around 39 and my highest is 40+
Click to expand...
Click to collapse
hello Michael7168,
thank you for your respond to my message. can you please elaporate more on your statement. is this an x10 you using? i would like to get this result too.
furthermore, i prefer not to use custom firmware at the moment as i use this phone frequently day-to-day and i need to have full functionality of it and reliably. custom firmware are still buggy and lacks some functionality of the phone that i still find usefull for my daily task. but if there is a better custom firmware that really does utilize all of the phone functionality, then please point me in that direction.
xxcysxx said:
Hi SErooted,
thank you for your helpfull respond. i pressed the customize and then the optimize button like you said and the phone rebooted and the result was better. linpack now get about 32 and some change, quadrant about 757, and neocore about 21fps, shouldn't neocore get better frame rate than this?
can i get it even faster than this?
i have heard about clearing the dalvik chache when installing JIT for the first time. well i didn't clear any cache when i press that customize or optimizer button. did it do it automatically or do i still have to do it manually?
what i wanted was to have the interface and games run fluid and smooth. like no studder at all.
does the processor throttle down when the system is at idle?
should i overclock?
also, i have notice the video recording in hd mode have less studdering now. though its still there, but less. do you think it probably have anything to do with the memory card performance. i'm still using the stock 8gb that originally came with the phone.
hello Michael7168,
thank you for your respond to my message. can you please elaporate more on your statement. is this an x10 you using? i would like to get this result too.
furthermore, i prefer not to use custom firmware at the moment as i use this phone frequently day-to-day and i need to have full functionality of it and reliably. custom firmware are still buggy and lacks some functionality of the phone that i still find usefull for my daily task. but if there is a better custom firmware that really does utilize all of the phone functionality, then please point me in that direction.
Click to expand...
Click to collapse
Hello xxcysxx,
yes neocore normally runs higher scores. round about 27-28 avg. i personally havent ran a stock firmware since right around mid december. i have alternated with a few and have finally settled on z.s 2.2b4. and have checked all roms available to find which is best. and custom firmware is sometimes shere you get the desired result. i have done some testing on my x10 with various settings and roms and will be happy to share with you what i have going on. my phone is very responsive. quad scores as of ten minutes ago was 2011 without having overclock widget installed. if yo install overclock widget and max out on screen and off screen min and max to 998mhz, you can achieve slightly higher quad scores. but really not needed if you follow settings below. i have a free app from market sysctl. it works!! not sure if you have read the thread on it yet but if not i will have to post there as i have found perfect settings for performance but at cost of battery drain. install if you have root, if not, the call to root is yours.
if interested.... download sysctl from market.
min free kb: 900000
dirty ratio:500000
dirty background:200000
vfs cache pressure:10
Oom allocating: checked
like i said performance not battery. i know for battery saving settings set these numbers close to what the default are. the lower the better battery, the higher, performance.
if you are really worried about daily performance and custom roms.... when/if you decide. i recommend eminence for 2.1 theme of your choice but i really dig bitsnackers theme its awsome and who wouldnt think a tron looking buzzlightyear isnt cool? its awsome. has a cool bootlogo too. all phone funstionality is there video, camera, flash. EVERYTHING!!
BELOW>>> Optimized, xrecovery, root<<<< ENABLED
if you are interested in a 2.2 rom which really does boost speed on phone and what not. i recommend z's 2.2beta4 as video is not working as of yet you might hold off. if you dont use video you should be ok with camera for now and that works. install gappsfreex10, z's data2sd, and theme of your choice. i like xfx10 cant remember name of creator (sorry) but this theme is great! all of theme are great to be honest this is just the one i use.
2.3 roms are out and they are snappy alone without having any adjustments, however there are things that dont work, camera is really the only thing i can think of right now. but by this time it might be fixed, cant say havent checked status but will when done replying.
you can install and run sysctl on these roms as well and gives great boost.
update: not sure if this is a result of sysctl or problems due to network overrun... mflops as of now are 3.2 i normally run 38+. Mmmmm, I wonder?
update 2: double checked after a little while and low mflops was due to network overload not settings. also once upon reboot from my settings i have a quad score of 2233. screen shot below. mflops picked back up but yet are not as high as usual 34.xx
as well to answer on dalvik cache... yes clear cache and also install cache cleaner from market. i have mine set to clear every twelve hours. when installing custom rom not always a case but recommend to wipe user data as well. a few minutes to reset your phone and make sure everything smooth is worth doing this. as well, clear battery stats.
either way, let me know what you guys think and if these settings help.
SErooted
SErooted said:
Hello xxcysxx,
yes neocore normally runs higher scores. round about 27-28 avg. i personally havent ran a stock firmware since right around mid december. i have alternated with a few and have finally settled on z.s 2.2b4. and have checked all roms available to find which is best. and custom firmware is sometimes shere you get the desired result. i have done some testing on my x10 with various settings and roms and will be happy to share with you what i have going on. my phone is very responsive. quad scores as of ten minutes ago was 2011 without having overclock widget installed. if yo install overclock widget and max out on screen and off screen min and max to 998mhz, you can achieve slightly higher quad scores. but really not needed if you follow settings below. i have a free app from market sysctl. it works!! not sure if you have read the thread on it yet but if not i will have to post there as i have found perfect settings for performance but at cost of battery drain. install if you have root, if not, the call to root is yours.
if interested.... download sysctl from market.
min free kb: 900000
dirty ratio:500000
dirty background:200000
vfs cache pressure:10
Oom allocating: checked
like i said performance not battery. i know for battery saving settings set these numbers close to what the default are. the lower the better battery, the higher, performance.
if you are really worried about daily performance and custom roms.... when/if you decide. i recommend eminence for 2.1 theme of your choice but i really dig bitsnackers theme its awsome and who wouldnt think a tron looking buzzlightyear isnt cool? its awsome. has a cool bootlogo too. all phone funstionality is there video, camera, flash. EVERYTHING!!
BELOW>>> Optimized, xrecovery, root<<<< ENABLED
if you are interested in a 2.2 rom which really does boost speed on phone and what not. i recommend z's 2.2beta4 as video is not working as of yet you might hold off. if you dont use video you should be ok with camera for now and that works. install gappsfreex10, z's data2sd, and theme of your choice. i like xfx10 cant remember name of creator (sorry) but this theme is great! all of theme are great to be honest this is just the one i use.
2.3 roms are out and they are snappy alone without having any adjustments, however there are things that dont work, camera is really the only thing i can think of right now. but by this time it might be fixed, cant say havent checked status but will when done replying.
you can install and run sysctl on these roms as well and gives great boost.
update: not sure if this is a result of sysctl or problems due to network overrun... mflops as of now are 3.2 i normally run 38+. Mmmmm, I wonder?
update 2: double checked after a little while and low mflops was due to network overload not settings. also once upon reboot from my settings i have a quad score of 2233. screen shot below. mflops picked back up but yet are not as high as usual 34.xx
as well to answer on dalvik cache... yes clear cache and also install cache cleaner from market. i have mine set to clear every twelve hours. when installing custom rom not always a case but recommend to wipe user data as well. a few minutes to reset your phone and make sure everything smooth is worth doing this. as well, clear battery stats.
either way, let me know what you guys think and if these settings help.
SErooted
Click to expand...
Click to collapse
holy sh*t. is that benchmark test at the bottom for your X10?
TidusWulf said:
holy sh*t. is that benchmark test at the bottom for your X10?
Click to expand...
Click to collapse
no the one at the top where it says your device. 2233
or how about now after i modded my sysctl settings.screen shot below taken just seconds before this post
xxcysxx said:
Hello folks,
I just tried to benchmark my x10 with linpack and got only 6.8 or 6.9 mflops. is this normal, is there anything i can do to make it get a higher score?
I'm using the latest .435 firmware and rooted and have all the junk pps from the 'x10 junk apps' thread removed from my phone.
Thanks for any help.
Click to expand...
Click to collapse
Install JIT from here.
batman_112 said:
Install JIT from here.
Click to expand...
Click to collapse
Read post on first page
i have alternated with a few and have finally settled on z.s 2.2b4, and have checked all roms available to find which is best. and custom firmware is sometimes shere you get the desired result..
Click to expand...
Click to collapse
thank you for your respond again.
your generic test result has me sold to custom firmware. i want to try it out to see what i'm really missing.
so to your experience, z's 2.2 b4 has all functionality of the device working with only the exception of the video recording? is that correct?
perhaps i can live with that for now. i frequently record my baby playing around the house and playing outside, that's why i prefer to keep the camcorder.
perhaps i will find an old phone laying around in the house just to get by while i'm going on an adventure on custom firmware.
if yo install overclock widget and max out on screen and off screen min and max to 998mhz, you can achieve slightly higher quad scores.
Click to expand...
Click to collapse
will keep this overclocking widget in mind. i just recently learned that you cant clock the processor past 1Ghz without sucessfully cracking the bootloader first. so overclocking is not going anywhere for now.
i have a free app from market sysctl. it works!!
Click to expand...
Click to collapse
yes, i done this already. but still learing on settings.
i have found perfect settings for performance but at cost of battery drain. install if you have root, if not, the call to root is yours.
if interested.... download sysctl from market.
min free kb: 900000
dirty ratio:500000
dirty background:200000
vfs cache pressure:10
Oom allocating: checked
Click to expand...
Click to collapse
on your x10 running at these settings, can you go at least a full day of work on a single charge with frequent text messaging, internet browsing, and phone calls?
no video games or leisure activity involve. full day of work as in taking the phone off the charger in the moning and comming home around eight or nine o'clock in the evening.
i recommend eminence for 2.1 theme of your choice but i really dig bitsnackers theme its awsome and who wouldnt think a tron looking buzzlightyear isnt cool? its awsome. has a cool bootlogo too. all phone funstionality is there video, camera, flash. EVERYTHING!!
Click to expand...
Click to collapse
i'm confused here. is eminence 2.1 a custom firmware or is it a theme for android 2.1 firmware?
if it is a modified sony ericsson 2.1 stock firmware with a different theme, then i'm not interested.
however, if it is a fully ported open source 2.1 android firmware, (not tamper with by sony ericsson) then this is good news. i really hope it is this!
BELOW>>> Optimized, xrecovery, root<<<< ENABLED
Click to expand...
Click to collapse
i have a question about xrecovery.
are you familiar with bare metal restore, acronis true image, or norton ghost.
i use these software to customize my laptop for different occations. whether i use my laptop to play games with my buddies at break hours durring schools, or do homework assignments in the library, or other general work. all i have to do is lay the image at boot and i have a completely different pc. it can be any os using any software customize in anyway, and took about five to ten minutes to lay down the image.
now back to the xrecovery question. can i do a "full backup" or a complete snap shot of the flash of my current android os and then restore it back at a later time in the same state and condition it was in just before i left it?
this is just incase i might have a remorse when i try the custom firmware.
i put a lot of time in making all the settings and adjustments just to the way i like it and i prefer not to have to do it all over again.
I have another question about the JIT software.
how many jit versions are out there?
i'm using the x10 flash tool version 0.2.6 to install the jit software on my phone. do you know what version of jit was distributed with this flash tool version?
thanks again, your time and help is very much appreciated.
your generic test result has me sold to custom firmware. i want to try it out to see what i'm really missing.
Bold step... always worth a shot.
so to your experience, z's 2.2 b4 has all functionality of the device working with only the exception of the video recording? is that correct?
perhaps i can live with that for now. i frequently record my baby playing around the house and playing outside, that's why i prefer to keep the camcorder.
perhaps i will find an old phone laying around in the house just to get by while i'm going on an adventure on custom firmware.
i always keep several older phones for camera use, or other things so this is always a good idea.
will keep this overclocking widget in mind. i just recently learned that you cant clock the processor past 1Ghz without sucessfully cracking the bootloader first. so overclocking is not going anywhere for now.
i agree in holding off, really overclock widget should be utilizes when operating stock 1.6. anything after that 2.1 2.2 2.3 their optimized with jit or are optimized enough without it
on your x10 running at these settings, can you go at least a full day of work on a single charge with frequent text messaging, internet browsing, and phone calls?
no video games or leisure activity involve. full day of work as in taking the phone off the charger in the moning and comming home around eight or nine o'clock in the evening.
these settings, im actually getting stats on this today as i was modding my phone alot yesterday and did not much have chance to let charge until last night. will let you know how well those settings work through out the day.
i'm confused here. is eminence 2.1 a custom firmware or is it a theme for android 2.1 firmware?
if it is a modified sony ericsson 2.1 stock firmware with a different theme, then i'm not interested.
however, if it is a fully ported open source 2.1 android firmware, (not tamper with by sony ericsson) then this is good news. i really hope it is this!
to my knowledge is has not been tampered with by sony, cant recall if the dev had placed any se apks in theme. but it is a great rom. so is blue sparks. if going 2.1 anyway. these are roms and not just themes overlay. so should be as open source as the dev made it.
i have a question about xrecovery, can i do a "full backup" or a complete snap shot of the flash of my current android os and then restore it back at a later time in the same state and condition it was in just before i left it?
this is just incase i might have a remorse when i try the custom firmware.
i put a lot of time in making all the settings and adjustments just to the way i like it and i prefer not to have to do it all over again.
yes you can. when in xrecovery, go to back up and restore. and backup. this will save all settings, phone book, contacts text message, everything! if not happy with custom software you have installed. just go back to xrecovery>backup and restore> restore. back to 2.1 software before the custom rom
I have another question about the JIT software.
how many jit versions are out there?
i'm using the x10 flash tool version 0.2.6 to install the jit software on my phone. do you know what version of jit was distributed with this flash tool version?
the JiT version that is with the new flashtool is JiTv2 i believe.. dont quote me on that. i believe it is as i have looked at the files in the optimizer and compared them to the copy of JiTv2 i have saved on my comp. to my knowledge, there is only two versions. again, dont quote me on it. i havent seen an chatter going on about newer versions so this might be all we get. not sure though
thanks again, your time and help is very much appreciated.[/QUOTE]
always happy to try and help.
http://forum.xda-developers.com/showthread.php?t=935919
Refer this
Cheers!
AdY
SErooted said:
your generic test result has me sold to custom firmware. i want to try it out to see what i'm really missing.
Sorry took so long to kget back to you. hope you catch this.
Sysctl settings really dont make large change in how fast all functions of the phone operate. most increase in performance for settings is shutdown and power on time. as well as a little better scrolling of menus.
basically running the 2.2 software from z or trip, adding the data2sd.zip will get you well into having quad scores of 2+++. if aiming for higher closer to around 3000. which i am very near doing. ill show when i have the proof not till then
anyway, getting mid 2+++ scores and higher, do require using something like set cpu or Overclock widget, in order to get your phone to run at top speed while doing the test..
after that run a test then another and so on until you have achieved what is perfect W/O for you.
Click to expand...
Click to collapse
i did tried the setting parameters you suggested earlier before your latest post and i found the improvement is not that noticable, but the battery did die very quick. i found the original configuration work just fine at this point.
i'm still doing some reading on the custom firmware to make sure i make the proper approach without any hickups. i still have a lot of school work to finish and a part time job so the custom firmware is moving along quite slowly.

[Kernel KH3&KJ3]Red Nebula [sched tweaks, vm tweaks, ondemand tweaks][zipalign added]

[Kernel KH3&KJ3]Red Nebula [sched tweaks, vm tweaks, ondemand tweaks][zipalign added]
This kernel does not support lagfix(ext4) at least not till I finish work on cwm and build in universal lagfix
Added Zipalign version (file ends in ZA)
Here it is Red Nebula v1.2 (kh3 and kj3 versions now). Its modified from boogs kernel (thank you for the use of your kernel as the base boog without it this wouldn't have been possible) with a lot tweaked and added. Quadrant for me runs around 2000 with it. I recommend cf bench by chainfire or antutu for benchmarking instead though as they have a lot more tests that matter in the android world and as we all know Quadrant means jack anyways. UI is extremely smooth and lag free and system is always extremely responsive.
Update:1.2 is released (pulled 1.0 and 1.1 all together) it includes a few more tweaks for responsiveness and helps out cf bench scores overall and lowers quadrant again, wtf quadrant. ;p
Remember this kernel is tweaked to give a highly responsive lag free device it is not built to get crazy high test scores as most of the tweaks I made improve overall i/o performance, disk throughput, java efficiency, and keep as much memory free as possible without going overboard killing everything in the background, a lot of the tweaks also will help battery life to some extent.
Also please don't request a lag fix version, I built one and it really didn't make much, if any, difference and that's with over 150 apps on my phone. Something about GB on the captivate seems to negate the effects lagfix normally has on performance so I left it out to simplify things and cut down on space in the kernel to save for future tweaks.
##List of mods(Updated)##
#tweaks to lmk keeps mem use down without going overboard
#aggressive version should keep mem free around at least 60mb
#swappiness is tweaked for speed when switching between open apps
#vfs_cache_pressure tweaks help improve overall performance but may require
a reboot every other day in the standard version to keep things snappy aggressive version shouldn't suffer as from this side effect as badly
#various other kernel scheduler tweaks
#tweaks to cpu scheduler(designed for on demand governor only)
#tcp/ip modified for speed and security
#other vm property tweaks improve speed and batterylife
#custom boot animation support for sanim.zip (KH3 still has no boot anim, sorry guys this thing is killing me trying to get working.)
#internal memory (SD) tweaks to reduce disk overhead and increase throughput
#added a new zipalign version of the kernel (the ones that have ZA at the end of the name it will zipalign all apks /system and /data that are not already aligned. just gives an extra little boost to performance.
note: I'm having problems getting custom bootanims working still for kh3, it won't show one so dont freak if you don't see anything after the att screen. It also helps boot time slightly if enough request is made I will post another version with the bootanimation re-enabled to the normal galaxy s boot.
##need to fix##
just bootanim support for now
##fixed in kj3 kh3 fix coming once I can figure out kh3's problem with me##
/\/\Thanks to Kyuta/\/\
##Installation Notes##
To begin as always I am not responsible for any damage to your device or loss of data damage.
Make sure you disable lagfix if it is enabled before installation of my kernel it absolutely doesn't support lagfix and I don't want anyone ended up with a soft or hard brick for trying to flash over a lagfixed device.
Installation is straight forward download the Red Nebula zip attached below and flash through cwm as normal. The only thing to keep in mind is this will wipe all you init.d scripts but it does back them up to /sdcard/initd_backups in the new versions just in case you want to try re-adding any later.
I set it to remove them to prevent scripts already in place from messing with those included with the kernel. Also the kernel doesn't work for nandroid backups as with pretty much all gb kernels so far so please don't try unless you are't worried about bricking.
Also the installation does clear caches for you during installation but feel free to do it anyways afterwords if you want.
note about initial boot up lag: After boot when the system is loading your homescreens you will most likely encounter a small lag at first then everything should come up very fast after a second or two. This is due to the read ahead buffer tweaks I made. They are loading up more information initially and this is what is causing it. The reason for me going slightly more aggressive than the norm is after initial boot up overall read/write rates are dramatically improved over other values I've tried and it makes for a much snappier feel overall, especially when opening gallery, accessing large music libraries and opening file managers.
Feel free to ask questions and leave feed back.
##Credits##
Boog-for the use of his kernel as a base
Kyuta-for help with getting bootanims fixed
ddoubt-for pointing out I forgot to fix the symlink in my
updater script for bootanimtion
All the people at IBM making manual pages
All the people who have made pages/manuals about the linux kernel & tweaking it
Without the above none of this would have been possible.
##side note to other devs##
you may include my tweaks and values in your kernels with credit given, I've spent countless hours researching and testing to get this project to where it is now. About 30-40% of the values used have been previously used by many others before but the rest I found researching manual/reference pages and some I found to work best through trial and error. The scripts except 99completed and the bootanimation script are my own work and while most are basic they are mine so please don't include them in tweak packs, kernels, and rom & kernel packages without permission.
##--updated links for fix to init.d backup scritpt and error in updater-scritpt!!--##
Wow, some body use stock please test this kernel. I will try when I back to stock ^^!
Heres a few test screens. Oh and I forgot to mention ram usually runs between 158mb-220mb. It pretty much has the zram tweaks but modified to values I decided on after reading dozens of linux kernel pages. Some values you might find in other scripts but most arent.
Its also optimized for the on demand cpu governor and I recommend overclocking with tegrak to get the most out of my tweaks.
CF bench
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Speed test mobile:
Note about speed: this is pretty much absolute max my wifi can run. I'd be glad to see other results and see if I can't improve speed more.
And a nenamark just for fun:
I know its sideways and a little hard to read.
Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
The GB bootanimation binary supports sanim.zip and not bootanimation.zip Not sure if that helps.
smooth.... flashed using SGS Kernal Flasher after turning off Lagfix. So far so good!
Congrats on ur kernel Jsmokey Nice to see more guys step up in the dev, specially when others are leaving due to phone upgrades. I personally don't use ur kernel yet (i9k user so far) but it's great for us cappy users to have more choises to pick from, so I *****slapped ur thxbutton
Kyuta Syuko said:
The GB bootanimation binary supports sanim.zip and not bootanimation.zip Not sure if that helps.
Click to expand...
Click to collapse
Tried that too when I was working on it still no luck. Only thing I could get to play them was the script from the old onix froyo kernel but the anim would just keep playing and according to logcat the ui was loaded completely.
And thanks everyone. I'm glad you like it. I spent alot of time researching linux kernel manual pages to find the best combinations of tweaks to put together and spent many late nights debugging,
Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
Jsmokey said:
Here it is Red Nebula v1.0. Its modified from boogs KH3 Kernel with a lot tweaked and added. Quadrant for me runs around 2000 with it. I recommend cf bench by chainfire for benchmarking instead though as it has a lot more it tests it runs and as we all know Quadrant means jack anyways. UI is extremely smooth and lag free and system is always extremely responsive.
Also please don't request a lag fix version, I built one and it really didn't make much, if any, difference and that's with over 150 apps on my phone. Something about GB on the captivate seems to negate the effects lagfix normally has on performance so I left it out to simplify things and cut down on space in the kernel to save for future tweaks.
##List of mods##
tweaks to lmk keeps mem use down without going overboard
various kernel property tweaks
tcp/ip modified for speed
vm properties tweaked for speed and batterylife
and quite a bit more
note: I'm having problems getting custom bootanims working so for now it won't show one so dont freak if you don't see anything after the att screen. It also helps boot time slightly if enough request is made I will post another version with the bootanimation re-enabled to the normal galaxy s boot.
##need to fix##
just bootanim support for now
##Installation Notes##
To begin as always I am not responsible for any damage to your device or loss of data damage.
Installation is straight forward download the Red Nebula zip attached below and flash through cwm as normal. The only thing to keep in mind is this will wipe all you init.d scripts and replace them with the one's included in the kernel so make sure you have a backup of them before flashing just in case you want to try re-adding any later. I set it to remove them to prevent scripts already in place from messing with those included with the kernel. Also the kernel doesn't work for nandroid backups as with pretty much all gb kernels so far so please don't try unless you are't worried about bricking.
Feel free to ask questions and leave feed back.
Click to expand...
Click to collapse
Congrat jsmokey, hope to see more for the latest leaks. Good Luck
LOSTLOGIC89 said:
Congrat jsmokey, hope to see more for the latest leaks. Good Luck
Click to expand...
Click to collapse
Thanks and I plan on working with them I just started this project weeks ago as a rom/kernel package but they both were taking up so much time I decided to split the kernel off and get it out there.
As soon as I finish up my rom I'm going to work on something for the newest leaks.
Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
very exciting! can't wait for KJ3 version. Thanks for you hard work.
zvadim said:
very exciting! can't wait for KJ3 version. Thanks for you hard work.
Click to expand...
Click to collapse
I actually have kj3 decompiled on my pc so if I have time I might go ahead and whip something up tonight if you want to test for me since I haven't started work on a kj3 rom yet and work on my kh3 rom doesn't leave much time for me to test others and let me know how it works.
Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
Any plans on releasing your ROM?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Hivol said:
Any plans on releasing your ROM?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
Of course, I hate to give an eta but i'd say around a week and half and I should have pretty much everything wrapped up. Its been in the works since kh3 came out but I've spent a ton of time testing tweaks on it and the theme.
I posted a couple teasers of custom buttons and my battery gauge in the captivate themes post your homescreen thread if you want to check it out. I've been running it for weeks now and a few close friends have been lucky enough for me to put it on their cappy's for em.
Same as with the kernel ill be moving everything to a kj3 base as soon as the kh3 version is done.
Edit: I wanted to mention that I will be updating the first post to be a little more in depth of what the values and tweaks really do. Only reason I haven't is its alot of typing to really explain things properly and I hopefully should have some more tweaks ready in the coming weeks as I dig more into how the linux kernel handles things. I've came along way in understanding how the kernel works in the past few weeks but I still have mountains of information to go through.
Sent from my I897 w/Antares Darkcloud, Red Nebula kernel, & 1.3Ghz OC using Tegrak.
Ok add the following to the end of your init.rc file and see if it helps with the sanim.zip.
Code:
on property:sys.boot_completed=1
stop samsungani
Kyuta Syuko said:
Ok add the following to the end of your init.rc file and see if it helps with the sanim.zip.
Code:
on property:sys.boot_completed=1
stop samsungani
Click to expand...
Click to collapse
Thanks kyuta I'll give that a try a little later and see what happens. I might just switch back to the old onix script and give it a try since its the only thing i could get to play the animations at all. I'm sure that will work though with a little tweaking to fit with the set up i used with the onix bootanim script.
Also this goes out to everyone I got kj3 all compiled just waiting on xpackage to let me know if its booting or not and I'll post it up for everyone, or if anyone else running kj3 that can flash asap and let me know if it boots or not is interested just let me know and I'll pm you the link to get it.
KH3 gave me fits on getting boot animation to work correctly. Just finally had to give it a timelimit eg: sleep 20 then kill it. The leaks after kh3 work better.
Also, the newer kernels will run on kh3, and vise versa
Makes for easy testing, flash it, not good? flash back.
boog said:
KH3 gave me fits on getting boot animation to work correctly. Just finally had to give it a timelimit eg: sleep 20 then kill it. The leaks after kh3 work better.
Also, the newer kernels will run on kh3, and vise versa
Makes for easy testing, flash it, not good? flash back.
Click to expand...
Click to collapse
I kind of figured it was a kh3 problem with the bootanims thanks for the info I'll also give that a try after I get done with all the kernel sched tweaks i'm finishing testing and researching. Next update should be about as responsive as it gets, I don't think there's gonna be much to tweak left after I'm done, and it should greatly improve on i/o rates overall even more than the first release.
Sweet, wasn't sure how things would go flashing the newer kernel leaks over kh3 so i hadn't tried it so I'll go ahead and give it a flash then and see what happens.
Update
flashes and boots fine but it still loops the anim non stop on kj3 and i left it exactly as you set it up for the bootanim boog. I swear this thing is just out to drive me completely insane! I'm gonna try a couple things and see how it goes and I'll post back asap.
update again
OMFG I love you kyuta that worked perfectly!!!! It finally stops when its supposed to lol.
I'll get it uploaded in a few when i get the last few things checked out and make sure all my tweaks are being applied properly.
Check OP for link to KJ3 Kernel! And to Kyuta and Boog I can't thank you guys enough for the help you guys are life savers.
KJ3 Kernel
I backed up the init.d file with root explorer (etc>init.d) and flashed through CWM. No problems. My boot animation worked (sanim.zip).
Quick run through several programs and long press keys working, BT working, GPS working (LOL, at as well as it has at 15ft accuracy).
So far all is good. I will run it tomorrow to see how is does for battery.
I am also running Illuminance 1.1 for the ROM.
CWM version is v4.0.1.5 with the kernel.
Boot scans seem faster.
I know signal is the modem but I am getting -71dBm 20 asu with the KE3 modem and Red Nebula kernel. It is 0130 here in Norfolk but that is the best signal I have gotten.
xpakage said:
I backed up the init.d file with root explorer (etc>init.d) and flashed through CWM. No problems. My boot animation worked (sanim.zip).
Quick run through several programs and long press keys working, BT working, GPS working (LOL, at as well as it has at 15ft accuracy).
So far all is good. I will run it tomorrow to see how is does for battery.
I am also running Illuminance 1.1 for the ROM.
Click to expand...
Click to collapse
Glad to hear it and as DDNV pointed out at first things will seem a little laggy at boot and I believe this is mainly due to increased read ahead buffers, which would cause sort of a momentary pause since they take a bit more time to fill then the default but loads very fast after that initial stutter since its loading a lot more info at once, 2048k compared to 128k default. I ran alot of sdcard speed tests with different settings and this seems to be the best balance between high read/write rates and initial system start up lag.
In the tests I ran it was like night and day in read/write speed compared to other values I tried. Also in my gallery I have well over 1000 images icons, photos, screenshots, etc and with the buffer tweaks it loads all of them almost instantly when I open it and it use to take between 10-20 seconds with default buffers. I will add this to op so people arent thinking its just lagging for no good reason at start up.

ART vs. DALVIK (4.4.2 KitKat)

Hi guys, because I can't sleep, I dedicated to perform battery tests of Dalvik runtime and ART runtime to see which one is eating battery more.
I tried to do both tests the same to get the most relevant result:
TEST 1: Playing video while on airplane mode.
Results after TEST 1:
Battery on DALVIK (tested first) went from 100% to 97%, on ART (tested second) went from 100% to 97%.
TEST 1 standings:
DALVIK (100 + 97) = 197 points
ART (100 + 97) = 197 points
--------------------------------------------------------------------------------------------------------------------
TEST 2: (Now on full-brightness) Started the game for 10 minutes and then playing video while on airplane mode.
Results after TEST 2:
Battery on ART (tested first) went from 100% to 92%, on DALVIK (tested second) battery also went from 100% to 92%.
TEST 2 standings:
DALVIK (100 + 92) = 192 points
ART (100 + 92) = 192 points
TOTAL:
DALVIK = 389 points
ART = 389 points
More points = less battery usage, so it's tied !
also it seems like, with Dalvik, the screen uses more battery. Check screenshots
NOTE: Each test ran for exactly the same conditions (same battery status, same light conditions etc.)
NOTE 2: Results on your device and with your battery may vary.
I think you should run tests at minimum brightness... otherwise all the battery drain will come from the LCD on
The Improvement from Dalvik to Art mostly affects the starting process.
Instead of a compilation on every start, its only done once.
While Running I do not expect any battery improvements
The battery consumption of the screen comes mainly from the backlight. Changing the runtime will not affect this in any way.
MrKra said:
The Improvement from Dalvik to Art mostly affects the starting process.
Instead of a compilation on every start, its only done once.
While Running I do not expect any battery improvements
Click to expand...
Click to collapse
Exactly right.
ART v Dalvik makes zero difference when playing a video or once an app has started.
No offence to OP but its worth gaining an understanding of ART before running tests as can be seen from your results
Also I would assume any app running or cached is therefore already in memory so its only apps NOT running/cached that benefit from ART when they first start.
I have heard people say ART means less lag when scrolling - how on earth would it do that!!
Art is interesting for Low mem devices, which do not hold Apps in the RAM.
MrKra said:
Art is interesting for Low mem devices, which do not hold Apps in the RAM.
Click to expand...
Click to collapse
Yes, true. I guess a lot of people have just a handful of apps they use a lot though, and its more than likely, especially with RAM increasing on devices, that these few often used apps will always be in RAM already. Depends how the app is coded as well I guess.
I can see it may help for large apps, ie games, where a portion of the game is in RAM and as you progress in the game the next portion has to be loaded. It will make loading times quicker.
With the current speed of devices and the large RAM now available (and look to one or two years ahead and 1GB will be considered low) I wonder how much difference ART will really make especially to just the average user - I bet they wouldnt even notice. We may be able to see statistics telling us an app loads a few milliseconds quicker but in the real world how much difference will this make.
However Im in no way saying ART is not worth having, if it does save just a tiny bit of battery its maybe worth it as we all want our phone to last longer. Its just not as big a deal as some people seem to make out - in my opinion.
That test was because lot of people saying that battery has improved with ART.
I noticed that ART was little faster while loading the game (~0,5 sec) also when video comes in the end, Dalvik has little delay to show me the software buttons.
Sent from my XT1032 using xda app-developers app
I just tried it, couldn't feel much difference in speed, did see I chuck off my valuable 8gb of memory vanish. So I changed back!
switched nearly immediately to ART after updating to KitKat, but what I really noticed to speed up was the recent apps drawer. Scrolling through windows was definitely faster. Only real downside for me is the ~10% greater storage demand... For my understanding using precompiled binaries kinda makes sense, but there are lots of really proficient threads here on the matter and most of them conclude that ART is the future.
ART isn't an option for me yet, still like using xposed framework to much. Hopefully they will update that to ART sometime.
hoschi-air said:
Only real downside for me is the ~10% greater storage demand...
Click to expand...
Click to collapse
When switch back from ART to Dalvik, do I get this storage space back?
ksuuk said:
When switch back from ART to Dalvik, do I get this storage space back?
Click to expand...
Click to collapse
Sure, Dalvik will use your RAM again instead... But why would you want to switch back?
hoschi-air said:
Sure, Dalvik will use your RAM again instead... But why would you want to switch back?
Click to expand...
Click to collapse
Because on this phone there is no benefit in using ART over the Qualcomm optimized Dalvik runtime we have. And storage space is far more important to those with an 8GB device.
flibblesan said:
Because on this phone there is no benefit in using ART over the Qualcomm optimized Dalvik runtime we have. And storage space is far more important to those with an 8GB device.
Click to expand...
Click to collapse
Hmm, besides missing any evidence on the real performance of these libraries on the Moto G, I doubt they will be more than a short-term solution. >> Google pushing ART development
Feel free to correct me if I'm wrong...
hoschi-air said:
Feel free to correct me if I'm wrong...
Click to expand...
Click to collapse
One thing against ART: it is in early developer preview state, so it is not recommended to use it on a daily use phone. It is not in the development menu by mistake. I know, I know, you did not encounter any issues yet.
Im switching to ART as soon as I get mine. Did wonders on my old Nexus 4
Sent from my SAMSUNG-SM-N900A using Tapatalk
Mvs1989 said:
ART isn't an option for me yet, still like using xposed framework to much. Hopefully they will update that to ART sometime.
Click to expand...
Click to collapse
For xposed to work with ART some serious coding must be done. And personally me I don't think its possible at all, but its just me so lets sit back and wait for devs to show up ) :angel:
debaj said:
One thing against ART: it is in early developer preview state, so it is not recommended to use it on a daily use phone. It is not in the development menu by mistake. I know, I know, you did not encounter any issues yet.
Click to expand...
Click to collapse
Well, for sure I have been using ART for a while now. Since I changed my Samsung Galaxy SIII to unofficial Kitkat, which is about a month ago.....
Now, with my Moto G the first thing I did was changing it to ART because it worked like a charm.
flibblesan said:
Because on this phone there is no benefit in using ART over the Qualcomm optimized Dalvik runtime we have. And storage space is far more important to those with an 8GB device.
Click to expand...
Click to collapse
Yep, exactly. I didn't notice any improvement in the phone behavior, but I lost about 600 MB storage space.

[Q] Best Working Set-ups

So for the newbies (I have been modding Androids for a years now):
What's the set-up you have found to work best? Are there any issues with it?
Here's mine:
Cyanogen 10 (ROM)
KTManta with kttweaker app(kernel)
interactive CPU: 2100/200 GPU:720/100 (Governor)
FIOPs(scheduler)
Notes:I also gave a five volt boost to the CPU steps (but I would do this last thing and only if you need it). Advice from Omnislyfer: I would like to tell you is about the overheat of you device. Our exynos processor it's great, but it has got some problems with temp at higher frequencies. You have overclocked a lot your device, and I think it's an insane thing to do. The main goal of voltage settings are to undervolt the device at stock frequencies, in order to reduce the overheating effects. You have done exactly the opposite: you have OC your device and also you have rises the voltages. So thrust me: from Ktweaker app, load default settings (so max CPU free will be 1700, and 533 for gpu), then subtract at least -50mv to all CPU voltages and -25 gpu voltages. You will not see particular performance loss (our n10 rly doesn't need Overclock) and hoverheat problems will disappear. Thanks Omni, I currently am testing this. Edit: Tested and this is great advice for this kernel. There is still heat issues for cpu intensive apps, but they are slower to manifest. Straight GPU functions (MX player -HW+) do not seem to need the undervolting and may be able to be ramped up. I did not test with any intensive games as it is hard to seperate the processors.
Video player (this is important for Nexus 10's):
MX Player with the custom codec properly installed (it occasionally (1/100 hours) drops the app when streaming video (twitch), but re-opens easily.
Comments to the community: I agree that people should try out everything. However, I recently had to re-root an old phone and run back through a lot of threads to find a stable set-up. This was to even see if I had rooted correctly. On the Nexus 10, the base Cyanogen 10 kernel kind of blows and my device was all sorts of buggy. The purpose of this is to help new modders and share some knowledge about stable set-ups with each other.
I've ran the gambit of custom ROMs through various versions of Android swearing by one over another but in the end I returned to rooted stock, Franco kernel, XPosed framework with Gravity box. Stability is my driving force and that just seems the most stable without loosing features such as the immersion UI.
Must have apps:
SuperSU
Viper4android
LMT
Nova launcher
Neutron
MX Player
For me other apps fall off in importance but those are the ones I'm taking to a deserted Island.
Sent from my Nexus 10 using XDA Premium HD app
And this is my config:
-Purity ROM - - > clean, stable and fast;
-Trinity Kernel - - > extreamly fast, but it leaks some feature (there is No Undervolt);
-ART runtime! - - > you have no idea of the advantages. Everything is faster and great battery life improvements.
About the apps :
-SuperSu;
-Nova launcher;
-Trinity Kernel Toolbox;
-MusicFX
Hi,
First I think you should give a look at this thread: http://forum.xda-developers.com/showthread.php?t=2725128. Many people are sharing their configurations there, it may help you .
For me, I'm using CM11, no additional tweaks for kernel or anything else, just CM11 was good enough for me. I can play Dead Trigger 2 without frame drops, listen to FLAC audio in Poweramp without issues and watch heavy videos on MX Player.
Also boot time is ≈20 seconds, so I found this to be my favorite setup .
~Lord
"Time is too short to cry, long enough to try." - March of Time (Helloween)
Sent from my KitKat Nexus 10

Categories

Resources