[KERNEL]**Dirty_V** (Pre_Final) == [4.2][4.3][4.4][EXT4/F2FS]

Should I build with Linaro 4.7 or SaberMod 4.8 toolchain , ( for DirtyV & DirtyV-SR )

  • Linaro 4.7

    Votes: 282 67.1%
  • SaberMod 4.8

    Votes: 138 32.9%

  • Total voters
    420
Search This thread

osm0sis

Senior Recognized Developer / Recognized Contribut
Mar 14, 2012
14,484
32,552
263
Halifax
GT-i9250
Nexus 7 (2013)
Okay, turns out IVA and GPU calibrated voltages are totally boring to watch (basically never change), so I'm not going to bother with them. CPU I'm still trying to figure out how to make pretty, then I'll commit the changes. :)

Got some fixes to scheduler default tunables handling since @AndreiLux fixed some related bugs today too. :good:
 
Last edited:

metalspring

Senior Member
Nov 5, 2011
2,466
4,327
0

Btw @bsmitty83 how hard do you think it would to forward port that live overclock to your kernel? It might be interesting to make a test kernel version just to see how it compares (if it isnt too hard). I would but I think that kind of forward port is way beyond my skill level (which is practically nonexistent lol)
 
  • Like
Reactions: bsmitty83

bsmitty83

Senior Member
Apr 22, 2012
3,216
10,352
0
Detroit
Btw @bsmitty83 how hard do you think it would to forward port that live overclock to your kernel? It might be interesting to make a test kernel version just to see how it compares (if it isnt too hard). I would but I think that kind of forward port is way beyond my skill level (which is practically nonexistent lol)

Probably be easier to incorporate it into say a stock cm11 kernel . it looks like its from the days before a hardcoded over clock was introduced. I dont know if it would be any better or not .
To add it to a stock cm11 kernel would be easy I would say , if you just wanna check out how it works .

Sent from my SCH-I605 using Tapatalk
 

osm0sis

Senior Recognized Developer / Recognized Contribut
Mar 14, 2012
14,484
32,552
263
Halifax
GT-i9250
Nexus 7 (2013)
For whatever it's worth, in my experience IVA on the GN never leaves 133 MHz.

In my undervolting testing I found that only changing the lowest step (so 133) seemed to have any effect (I could reduce the other two to 0s with no apparent instability, even in gaming), and I even wrote that IVA freq export to userspace to watch it and it never moves. :confused:

@Edward Stanbury can back me up on that.

/sys/devices/system/cpu/cpu0/cpufreq/iva_cur_freq
 
Last edited:
  • Like
Reactions: GilGameshn1

krweby

Senior Member
Oct 26, 2010
281
84
48
I'm still seeing with DirtyV-R after the phone has been running for a while and I reboot it bootloops at the Google logo. This has been doing this since after 4/19 build. And I'm not running CM.
 

cujo6801

Senior Member
Jan 2, 2011
4,389
3,184
253
Rancho Cucamonga
I'm still seeing with DirtyV-R after the phone has been running for a while and I reboot it bootloops at the Google logo. This has been doing this since after 4/19 build. And I'm not running CM.

The last line of this post made me laugh
If you ever read CM's thread you'll understand why he posted it.... Lol

Sent from the "DOG" pound
 

metalspring

Senior Member
Nov 5, 2011
2,466
4,327
0
For whatever it's worth, in my experience IVA on the GN never leaves 133 MHz.

In my undervolting testing I found that only changing the lowest step (so 133) seemed to have any effect (I could reduce the other two to 0s with no apparent instability, even in gaming), and I even wrote that IVA freq export to userspace to watch it and it never moves. :confused:

/sys/devices/system/cpu/cpu0/cpufreq/iva_cur_freq

Well thats wierd... running cat /sys/devices/system/cpu/cpu0/cpufreq/iva_cur_freq returns a value of 133 MHz, but viewing the file with root explorer shows it as 266 MHz... And I do remember some kernel control app (cant recall offhand which it was) that could show all the current freqs of cpu, gpu and IVA and IVA did indeed change

Edit- also if you're referring to the live overclock thing, it wouldnt matter if it changed steps or not, the live overclock simply increases each freq step by whatever percent you put in (which could be part of the reason it made things seem quicker :p)

Edit2: also according to trickster mod, the IVA voltage changes sometimes too, which I dont think is possible without changing freq speeds as well?

And edit3- I think I also remember IVA freq is related to gpu speed so if its set to the stock value, IVA freq may not change then or at least its much less likely to change (I am running 512 MHz max for the gpu btw)
 
Last edited:

Ashtrix

Senior Member
Dec 21, 2010
1,628
589
143
Yea
That's something ive missed for a very very long time ever since ezekeel got into his bad motorcycle accident. I used to LOVE the live OC feature. Especially for the core/iva
It made my device perform OUTSTANDING and I've never seen another dev include it.

I could't believe that Live OC made Gnex perf outstanding. I also had tried the Live OC on GlaDos & even on the AK's but i'm sorry to say this device just doesn't perform as well as my old GTi9000 SGS which also had Live OC but it used to work damn good....

P.S : AFAIK in my 2years of nexus prime's usage this device can't work good @ 512MHz GPU OC and Live OC features
 
Last edited:

osm0sis

Senior Recognized Developer / Recognized Contribut
Mar 14, 2012
14,484
32,552
263
Halifax
GT-i9250
Nexus 7 (2013)
One quick idea, could you please add voltage monitoring (Core, IVA, MPU) to Synapse? Basically, that's the only reason I'm not uninstalling Trickster, I like to see their voltages, how SmartReflex is performing, ... :p

Can you screenshot that for me? I added MPU as "CPU Voltage" in tonight's Synapse commit, but now I'm toying with the thought of giving all the current voltage outputs their own page in the Dev Tools switch interface.



I kinda don't like the extra clutter in the CPU section it adds either, but it's growing on me. :p

What do you and everyone else think?

@metalspring I just sat with IVA freq and voltage live output in Synapse for awhile and tried OCing GPU to 512, and playing music and all sorts of stuff but didn't see it move. :confused:
 
Last edited:

metalspring

Senior Member
Nov 5, 2011
2,466
4,327
0
Can you screenshot that for me? I added MPU as "CPU Voltage" in tonight's Synapse commit, but now I'm toying with the thought of giving all the current voltage outputs their own page in the Dev Tools switch interface.

I kinda don't like the extra clutter in the CPU section it adds either. :p

@metalspring I just sat with IVA freq and voltage live output in Synapse for awhile and tried OCing GPU to 512, and playing music and all sorts of stuff but didn't see it move. :confused:

You mean this at the bottom in trickster I guess?
uploadfromtaptalk1399266869479.jpg

Also, I got the IVA voltage to at least change by toggling the recents quickly a few times (more graphics intensive I guess?)
 
  • Like
Reactions: osm0sis

osm0sis

Senior Recognized Developer / Recognized Contribut
Mar 14, 2012
14,484
32,552
263
Halifax
GT-i9250
Nexus 7 (2013)
You mean this at the bottom in trickster I guess?
View attachment 2726376

Also, I got the IVA voltage to at least change by toggling the recents quickly a few times (more graphics intensive I guess?)

Ah good. What I've got in Synapse is on par with that at least. :good:

I'll try IVA again with the Recents and see if I can get that result too. :)
 
Last edited:
  • Like
Reactions: Edward Stanbury

Edward Stanbury

Senior Member
Dec 8, 2011
453
199
0
Paraparaumu Beach, Kapiti
For whatever it's worth, in my experience IVA on the GN never leaves 133 MHz.

In my undervolting testing I found that only changing the lowest step (so 133) seemed to have any effect (I could reduce the other two to 0s with no apparent instability, even in gaming), and I even wrote that IVA freq export to userspace to watch it and it never moves. :confused:

@Edward Stanbury can back me up on that.

/sys/devices/system/cpu/cpu0/cpufreq/iva_cur_freq

This is all too true! haha damn its been awhile :p sold my gnexus awhile ago and joined the n5 team, i still miss this side of the forum though ! ill post here more often now i think just because its super friendly :) but yeah IVA freq never budged no matter what load was put on etc new quite understood why but it never effected media decoding and what not
 

osm0sis

Senior Recognized Developer / Recognized Contribut
Mar 14, 2012
14,484
32,552
263
Halifax
GT-i9250
Nexus 7 (2013)
[snip]

I got the IVA voltage to at least change by toggling the recents quickly a few times (more graphics intensive I guess?)

Still no luck here. IVA just sits... GPU voltage jumps around minutely without a frequency change quite often though.. I guess because it's actually the CORE voltage? Same goes for the reported MPU voltage I think because maybe it's averaged from both CPU cores or something.



More annoying to watch than interesting, which is why I left them out of the commit. :p

I'm open to suggestions though!

This is all too true! haha damn its been awhile :p sold my gnexus awhile ago and joined the n5 team, i still miss this side of the forum though ! ill post here more often now i think just because its super friendly :) but yeah IVA freq never budged no matter what load was put on etc new quite understood why but it never effected media decoding and what not

Good to see you buddy! :)

Yeah, we're still having all sorts of good old fashioned fun over here. ;)
 
Last edited:
Can you screenshot that for me? I added MPU as "CPU Voltage" in tonight's Synapse commit, but now I'm toying with the thought of giving all the current voltage outputs their own page in the Dev Tools switch interface.



I kinda don't like the extra clutter in the CPU section it adds either, but it's growing on me. :p

What do you and everyone else think?

@metalspring I just sat with IVA freq and voltage live output in Synapse for awhile and tried OCing GPU to 512, and playing music and all sorts of stuff but didn't see it move. :confused:

Iva isn't just sound processing chip.
It handles video playback acceleration and I think when recording video.
So you might not see that freq change at all if you aren't watching video, playing game, doing something that requires it to run at higher rate. Just cuz it doesn't change when we are looking at it doesn't mean it isn't using the other freqs at all
 

Top Liked Posts

  • There are no posts matching your filters.
  • 253
    DirtyV_3.jpg


    Hello everyone , this is my personal Android 4.4 kernel . I figured I'd share it with everbody since it seems to be working good . anyhow flash it if you want ,
    ALL credit and thanks should be directed to @styr , the Vanir Devs , and any developers who's commits I used
    ( alot )



    The Basics
    ,

    Based on Linux kernel 3.0.101
    • Forked from jimsth/vanir_tuna
    • Added some things I use ( governors and schedulers ) , some performance commits
    • Built with @Christopher83 's custom optimized- Linaro 4.9.1 toolchain -O3 optimized, graphite , link-time opt.
    • Ramdisk made by @osm0sis


    KERNEL FEATURES:


    • Governors:
    • Interactive
    • Conservative
    • OndemandX
    • Ondemand
    • Wheatley
    • Performance
    • Powersave
    • Userspace
    • Hyper
    • Hotplug
    • Sakuractive
    • Dyninteractive
    • Adaptive
    Schedulers

    • Row
    • Bfq
    • Vr
    • Sioplus
    • Cfq
    • Noop
    • Deadline
    • Fiops
    • Zen
    • TrippnDroid

    Gpu Freq:

    512Mhz max adjustable

    TCP Congestion Controllers


    • Westwood
    • Cubic,
    • Bic,
    • Westwood,
    • Htcp,
    • Hstcp,
    • Hybla,
    • Vegas,
    • Scalable,
    • Lp,
    • Veno,
    • Yeah,
    • Illinois,
    • Reno



    • Content Adaptive Brightness
    • Voltages Control (Core, Iva, Mpu and more ...)
    • Fastcharge control with storage
    • High performance audio
    • Sound Boost control
    • Temp control
    • Vibrator control
    • Color Control
    • Gamma Control
    • Trinity Contras
    • Dynamic Fsync
    • Zram
    • 3.4 wifi drivers



    My ChangeLog


    Downloads

    In the downloads tab
    http://forum.xda-developers.com/devdb/project/?id=6110#downloads

    thanks again to @wisefreakz @kezn715 @Shambola, @Nemed AND to @Nephilim for the SIG @Hetalk for the FAQ writeup

    XDA:DevDB Information
    DirtyV Kernel , Kernel for the Samsung Galaxy Nexus

    Contributors
    bsmitty83, osm0sis
    Source Code: https://github.com/bsmitty83/DirtyV_tuna

    Kernel Special Features:

    Version Information
    Status: Beta

    Created 2014-10-13
    Last Updated 2015-05-27
    72
    Want to enjoy dirty on older android version? See this post. NEW
    F2FS Updates !!
    Just to avoid multiple questions on this subject, I'll add f2fs related updates here, tomorrow.
    Please point me to stuff outside this thread, as basically this is the only thread that I read everything on.
    [*]What is this "f2fs" thingy?
    Read more about this awesome file systems here
    [*]How to use this f2fs?
    Read this and this and this (nice workaround) . If you understand it all, go ahead and have fun.
    There's a small guide by @p34rp34r here.
    Another awesome guide for f2fs and our device. by @burstlam
    Again, if you don't understand what you're doing, DONT DO IT.
    [*]How to test f2fs thing?
    Read this post

    [*]Compatible ROMs?new
    @aosp and @bsmitty83 have been using vanir's commotio builds for f2fs test on this thread
    There's a SlimKat f2fs unofficial version here
    I've managed to get a paranoid f2fs version. See post here
    Here's the most beloved Liquidsmooth f2fs version by @Punkiderma
    F2FS converted OmniROM by @pianistaPL

    Our own @poo706 has ported and improved upon an awesome tool that would convert most ROMs to f2fs compatible ROMs. Jump to it's own thread for more info.
    [*]More questions?new
    Why not? Jump to the F2Fs Q&A thread by @jhonnyx .
    Feel free to read and search thru the thread. Ask questions that you still are unsure of.

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Updated 05-05-2014
    Kernel FAQ :
    1. Whythree kernels?
      More choice for different users and different user activity.

      [*]What's the difference between these three kernels?

      DirtyV versions are the ones where your 1080p recording works.
      SR versions are the "SuperRAM" versions where a lot of RAM has been reclaimed. You get more RAM, but you need to give up 1080 recording, as a trade-off. If you plan to use this one, make sure you change your camera video recording to 720p instead of 1080p. Latest kernel versions will make this change automatic.
      The 3rd one is @bsmitty83 's own build that he's running for his tests. You can use this and feel like a developer. :D
      This one might not have all the governors/freqs/io/settings that you can't live without, so be prepared to be surprised.

      [*]What are recommended kernel settings?

      Follow @Nephilim 's kernel settings. Here they are

      [*]Anyone got any nice init scripts to automate neph's settings?

      Yes. @büscher got it all covered for you here Thank him.

      [*]Can I use on x ROM?

      Sure. If it doesn't work, let people here know. There might be a workaround.

      [*]How to submit a bug?

      Post a note here with relevant information(what you were doing when x happened, screenshots, how to replicate, logs, etc)

      [*]What is this log that people talk about? How to take a useful log?

      Read this
      or use syslog app from play store.

      [*] Does Touchwake/PGM/<your favorite touchmanager> work?

      This kernel has an inbuild touchwake. You can set it using a kenel settings application (eg. TricksterMod). Sadly, not any more.
      It's also got the required modules to support <your fav tool>. You need to ask the app developer to include support for dirty kernels.
      Latest smitty version has touchwake removed, so that PGM developer can update his app to support dirty kernel.
      PGM fans, see and thank this post

      [*] What is the difference between linaro and sabermod?

      The difference is just what toolchain was used to compile them. Linaro is a highly optimized custom built toolchain, and sabermod is based off aosp toolchain but with lots of extra patches for optimization
      Presently, @bsmitty83 is using @metalspring 's custom toolchain to compile all dirty versions. And, they come with a ramdisk, specially made for all of us, by @osm0sis

      [*] Is Fast Charge broken? I can still access my files with fast charge on!

      Nope. It's not broken. With some super voodoo now you can access your files along with fast charging your battery. But, do it only if you are in a hurry. Fast charging might not be good for battery life(citation needed).

      [*] My Antutu with <insert kernel name here> is bigger/better/wider/thicker than yours.

      Wateva :D

      [*] Can I try this on my favorite 4.2/4.0/2.6/0.1.1 ROM ?

      Check this post by @osm0sis on how to accomplish this not-so-difficult task.

      [*] When will the next version be released?

      Now. Just check the last couple pages, and you'll see @bsmitty83 's got another one for you. :victory:

      [*] Latest version does not have my favorite io/gov. Why he no love me no more?

      Most likely, smitty forgot to add it in. Just put a comment about the missing item and he'll put it back. In the meantime, try out other io/gov/freq/etc. Maybe you'll find a hidden gem (like @Nephilim found illinois)

      [*] I don't like the kernel splash screen (coming soon)

      Eyelids are provided for a reason. Close them for a couple seconds after turning on your phone and you'll get rid of the bootsplash


      [*] What is this synapse thing that I hear about?
      20412_blinking_new.gif

      Synapse is a kernel settings tool, that you can use to tweak kernel settings that smart people on this thread talk about. @osm0sis has been instrumental in making this tool work for our beloved kernel. Thank him for this free tool.

    And Yea " 720p works on all of the builds. ":highfive::victory::good::cool:
    66
    My little man . 24 hrs old
    ge7u6usa.jpg


    The newest dirty member lol .

    Hack The Tuna
    53
    Some init.d script's I made for DirtyV


    Download Nephilim's settings all-in-one script (latest changes: 14.04.2014 - updated settings)

    Download büscher's settings all-in-one script (latest changes: 17.04.2014)

    Download Lowmemorykiller whitelist script -> Please have a look here for lowmemorykiller whitelist explanation.

    Link to Nephilim's Settings

    changes:
    10.04.14: new minfree settings in buescher's script
    14.04.14: set OMAP gamma contrast to 0 - gets rid of sync_lost
    16.04.14: new minfree values for new SmittyV, min freq @ 190MHz, max screen off freq @ 525MHz, [email protected] as new ioscheduler, 525MHz as input_boost_frequency, 700MHz as high_speed_frequency
    17.04.14: reverted to 920MHz highspeed_freq

    Büscher's settings and differences to Nephilim's Settings (Kernel Stock where nothing mentioned):

    • CPU Max Frequency @ 1500MHz
    • Max Screen Off Frequency @ 525MHz: To avoid music glitches with Poweramp - lowered as it seems to work way better than on previous versions
    • Min Frequency @ 190MHz: works good
    • Min Screen On Frequency @ 230MHz: to avoid choppiness with screen on
    • Interactive Governor
    • Hispeed Frequency @ 920MHz: Frequency which to initially ramp when CPU load hits the value specified in go_hispeed_load
    • Above Hispeed Delay 20000: When speed is at or above hispeed_freq, wait for this long before raising speed in response to continued high load.
    • go_hispeed_load @ 85: more aggressive than stock - and not 'being mean' to the governor
    • Input Boost Frequency @ 525MHz: Frequency which to ramp when you touch the phone
    • boostpulse_duration @ 500000: min time at input_boost_freq after touching the phone - less aggressive and more battery friendly
    • min_sample_time @ 10000: The minimum amount of time to spend at the current frequency before ramping down - gives the cpu the possibility to ramp down frequencies earlier - more battery friendly
    • target_loads @ 75: the lower the target load, the more often the governor will raise CPU speeds to bring load below the target - more aggressive than stock
    • timer_rate @ 10000: sample rate to increase freq - overall snappier feeling but less battery friendly
    • timer_slack @ 60000: maximum time to allow deferring of timer_rate - just raised to a 10'000th
    • sioplus as I/O Control
    • Read Ahead Buffer 512: new measurements lead me to this - you may want to try other values as my storage seems to be borked
    • Async_Expire 2500: Deadline for asynchronous requests
    • Sync_Expire 304: Deadline for synchronous requests (Default ~10 times less than async_expire)
    • fifo_batch 0: Number of requests to issue before checking for expired requests
    • TCP Congestion Control westwood: best results in Switzerland
    • Enable Content Adaptive Brightness: Saves Battery
    • Enable Fast Charge: Lets you charge your phone faster on USB - doesn't break media transfer anymore
    • Overclock GPU to 384 MHz: Same voltages as 307MHz - more battery friendly if you don't need your phone for gaming
    • Headphone Volume Boost is set to 2: I don't use Nexus Louder and just set this to two - can cause music stutters, set it to 1 if so
    • Enable High Performance Sound
    • Dynamic FSYNC: disabled: I had data loss more than once because of this
    • Multicore Power Saving 0: I can't get anything out of this
    • Apply SmittyV 4/6 default minfree settings
    • Disable ZRAM
    • Vibrator strength 70
    • more options available


    Androbench screenshot for comparison:



    Noop @ 384 / 512

    noop384.png
    noop512.png



    Zen @ 384 / 512

    zen384.png
    zen512.png



    Quadrant Benchmark for comparison: (my settings with [email protected])


    Screenshot_2014_03_02_17_35_44.png



    How to Install:

    1. Download scripts and rename to no extension
    2. Put the script to system/etc/init.d
    3. Set permission to 755 ( rwxr-xr-x )


    Some important lines:

    Not all of Neph's Settings are present in my scripts (undervolt, blx, vibrator strength) as I don't use them.
    undervolting with init.d scripts is to risky for me, the rest can be added if wanted and if I find the right path to the parameters.

    Please check frequently for changes

    All benchmarks done with SmittyV-NoMeM { 2/28 }



    Credits:

    @Nephilim for the hard work finding the best values for our phone!
    @osm0sis for helping me out and explaining stuff the easy way ;)
    Francos Dev team for disabling sysctl.conf lines
    49
    That would be real kick-ass of you man. :good:

    BTW, I'd like to suggest you add a donation button below your avatar, you have been doing quite alot for everyone and although I'm really not in the money lately I'd be willing to donate a few bucks and I'm sure quite a few others would as well.

    I only accept donations from the thanks button . man , this is a hobby , I do it for fun and I want to keep it like that . people on here have donated enough to me in knowledge :beer:

    Sent from my Galaxy Nexus using Tapatalk
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone