yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] Driivebye:
Updated my AOSIP ROM this morning then flashed 1.7 No Gravity kernel update; i'm using "Performance" profile in spectrum app, and phone its smooth and more battery friendly than before!

Thanks for the update.
[OnePlus 2 Android Development] Pierre2324:
No no need to remove you can mess around with both?
[OnePlus 2 Android Development] Pierre2324:
You need to wait some time after the device boots.. then it works properly?
[OnePlus 2 Android Development] akashvshetty:
Ok I will try again.
[OnePlus 2 Android Development] hadi-yaseen:
I waited alot and i didn't i dont know why is there any fix for me ??
[OnePlus 2 Android Development] Pierre2324:
Wipe its data/cache then reopen it... screen goes black sometimes for first use wait till it grants SuperSU access, make sure it does so also
[OnePlus 2 Android Development] Trupen:
1.7 bootloop

---------- Post added at 04:10 PM ---------- Previous post was at 03:45 PM ----------

Did you clean flashed Rom and then flashed kernel 1.7

Bcoz in my case I dirty flashed rom then flashed 1.7 but giving bootloop

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

[MENTION=7031006]Pierre2324[/MENTION]
[OnePlus 2 Android Development] FPSUsername:
Very impressive update!

It's lightning fast in booting heavy games (gaming profile in Spectrum).

The thermal limit of 75C (what I prefer) keeps the phone cold enough to hold it comfortable.

Best of all, no real performance issues yet!

And uuh, battery? I have no idea, I think my battery is pretty much worn out and I believe that there aren't any replacements available (many people report that the replacement batteries have as much charge as their worn out ones), unless I give my phone to OnePlus. But to be honest, I do think I can manage 3-4h of SoT like I would with the stock AOSIP kernel.

Kudos to you sir, I don't know what magic you added, but it works!
[OnePlus 2 Android Development] Pierre2324:
Yea sorry for that I know the fix and wont be an issue in next update anymore. Did not remember it had this effect on EAS kernel version. For now you need to do this in terminal to fix it:

su

echo 1 > sys/module/lpm_levels/parameters/sleep_disabled

This will restore after reboot so you will need to enter this again on a reboot
[OnePlus 2 Android Development] Pierre2324:
You cant make the phone cool while gaming unless you disable big cores, you can disable ngk thermals but dont expect too high performance doing so. Next update will heat less tho due to ddr boost on input. It will now be disabled by default but possible to enable it in my app. This feature made the phone heat a bit more in ngk 3.2.
[OnePlus 2 Android Development] SkyeNymph:
Thank you so much, this worked fabulously!
[OnePlus 2 Android Development] Pierre2324:
Kernels + App Updates

Good news !

NGK 3.3 and 3.3 app are up with some good additions! :cool: Mi 8 is now also supported. Thread updated, make sure you read the changelog...

Back to work :cowboy:
[OnePlus 2 Android Development] eXtremeDevil:
Hi, is it normal NOT to have an indicating LED when charging phone when it is off?? Is this controlled by kernel or ROM?

Thanks.
[OnePlus 2 Android Development] Pierre2324:
Okay, so a looooot of people asked for a telegram group..

Here it is:

NoGravity Development Telegram Group

https://t.me/nogravity_dev

Notes:

-I wont be posting test builds there

-This is for discussion related to my projects

-I won't be able to handle the spam and don't tag me for nothing, I have a life too so I won't be reading everything. I will read everything that is here on XDA only. If you tag me there I will most probably read it but dont expect me to be super active there.

See yall there :cool:
[OnePlus 2 Android Development] CounterC:
Any idea?
[OnePlus 2 Android Development] eXtremeDevil:
Happened to me with an unofficial TWRP, have you tried with the official one?
[OnePlus 2 Android Development] CounterC:
No, because I needed the unofficial one to flash my ROM...
[OnePlus 2 Android Development] eXtremeDevil:
Well, you can try booting official TWRP without flashing it with fastboot.

---------- Post added at 10:50 AM ---------- Previous post was at 10:40 AM ----------

Well, now I'm having the same problem with AGK, only "ERROR 2" this time...
[OnePlus 2 Android Development] eXtremeDevil:
Solved now with the help of a project developer, guess updated version will be on first posts soon...
[OnePlus 2 Android Development] FastJack2:
With the 3.3 version I get some weird behavior...

As the battery dops below 40% I got frequent random reboots and some absolutely weird battery behavior. See attached screenshot after reboot...

Edit:

Seems like more than 40% on the screen...

Edit 2:

It's been a few days now with the 3.3 kernel and the reboot problem seems to be gone. At least it did not happen since.
[OnePlus 2 Android Development] MAFLO321:
[MENTION=7031006]Pierre2324[/MENTION] could you rebase on top of LineageOS 17.1 Kernel or cherry pick the following commits, please:

570a01ae225e47de270bac455bc38a04ee369c55 (https://github.com/LineageOS/android_kernel_oneplus_msm8994/commit/570a01ae225e47de270bac455bc38a04ee369c55)

f53fde2eb0d83f9b6a703c18ce547dd40539bd09 (https://github.com/LineageOS/android_kernel_oneplus_msm8994/commit/f53fde2eb0d83f9b6a703c18ce547dd40539bd09)

1b0885f5499ad75b41c14f6d39ebb9cd76580f5a (https://github.com/LineageOS/android_kernel_oneplus_msm8994/commit/1b0885f5499ad75b41c14f6d39ebb9cd76580f5a)

db763651f73d879e12160b2beeaaf5ff17cfd300 (https://github.com/LineageOS/android_kernel_oneplus_msm8994/commit/db763651f73d879e12160b2beeaaf5ff17cfd300)

This should fix boot problems using this Kernel in combination with LineageOS 17.0 and 17.1 .

This commits add the memfd_create() syscall to the kernel.

This is required by Android ART and maybe other Android 10 stuff (see Change-Id: Ife2cebde713e14bd787f48628092650866e2ac09 (https://review.lineageos.org/c/LineageOS/android_art/+/259265)) .

Sorry, I'm new at xda, I'm not allowed to post links.
[OnePlus 2 Android Development] Pierre2324:
Reuploaded them should work now
[OnePlus 2 Android Development] Pierre2324:
Hello and welcome to XDA bro, are you the new maintainer of official LOS? Nice to see you got the memfd thing? will for sure be in the next NGK update.
[OnePlus 2 Android Development] MAFLO321:
No, I’m not a maintainer of LOS, but I tried to build LOS 17 for my oneplus2, because there are no up to date official nor unofficial builds out there.

And I got stuck at this error, and figured out the problem in the kernel, and contributed that to the official repo.

Because I think opensource communities life from contributing/submitting/backporting the stuff back to the main projects.

And I could not find the patch in NGK so, I notified you, because I would love to use NGK again ?.
[OnePlus 2 Android Development] Pierre2324:
Yea ROMs used to revert the ART changes to make kernels work without the memfd thing
[OnePlus 2 Android Development] Pierre2324:
Kernels + App Updates

Good news !

NGK 3.4 and 3.4.2 app are up with some good additions! Thread updated, make sure you read the changelog... :cool:
[OnePlus 2 Android Development] Drhedphuk:
Thank you.
[OnePlus 2 Android Development] Pierre2324:
Kernels Update

New kernel update 3.4.1! you can get it from the NGK app directly or from the XDA thread links :cool:
[OnePlus 2 Android Development] SAGGY69:
Flashed OP2][EAS][LOS]NoGravityKernel_3.4.1 and also flashed magisk after that.
[OnePlus 2 Android Development] Pierre2324:
Yea im reuploading every builds right now
[OnePlus 2 Android Development] SAGGY69:
Thank you, everything is working fine now
[OnePlus 2 Android Development] spraynard23:
Module Support

Great kernel, I'm enjoying the speed up. Does this kernel have support for modules? I get an error when I try to use insmod to add nfs capability. Is it possible for me to replace the Image.gz-dtb file with my own that has nfs support, or would this cancel the performance enhancements? Would it be possible for you to provide the kernel parameter file you used to generate your Image.gz-dtb file so that I can create the same file with nfs support enabled? Sorry for all of the questions, I am just not sure how to proceed.
[OnePlus 2 Android Development] CounterC:
Are you stopping this development?
[OnePlus 2 Android Development] Pierre2324:
I wont give nfs support, also if you change image.dtb you are changing the whole kernel
[OnePlus 2 Android Development] Pierre2324:
Nope still working on it, mostly the app and EAS
[OnePlus 2 Android Development] CounterC:
That's great because I still get black screens, slow charging and heating up of device with your kernel. I'm happy to test a new update...
[OnePlus 2 Android Development] Pierre2324:
Blackscreens are mostly fixed seems like a cpu binning issue and that would explain why some face it and others dont.

A lot has changed for next version so heating may be fixed and slow charging is fixed and was mostly caused to heating so I guess you r issues will be fixed, hopefully.
[OnePlus 2 Android Development] herdih:
[MENTION=7031006]Pierre2324[/MENTION] pleae sir...would you built this kernel for xiaomi mi max prime ... our device is almost dead... please build our kernel

thank's
[OnePlus 2 Android Development] FastJack2:
Hey there,

first of all I'm really impressed by your kernel, runs buttery smooth and battery life is also great. But I recently came across an issue. First thought was that it was a rom issue but now on a new rom I can confirm that it's kernel related.

Whenever I flash any of your kernels, VPN stops working. Is there any chance for you to fix this? Do you need logs?

Kind regards,

FJ
[OnePlus 2 Android Development] Sbenglorkar:
I am not able to install this on AEX.

When I flash this through twrp the installation is successful but when I try to turn on the phone , it's getting stuck in boot loop.
[OnePlus 2 Android Development] adityadeva:
Flashing the kernel in aex -android 10, sends the device to bootloop..
[OnePlus 2 Android Development] Pierre2324:
Hmmyea could be wireguard, will be updated to latest in next update
[OnePlus 2 Android Development] Pierre2324:
More info? Rom, android version
[OnePlus 2 Android Development] Pierre2324:
Hmm yea android 10 roms removed the hack used for syscalls. So kernels need the fix to boot. Its fixed now in test builds. I run it on evo x
[OnePlus 2 Android Development] adityadeva:
I'll move to evo x too since aex is as good as dead.

Any link for the evo x compatible build
[OnePlus 2 Android Development] Pierre2324:
Nope its not done yet
[OnePlus 2 Android Development] Pierre2324:
Send logs, I thought it was due to kernel not being up to date, but it is..

EDIT: Tested on LineageOS and bootloop is fixed for next kernel update
[OnePlus 2 Android Development] Xubuntu121:
I cannot turn off NGK thermal configuration, everytime I restart it revert the setting.
[OnePlus 2 Android Development] Pierre2324:
Good news!

Both kernels and app have been updated! (incl EAS/AGK)

App has been rebased entirely and made from scratch all over again, took a while but it's for the best! :cool:

For those who haven't seen the trailer : NGK Kernel 3.5 + App 4.0 Trailer

I can now recommend the NGK App, its fast & smooth and has some interesting features. Feel free to share your custom profiles with the NGK community!

Thread + Changelogs have been updated make sure your read at least the second one along with its notes.

For those who aren't part of the NGK Telegram group, join the fun here:

Telegram Group
[OnePlus 2 Android Development] Pierre2324:
Small App 4.0.5 Update

Small app update mostly for Pocophone F1, but fixes a small issue on EAS for frequency selection algorithm.:cool:
[OnePlus 2 Android Development] FastJack2:
[MENTION=7031006]Pierre2324[/MENTION]:

Any news on the VPN? Does still not work on 3.5.0

Kind regards
[OnePlus 2 Android Development] Pierre2324:
Nope, thought that having wireguard would fix it.
[OnePlus 2 Android Development] FastJack2:
Can you tell me if this will be implemented/fixed? And if so, do you need anything? Logs or such?
[OnePlus 2 Android Development] Pierre2324:
I have no idea if I'll even continue to work on the oneplus 2 tbh, the device is old and its time consuming for the low number of people still using it. You can send logs when trying to connect to your vpn using matlog. Start recording the logs just before doing it so you are not sending a 2mb text file that is hard to read.
[OnePlus 2 Android Development] rihan_shawn:
NGK for Evo X

I'm using Evo X rom as a daily driver. for me Evo X is the best Android 10 rom for OP2. but NGK don't work on that. it's so sad. please work on it
[OnePlus 2 Android Development] akashvshetty:
What? NGK does work bro. NGK works on every op2 roms so far
[OnePlus 2 Android Development] rihan_shawn:
but i flash NGK AOSP build in twrp it take almost 30 minute... stuck on boot animation
[OnePlus 2 Android Development] akashvshetty:
Something's wrong on your end then , delete the old one and re-download it again and flash
[OnePlus 2 Android Development] SkyeNymph:
Hey there, I am having this sound issue again on 3.5 EAS. Is it the same problem and solution or....?
[OnePlus 2 Android Development] Pierre2324:
Hmm you can try it ?
[OnePlus 2 Android Development] rihan_shawn:
I'm also use Evo x rom... can you please look at this rom and make a compatible NGK build for this rom.
[OnePlus 2 Android Development] Pierre2324:
Im on evo x too, works fine, make sure you have latest ngk
[OnePlus 2 Android Development] rihan_shawn:
Yes it works :good: great battery life + low heating.. Thank you NGK
[OnePlus 2 Android Development] SkyeNymph:
Didn't work sadly
[OnePlus 2 Android Development] CounterC:
And how is that working for you?

I have slow wake up screen, device gets quite hot, slow charging (compared to stealth), and freezes now and then.

What kernel version are you on?
[OnePlus 2 Android Development] Pierre2324:
Works fine, latest. No issues at all.
[OnePlus 2 Android Development] CounterC:
Ngk, anti gravity or eas ?
[OnePlus 2 Android Development] Pierre2324:
NGK
[OnePlus 2 Android Development] N3cron:
Hi. In your latest kernel ngk eas i can not change to 302 Mhz. I use smartpack kernel manager. Can you plz add this? Thx
[OnePlus 2 Android Development] N3cron:
Hi. I am using your eas kernel and it works good. Now i want to test your ngk kernel. I testesd aosp amd lineageos. For me both wont boot up System. What can i do? Flashed rom again but nothing happens. Go back to eas, system boots normal. Im on EvolutionX if it helps. Thank for answer
[OnePlus 2 Android Development] Suhu007:
I'm using Ngk eas on aex 7.2

Everything seem okay at first day but on second day i started to have issue with wifi, i have to turn it ON and OFF many times to Turn ON my wifi..

I tried flashing stealth kernel and with stealth i don't have this problem.

Any help?
[OnePlus 2 Android Development] virtualgmashine:
Hello i installed this kernel on my oneplus2 with evo 4.7 rom. How much time will it take for the first boot ?
[OnePlus 2 Android Development] virtualgmashine:
did it boot after 30 minutes ?
[OnePlus 2 Android Development] Pierre2324:
Was removed due to some instabilities for some people
[OnePlus 2 Android Development] Pierre2324:
Merry xmas everyone! 🎅🏼
[OnePlus 2 Android Development] loppodoppo33:
booting to a blackscreen on lineageos 17.1 - worked initially but after a while sticks on black screen and doesnt boot properly, phone works properly when reflashing stock kernel
[OnePlus 2 Android Development] Pierre2324:
Rom update?
[OnePlus 2 Android Development] loppodoppo33:
Yeah I'm on the 9th Dec nightly - is there a particular LOS 17.1 build you'd recommend for using with your kernel? Would love to stick with it as the performance + battery boost makes it like night and day going back to stock
[OnePlus 2 Android Development] Pierre2324:
I dont know the frequency of los updates on oneplus 2 but it used to work when latest ngk came out. So an earlier build should work.

Edit: weird enough no kernel changes for LineageOS were made.
[OnePlus 2 Android Development] Pierre2324:
Issue is on your side, it works fine (has been tested). May want to remove any magisk modules or something new you added
[OnePlus 2 Android Development] Suhu007:
Can you tell me what SOT you are getting on lineage 17.1?
[OnePlus 2 Android Development] Pierre2324:
Happy new year to everyone 🎉 wish you all the best! Keep defying gravity!😎
[OnePlus 2 Android Development] Suhu007:
I have found a solution xD

I'm on lineage 17.1 latest version just flashed it on new year, so i was using aex an aosp based rom and i had ngk eas aosp version and by mistake i flashed ngk eas aosp kernel on lineage 17.1 but thankfully it's working fine xD
[OnePlus 2 Android Development] IssaNewtonic:
Hey @Pierre2324, hope you are doing great, Would you suggest the ROM that goes well with NGK-EAS Kernel (Only Priority is Battery Life). Also if you can share a tip or two with kernel settings to get the best battery backup it would be a dream. Thank you!
[OnePlus 2 Android Development] Pierre2324:
Up to date?

LineageOS, else use older android version as op2 is getting old for new ROMs.

You can use ngk app and set battery profile for more battery out of it. Can also turn off ngk thermals but I would keep them on for better experience.
[OnePlus 2 Android Development] IssaNewtonic:
Thank you so much for getting back. I am currently using Lineage 17.1 (02/01/2021) build with stealth Kernel, getting around 2.5 SOT (got my battery replaced last week). Used to use NGK with EvolutionX before this. Gotta go back to NGK soon as possible.

Also quite intrigued to ask which ROM are you currently running on your OnePlus 2?
[OnePlus 2 Android Development] Pierre2324:
I usually have 3-4h sot on mine on ngk balance profile but now I dont use it much. I have evo x on it tho.
[OnePlus 2 Android Development] IssaNewtonic:
Woah, looks like I gotta go back and try Evo again. 3-4 hrs isn't really a bad deal for a 5-year-old phone. Thanks a lot for the suggestions buddy.
[OnePlus 2 Android Development] Pierre2324:
Im not sure on evo x tho, havent used it much since im on it, I used to be on crdroid
[OnePlus 2 Android Development] hurricaneadc:
Hi, I have no magisk modules installed. I tried flashing the kernel on android 10 linage 17.1 OS but it keeps booting to TWRP recovery. Help is appreciated!
[OnePlus 2 Android Development] Suhu007:
It works fine with lineage 17.1

I'm currently using it myself

only problem kernel have with lineage 17.1 is "can't change thermals to stock even with ngk app and can't optimize apps
[OnePlus 2 Android Development] Pierre2324:
For the app optimizations, charging overnight is enough. Forcing them to optimize on oneplus 2 is quite an expensive task. For the thermals I dont know why it does that, if you really need stock thermals you can try AntiGravity Kernel
[OnePlus 2 Android Development] Suhu007:
I tried optimizing them overnight and they did optimized but as soon as device restarts it goes back to the way it was

And with antigravity kernel, device keeps rebooting to recovery.
[OnePlus 2 Android Development] Pierre2324:
I mean, app wont tell you but if you charge overnight, apps will be optimized
[OnePlus 2 Android Development] Suhu007:
I'll try tonight
[OnePlus 2 Android Development] ReikaRin:
great kernel, i'll be using some of your commits as cherrypick, can i mention you in the credit list?
[OnePlus 2 Android Development] Pierre2324:
Ye noprob, you working on op2 or?
[OnePlus 2 Android Development] ReikaRin:
nah not op2, just some old device that use 3.10 kernel.. just trying to find patches for them.. so i'll just decide to say Hi and Asked politely about it, i mean newer device have it better with their 4.x or 5.x kernel.
[OnePlus 2 Android Development] Pierre2324:
Aiight yup noprob take what you need, I work on pocophone now (4.9)
[OnePlus 2 Android Development] ARSrîLànkå:
It seems the Sourceforge downloading doesn't work for me. The request get timed out for some reason. Is there any other way to download the latest EAS for LOS.

Thank you.
[OnePlus 2 Android Development] Jaiwantn:
Am running LOS 17.1, phone is not rebooting after I flashed this kernel.

I restored my old stock kernel to get rebooted pls help @ Pierre2324
[OnePlus 2 Android Development] Jaiwantn:
My phone is not rebooting after installing this
[OnePlus 2 Android Development] VolkaynoTheGod:
hooolyyyyy molyyh this sounds so illegal to have (not literally but bc its sooo good)

is the project still alive ? or has it been perfected already ?

emm is it possible to unlock locked settings for mobile legends as well (just curious)
[OnePlus 2 Android Development] VolkaynoTheGod:
pocophone f1? what are you a god ?
[OnePlus 2 Android Development] Pierre2324:
What are you talking about?
[OnePlus 2 Android Development] Pierre2324:
Just changed phone, oneplus 2 is old
[OnePlus 2 Android Development] Jaiwantn:
OLD??? Install Evo X you will like it is new....:D:D
[OnePlus 2 Android Development] Jaiwantn:
My phone stuck on bootloop after installing all the kernels mentioned above
[OnePlus 2 Android Development] Pierre2324:
Not really lol its slow on recent android versions
[OnePlus 2 Android Development] Pierre2324:
Are you sure you are using latest 3.5? Flashed it on Lineage OS 18 and it boots fine here.
[OnePlus 2 Android Development] Jaiwantn:
I can only able to get the download link of version 3.3
[OnePlus 2 Android Development] Missignal_Dev:
Use the EAS version
[OnePlus 2 Android Development] Pierre2324:
I will look at links but builds are on SourceForge now not AFH
[OnePlus 2 Android Development] Pierre2324:
Updated the links, seems like only EAS had its link up to date. Now it should be working for everyone.
[OnePlus 2 Android Development] Jaiwantn:
now I got the link thank you so much, will download now
[OnePlus 2 Android Development] Jaiwantn:
My phone is not rebooting when I installed EAS version, and rebooted in normal NGK kernel, but I am experiencing random reboots, after that I installed AGK kernel, it is working fine.
[OnePlus 2 Android Development] Pierre2324:
didnt face those issues, maybe your temps are too high
[OnePlus 2 Android Development] Jaiwantn:
I tried this kernel in all the ROM mostly.....why my device is only not booting after installing nogravty kernel and also the EAS version.
[OnePlus 2 Android Development] Pierre2324:
Idk, send logs, make sure you are on latest version
[OnePlus 2 Android Development] Jaiwantn:
I tried flashing v3.5(both normal and EAS), in Evolution , Bootlegger, Mokee, Lineage, AEX... none of them boots
[OnePlus 2 Android Development] Pierre2324:
Weird, I used them before, try getting logs I cant do much
[OnePlus 2 Android Development] Jaiwantn:
How to get the logs...pls
[OnePlus 2 Android Development] Pierre2324:
Google is your friend..

"How to take logs on Android: Logcat, dmesg, and ramoops" https://www.xda-developers.com/how-to-take-logs-android/amp/
[OnePlus 2 Android Development] Jaiwantn:
Actually I can get logs only after the phone completes its boot know....After installing this is is stuck in bootloop....(to get logs using android studio)
[OnePlus 2 Android Development] Pierre2324:
Logs can be taken as soon as bootanim is present via adb shell
[OnePlus 2 Android Development] Jaiwantn:
u r saying this only know
[OnePlus 2 Android Development] Jaiwantn:
is this that required log, or the second one
[OnePlus 2 Android Development] Jaiwantn:
@Pierre2324 any response for this log, is that the required log or not, I have another log also..
[OnePlus 2 Android Development] Pierre2324:
Logcat + dmesg
[OnePlus 2 Android Development] Jaiwantn:
bro I cannot upload this dmesg after uploading it is not visible to me
[OnePlus 2 Android Development] Jaiwantn:
am uploading dmesg along with this message
[OnePlus 2 Android Development] kaldibun:
so like, i want to use this kernel but it has no selinux. i mean ZERO, the libselinux is missing entirely. there was a post by OP (Pierre2324) that it's possible to turn it on in the ngk app but there's nothing in there too

the question is simple: HOW to turn it on
[OnePlus 2 Android Development] Pierre2324:
You cant anymore, its permissive