yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
Ne Update

HellsGate-X3

-Fix f2fs now its work perfekt

-Add DriveDroid back

-update f2fs crypto driver to 4.15

-Fix the little Vibration bug

-add sultanxda boost wake up

-remove fsync and add dynamic fsync back

-add powersupspend back

-add : Initial import of DTS-Eagle driver from asus thx joshua for this

and many more look of my github

https://github.com/kranone124/HellsGate-B12-Oreo

If you like my work buy me a beer its give me more insparition :) happy flashing guys

ps clean install please
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] thom168as:
Thanks for actively improving Hellsgate for us users, but i have a question about the clean install part.

Can i dirty flash my current rom to get the stock kernel and flash this Hellsgate X3 on top? Or do i have to actually clean install?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
yes or only flash boot.img from your rom ;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Masterjuggler:
I've discovered that just restoring a boot backup isn't quite enough. It gave me some strange side effects, like the fingerprint sensor not working for anything, among other issues. There are things the kernel probably modifies outside of just the boot partition. The best way to be "clean" is to just dirty flash the ROM, which will restore the stock kernel.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] DarkQuark:
You can dirty flash to bring back the default kernel. I do that all the time.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] youngz89:
Hi, maybe you have already answer at the same question, anyway there are a lot of posts and I was no able to find the correct one.

I have installed, on my axon 7, the unofficial build of lineage os (15.1). I have followed, for install it, the guidelines presented in its main post.

Which is the version of this kernel compatible with my rom?

I am a little bit confused ?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Cablespider:
That depends on which bootstack you are running. The download links are clearly labeled as such.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] youngz89:
And how can I understand which bootstack I have on my device?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Masterjuggler:
Only you know what you flashed on your phone.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] youngz89:
Ok, are you saying that there is no "flag" that identifies the type of installed bootstack.

I am so sorry for my noob questions, but I am starting now to explore the mobile area. I read that a bootstack is the task that manage "hidden" features of my phone (e.g. boot, sim card, etc.). Anyway, I have never flashed a bootstack on my device, I flashed a "bootloader" (ZTE_A7LOSv1_UniversalBootStack.zip) and modem (Download_A2017G_OreoModem.zip). The bootloader, in computer science, is the software that schedule similar stuff of bootstack. Anyway, I am not shure that it is the same stuff..

And, if it is, I flashed the above-mentioned zip file; it does not present the type of bootstack type :(

I am sorry for my noob questions, but I am in a learning stage :)

Edit:

I read now the zip name and it is autoexplenatory.. I am an idiot. Now I have to understand which bootstack is it!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] haoyangw:
If I'm not wrong bootstack contains the bootloader and other important things needed for a phone to boot(not super sure what because I'm not a dev).

And about what bootstack you have/what kernel you should flash, just to confirm: You are running Unofficial LineageOS 15.1, NOT 14.1, yes? Also, your phone boots just fine? If your answer to both the above questions is yes, then rather than figure out what bootstack you have, you can flash NFound's B12 bootstack(find it in the AEX Oreo thread). Then you can flash Hellsgate X3, NOT V3.0, be mindful.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Verequies:
Comes up with a 404 page not found error when viewing the Github link. Set to private maybe?

Anyhow awesome work!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
i remove it for now sry i make it public when i have all ready :D now i have free time and its a lot off work to do for x4 relase;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] youngz89:
Thank you for your answer :) another thing,can I flash the kernel if I am just using the rom or have I wipe everything and reinstall everything?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] haoyangw:
Oh no need to wipe at all. If you're scared you can wipe dalvik/ART cache, but nothing more than that. I usually don't wipe anything after changing kernels and haven't faced any issues so rest assured :) of course make sure you install the right kernel!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] docentore:
Do you ever sleep? Thanks for the work so far, will buy you beer on payday next week.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Cablespider:
I did a clean install of the latest DU ROM and installed X3. Charged it to 90%, unplugged and crashed for the night. The phone and I slept like a baby. #flatline
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
No bro lol and THX :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
BIG THX TO okmikel for the DONATION :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ratoune:
You must have been right, kept checking and it got back higher, but still not right away to 2.1.. but it eventually did after I let the phone rest. kinda vicious circle then because if you keep using your phone, the cores stays at lower frequency longer to do their task while short bursts at higher frequency will do the trick and produce less heat in the end..

FYI I was playing with Gabriel governor, but must be pretty aggressive thermal because it's the first time I experience this and I don't game etc... Will give X3 a go now
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Infy_AsiX:
To follow up my previous advice to use Tasker as a workaround fix, I've got my phone back and tested it works. Just run code echo default values when screen off and mods on when screen on. To get the values I used Kernel Adiutor Donate which can save changes to a profile that can be Tasker run or text copied, there's probably other ways to find the command. Been running -100mV globally for several hours including deep sleep with no issue after noticing crashes on -200mV and -150mV.

[MENTION=7790189]Kranoner[/MENTION] it seems if the kernel could reset to stock voltages before sleeping, undervolt is still useful for when the screen's on. If no fix is possible to allow undervolting with sleep, at least this workaround is ok. If you will put voltage control into the newer B12 kernel I'll have a good reason to update ROM :)

On to a different topic. Alucard hotplug with alucard cpu governor with ROM thermal-engine.conf throttling off has good power yet is also economic in combination. Keep the amazing stuff coming, you're helping to make the Axon7 a great machine
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] haoyangw:
Ah I see, I suspect it's not just thermal though, your CPU governor(Gabriel, you say?) might be a little aggressive(i.e. likes to run at high speeds for prolonged periods) and so heats up your cpu more, and then your phone gets throttled. I'm not super sure but since Gabriel came from Google Pixels, perhaps it's more aggressive than is suitable for our Snapdragon 820? Since Google is known to favour performance and also all Pixels have more battery-efficient CPUs(Pixel gen 1 had Snapdragon 821s that were what 30% more efficient and gen 2 had Snapdragon 835 that is known to be very efficient) perhaps running at high speeds is ok for those CPUs but not ours(temperature-wise). I'm not an expert at all, just speculating xP
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
very big thanks to lycidias for the donation my today beer goes on you cheers
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
New Update Online

HELLSGATE-X4 :

-Bring back TCP Westwood is now default

-disabled gentle fair sleepers and LB

-Add an interface to boost devices when the screen is woken

-reduced wakelocks by wlan

-add NEON-accelerated implementation of Speck-XTS

-Reduced CPU Load-Average

-cpufreq: powernv: Report cpu frequency throttling

-Optimized Console FrameBuffer for upto 70% increase in Performance

-mm: memcontrol: default hierarchy interface for memory

-implement CPU_PM notifier

-Convert few critical drivers to use msecs_to_jiffies insted of HZ

-Use optimized memcmp

-strcmp: Align to cache and preload

-cpufreq & cpufreq_interactive: tweaks to reduce lags and improve battery life

and many more upstreams and optimization for performance and battery

here the complete changelog

Changelog for Hellsgate-Kernel,

Changelog ​

If you Like my Work buy me a Beer
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] AceNovel:
Can you lay out the resources? So that other developers can use them, for the overall progress for all of us.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
no sry!! why we have all the same source from ordenkrieger b12

that 's why I do not see any reason to admit my source I spend every free minute in this project and every dev has to be able to build his own kernel there' s everything on github i hope you understand that this is not against others but i would like to have that too b12 device tree but no one makes it open so you have to be satisfied with what you have;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Infy_AsiX:
Did you introduce some other thermal control in 3.0 besides helix engine? My same 2.3 setup RR-O using Magisk disabled thermal-engine-8996-normal.conf is now being throttled (not governor as tried performance too). I've checked helix engine is disabled. With this new unknown throttle I can't tell how effective -100mV undervolting is at peak performance. Is it possible to disable or edit the new throttle? For now I'm going to return to 2.3 unless there's some way.

update edit: Occurring on 2.3 now too. Not sure why. Only thing changed is this is a new replacement phone but same Nandroid ROM was brought across
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] atakan33:
i m using X4 kernel with latest AEX.UI sometimes laggy ,sometimes super smooth .Kernel isnt stable
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Lycidias:
X4 is very stable for me on latest AEX
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Cablespider:
X4 stable on DU. No random reboots and whatnot. I consider that stability.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Infy_AsiX:
edited. Can't find the cause of the throttle. Guess I'll try a clean flash soon
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
So a kernel is not stable because they lags in the ui that's absolute nonsense I do not know what they use for settings I use the last aex rom and have no lags and tell me what laggs with the stability to had to do:laugh::laugh::laugh::laugh:
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
i cant no sleep

here a new update Hellsgate-X5

-cpu-boost: rewrite frequency tunables handling

-add Zram

-optimize sfck compression

-merge complete RCU Boost

-Upstreams and backports for shed .cpuhotplug, pm dev and so on here the complete changelog

Changelog for Hellsgate-Kernel,

Changelog ​

If you like my Work buy me a Beer

happy flashing guys Now I'm going to take a break for the next few days
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Masterjuggler:
Is there an option somewhere for hotplugging? I'm using kernel adiutor and don't see it in Governor tunables for any of them. Or is it just default on for some or all governors?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Dodgexander:
Not the best experience trying this for the first time. It's kind of borked my phone.

Is this supposed to work okay with magisk? Using it with latest aex and things are a freezing mess and magisk doesn't work. Worst thing is I reflash ROM and it's still the same.

I was coming from stock kernel on A2017U.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Cablespider:
Did you patch the boot.img with Magisk after the kernel install?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Masterjuggler:
If you reflashed the ROM, then you have the kernel the ROM came with. If things are still screwy even after, then there is likely something else that is wrong. Try a clean flash with ROM and kernel and make sure that is also not working.

Also, just to make sure, you are talking about stock kernel from one of NFound's ROM ports like AEX or RR, right? If you are trying to flash this on the stock ROM, that will not work AFAIK. You also have to make sure you are flashing the right version for your bootstack (B32 vs B12).
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] haoyangw:
Oh I think it's under it's own section 'Cpu Hotplugging'(like an individual section on the slide-out menu). At least that's where I found it the last I tried
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choose an username...:
AFAIK it never worked on the sd820
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Masterjuggler:
Hmm, with some Googling it does indeed seem like the 820 does not have hotplugging built in, but I keep seeing "by default" which tells me a custom kernel should be able to use it if set up. And hotplugging keeps showing up in the Hellsgate changelogs and in posts.

[MENTION=7790189]Kranoner[/MENTION] - Since you probably know more about this than most of us here, would hotplugging benefit battery life by any noticeable amounts anyway, or should we disregard it and move on?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choobilsky:
Flashing X5 broke magisk on my A2017, after reflashing magisk everything is working great, battery is significantly better than stock with alucard gov. Phone feels cooler than before. Using it one day now without any issue.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Infy_AsiX:
changing kernel requires magisk to be reinstalled. As magisk modifies to boot kernel
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] darth_antz:
You are awesome. Thanks for your work, installed and working fine here on A2017 (chinese) on latest AEX release. I followed Oki's guide and just used the newer files.

Is using AKT profiles unnecessary now with X5 release? will hellsgate do everything AKT profiles does?

I appreciate all of your work.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] janthe6th:
Hi alucard gov something like Jojoc 2.1? Can it be used concurrently with Jojoc? I think jojoc supposedly give better battery life but I'm new to this stuff

---------- Post added at 02:38 PM ---------- Previous post was at 02:28 PM ----------

Hi where do I find this boot.img? Do it flash x5 then flash magisk then boot.img before rebooting?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Masterjuggler:
I've flashed CAD and Hellsgate several times on different AEX releases and have never had to reinstall magisk. It survives perfectly fine for me, no loss of functionality.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Lycidias:
Same for me
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Cablespider:
I'll be damned. There it is in the first sentence of the installtion instructions:

"If you plan to flash a custom kernel, flash it AFTER installing Magisk"

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

It was always my understanding that Magisk needed to be reinstalled after every kernel update. I never questioned it. You learn something new every day. I'm not entirely sure why I thought that other than that was the recommendation by kernel devs in the past.

I'm still confused, though. After doing some quick reading, it appears as if Magisk alters portions of a stock install that the kernel does not touch. Addon.d does the same after, say, a dirty flash. The kernel install then does its thing outside of Magisk changes. Something along those lines. I'm far from being an expert on the matter and I'm certain it's much more complicated than that. Whatever, it works. I was running the latest AEX with the stock kernel. I entered recovery, flashed X5 and reboot. No problems to report. Although I had no problems reflashing Magisk after every kernel update, I can now cut out a step in my usual flashaholic repertoire.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] shpitz461:
Same here with Magisk and kernel upgrade.

I had AEX 6/21 installed, went to twrp and flashed AEX 6/23 and Hellsgate X5 right after, Magisk is working fine after TWRP rebooted.

If you look at the install log in TWRP, when flashing AEX it already detects and handles magisk and installs it, therefore you don't need to manually flash the magisk ZIP after the ROM and before the kernel.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Cablespider:
Well, I realized addon.d was reapplying the changes Magisk performed initially. I just assumed that whatever was taking place also needed to be done to a third party kernel once installed. Now I know that's not the case. I won't delve any deeper into the specifics. I'm now doing installations properly and won't be replying to questions improperly.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Dodgexander:
In my case I managed to fix it in the end by installing the magisk manager apk again. It does do something strange to magisk that other kernels don't. Never had that issue before no idea why I had it now.

Also no idea why my wifi stopped working, after another clean flash its better now.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Infy_AsiX:
X5 is my first new B12 bootstack kernel. I'm getting the same throttling as on the last B32+10 . Swapping back to the default RR kernel there's no throttle as intended when disabled by editing thermal-engine.conf. This isn't the kernel for me anymore I guess
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] haoyangw:
Unfortunately Jojoc's magic is (correct me if I'm wrong) mainly tuning Interactive governor parameters so no, if you change governor I think you lose most of the benefits(though not all)

If you open Magisk Manager there's an option to patch boot.img for installing Magisk(mainly for A/B partition users), that's what Cablespider meant. He's/She's(sorry I don't know your gender) just asking haha, if you don't know about this option then I don't think you installed magisk in this way

---------- Post added at 11:30 AM ---------- Previous post was at 11:28 AM ----------

Oh I think Hellsgate uses it's own thermal engine though, so it might not be affected by thermal-engine.conf, but something else. I'm not super sure though
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
Haven't tried AICP but let's stay on topic shall we? ;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jw1985:
Yes man ;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] aLexzkter:
What about the dt2w speed? Is there room for improvement on that? It's kind of slow even on stock rom. I compared with an LG G2 running LineageOS and our phone is about half a second slower.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ariy11:
So I've been seeing some comments here saying that QC is disabled is it still dialed in the latest builds? Also is it safe to dirty flash this kernel?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
qc is not disable only usb fast charge is disable by default but you can activate it over kernel auditor

wipe davlik/art and cache then flash kernel thats it ;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] ariy11:
Ok thanx does this mess with magisk at all?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jw1985:
I have problem with random reboots. I have tried different roms 2.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] FrankJHTC:
I found a big issue, when I turn on the phone to 100% of the battery and still is connected to the charger, the phone restarts all the time, only stop to restart if I disconnect it from the charger.

I try with the Dark ROM Kernel and It not have this issue...

Enviado desde mi MI PAD mediante Tapatalk

---------- Post added at 02:26 PM ---------- Previous post was at 02:24 PM ----------

Me too....and it is only with this kernel..

Enviado desde mi MI PAD mediante Tapatalk
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] SilentEYE:
what kind of settings did you use?

When did the reboots happen?

I had freezes with v2.1 while starting the camera app with double tap power button.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jw1985:
I use the cpu gov as lionfish and IO as maple. Nothing more. And the reboots happens when the phone is charged to 100 procent. Also is just happens random.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] FrankJHTC:
I have the same Settings, and the same problem.. And my phone restarts too when I have a call phone...

Enviado desde mi ZTE A2017U mediante Tapatalk
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] SilentEYE:
Please create a log for the dev, if you are able to reproduce the problem.

Maybe he can fix it.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
what axon7 do use g or u variante comes this problem when the phone is off and your charge it to 100 prozent or when its on more infos was nice only to person tell me this bug then i charge my phone today to 100 prozent and nothing no reboots or so telephony is ok too for mee no reboots
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jw1985:
I am use the G variant. When i have charged the phone to 100 procent the phone reboots itself. But if i only charge to 99 its okay and i have no reboot.

Also it randoms reboot. I trid a diffrent kernel yesterday and the problem is gone.

Your kernel is the best when it comes to battery life and performance, so plz look in to this.
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Kranoner:
i will fix this today but its starnge i have this bug not but i think its a error in qpnp.smpcharger.c ;)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jrotaetxe:
A great kernel indeed.

Chinese piece with Lineage (U fw)

Governors lionfish and maple

Have reboots at 100, and those reboots "unrooted" my phone. Would like to help but I am afraid I lack technical skills even to track bugs...

My root method is Magisk

Now in other kernel, but i really, really like this one...

Regads
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] jw1985:
It would be awesome if u could fix this! Keep up your extremley good job man!
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] SilentEYE:
I got a random reboot right no while surfing in Puffin browser. Is there a way to look into log files after a system crash?
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] marcdw:
If I remember right there should be a /proc/last_kmsg file generated when a kernel crashes. If you have a terminal (or root enabled filemanager?) you can copy it to somewhere as last_kmsg.txt.

The Syslog app can also do it for you.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
I got the same issue, you can try this on an terminal application and post the file here:

1) su

2) cat /proc/last_kmsg > /sdcard/last_kmsg.txt

as you can guess the file will be on the root of the internal sd card.

hope I helped. :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] nfsmw_gr:
You are indeed correct regarding Jojoc mod.

I based the tuning I did around interactive governor because its almost universally available for better compatibility. :)
[ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve] Choose an username...:
What is the point of adding zram on a >1gb RAM phone? It's just lost CPU cycles

There's a Magisk module which just disables ZRAM and normal swap exactly because of this.