yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] stranostrano:
in the second post :D I think you are too fast and didn't give my time to edit the post :laugh:
[ONE Android Development] stranostrano:
my choice
[ONE Android Development] tekanina:
Works on SAOSP. Will test for a couple days and report back.
[ONE Android Development] photobix:
Yes, found the link :D

It's booting with the official nightly, will test the kernel, thank you!
[ONE Android Development] Manav Bhagia:
I tried the kernel and loved it ,Can I use the kernel in my ROM , OmniSense ? Only if you don't mind , also , all credits for the kernel will obviously go to you .
[ONE Android Development] stranostrano:
Sure that you can.

Just insert a link to this tread on your thread op and don't forget to thanks all other devs.
[ONE Android Development] stranostrano:
I'm recompiling kernel to set "Smartmax" governor as default instead of "Interactive". I've noticed some UI lags with "Interactive" that seem solved switching to others except "ondemand".

Please, if you have lags UI, try to switch to other governor and report back.
[ONE Android Development] photobix:
Just for info: Version 1.1 is online :)
[ONE Android Development] FunkyRasta:
It's so good to see new OMNI kernel !!! :D You are a hero.

Any info on hotplugs ? Zen? Bricked ? Cannot test ATM.
[ONE Android Development] stranostrano:
Hi funkyrasta,

Avaulable cpu Governor are in the op description.
[ONE Android Development] stranostrano:
To guys that are running my kernel. Please report how it works.

Thank you
[ONE Android Development] tekanina:
It's been running good seems just as stable as stock kernel. Battery life is about the same as well which has been excellent for me.
[ONE Android Development] stranostrano:
Hi mate and thank you for sharing your opinion.

Anyway, did you using kcal feature?

If you do, have noticed anomalous battery drain using it?

please report.
[ONE Android Development] tekanina:
No I haven't used kcal. I just installed Color Control, I will try it out and see how it goes. Will report back.
[ONE Android Development] stranostrano:
Tekanina, the color control from savoca is the app to set up the kcal kernel based feature. If you're using color control, then you have Kcal working.

What I want to kniw is if you notice anomalous battery drain compared to stock kernel.
[ONE Android Development] stranostrano:
Hi @BarrOff, I've compiled another testing kernel, pointing this time Kexec_hardboot patch to CONFIG_VENDOR_EDIT.

Could you kindly test it (if multirom manager say it's incompatible I think you can trust it and do not install test kernel)

Here the new test kernel not working

Have fun. ...always!
[ONE Android Development] stranostrano:
Hi [MENTION=6440862]aaqibismail[/MENTION] I'll read something about adaptive low-mem-killer and, if I'll be good to do it, I'll try to implement it.

Have fun. ...always!
[ONE Android Development] stranostrano:
@ people using my kernel.

Probably it will be redundant or useless info but, for people that didn't know, ver 2.2.1_f2fs is good to run on no f2fs rom.

Kernel is the same as ver. 2.2.1 that support only ext4. In other words, whichever rom you're using, ext4 or f2fs, you can install ver. 2.2.1_f2fs and it will work.

Sorry for dumb info.

Have fun. ...always!
[ONE Android Development] BarrOff:
Just tried it but still the same error.

Multirom manager can just check the installed kernel for compatibility. So I had to install it. Besides the patch it should be the same as the normal one, right? Therefore I shouldn't run into other problems?
[ONE Android Development] stranostrano:
[MENTION=6503047]BarrOff[/MENTION], sorry but I don't know if it's the same. In this .defconfig, kexec_hardboot and atags are enabled while are not in the normal release.

If you don't feel confortable, don't try it

However thank you for your beta testing
[ONE Android Development] stranostrano:
deleted - sorry I've posted two times the same
[ONE Android Development] stranostrano:
[MENTION=6503047]BarrOff[/MENTION]

I'll promise you this is the last.

Could you try this?

Have fun. ...always!
[ONE Android Development] BarrOff:
Sure, np. By the way I was able to use the new no-kexec method of multirom to boot one of my two secondary roms. But having a working kexec kernel would be appreciated nevertheless. Will give it a try right now.

EDIT: I'm sorry but it still doesn't work. However with the non-kexec workaround of multirom it not as important anymore.

Maybe you could talk to nikhil18? He made a kernel for omni based roms with working kexec:

forums.xda-developers. com/oneplus-one/development/omni-lightning-kernel-3-4-111-v1-t3345606
[ONE Android Development] stranostrano:
Thank you [MENTION=6503047]BarrOff[/MENTION] for your contribution.

I've haved a view to lightning source and even if it works on omni, it's not based on omni kernel and then we have a different coded source.

That's the incompatibility that I'm not able to resolve despite I've tried to adapt code to our CONFIG_OPPO_DEVICE_FIND7OP linkage.

sent from my OPO
[ONE Android Development] stranostrano:
Deleted. Sorry.
[ONE Android Development] stranostrano:
Hi [MENTION=6440862]aaqibismail[/MENTION],

I've searched a little about adaptive LMK but I did'n found anything focused on.

Did you have some suggestion link to point me?

Thank you

sent from my OPO
[ONE Android Development] Jole7:
Yes very noticeable speed inprove just try it (data and cache) i use F2fs for a long time now.
[ONE Android Development] clock51:
[MENTION=862741]stranostrano[/MENTION] hello, I see you're in my region, I am very pleased and proud that a good developer like you bring luster to our area.

I downloaded the latest version of your kernel and soon istallerò, I would like to know your settings (and who better than me can you give them) to have a good battery life and settings kcal to optimize colors, when you have time if you can post them I will be very grateful.

I work on an Italian forum, if you allow me, and you can give pleasure I would like to know your kernel by opening a 3D, certifying due credit and thanks to you and your collaborators .Thank

ciao [MENTION=862741]stranostrano[/MENTION],vedo che sei della mia regione,mi fa molto piacere e orgoglio che un bravo sviluppatore come te porti lustro alle nostre zone.

ho già scaricato l'ultima versione del tuo kernel e presto lo istallerò,gradirei conoscere i tuoi settaggi(e chi meglio di te me li può fornire) per avere una buona durata della batteria e i settaggi kcal per ottimizzare i colori,quando avrai tempo se puoi postarli ti sarò molto grato.

collaboro su un forum italiano,se me lo consenti e ti può far piacere vorrei far conoscere il tuo kernel aprendo un 3D,attestando i dovuti crediti e ringraziamenti a te e ai tuoi collaboratori .grazie
[ONE Android Development] stranostrano:
Hi [MENTION=4563926]clock51[/MENTION],

thank you for your compliments.

About kcal, my settings are

R 226

G 244

B 256

Min rgb value 37

Saturation 46

Screen color 10

Screen value 120

Screen contrast 137

Regarding the settings, I think that there is a lot of possible combination and everyone has his preference.

I don't care about power saving and I prefere much responsiveness when use phone.

Generally I use userspace as cpu gov with cpuquiet enabled in congiunction with msm mpdecision hotplug enabled.

As gpu, I use msm-adreno-tz with adreno idler enabled.

Entropy as 4096/4096

Crc soft check and fsync disabled.

About opening a thread on an italian forum, there aren't problems.

Have fun. ...always!

sent from my OPO
[ONE Android Development] kalapapa:
https://github.com/sultanxda/android_kernel_oneplus_msm8974/commits/cm-13.0-caf

I am not too much of an expert on kernel building but sultan caf kernel added it and if you look at June 23 you'll see all the commits he added to include it. I'm curious to know if you could add the same ones. Thanks for your help
[ONE Android Development] OpIcarus:
what is Entropy ?
[ONE Android Development] mada1991:
Ok next full wipe I'll try...

Planned at the end of august :)
[ONE Android Development] stranostrano:
Hi [MENTION=7578703]Gab_echelon[/MENTION],

entropy pool, differently from someone think, produces cryptographically secure random number used for secure smartphone in wpa wifi connection or when you enter a login key or something similar.

<< ....The basic design is to maintain an "entropy pool" of random bits that are assumed to be unknown to an attacker. New randomness is added whenever available (for example, when the user hits a key) and an estimate of the number of bits in the pool that cannot be known to an attacker is kept." ....>>

Have fun. ...always!
[ONE Android Development] stranostrano:
Hi [MENTION=6440862]aaqibismail[/MENTION],

we have Adaptive LMK now. Kernel rel. 2.2.2 is out.

You give me a lot of work to do ;) but I like this feature.

Have fun. ...always!
[ONE Android Development] kalapapa:
I'm sorry for making you do so much stuff

You are awesome Dev and you made an excellent kernel

Thank you for being so kind and for all the hard work put into this kernel
[ONE Android Development] mada1991:
What does it do?

Many thanks for your work...

The best kernel...
[ONE Android Development] stranostrano:
Stop please, don't install it. I'm experiencing somr problem.

I'm unable to wake up when I put phone in standby by pressing on button

Edit: sorry. It seems something related to my kernel adiutor settings.

I'm investigating on it. Wait a while

sent from my OPO
[ONE Android Development] stranostrano:
Edit 2: it is related to kernel. Don't install it please. In the noon I'll try to fix it.

Sorry

sent from my OPO
[ONE Android Development] kalapapa:
That's fine
[ONE Android Development] stranostrano:
Fixed!

Working ver. 2.2.2 is out.

I've fixed the issue but the source code on github is not synced yet. I'll sync tomorrow morning.

In the meanwhile, I hope you enjoy new release.

Feedback is always appreciated.

Have fun. ...always!
[ONE Android Development] feed3:
Ver 2.2.2, in Omni, can't turn wifi on. Reverted back to 2.2.1
[ONE Android Development] kalapapa:
Are you on nightlies or slimsaber
[ONE Android Development] feed3:
I'm on nightlies...
[ONE Android Development] stranostrano:
No problem with wifi to me. I am on omni nightly 30/06

sent from my OPO
[ONE Android Development] kalapapa:
Same it works fine on omnisaber
[ONE Android Development] clock51:
no problem with WiFi, all ok, my rom omni slim by fusionjack
[ONE Android Development] feed3:
I'm on omni 08/07 nightly... Clean flash, still wifi cannot turned on. Not sure what happened. But flashing 2.2.1, wifi is okay.
[ONE Android Development] mada1991:
Try clean flash something gone corrupt...
[ONE Android Development] stranostrano:
Hi [MENTION=4343370]feed3[/MENTION],

sorry but I can't help you because it seems an individual issue. I've re-checked the kernel.zip uploaded and it has wlan.ko module in it than it is supposed it have to work. Plus, from 2.2.1 to 2.2.2, nothing related to wlan has been modified than I really don't understand why with 2.2.1 work and with 2.2.2 it didn't.

Anyway which recovery are you using?

I'm using Philz recovery and, normally, I boot in recovery, first clean cache, then flash zip file and reboot.

have fun. ...always!
[ONE Android Development] feed3:
No worries... I'm not complaining, just informing in case I'm not the only one experiencing it...

I'm using latest official twrp...

Might be a bad download too (hence why 2.2.1 working fine but not 2.2.2 in my device and only happened to me)... Thanks for the reply... :good: ;)
[ONE Android Development] stranostrano:
hi [MENTION=2425503]Traace[/MENTION], I'm running a beta version with thermal_simple commits ported from cm13caf Sultanxda source but, in thermal section of k_adiutor, I don't see any difference. I don't know if it's normal (really, I'm expecting something like a toggle for simple_thermal on/off) and I've wrote a pm to sultan. If he answer and clarify my doubt, I'll try to release a version with thermal_simple feature. But, you know, that a "real" thermal throttle is a feature not implemented in OPO.

Have fun. ...always!
[ONE Android Development] stranostrano:
Hi [MENTION=4343370]feed3[/MENTION], try this. it's the test release I'm running
[ONE Android Development] Traace:
So i understand that thermal throttle is there, but only via Software at all, correct? There is no logical hardware part that controls thermal on our Opo.
[ONE Android Development] stranostrano:
Right

sent from my OPO
[ONE Android Development] feed3:
Downloaded it, extract boot.img from ROM, flash the image in twrp before flashing your kernel in that link, and wifi can turn on.

I think we can safely assume the issue coming from my side (most likely a bad download). :o :good:
[ONE Android Development] stranostrano:
hi Traace,

Sorry but Thermal_throttle doesn't work.

Have fun. ...always!
[ONE Android Development] stranostrano:
Hi,

while trying to implement thermal simple (failed) I've cleaned and reviewed some code in the source and rebuild an updated version of kernel (nothing really important) and pushed for download. If you are on ver. 2.2.2_ALMK, you can stay with it.

If someone had linked direct download in his own post or other, upgrade the link.

Have fun. ...always!
[ONE Android Development] GirishSharma:
I have omni 4.4.4, is it supported ROM? which version? Any specific battery saving kernel settings please?
[ONE Android Development] stranostrano:
Hi GirishSharma, my kernel didn't work on kitkat.

It's for marshmellow release.

Anyway, for security patch reasons, I suggest you to move foreward with android release.

Have fun. ...always!

sent from my OPO
[ONE Android Development] GirishSharma:
Thanks for reply. I wish to have MM ROM but mobile radio active (MRA) bug is forcing me to go back to KK and none of LP and MM ROM never gave me good battery life in compare to KK (9+ SOT). Moreover, I am very simple user, so I never encountered lower API level in any used app though, so KK is best for me. I am waiting to see android 7, if MRA resolved.
[ONE Android Development] mada1991:
But in omnirom marshmello mra bug is gone...

Try try
[ONE Android Development] secondkai:
MRA bug is gone in all omni based rom...i'm currently using slimsaber and there is no MRA bug...
[ONE Android Development] Traace:
MRA drove me crazy too, but its really gone on MM Omni. All u need is a proper omni-tree based Rom and kernel (like this one :) )
[ONE Android Development] GirishSharma:
If there is no MRA in Omnirom then battery life should be equal to KK, but MRA is there, just it is not shown in battery stats. I have used omni and slimsaber omni both, but I achieved 6h sot, while in Kk Rom I got around 10h sot. MRA can only be resolved by Google, and if it get resolved we will see in news and internet and official declaration by Google itself, till then KK is best or if android 7.
[ONE Android Development] solar666:
Sot has nothing to do with MRA. Sot is worth in MM based Roms compared to KK but not due to MRA but in general.

If you want to have this sot you will need to stick to KK but please don't spread the myth of MRA further.

Or can you provide any evidence of it in Omni based MM ROMs?
[ONE Android Development] GirishSharma:
Can you provide technical proof for not having MRA in Omni based roms? I just can say that due to MRA, i had to charge the battery more frequently then KK rom. As I said, if whenever Google release any patch or android version of victory over MRA, we all will get informed accordingly from many sources. MRA is not a myth, Google itself has confirmed it as an Android bug and moreover discussion on bug is not a spreading or spamming though. I just wish to draw the kind attention of great XDA members to please attack on this evil and make wonderful android world.
[ONE Android Development] mada1991:
About technical proof is better to ask directly to the dev of Omnirom...

You can easily check leaving for a couple of hours your phone in stanby under cellular with omnirom and with other rom not Omni based....

Your battery goes away....

Last thing Omni doesn't remove just the voice in the battery tab...

After that if you are happy stay with KK Omni stay...

Your are free...

But our suggestions are to update...

Security level is one of the main reason....
[ONE Android Development] stranostrano:
Hy all,

stranostrano kernel ver. 2.2.3 is out.

Managed some code and switched to Francisco Franco thermal control.

Have fun. ...always!
[ONE Android Development] stranostrano:
Hi all,

I want publicly answer about the vulnerability TCP recently reported by Lookout and asked to me from a couple of users .

In my kernel based on omni, in /net/ipv4/tcp_input.c the string "sysctl_tcp_challenge_ack_limit int = 100 ; " referred to the vulnerability is not present because it is introduced from kernel 3.6 onward (we are on 3.4). Differently it is present in the 3.4 kernel from cyanogen and in all other versions of the kernel from 3.6 onward . If you run a cyanogen kernel version also, please report to the developer of apply the released patch to it.

For now we are safe.

Have fun ...always!
[ONE Android Development] stranostrano:
Hy all,

stranostrano kernel ver. 2.2.4 is out.

Updated source code to latest omnirom commits and added HYPER and IntelliMM cpu governors.

Have fun. ...always!
[ONE Android Development] OpIcarus:
Thanks you so much!!! :laugh:
[ONE Android Development] stranostrano:
Hi all,

as the OmniRom development project for OPO was abandoned and with the last 08/31 release we are without the really important android 1 sept security patch, I think that go forward with the development of this kernel is a waste of time. For that reasons I abandone this project.

Anyway, if someone else like to continue in development, you could fork the source on github.

Thank you so much for your effort and your help.

StranoStrano

sent from my OPO
[ONE Android Development] kodora:
Thank you [MENTION=862741]stranostrano[/MENTION] for your work and your attention to bugs and other stuff. See you down the road..
[ONE Android Development] tekanina:
Battery so far today has been average, hard to tell cause I've been using WiFi hotspot for a few hours. If there is drainage from kcal it seems minimal. I'll give it another day and try to maintain my regular usage pattern and report back.

BTW I'm using saosp which is using omnibear kernel on latest build. The last build used stock kernel and battery was excellent. Omnibear not so much. Your kernel is much closer to my results with stock omni kernel.
[ONE Android Development] taufiqs:
Anyone could confirm about MTP support? Donkey doesnt support it . If this kernel is.based in donkey then i suppose it had issue with mtp
[ONE Android Development] stranostrano:
Hi taufiqs,

I can confirm that OTG and MTP works out of the box.

Anyway my kernel it's not based on donkey but on herna's one with the addiction of kcal feature.

Differently from great worked fermasia donkey one, with mine you have a stock OMNI kernel (otg, mtp, ...) with kcal kernel feature that was what I miss in herna's kernel.
[ONE Android Development] solar666:
How did you manage to get WiFi working on SAOSP with this kernel?

Have you move over original wlan.ko file?
[ONE Android Development] tekanina:
No I didn't modify anything it just works. Works 1/14 and 1/24 builds.

I did update from 1/14 to 1/24 using this kernel but I don't see how that would make a difference. 1/14 build used stock omni kernel.
[ONE Android Development] solar666:
It was working now. [emoji106]

---------- Post added at 10:08 PM ---------- Previous post was at 10:07 PM ----------

No other hotplugs than default OMNI cpuquiet.
[ONE Android Development] tekanina:
Battery drain does seem to be a little higher than stock but it seems very minimal, still getting great battery life. Using stock settings. Definitely prefer this over omnibear on saosp. Thanks stranostrano.
[ONE Android Development] stranostrano:
I'm pleased you feel confortable with my kernel.

If you'll notice any bugs, please report.

I'm thinking to work on official nightly to see if I can move forward with development commit but, actually, I'm really busy to understand better Git that it's unbelivable different from SVN :mad:
[ONE Android Development] molonad:
Hello is there settings for volume control? Increase speaker, volume,micropohne? Thank you

Odesláno z mého A0001 pomocí Tapatalk
[ONE Android Development] tekanina:
No It's basically stock kernel with kcal color control. Only Donkey kernel has sound control for Omni.
[ONE Android Development] stranostrano:
I've started to implement some feature (sounds control is one of this) but I'm busy a little with life and works now.

Probably in the middle of next week will release ver 1.2

P.S.: I need some report about Snapdragon camera. I've noticed some fc when I switch to view taken picture.

Anyone have this issue with ver 1.1?
[ONE Android Development] bclark:
No FCs on SAOSP with Snap Camera
[ONE Android Development] Tiz92:
Is there a possibility to undervolt cpu and gpu? And to change charging current?
[ONE Android Development] stranostrano:
Hi all,

just pushed ver. 1.2 with addiction of Franco's SoundControl feature.

Download in 2"th post as always.

Have fun ....always!
[ONE Android Development] stranostrano:
Nope it isn't for the moment.

For the moment I prefer to stay as close to stock as I can and implement only some missed functionality.

Probably I'll try to implement other governors and functionality but I haven't a lot of time now.

Have fun
[ONE Android Development] stranostrano:
Hi all,

Version 1.3 is out.

Refer to post #2 for download.

Have fun. ...Always!
[ONE Android Development] ShinnAsuka:
Does anyone have a good way to figure out the best color profile possible for the device? I've gotten accustomed to using profiles that others have made in regards to color control.
[ONE Android Development] indian84:
The last build works beautifully with SAOSP. Thanks for the kernel..
[ONE Android Development] fmc000:
+1
[ONE Android Development] indian84:
Good to see you here. :)
[ONE Android Development] Vismay3333:
slim governor please ☺
[ONE Android Development] stranostrano:
I'm noticing a proximity sensor issue with ver. 1.3c but I've made some other experiment on my phone and I don't understand if it's related to kernel or other. Can someone report, please
[ONE Android Development] fmc000:
Just tried calling my voicemail and covering and uncovering (three times) the display with an open hand. Works fine. I use the latest H2OS firmware (as of 20151230 - baseband c6.11-0004).
[ONE Android Development] taufiqs:
Anyone could share his/her profile?
[ONE Android Development] rphlfjrd:
Does this kernal have kexec hardboot patch?
[ONE Android Development] stranostrano:
No. I've not applyed kexec patch.
[ONE Android Development] stranostrano:
Hi taufiqs, which profile you're talking about?
[ONE Android Development] taufiqs:
The kernel. Which governor, i/o sched, etc ?
[ONE Android Development] stranostrano:
Ok, that's mine.

I'm on herna rom and I use kernel Adiutor and Trimmer (fstrim).

My first customization is dpi set to 420 in build.prop.

Trimmer setted to trim fs twice a day

related to kernel Adiutor:

CPU:

gov. Userspace; multicore energy saving enabled; CPUQuite enabled with "runnable" gov; threshold synchronization 883Mhz; touch frequency boos @ 1267Mhz

TERMIC: enabled

GPU:

gov. Userspace

DISPLAY:

r:226

g:244

b:256

min rgb: 37

saturation:46

display color: 10

display value: 120

contrast: 137

I/O Scheduler:

sched: tripndroid

read-Ahead: 2048kb

Low Mem Kill. ON

Virtual Mem. ON

Entropy ON; r/w 4096

TCP cong.: cubic.

That's it. Hope you enjoy

have fun ...always!
[ONE Android Development] taufiqs:
What does it mean with runnable and userspace governor? Yours is very unique indeed
[ONE Android Development] stranostrano:
Which kernel utility are you runnung?

P.s.: sorry, edited wrong tread
[ONE Android Development] taufiqs:
Saosp. I found that my device is hotter than my personal profile. I am using smartmax, cpuquite load_stats, no boost at all, max freq reduced to 1.9 GHz, i/o sched noop 128kB, other than that are stock/off
[ONE Android Development] stranostrano:
Are you using kernel adiutor?