yashsingh1/xdaforums huggingface dataset:
[Moto G6 Questions & Answers] TrueGodFlow:
Sure!

[IMG="g6"]http://oi63.tinypic.com/25sswt2.jpg[/IMG]
[Moto G6 Questions & Answers] Xplorer4x4:
The only other thing I can think of that may or may not work is a blankflash. Search the forums for it.
[Moto G6 Questions & Answers] Thomas Hunter:
You don't need to unlock oem as I got the same problem a year ago with my moto g5 plus so basically what I did was keep trying to flash a different fimware and eventually it worked with installed a firmware with oem locked.
[Moto G6 Questions & Answers] Galoso:
Oem locked is different than flash locked.
[OnePlus 2 Android Development] _undead:
Stealth is a minimal kernel focused on improving efficiency while maintaining stability. Selected features are added to improve the user experience.

300Hz Timer Frequency

Stripped down debugging

USB fast charge

Disabled unused stuff

Display Panel ULPS mode

Power Efficient WQs

Click Here

Dirty flash your ROM or install stock boot.img

Flash the zip in recovery

Credits to

Whomsoever's commits & work I have used in my source

Testers

Special thanks to @Wmbruckner @SimplyJeevS @human_glitch1_1 (designed this thread)

Telegram Group

XDA:DevDB Information

Stealth Kernel, Kernel for the OnePlus 2

Contributors

_undead

Source Code: https://github.com/mukul2259/stealth_oneplus2

Kernel Special Features:

Version Information

Status: Stable

Stable Release Date: 2019-09-23

Created 2018-09-15

Last Updated 2020-09-18
[OnePlus 2 Android Development] _undead:
From now on, all the releases will be hosted on Github. Click 'Assets' button to gain access to the zips.
[OnePlus 2 Android Development] _undead:
Reserved
[OnePlus 2 Android Development] Pierre2324:
First? good job and welcome in kernel dev mate?
[OnePlus 2 Android Development] SimplyJeevS:
Good job very proud buddy :)
[OnePlus 2 Android Development] chxei:
CPU: Big Cluster Governor-Powersave, kidding? this means turning off big cores, performance drop on heavy apps will very significant
[OnePlus 2 Android Development] SimplyJeevS:
Bro can you read that's not the default that's his "Better Battery" profile
[OnePlus 2 Android Development] hariharanM25:
Pierre and jeebs wrote something, y not me:p .. I'm also present:D . congrats to myself for nothing:laugh:
[OnePlus 2 Android Development] mukeshp7867:
Trying on AICP Oreo ROM. Kernel version shows 'Unavailable'.
[OnePlus 2 Android Development] hariharanM25:
Yeah some roms are showing like that. Rom related. If u open up Ex kernel manager or kernel adiutor and u can see about the kernel u have installed..
[OnePlus 2 Android Development] _undead:
Thank you guys, you helped me a lot during this. Cheers to you also ?

[MENTION=5691949]hariharanM25[/MENTION] XD
[OnePlus 2 Android Development] hariharanM25:
Cheers.. Btw change the word let into lot:p. Ha ha
[OnePlus 2 Android Development] Ravi shukla:
Not working for lineage OS 15.1

I flashed it with lineage os but after flash it stuck on the boot logo can someone help me please?
[OnePlus 2 Android Development] _undead:
Are you on Ozzy's build or Shreesha's?
[OnePlus 2 Android Development] Ravi shukla:
How to check
[OnePlus 2 Android Development] Prinjal Dave:
[MENTION=4867044]_undead[/MENTION] this means he is on Ozzy's build

Nice work [MENTION=4867044]_undead[/MENTION]
[OnePlus 2 Android Development] _undead:
Nvm, it's known. We are finding the cause of that.
[OnePlus 2 Android Development] _undead:
Thanks mate :)
[OnePlus 2 Android Development] StefanoZen5:
How to enable WQ power saving?
[OnePlus 2 Android Development] hariharanM25:
Use ex kernel manager. It's there.
[OnePlus 2 Android Development] Vishal Gharat1:
How is the gaming performance and charging speed on this kernel
[OnePlus 2 Android Development] igerula:
The same for me on Ozzy's build Los 16.
[OnePlus 2 Android Development] _undead:
Known, I'm finding out the issue that causes kernel to not boot on Ozzy's builds.
[OnePlus 2 Android Development] Vishal Gharat1:
Im having issues sometimes hardware buttons lose vibration ?
[OnePlus 2 Android Development] _undead:
Charging speeds are set go 1980mah, I am personally able to get very fast charge speeds. Also, I played PUBG on this, works fine. Tho I use GFX tool.

No user reported this, which rom are you using and which version did you flash?
[OnePlus 2 Android Development] hariharanM25:
Try to change vibration strength in Kernal adiutor or Ex kernel manager.
[OnePlus 2 Android Development] ishtpreet991:
Which file to flash for RR 6 Android version 8.1?
[OnePlus 2 Android Development] hariharanM25:
Los version.
[OnePlus 2 Android Development] rizkhanjra:
Where are links ?
[OnePlus 2 Android Development] FPSUsername:
Do you even know what this thread is about?

It's in the first post!
[OnePlus 2 Android Development] naja09:
First day with this kernel. Got my personal record with this device and battery. Never got such a high runtime.

Very great so far!

Thank you for creating this great piece of bits and bytes :)
[OnePlus 2 Android Development] rizkhanjra:
Haven't seen that download tab ! This app suck sometimes!
[OnePlus 2 Android Development] Ezanchi:
Tried any other Kernel?

Hey buddy!

Have you tried any other Kernel which gave you any more battery life?

I have LOS 15.1, what android version do you have?
[OnePlus 2 Android Development] _undead:
It's just the first cycle, let it stay and it will improve further ? Welcome mate ?
[OnePlus 2 Android Development] naja09:
Aosp and nope, that's my first one. But this combination is already better than any Oreo rom I had (only aosp pie was way worse than Oreo shreesha los, so this kernel made a lot)

I'm excited to see what's possible :svetius: :cyclops:
[OnePlus 2 Android Development] FPSUsername:
If you read the first post, you'll see links to the downloads. There's no such thing as a "download tab"
[OnePlus 2 Android Development] rizkhanjra:
Okay
[OnePlus 2 Android Development] pranjal18:
Can someone elaborate on "battery temperature relaxed to improve charging speeds at higher temperatures"
[OnePlus 2 Android Development] _undead:
Usually the kernel limits charging speeds when the battery reaches certain temperature, but batteries are designed to handle temps more than the stock one. Stealth has increased thresholds for that.
[OnePlus 2 Android Development] remix abhishek:
Thanks for the kernel

I can feel more juice from one charge and no performance issue
[OnePlus 2 Android Development] Makorus:
Can't wait for the fix for LOS 15.1, this kernel sounds very promising!
[OnePlus 2 Android Development] hariharanM25:
Very soon
[OnePlus 2 Android Development] octaviogs5:
Where and how can I change/get these values?
[OnePlus 2 Android Development] _undead:
Install a kernel manager app, EX kernel manager or Kernel Aduitor
[OnePlus 2 Android Development] hariharanM25:
Bcs we don't have much testers yet..all are busy. And i got pbm with my adb detecting my device on recovery mode to take boot log. Then only mukul can identity the issue. Can u join the discord server and help us to take boot log of los 15.1 with stealth kernel installed?
[OnePlus 2 Android Development] Makorus:
I'd love to help, I just don't have Discord on my computer as I don't like that program haha. :P

I tried to capture the boot log, but it remains empty...

adb -d logcat>C:\androidboot.log

Any other ideas?
[OnePlus 2 Android Development] hariharanM25:
That los build u have would be not user debugable. So u need to flash debugable boot.img for lineage os after flashing the rom and u should flash stealth mate. Type adb logcat > bootlog.txt and run it when the boot screen appears. That's it. I'll give u modified boot.img. and it is advisable to share logcat privately that's y asked u to install discord or u can use it in mobile.. If ur bootlog is empty go back to recovery directly from boot logo after running it for atleast 2 mins, mount system go to sys/fs/pstore folder then copy all the files named console-ramoops, dmesg-ramoops, pmsg-ramoops and send those files to mukul on Private message here or discord. And here is the boot.img link for u. Thank you for ur help mate.

https://drive.google.com/file/d/1IPfjtQtqrZtj-AMi-9UyYykML8q7-9no/view?usp=drivesdk
[OnePlus 2 Android Development] Makorus:
Hey mate, sorry for my late reply, I was at work. Just got back and did what you asked for, there you go (see attachment).

01-05 14:48:12.769 411 592 E libc : Access denied finding property "hw.cabl.yuv"
01-05 14:48:12.777 751 751 W /vendor/bin/hw/android.hardware.light@2.0-service.oneplus2: Failed to open /sys/class/leds/button-backlight/brightness, error=13 (Permission denied)
01-05 14:48:12.778 751 751 W /vendor/bin/hw/android.hardware.light@2.0-service.oneplus2: Failed to open /sys/class/leds/button-backlight1/brightness, error=2 (No such file or directory)
01-05 14:48:12.778 751 751 W /vendor/bin/hw/android.hardware.light@2.0-service.oneplus2: Failed to open /sys/class/leds/button-backlight2/brightness, error=2 (No such file or directory)
01-05 14:48:12.779 751 751 E /vendor/bin/hw/android.hardware.light@2.0-service.oneplus2: Failed to open /sys/class/leds/red/brightness, error=13 (Permission denied)

Looks like this issue is related to the backlight LEDs? :P
[OnePlus 2 Android Development] hariharanM25:
No pbm mate appreciate ur help. Will forward it to mukul and let's see
[OnePlus 2 Android Development] 21RUTVIK:
Which rom you have??
[OnePlus 2 Android Development] naja09:
Pie PE, latest update
[OnePlus 2 Android Development] fonfox:
Pixel Experience and Stealth ??
[OnePlus 2 Android Development] salvoandrearomeo:
For Pixel Experience 9.0 i must download the AOSP version?
[OnePlus 2 Android Development] fonfox:
Yes AOSP
[OnePlus 2 Android Development] _undead:
Read the first post, you'll find it there
[OnePlus 2 Android Development] guitarrr:
Led notifications not working
[OnePlus 2 Android Development] naja09:
Everything is working fine for me on pie.

Little request: I think pocketmode is a kernel feature so is it possible to implement this?

If you don't want it: no problem for me :)

Anyway thanks for this great kernel, it's my daily driver
[OnePlus 2 Android Development] Dominik.94:
Is this kernel working with latest lineage os official?
[OnePlus 2 Android Development] rizkhanjra:
Hey buddy, thank for this kernel. And i have came across one unknown awful problem, i have installed sony music module for audio. It was working fine before. But now it conflict with main Equaliser, and it keep making weird sound. Untill u turn on inbuilt equaliser on
[OnePlus 2 Android Development] hariharanM25:
It's having issues with official los. So mukul is currently working on fix.it will be available soon
[OnePlus 2 Android Development] Dominik.94:
Nice ?

Really need a custom kernel again but nobody develops for the 2 anymore?
[OnePlus 2 Android Development] hariharanM25:
Now u have ngk kernel for official los.
[OnePlus 2 Android Development] zickler_malta:
i'm on Shreesha's RR 6.2.1 and am getting stuck on boot screen :(
[OnePlus 2 Android Development] hariharanM25:
New updated roms with new sources getting boot loops..mukul is working on that
[OnePlus 2 Android Development] Ramshu97:
Yesterday I installed the Stealth Kernel on my OP2 running with PE ROM the best kernel so far on my phone. Great battery life and good performance thank you very much for the wonderful kernel.:svetius:
[OnePlus 2 Android Development] Dac0908:
Flashed on last LOS 14.1 and it is working fine, it seems :)
[OnePlus 2 Android Development] _undead:
Long time since last update, I have been busy lately with some personal stuff, but there were still some test builds based on official Lineage OS kernel. For now, it's been acting strangely as it is a hit or a miss, works for a couple of my testers while doesn't boot for others. [I rebased it because the older kernel source refused to boot on Lineage OS 16.0 by Ozzy]

Moreover, the Oreo versions aren't booting up on some ROMs, that's an issue with all the kernels out now, and we developers are working to get a solution asap.

Following is an ALPHA build of Stealth, rebased on official Lineage kernel. Please take a backup before flashing this as this isn't guaranteed to work for all.

Download

Cheers!
[OnePlus 2 Android Development] igerula:
Hi. I have flashed the new version on lineage is 16.0 by Ozzy. Boot ok. Wi-Fi not turning on.
[OnePlus 2 Android Development] _undead:
Please post logs here or send in Discord group
[OnePlus 2 Android Development] igerula:
I'm unable to save the file. The file manager don't see anything on internal storage. I'm sorry.
[OnePlus 2 Android Development] hariharanM25:
New test build working just fine. Developer will release it soon
[OnePlus 2 Android Development] _undead:
v2.0 release

New build is up for grabs everyone. This LOS build working on Oreo as well as Pie based ROMs (including AOSP, will only break gestures on it). This build has been tested from quite some time now, and attached are some screenshots for the battery life.

Added a gaming profile in second post.

Busy with life rn, so AOSP build shall take some time. Thanks!
[OnePlus 2 Android Development] fonfox:
And this Kernel works fine

i Test the Beta on several roms Oreo and Pie verry good expierience
[OnePlus 2 Android Development] hariharanM25:
+1.... Perfectly working now... No heating issues too.. i hate to say this... But mukul did a good job with this. Ha ha:laugh:
[OnePlus 2 Android Development] _undead:
Thank you ?
[OnePlus 2 Android Development] chxei:
where is download link for new build? ?
[OnePlus 2 Android Development] _undead:
See the first post.
[OnePlus 2 Android Development] chxei:
ok it was linked to 1.0 release. now fixed. btw,corious why all kernel devs of op2 got rid of kcal? i am using it very much, and i think other people too.
[OnePlus 2 Android Development] _undead:
Probably they don't use the fetaure personally. Stealth 2.0 has it.
[OnePlus 2 Android Development] lalitakald:
Will it work for this?
[OnePlus 2 Android Development] hariharanM25:
Yeah it should.
[OnePlus 2 Android Development] nayte1993:
Just out of curiosity... Is there no change log available?
[OnePlus 2 Android Development] akashvshetty:
Sorry for delay , it will be uploaded soon
[OnePlus 2 Android Development] _undead:
Posted it previously, it didn't update somehow. Added the changes. Thanks for pointing out.
[OnePlus 2 Android Development] -earth-:
Hello, i take a look into GPU frequencys, in idle it is 267mhz, when i use it, it drops to 100mhz.

I have seen it in kernel adiutor.
[OnePlus 2 Android Development] mbapril14:
It broke fast charging on my PE rom. Didn't have any problems with ngk or arctic kernel.

Reverted back to ngk for now.
[OnePlus 2 Android Development] _undead:
Clear data of kernel aduitor and report back if it happens again.
[OnePlus 2 Android Development] _undead:
Allow the kernel to settle for some time, 2-3 cycles. It charges fine for my testers on pixel experience.
[OnePlus 2 Android Development] -earth-:
I test it.

But it is the same, 250 on idle, and 100 MHz on use (touch).

But i think it can be a problem of the governor adreano.

When i switch to simple ondemand, the problem is gone.
[OnePlus 2 Android Development] nelson pansare:
Will this work on havoc os...? bcoz it says aosp is still in development..!
[OnePlus 2 Android Development] Vishal Gharat1:
Yes it will
[OnePlus 2 Android Development] octaviogs5:
So, as per your post; it should work on AOSP (Pixel Experience Pie 9.0) correct?
[OnePlus 2 Android Development] hariharanM25:
Yes it should work.. but it will break the gestures. That's the issues of flashing los kernel on aosp based roms
[OnePlus 2 Android Development] _undead:
If you can, join the discord server or contact me on telegram, I can assist you better there. No one has faced it yet
[OnePlus 2 Android Development] chxei:
not for me. crdroid 4.7 android 8.1
[OnePlus 2 Android Development] mbapril14:
Works well for me on PE pie. Even gestures, double tap to unlock

---------- Post added at 12:50 PM ---------- Previous post was at 12:47 PM ----------

Well, tried again. Coincidentally battery drained to zero that night. Fast charging works until after that.

Thanks. Really nice kernel for OP2 pie. Tried ngk, arctic in the past. This is better than the both of them in terms of performance and battery backup.
[OnePlus 2 Android Development] diywizard:
Hi,

Has anybody got kcal support broke on oreo 8.1 like me? I selected on any color profile but nothing has change or adjust...
[OnePlus 2 Android Development] chxei:
yep, i dont have kcal too on oreo
[OnePlus 2 Android Development] _undead:
Works fine for my tester, he is on Mokee.
[OnePlus 2 Android Development] KaaliRaat:
Yup works fine here as well.
[OnePlus 2 Android Development] chxei:
this is not the case we expected i guess, its default color control of linage or smth. we mean kcal by savoca with saturation, conrast, hue etc. and rgb maximum values are 256 as i remember not 2^15
[OnePlus 2 Android Development] _undead:
Noted
[OnePlus 2 Android Development] Chaprnks:
After flashing this kernel it says "Kernel version: unavailable" in settings -> about phone. It also still shows all default kernel options in kernel adiutor.
[OnePlus 2 Android Development] _undead:
Kernel Version unavailable is a cosmetic bug on some roms. It will work normally with all the options. Didn't understand the last line you wrote.
[OnePlus 2 Android Development] Chaprnks:
Oh okay, that's interesting. I wonder why it's only with some ROMs and not others. I'm using AICP btw
[OnePlus 2 Android Development] _undead:
Hello everyone,

AOSP variant of this kernel is up now grab it from the first post. Do lemme know the feedback.

Enjoy!
[OnePlus 2 Android Development] _undead:
I've been a little busy with ROMs and getting the kernel refined. It's been a long since I actually updated this thread, I had other priorities. Also, due to time limitations, Stealth was limited for ROMs only in between, but now, I'll be pushing updates slow as I have a lot to deal with. Nonetheless, I will try to update as soon as possible.

Thanks!
[OnePlus 2 Android Development] playkish:
Hello, using the latest kernel. Everything is ok, but FP responding is very slow. I am using OREO.

Thanks.
[OnePlus 2 Android Development] Wmbruckner:
This is a known issue and being worked on by dev.
[OnePlus 2 Android Development] Dac0908:
Some big updates went on recently. I see lots of improvement after 31/01 even on old LOS 14.1 (last official version). Everything is smoother, faster, I think video recording was broken before but now works :confused:

Anyway, good work :good:
[OnePlus 2 Android Development] udo 240:
Thx for your pretty nice work on OP2!! :good:
[OnePlus 2 Android Development] The_Mech:
My favourite kernel :D really smooth and fast....hope to see zzmoove soon here too :D
[OnePlus 2 Android Development] _undead:
Hey everyone,

Updated the links in thread to latest Stealth version, yes, the build which is included in last AEX beta (unofficial, on OP2 Discord server).

Please note that as of now, no rom supports the new thermal solution except AEX beta build, (will make it's way to the next AEX and RR builds), it's rom side only for now. When I have time and a server (yup, my old server's credits are over), I will make it kernel side so that you can enjoy the same on any rom.

Will update the changelog soon, so stay tuned!

Enjoy!
[OnePlus 2 Android Development] _undead:
Thanks mate

Thank you :D

Is here, and thanks Sarthak.
[OnePlus 2 Android Development] Samyak039:
how to make all this in separate profiles for quick access..?
[OnePlus 2 Android Development] _undead:
Only if people vote for, I'd add these as spectrum profiles for easy switching.
[OnePlus 2 Android Development] Samyak039:
I vote for it. ?
[OnePlus 2 Android Development] _undead:
Link to AOSP variant is updated, no changes, but reuploaded to Google Drive as transfer.sh is a hit or a miss these days.
[OnePlus 2 Android Development] CounterC:
How come I cannot change frequency? I'm on crdroid
[OnePlus 2 Android Development] _undead:
Which kernel manager do you use?
[OnePlus 2 Android Development] CounterC:
Kernel adiutor
[OnePlus 2 Android Development] _undead:
Use EX kernel manager or smartpack, kernel aduitor is outdated. Also, confirmed with my testers, they don't have this issue
[OnePlus 2 Android Development] Odramarth:
Double tap when screen is off is bugged. With the option deactivated the double tap works anyway. And I'm facing a problem I don't.know if it's just me on AOSP kernel, Facebook it's taking 25 seconds to open. I'm using pixel experience based on AOSP and AOSP kernel that fixed my problem with a crash on a specific game. So i fixed the crashes with this excellent kernel but getting this 2 insues... Any1 getting this problems to or just me? Good work on this kernel mate.
[OnePlus 2 Android Development] _undead:
Double tap to wake isn't a kernel side issue, needs to be fixed by the PE dev on the device tree side. Also, clean cache and dalvik. Thank You. :good:
[OnePlus 2 Android Development] Odramarth:
nah nah nah nah :). i installed AGK and NGK ( KERNEL ) and dont have that inssue with rom.

Updated: so today I trie stealth kernel Los and have same insue with double tap option disable.
[OnePlus 2 Android Development] _undead:
LOS kernel on Pixel Experience? :confused:

Tag me on OP2 Discord server.
[OnePlus 2 Android Development] mbld97:
Heating Issues

i am using this kernel with RR V6.2.1 , hardly 5 minutes of browsing the phone heats up too much. I am using interactive governor.

Any solutions?
[OnePlus 2 Android Development] FPSUsername:
Problem with the SoC this phone comes with. When the ambient temperature is above 30 degrees Celsius, it's not avoidable that with every simple task, the phone's SoC reaches ~60 degrees and the battery 40 degrees.

This phone is pretty much only usable in cooler countries. I just wait till xiaomi releases a phone with the camera under the screen. I dislike notches and any mechanical moving part. (although the mi mix 3's hand sliding mechanism is really neat, the battery is just small and the price high)
[OnePlus 2 Android Development] mbld97:
But is there a way to fix it?

The phone was not heating with stock kernel, after flashing this kernel, battery is draining very fast on idle too and heating issues.
[OnePlus 2 Android Development] FPSUsername:
If you had no issues on stock kernel, use that one. If you don't have any issue with an other kernel (like AGK or Matrix), use those. I am not entirely sure what's happening on your end, check what's happening with the cpu/gpu temps on what you're doing (browsing, youtube, anything). It could be that this kernel uses a slightly more agressive setup to get more smoothness/performance out of your device (in this case at a cost of heat and maybe battery life)
[OnePlus 2 Android Development] _undead:
Hello guys,

Back here after a long time. Fixed thermal issues with this update, added a lot of goodness to the kernel. Lemme know what do you think.

Thanks!
[OnePlus 2 Android Development] wilfredzik:
Works like a charm. Aospextend 6.7.
[OnePlus 2 Android Development] wilfredzik:
Charging is very slow...
[OnePlus 2 Android Development] _undead:
Why did you even bother to flash on AospExtended 6.7 anyway, it has the literally same kernel in it. Also, charging speeds depend on a lot of factors, including your charging cable, ambient temps and more. Also, refrain the phone from charging while using.
[OnePlus 2 Android Development] wilfredzik:
Rom is not update yet. I know that all but rather everything is normal. False alarm :) great work anyway
[OnePlus 2 Android Development] SkyeNymph:
Does this kernel have DTS:X drivers?
[OnePlus 2 Android Development] _undead:
No
[OnePlus 2 Android Development] _undead:
Hello,

Back here after a long time.

Go through this: http://bit.ly/aexqnotes

Lemme know what you think.

Thanks!
[OnePlus 2 Android Development] Nixx7:
Thanks alot!!

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

Any plans for stealth kernel update?
[OnePlus 2 Android Development] _undead:
If people demand it, I mean I don't see this as very active tbh. If enough users respond here I will do it.