yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] rachanta:
Something for testaholics

[MENTION=4264667]dwALX[/MENTION] - Please test. I only know it boots and have just installed the app Drive Droid

https://www.androidfilehost.com/?fid=95784891001604396

It has the patch required for the app - as per your suggestion

source: https://github.com/rachanta/kernel_n5_racer/commits/racer_test

Edit: It works. A new efi drive showed up in my Mac.
[Nexus 5 Android Development] copi:
Try ur kernel atm, and its fast. Is it intended for four cpu always online? Thanks dev
[Nexus 5 Android Development] rachanta:
No normal operation is with all freq core throttled and cores 2,3 core throttled. This can be set in faux or synapse thermal manager. Pl see post#4.
[Nexus 5 Android Development] DubelBoom:
Did anyone succeed going into diag mode?

I've installed the LGUnitedMobileDriver and ran the "setprop sys.usb.config diag,adb" in adb shell (of course after su). I do get modem in device manager, but not diag, so I cannot use QPTS/QXDM.
[Nexus 5 Android Development] rachanta:
Just search for "diag" in this thread. The user [MENTION=4211029]jclendineng[/MENTION] who requested for it confirmed that it works. You can pm the person and get the know how.
[Nexus 5 Android Development] FPSKunal:
Guys anyone have this problem on the latest L build by Skymopo when ever I flash this kernel I am unable to turn on the screen by pressing the power button the screen will just stay off. I have tried other kernel like hellscore and it works fine on that. Any ideas or solutions?
[Nexus 5 Android Development] DubelBoom:
Already did a search and found him, was hopping someone has a solution. I'll try sending him a PM.

Thanks
[Nexus 5 Android Development] rachanta:
Ops - Build withdrawn

Changelog RACER_L4.7_20141102: Upstream updates

Mutex exclusion that ensures that no two concurrent processes[a] are in their critical section at the same time

Random number generator

Kernel tasks scheduler

Neon multimedia and signal processing accelerator

Serial peripheral interface bus driver for qualcomm universal peripheral engine

Many thanks to [MENTION=3292224]franciscofranco[/MENTION] and [MENTION=3332811]faux123[/MENTION]

CPU Idling details are missing in settings. Something is wrong,. Build withdrawn. The next build will have many upstream updates.
[Nexus 5 Android Development] ironclad1911:
Phone reboots when i run antutu benchmark,........it reboots after it crosses 21% ..........i have applied all recomended settings using faux clock........plz give me a reason and a solution if possible,....
[Nexus 5 Android Development] rachanta:
I face this problem only if temperature setting in thermal manager are out of range or at least 2 cores are not throttled.

There is as such no other known problem that can cause this.
[Nexus 5 Android Development] ironclad1911:
Okay i will try again.........temperatures are in range but i have unticked all cores

---------- Post added at 09:52 AM ---------- Previous post was at 09:38 AM ----------

2 cores ticked in freq throttle

2 cores ticked in core throttle

Reboot at 31%
[Nexus 5 Android Development] rachanta:
Check if frequency is Max < 2419.

If it is ok-

Install a new ROM in multiboot with no data and install kernel, and setting app. please use L4.6 version of kernel - link at op.
[Nexus 5 Android Development] ironclad1911:
yes max frequency is 2419 and im currently running [ROM] Pure•White•Final-5.0™ [Lollipop] [LNX07M] [30/10/14]

so shall i install this as secondary rom in multirom with my current as primary or some other rom?
[Nexus 5 Android Development] rachanta:
I can't say about pure white but it works on LNX 07/B17, B17.2 and LPX 13D, CM11 with no issues.

One more thing, do not set Voltage Adjust " Set in boot" in Faux. This is because you gave problems, and it better to eliminate a variable.
[Nexus 5 Android Development] ironclad1911:
yeah im not using voltage adjust and will install stock LPX13D i hope it works.....thanks!
[Nexus 5 Android Development] rachanta:
NEXUS 5 KERNEL: RACER_L5.0_20141103 Update

KERNEL: RACER_L5.0_20141103:

https://www.androidfilehost.com/?fid=95784891001605517

Changelog 0141103: Upstream updates

Mutex exclusion that ensures that no two concurrent processes[a] are in their critical section at the same time

Updates to futexes (fast userspace mutexes) - locks that ensure that most processor calls are attended to in user space. System calls are made only when arbitration is required between processes

Random number generator

Kernel tasks scheduler

Neon multimedia and signal processing accelerator

Serial peripheral interface bus driver for qualcomm universal peripheral engine

Added workqueues to scheduler

Properly re-enabled cpuidle which had got lost

Added Symmetric Multi-Processor (smp) boot driver. All cores / any core can use all the memory. During boot core 0 has access to all cpu and kernel resources

Many thanks to [MENTION=647113]hellsgod[/MENTION], [MENTION=3292224]franciscofranco[/MENTION] and [MENTION=3332811]faux123[/MENTION]
[Nexus 5 Android Development] rachanta:
RACER_L6.0_20141104 is up

KERNEL: RACER_L6.0_20141104:

https://www.androidfilehost.com/?fid=95784891001606014

Changelog RACER_L6.0: Upstream updates

Memory Management

Low memory killer

Introduced epoll event distribution interface is a Linux kernel system call. It is a scalable I/O event notification mechanism to achieve better performance in more demanding applications, where the number of watched file descriptors is large

Random Number Generator

Writeback - modifications to data in the cache aren't copied to the cache source until absolutely necessary. Performance improves becasue it reduces the number of write operations to main memory

KGSL Qualcomm 2D-3D graphics driver update

Many thanks to [MENTION=647113]hellsgod[/MENTION] and [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5 Android Development] saramon:
I get a lot of red in Synapse, and Kernel Manager force closes, I'd love to test, it seems to run well, but I cannot tweak important things, like hotplug control... If that can be fixed, I look forward to an update
[Nexus 5 Android Development] rachanta:
No such problems here. Pl see post #4 for settings.
[Nexus 5 Android Development] kenkiller:
Fauxclock works fine for me on L preview, but Kernel manager FCs on launch. Something to do with the L preview I guess?
[Nexus 5 Android Development] rachanta:
Possible. I use faux for most settings and synapse for wake/power-key suspend, and gamma/backlight dimmer
[Nexus 5 Android Development] FunkyRasta:
Finally succeded booting Racer [MENTION=1863016]rachanta[/MENTION] :D I had to freeze my phone for few mins in freezer then let the cache rebuild and quickly raise thermal limits :P

Don't take this as request , it is merely a suggestion - Have you considered including MSM Hotplug and Thermal by show-p1984 that were originally introduced by him in Bricked Kernel ?

I've gone through all Hot Plugs and Thermals and his is simply the best. Hotplug doesn't switch cores off to quickly like IntelliPlug, leading to lag in games. This saves battery too, cause cores are not hotplugged on/off too quickly and switching core On consumes a lot off power . That's why Franco believes that having two cores on when Screen On is efficient, because plugging cores it what drains the battery. To me it seems like a overkill but I get the idea.

And Show-p1984's Three Phase Thermal Control is magnificent..... You can set it using Synapse to lightly throttle CPU in two first phases ( like 1,9 Ghz above 60 C and 1.7 above 66) with third phase to cool down if two first fails ( 1.5 ghz above 73 for e.g) . That were my settings. It is not a simple thermal that cripples your phone after reaching certain temp... but still keeps phone cool !

Using his Hotplug and Thermal I was able to play hour+ sessions in Real Racing 3 at nearly constant framerate ( by eye ~ 60 fps ) without heat build up. Kernels using other Hotplugs gave me jerky unnacceptable framerate and lot of heat !

Battery was awesome too.

BTW: Benchmark scores are nothing but using Intellplug get mostly 35000 and lags in games but with Show-p1984 40000 is normal.

What do you think [MENTION=1863016]rachanta[/MENTION] ?
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION] you are right. I have other inputs too that corroborate your view. I used to use cpuquiet hotplug earlier, which would switch on other cores only if necessary, but mainly run only one core. I will consider a shift to mpdecision which is the built in hotplug, once lollipop is finally released. Who knows the kernel source may change, making it necessary to rebuild everything anyway as I don't prefer merging.
[Nexus 5 Android Development] FunkyRasta:
Great ! :)

You mean the stock hotplug ? It doesn't seem as good as show-p1984's. It lags in games too.

But it's up to you of course, I'm just sharing mu test results
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION] - Just did a build with Franco"s mako hotplug and thermal. Will do showp next if you find this not so good. Will post in a few minutes after a trial.
[Nexus 5 Android Development] daniel84cs:
Dear [MENTION=1863016]rachanta[/MENTION] my friend.

You could make a kernel for my rom xTraHybrid based on latest AOSP sources set in permissive default https://android.googlesource.com/device/lge/hammerhead-kernel/+/lollipop-release , otherwise you can add whatever you like.

This would solve permanently the problem SD "no space left"

I currently am not a kernel developer, if you help me I would be very grateful as well as being quoted and added your page to my first post.

I had thought to call xTraRacer if that's okay.

I personally would like to be similar to the franco kernel with the hotplug system and maybe compatible with FKU beta.

Of course, you're the expert, I leave the choice to you.

We work together, so this release always use your kernel.

I hope you will help me.
[Nexus 5 Android Development] Phazmos:
If you mean showp msm.mpdecision - please do.

I, for one, would be most grateful.

And permissive would also be fantastic. I'm using Daniels great hybrid rom and it would be a big help for a really nice guy.

Either way, a very big thank you for your work!!
[Nexus 5 Android Development] rachanta:
[MENTION=4404203]daniel84cs[/MENTION], the franco-mako hotplug and his thermal system from the lollipop branch are not configurable with synapse or faux. Any ideas? Are they configurable with FKU only? I am OK to be your kernel supplier. You could build your ROM with racer kernel.
[Nexus 5 Android Development] Phazmos:
Also not configurable using trickster.
[Nexus 5 Android Development] phillysmako:
Id love too see this!!!!!
[Nexus 5 Android Development] daniel84cs:
Thanks friend....

nice to read this news .... the Franco kernel also works with other programs such as kernel manager, trickster, I not tested it with synapse, I do not know if it works with this program, but the nice thing about FKU which has 3 performance profiles preconfigured so for the average user is more simple to manage your kernel as needed.
[Nexus 5 Android Development] rachanta:
[MENTION=4404203]daniel84cs[/MENTION] I have the Franco-mako hotplug kernel build, but am not inclined to buy FKU, having already bought trickster and faux. In my view the kernel should be synapse configurable at least as long as it remains free. I am back home after a couple of days out and am going to try show-mp decision with his version of thermal as suggested by [MENTION=5106530]FunkyRasta[/MENTION] who has done extensive testing of all kernels. In the end it should be configurable by a free kernel app so that we don't restrict the user base.
[Nexus 5 Android Development] FunkyRasta:
Exactly ! show-p1984 both Hotplug and the Thermal are configurable from Synapse !

And if my free time when next Racer is relased I will post my config for reference with stuff explained :)
[Nexus 5 Android Development] daniel84cs:
Ok you're the teacher, is fine with me, I trust you, I will not interfere with your work, surely you'll have a perfect kernel, look your news, then good continuation, thanks for everything man.

PS I sent you a message on facebook if you want to add me to your friends.
[Nexus 5 Android Development] phillysmako:
I'm no kernel pro whatsoever, that said i bought the fku app back when i had the galaxy nexus. The Franco hotplug is good but i prefer the showp1984 version. That's just my opinion, it seems more configurable. I use trickster to configure as well. Uber kernel uses that showp mpdec. And i like the configurations you can set in trickster. But I've been using racer lately and it is nice and smooth with xtrahybrid!
[Nexus 5 Android Development] daniel84cs:
I trust your advice, then we can make permissive the kernel using the latest sources and combining all your optimizations ....?
[Nexus 5 Android Development] FunkyRasta:
Very well said. With some fine tuning you can do miracles.

Sure that Racer is smooth now but it can be even better with MUCH less battery use. Not that is bad now of course ;)
[Nexus 5 Android Development] rachanta:
New build with msm_mpdecision hotplug for testing

Please check if ok. :fingers-crossed:

https://www.androidfilehost.com/?fid=95784891001607978

Thermal is right now from hellsgod and not showp and as of now does not appear to be configurable

[MENTION=5106530]FunkyRasta[/MENTION] - If you find this working as you are used to, please do help me by writing out a setting guide.

[MENTION=4404203]daniel84cs[/MENTION], please test with your ROM
[Nexus 5 Android Development] Phazmos:
Just loaded this. Minimal testing, but looks like I'm stuck with 1 core online.

If I set 4 cores minimum in mpdecision settings, all come back online, but when set to 1 min/4 max only 1 core is active.

Governor makes no difference. I.e performance governor just maxes out 1 core with 3 still offline.

Anyone else see this?
[Nexus 5 Android Development] FunkyRasta:
Same for me ! Also Kcontrol (app developed by show-p1984 ) fails to recognize that his mpdecision and thermal are used. So maybe something went wrong during implementation.

[MENTION=1863016]rachanta[/MENTION] you could just ask him if you want or Cl3kener ( sorry if mispelled ! ) ;)
[Nexus 5 Android Development] rachanta:
OK. I got some idea what us wrong. Next one soon with bricked thermal.
[Nexus 5 Android Development] daniel84cs:
Ok I just try to return home, they are hanging out with my girlfriend. In Italy is 5.18 pm i am with my GF and I have little battery, tonight let you know how it goes.
[Nexus 5 Android Development] Phazmos:
Mpdecision ok in trickster

Even though I bought kcontrol, I haven't used it in a long time.
[Nexus 5 Android Development] rachanta:
With bricked thermal and run_que stats enabled - test build

Please let me know the results:

https://www.androidfilehost.com/?fid=95784891001608085

[MENTION=3276129]Phazmos[/MENTION] [MENTION=4404203]daniel84cs[/MENTION] [MENTION=5106530]FunkyRasta[/MENTION]
[Nexus 5 Android Development] FunkyRasta:
Downloading, will edit post with the results :)

EDIT: Congrats man ! Hotplug and Thermal properly implemented , recognised in Kcontrol, working as they should :) So I'm starting to write a little guide to setting them using Synapse , so you could include it in OP.
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION] I am badly in need of settings. Freezes and reboots. Pl post a screenshot before guide.
[Nexus 5 Android Development] FunkyRasta:
[MENTION=1863016]rachanta[/MENTION]

What the heck ? This are my settings, however stock ones shouldn't be a problem...

No problems for me

HINT: I was using a bricked kernel before flash. If you were using a Racer build before using a different thermal and hotplug you ramdisk might got screwed up as Racer is AnyKernel as far as I know. Maybe flashing stock kernel before flashing Racer would help.
[Nexus 5 Android Development] FunkyRasta:
A quick guide to MSM MPDecision and Three Phase Thermal control by show-p1984

Hotplug section „MSM MPDecsion” in Synapse:

I will not not explain stuff already explained in Synapse itself, I'd rather provide a point of reference and a few profiles for you.

Defaults values for reference:

Runqueue Threshold Hotplug CPU1 - 12

Runqueue Threshold Unplug CPU0 - 0

Runqueue Threshold Hotplug CPU2 - 20

Runqueue Threshold Unplug CPU1 - 7

Runqueue Threshold Hotplug CPU3 - 25

Runqueue Threshold Unplug CPU2 - 10

Runqueue Threshold Hotplug CPU4 - 0

Runqueue Threshold Hotplug CPU3 - 18

Time Threshold Hotplug CPU1 – 140

Time Threshold Unplug CPU0 - 0

Time Threshold Hotplug CPU2 - 140

Time Threshold Unplug CPU1 - 190

Time Threshold Hotplug CPU3 - 140

Time Threshold Unplug CPU2 - 190

Time Threshold Hotplug CPU4 - 0

Time Threshold Unplug CPU3 - 190

Slow Hotplug and Slow unplug of cores – Best battery life, great performance

Runqueue Threshold Hotplug CPU1 - 22

Runqueue Threshold Unplug CPU0 - 0

Runqueue Threshold Hotplug CPU2 - 37

Runqueue Threshold Unplug CPU1 - 18

Runqueue Threshold Hotplug CPU3 - 47

Runqueue Threshold Unplug CPU2 - 22

Runqueue Threshold Hotplug CPU4 - 0

Runqueue Threshold Hotplug CPU3 - 26

Time Threshold Hotplug CPU1 - 400

Time Threshold Unplug CPU0 - 0

Time Threshold Hotplug CPU2 - 400

Time Threshold Unplug CPU1 - 400

Time Threshold Hotplug CPU3 - 400

Time Threshold Unplug CPU2 - 400

Time Threshold Hotplug CPU4 - 0

Time Threshold Unplug CPU3 – 400

HINT: You can combine Hotplugs and Unplugs from these two profiles to get Default Hotplug/Slow unplug etc. mixes to achieve what you want. The presented profiles are delivered with Kcontrol app by show-p1984 himself, if you want to support him then buy it.

Thermal:

Here Synapse screwes up a bit when it comes to naming stuff.

Allowed Low/Mid/High Low should be Low/Mid/High Clear

Allowed Low/Mid/High High should be Low/Mid/High Limit

Firs let's talk about Limit values. If SOC reaches limit value of Low phase it throttles the freq to Allowed Low frequency value. Same goes for Mid and High. If a clear value is reached for Low phase the throttling goes off. Same goes for Mid phase if you set Mid Clear lower than Low Limit. If you set it higher the SOC will go in Low phase and analogically with Mid and High phases.

My recommended settings to keep phone cool without noticeable performance decrease. Completely different than default, which nearly doesn't throttle the phone till it is very hot to drop freq all the way down. Experiment with this values to your liking and compromise beetwen performance/temperature

Low limit – 58 low freq – 1958 MHz

Low clear – 55

Mid limit - 65 mid freq – 1728 MHz

Mid clear – 60

High limit – 70 high freq – 1574 Mhz

High clear - 63

Hope I helped ! :)
[Nexus 5 Android Development] rachanta:
Purchased KControl as a token of respect to [MENTION=4195844]show-p1984[/MENTION] :)
[Nexus 5 Android Development] gamerman123x:
Does the L6.0 version work on kitkat cm11 ?
[Nexus 5 Android Development] Phazmos:
Looks like everything working as it should be.

Hot plug working - all cores come in, when load is high enough

Thermal can be configured

All looks normal
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION], I am able to get stable running finally after donig settings in synapse. For some reason the paid app fails in setting thermal control soc after reboot. Every time you need to tick in the box again after reboot.

I am getting very low benchmarks compared to intelliplug. Are there any specific settings that will help me see a score >40000, which is one the main reasons I wanted to try mpdecision and bricked thermal.
[Nexus 5 Android Development] FunkyRasta:
Hmm weird. With intelliplug most I got was 37000 even after freezing my phone. Now with slow hotplug and no OC at all, even GPU@450 mhz, and not freezing my phone I've got nearly 400000... Only settings that I changed other than from my guide are thermals obviously I've set throttling to start at 75 C.

EDIT: relase the kraken ! Fast hotplug at 2,5 GHz - 43500 ;)
[Nexus 5 Android Development] daniel84cs:
My friend I'm too busy right now I'm doing 2 rom for Moto G,1 for galaxy nexus, 1 for nexus 5 based on KitKat. Just physical, I swear I work with you full time.

Inviato dal mio Nexus 5
[Nexus 5 Android Development] Phazmos:
Fwiw - another kernel using mpdecision and bricked thermal runs minimum 40k for me. There's more to it than hotplu and thermal control.

What that is is a good question - I am definitely not a kernel expert!
[Nexus 5 Android Development] FunkyRasta:
But this kernel runs minimum 400000 too ! Page earlier I attached a screenshot using power save-oriented settings.
[Nexus 5 Android Development] rachanta:
Personally I found intelliplug simple to configure, but it would be great if you could share the high performance benchmark settings for mpdecision.
[Nexus 5 Android Development] rachanta:
Could you share your settings [MENTION=3276129]Phazmos[/MENTION]
[Nexus 5 Android Development] FunkyRasta:
For my nearly 40000 bench everything was stock apart and in fact I even set hotplug to slow. Stock thermal would be OK too, not my settings from guide that are supposed to keep phone cool.

With stock settings and stock thermal there's no way you could not have at least 39000 something.

For 43500 run I've raised thermal limits to 80 C, set hotplug Fast in Kcontrol, cooled my phone in the fridge and OC'ed to 2,5 Ghz. Later without cooling at 2,4 Ghz I got 42000.

And I've got to say that battery now on Racer is F***** AWESOME. Exactly two hours screen on with 50 percent battery left ! That's great considering I mostly get 3 hours something SOT from 100 percent with my use. Even greater given the fact that Lollipop drains battery with wifi on (misc battery use in battery history) and that I was playing real racing for 30 minutes.
[Nexus 5 Android Development] Phazmos:
Hmmm ....... this may be a long post - let's see if I can get all of them

Uber kernel - latest sm 493 Franco sound

Cubic, rab 1024, Zen scheduler, ondemand governor

Min 300 max default, 2.3 I think it is

Gpu max 450

Gpu - load to increase freq - 60, load to decrease 30

Default hotplugging - not fast or slow

Uv by 25

C screen shots for more

Running xtrasmooths right now - rom does make a difference

Add - up threshold multicore = 90

Just added last antutu run
[Nexus 5 Android Development] rachanta:
[MENTION=5288994]gamerman123x[/MENTION] - Yes it works with CM11. Sorry for the delay is responding. Sort of preoccupied with a shift to mpdecision / bricked thermal from intelliplug / intellithermal ;)
[Nexus 5 Android Development] nick123ablxx32:
is L 7.0.0 considered stable enough for daily usage?

thanks guys ;)
[Nexus 5 Android Development] FunkyRasta:
Yeah, using it with Illusion Lollipop ROM from its relase, haven't encountered single bug.
[Nexus 5 Android Development] rachanta:
RACER L7.0 with mpdecision and bricked thermal

Please visit:

http://xdaforums.com/showpost.php?p=52078023&postcount=1
[Nexus 5 Android Development] ohad129:
The new kernel crush on me time after time
[Nexus 5 Android Development] rachanta:
I replaced the link with one where oc is limited to 2803 MHz, after I had the same problem. Pl try latest. It is stable. For settings pl see post#4. Running well with Donor AOSP-L by sykopompos.
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION] the best I have got is >36000. Have you tried latest release. What score have you managed. Antutu operates at < 1958 MHz. What pvs table does your phone use, 2 or 3? Mine is 2. 3 is better it seems. Have you done any per app setting for Antutu? Which governor, what max-min freqs, minimum how many cores? I took along time to post the latest L7.0, because I haven't solved the Antutu puzzle.