yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] kaldibun:
is there a reason why? and i mean there's no lib for selinux, how can it even be permissive

sestatus: libselinux returns unknown state: No such file or directory
[OnePlus 2 Android Development] Pierre2324:
Kernel is 3.10, device is legacy, even if it was enforcing it wouldnt be safe. Its permissive mainly because its old, my new kernels are enforcing. But for the kernel to be enforcing, since its a highly customized kernel, it needs its own sepolicies to be injected as ROMs do. Else NGK app won't work at all, new nodes and such need to be allowed. For a stock kernel its "easy" to be enforcing as long as ROM is.
[OnePlus 2 Android Development] kaldibun:
ok, sorry for asking. thanks....
[OnePlus 2 Android Development] Pierre2324:
Hmm libs should be ROM sided. For checking kernel selinux state run:

su

getenforce

Will return 0 for permissive and 1 for enforcing
[OnePlus 2 Android Development] kaldibun:
says it's permissive, Trust says "disabled" and sestatus returns "libselinux returns unknown state: No such file or directory". stock kernels in roms are reporting "enforced" out of the box
[OnePlus 2 Android Development] RafaelDeJongh:
Is there a kernell version for the Lineage OS 18.1 Android 11 perhaps?
[OnePlus 2 Android Development] Pierre2324:
Latest should do
[OnePlus 2 Android Development] naack:
Does this kernel support iptables ?
[OnePlus 2 Android Development] Wmbruckner:
Should work on mukul's LOS 19.1, right?
[OnePlus 2 Android Development] Pierre2324:
Hmm latest should 🤔
[OnePlus 2 Android Development] codexmx:
can i flash in miui stock rom
[OnePlus 2 Android Development] Pierre2324:
This is oneplus 2 thread.
[OnePlus 2 Android Development] Plikenz:
Hi, trying this on the latest Lineage OS 17.1 but no luck getting it to boot, is there any sequence for a successful flash?
[OnePlus 2 Android Development] OneDroid2:
I tried the NGK-EAS for LOS v3.5 with [ROM][T] LineageOS 20.0 for OnePlus 2 | Android 13 [BETA][UNOFFICIAL] | Signature Spoofing. It for sure booted faster past the 1+ logo but as soon as the OS was loaded I saw the locked screen for a flash an the OS got rebooted (so only seeing the 1+ logo at the first boot). I know the support has stopped but I guess sharing my experience never hurts.
[OnePlus 2 Android Development] Pierre2324:
Hmm ye iirc I fixed that in a 4.0.0 test build but never get the time to work for this old device again to eventually release
[OnePlus 2 Android Development] OneDroid2:
Did version 4.0.0 still had issues or is it just not tested properly? If its the testing part I am willing to try it at my own risk.
[OnePlus 2 Android Development] Pierre2324:
Dont think it had issues just kernel and app weren't fully ready for a release
[OnePlus 2 Android Development] hadi-yaseen:
Im talking about after instaling the update the phone dosent get to the boot animation logo and restart and dont open
[OnePlus 2 Android Development] Pierre2324:
Wow thanks for your amasome (amazing/awesome) feedback! will continue doing my best for future updates:cool:
[OnePlus 2 Android Development] Pierre2324:
For boot crashes:

First

you can just try to reboot it manually (holding power for 8+ seconds) a couple times

It'll fix itself

Second

make sure you flash my kernel over the stock ROM's kernel and then wipe dalvik/cache...

Third

if you still get issues try dirty flashing v1.7 (no dalvik/cache wipe) over the v1.6 build it did work for some...

EDITED: Sometimes the device only needs to cool down.. Instead of pressing reboot system after flashing power it off and wait untill the device get cold then boot!
[OnePlus 2 Android Development] Driivebye:
Dirty flashed rom update, and i let the first boot complete with stock kernel; then i've restarted phone once again and flashed 1.7 No Gravity Kernel.
[OnePlus 2 Android Development] kbit013:
does anyone face with stuck or game no running while play?

I try many game and am not sure why or the problems with Latest build of AiOSP 16.04.2018 or Gravity Kernel 1.7! ?
[OnePlus 2 Android Development] fonfox:
Is there a way to supply the unlisted frequencies? Otherwise, the new version runs very stable and also seems (by the undervolting ) despite overclocking to be very battery friendly.

Thanks for Update :) :good:
[OnePlus 2 Android Development] Pierre2324:
Thanks for the nice feedback yea I'll look into adding those missing frequencies!
[OnePlus 2 Android Development] Pierre2324:
Sorry dont understand anything you say
[OnePlus 2 Android Development] hadi-yaseen:
Still not working ?
[OnePlus 2 Android Development] tusar8:
Just for safety, this tip might help some of you. Before flashing the kernel. What i do is reset all the modification in the Kernel adiutor app. Then boot up into recovery and clear dalvik/cache and then flash or dirty flash the kernel and clear dalvik/cache. I haven't faced any issue of lagging or rebooting of the device with these steps.
[OnePlus 2 Android Development] kbit013:
am sorry too for my bad english bro,

What I meaning is does everyone face an stuck issue on every game (face on Mobile Legend, Dragon Nest. .)

about 3 or 5mn we can open and play normally but after 5mn the game are stuck and stop running and not show a fc or sth,

btw during stuck we can leave to home screen and open other app normallly.

this happen for me after I flash the new AOSiP last build and flash Gravity Kernel 1.7.

am not so sure the problem are from ROM or kernel, that why I ask for other who's face this issued like me or not.

thanks and have a nice day.
[OnePlus 2 Android Development] Asep sulaemsnsyah:
V. 1.7

I've tried v.1.7 just to play very slowly. I again used v.1.6 very smoothly playing king of glory. With high display mode. And the temperature is not too hot while playing and while in the charger does not interfere
[OnePlus 2 Android Development] tusar8:
Do not use battery profile in spectrum app if you are playing games. Make sure your gpu is running in frequencies like 600 Mhz and above.
[OnePlus 2 Android Development] playkish:
My Op 2 is on V 1.7 now. It's running very smoothly. I remove spectrum App. Because in performance mode it make the phone very Laggy
[OnePlus 2 Android Development] iDifferent:
hey I messed up and flashed it over an other kernel, got into fast boot after oneplus logo, tried flashing other kernels rebooting flashing 1.6 then 1.7 and then wipe dalvik/cache but it didn't work. Then I tried this other kernel from https://xdaforums.com/oneplus-2/ori...oneplus-2-2018-03-t3769803/page6#post76304980 and I got into a bootloop so I guess that's an improvement.

what now? how do I go back to stock kernel to flash no gravity?
[OnePlus 2 Android Development] tusar8:
The only thing you can do is wipe everything expect internal storage and flash the rom again. On stock kernel flash v1.7
[OnePlus 2 Android Development] kbit013:
thank bro, but in spectrum I used only balance & performance.

but while am playing game I used Gaming mode.

I don't understand why it stuck no running while playing.
[OnePlus 2 Android Development] Greezor:
[MENTION=7031006]Pierre2324[/MENTION] , can i change temp_threshold param? My freqs very fast drops to 864mhz on little cores and 960mhz on big. I change thermal_throttling param in ex kernel manager and this not working
[OnePlus 2 Android Development] Trupen:
Request to add pocket mode feature
[OnePlus 2 Android Development] FPSUsername:
Use kernel adiutor
[OnePlus 2 Android Development] stubbysado:
Happened to me. Stock kernel or custom kernel. Might not kernel problem.
[OnePlus 2 Android Development] kbit013:
so what we do bro?

report to ROM builder?
[OnePlus 2 Android Development] tusar8:
Run the game once in stock kernel, check if it freezes again. If it does, probably incompatibility of the game with the rom.
[OnePlus 2 Android Development] ketansharmar:
1.7 working with LOS 8.1 (Unofficial), anyone tried?
[OnePlus 2 Android Development] Greezor:
No effect
[OnePlus 2 Android Development] stubbysado:
Don't know if ROM maintainers would be interested to fix this (if it was ROM fault). Anyway, just provide logcat if it would help. Because the weird thing is it didn't happened on 8.0 ROM before.

---------- Post added at 08:44 PM ---------- Previous post was at 08:35 PM ----------

Fresh install, stock kernel LineageOS official. Still freeze. Yeah, probably game incompatibility. :confused:
[OnePlus 2 Android Development] Pierre2324:
Hey everyone! I uploaded a bootfix in OP 's download section for those who were not able to boot my latest v1.7 kernel, it works for AOSP and LineageOS builds! Just flash my v1.7 kernel then flash NGK_bootfix.zip (also wipe dalvik/cache) (Full procedure in the OP's download section) If you use the bootfix and want to overclock, do it manually using any kernel tweaking app! (Spectrum's performance profile won't overclock using bootfix.zip) Sorry for the inconvenience.. This will be included in future updates!

EDIT: I would also like to know if it boots for everyone now, thanks!
[OnePlus 2 Android Development] Pierre2324:
Thats weird phone shouldnt be laggy on performance mode maybe your cpu doesnt like overclocking.. maybe you want to add a little voltage in kernel adiutor to make those frequencies work... still thanks for using my kernel!?
[OnePlus 2 Android Development] tusar8:
My guess is game developers usually support the official version of android that is provided by the smartphone company, since there are many versions of android[custom rom], they might not look into the compatibility for each version. But i'm on LineageOS and i haven't faced any issue while gaming. And I'm not using spectrum app as i like to tweak the kernel with kernel adiutor myself. These are the settings that i change, settings both big and small cores at 1344 MHz, GPU at 650 MHz while gaming. Setting the temperature limit at 65°C. That's it.
[OnePlus 2 Android Development] hadi-yaseen:
Still not working cpu doesn't want to change like the stock kernel i guess I'm gonna stay on v1.6
[OnePlus 2 Android Development] Trupen:
It worked only once but after clean flash of ROM again bootloop
[OnePlus 2 Android Development] Trupen:
Ok so here is the solution for those who's device still does not boot up after flashing NGK 1.7 + bootfix zip,

1. Flash both the zip as instructed with wiping dalvik and cache

2.Power off your device after flash, let it cool down (Approx 5-10mins)

Then boot your device using power key

It should be booted with 1.7

Note : device gets hot while flashing anyzip in twrp, so 1.7 will work only when device is cooled down bcoz of high frequency used in 1.7
[OnePlus 2 Android Development] ketansharmar:
Not able to lock Frequency to 2.2 ghz, I'm using Kernel Adiutor. Is there any other way to overclock big cores?
[OnePlus 2 Android Development] Pierre2324:
Humm thats weird do you have any other kernel tweaking app installed?
[OnePlus 2 Android Development] Pierre2324:
Btw I have little cores overclocked frequencies... but not big ones
[OnePlus 2 Android Development] ketansharmar:
Which app should i use other than Kernel Adiutor?
[OnePlus 2 Android Development] Pierre2324:
No I was saying this because other kernel tweaking app could be running at the same time.. Btw what do you mean by locking frequency at 2.2GHz? Just setting max frequency to 2.2 or locking it at 2.2?
[OnePlus 2 Android Development] ketansharmar:
sorry, I want to set max frequency to 2.2
[OnePlus 2 Android Development] Asep sulaemsnsyah:
Update

Wating Update 1.8.

I hope next update best gaming hehe
[OnePlus 2 Android Development] Pierre2324:
okay well.. there should be no problem at all... using interactive governor and setting max frequency to 2.2 maybe clear kernel aidutor data and try again
[OnePlus 2 Android Development] Pierre2324:
Hey everyone! New Poll added: Can you all boot my v1.7 update?

Thanks for your answers this will help me for next update! My goal is to make it boot for everyone just like v1.6 but using higher frequencies.. so yea maybe there will be a little underclock in next update butdont worry, it won't be any lower than 1.8/2.0 (Little/Big). ?
[OnePlus 2 Android Development] F.eatR:
Flashed 1.7 with Fix. Works fine and very responsive. Phone stays cold even with PPSSPP gaming.

Undervolting works really good. (mostly under 800mV on little cores..)

there is no maple scheduler like you mentioned in the feature list. What about updates from the drivers?
[OnePlus 2 Android Development] Pierre2324:
thanks for reporting and using my kernel!:cool: and yeah I forgot to remove it from features list :o
[OnePlus 2 Android Development] F.eatR:
No Problem :)

Also edit the Build date in the Topic name. So people may see that there is a new version out there ;)
[OnePlus 2 Android Development] FPSUsername:
Would you mind sharing your voltage settings?

Have you also tried undervolting it so far till the phone freezes?
[OnePlus 2 Android Development] Pierre2324:
Just so you know... This is a CPU specific thing.. so his configuration might not work for you
[OnePlus 2 Android Development] mukeshp7867:
You should try under volting through Kernel Auditor.

To start with, use -50 across all frequency and set it to apply on boot. Gradually reduce it further and see how is the behaviour. I am using -80 safely without any issues since last 3 days and battery backup is good (about 5+ hours) and it lasts one full day without recharge on normal use - no gaming.
[OnePlus 2 Android Development] Trupen:
You mean this volting how much to set

For example 1st one is at 780 to have to set to 700 right ?
[OnePlus 2 Android Development] FPSUsername:
I know that, but many times it does work
[OnePlus 2 Android Development] F.eatR:
You got me. just tried 650 on every frequency. doesnt freeze. So the voltagecontrol does nothing.. :confused:

i am using the kernel adiutor..

:rolleyes:
[OnePlus 2 Android Development] FPSUsername:
Okay, this explains. It doesn't work and it never worked before. I only heard that uv is possible if it's Integrated/pre applied in the kernel. I haven't seen it yet that a user can adjust LITTLE.big SoCs voltages.
[OnePlus 2 Android Development] akashvshetty:
For me the charging speed is quite slow as compared to previous build. Otherwise this build is almost perfect.
[OnePlus 2 Android Development] Pierre2324:
Hmm sorry to hear that maybe thats my implementation it should work tho my first implementation worked and I changed stuff so I'll go back to first one thanks for reporting
[OnePlus 2 Android Development] Pierre2324:
Maybe this is due to stock thermals
[OnePlus 2 Android Development] akashvshetty:
Then what should I do now?
[OnePlus 2 Android Development] Pierre2324:
Pretty much nothing or wait v1.8 since the community requested stock thermal to lower their temps
[OnePlus 2 Android Development] neelsolanki:
place your phone near AC .. ??.. actually our processor is much senitive with climate !!
[OnePlus 2 Android Development] hadi-yaseen:
When the next update is going to be released ??
[OnePlus 2 Android Development] Pierre2324:
Asking for ETAs is not permitted on XDA..
[OnePlus 2 Android Development] mukeshp7867:
Right. Reduce all by 50. Try and then further reduce in steps.

Alternatively,

You can use Kernel Auditor. Go to CPU Voltage in menu. Slide left on top to enter into Global Offset. Reduce the voltage by pressing "-" button as per your choice (-50 to start with) for voltage reduction for all frequencies on global basis. Then select Apply on Boot and you are done.

Next time you do the same steps and you can reduce or increase from your last setting. It doesn't show your last setting - so be careful and note that further reduction or increase is from your last setting.

Hope, this helps you.
[OnePlus 2 Android Development] mukeshp7867:
My voltage setting are ...
[OnePlus 2 Android Development] mukeshp7867:
Not sure whether it works or not. Is there any way to check?
[OnePlus 2 Android Development] Pierre2324:
just put crazy low voltages and you'll see it doesnt work.. will fix it for next update it worked before..
[OnePlus 2 Android Development] Asep sulaemsnsyah:
Waiting for v.1.8 haha
[OnePlus 2 Android Development] jeb101:
I've tried to boot the 1.7 kernel with no success. Tried the fix, as well as the normal mode.

Second attempt was a freshly wiped device, with a fresh LOS, tried the build from 2 weeks ago, as well as Monday's build without success. I even went way above in terms of temp, and put the phone in an ice pack sandwich in case temps were an issue, phone was under 10c when I tried to boot, unfortunately it would either constantly reboot, or go to Fastboot mode.

Will keep poking at it if I can figure something out, or maybe I just have a crap CPU that can't handle the boot voltage
[OnePlus 2 Android Development] Trupen:
[MENTION=7031006]Pierre2324[/MENTION]
[OnePlus 2 Android Development] Pierre2324:
Humm thats weird.. you cant boot v1.6?
[OnePlus 2 Android Development] abhishekcal:
Does the kernel not provide the option to change the saturation setting under the screen option.

I was previously using the Blue Bolt Kernel and there was a setting in the screen option in the kernel auditor which allowed me to increase the saturation and contrast.
[OnePlus 2 Android Development] tusar8:
Which rom are you using? If its Lineage, its already built in in the settings.
[OnePlus 2 Android Development] FPSUsername:
Use kernel adiutor and these settings:

https://forums.oneplus.net/threads/...nce-setting-impacts-color-temperature.374636/
[OnePlus 2 Android Development] abhishekcal:
Thanks for the reply. Yes I am using LOS 15.1, which setting are you talking about the colour temperature one?

---------- Post added at 11:05 AM ---------- Previous post was at 11:03 AM ----------

The kernel audiutor is only showing the option for changing the RGB values and not the saturation and contrast.
[OnePlus 2 Android Development] FPSUsername:
Scroll down :))
[OnePlus 2 Android Development] tusar8:
Go to settings>display>live display>picture adjustment. No need to adjust anything in kernel adiutor.
[OnePlus 2 Android Development] abhishekcal:
Strange for some reason it is not showing me the options.

That same was present when I was using the default kernel and the BlueBolt.
[OnePlus 2 Android Development] abhishekcal:
Thank you so much Tusar its working.
[OnePlus 2 Android Development] FPSUsername:
Hmm, seems like there's something wrong, because that's not kcal.

Are you sure that the kernel is installed? Check settings -> system -> about phone.

Secondly, try to dirty flash the rom (or the boot.img from the rom), boot, go back to recovery, flash the kernel, shut down instead of reboot (or you may have a boot logo loop, if you do, press the power button until it reboots). See if that fixes it.

KA settingd are not related to rom.
[OnePlus 2 Android Development] F.eatR:
Same here like abhishekcal . Kernel + Fix installed. LaOS based Rom.
[OnePlus 2 Android Development] The nuub:
amazing kernel, lots of thanks to pierre

-jeevs
[OnePlus 2 Android Development] Pierre2324:
Thanks to you jeevs?
[OnePlus 2 Android Development] jeb101:
Sorry for such a delayed reply, I have not tried 1.6 yet, but if I have a chance I will later this evening.

I have tried again with older LOS build and the 1.7, and at one point,on a fresh install, it looked good, rebuilt the cache, and once booted, I check kernel and it simply told me I was still on stock kernel. Very weird indeed. Of course, 1.7, 1.7 + fix, all this was done on a brand new installation.
[Tilt, TyTN II, MDA Vario III General] klrob33:
I have absolutely no use for the PTT button. But the Voice Speed Dial button on the 8125 was great for me.

Is there anyway i can change the PTT button to pull up the Voice Speed dial instead?
[Tilt, TyTN II, MDA Vario III General] Rumball:
Absolutely!

There are at least three ways I know of on how to find out how to remap the PTT button on your tilt.

Method 1: Search this forum. Usually a good start would be to think about the question you are asking about...in this case "PTT button"...click on search and enter "PTT button" and the magic of a search engine will show you all the other times other people have been pondering the same question as you are.

Method 2: Easier than searching the forum is to simply go to the xda-wiki (see that along the top bar of the forum?) and read the kaiser/tilt topic on remapping your PTT button.

Both Methods 1 & 2 are stickied in this forum at the topic on all CAPS " SEARCH XDA-Developers using GOOGLE & READ THE KAISER WIKI!!! "

Method 3: Is the option used by a lot of people these days, which is to post yet again on this topic. Doing so will allow you to get someone else to do the 30 seconds of work for you to go to the xda-wiki, and copy and paste the link to the answer to your question.

http://xdaforums.com/showpost.php?p=1704919&postcount=122 ... once you install the cab you should be able to remap the button.
[HTC U Ultra Questions & Answers] brillenfux:
Hi, first of all I apologise if this question has been asked but I don't know how to search just this place.

I'm using everything stock, no root, stock launcher.

I have my phone set up to ask for the password on reboot. I have my fingerprint reader set up to unlock my phone. I also have the fingerprint reader set up to wake the screen.

However under certain circumstances the fingerprint reader does not unlock the phone. The most reliable way to trigger this behavior is to plug the phone in to charge.

I exclusively lock the screen with the power button.

The fingerprint reader is still responsive and it still wakes the screen but there's no vibration feedback and it does not unlock. After I unlocked the phone with my password and lock it again the reader works again.

So what's going on here? How should I debug this?
[HTC U Ultra Questions & Answers] neptun2:
After reboot it is normal to ask for password first time. Sometimes i have also seen this but when i unlock with pattern (my backup way) and lock again it works fine. I can not trace this to be related with charging or something else and it happens rarely but i have seen it also. Maybe a software bug.
[HTC U Ultra Questions & Answers] neptun2:
Looking back to the days when i have LG V10 i remember that i had the same problem with fingerprint sensor not working sometimes. It was more frequently related to heat buildup as it was hot phone anyway.
[HTC U Ultra Questions & Answers] deC9r:
I had the same problem these days, I think the fingerprint reader won't work if your hands are really cold.
[HTC U Ultra Questions & Answers] brillenfux:
Hmm I don't think my U Ultra is getting particularly hot and, no, my hands are certainly not very cold either. This behavior happens indoors.
[HTC U Ultra Questions & Answers] panda968:
It's just extra security plan and simple
[HTC U Ultra Questions & Answers] mrew42:
Sometimes, not very often though, my fingerprint reader refuses to respond. Not even a misread where you get haptic feedback and not a lot else.

Just using the power button and entering my back up security (pattern in my case) and it comes back to life.

I don't particularly worry about it, but I suppose it's nice to see that it's not just me :)
[HTC U Ultra Questions & Answers] neptun2:
Will see if the upgrade to 8.0 fixes it.
[HTC U Ultra Questions & Answers] hcevahir58:
I met this problem.The solution was very interesting.I use Yandex.disk app.This problem did occur after the Yandex.disk app is update.I hard reset my phone.The problem was not in my phone.But I setup Yandex.Disk app the problem repeat occur.İf you installed Yandex.Disk, uninstall the application.if you don't use Yandex.Disk,The last apps update uninstall to try.
[HTC U Ultra Questions & Answers] brillenfux:
Good Lord I have so many apps installed though...
[HTC U Ultra Questions & Answers] Garkan:
Then go to a full factory reset and see if it helps, thats the 1st thing you do when you have problem.
[HTC U Ultra Questions & Answers] brillenfux:
After a bit of experimentation this behavior seems to have stopped after I disabled/removed all Smart Lock Trusted Places -- a feature that is already known to be buggy.