yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] sapphirecoupe:
I've been getting some very awkward freezes/stuttering with the newest weekly. Mostly it seems, in chrome and the Amazon app. It doesn't happen all the time but, usually when attempting to scroll.

Had to try a different kernel in the meantime.

I'm on newest carbon weekly
[Nexus 6P Original Android Development] adame09:
You do know release 15 came out after the latest weekly build of his kernel right?
[Nexus 6P Original Android Development] phantom146:
Franco had problems without a complete rewrite on his kernels.

They thought just merging O with previous commits should do it, it took a lot of bugs etc, and he had rewritten the whole kernel from scrqtch. Thats a wise decision :good:
[Nexus 6P Original Android Development] sapphirecoupe:
So what, what's your point?
[Nexus 6P Original Android Development] adame09:
My point is that your running an older version of his kernel guy. How can you report bugs when not being on his latest version of his kernel?
[Nexus 6P Original Android Development] frap129:
When was that? I checked his repo yesterday and it was just O merged into his N source :confused:
[Nexus 6P Original Android Development] nathanchance:
Yesterday :silly: :laugh:
[Nexus 6P Original Android Development] Neejay:
See here: https://xdaforums.com/nexus-6p/orig-development/kernel-franco-kernel-r1-t3266864/post73555418

Then: https://xdaforums.com/nexus-6p/orig-development/kernel-franco-kernel-r1-t3266864/post73585828
[Nexus 6P Original Android Development] sapphirecoupe:
So your point is you don't know what you're talking about, and have difficulty with reading comprehension.

Anyhow, there's no way to capture the lag/stuttering in a log, so the only current solution for me is to switch kernels.
[Nexus 6P Original Android Development] adame09:
No reason to get all defensive. I'm trying to help you out. If you were running the latest build of his kernel why didn't you say that? The test weeklies and the main releases are different. I hope you know that.
[Nexus 6P Original Android Development] yung40oz84:
I built electron from source today and flashed on ABC ROM O version and it boots but then as soon as I try rebooting it boot loops and I have clean flash everything. Not even flashing another kernel or stock will get it booting again. Just letting ya know. Thanks, and I also noticed core control button and thermal button was gone in latest from source? Thanks.
[Nexus 6P Original Android Development] Neejay:
There's an ABC version for building too?!?
[Nexus 6P Original Android Development] yung40oz84:
ABC ROM, ya I built ROM from source, running really good compared to stock O
[Nexus 6P Original Android Development] phantom146:
Why would you do that?

There's a reason joe hasn't released O yet, its not yet complete and unstable. You are basically begging for a bootloop. If you really wanna compile your own kernel, try doing it on a complete one like Flash's or EX. Right now we just have to be patient and as soon as the branch is stable we can go ahead and compile it.
[Nexus 6P Original Android Development] Lawlrus:
Yes, its going to take work to get everything google changed in 8.0 worked out.

As far as the bootloop, I get it on a different source built 8.0 ROM using Nathans kernel. I've seen people say it works with stock, so I'm not sure why it wouldn't work with source built.

But this just reinforces the fact that a lot changed, and its going to take longer than it might have in the past to get things working.
[Nexus 6P Original Android Development] yung40oz84:
When I build from source and run electron on ABC rom android O it is doing the exact same thing I reference here at this post, https://xdaforums.com/showpost.php?p=73666294&postcount=4736
[Nexus 6P Original Android Development] frap129:
I got this the other day, had to flash the factory images to even get it to boot. AFAIK, its a data corruption issue. I'm looking into it, but I dont know wtf is going on honestly
[Nexus 6P Original Android Development] yung40oz84:
Lol, ok bud, I think a lot.of devs are going from scratch with Our as there are many changes and compatibility issues. Appreciate the look bud.
[Nexus 6P Original Android Development] yung40oz84:
I already build flash and EX. I build them all. I am just reporting a bug and an O version was already released in the thread......... Flash has the same bug by the way
[Nexus 6P Original Android Development] Neejay:
Have you had any luck since then?
[Nexus 6P Original Android Development] DEVILOPS 007:
Are you planning on making an update with blueborn vulnerability fixed? I know you updated your rom but the issue is kernel side meaning that it won't have any affect on custom kernels like this right? Thanks.
[Nexus 6P Original Android Development] nathanchance:
The vulnerability isn't purely kernel side. It's both ROM and kernel side.
[Nexus 6P Original Android Development] Neejay:
I finally built the dev/or branch, and it boots just fine on oreo, but I noticed I can't disable/toggle "hexacore mode (disable cpu6 and cpu7)".
[Nexus 6P Original Android Development] Neejay:
Update: Disclaimer: This was the start of me researching and attempting to mess with kernel code/sources. I figured out that it was the core control settings in init.electron.rc (specifically the up/down thresholds) in the anykernel folder.

I had about 2 severe freeze + hard reboots in about 3-4 hours, to which I got a dmseg, pmgs, and console log.
[Nexus 6P Original Android Development] Neejay:
Forgot to actually post a few things that stood out (also attached the full log):

Panic#1 Part1
<3>[ 49.647929] SMSM: Modem SMSM state changed to SMSM_RESET.
<3>[ 49.647942] Fatal error on the modem.
<3>[ 49.647949] modem subsystem failure reason: fs_rmts_pm.c:854:[5, 6] rmts_read_iovec failed.
<6>[ 49.647959] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = RELATED.
<6>[ 49.649578] IPA received MPSS BEFORE_SHUTDOWN
<6>[ 49.652476] rmnet_ipa started deinitialization
<3>[ 49.652491] ipa ipa_teardown_sys_pipe:1187 bad parm.
...........
<6>[ 52.727405] sysmon-qmi: sysmon_clnt_svc_arrive: Connection established between QMI handle and modem's SSCTL service
<4>[ 52.743496] wl_host_event: Invalid ifidx 0 for wl0
<4>[ 52.744058] dhd_rtt_init : FTM is supported
<4>[ 52.747076] dhd_bus_devreset: WLAN Power On Done
<4>[ 52.748677] wl_host_event: Invalid ifidx 0 for wl0
<4>[ 52.749551] wl_host_event: Invalid ifidx 0 for wl0
<3>[ 52.771349] SMSM: Modem SMSM state changed to SMSM_RESET.
<3>[ 52.771853] Fatal error on the modem.
<3>[ 52.771869] modem subsystem failure reason: fs_rmts_pm.c:854:[5, 6] rmts_read_iovec failed.
<6>[ 52.771881] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = RELATED.
<0>[ 52.771892] Kernel panic - not syncing: Subsystem modem crashed during SSR!

EDIT: Sorry if any or all of this is useless, I'm just trying to learn.
[Nexus 6P Original Android Development] d1n0x:
This is a development thread. I don't know how people will react to this, but you're doing absolutely nothing wrong, since, see first sentence.
[Nexus 6P Original Android Development] adame09:
Need that O goodness! Been trying to wait patiently.
[Nexus 6P Original Android Development] DEVILOPS 007:
Well wait some more and don't bug the Dev.
[Nexus 6P Original Android Development] adame09:
What's your problem dude?
[Nexus 6P Original Android Development] Lawlrus:
Your post comes across as whining, and/or asking for an update.

There's a lot of people waiting.
[Nexus 6P Original Android Development] cyborgamer:
Does this kernel have Nethunter support?
[Nexus 6P Original Android Development] Lossyx:
Use the kernel that comes with NetHunter build as it requires quite many drivers for the features to function well.
[Nexus 6P Original Android Development] frap129:
End of the road

Hey guys,

Just popping in to this thread to say that I will no longer be updating this. Between college, work, and also trying to manage a social life (hah, funny joke right?), I've made the decision to only maintain my daily driver device. As of now, that's the Pixel 2 XL. I will still be maintaining CarbonROM on all of my devices, but Electron will be limited to my DD. It's been a good run, thanks for all the support, and I hope to see some of you try out my Pixel 2 XL kernel!
[Nexus 6P Original Android Development] frost_nz:
Thanks for all your hard work mate. Have always appreciated the effort that's been put into this kernel. All the best for the development ahead. Cheers!!
[Nexus 6P Original Android Development] phantom146:
[MENTION=5051294]frap129[/MENTION] mah heart.. mah soul
[Nexus 6P Original Android Development] infus38:
:crying:

thanks for all :o

I will try buy an pixel XL 2 in France but it's hard :silly:
[Nexus 6P Original Android Development] Coeur Brisé:
Is this compatible with resurrection remix os 7.1.2
[Nexus 6P Original Android Development] preference:
Should be fine just don't use it in oreo
[Nexus 6P Original Android Development] sajjads24:
hi

can i install and use Electron Kernel for lineage 14.1 on i9100 ?
[Nexus 6P Original Android Development] Leafy_duk:
Just tried the latest release (v15) on the latest lineageos 15.1 release and it just hangs on the boot animation after inputting my encryption password.
[Nexus 6P Original Android Development] d1n0x:
Maybe because you are trying to use a Kernel for Nougat on Oreo.

Lol...
[Nexus 6P Original Android Development] Leafy_duk:
Lol, I was going through kernels to compare and I guess i clicked back into the wrong one to download.
[Nexus 6P Original Android Development] Nowak4G:
https://www.androidfilehost.com/?fid=457095661767104593
[Nexus 6P Original Android Development] OmegaBlaze:
It already has it.
[Nexus 6P Original Android Development] jr313:
Thank you sir. Downloaded and flashed!
[Nexus 6P Original Android Development] ckllok:
Does the fingerprint sensor still lags? or it's fixed?
[Nexus 6P Original Android Development] Balino:
It doesn't lag for me. It isn't fast as with touchboost activated but we can't define It as lag
[Nexus 6P Original Android Development] ckllok:
Lens Blur crashed. Not sure it's the kernel or preview build.
[Nexus 6P Original Android Development] xsidex:
Just found the same behavior on my phone, nothing major but an issue nonetheless.

It crashes half way through the picture processing
[Nexus 6P Original Android Development] frap129:
Franco's implementation of sound control is already included.
[Nexus 6P Original Android Development] jr313:
Thank you, I have been using your kernel for a few days already.
[Nexus 6P Original Android Development] bobbarker2:
Disabled swap and ZRAM? What do you mean you disabled swap? Do you mean zswap?

Why did you decide on Ksm instead of uksm? Uksm has shown to be superior in every performance test and comparison I have seen. It's the big brother of KSM and does it's intended job more efficiently and with less work load on the CPU.
[Nexus 6P Original Android Development] frap129:
Swap is the ability of the kernel to move pages of memory from RAM to physical storage. While this is extremely slow, it's necessary when RAM fills up and nothing can be added to memory. The 6P has 3 gigs of ram, and from my testing rarely fills up, even in intense gaming. Since its not very useful for this device, I disabled it to improve performance.

I chose KSM since its already built into the kernel and is more actively developed. UKSM was abandoned years ago, unlike KSM, which I was able to backport updates from Linux 4.8 for. UKSM does perform better, however it also costs more battery, and with 3gigs of RAM, memory management isn't a big enough problem that it requires any trade-off like that.
[Nexus 6P Original Android Development] bobbarker2:
I believe you have some facts wrong. Uksm was not abandoned years ago. It's still actively maintained and can be incorporated into the 4.8.

https://github.com/dolohow/uksm

I'm not sure where you got that it cost more battery butt that is not true. It uses lmore CPU Cycles initially but then does a far better job of page margin then KSM. I was thinking of pksm in my previous post. Overall it uses less CPU time and does a better job than KSM. Refer to this link

https://www.cse.iitb.ac.in/internal/techreports/reports/TR-CSE-2015-71.pdf

And we can quite easily hit 3 gig ram usage, it has not as much to do with running heavy processes but more so with how many concurrent processes are running. That's why page management and swap files are so important.

Zram is a virtual swap file of compressed Ram so the kernel does not need to go to disc when it needs to swap. That's one approach to keep from paging to disk.

I didn't make my original post clear but the question marks we're intended to indicate 'why in the world would he do that.'

Disabling swap and ZRAM completely is just asking for performance problems. There's a reason Linux has been using swap since early on.
[Nexus 6P Original Android Development] frap129:
Thanks for the info on UKSM, I haven't used it since working with the S3 so I was unaware that development resumed and that it had improved so much. As for the ZRAM issue, it was broke and worked very poorly on the stock Android kernel for angler and actually has an improvement in performance when it's disabled. I chose to do this rather than pick the commits to fix it, as in my history of working with kernels, using slow compression methods such as XZ causes performance issues, but using fast methods like LZ4 compresses the memory so little that it's barely noticeable. If you have a problem with the choices I've made with this kernel, feel free to not use it.
[Nexus 6P Original Android Development] Hussainally:
Hotspot doesn't work sir
[Nexus 6P Original Android Development] bobbarker2:
Brosef, I I was just giving you some information that could improve your kernel. No need to get defensive .

Take a look at the Flash kernel which uses zram by default and performs stellar. In fact it's been the best kernel I've tested, and while that's completely subjective, most people seem to consider that the de facto custom kernel for the 6p. Nathan has done a lot of work after AK had to take a hiatus and the work he's done is really quite impressive.

But disabling the swap file and zram because you think 3 gigabytes of RAM is enough is not a wise decision in my opinion. Kernel panics abound!

Again just offering feedback not trying degrade you or your work, we're here to help each other learn.
[Nexus 6P Original Android Development] frap129:
Works fine for me. Most likely a rom issue
[Nexus 6P Original Android Development] Hussainally:
I am on 7.1.1 dev preview ..doesn't work ..

Says error
[Nexus 6P Original Android Development] rohitchouhan07:
You shouldn't be using any Custom kernel on 7.1.1 yet........coz there are no sources released for the same .

Wacky camera colours and broken tethering are already known issues if you use any of the custom kernel with the 7.0 source ( which is latest ATM)
[Nexus 6P Original Android Development] frap129:
This kernel only supports AOSP 7.1, not the dev preview.
[Nexus 6P Original Android Development] Hussainally:
Noted ..got it ..thanks
[Nexus 6P Original Android Development] wwe9112:
Where exactly are the settings for this? I've searched and searched, I cannot find them -_- lol.
[Nexus 6P Original Android Development] p70shooter:
What settings? You need a kernel app like kernel Adiutor or ex to adjust the kernel, if that's what you meant
[Nexus 6P Original Android Development] wwe9112:
This was the first time I ever flashed a Kernel...I was trying to troubleshoot a problem with a rom. I didn't know that is what was used haha. I apologize. That's what I meant. Thank you for the help.
[Nexus 6P Original Android Development] Masterleon:
Any plans for adding screen color calibration?
[Nexus 6P Original Android Development] nathanchance:
It has KCAL: https://github.com/frap129/angler/commits/dev/ng/drivers/video/msm/mdss
[Nexus 6P Original Android Development] Masterleon:
Does it? I'm on NitrogenOS 7.1 and Electron Kernel and I'm not seeing the KCAL options on Ex Kernel Manager, Kernel Aduitor or KCAL Color Control. All I'm getting is this and this.
[Nexus 6P Original Android Development] nathanchance:
Ah I see what happened. [MENTION=5051294]frap129[/MENTION], somehow KCAL got turned off in your defconfig even though you have the commits: https://github.com/frap129/angler/blob/dev/ng/arch/arm64/configs/angler_defconfig#L2415
[Nexus 6P Original Android Development] frap129:
Must have happened in a regen at some point, I'll turn in on for v5 for sure! Right now I'm just doing some more advanced memory testing, should have a v5 stable version later this week
[Nexus 6P Original Android Development] raymondoliviero:
We are waiting for the update.
[Nexus 6P Original Android Development] p70shooter:
And saying stuff like that is rude as ****
[Nexus 6P Original Android Development] maximusmullivan:
Totally inappropriate man
[Nexus 6P Original Android Development] reas0n:
Here we go again.. OP doesn't mind posts like that and he already said something about it.
[Nexus 6P Original Android Development] p70shooter:
I take it back that then :D
[Nexus 6P Original Android Development] xflowy:
is this still being updated? :)
[Nexus 6P Original Android Development] frap129:
New build should be up in 2 or so days! I've been pretty busy with work and school the past month, but like I said, some of the updates in v5 will be 'interesting' to say the least. For starters, I made some minor changes to chill and it is now stable for full time use. I also spent a few weeks working on an advanced profile for chill, which gives me the same SOT I was getting before, but much smoother. Only problem now is that it lags a little when load rapidly increases (Like when starting a game) but thanks to the boost, it only lasts a sec. I also added process reclaim v6, and modified it to force reclaim memory on all processes when possible. A lot of other misc changes are in the full log on github as always
[Nexus 6P Original Android Development] greyhd:
Everything sounds great. Take your time.
[Nexus 6P Original Android Development] frap129:
v5 is up! Sorry to everyone for the delay, I wanted to merge in the 7.1.1 source and test it for a while so that I wouldnt get behind. As always, enjoy the cleanest, fastest release of electron yet. Flash away you crazy, crazy flash addicts
[Nexus 6P Original Android Development] info[]box1:
Yes we are crazy addict flashers
[Nexus 6P Original Android Development] HiM@L:
releasse 5-7.1.1 didn't boot in stock ROM. stuck in Google logo. did it boot for anyone?
[Nexus 6P Original Android Development] frap129:
I'm currently using it on a 7.1.1 based custom rom. Unless Google made some changes in the factory images that isn't in AOSP and angler kernel source code, it should boot fine. Could always be a bad download (or upload, if multiple people report this problem)
[Nexus 6P Original Android Development] HiM@L:
sure thing...will download again .

update:

at first it didn't boot...still got stuck at Google screen then I flashed superuser and it booted fine now.
[Nexus 6P Original Android Development] OmegaBlaze:
[MENTION=5051294]frap129[/MENTION] Does your kernel support f2fs?
[Nexus 6P Original Android Development] frap129:
It should, although I dont have the updated FS drivers, nor have I tested it.
[Nexus 6P Original Android Development] OmegaBlaze:
Im going to test it right now then.
[Nexus 6P Original Android Development] frap129:
Let me know how it goes! I'll probably update the drivers for v6 either way, but if it doesnt work I'll try to get a fix up relatively soon
[Nexus 6P Original Android Development] OmegaBlaze:
Will do! Also, your download link on the OP goes directly to v3. Not sure if that's intentional.

---------- Post added at 10:03 PM ---------- Previous post was at 09:54 PM ----------

Well it it gets pass the boot screen, but it goes to a screen asking for a password.

This seems to be pretty common with other kernels I tried.

The only kernels that boots up with f2fs is Flash kernel, and Faster kernel (Darkroom development).
[Nexus 6P Original Android Development] frap129:
I'll take a look at flash to see if I'm missing anything other than updates, thanks for the quick report. Im cherry-picking all of the f2fs commits up to linux 4.9, so the next release should have the most up to date f2fs driver
[Nexus 6P Original Android Development] OmegaBlaze:
No problem. I'll be waiting for it.
[Nexus 6P Original Android Development] Masterleon:
I had the same problem using the latest version of Benzo (Dec 12) and the 7.1.1 zip. Just gets stuck at the Google logo.
[Nexus 6P Original Android Development] frap129:
Benzo has a custom kernel built in, along with some custom ramdisk changes that my cause issues.
[Nexus 6P Original Android Development] frap129:
Currently, the changes on the table for v6 are:

F2FS Compatibility

Improved brightness algorithm

Make Adreno Idler display state aware (better power savings)
[Nexus 6P Original Android Development] greyhd:
Thank you for the continued updates.
[Nexus 6P Original Android Development] ariefabuzaky:
Is v6 already out ?
[Nexus 6P Original Android Development] Pollie81:
It's says on the table which means he's working on it. He gives a heads up for upcoming changes.
[Nexus 6P Original Android Development] HiM@L:
changes for next update looks awesome...excited specially for new toolchain. :good:
[Nexus 6P Original Android Development] frap129:
v6 is up! Now you can enjoy electron for longer, and on f2fs roms! Flash away
[Nexus 6P Original Android Development] winxuser:
F2fs is working for you??? It's not working on my kernel, so if it's working in yours I might take a look to see what I have done wrong
[Nexus 6P Original Android Development] frap129:
Just merge in the f2fs repo from git.kernel.org
[Nexus 6P Original Android Development] winxuser:
I did that but still not working apparently
[Nexus 6P Original Android Development] Thunderbolt:
Dev do U recommend to use any profile here?

N6P
[Nexus 6P Original Android Development] frap129:
I have my own profile setup by default, which is what I recommend
[Nexus 6P Original Android Development] ariefabuzaky:
delete
[Nexus 6P Original Android Development] nathanchance:
You're probably missing the fstab mounts: https://github.com/Flash-Kernel/AnyKernel2/commit/b6cbce5d93e0e961273f4eb8a5026d1d4c4e8222
[Nexus 6P Original Android Development] winxuser:
No I have them in my anykernel source :/ I most likely miss merged something in the f2fs sources, as I'm still not 100% knowledgeable in fixing mismerge errors
[Nexus 6P Original Android Development] Shockz:
Are there plans to add wake gestures to this kernel?
[Nexus 6P Original Android Development] Brokerzhang:
Does fingerprint sensor lag still exist?
[Nexus 6P Original Android Development] xflowy:
arent they in already. op states so.
[Nexus 6P Original Android Development] godelsproof:
Is Electron Kernel disable force encryption?
[Nexus 6P Original Android Development] OmegaBlaze:
Yes.
[Nexus 6P Original Android Development] frap129:
Its hard to find things to change with the kernel, so if anyone has suggestions, I'd love to hear them. Currently, the only change I have for v7 is adding the January patch.
[Nexus 6P Original Android Development] i42o:
hot plugging??? works well on other kernels, and i've come to find that it doesnt cause instabilities.. thats the only thing that this would need. [MENTION=5051294]frap129[/MENTION]
[Nexus 6P Original Android Development] HiM@L:
i don't know if anyone suggested this or how you feel about this but only thing i would wish is sleep gesture.

---------- Post added at 11:04 PM ---------- Previous post was at 10:56 PM ----------

i don't know if anyone suggested this or how you feel about this but only thing i would wish is sleep gesture.
[Nexus 6P Original Android Development] frap129:
Hotplugging seems to cause more drain, at least for my usage. If it do impliment hotplugging, it will probably be lazyplug by arter97, which doesn't use the standard load-based plugging.

Sleep gestures are typically ROM features (assuming you mean double tap status bar to sleep and double tap lockscreen to sleep)