yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] Abhyankar 97:
Hi there. I am on Los 16.0 and have been using ngk v2.6 along with the ngk app. I usually stay in the battery mode which shuts down the big cores and runs only on the little cores. Only sometimes I go to the gaming+ mode but I always make it a point to get back to battery mode since the battery life of OnePlus 2 is not that great. Recently I've noticed that once the battery percentage gets below 15%, irrespective of the mode that I am in, somehow all the cores get activated and the battery starts draining quicker because of this. I thought that the stock android battery saver might be a culprit here and turned off the automatic battery saver option. But even then as soon as the battery goes below 15%, all the cores get activated and I have to go to the app and change it again. I'm not saying it's a big deal but it would be nice if the issue is fixed and I could go back to relying on the app again. I don't know whether this is a kernel issue or app issue or it might even be the rom I have no idea. Thanks in advance for the help.
[OnePlus 2 Android Development] Pierre2324:
Actually under 20% battery current limit shuts down all big cores and this often causes higher battery drain (yea even if less cores on) but this prevents phone from shutting down randomly under 20%. So this is not an issue but a normal behavior.
[OnePlus 2 Android Development] Abhyankar 97:
No that's not what I'm trying to say. Most of the time during the day I stay in the battery profile of the ngk. That setting involves big cores to be shut down and little cores having a max frequency of 960mhz. When the battery percentage goes below 15% and the native battery saver get switched on, all of the cores gets switched on that is the ngk automatically gets switched to balance profile but in the app it'll still be showing as battery profile. With all the cores switched on, the battery drain becomes faster.
[OnePlus 2 Android Development] scorthyn:
Hey, I'm having issues with deep sleep it seems. When the battery is low the phone locks up and doesn't wake up, forcing me to restart. Any idea how to fix it? Using latest LOs
[OnePlus 2 Android Development] Pierre2324:
Some say it doesnt happen on AGK
[OnePlus 2 Android Development] Pierre2324:
Turn off automatic battery saver
[OnePlus 2 Android Development] SkyeNymph:
I'm sorry if this question is rude or anything but I would just like to know if there are any plans to continue updating EAS build
[OnePlus 2 Android Development] Pierre2324:
Hmm yea its been updated and is still being updated tho I don't have much time these days.. doing my summer internship and a lot of house stuffs to do so..
[OnePlus 2 Android Development] Pierre2324:
DTS Headphone X update

Hey everyone!

New DTS Headphone X v2.0 app can be downloaded from here

Changelog can be seen here
[OnePlus 2 Android Development] FERR0US:
Notification LED and brightness adjustment don't work on latest LOS 16.0 nightly (20190528) anymore
[OnePlus 2 Android Development] Pierre2324:
Weird no kernel changes have been made to LOS kernel
[OnePlus 2 Android Development] FERR0US:
Fixed on 0530, so it might be a userspace regression
[OnePlus 2 Android Development] K3n H1mur4:
Is it expected that the phone loses offline charging on AGK? When plugged in with a depleted battery, it does not enter the offline charging screen ("battery icon"), instead it remains on oneplus splash screen and it won't turn off (thus the phone goes hot as hell). It does indeed charge (rebooted to TWRP after ~1h and it showed around 30% charged), but not as it should when turned off.
[OnePlus 2 Android Development] lucyr03:
Known issue, charge with phone on or in twrp.
[OnePlus 2 Android Development] ms225:
Will this work on Moto g5 plus?
[OnePlus 2 Android Development] abhijiths362:
Nope
[OnePlus 2 Android Development] souvikdas95:
[MENTION=7031006]Pierre2324[/MENTION] I currently have a situation with my OnePlus2. More than often, if not under-clocked/volted using your kernel, the device hangs and reboots. After having tried everything on my part, I came to the conclusion that the processor is not strong enough to work in its default capacity anymore. I've already got the Power IC replaced twice but the condition only worsens over time. In current condition, since your NoGravity app doesn't apply the configuration at the time of booting (on property:dev.bootcomplete=1), I have started to witness these random reboots at the time of boot now! As a simple workaround, I was able to put your "profile.battery.sh" script into my "etc/init.d", however I believe with your help, I can make it more efficient, perhaps if possible, your kernel could set the clocks and voltage at boot time as a feature or option. Please suggest a solution. I really do appreciate your effort on this kernel. It's been a life-line to my OnePlus2.
[OnePlus 2 Android Development] chxei:
video recording is messed up, set default video codec and restarted but it doesn't work. is there any chance to get it working without dirty flash? maybe only some files or setting needs to be overwritten. crdroid oreo
[OnePlus 2 Android Development] Taju201:
I am using lineage OS 16 and I recently flashed No gravity EAS kernel. It was successful, but No Gravity App is not working. I gave it root access but it got stuck in splash screen. Then I tried kernel Audiutor, it works but changing GPU min frequency doesn't work
[OnePlus 2 Android Development] Pierre2324:
-> Private Message
[OnePlus 2 Android Development] chxei:
umm, I am still waiting for someones reply ??
[OnePlus 2 Android Development] pops106:
Just updated from 2.2 to 2.6 and auto brightness doesn't seem to be working.

ArrowOS, I used the aosp kernel.

I am on a older arrowOS from December I think.

Positives though, the phone is much snappier and battery seems to be much better. The improvements you have made really stand out.

Edit - I have flashed the lineage one instead and things seem ok now
[OnePlus 2 Android Development] Abhyankar 97:
From your screenshots I can see that there is no notification icon of the no gravity app. If by accident you have switched it off, then I suggest you turn it back on because it clearly says that persistent notification is required for the service to be active. Also, after every boot it takes almost 2-3min for the no gravity services to turn on and in that time you won't be able to use the app.
[OnePlus 2 Android Development] desteele:
I have the very same situation - Lineage OS and got the kernel loaded through sideload, app is loaded and starts up but freezes in splash screen. I made sure any notifications available were turned on in settings. Is there any other setting I need to check? Root is granted...
[OnePlus 2 Android Development] Abhyankar 97:
Basically there are two versions of the kernel. One is with EAS and the other is the regular one. I first tried the EAS version but I was facing the same issue. The app wouldn't load at all for me. Then I tried the normal Version, the one without EAS and somehow it just clicked. So I suggest trying out both the versions of the kernel
[OnePlus 2 Android Development] desteele:
Neither version worked for me...
[OnePlus 2 Android Development] desteele:
[MENTION=7031006]Pierre2324[/MENTION] do you have any suggestions?
[OnePlus 2 Android Development] desteele:
Oh well, back to Linux kernel I go.
[OnePlus 2 Android Development] Pierre2324:
I dont know thats weird.. only thing that can prevent app from launching is no root access or corrupted user data (but uninstalling and installing back or just wiping app data fixes that)
[OnePlus 2 Android Development] desteele:
Dunno...I was definitely rooted and uninstalled/reinstalled multiple times. No worries...thanks for responding.
[OnePlus 2 Android Development] BeHappyToo:
I have a question about using the Pocketmode switch. When I set it on and I put my Oneplus 2 (with LineageOS Pie latest release) in my pocket the flashlight turns automatically on after approx. a minute or so.

I checked if I had activated the power button to turn on the flashlight, but that is off.

Has someone else had this issue too or do I something wrong?

Thanks!
[OnePlus 2 Android Development] Pierre2324:
Probably the V torch gesture?
[OnePlus 2 Android Development] BeHappyToo:
All the gestures were deactivated. I have switched to AGK and it didn't happen anymore.
[OnePlus 2 Android Development] smhsnr:
I am using lineage OS 16 and no gravity app not working what should we do?
[OnePlus 2 Android Development] chxei:
You should install kernel first, flash zip through recovery, then you'll be able to use application
[OnePlus 2 Android Development] Pierre2324:
Kernel + App Update

Good news! New build (2.7) and new NoGravity 2.7 app are up , please read changelogs in post #2! thread updated..

Don't forget to take a look at the new Battery Charging Screen! Yea offline charging issue is fixed:cool:
[OnePlus 2 Android Development] juanitopons:
Hi there,

First of all, thanks for the kernel.

I'm having an issue with the No gravity kernel app. No problems ablut kernel, but the app keeps getting stuck on "applying boot settings" notification, draining too many battery. It gets the message "getting root" (permission which I gave it undefinedly when i first started the app) but it doesn't appear to go forward. If i stop app from setting, battery get back to its normal drain.

Is someone of you experiencing something similar?

Thanks (:

---------- Post added at 07:53 PM ---------- Previous post was at 06:57 PM ----------

It never ends...and it makes kernel laggy. Like it was in a loop.

https://i.imgur.com/0QWoH4A.png
[OnePlus 2 Android Development] Pierre2324:
Go in app info, delete app data completely, open the app. That should ppen the app then swipe right to remove boot delay.
[OnePlus 2 Android Development] Harshdeepagrawal:
Hi everyone, can I install this kernel on stock oxygen os 3.6.1
[OnePlus 2 Android Development] Vishal Gharat1:
Read the op first

There is no way to install this on oos 3.6.1

This kernel is for oreo & pie
[OnePlus 2 Android Development] Harshdeepagrawal:
Hey thanks for the response.

In that case is there a fix to call echo issue on stock oxygen
[OnePlus 2 Android Development] Vishal Gharat1:
I think there was check in themes and apps section i saw it there somewhere
[OnePlus 2 Android Development] Pierre2324:
Kernels + App Updates

Good news:cool: New NGK, AGK & NGK EAS Builds along with the App updates are here! Please do read the juicy changelog! Thread updated quite a lot and new detailed infos about the EAS Kernel in post#3. What suit you best picture with charts to compare the three kernels updated in OP too.

For Android 10 users, make sure you flash latest Magisk after you flash the kernel!

If you don't want root simply do not install the app afterwards

Let's celebrate this new release with a new antutu benchmark record and a new Logo! => (spoiler alert) :cool:

As you can see from the new logo, NGK and App will support Xiaomi Pocophone F1 device shortly..

As I put a lot of time and effort into Android development, wmbruckner (OnePlus 2 user now on Pocophone) created a crowdfunding so I can get the device for NGK development,

If you want to support me you can do so here:

https://www.gofundme.com/f/ngk-for-poco
[OnePlus 2 Android Development] BeHappyToo:
Thanks a lot. My I ask which custom rom you are using [MENTION=7031006]Pierre2324[/MENTION]
[OnePlus 2 Android Development] Pierre2324:
Im on CrDroid Q by Lucy
[OnePlus 2 Android Development] cbx8850:
Which partition you recommend to use f2fs [MENTION=7031006]Pierre2324[/MENTION] ? I tried google about f2fs and saw many people use f2fs on /data and /cache partition.
[OnePlus 2 Android Development] Pierre2324:
I use F2FS on data and cache partitions.. make sure you take a backup of internal when formatting data since it will erase everything in there :cyclops:
[OnePlus 2 Android Development] FERR0US:
3.0 is very unstable for me.

ROM is LOS 16 11/06 nightly. I tried everything, NGK, NGK-EAS and AGK. And the phone crashed very often even with all stock settings.

Have to go back to 2.7

Did you undervolt the CPU even more in 3.0?
[OnePlus 2 Android Development] Pierre2324:
No I didn't.. I will have a look
[OnePlus 2 Android Development] aK_mr3'ofive:
Where will I get NGK App v2.7? Or is it okay to use v3.0 App with NGK v2.7?
[OnePlus 2 Android Development] VanAndel:
Same here, phone became very unstable and unresponsive. Reverted to 2.7 and now it runs excellent again.
[OnePlus 2 Android Development] Pierre2324:
Use latest no problem
[OnePlus 2 Android Development] Pierre2324:
Hmm okay well I never had any issues with 3.0 but 3.1 will most likely fix this
[OnePlus 2 Android Development] winner2017:
Selinux enforce support on 3.0 EAS? I am on Los 16 and only permissive

I was tryed on los 15 (8.1) permissive only

And crDroid 6 (android 10 - permissve only

Selinux enforce important for me

Add support.

Thanks
[OnePlus 2 Android Development] echoot:
yes. im too. using PE btw. sometimes hangs & reboot. have to revert to 2.7 again.
[OnePlus 2 Android Development] aK_mr3'ofive:
[MENTION=7031006]Pierre2324[/MENTION] bro please provide the previous versions of NGK App. I have tried the the latest app with 2.7 kernel version.. App doesn't respond, keeps crashing in the background, all the processes keep crashing in the background like system.ui, bluetooth, etc..
[OnePlus 2 Android Development] Pierre2324:
You can get them on androidfilehost they are all in the same folder
[OnePlus 2 Android Development] Pierre2324:
Cant most of the things need permissive now.. why you need enforcing?
[OnePlus 2 Android Development] Pierre2324:
Will be fixed in 3.1
[OnePlus 2 Android Development] Pierre2324:
You can use my app and set selinux to enforcing
[OnePlus 2 Android Development] CounterC:
HI Pierre, I'm using Lucy's crdroid android 10 that has built in anti gravity 3. Now I want to switch to no gravity so I flashed 2.7 on top of that (because eas 3 still has some problems). When booting on 2.7 the system ui goes blank. I chose lineage OS version of the kernel. Is that correct?

Edit: got it working but now app says I don't have gravity kernel installed. See screenshots
[OnePlus 2 Android Development] CounterC:
Attached

Edit : solved, was because of no su rights...
[OnePlus 2 Android Development] Pierre2324:
Yea blackui will happen if you dont flash magisk after kernel, and app will say this if the kernel is not present or spp doesnt have superuser permissions ??
[OnePlus 2 Android Development] Cvk vamsi krishna:
Could anyone tell how to change little cores cpu minimum frequency from 748mhz to 300?
[OnePlus 2 Android Development] Pierre2324:
By default it is set to 300mhz, are you on Pocophone? If so wrong thread mate
[OnePlus 2 Android Development] Cvk vamsi krishna:
Oh yeah, sorry mate!:angel:
[OnePlus 2 Android Development] Pierre2324:
Kernels + App Updates

Good news! :cool:

NoGravity,NoGravity EAS & AntiGravity Kernel v3.1 released! Please read changelog and notes. Thread updated..

Happy holidays everyone here! Here's my gift to the community :cool: Hope you'll love it!
[OnePlus 2 Android Development] Drhedphuk:
Thank you very much, happy holidays to you too.
[OnePlus 2 Android Development] Pierre2324:
Was wondering actually if anyone was still here
[OnePlus 2 Android Development] CounterC:
We are :fingers-crossed:

---------- Post added at 04:31 AM ---------- Previous post was at 04:27 AM ----------

I have a question regarding the 60fps camera mod. When selecting 60fps there's a huge crop compared to 30fps. Why is that necessary??
[OnePlus 2 Android Development] Pierre2324:
Yea necessary since oneplus 2 is not made for it and nice to see there are still some users using it
[OnePlus 2 Android Development] Drhedphuk:
Definitely, I love this phone. I will only move on when it cannot be developed anymore.
[OnePlus 2 Android Development] CounterC:
Pierre I want to report a bug that I think is related to the kernel. When recording a video in 30fps and stock oneplus2 setting from your gravity app, the length and size of the video in other apps is very strange. For example in screenshot you can see 2 recorded videos of a few seconds. Eventhough in Google photos they show the length is super long. And also when sharing in whatsap the size is huge (1,1GB) which is impossible for a few seconds video (see second screenshot).

Any idea?
[OnePlus 2 Android Development] Pierre2324:
Hmm I dont know will have a look
[OnePlus 2 Android Development] CounterC:
When I select stock codec and reboot everything's fine. So I'm guessing it's a problem with h265 and h265+...
[OnePlus 2 Android Development] Pierre2324:
Yea could be, this could be more related to other apps since h265 isnt really implemented in apps. H264 (default) is
[OnePlus 2 Android Development] SAGGY69:
Updated to 3.1 last night and it shows this and also I think the scrolling has gotten a bit laggy, usually felt when you scroll after the screen was idle for 2-3 seconds. I'm on lineage os, flashed magisk after flashing kernel. The idle battery usage is really great though, loving it.:)
[OnePlus 2 Android Development] Pierre2324:
Shows this because you are not on NGK EAS
[OnePlus 2 Android Development] CounterC:
Pierre I still have this video problem where the files have impossible lengths and huge sizes for only a few seconds video (reported before). It keeps coming back. I'm using Google camera mod 5.1 and eas 3.1 with 3.0 kernel app. What more info or log can I provide you to get this right?
[OnePlus 2 Android Development] Pierre2324:
You are using h265 right? Cant do much about it.. use stock codecs instead
[OnePlus 2 Android Development] CounterC:
Nope I use stock...

And with stock I have the same problem [MENTION=7031006]Pierre2324[/MENTION]
[OnePlus 2 Android Development] SAGGY69:
So the 3.1 isn't EAS?
[OnePlus 2 Android Development] Pierre2324:
There is a non-eas and an eas version
[OnePlus 2 Android Development] SAGGY69:
Oh okay, thanks. Found it in the 2nd post. Updating to EAS
[OnePlus 2 Android Development] Pierre2324:
Kernels + App Updates

Good news! NGK, NGK EAS, AGK and NoGravity Kernel App 3.2 are out! Thread Updated, make sure you read changelog :cool:
[OnePlus 2 Android Development] Whitefang##:
Thanks for the updated NGK for OP2. Can you please update the link. Cant download for NGK lineage OS. Thanks!
[OnePlus 2 Android Development] Pierre2324:
Links Updated

Links Updated for NGK LOS and both EAS NGK :cool:
[OnePlus 2 Android Development] CounterC:
Latest EAS 3.2 gave me already 2 black screens where I need to long press power button to force restart in the last 12 hours... What info do you need?
[OnePlus 2 Android Development] Pierre2324:
Hmm, thats weird I never face this.. nothing much can be taken in terms of logs for that, thats the thing..
[OnePlus 2 Android Development] Pierre2324:
Actually I got 2 things for you:

1. Sleep_Disabled

su

echo 1 > /sys/module/lpm-levels/parameters/sleep_disabled

This one above doesnt affect battery

If above doesnt work try this

2. Disable State 3

su

echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state3/disable

I have no idea if that one affects battery but ahouldnt that much I think

(This will reset on a reboot) let me know if the value changes after some time also but I dont think it will
[OnePlus 2 Android Development] CounterC:
Both will reset on reboot? I can make a Tasker script on boot...

What value change do you want to know?
[OnePlus 2 Android Development] Pierre2324:
Both will reset to 0 or N after reboot. So yea you can run a script to make those value change. This is to test your blackscreen issue.
[OnePlus 2 Android Development] Whitefang##:
Hey dev,

I have noticed that on NGK v3.2 , after applying gaming profile the temp shoots to even 90 degrees and beyond with light gaming and the phone switches off.

I observed that all big cores keep running continuously.

With gaming+ profile the temp is ok but none of the big cores work.

Can you please make a profile where the gpu is overclocked and atleast one of the big cores work so that it would deliver high frame rates with acceptable temp?

I might be wrong here pls share your opinion.
[OnePlus 2 Android Development] Pierre2324:
Hmm simply apply gamimg profile, (not gaming+) and set max big cores to 1. I use EX kernel manager.

Big cores are the heat generator but also are needed for performance. Turning them all of is kinda meh will kill all performance. Maybe setting max number of big cores to 1 may help you.

Let me know ?
[OnePlus 2 Android Development] CounterC:
First script seems to solve it Pierre. I haven't had a black screen since a few days... Thanks a lot!
[OnePlus 2 Android Development] VanAndel:
Edit: I followed the path shown in the script and saw an error, I had to replace a - with a _ and now the command ran without an error. I will report back in a few days. Thanks again!

[MENTION=4919255]CounterC[/MENTION] : I also tried to run the first script Pierre kindly provided but I don't seem to make it work. I have not much experience with this command prompt. I get the following error message:
[OnePlus 2 Android Development] Pierre2324:
You can simply follow the file paths I mentionned and change the file content manually in a file manager.
[OnePlus 2 Android Development] VanAndel:
Thanks Pierre, I got it to work.

Ran my phone as usual since my previous post and ZERO lockups since I applied the first fix. Awesome! Is this something you will implement in a new release?
[OnePlus 2 Android Development] Whitefang##:
Do i have to type su echo1 and run? In the mentioned file path? Pls can u specify the steps

Thanks
[OnePlus 2 Android Development] Pierre2324:
Glad it works, yea will be turned on by default in ngk 3.3

Go there with a file manager will be easier for you, and change content of the file. Tho you will have to do it on every reboot
[OnePlus 2 Android Development] Whitefang##:
It would be great if you tweak the gaming profile a little more in your upcoming release. Phone gets unbearbly hot even when max two cores are on. And gaming+ lags.

But I must say this is the best kernel for me

Thanks

Keep up the good work dev!
[OnePlus 2 Android Development] SkyeNymph:
Anyone else suddenly get audio issues since flashing NGK 3.2 eas? I tried on both pie and q, and even on a clean flash, my notifications and ringtone sound slowed down, glitchy, and distorted. This didn't happen with 3.1
[OnePlus 2 Android Development] tusar8:
That's awesome. Thank you. ?
[OnePlus 2 Android Development] Gauri Shanker:
Is it work on Latest AOSIP Rom
[OnePlus 2 Android Development] Pierre2324:
Yea?
[OnePlus 2 Android Development] kbit013:
Yes,

Very good bro, I hope we can holding the phone while gaming with a good temperature.

mine just 45℃ to 50℃ when play Mobile Legend and Vainglory it too hot for holding and touch the screen.

waiting for next updated ?
[OnePlus 2 Android Development] Pierre2324:
Yea mate something big coming soon?...

Edit: btw maybe thats the battery °C? Because 40°C on the cpu isnt hot
[OnePlus 2 Android Development] Pierre2324:
Good new! New build (1.7) is uploading with some great additions ? please read changelogs in post #3! Updated the OP and new Reserved Post#2 for my modified Spectrum App!
[OnePlus 2 Android Development] tusar8:
Do we need to remove kernel adiutor to use your spectrum app?
[OnePlus 2 Android Development] akashvshetty:
Its working

---------- Post added at 05:48 AM ---------- Previous post was at 05:24 AM ----------

It laga alot specially when you press the back and recent button. And that spectrum app is not working. Whenever I open the app it completely blacks out. Noting shows up.
[OnePlus 2 Android Development] hadi-yaseen:
When i install the kerenl the phone doesn't want to boot into the system it keeps restarting ??!
[OnePlus 2 Android Development] akashvshetty:
Yeah even I get those problems. But when I flash back the 1.6 version and then again I fash the 1.7 version .then it successfully boots . But it lags alot .
[OnePlus 2 Android Development] hadi-yaseen:
What kind of lags ??

---------- Post added at 09:46 AM ---------- Previous post was at 09:40 AM ----------

I'm back on the 1.6 lineage version cus i cant boot into the system with the new update
[OnePlus 2 Android Development] akashvshetty:
System lags alot