yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Hi. I recently started using this kernel and I really like it. I had a few questions though. The ex kernel manager app has an option thermal throttling set to 60. What does that do? Also there is an option for gentle fair sleeping. What's its purpose? Also am I correct in assuming that core control for this kernel is disabled? The big cluster doesn't go into deep sleep at all. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Core control is disabled. The advanced governor is a performance based governor and turning off cores goes against that philosophy.

Not sure on the rest. Never been curious enough to google.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
NFO News Update:

Today I woke up to a bump in the road when one of my testers reported

that the boost had no effect on top-apps regardless, and that only cgroups would have effect...... I did forget that I had auto group enabled in defconfig which pretty makes makes top-apps useless.......

So I disabled that...... He reported that its working much much faster now then it was...........

I went though the EAS pdf file over and over and went though the google source over and over........

there are 2 commits that merge into the android framework.... I almost though I would have to decompile the framework and get the smali code for it.... Lucky I know a few commands

how to search for strings in a binary.......... I found what I was looking for in the pixel's framework.

I also found the same in our framework............

So with that said its safe to say, we have all the framework for the EAS already.....................

Next some docs talk about the power hal, while the pdf I looked at didnt mention the power hal,

So again, I started looking at the source and commits.. seems at one time.. there was a EAS check in the power hal, but google removed it recently...............

and it would be safe to say, that since our framework has the EAS already.. and the only commit I seen that used to be in the power hal, it had a if EAS or a if HMP.............

so it had a throwback.............................

SO I would guess ours does too.. I did do a hex compare of the 2 power hals.............................. only thing that seems dif, is the google has video section updates, as we dont........

nothing eas released that I can find...............

Dont believe me: Dif Between Marlin Power Hal and HTC10 Power Hal:

So I would say its safe to rule out the power hal........ I think its all about setting up the configuration right...................

This is my update for the day.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] keaheng:
man you r so ducking genius.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Haha I googled but couldn't find satisfactory explanations for either. [MENTION=5687366]Eliminater74[/MENTION] can you help? Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Update: EAS:

A little sooner then I wanted..

but we need public support for testing........................

Download: Nebula_7.1.0-EAS_htc10_20170126_180325.zip

Plz report back your findings................

We are still tweaking and updating and fixing............................ but we need public input now..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] prstorero:
Just flashed and booted up. Will report back :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
Just a pre requisite before flashing,

WILL NOT BOOT ON LOS/LOS BASED ROMS. ONLY SENSE AS OF NOW.

Rename the texfat.ko module as stated in the previous posts and also backup your boot partition since major changes are made to the ramdisk and rc files.

As the needed libraries are also flashed, it writes to system partition and will break OTA functionality.

Also, for the EAS to work, change the CPU governor to 'sched' since interactive is still left as default due to some issues.

And do report back with how it works. Happy flashing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Currently trying zzmove for both cores and it works just fine. I will try Alucard once it's ready to be used as it's advised not to be used at the moment,
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
just tried test4 on viper 3.0 internation version

sdcard is broken, or read as broken. works everywhere else..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
I think the problem is viper4android.. I could be wrong also possible xposed as well............

this is just by looking at logcat.......... dmesg showed me nothing that would cause problem....

seems to be an app conflit.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
with other kernels i dont have any issues [emoji53] with viper4android and xposed

but try your next builds.. hope it works in future

Sent from my HTC 10 powered by Viper10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Yea, you can try next build.. but as I said in earlier post, This is still test stages to get caught up..

and as I also said, I aim for performance.. If anyone here remembers me from the g3 threads, They know I tweak the hell out of kernels little by little..

I will optimize it to the max.. All while keeping my eye on Bat time and temp.. and both of those are very important to me..

Also note, That the other kernels use the official stock HTC only, and some with the caf that goes with it..

I used the Official HTC Kernel source with caf merged into it up to rb1.15 from 1.3 .

and kernel.org up to 3.18.41

Which can make a difference as to why others work and this one doesnt. but we will figure it out...........
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
) ( I decided to try another TC: So I cloned crosstool-ng and then gathers all the mods and patches and then did a little study on gcc compiler optimizations...

then I configured everything. and Pretty much Highly Optimized the toolchain.. Anyhow, What I came up with is a aarch64 gcc compiler v6.1...

ran a few builds, did some testing.. and I only had to fix 2 Forbidden warnings, Yes I keep this on, Why? because I like clean code......

anyhow, one error I had to bypass since the compiler wasnt smart enough to know its not a continues loop ... But gcc 6.1 introduced that new check..

the other one is a

warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]

Which I had to place a { and } inbetween the 2 if's, and why? cause again the compiler wasnt smart enough to figure out what else goes with what if.......

But it should be fixed now.......... I do also use -O2 now.. cant use -O3 since it causes device not to boot even know it builds ok........

I think I have an idea on how to fix that.. but HTC Kernels have more debugging crap then any kernel I ever came across..........

and too much Debugging crap can cause the -O3 and above switch, to cause booting issues if there are to many debugging options on.

Had this same issue on the G3.... the fix was to disable all the debugging.. anyhow.. Who debugs with the -O3 and above switch, Impractical use............

Just running a few more test and and ill release Test5 soon.............................

I also did try my best to tweak out the regulator and the 8996_v3 dtsi files....... I was trying my best to implant the OC freq the correct way..

after reading a ton of Documentations on the regulators for this kernel. I got everything to work except when you went to list your CPU Freq's, is wouldnt show anything.

and I cant seem to figure that one out. so I left it alone for now........ But GPU Clocked at 650mhz does work.. and I updated the power mode to Turbo_L1 from Turbo .. pretty much just changed the 8 to a 9 ...

When I figure out the correct freq settings and power regular settings, I will have that tweaked out.. But this is no msm8974 where it was so much easier.. This is crazy how the regulator works...

Very confusing.. and tooo Much Math..................

ok just an update.............

Post the links later.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
45min without reboot. flash rom dirty with xposed and without soundmod. no viper4android. and it works [emoji106]

Sent from my HTC 10 powered by LeeDroid
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Hey buddy,

Looking forward to playing with test 5. I've run tests 1-4 so far and liking the kernel as it is developing.

I was wondering if you would consider a feature that [MENTION=3088420]tbalden[/MENTION] developed "Double tap fingerprint sensor to sleep". I find its a really useful option so one for your consideration. I have had a quick look through github for the relevant commits though if this is something you would be interested in including in your kernel, it might be better to talk to tbalden anyway?

https://github.com/tbalden/htc-kernel-pmewlvzw/commit/6e5c2b3735053b3091f75c8e90d727964a92a060

https://github.com/tbalden/htc-kernel-pmewlvzw/commit/e05f2e67545cfeb4be9b81a37c1d77d4c7165584

https://github.com/tbalden/htc-kernel-pmewlvzw/commit/83239c4920822cd3bc075fd236fe1a0d8c350bcd

Regards,

Ravi
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
I will do it when I get the chance.. I am still cleaning up bad coding.. and as for [MENTION=3088420]tbalden[/MENTION], I already msg him a while ago before I even started on this kernel, To ask his permission to use

his commits if so needed..... I also msg [MENTION=4684315]flar2[/MENTION] and a few others..... By all rights, I dont have to ask permission to use commits.. But I have always been about respect.

When someone puts all that hard work into something. its only respectful to ask and to credit them.............

and before I jabber on, I was granted their permission to use what I need ...............

right now, I am cleaning up the code, trying to initialize the varibales the correct way.. Seems like all the new compilers throw a fit when you dont.........

But, if I do it now, it wont be so much of a pain later when it really needs to be done.. anyhow, I will add that into the kernel.........
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Update: An Update was posted Test5, But with a choice of Chains...

Please Test Them both. I would like to know which one seem smoother for ya all.............

HomeButton Press to Wake/Sleep been added, By [MENTION=3088420]tbalden[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
Crosstool-ng V5.X or V6.X

doesnt boot.. bootloop at bootsplash (first HTC Screen)

other test5 boot
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
hmm.. I wonder why that is.. It worked Prior to my last few commits..

Something caused it to fail. I think I know what it is.. and ill fix that and create a new build of that toolchain.............

But thank you for letting me know this.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
I can confirm this on a European unlocked HTC 10. Only the UberTC one booted.

Also I've tried double tap to sleep but it didn't work. I can see the option is enabled in both the LeeDroid tweaks app and in EXKM? Can anyone else confirm?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
double tap to sleep will only work in exkm along with his button mapper so not sure how it would help with this kernel
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
I've never needed to use the button mapper when using cleanstate? Do flar and tbalden approach this from different methods?

Edit: the cleanslate kernel double tap to sleep feature works from the LeeDroid Tweaks app. I've tried setting it there too and no joy.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] morpheus620:
Sd card worked with new test5?

Gesendet von meinem HTC 10 mit Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
I haven't gotten around to trying to format it on my computer so currently for me, no. I'm sure the SD card would work after an initial format though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
flashed on viper10 the uber version, but sdcard doesn't work sadly
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
yes for flar's you need button mapper so using exkm on this kernel for double tap won't work...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
The button mapper was used.. W/Permission from [MENTION=4684315]flar2[/MENTION] I used the entire commit history for the fingerprint button....

and I am sure I added the button mapper some time ago..........

It works for me.. just doesnt work right away.. kinda had to play around with it..

and you dont need exkm, all functions are controlled visa sysfs.. meaning..........

/sys/blah/blah/blah .

the exkm and any kernel manager for the most part make it simpler and faster to mod your kernel.......

but all the kernel managers do is send the sys command direct.....

I have written a kernel manager my self in the past, so I know this............
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
Minor thing: There's a typo in the flash script, says "Codded by Eliminater74"
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Update News:

Listen, I am working on the exfat issue and I am working on getting it working with LOS based roms,

But I been kinda burned out on it at the moment.. I sorta been taking a break all the while [MENTION=5602583]INDIAN-MAfIA[/MENTION] has been tweaking and reading everything he can find on EAS related.

There comes a time where one just needs to step back and rest....... Most here have no clue what I went though to get all my kernels where they are at. so please understand when I say I need a break..

But I do have things being worked on. and I will start again when I feel up to it again....... I will try and fix the bugs peepz find.......

This is just a public test build.. I just wanna see what people think............

As for my other kernels, Yes, standard and advanced will be updated when needed................

as for OverClocked testing one, at this time.. Prob not anytime soon........................... when I hear back from Sultan about the voltage stuff he found out for me.. Then maybe.. Till then

Not likely going to work on it anytime soon.............

any questions, direct them to [MENTION=5602583]INDIAN-MAfIA[/MENTION], Yes he will prob kill me for that, but he needs to learn that side of the dev world too :P

I get enough PM's from people on devices I dont even own..........
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
[MENTION=5602583]INDIAN-MAfIA[/MENTION] -Any noticeable lag during graphic intensive games with the EAS kernel and how is standby drain?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] prstorero:
I can't comment on graphic intensive games, but my standby over the last 4.5 hours has been 0.4%/h
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
Since EAS doesn't have much to do while the phone is in idle, so the drain should be same as our advanced kernel.

And for gaming, I dont play much games, but it'll all be smooth.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
People using LOS/LOS-based ROMs can flash this zip for testing EAS.

Would recommend the official RR by [MENTION=3771760]aclegg2011[/MENTION] since he has the EAS commits in the ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] d_Schizzo:
EAS Strange Sounds while playing video

Hey Guys,

i have EAS kernel on StockRom.

Did some of you already tested video playback?

For me, my device gives some really strange sounds. Video is playing. But while playback it sounds like an hammer drill or something like that. Device is mute, if that is interesting...

Someone else with this?

Regards,

Schizzo
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Deluxestar:
For me video playback works fine with audio. Tried it out with headphones and with the speakers of my phone. Both worked very fine without any problems. Phone was muted too.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] d_Schizzo:
Thanks for info. Found the problem already... Had to reflash dolby atmos after eas kernel. Why, idont know...?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Hey Buddy,

Just for reference, this didn't boot for me. Got to RR boot animation bur no further. The logs are on the slack group.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Update NFO: News:

TEXFAT NOW WORKS:

[MENTION=2967322]buckmarble[/MENTION] and I both worked at getting texfat working........ We both kinda went the same direction but I took it a step further and changed some code around to that it compiles as texfat not exfat............

You can not format texfat. command line that HTC uses is invalid on this version........ So you will have to format your texfat/exfat some other way, or most already be in exfat/texfat format............

anyhow Ill try and fix that too.. but I did what I said I would do.. and I fixed it..............

So now texfat works.. and its not in module format its built with the kernel static...........

PS: Will Upload Fix soon..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
cant set anything with ex kernel manager?

use eas kernel

edit

reflash kernel, now all ok

sent from my HTC 10 powered by Viper10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gsw5700:
Confused.. 7.1.0 standard is already fast, I mean really fast with pretty good battery life, what's the new objective?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
Harder, better, faster, stronger....

I think Daft Punk made a song about it?!

As good as something is, it can always be improved upon.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrH871:
hi does the 7.1.0 standars have pixels gpus drivers and sound mods and updates from higher 4.4 kernels.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
hmm thats a good question, cause I really cant remember, ok I looked, Nope it doesnt..

Only Advanced and EAS have all that............

I wanted to keep standard as close to stock as possible.. It does have GPU OC though...............
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrH871:
is adding the GPU drivers to the standard kernel a big job, i know you are working on EAS but im just wondering, doesnt have to be done at all.. thanku for ur work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
I dont follow you? adding gpu drivers? they all have gpu drivers... the only gpu thing I did was the 650 OC.................

I wont add anything ported from other kernels to the standard edition.. I am sorry.. if you want that.. you need to use the advanced......... This was what my Team members and I decided..

Standard will stay as close to stock as possible with only a few customization's to make it better then what stock would have....

Advanced on the other hand will have all the ports and addons and things you wont see anywhere else...... I can promise you that..

EAS is advanced but its EAS...............

I will soon have the linaro-lsk-3.18-android branch merged into my EAS kernel, which will allow automatic updates and will always keep in line.......

But standard is just as it is man.. I am sorry.. if you can tell me what it is you are wanting, maybe I can help...............
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Next Update: NFO:

I been playing around with my scripts and init files,

and I manged to get sched to start on boot now........ yay..... I also managed to get texfat to work............ another yay............

Tweaked a few things out more............... I also now rename init.qcom.post_boot.sh to init.qcom.post_boot.sh.bak, It was causing the issues with EAS..

also keeping sched from changing at boot............... and really, you dont need it with EAS........................

It now runs a bit faster and smoother before.......... I am sure it still needs alot of tweaking, But for the most part.. its working well.............

Release Tomorrow...................... V 7.1.1......
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
I can't wait for tomorrow's release. This will basically be my birthday gift. Thank you [MENTION=5687366]Eliminater74[/MENTION] for all the hard work you and your testers have done. :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
One issue between the Stock based ROM and the LOS based ROM, was the system/lib/libutils.so and system/lib64/libutils.so ......... I replace those with the pixels for EAS to work..

But you cant use them on a LOS based rom.. and anyhow LOS has its own EAS Commits already added. so the LOS rom is already EAS ready...

I did not want to create 2 separate kernels, for Stock/LOS...... so I did the next best thing:

if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.eas_support)" == 1 ]; then
ui_print "Installing EAS ROM Support...";
ui_print " ";
mount -o remount,rw -t auto /system;
if [ -e /system/etc/init.qcom.post_boot.sh ]; then
ui_print "[EAS] Disable: init.qcom.post_boot.sh ";
mv /system/etc/init.qcom.post_boot.sh init.qcom.post_boot.sh.bak;
fi
if (( ! $(grep -c "ro.build.flavor=lineage_pme-userdebug" /system/build.prop) == 1 )) ; then
ui_print "[EAS] Stock Based Rom Detected: ";
cp -rf /tmp/anykernel/system/* /system/;
chmod 0644 /system/lib/libcutils.so;
chmod 0644 /system/lib64/libcutils.so;
chmod 0755 /system/bin/init.foreground.sh;
chmod 0755 /system/bin/init.nebula.sh;
#	chmod 0755 /system/etc/init.d/99schedboost;
else
ui_print "[EAS] LOS Based Rom Detected: "
cp -rf /tmp/anykernel/system/bin/init.nebula.sh /system/bin/;
cp -rf /tmp/anykernel/system/bin/init.foreground.sh /system/bin/;
fi
chmod 0755 /system/bin/init.foreground.sh;
chmod 0755 /system/bin/init.nebula.sh;
mount -o remount,ro -t auto /system;
fi;

I added a rom catcher.. it detects if your on Stock or LOS and copies only what is needed for each...............

Hopefully that makes it work for LOS based roms now.. Not 100%.. but I know it will boot on a LOS based rom now........

PS: I know how I did it is kinda backwords, but stock based roms have 3 or 4 dif models and makes it a little harder to detect like that.. so I looked for linage OS only.. much simpler..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Hopie:
at elite kernel, we must rename the texfat file.. here the same?

sent from my HTC 10 powered by Viper10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrH871:
thanks for the detailed reply. my bad for not being specific i meant how hard isit to add Pixels GPU drivers to the standard kernel? i am on 7.1.0 which standard version of ur kerbel allows clock speeds for big cluster to go above 1996mhz as 7.1.0 doesnt go above it
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
It wouldn't be hard to Eli but he has said he won't do it.

On the point of the big cluster tip frequency, make sure you check that when the phone is cold. Additionally, the standard kernel uses PNP Manager which decides that your max frequencies will be so you can't set it anyway. This is what will be limiting it down to 1.9ghz (even though it is possible to get to 2.1ghz on the standard kernel when the phone is cool enough).

If you want to have the pixel GPU drivers etc and have control of your max frequencies and also to be able to use more of that raw power from your CPU then you should move over to yhr advanced kernel.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrH871:
thankyou. advanced it is, is the 7.1.0 version running perfect or would you advise an older version. thankyou
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
The latest advanced is running great
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrH871:
thanks for all the swift replies. good luck in u and ur teams future projects.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Been on this for a full day now and I gotta say, with EAS, the battery life is amazing and I have not come across any noticeable issues.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Deluxestar:
Same here best battery life so far I had on this Phone.