yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] starcms:
This kernel gives excellent performance, and I am having no problems with deep sleep; however I am experiencing 3-4% drain an hour with screen off vs 0.5-1% with other kernels. However, excalaber is much much faster, according to benchmarks at least. Is there anyway to get the best of both worlds? Thanks!

Edit: For example on the original LiquidSmooth kernel I get less than 1% an hour screen off drain, but much lesser performance across various benchmarks.

Sent from my S-Off VZW HTC One M8
[One (M8) Android Development] xboxfanj:
Thanks, man.
[One (M8) Android Development] Jarocks:
[q] include ath9k_htc driver as module?

hey xboxfanj, could you build ath9k_htc wlan usb driver against the kernel as a separate .ko module? Or is it not possible to do standalone modules? (As is the case with the HTC Droid DNA)
[One (M8) Android Development] xboxfanj:
Do you mean pronto_wlan.ko? If so, potentially yes, but why? It's nicer to have everything in the boot.img in my opinion.
[One (M8) Android Development] Jarocks:
I was referring to the drivers in /drivers/net/wireless/ath/ath9k, does pronto_wlan include them? Also it is quite big in size which is why it might make sense to package it separately.
[One (M8) Android Development] xboxfanj:
We don't use ath9k. That's just there from upstream linux. Our WiFi drivers are in drivers/staging/prima.

We've got plenty of space on the boot partition, so no real need to move anything.
[One (M8) Android Development] Jarocks:
Whatever will let me use my Atheros AR9271 usb wifi adapter with my M8 :fingers-crossed:
[One (M8) Android Development] xboxfanj:
Oh I see what you're saying. I'll compile that for you in a bit.
[One (M8) Android Development] Jarocks:
Thanks so much ?
[One (M8) Android Development] Freak07:
Sorry but what are the requirements?

I thought only the primary rom must have the kexec patch?

Furnace kernel works well and it wasn't updated since a long time before multirom was functional. As I said it would be great if [MENTION=4003363]xboxfanj[/MENTION] can take a look at this. But if it's too much trouble it's also understandable.

---------- Post added at 12:28 AM ---------- Previous post was at 12:26 AM ----------

Would be great if you could take a look at this! Thanks!
[One (M8) Android Development] k5t4j5:
I flashed a rom with the newest kernel and trinity as secondary in multirom fine. Sense was my base rom using elementalx which has the kexec patch.
[One (M8) Android Development] Rauch:
I couldn't begin to tell you. I thought it was the primary, too. However someone else told me it was the secondary.

I have no clue and can't be bothered to look.. Multi ROM doesn't float my boat.
[One (M8) Android Development] babtron:
Running this on Slim 8 it's running great.

Same "issue" though. Flashing and booting into rom I had no issues. Rebooting into recovery from the rom, recovery wouldn't read internal. I flashed the fixer and since then, all is well. Kinda weird but hey, I'll take it haha.
[One (M8) Android Development] Freak07:
How did you flash it?
[One (M8) Android Development] jcrompton:
Not sure that it had been pointed out before but I had the same issue using the "built in" version of the kernel in the Vanir ROM. That is loss of the internal with a recovery reboot. Got force closes .... Rebooted to recovery and did partition fix and regained access to internal but then with reboot to the ROM had list some system data. Hope fixed soon

Thanks for the work
[One (M8) Android Development] k5t4j5:
Add secondary Rom I think is what it was, then picked my rom path and it flashed it fine.

---------- Post added at 10:13 AM ---------- Previous post was at 10:12 AM ----------

Here's a non OverClock version of Nv4_p with the hopeful partition fix to try out http://192.99.37.212/k5t4j5/M8/Nv4_part.-fix_NO-OC.img

If this doesn't work for everyone I found something else to try as well, but it's been working for me consistently so fingers crossed
[One (M8) Android Development] Rouz.:
I know feedback without logcat is not really helpful, but I thought i'll just share my experience as a noob with nv4.

After flashing it I got the internal storage issue, and flashing the fix took care of that problem. One thing that did annoy me though was the apps losing data. Some of the apps just randomly lose their data on a reboot, which is really weird and the only solution is restoring the app data with titanium backup. I had to flash back to stock kernel to make sure the issue is coming from the NV4, and it was.

Aside from that, the camera app just fails to connect to the camera every once in a while, but a reboot fixes it. On a positive note, the phone was really smooth, and the audio quality was REALLY GOOD! I could immediately sense the difference when I flashed it over the stock kernel, and it was like day and night. Thanks for all your hard work, looking forward to the newer versions!
[One (M8) Android Development] k5t4j5:
What Rom are you using? And which nv4 did you flash?
[One (M8) Android Development] Rouz.:
Latest CM snapshot. I tried the flashable zip by xbox

Edit: I just saw the one that you have posted. I'm gonna give it a try and report back
[One (M8) Android Development] schnob:
I'm getting a 404 on that link.
[One (M8) Android Development] k5t4j5:
OK thanks. I run Dirty Unicorns and when the partition issue happens for me, it's good to reflash the Rom after the partition fix, or reboot several times until apps stop force closing, whichever works for you.
[One (M8) Android Development] babtron:
It's crazy how our phones react differently. I had no issues except recovery not reading internal one time.
[One (M8) Android Development] Rouz.:
[CM] [AOSP] eXcaliBur Kernel 0.5 | July 7th

Thanks I'm gonna try this.

What ROM are you using? Did you repack the kernel before flashing it? Because i didn't, and I'm thinking maybe its because of that
[One (M8) Android Development] k5t4j5:
Btw, anyone that tries to dl anything I posted, just realized our server is down. If it's not up soon I'll upload them somewhere else
[One (M8) Android Development] Rouz.:
Not yet, I'm not home yet. I'm trying it tonight, but i checked the link and it seems to be broken
[One (M8) Android Development] k5t4j5:
It's back up now
[One (M8) Android Development] Freak07:
hey :)

i tried your new nv4 non oc file on my secondary multi rom rom and it reboots after a long time on splash screen.

here is a last_kmsg:

https://www.dropbox.com/s/lbs2tn2el7s5kwt/last_kmsg?dl=0
[One (M8) Android Development] _moelle:
unfortunately it makes more trouble than helps out of the data mount disaster :( ...tried it on several roms including vanir, pacman, eos, etc.) ...sometimes rom wont boot at all, other ones keep getting data error (all asmulti rom slave). damn that data problem is pissing me. no way to fix it at all :( ...i mean i could stay at another stable kernel but i do freakin love the excalibur test imgs. they do perform awesome and batterylife is amazing,too. with all the goods there've to be some bad on the other side, i guess. its not that unusable to flash the fix.zip on probably every boot into recovery but its ****i n annoying :P
[One (M8) Android Development] dandan2980:
Just got around to flashing the kernel you posted NV4 part.IMG and unfortunately I still got the partition bug after the second attempt to recovery.
[One (M8) Android Development] Rauch:
Reflashing the ROM will restore the stock ROM kernel. Perhaps you forgot to include a step? :silly:
[One (M8) Android Development] k5t4j5:
True, sorry. I'm used to it already being in the Rom since I'm building it. I'm going to try some new stuff. It seems like my setup, Rom, files in storage maybe, something isn't meshing well with everyone. It works for me besides some apps being messed up apon reboot but not for others. I'll see what I can do and post some stuff later, hopefully can get this figured out because like it was mentioned, xboxfanj has the best kernel source available so it's definitely worth fixing.

---------- Post added at 04:52 PM ---------- Previous post was at 04:50 PM ----------

Also, thanks a lot to everyone testing!!! Testers are a big part of development. Much appreciated
[One (M8) Android Development] _moelle:
True! I tested almost everything out there in every variation and combination. Nothing comes close to the efficience of the xboxfanj kernels!
[One (M8) Android Development] dandan2980:
So tried flashing the nv4partfix.IMG over 9/23 Vanir build and just boots back to boot loader but it booted up just fine Slimkat weird. Sorry can't pull a last_kmsg not by computer at the moment
[One (M8) Android Development] Shamestick:
same, both of the nv4partfix img's do that to me. I am also on the 9/23 vanir build
[One (M8) Android Development] dandan2980:
Didn't know there was 2 I flashed the one with OC but the flashable posted by xboxfanj the excaliburNV4.zip boots up just fine on Vanir 9/23
[One (M8) Android Development] Shamestick:
Yeah I've been using the nv4.img posted by Xbox, but I have been getting the partition bug every time I boot into recovery (though when it runs this nicely you don't need to boot into recovery for a lot) so I was hoping to test out the ones with the partition fix
[One (M8) Android Development] llsantiago:
Is this good for us?

https://github.com/franciscofranco/one_plus_one/commit/17e03db8912c03baf5bd990d297860e05a319893
[One (M8) Android Development] babtron:
Did you try the flashable zip? I have had no issues except once. After flashing the fixer, no more issues.
[One (M8) Android Development] SeVIIn:
Unfortunately the partition bug is keeping me from being able to use any of the latest kernels/Vanir with MultiRom for now :/
[One (M8) Android Development] _moelle:
Ya i also switched back to graphite.img on vanir23/9 multirom. Working stable.
[One (M8) Android Development] dandan2980:
Franco graphite was beast
[One (M8) Android Development] _moelle:
i know but it kinda drains the battery more than graphite....could be just my personal suggestion, but i can probably feel the draining while using francographite.
[One (M8) Android Development] xboxfanj:
Nope. Our kernel source is not up to date enough to support ultra low power state or some of the other power saving video modes. I have tried to update, but htc's video stack is a mess. Not easy to merge with other devices such as bacon.
[One (M8) Android Development] dickenam:
Had to go back to Furnace, hit my threshold on this partition business. Maybe this will help??

https://github.com/savoca/AnyKernel?files=1
[One (M8) Android Development] jcrompton:
Anyone have a zip version of graphite that will work with Vanir or can someone tell me how to make it? I have a zip but it was one that was made for slimkat
[One (M8) Android Development] k5t4j5:
Here's Trinity with that in it if you want to know for sure

http://192.99.37.212/k5t4j5/etc/Trinity_Test.img
[One (M8) Android Development] SeVIIn:
I'm going to second this.
[One (M8) Android Development] Freak07:
this booting now on my secondary rom when using multirom! But i get a fc on phone as soon as it booted... no chance to get in the actual os. should i get a logcat?
[One (M8) Android Development] _moelle:
there you go;

dunno if and what kind of additions added in there, but it worked wor me an vanir without lost data.

https://www.dropbox.com/s/l2o3wip01ohs6dz/graphite.img?dl=0
[One (M8) Android Development] dickenam:
Thanks for this. What branch is this one built from? Just curious.
[One (M8) Android Development] jcrompton:
Thanks very much .... But need zip file for flashing on multirom
[One (M8) Android Development] k5t4j5:
That's what I don't understand. I really think it's a gapps thing but idk. It's always done the same for me with this source, but if I clean flash it works fine. Maybe try deleting the Android folder in your internal storage, or dirty reflash rom, gapps, and kernel. I'll test a few things later myself

---------- Post added at 03:10 PM ---------- Previous post was at 03:08 PM ----------

https://github.com/k5t4j5/kernel_htc_trinity
[One (M8) Android Development] _moelle:
multirom - select vanir - delete boot img - back - select vanir - install boot img.
[One (M8) Android Development] dandan2980:
Gonna try this in a few cutting the grass I really want this partition bug to go bye bye
[One (M8) Android Development] dickenam:
You and me both. I'm still not clear on what's causing it lol I guess none of us are.

It was totally something introduced post-graphite optimization bc franco2graphite was amazeballs x1000. Might just roll back to it hehe.
[One (M8) Android Development] Freak07:
I tried your suggestions but unfortunately that did not solve the problem.

I just tried it with multirom and a secondary rom. But after I rebooted between all the fcs into recovery I had the encryption bug.
[One (M8) Android Development] dandan2980:
Well for what its worth the first partition error made its appearance when the Franco Caf.img hit the scene or just the Caf builds period that's when this all started to mess with the partitions I remember also it was when the kernel wouldn't allow you to adjust volume with the volume rocker
[One (M8) Android Development] k5t4j5:
Makes no sense. I just deleted the file, wiped both caches and flashed. Had a few fc's, but just rebooted once and all is well. Haven't tried going back to recovery yet though

---------- Post added at 04:50 PM ---------- Previous post was at 04:43 PM ----------

Well, the stuff I did to this http://192.99.37.212/k5t4j5/M8/Nv4_part.-fix_NO-OC.img worked. At least for me. You have to CLEAN FLASH though. I've went back to recovery 7 times, flashed multirom recovery stuff, wiped everything, flashed sense, then for secondary flashed rom with nv4. Been back in recovery several times since and all was well so I have no clue anymore.
[One (M8) Android Development] k5t4j5:
Well, running the last trinity I posted. Rebooted to recovery 4 times, no bug. Crazy. One thing I really believe though is we're never going to figure out what's the problem without clean flashing the test fix kernels, though I did dirty flash latest trinity for the first time today. Clean flashed every other time. Even wiped internal once a while back. What recovery is everyone running? I thought about it and sense I updated to Captain throwback TWRP 2.8.0.6 I haven't had the bug.
[One (M8) Android Development] darienms1986:
Maybe I'll get flack for asking but..... What's the difference between Trinity and nv4? I'm new to this kernel!
[One (M8) Android Development] Freak07:
Thanks for all the efforts. Will try a clean flash tomorrow.
[One (M8) Android Development] dandan2980:
I'm running same recovery as you but will try with clean flash also I actually do flash these kernels sometimes with clean flashing but the bug still happens regardless. It doesn't bother me that much cause kernel is awesome and I have no intentions using multi-Rom
[One (M8) Android Development] _moelle:
getting the bug also on clean flash. but its true, this bug is only a very little price to pay for such a great performing kernel!
[One (M8) Android Development] k5t4j5:
That's not easy to explain really. Nv4 has a lot more commit additions to source. Trinity I'd regarded by me as the best of all the test builds so I tend to work off of it more. But ultimately, nv4 is trinity with a bunch of additions since the base source stays the same.

---------- Post added at 09:15 PM ---------- Previous post was at 09:13 PM ----------

Well damn. Makes me wonder if there's something left over in internal storage from before causing problems, but that's just a guess.
[One (M8) Android Development] dandan2980:
Only one way to find out . I will completely wipe my internal and try to flash I guess it's gonna suck but we'll worth it just going to transfer what I really need to external **** it

---------- Post added at 10:27 PM ---------- Previous post was at 10:22 PM ----------

Just started transferring files

---------- Post added at 10:31 PM ---------- Previous post was at 10:27 PM ----------

I really hope this is the solution
[One (M8) Android Development] _moelle:
hmm thats the point, cause other kernels just work fine after a dirtyflash and also dont get unstable even if there is something left in internal storage.

im no developer but when only this type of kernel gots unstable on some stuff left on storage (just in case there really is some), then u cant focus on this stuff left on clean storage as potential problem, cause other kernels just dont care about and work nice.
[One (M8) Android Development] dandan2980:
Well just got done wiping the **** out of internal storage flaahes PA with Trinity test.IMG booting up got com.android phone FC something like that rebooted again same fc so went back to recovery and still got the partition bug WTF so I decided to flash Franco_scheduler_fix. IMG booted up fine I know this image doesn't have partition bug
[One (M8) Android Development] babtron:
I developed a habit as of late wiping internal and even formatting data if going from PA to Slim or to Carbon, etc., and I still get the partition bug from time to time :(
[One (M8) Android Development] xboxfanj:
Couple things I can try to fix FS issues.

#1: https://github.com/CyanogenMod/andr...mmit/281b8a8162cd96cb2dd47ac7d3b840e627a37721

#2: https://github.com/xboxfanj/android...mmit/c26373cdf2a0685af025771d478fd934d4a4e453
[One (M8) Android Development] k5t4j5:
I'm out of ideas for now I guess. I don't know what I did or what happened to make the partition issue dissappear for me. I guess I got lucky on some fluke. This will likely end up being something simple that'll make me kick myself in the head in the end.
[One (M8) Android Development] dandan2980:
Run it
[One (M8) Android Development] fix-this!:
ive had this partition bug since the nexus 5 was released on various roms and kernels. shocked it hasn't been killed yet. does anyone know what causes it? obviously it only effects cm based roms. what kernel should i flash in this thread? there seems to be multiple ones listed.
[One (M8) Android Development] bill3508:
I had the bug when I first flashed Vanir. A month later after flashing probably two dozen ROMs and kernels I had it again yesterday also on Vanir. Very strange.

I too would like to know what to flash. I'm running the Excaliber zip, but I grabbed the graphite that was posted. I just flash that as boot IMG in flashify? Use to zips, sry.

HTC One M8/Vanir/Excaliber
[One (M8) Android Development] Shamestick:
Flashify works well to flash these, as does fast boot and captain throwbacks twrp too.

As far as the actual images, graphite was money. I am currently on nv4.IMG, which has the partition bug but has been running super well for me
[One (M8) Android Development] dickenam:
THIS IMAGE ftw

franco2graphite.img

https://drive.google.com/file/d/0B5rpyeagQkorVFdrTmZQMWNCdk0/edit?usp=sharing
[One (M8) Android Development] dandan2980:
That was boss that's for sure need this one with latest Faux driver.
[One (M8) Android Development] bill3508:
Lost root on Vanir after flash using flashify. Flashed supersu and its good again. What settings are you liking on that kernel? Running 268, -50mv, Wheatley/noop right now.

Sent from my One M8 using Xparent BlueTapatalk 2
[One (M8) Android Development] paulg1981:
Just switched back from sense, what's the latest recommendation these days?
[One (M8) Android Development] tjeeeeee:
If that could be done i'd be set! best one i've used, and still use actually
[One (M8) Android Development] xboxfanj:
http://downloads.codefi.re/houstonn/nv9.img
[One (M8) Android Development] llsantiago:
No data problem here, thank you man
[One (M8) Android Development] paulg1981:
Any suggestions for settings or just run as is?

Also I am trying to get the su included in slim to work with the nv9.img. I used android kitchen to copy the zimage from nv9 to slim and replaced the performance settings with nv9 in init.qcom.rc but I am getting a bootloop? Do i need to copy some other settings over? this is the same process that worked well for previous images like franco. I really dislike having to use another su app! Thanks for the knowledge and awesome kernels :)
[One (M8) Android Development] xboxfanj:
My goal is that it runs well out of the box so that you don't have to change a bunch of settings each time you run it, so I don't recommend changing anything. If there are better settings, let me know and I'll integrate them into the kernel.
[One (M8) Android Development] xboxfanj:
Try running the IMG as is. I have the SU script included on this one (it's only gone when I resync and forget to add it back).
[One (M8) Android Development] paulg1981:
Thanks and Thanks!
[One (M8) Android Development] dandan2980:
Flashing NV9 now thanks
[One (M8) Android Development] xboxfanj:
I have another one with slightly different compiler flags. http://downloads.codefi.re/houstonn/nv9-flags.img

Tomorrow, I'll test some different thermal drivers: IntelliThermal 2.0 from faux123, Dorimanx's modified IntelliThermal 2.0, and Franco thermal.
[One (M8) Android Development] dandan2980:
What differences do compiler flags make in kernel if you don't mind me asking like what should we be looking for NV9 is smooth as butta
[One (M8) Android Development] xboxfanj:
https://github.com/xboxfanj/android...mmit/5e60ab91d0675276526ca2a5f9660c587af6cb76

Mostly NEON and math improvements. Probably nothing we'll notice, but may as well check it out.
[One (M8) Android Development] Rauch:
Using it in Windows? That could be the issue. It just never worked correctly when done in Windows. (For myself, at least.)

The kernel zimage and dtb should be copied over to be "proper". Blame HTC for that.
[One (M8) Android Development] xboxfanj:
By the way, multirom should work on these last two images (and going forward).
[One (M8) Android Development] Rouz.:
After flashing the NV9 my battery immediately dropped from 70% to 18%. I'm not sure what caused that, but the partition issue seems to be gone and everything else is running great and damn smooth. I'm gonna test it a bit more and report back
[One (M8) Android Development] _moelle:
NV9 is still surviving! hellyeah, just ´ve to test it a bit longer, but since yesterday, no data have been lost! great!
[One (M8) Android Development] dandan2980:
NV9 so far so good no partition error

---------- Post added at 09:20 AM ---------- Previous post was at 09:18 AM ----------

Turn your phone off completely and plug in your charger for about 5 min sometimes calibration gets off that's what this sounds like to me
[One (M8) Android Development] TheBurgh:
This is sweet news. I have not been able to run Vanir on multirom without the no data bug
[One (M8) Android Development] jcrompton:
Me too ... Running Slim and NV9 ..... [emoji106]
[One (M8) Android Development] Rouz.:
That did the trick! Thanks!

NV9 is the champ so far! No partition issue, no data loss, and great battery + performance
[One (M8) Android Development] tjeeeeee:
Cool time to update from Franco graphite then lol
[One (M8) Android Development] babtron:
How does it compare to the stock Slim kernel? I'm getting great performance and battery with it.
[One (M8) Android Development] paulg1981:
On mine nv9 is noticeably smoother than slim stock kernel. Too early to tell about battery as I like to give it a few days.
[One (M8) Android Development] bill3508:
Nv9 is very stable. Didn't lose root or data. I would like some more governor choices. Personally I never use interactive.

Htc One M8/Vanir/Excaliber#8
[One (M8) Android Development] dandan2980:
The point of this kernel is interactive it got part of Franco which is his tweaked out interactive , mako hotplug and CPU boost. And also a **** load of other greatness all bundled together by Xboxfanj. Why on gods earth would you wanna mess with perfection

---------- Post added at 03:26 PM ---------- Previous post was at 03:25 PM ----------

NV9 is best one by far smokes out all the stock aosp kernels
[One (M8) Android Development] xboxfanj:
I'll add whatever there is demand for. Honestly, I only use Interactive, but let me know if there are others specifically you want.