yashsingh1/xdaforums huggingface dataset:
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
Some settings for best performance to battery ratio (with my limited knowledge)

Hey awesome honor 5x users! I have been messing around with this kernel for a couple of days and have never had any experience with custom kernels, but I thought it would be fun to see what it watt it all about!

So, here are some of my settings:

CPU:

Both CPU governors set to inelliactive. (No tunables changed)

Battery:

USB fast charge (cause why not :p)

I/O Scheduler:

Both internal (and external, if you have a SD card) set to deadline

And that's literally it! I have only messed with this for two days and it works great. It took so much time though because I had to research what each governor, option and setting did. Feel free to add any suggestions!

Helpful reading I used (and my reasoning for picking what I did)

https://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

With antutu benchmark on STOCK hotdog kernel I was getting a score of 36,xxx scores

Now with enhancements, I managed to get a score of 40,000!!!!

I'll upload some screenshots of antutu, and let you know how the battery is tonight.

EDIT:

Woops, fist screen shot is a testing one, ignore it (I'm on my honor 5x now so I can't edit/delete pics)

Also I would appreciate it if someone could upload a score on stock Resurrection Remix 7.1 ROM to compare kernels

EDIT 2:

This thing is blazing fast! Another thing, CPU hotplug settings don't stick.

EDIT 3:

It seems that when kernel adiudor is in the foreground it eats the battery, which is good because I thought my settings were bad. My battery is not draining at 1%/min anymore!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
Alright, here's the battery to far (started at 88% charge) Just giving an update, but I won't be sure till tonight
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mauam:
And would be great if [MENTION=7132349]mohammadsaa[/MENTION] could add Conservative gov too. It's my favourite, I use it in all previous phones:)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
Alright another battery update, mostly screen off but at 10 hours from 88% to 33%! The kernel adiuor kind of ruined the results to I'll test again tomorrow!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Smmowj:
Battery Performance [Screenshot]

[Sorry for Bad Language]

Hey everybody , i want to share my battery performance on "ResurrectionRemix" (v5.8.2.20170222 kiwi official) with "Awesome HD kernel" (Thanks man [MENTION=7132349]mohammadsaa[/MENTION] for this Brilliant)

Battery performance is 2x or maybe 3x better than RR :good::good::good:

i attached Screenshots (no edit) , also i use "L Speed" & "Greenify" . . .

thanks to : [MENTION=6336325]THEthatdude[/MENTION] for useful post

and i suggest to read this : https://xdaforums.com/gen...ors-o-t3048957

{{{ I'm not (professional) and i just want to thanks [MENTION=7132349]mohammadsaa[/MENTION] by this way}}}
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
[MENTION=7973333]Smmowj[/MENTION] that's awesome, are you using the interactive governor? Or the intelliactive governor?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Smmowj:
interactive ! + some change in "I/O Scheduler" & Low memory Killer (yo can see in my attached photos) :)

Hope to Useful . .
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] shadowscesar:
I tested the intelliplug but it lagged. Even interactive was lagging like hell. :confused: multiple ROMs after one day of usage.

---------- Post added at 08:21 AM ---------- Previous post was at 08:18 AM ----------

@mohammadsaa it would be great if you create a simple version of this kernel. Well, that will me awesome so that the user does no need tweak values. For power users, other version should work better. One version just has interactive gov or any other, which is just good for day to day use.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Milupi:
Just Use The Kernel the way it comes, it's default settings are just great, good battery and performance...Only tweak values when you know what you changing i guess
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Pain_Deluxe:
Right i use it as it is without Kernel Apps
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] alpinista82:
CPU voltage control

The op says undervolting...where can I find that settings in sysfs? Thanks!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
No relation between Undervolting CPU and CPU voltage control !

Undervolting CPU : Lowering voltage

CPU voltage control : The thing you are expecting !

And currently we have first one in experimental features !

Saw your feedbacks + requests

Hope the next update makes you satisfied !
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
This fix becomes a problem lately ! So it reverted on most of the kernels !

There is no bypass !
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
Fingerprint Scanner not as fast as it used to be? (screen off)

Hey with my settings (previous post) I noticed that the fingerprint scanner takes longer to recognize my fingerprint. This is only after the phones screen has been off for a while, i'm guessing its going into a deep sleep (or something). Is there a way to give the fingerprint scanner more priority or something (Or even disable whatever feature is kicking in)? To make it more responsive like it used to be? Thanks

---------- Post added at 04:26 PM ---------- Previous post was at 04:05 PM ----------

Also quick question, Resurrection Remix just released a new update, and I need to reflash G-apps, boot, and then re-flash the HotDog kernel, correct? (Also is there a way to save and restore my kernel adiutor settings?)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
you can save your profiles on kernel adiutor...

If you will flash new update on your cellphone, yeah you must re-flash the Hot-Dog Kernel
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] yrbef91:
you can use GovTuner to get suitable tunable values. it has 3 types of profile for all supported governors.

i used cpu hotplug, but it seemed incompatible with the cpu governor profiles (i intended to get more battery saving with hotplug). it lagged a lot.

currently, i am using intelliactive governor, set gpu, usb fast charging, entropy, and virtual memory and disable cpu hotplug. battery is very good, yet i still have good performance.

ps: i am using LineageOS
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
What did you change with the GPU? Just out of curiosity
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
L Speed really work??
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] yrbef91:
use msm governor, idler, and change tunable values.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
I don't know about apps like that, but it seems that L-speed simply puts unused apps into sleep/hibernation mode? I believe it will work if you truly want it.

---------- Post added at 10:57 AM ---------- Previous post was at 10:56 AM ----------

However, I would be carful because based on the screenshots it appears you may be able to change some kernel-related things, and I don't know how kernel adiutor and L-speed would clash (Changing the same things to different settings)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] issamel:
Hello I dont understand english but why people change kernel ? Thanks you
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mauam:
I solve 95% of my problems (questions), using Google or/& XDA search bar. Please, start using them before posting those kind of questions. Most of the questions you have already been answered.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] rionline:
Has anyone found some good settings to get rid of the scrolling lag?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Pain_Deluxe:
Get a faster device....

Man its Just a snapdragon 616. Maybe disable scrolling cache

Gesendet von meinem KIW-L21 mit Tapatalk
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mauam:
Scrolling lag!? Have no scrolling lag with default kernel nor with hd kernel.

---------- Post added at 12:42 ---------- Previous post was at 12:41 ----------

615.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
New update?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] NinjaL:
It's a 616 I'm pretty sure, despite what cpu-z says. I think it was initially launched with a 615 but they switched over to the 616 shortly after or something like that. Antutu should show 616 (from some previous threads)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] rionline:
I see, my g pad 8.3 with a snapdragon 600 is faster :(
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mauam:
Only use CPU z, but downloaded 4 more apps just to confirm. All shows 615. Snapdragon 616 is only for the 3gb ram version, as showed here.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] NinjaL:
Hmm interesting, I checked awhile back tbh lol but it does seem to vary

Kernel adiutor shows max clock speeds of 1500 and 1200 though for me which indicates a 615 so you're probably right for most people on this forum
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] rionline:
I am not able to overclock this kernel, am I? I do not care if have 55 or 25 percent battery left, when I charge it every night. Maybe the internal administration of the little cores is badly implemented. Maybe it would be best to just use and overclock the big ones.

Just some thoughts..
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
First of all we are msm8939v2 (snapdragon 616)

Even in Device part of CPU-Z shows board as msm8916 ( It's clear we are NOT Snapdragon 410 )

https://www.kimovil.com/en/list-smartphones-by-processor/qualcomm-snapdragon-616-msm8939v2

I am trying to keep the balance between performance and battery !

adjust CPU boost , zram and ... for better performance !

I would like to do sth for giving you easier way for adjustment but let me see if it's possible !

I am too busy so It's better to wait instead of asking for new update ! :p

And for overclocking I need a msm8939v2 kernel with higher frequencies otherwise I am not going to touch it at least for now !

;)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] salehi.com:
Can you add Prevent accidental wake-up(Check the proximity sensor prior to wake -ups triggered by gestures) to this kernel?

Already this option in settings/display does not work, I think it is because of kernel.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
Not kernel related !

More info about it : https://review.lineageos.org/154458
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] salehi.com:
I had HTC One m7 and it didn't support double tap to wake natively but after flashing ElementalX kernel, DT2W work flawlessly and also pocket detection. So I thought maybe at least pocket detection could be enabled by the kernel.

Here is the link for elementalx kernel:

https://xdaforums.com/showthread.php?t=2249774
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mauam:
Can you add EAS feature to your kernel, if possible!?

What is EAS?

Energy Aware Scheduling (EAS) is an enhancement to Linux power management, unifying CPU power control under the Linux kernel. EAS extends the Linux kernel scheduler to make it fully aware of the power/performance capabilities of the CPUs in the system, to optimize energy consumption for advanced multi-core SoCs including big.LITTLE. With EAS, the Linux kernel will use the task load and a CPU ‘Energy Model’ to control task placement to select the optimal CPU to run on.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Puddi_Puddin:
Not gonna happen... I have been working with some devs on the Oneplus 3. We got it fully to work and it took us about 3-4 months if not more and around 300 builds to get it working and we are still discovering alot... Not to mention we had proper sources the Honor 5x lacks this... Also EAS needs alot of rom side changes.. It is just too much work for a device like this.. And if it fully worked on this device it would not bring any benefit at all.. This CPU is just too slow and EAS will make it even slower.. So it has to run at higher frequenties which make it heat and drain more battery.. I can only say this works the best on the latest SD6xx chips and even better on multi core highend socs like the SD810 and SD835.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
2 comments or questions, I hope that anyone can help me.

1- who wanna share yours profiles for kernel adiutor?

2- Kali NetHunter, really work with this kernel? I wanna try it, but I don't know.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ron580:
kali nethunter partially works for me i am able to install chroot but it wont detect my wireless adapters.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
Oh! Maybe your wireless adapter not compatible
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ron580:
i do have a compatible wireless adapter actually two. Worked perfectly on nethunter on marshmallow. when trying to power up the adapter using "ifconfig wlan1 up" i get an error no such device or something like that.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
HotDoG v4

V4.0.9

deadlock + hotplug problems solved

V4.0.1

intelliplug enabled by default

V4.0

CPU governors added : CONSERVATIVE , CONSERVATIVEX , DANCEDANCE , LIONHEART , HYPER , WAVE , PRESERVATIVE , DARKNESS , ONDEMANDPLUS , WHEATLEY , NIGHTMARE

kallihunter patches added from https://xdaforums.com/honor-5x/development/mod-kali-nethunter-honor-5x-t3472055

(no support for it currently ! You could manually install it's app and test ! )

Compiled with linaro 6.3.1

KSM and UKSM enabled (more free ram)

MSM performance re enabled for smoothness ( specially scrolling smoothness)

And so many other optimizations

F2FS users look at Add-ons + guide : https://xdaforums.com/showpost.php?p=70725278&postcount=2

If you feel it is not smooth enough , first of all turn off the hotplug and start optimizing things !

Turning hotplug off => worse battery life
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
[MENTION=7132349]mohammadsaa[/MENTION] Hey dude! Can you add better audio quality on your amazing kernel. Better configuration on Faux Sound etc..
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mauam:
Wow!! Thanks for adding conservative governors. Testing...
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] NinjaL:
Alright!! Thanks [MENTION=7132349]mohammadsaa[/MENTION] for the release :)

Also, a quick overview on my opinions over the governors I've tried in case anyone is interested (this guide was also pretty helpful)

**these are subjective observations and based off my memory so what you get may vary oc by your usage habits :P

I usually get around 4 - 4 1/2 hrs sot with default settings fyi for comparison purposes

**edit: also using f2fs for cache and data

**I/O scheduler has been zen for all my experiments (haven't messed around with this yet though aside from bfq or whatever the default was)

**VM settings are 40 for dirty ratio, 10 for dirty background ratio, and 40 swappiness (again haven't played around much with these settings so they may not be optimal)

So far (meaning not including HotDog 4) my favorite I think is barry_allen. Seems to give me pretty good battery life and pretty good performance, around 4 1/2 hrs with some gaming thrown in. I personally think Zzmoove and SmartassV2 perform slightly better but neither gives me particularly good battery life, around 3 1/2 - 4ish hrs with some decently heavy gaming. Lionfish gives the best battery life out of the bunch, prob more than interactive in my experience (though your results may vary) but doesn't perform as smoothly as the others.

Standby on barry_allen and lionfish are pretty good, zzmoove is comparable to smartassV2 if I recall correctly and both do draw more than the previous 2 (and interactive as well).

I did try blazeactive and bioshock as well. Don't remember much about blazeactive tbh, maybe I'll edit this post if I feel like retesting it. Bioshock performed well, similar to barry_allen but battery life seemed much worse for some reason.

Haven't gotten to any of the ones added in HotDog 4 obviously but I'll be testing for sure :)

Performance (best to worst)

1. Zzmoove

2. SmartassV2

3. barry_allen

4. Bioshock

5. interactive

5. blazeactive

5. lionfish

Battery Life (best to worst)

1. Lionfish

2. Interactive

3. Blaze_active

4. barry_allen

5. SmartassV2

6. Bioshock

7. Zzmoove

My preferences (best to worst)

1. Barry_allen

2. SmartassV2

3. Interactive

4. Lionfish

5. Blazeactive

6. Zzmoove

7. Bioshock
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
For battery life, Lionfish is the best. I'm testing
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
Just to clear is up, the latest 4.09 kernel supports f2fs, correct? Or just the old 3.5 version (I doubt it, just making sure) also, how exactly to we use the add-on? What this it change? Just flash is then twrp supports f2fs? Or what? Sorry but f2fs is new to me:silly:

P.S. thanks so much for your work!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] NinjaL:
Hotdog supports f2fs if you flash the f2fs addon. So flash the kernel, then the addon and it'll work perfectly.

Your twrp does have to support f2fs otherwise you won't be able to format to f2fs.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] alpinista82:
enable nfs remote filesystem

Hi, first of all have to say a big THANKS to the dev! Great work!

I tried to recompile the kernel with support for nfs network filesystem client capabilities. I downloaded the provided sources and linaro toolchain 6.3 for arm64. Then I did a make arch=arm64 cross-compile=linaro-.... kiw64-defconfig, then in menuconfig I selected the options for nfs support and then I build the kernel. The reulting Image was inserted in the .zip file and flashed. Kernel works but when I check /proc/filesystems there is no nfs. Could anybody please point me inthe right direction? What am I doing wrong, what am I missing? Initial Ramdisk? Have no clue how this works in android...

Thanks!

Paul
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] THEthatdude:
Another Question, this build says that the hotplug settings are changed, are they fixed now? In the previous build, the hotplug settings would reset when leaving the page. ( I haven't flashed the latest yet, I will later)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] NinjaL:
Out of the ones I've tried oc, conservative / smartmax / powersave / etc may be better, I just haven't tried them yet :good:
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
All Us must share ours profiles on Kernel Adiutor for this great kernel..
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] NinjaL:
For sure :D, I was just letting you know if you were looking for battery life, lionfish might not be the absolute best since I haven't tried some of them :good:

I attached my kernel audiutor profile in case anyone is interested (change the extension to .json instead of .txt); using wheatley governor since that's what I'm testing rn. So far wheatley seems to be better battery wise than the barry_allen but has occasional hiccups when coming out of sleep, similar to smartassv2 actually but much worse :p. Performance is good though
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
Really really, thanks dude!!!! :) +1 ?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] alpinista82:
Hi, I finally managed to build a working boot.img with nfs support. Unfortunately things like governors and hotplugs are somehow messed up - likely because I used kiwi-64_defconfig. There are so many options in menuconfig...a lot of them device specific and I really dont know what to select and what not. Where will I find the exact same kernel configuration that was used to build HotDog 4.09? So that I can start from there and only change the settings regarding nfs. Please mohammadsaa if you could help me out....Thanks!

Paul

Edit: Well, stupid me. There is a file hd_defconfig....I guess thats the one I was looking for....Stupid me.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
Hi !

Use build.sh for getting a workable .zip file !

And as you already understood you should add the specefic lines about nfs to the hd_deconfig !

Where to find them ?! find them from another kernel which has it like this one :

https://xdaforums.com/showthread.php?t=2176563

And don't forget to add it's specific .ko (nfs.ko) module to system/lib/modules

More info about modules : https://xdaforums.com/showthread.php?t=1236576

And for more questions you could ask them in telegram ! ( for faster response and ... ) (of course if I know the answers :D )

Just an advice : If you like kernel development + having enough time start compiling it ! Why not ?! Become a kernel developer ! ;)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
[MENTION=7132349]mohammadsaa[/MENTION], your development on this Kernel is amazing!

I beg U, can you add more features for this kernel??
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
Well if you have any idea say that otherwise this kind of posts won't increase my speed in adding things ! Whenever I could add sth I add them ( Why not ? )

And avoid asking asked features ! For example some guys asked for some governors and I added them ! You quote a post while I can't find any relation + mentioned me!

Maybe one of them was enough ( of course not the first one ) although I myself believe none of them is better for this post as I am following my thread !

Fixing Unfinished work is my priority !

And I forgot to say another patch for safetynet bypassing (for checking bootloader unlocked status ) applied in the latest update !
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
Ok, being more specific, maybe a best sound control, you know Faux Sound is just gain volume headphones, speakers,..

BTW: REALLY APPRECIATE YOUR DEVELOPMENT ON THIS KERNEL. :D

Go for advanced features as Fauxx sound, sultans camera enhancements & other famous kernel optimizations eg. EXKERNEL/BLUSPARK/TYRANT/Franco etc
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
Go for advanced features as , sultans camera enhancements & other famous kernel optimizations eg. EXKERNEL, TYRANT/Franco etc

Just sugestions
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] TheOTO:
Would it be possible to add Virtuous gov or SavagedZen? Thanks for your work on this awesome kernel btw.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
So it is more specific ?

Are you kidding me ?

You did exactly what I asked you not to do !

https://xdaforums.com/showpost.php?p=70733621&postcount=10

(You did a copy paste !? Asking for faux sound control ?!!!!!)

And in FAQ:
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] MayB4ck:
Does anyone else have a noticeable delay between pressing the power button and the screen turning on or is it just me? :eek:
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Fdraco10:
Testing new update!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohammadsa9:
HotDoG V4.2

(focused on smoothness)

Added some more governors

Fixing sleep problems

Intelli_plug updated and related problems fixed

KCAL updated

Cpu boost optimized

https://www.androidfilehost.com/?fid=673368273298944102
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mauam:
Here too. Also double tap on screen off to wake device doesn't work. Those issues started (for me) since version 4.0.9.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] NinjaL:
HotDog 4.2 seems to have fixed this, at least for me :good:

Thanks [MENTION=7132349]mohammadsaa[/MENTION]!

Edit: actually, more like partially fixed, definitely better though
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mauam:
Hi [MENTION=7132349]mohammadsaa[/MENTION],

Version 4.3 solved the above issues. Working perfectly now. Thank you:cool: