yashsingh1/xdaforums huggingface dataset:
[OnePlus X Android Development] neopbm:
After some time I have to say that everything is working really well...

Smooth, fast and battery life seems good. With Dirty Unicorn rom

Good job!
[OnePlus X Android Development] matrix8300:
[MENTION=918582]guys[/MENTION] @ nitzz, kernel work s perfectly with the Rom xosp which is very smooth. the battery is good, no drain .. And a lot of settings with "kernel adiutor". thank you for work
[OnePlus X Android Development] twentyfourinc:
Has anyone try this kernel on latest paranoid rom ?..
[OnePlus X Android Development] Nachiket.Namjoshi:
Yep, works fine... im using it right now
[OnePlus X Android Development] francise:
want to give a review, you are a monster man 6 hours and the deepsleep is 5,33 hours! OMG my battery from 3 AM - 9 AM from 97% - 94% DAMN! it's COOL!
[OnePlus X Android Development] CheckYourScreen:
Updated to R6!

Hi folks!

Updated to R6! :)

Download and Changelog in first and second post.

Released in 2 Editions: one compiled with GCC and one with Uber(on user's request) toolchain.

i prefer GCC edition as its most balanced toolchain, uber build is much smoother but on account of battery(if you getting less battery backup then switch to GCC edition).

Ps- ignore the min. Freq glitch in kernel adiutor of you face any. its just a glitch, will be fixed in next release.

Feedback always appreciated!

Thanks.
[OnePlus X Android Development] CheckYourScreen:
https://postimg.org/gallery/1w641o2os

currently running R6-Uber buildfor testing purposes, will switch to gcc.

EDIT: using this profile atm :

CPU max freq: 1.7ghz

CPU min freq: 300mhz

governor: Impulse

Multicore Power Saving: Aggressive

Sync Threshold: 1036mhz

Input Boost Freq: 652mhz

Speaker Driver Leakage toggle(in soc driver tuneable): enabled

Krait C-States Settings toggles: enable all

I/O sched: fiops with 512kb read ahead for int. and 384 kb for external

Thermal: Core control enabled

Wake locks toggles: DISABLE ALL (this will prevent wifi and bluetooth wakelocks if your device is suffering from any-check battery graph if you get wifi on usage even after being turned off) (turn them on if you face any issue)

TCP Cong Algo-westwood

Use GZR Kernel Adiutor or Broken's Kernel Adiutor as official one on playstore doesnt have all features visible!
[OnePlus X Android Development] CheckYourScreen:
thnx for the feedback!

update to R6, Quadrooter Vulnerabilities are fixed in R6 so its better to update asap. :)
[OnePlus X Android Development] Exodusche:
Thanks for the update and fix Nimit. I think more people should be aware of quadroot and the threat it poses.
[OnePlus X Android Development] francise:
#NewbieASK

What the different of GCC and UBER? i'm using purity then what must i use? ubertc or gcc? thanks for the reply
[OnePlus X Android Development] CheckYourScreen:
Try the recommended settings from 3rd post and keep min. Freq as 27mhz if you want it to scale on that freq.

If you still getting battery drain issue then use betterbattery stats app from playstore and check for apps which are causing wakelocks in background.

EDIT: that 27mhz step freq. Is only in OOS compatible build, not in CM/AOSP compatible build.
[OnePlus X Android Development] Stottlemeyer TDi:
hi, it is a bit 'of time that I am analyzing my battery, I tried many versions of many operating systems and yet all of them give me the same problem I have tried both the CyanogenMod both miui both oxygen OS and nothing, I am always with this problem practically, I continuous battery drain or continuous battery discharge peaks, or if I use the phone normally this problem does not arise, but as soon as the hill the phone in standby on the table and I'm going to take back after 20 minutes I find myself with 3 -4-5 percentage points less battery, almost vertical peaks, analyzing the graphical battery you can see really well, I wanted to know if it was just my problem or some other person Thanks, sorry for my bad English, I'm Italian.

I think more than anything else that this is a sensor calibration problem I'll explain after the drain of the battery lasts approximately one percentage point 10-11 minutes of screen turned on normally with one percentage point of riusco to do 3-4 minutes so what we lose him then after recovery, and this thing is very annoying, there is a way to ensure that the battery drain in uNIFORM way? I already tried to calibrate it but nothing, is not worth anything.

I also noticed that this problem occurs only and exclusively when the phone is in standby mode, and when using the phone this problem is not there, if you use the phone for 7 8 hours straight, but the problem there is just as the battery drops dramatically put on standby, I hope I was clear ahahahah thank you for your patience.

https://s15.postimg.org/67t96q9rv/Screenshot_20161202_000224.png

https://s12.postimg.org/6jsoorad9/Screenshot_20161202_000144.png

https://s4.postimg.org/4it9lpbfx/Whats_App_Image_2016_12_02_at_15_02_07.jpg

https://s17.postimg.org/o82d027v3/Whats_App_Image_2016_12_02_at_15_13_45.jpg
[OnePlus X Android Development] CheckYourScreen:
Take it to an authorized service center, unlocking bootloader doesnt void warranty of oneplus devices so yeah if you feel something is wrong with it even after trying all roms n kernels then feel free to take it to a service center.

They might fix it or replace it with a new device(can be OP2 if opx is not in stock) if its a legit hardware fault.

And plz dont spam all threads with same post, single post is enough to grab attention even in general section. :)
[OnePlus X Android Development] Stottlemeyer TDi:
The battery will last hard, that's not the problem, the problem is the download spikes that do not understand where born, the phone is one of the prime plots of production, while the 10.30.2015, the battery has already been a year if I had to send your phone for repair, you believe that would replace the entire phone or battery ?? It is still under warranty for another year? the problem is that I do not know if the battery is replaced under warranty, but really do not believe, so there is some remote possibility to replace the entire phone with a new or OnePlus OnePlus X 2? someone happened by chance? Thank you and sorry for the spam, but I thought you could do with the same.
[OnePlus X Android Development] CheckYourScreen:
If its still under warranty then you can go for it.

If its hardware fault from oneplus then yes they'll replace it or the device for sure that too for free.

Even sony does, they replaced a xperia C with Z5 cz C wasnt in stock lol
[OnePlus X Android Development] Stottlemeyer TDi:
So should I open an RMA wondering what? replacement of the device? or other? could you help me is my first RMA
[OnePlus X Android Development] wpan2002:
Is anyone here using CM14.1 by Ashwin with arsenic? And are you experiencing crashes after clicking Developer Options?
[OnePlus X Android Development] dchrono:
The bug is in the rom, click on developers, close settings then go back it'll work fine.
[OnePlus X Android Development] Matthius:
Regarding my last post, I don't know what's happened but I changed from the recommended settings to the battery oriented profile, cleared cache in recovery and today this is what my stats are looking like... Unbelievable.

The best part is, I can't notice a significant difference between the battery oriented/recommended settings in terms of physical performance, but I certainly do in terms of battery life [emoji14]
[OnePlus X Android Development] Tiongkia:
Not sure if its this kernel. I used BlackReactor and don't have this issue. When screen is off, sometimes pressing the power button refuse to wake the phone up. Need to reboot to solve.

I am on sultan cm13 05 Nov Build
[OnePlus X Android Development] Matthius:
I had this issue when I was tweaking with settings - have you undervolted?

If not try changing the C-States in the advanced kernel auditor and turning off the deepest sleep.
[OnePlus X Android Development] Tiongkia:
Ok thanks. Let me try. Will report.
[OnePlus X Android Development] CheckYourScreen:
I've already said this, I'll repeat one more time-

If you wanna use Arsenic with cm then go for Official one instead of sultan's cm. There is a reason why i said this.

Sultan's most of the stuff is in his kernel only (95%) so there is no point of using Arsenic on his cm when you are ultimately going to replace his kernel with mine, you "might" face some unexpected issues.

Plz try not to report any issues related to Sultan's cm+Arsenic, no such wake issues are there in Arsenic, and there is no need to turn of deep sleep, blackreactor might have some issues due to upstreaming which requires turning off that toggle but not arsenic.

Where as compatibility with DU nougat is concerned, its been fixed. New build on its way.
[MENTION=7822915]kamleshrc[/MENTION] any reviews?
[OnePlus X Android Development] kamleshrc:
I have used the new build for the last 2 days. All seems to be fine. Using with impulse and all settings on the 3rd post. Batt life of 7hr sot. Playing games having no lags. Heating is limited. I am enjoying this built. Smooth and fine..... :o:svetius:
[OnePlus X Android Development] Tiongkia:
Ok noted. Then please update op to avoid confusion. It indicates support sultanized rom. But still thanks for the work
[OnePlus X Android Development] CheckYourScreen:
It does support his cm, usage of every user is diff. so cant reproduce each and every issue. If only one faced it, then it doesnt mean everyone will face it. Pass me the logs, i'll look into it. :)
[OnePlus X Android Development] Tiongkia:
But you indicated in your reply today don't report any issues related to sultan cm13. But u indicated in op that this kernel supports Sultan-ized ROM. I am confused. So you are supporting or not supporting? I know you are nice and doing all thesr for free but sorry, your reply and op doesn't gel.
[OnePlus X Android Development] Stephen:
Moderator Warning,

Enough, thread has been cleaned. Flaming users is not acceptable. If you have an issue with a post, leave it and dont reply, but report and move on.
[OnePlus X Android Development] yorkberliner:
good afternoon,

i have installed arsenic kernel R29 together with xenonhd and let me say: AWESAME No Lags, Reboots, Batterydrain. I use the batteryprofile. No Issues so far. Very, very good Job 1A :)

greetings
[OnePlus X Android Development] jstsmblaz:
hi there, i am using bluespark kernel in i want to move to arsenic. do i just flash it in recovery or.... what would be the correct steps to do it. sorry for my basic knolwdge, still on a learning curve.
[OnePlus X Android Development] CheckYourScreen:
Hi, you'll need to dirty flash your rom first (though i prefer clean flash if you can, just make a backup and clean flash your rom) then flash Arsenic.

If you want to go with dirty flash procedure:

Go to recovery

Flash rom zip (if you are on oos then wipe system manually before flashing rom zip)

Wipe cache

Reboot

Go to recovery

Flash Arsenic

Reboot

If you want to go with clean flash:

Make backup of your data (use apps like titanium backup)

Go to recovery

Wipe system, data and cache. (No need to wipe internal storage)

Flash rom zip

Reboot

Go to recovery

Flash Arsenic

Reboot
[OnePlus X Android Development] Kulturmensch:
Hi there!

I'm currently running under Sultanxds Kernel + ROM. As it is (probably) no longer updated i want to switch to Arsenic Kernel + official CM. Are these the correct steps to do so?

I have TWRP Version 3.0.2-3-Sultan. Do i need another Version of TWRP or is this one good to go? And i already have the new bootloader installed.

- Backing up all Data

- clean flash official CM from https://download.cyanogenmod.org/?device=onyx (or is there the possibility for dirty flash? or will it break things?)

- reboot

- flash Arsenic kernel / SuperSU / xposed

- i have currently F2Fs support enabled in Sultanxds ROM. Do i have do to the same process again? (Go to Wipe -> Advanced Wipe -> Select only Data -> Repair/Format File system -> Change partition type to F2FS

Go to Wipe -> Advanced Wipe -> Select only Cache -> Repair/Format File system -> Change partition type to F2FS)

Thanks in advice!
[OnePlus X Android Development] CheckYourScreen:
Updated to R31..!

Hi folks..!

Updated to R31..!

Changelog as follows:

Sorry for the delayed release, it was supposed to be released yesterday but androidfilehost.com messed up on the end moment while builds were uploaded to mirror successfully. Do notify me if you face any issue.

Anyhow, works on all cm/aosp based roms including DU. Tried and well tested already.

I might have missed few security patches from December release by Google, they'll be merged in next release after my exams xD

SElinux is Permissive out of the box, didn't hard-coded it so users who use enforcing mode (some banking apps etc require enforcing mode) can switch to enforcing via Kernel Adiutor, but make sure the rom you are running boots/supports SElinux enforcing, DU doesn't boot on enforcing mode (headsup!).

EDIT: Recommended profiles have been updated and added an "Insane Battery Backup Profile" for those you are not a hardcore users with light usage, wont lag at all ( I crossed 6hrs sot with LTE on all the time xD ).

Also added Link for new Kernel Adiutor Mod in same post.

That's All for this month! ;)
[OnePlus X Android Development] CheckYourScreen:
Hi!

Steps are almost correct, and i advice you to switch to new recovery which can be found HERE unless your device has encryption enabled by default.

Dirty flash wont work so you gotta clean flash only.

- Backup your data

- Clean flash CM then Reboot

- Since CM is prerooted you dont need to flash SuperSu. Flash SuperSu if you want and reboot.

- Flash Arsenic then Reboot.

- Flash Xposed then Reboot.

Ya i know its quite alot of reboots but it will make sure that you wont face any weird unwanted/unknown issues. Never flash Supersu along with Kernel, a reboot after kernel flashing is necessary.

F2fs is supported by Arsenic for CM/AOSP(except olddroid's aosp) builds so you can stay with f2fs if you want to. :)
[OnePlus X Android Development] Tanner1294:
Alright, on to R31. I was impressed with the "no input lag" I saw in the changelog. First I installed the new Kernel Adiutor mod over GZR which I've been using for a while, rebooted and installed the new kernel. First boot hung on the OnePlus boot screen for a good minute but it booted up fine. I had set KA to boot all of my settings and realistically the new kernel didn't feel any different.... until I realized that KA didn't actually save any of my settings. This kernel feels just as smooth with it's more conservative settings as it did with my overkill (to reduce latency) settings. Color me impressed.

Edit: The only things I've changed back are both IO's are now CFQ (I've always gotten better performance/battery life) with 1024 for the internal SD and 4096 for the external since it's 64 gigs. I also turned up the swap to 20% with the cache pressure at 35. I get much less app closings that way and no performance impact. I also reactivated auto High Brightness mode and see that you've added a couple of settings to it? I'm interested if it will actually work now since I've had it set on every ROM/kernel combination and it has literally never worked in the year that I've own this phone. I can set the Lux value to 900 and watch it say that the current lux is well over it and it never activates.

Edit AGAIN: Auto High Brightness actually works for once! Seriously, great job.
[OnePlus X Android Development] CheckYourScreen:
Uninstall GZR Kernel Adiutor or orignal KA first and then install Kernel Adiutor Mod apk. I was going to enable swap but didnt got enough time, anyhow, will do it in next release.

Suggestions for you: Swappiness on 40% works best (least latency during io and fastest transfer rate) and 4096 for external is quite alot if you know what read ahead is, decrease it to 1024 to get most out of it. :)
[OnePlus X Android Development] Tanner1294:
I did uninstall GZR first and then installed the KA Mod, since all of the settings stay active without the apps installed I just re-enabled the "Apply At Boot" but the settings didn't stick after installing the new kernel. The read ahead debate is a strong one haha. I either find posts stating to leave it at 128 or go full out. I was just going with a post I saw a little while ago that based it off of storage size. Nobody seems to have a good description of it beyond that it's a buffer/cache based on what the system believes you're going to load next.
[OnePlus X Android Development] CheckYourScreen:
No you gotta reapply settings manually for atleast once before enabling apply at boot toggle for values to stick.

Yeah it surely is a strong one and your description perfectly describes what it is. Reason why i asked to keep 1024 is that with 4096 it will keep on caching data even if you dont want it (keeping smaller files in mind too) and will cause unnecessary cpu usage, io and increased load, 1024 seems optimally good as compared to 4096 thats why i recommended it, so does intel :)

I've mentioned less value in recommended settings cz many users doesnt use 32gb+ class8+ cards so it seems fair enough for them ;)
[OnePlus X Android Development] Miho.Nightwalker:
Can someone also post the original default settings please? (just in case) :)
[OnePlus X Android Development] CheckYourScreen:
Clear data of Kernel Adiutor and reboot, it will go back to the default settings of kernel. :)
[OnePlus X Android Development] Miho.Nightwalker:
Thank you Sir! :)
[OnePlus X Android Development] jonrodz:
Does this kernel support 7.1.1? Yeah, right? Just to confirm...
[OnePlus X Android Development] Tagion:
Yes
[OnePlus X Android Development] kamleshrc:
"Recommended profiles have been updated and added an "Insane Battery Backup Profile" for those you are not a hardcore users with light usage, wont lag at all ( I crossed 6hrs sot with LTE on all the time xD )."

How do i acess the "Insane Battery Backup Profile"....is it the zmoove with profile no 2 ? or is there any other tweaks or governors that has been added ?
[OnePlus X Android Development] CheckYourScreen:
Profiles are mentioned on 3rd Post :)
[OnePlus X Android Development] yorkberliner:
Good Morning,

no Problems at all with the latest R31 Kernel. It works very smooth with "Insana Battery Profile". I made a CPU Voltage : -60 (Global Offset) and have no Problems. And again a very good Job. THX :)

greetings
[OnePlus X Android Development] kamleshrc:
Ooops.... did not see the additional settings. Thank You....:highfive::o
[OnePlus X Android Development] Dagad:
Hey guys, can anyone here help me with setting up the kernel... I tried flashing kernel for the first time.

I did look at the 3rd post and configured (insane battery) accordingly but I see no difference in battery(3hrs SOT) . Nor is there a difference in charging speed (takes around 2hrs)
[OnePlus X Android Development] Dagad:
Guys anyone? Plz? Can I know what m I doing wrong?

The only difference I see after the settings change is my phone doesn't heat up.

Plz help anyone..
[OnePlus X Android Development] CheckYourScreen:
- Clear data of Kernel Adiutor

- Reboot to recovery

- Wipe cache, dalvik/art cache

- Reboot

- Set profile again

- Install Better battery stats app from playstore and see if any app is causing any wakelocks or not
[OnePlus X Android Development] Dagad:
Thank you. The Battery life's is better, if approximated, around 4hrs of SOT is expected. Battery drains around 5.3%/hr when idle.(acc to better battery stats app). There are partial wakelocks which are causing battery drain.

Can u help me with what can be done?

I use cardinal AOSP latest build and jio sim with jio 4g voice calling app.

Let me know if screen shots will be needed.
[OnePlus X Android Development] CheckYourScreen:
Why would i need screenshot of my own stuff? lol

SOT/Battery Backup depends on:

Your kernel settings

Your device usage

Amount/Type of Apps you've installed.

Your device/battery's age.

I'm also using jio on OOS+Arsenic and manage to get atleast 4:30hrs sot on every charge cycle.

If you've installed heck loads of apps like facebook,messenger,insta,s Snapchat etc or play games then how can you expect same sot like others? :confused:

Here's a conversation with Alex Cruz which will surely clear some doubts:

Alex:

if you're a heavy user then no gov. is really going to magically give you 10 SOT

gov alone is not just going to improve your battery life

there's a lot of other factors that go beyond just kernel stuff

like the actual battery life of your battery

Here's an example I see a lot

Dude on G+ sees say Beans or whoever use a angler

they rush to Swappa to get one

they start asking 'how's the battery life and this and that'

then they expect that much out of their USED Angler

the angler may already be ****ed up

that battery may already be ****ed up

you can't expect the same SOT out of your device that someone else is getting because the battery age might be different

you can change your kernel and this and that BUT if your battery is busted then is busted

no kernel is going to fix that

then comes wakelocks

Arttu:

Yeah, and these SOT posts, people post 6h SOT pics while they've like used Plus messenger with black theme for 6h, and then, other people will panic because they get only 3h while gaming and stuff

Alex:

a lot of these dudes are young and so they use Facebook, Twitter, Whatsapp and like a list of apps like that

LOL

that **** is going to take a toll on your battery life

Ritayan:

The Play Services wakelocks being the worst of them.

Alex:

Yup, especially on older devices

Ritayan:

And budgets.

Alex:

is laughable when I see these dudes expecting to get the same performance and same battery life out of their 3 year old phone that I get with my angler or someone is getting with their Pixel

you're not going to get that lol

for 1 my usage is totally different than probably most people's
[OnePlus X Android Development] Dagad:
Thank you bro for making me understand what I didn't ever thought abt.

Just would mention that my opx is a year old and I use the insane battery kernel settings currently.

My usage is nothing great, only insta, Google, whatsapp and Xda.

And my worry is not abt what I use while screen on, I get correct battery life accordingly. I worry abt the unnecessary battery that I lose when phone is idle. 5-7%/hr.

Just curious to know the reasons and learn how to make it better.
[OnePlus X Android Development] CheckYourScreen:
Which rom are you using right now?

Use privacy guard (if its there in rom) and turn off the "keep awake" and "start on boot" toggle for those apps.

You can also try servicely/greenify/naptime to get more juice but do expect some unexpected issues and its out of my scope of support :)
[OnePlus X Android Development] Dagad:
Cardinal aosp rom and it has something called 'app ops' dk if it's the same as privacy guard.
[OnePlus X Android Development] CheckYourScreen:
Yup its similar.
[OnePlus X Android Development] DROIDMON$TER:
Guys, can someone tell me where can I find the Krait C-States toggles and Speaker Driver Leakage option under Kernel Aduitor ? :) :confused:
[OnePlus X Android Development] CheckYourScreen:
Read third post again, you'll find the link over there :)
[OnePlus X Android Development] DROIDMON$TER:
Thank you Nimit :)
[OnePlus X Android Development] Miho.Nightwalker:
I still can't find them both :( how about those wakelocks? Enabled or disabled? I mean the toggle on or off in app please?
[OnePlus X Android Development] CheckYourScreen:
Download and install Kernel Adiutor Mod apk (link is in 3rd post) and turn off all the wakelock toggles in wakelocks section of the app. They are enabled by default, disable all of them.
[OnePlus X Android Development] Miho.Nightwalker:
Got it, thank you :) I'll feedback later, after couple of days