yashsingh1/xdaforums huggingface dataset:
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
New Update for you, this one is only for users on November security patch (Build 8.0.0.520 or .510), not for the older China versions (telephony wont work there)

important! first version has a bug, please update to attached version!

Changelog

- Upstream some memory things, fixes for USB, mtp, etc.

- included simple_lmk instead of default lowmemorykiller (which causes crashes if it runs)

see attached script to configure, you need to edit it and run it afer boot (with root) to set your preferences (with some init.d solution, manually or some tools to run scripts at startup

rename it to remove the ".txt" of course ;)

The script will disable powergenie if you are on stock rom so no more killing of background apps without need.

You can even configure which apps should never be killed, see script.

Greetings
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
I installed your kernel without any error... So far looking good, what are the features of this rom?

Will it work on gsi pie and Q roms also?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
i think yes - but i have not tried it lately.

there is a special lineage os version i used to build, i will build one next week.

the attached version is even better - mostly kernel security updates and some improvements to simple_lmk. (no need to configure free min values anymore so i removed the settings).
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Do i need to do anything after flashing the kernel...
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Just flashed it, the first issue i faced, i use any app for a while then while switching to home, launcher takes time to refresh, i think it closes stock launcher as i use any other app...
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
run the setup.sh after every reboot.

you need to set "ndroid.launcher" in script for nokill to prevent stock launcher from being killed.

also check the other parameters, 0 to disable usb fastcharge or overclock or low brightness.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
I can't stay with this kernel, it kept closing my apps whether foreground or background, it just keeping around 1.8 to 2 gb ram free aut of 3 gb. I was not able to run the script, somehow flashed with package name of launcher, still no change then reverted back to previous version of your kernel.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
i see you have the 3gb version of the device... seems to be differently configured... i'll look into it
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Yeah 3gb indian variant.

It may help

https://drive.google.com/file/d/1LOF9wnY_lZT-3Hl6AVqt72UbvqsH_vXR/view?usp=drivesdk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
please try this new version, it should work fine with 3 and 4 gb ram versions.

also included more security updates
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
This one is perfect, fast charge, brightness mod and overclock work without any hassle.

Only one thing now, can I use it Gsi roms Also... ?:good:
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
For Custom Gsi, :(
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Ist one stock kernel and second is Cyclox kernel, latest...

All mods enable, brightness mod - fastcharge - overclock.

But somehow fast charge is not working.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Vimal Mathew CM:
Foreground app killing

I have downloaded the CycloX_KERNEL-04.000-STOCK-650 version of your kernel and when I play Pubg it gets killed after a few minutes. I am on elite rom 7.7 and using 3GB Indian variant. I Love your kernel but I want to play Pubg. Please provide a solution for this.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] FranJav_8915:
Sorry man, stupid question where is the download thread of this post? I could find anything to download
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] FranJav_8915:
Big question. How can I Root with Magisk my device because I tried it but When I restart my phone it Gave me bootloop in the logo so I had to return to my stock Boot.img. I asked you this because I need root access to use the Kernel Auditor app
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Great. We have a tested feedback now. :good:
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
This kernel works on our Resurrection Remix 7.1.2 ROM, just tested.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Alex2017Germany:
I have flashed the kernel and after reboot the device says that the sd card is not supported (BLN-L21)
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Cool then custom rom also support:good:
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] xRevengerZee:
I have a gr5 BLL-L21 would this work for me?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
It should. Nothing mentioned in OP means it should be supported.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Wow ,, real blaster ,, fast charging is excellent,, but there is some sdcard error ,,, screenshot
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
It shows format sdcard to supprted format
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Dont qoute entire OP please. Edit it and remove most of the part from the original post
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Ok ,,, have you tried this kernel
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Nope as messed up my phone last night. But backup your sd card and try the notification prompt of setting as a supported device or else wait for OP to confirm for a fix
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Fastcharge has nothing to do with sdcard format. This error should come on stock as well. If you use a Rom with a kernel which supports other sdcard formats (filesystem) tell me which one and I can add it.

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Alex2017Germany:
I have the same "issue" on my BLN-L21 on stock rom B365

i have restore "boot" from twrp and the sd card can be read.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] xRevengerZee:
Ok but i really couldn't understand is this kernel to get more SOT+ or to keep battery healthy to live longer?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] RedSkull23:
The 2nd one.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
more of the 2nd part in your statement to prevent your battery for long run.

---------- Post added at 01:30 PM ---------- Previous post was at 01:29 PM ----------

may be hardware issue. is it a new phone?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
I tried formatting sdcard , but it failed to format , stuck on 20℅ , then i restored back to stock boot .... Pls OP solve this error ..
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Which ROM are you using?

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Seems stock as per screenshot he shared on last page.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Stock rom Bln l22 indian version , every member having stock rom got that problem , i think it worked fine on custom rom... Rest works fine except the sdcard error

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

Stock rom Bln l22 indian version , every member having stock rom got that problem ,Rest works fine except the sdcard error,,,, i think it worked fine on custom rom...

---------- Post added at 04:09 PM ---------- Previous post was at 04:07 PM ----------

Bln l22c675b340 , with emui 5.0.1
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
I'm getting a handful of random reboots after installing this kernel about 16+ hours ago, but not with my ROM's (RR 7.1.2) stock kernel. When they will happen can't be predicted, it happens when I'm doing normal stuff like Web browsing, etc. The screen suddenly goes black, then the phone reboots to the Huawei eRecovery screen. From there I can boot back into system. The first was an hour after I installed the kernel, the last was last night while watching YouTube videos. Maybe I can get a logcat or something, but since I can't predict when it will happen, that will be difficult. What else can I do to diagnose this?

Thanks!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
With magisk or superSu?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] jaybizza:
Same here. Random reboots every 10 mins or so. Using Super Su on RROS 7.1
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
I thought magisk would have caused this but not..hope OP fix it soon.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
I need a logcat for the sdcard problem and the info from “mount“ command on stock kernel so i can see the used file system.

For other problems please edit your posts and add device version and used rom so we can see which devices are not compatible.

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
I'm not using Magisk or SuperSU. My preferred root solution is Phh's Superuser, works on Android versions up to Oreo. It works like the others, by patching the boot image. But it was already installed before I tried this kernel, no issues, root works fine. I run it on several devices, I'm pretty sure it's not causing any crashes.

Resurrection Remix v7.1.2

Model: BLN-L24 (stock firmware was also upgraded to latest stable firmware before installing RR)
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
Does anyone know where I can find the last kernel message log? I'm sure it dumps a file somewhere when the device crashes. Logcat won't work since I can't predict when the crash will occur, and any logs taken wouldn't be complete.

I also noticed that the maintainer of the Oct-N ROM adopted this kernel in his release, I wonder how he got it working so well (so he claims), even though me and another user reported the same issues with RR. The ROMs are similar enough that any issues this kernel has will likely occur on both ROMs. I personally wouldn't use a beta kernel for a ROM release unless I'm 110% certain it's well tested and rock solid.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Anyone with any problems on BLN-L21?

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Op have you tested the kernel with micro sdcard inserted in the phone ,, n where i can get the log file of kernel
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Can you do a “cat /proc/filesystems > /sdcard/fs.txt“ and send me fs.txt?

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] :
REMOVED.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Looks fine... does sdcard work in permissive mode? May be a selinux issue...

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] :
Haven't tried it in permissive, I usually leave SELinux on enforcing. I'll test and let you know. Also, do you need any info to try and diagnose the reboot issue? I can pull files/logs if need be.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] adriansticoid:
Looks promising. I hope this gets more features in the future.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Yeah. This May be the reason the New OCt N Rom is faster:)
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] felix-development:
Yes I have random reboots

Gesendet von meinem HONOR-6X mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
/sys/fs/pstore/console-ramoops-* shows the reason for the reboot, send me the file with the timestamp from a reboot caused by the error (it gets also written if you manually reboot).

Always provide these info:

Device type (bln-l21...)

Sdcard in Device? (maybe without sdcard inserted there are no random reboots)

ROM installed on device

Other modifications?

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
Op , that is the file ,sdcard not support error,

Device BLN-L22C675B340
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Now, anyone with sdcard working (stock kernel) can do a mount > /sdcard/partitions.txt and share that file. Thanks for the help!

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
I'm not using this kernel for now because of the random reboots, but I'm willing to try it again for the purpose of submitting logs. Logcat isn't possible, so exactly what logs are needed? Kernel message logs, maybe? I don't know what to look for so if my testing is wanted then I need this info.

I'm not using EMUI5, I'm on the Resurrection Remix 7.1.2 ROM, with the default kernel provided by the maintainer. Maybe my attachment will help, maybe not. My SD is split into 3 partitions:

1st: exFAT, formatted with Windows 10, for static file storage

2nd: F2FS, for linking apps to SD with Apps2SD Pro

3rd: Linux swap

My SD always worked fine with CycloX, RR sets SELinux to permissive by default
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] Khan ubaid:
I use both sim cards and sdcard simultaneously ,this might be the problem of sdcard not support error
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
sdcard issue is fixed, please choose STOCK kernel version if you are having these issues.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
[MENTION=1376601]cyclon1978[/MENTION]: I got your private message with a link to the new kernel that will hopefully fix the random reboots. But I can't test it just yet because my phone is soft-bricked. I can access eRecovery, fastboot, and stock recovery, bootloader unlocking also works. But I can't boot into the stock ROM. It all happened after my phone said my PIN is wrong, I didn't forget it, something just went haywire. So now pin/fingerprints can't be added or removed, and I can't enable OEM unlocking in developer options either. I'll get around to testing as soon as I can get out of the brick (hopefully today).
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
I just manually rolled my BLN-L24 back to Marshamallow v6.0.1 with fastboot, after downgrading otherwise failed. Now I just have to upgrade the stock ROM back to Nougat, unlock bootloader, flash TWRP, then I should be in business and back to Resurrection Remix. Then I'll test the kernel. I'm a bit busy right now juggling different projects at the same time, so it might take up to 24 hours to post back here again (hopefully sooner if everything works out).
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
Sorry, double post by accident. Was trying to edit a new post but couldn't.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Boot to recovery and then do factory reset and it should should most probably fix your problem.

Good luck
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
The best wishes for you to recover your device.

Who gets random reboots too? Test the BF kernel variant: https://www.androidfilehost.com/?w=files&flid=217241

And report back, thanks

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
[MENTION=8272809]Khan ubaid[/MENTION]: Is it even possible to use 2 sim cards and a MicroSD at the same time? If that's the case then I'm tempted to add a 2nd phone # to my account with a 2nd sim card. Or get another line of service with another carrier (one for personal, one for business). I always thought you had to choose between 2 sims, or a sim and a MicroSD.

[MENTION=6714681]shashank1320[/MENTION]: it wasn't as simple as a factory reset, i tried that and RR still wouldn't let me choose a pin or enroll prints, OEM unlocking stayed broken. So I reflash stock EMUI from my TWRP backup, same issues there. Something must have corrupted or screwed with a setting. I had to downgrade EMUI from Nougat to MM, then upgrade again. At one point it took me an hour to get into fastboot, button combos didn't work and eRecovery/stock recovery also seemed missing. Thought I'd have to mail it in for repair. It's all fixed now, back on 100% stock. I'm not even rooted. All in all it was a very aggravating 6+ hour process that took multiple attempts.

I'm pretty tired tonight, I'll unlock the bootloader in the morning and flash TWRP. After that it's back to RR, then I can try the new kernel.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
These things takes time and do not fix in few minutes. It took 4-5 hours for me couple of days back and i lost all hope but small hope is always a good one to start again
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Any problems with the current kernel versions?

If random reboots occur i need the ramoops files from /sys/fs/pstore.

Please report which kernel version (BF or no-BF) you're using, device name and rom name.

I will not start extending the features until the current issues are all resolved, so i need your help to make this thing rock-stable on all variants.

OT: it is really crazy how much posts in the honor forums are just... small talk, so please post only if you can add something to the discussion. Say thanks with thanks-button, do not misuse xda as chat-system (maybe just to win these odd honor points) and post only if you really can help or have a problem.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
On the download page I see BF, LOS, and stock variants. Stock is obviously for EMUI, LOS is probably for users with LOS/AOSP-based ROMs. But what is BF? Any key differences between the 3? My MicroSD worked even with the initial stock kernel version even though I'm running RR ROM, so I'm guessing I need to use the LOS version.

Thanks!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] felix-development:
What is BF

Gesendet von meinem HONOR-6X mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
BF kernel is without the huawei Boot Fail solution which is removed in LineageOS Kernel, because I'm on stock I make test builds to determine which parts from LineageOS kernel are really required.

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] felix-development:
Did you updated kernel source on you GitHub?

Gesendet von meinem HONOR-6X mit Tapatalk

---------- Post added at 08:42 AM ---------- Previous post was at 08:40 AM ----------

Did you updated kernel source on your GitHub?

Gesendet von meinem HONOR-6X mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Not pushed yet, will clean it up and push it as soon as it's stable.

Still waiting for feedback ;)

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] felix-development:
Please tell me when pushed and keep up the good work! ;)

Gesendet von meinem HONOR-6X mit Tapatalk

---------- Post added at 09:00 AM ---------- Previous post was at 08:55 AM ----------

Please tell me when pushed and keep up the good work! ;)

Gesendet von meinem HONOR-6X mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
New version with feature for reading in darkness!

Since version 1.007 the lowest backlight level is much darker.

A.t.m. only stock version, LineageOS version will follow.

Gesendet von meinem BLN-L21 mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
I got my first random reboot within 10 minutes of installing the LOS v01.006 kernel. But I wasn't able to grab the file that [MENTION=1376601]cyclon1978[/MENTION] mentioned, so I'll regard it as a fluke. Right now I'm still patiently waiting on it to happen again, it's been about an hour since my last (intentional) reboot, nothing so far. Later I'll try testing the LOS BF kernel.

Edit: About 10 mins after posting, it now reboots again, for a total of of 1 hour 10 mins after the last intentional reboot. I grabbed the 2 log files in /sys/fs/pstore, attached. Now I'm going to try the LOS BF variant to see if I get different results.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Please try 1.007 LOS BF variant https://www.androidfilehost.com/?fid=962021903579481087
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
[MENTION=1376601]cyclon1978[/MENTION]: The LOS v1.006 was causing random reboots, but the LOS v1.006 BF has been running with no reboots for a few hours. The BF variants seem to fix the reboots. But I'll try the new kernel you linked anyway.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] cyclon1978:
Thanks for the feedback. The fix for random reboots is in 1.007 (BF) as well, just more features.

For the future there will only be a LOS and STOCK version because the BF version works fine on both ROM variants.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] AnonVendetta:
[MENTION=1376601]cyclon1978[/MENTION]: I have a few questions for you. You earlier mentioned that the BF kernel variants don't have Huawei's boot fail solution integrated. But I Googled already and couldn't find any references at all to this boot fail solution anywhere. What exactly does it do? I'm thinking it may be related to the encryption and data partition corruption issues I've encountered recently. Any idea why the reboots to eRecovery after a random reboot (instead of just booting into TWRP or system instead). I also find it weird that you say the LOS kernels don't have BF to begin with, yet you release a BF and regular version of the LOS kernel. If it never had it then logically only one LOS version is necessary. Not trying to be critical, just pointing out a discrepancy.

You also mentioned that you changed the MMC driver. My personal suggestion is that you let the ROM decide where the MicroSD mount points will be. So let stock set it to its' default and let LineageOS ROMs use their defaults. I can't help but notice that my MicroSD's mount point seems to have changed from /mnt/media_rw/*** to /storage/***, although it is accessible at both paths. Unless there is a needed and valid reason for this change, then it should be left alone.

And the reading in darkness feature that you say is in v1.007, how to use that on an LOS ROM? It's not mentioned in the OP. It just seems like a superfluous feature, but I see how it could save the battery, since that is the primary stated intent of this kernel.

Could you consider adding native init.d support? Adding it is pretty trivial and easy. As a custom ROM LOS kernels usually supports this, yet this kernel doesn't. It's easy enough to use an app to enable it but native support is better. Plus it would be a nice feature for both the stock and LOS variants. You do after after all include a script, having this automatically run at boot is ideal. At current I can manually add it myself by extracting my ROM's boot.IMG from the ROM zip then flashing it, install this kernel, then dd my boot partition to a file. Then I just copy the file to PC and use SuperR's Kitchen to add init.d, which produces a modded boot.IMG with your kernel and my addition. Very simple, takes maybe 10 to 15 minutes. After that I can flash whatever root solution I prefer.

I've been using the v01.007 LOS BF kernel since about 3AM my time, it is 1:45PM now and there have been no random reboots yet. Everything looks good so far.

Keep on pushing out the updates and I'll keep testing!