yashsingh1/xdaforums huggingface dataset:
[OnePlus X Android Development] CheckYourScreen:
Updated to R3..!

Updated to R3 :)

R3(28/7/2016)-

*cortex a15 optimizations

*Add add sensor_ind wakelock toggle

*ARM: smp: Wait just 1 second for other CPU to halt

*Optimize task_sched_runtime()

*tick: Upstream fixes

*Shift to GCC Toolchain from Linaro (Much smoother and Better Battery backup as compared to linaro builds)

Recommended update!

Note: if you face a glitch in kernel adiutor regarding min. freq then plz ignore it as its just a glitch, shows current freq (on which CPU is scaling) for a sec and then will come back to the set one (300 Mhz by default). Freq scaling is normal and kernel works just fine!
[OnePlus X Android Development] bunnahabhain:
The kernel is running nothing but fantastic!

Just updated to R3. Reminds me of leankernel back in the days. Smooth and stable.
[OnePlus X Android Development] CheckYourScreen:
yes, but i dont use them.
[OnePlus X Android Development] Pavel Sajjad Khan:
Thanks for your reply... :)

Gonna try this in my friend's one plus x.

What's the difference between uber and gcc in the kernel download section?

Which one should i download?
[OnePlus X Android Development] CheckYourScreen:
R23.

no more separate uber and gcc builds. :)
[OnePlus X Android Development] CheckYourScreen:
Updated to R23..!

Hi folks..!

Updated to R23..! :)

Glimpse of changelog:

Download Links in OP.

Let me make some points clear:

>Merging recently released 6.0.1 kernel source by oneplus will cause issues with all custom roms as they have changed the implementation of tristate and various other things(since 3.1.3) so i havent merged it. All roms are still using old trees so it wont be much beneficial as new kernel source is just based on new CAF branch and new touch panel driver and Arsenic is already having those fixes and commits except for the touchpanel driver(doesnt matter much).

So if you wanna try Arsenic or any Custom ROM then downgrade to old bootloader by flashing oos 2.2.x first.

>i missed out a file for Sultanized ROMs compatibility in last release (R18) i've added it in this one so plz dirty flash your sultanized rom first before flashing R23 if you are already running R18 to make sure all required files are placed properly.

>Enabled disabling of hsic wakelock, you can find the toggle with other ones in Kernel Aduitor. Disable all the wakelock toggles in Kernel Adiutor as i've kept the enabled by default.
[OnePlus X Android Development] CheckYourScreen:
Still waiting for your feedback. . .
[OnePlus X Android Development] neopbm:
Seems that you have built an other build ?

Is it safe to use? Does it have October security patches?

Thanks
[OnePlus X Android Development] CheckYourScreen:
Yes, yes and yes. ;)
[OnePlus X Android Development] dchrono:
New kernel is running great, still using battery profile and getting great sot, its crisper and snappier on page load in browser. Overall a better experience. I have disabled new wakelock as well.

Thank you
[OnePlus X Android Development] CheckYourScreen:
Updated to R24..!

Hi folks..!

Updated to R24..! :)

FROM THIS RELEASE ONLY NEW MM BOOTLOADER WILL BE SUPPORTED!

MAKE SURE YOU ARE RUNNING A ROM WITH NEW MM BOOTLOADER FOR R24+

if you are still running roms with old bootloader then flash R23..!

Changelog for this release-

Both R23 and R24 are same except the bootloader support, so plz flash stuff with your eyes opened!
[OnePlus X Android Development] CheckYourScreen:
Try Impulse gov. :)
[OnePlus X Android Development] dchrono:
Switched over to balanced profile, wow. Very crisp, if battery is respectable I will stay with it. Thx
[OnePlus X Android Development] CheckYourScreen:
Yes, with 1.7 ghz as max.

Too much jumping across freqs. also decreases backup, so i prefer impulse. might remove some freq steps in future release, which are having similar volt consumption. Lets see how it unfolds :)
[OnePlus X Android Development] pwild:
That means oos3 bootloader? Are there even roms using that already?
[OnePlus X Android Development] bunnahabhain:
Yeah, and how do we get it? Just by flashing OOS 3.1.3 oder is there a flashable zip anywhere?
[OnePlus X Android Development] nihilista:
Afaik its not a rom thing, but kernel has to support new bootloader. But for that you have to flash oos3, as custom rom's normally doesn't provide images for bootloader partition. Maybe its enough to flash bootloader/modem partitions from original oos3 zip, but thats to be tested from anyone....
[OnePlus X Android Development] CheckYourScreen:
Official cm nightlies now support only oos3 bootloader and most probably all custom roms will follow the same way.
[OnePlus X Android Development] CheckYourScreen:
First flash OOS 3.1.x then flash any rom which supports new bootloader (currently official cm13) and then flash Arsenic.

I'll make a flashable zip of its fw and radio files if i get enough time. Till then use full zip to upgrade.
[OnePlus X Android Development] neopbm:
With the new bootloader, a specific version of Twrp is needed right?
[OnePlus X Android Development] Jude Aranha:
Yes, this one :)
[OnePlus X Android Development] neopbm:
Maybe a flashable zip is not needed : http://xdaforums.com/oneplus-x/general/guide-update-bootloader-firmware-to-t3478917

I've not tested that procedure. But as far as i understand, we could update bootloader following that guide and boot any rom that support new bootloader and then flash R24 kernel.
[OnePlus X Android Development] CheckYourScreen:
yes. :)

ps- i compiled a new build of aicp compatible with new bootloader, you know where to find it ;)
[OnePlus X Android Development] neopbm:
Maybe i did a mistake trying to update my stuff and now my phone is stuck on bootloop. I see the white +1 logo "powered by android" and it reboot.

I think i did not select the good version of rom (the old aicp) and that is the problem.

Thanks for the work on new build anyway
[OnePlus X Android Development] elandroido:
The new version runs fine with new bootloader! Thank you so much! :good::D

The only thing I noticed is that dpi defaulted to 420 instead of 480, but this was easy to change via build.prop.
[OnePlus X Android Development] Tiongkia:
[MENTION=4854637]CheckYourScreen[/MENTION]

Thanks for the great work! Greatly appreciated.

Can I request for 1 feature? That is USB Fast charge. When plugging phone to PC or Laptop, the phone can be / will be charged slightly faster. This feature is in some other custom kernel.
[OnePlus X Android Development] CheckYourScreen:
Looks like you flashed wrong zip (for old bootloader).
[OnePlus X Android Development] neopbm:
Yes i think that too. And now i am stuck. Device is bricked (i can only acces fastboot, bootloader is locked and the unlock command is not working) so i dont know what to do.

My mistake ! Maybe i'll buy a new phone.
[OnePlus X Android Development] CheckYourScreen:
Opx can be recovered easily. No need to worry just follow the unbrick guide. Fastboot is everything one need to get it back to working state.

EDIT: here it is [MENTION=273843]neopbm[/MENTION] https://forums.oneplus.net/threads/guide-mega-unbrick-guide-for-a-hard-bricked-oneplus-x.417648/
[OnePlus X Android Development] neopbm:
Sorry for off topic

What guide are you reffering to please ?

I tried some tutorials last night and it didnt work. It seems that for the unlock bootloader command to work "oem unlock option" needs to be enabled in system first. I cant do that as the device is not booting, i can only acces fastboot.
[OnePlus X Android Development] CheckYourScreen:
https://forums.oneplus.net/threads/guide-mega-unbrick-guide-for-a-hard-bricked-oneplus-x.417648/

Your bootloader is unlocked already, Device is just bricked. Follow the guide to unbrick it.
[OnePlus X Android Development] neopbm:
I will make another try at home (i am at work now) but i dont have a computer with windows so...

Thanks for your time anyway
[OnePlus X Android Development] gllark:
[MENTION=4854637]CheckYourScreen[/MENTION]. I'm on build 23 now, fantastic perfomance as always. Thanks for that. Do you support the old bootloader also further on? I don't want to leave DU as long as there will be no N-version available.
[OnePlus X Android Development] CheckYourScreen:
I cannot comment on that as of now. Rom only needs a 4 line change (during compile time) to be compatible with new bootloader and R25 will take time so i guess till then all roms will be compatible with new bootloader.

And i do prefer new Bootloader/Baseband as old one is having network issues irrespective of ROM, I'll release a new build of DU for it. Upgrade to new bootloader asap.
[OnePlus X Android Development] Tiongkia:
[MENTION=4854637]CheckYourScreen[/MENTION]

Not sure if u missed my post. I like to request for 1 feature. That is USB Fast charge. When plugging phone to PC or Laptop, the phone can be / will be charged slightly faster. This feature is in some other custom kernel.
[OnePlus X Android Development] CheckYourScreen:
Will be there in next release ;)
[OnePlus X Android Development] dchrono:
Many references to right version \ wrong version, perhaps a naming convention to properly identify new kernel and new roms supporting new BL.

I forsee many bricks
[OnePlus X Android Development] CheckYourScreen:
Not my headache mate, I've done whatever i could from my side. I've mentioned everything above download links, in changelog and this post too!. There is a reason why all roms have a disclaimer in their thread. i might sound a little rude but a little reading wont harm anyone. I've also posted link to unbrick guide, and tbh there is no reason to stay on old bootloader as newer one is much better. All roms already going with new bootloader way, if it doesnt then blame the developer not me or oneplus. :)
[OnePlus X Android Development] dchrono:
Was not trying to point fingers mate only suggesting a naming convention that when any OP's work (kernels, roms) may be linked to externally and end users don't have the benefit of reading your or others instructions.

No need to defend your efforts here, you've gone above and beyond, its was just a suggestion for those "less tech savvy" end users.

Edit: using your kernel and rom and loving both ... Thank you!
[OnePlus X Android Development] CheckYourScreen:
I agree with you but at the end its them who'll get benefit of reading a couple of lines ;)

Good things come to those who read. lol

PS- Pleasure mate! Pressing it is enough :p
[OnePlus X Android Development] dchrono:
Just asking on behalf of a friend who is envious of my "Arsenic Kernel" :P ... Would it be possible to flash to OOS3 (already read OP but wishful thinking on his part) or a possible future release for OOS3.
[OnePlus X Android Development] Nachiket.Namjoshi:
Looks like it.

Check This :P
[OnePlus X Android Development] CheckYourScreen:
Might take some time as i lost my build server before pushing changes to my git and lost my whole work i did for OOS release. :crying:

Current builds wont support OOS I've clearly mentioned in OP, wait for future announcements.

Nach ffs staaaph sharing secrets :|

That branch was for current release+OP Changes but turned out with random bugs so dropped old base, then started working on rebase for oos and then Sh#t happened, lost server including data.
[OnePlus X Android Development] Nachiket.Namjoshi:
huehuehue.

it aint a secret if its on git :3
[OnePlus X Android Development] CheckYourScreen:
Faq it. I forgot to delete that branch after that catastrophe.
[OnePlus X Android Development] dchrono:
Performance is amazing and the battery life is off the charts. I'm getting 6hrs sot with moderate usage.
[OnePlus X Android Development] tet-bundy:
Running r24 baked into DU. Set impulse gov with max_freq=1700 and hispeed_freq=833. ZERO lags. Awesome mate :)

Gesendet von meinem X mit Tapatalk
[OnePlus X Android Development] Mutchatcho:
Wow, cool as ice, no lags, very smooth. Thank you very much Dev! Thanks also for your recommendations for the settings!

I'm really sorry for this dumb question but...if there is a rom Update, do I have to reflash the kernel? If so, does KA save the settings? Thank you in advance.
[OnePlus X Android Development] CheckYourScreen:
Yes you'll have to reflash kernel as dirty flash (update) of rom will replace Arsenic with its prebuilt kernel and since prebuilt one wont be having every feature of Arsenic, Kernel adiutor will show you error. Its better to clear data of kernel adiutor and reconfigure the settings once after every rom/kernel update just to make sure everything is fine :)
[OnePlus X Android Development] Mutchatcho:
Thank you very much for your answer! :)

One Point: The KA App which you have mentioned in this thread by GZR doesn't work for me. It says that the package is broken. (Maybe not for Nougat or maybe i'm just dumb?) Only want to mention it. :)
[OnePlus X Android Development] CheckYourScreen:
I wasn't aware of it as i never stayed on Nougat for long as it isnt ready yet and doesnt fits as my daily driver. I cant test a new one as right now m on OOS 3.1.3 and will be on it untill m done with OOS release.
[OnePlus X Android Development] Mutchatcho:
Nothing important though. Just FYI. Thank you for your time and all the best for the development. :)
[OnePlus X Android Development] dchrono:
GZR KA works fine on Nougat. (Wipe Dalvik cache before using)
[OnePlus X Android Development] jmaa009:
Hi. Why with r23 i cant update cm13 nightly >15/10/06?

How i must install kernel r24? Can any help me? Sorry for my english
[OnePlus X Android Development] Tiongkia:
R23 is for Lollipop bootloader.

R24 is for Marshmallow bootloader.

Flash accordingly to what bootloader your ROM is on.
[OnePlus X Android Development] jmaa009:
Hi. Thank you for your reply. Actually I have this:

And when I put the last versión, i have this. Dont recognice the sim and more things:

Can any help me?

Regards
[OnePlus X Android Development] CheckYourScreen:
you are on old bootloader right now. Currently both R23 and R24 are same but R24 is only for newer one. I'm dropping the support for old bootloader so uprade to the new bootloader for future releases.

Upgrade your bootloader, flash latest CM nightly and wait for R25/R26. its in testing phase at the moment, will be out by tomorrow.

I'll write simplified steps in op for upgrading the bootloader with release if you want. Till then either stay on the current combination with R23 or follow other guides to update bootloader to get CM and Arsenic updates.
[OnePlus X Android Development] CheckYourScreen:
Preparing the Diwali Gift ;)
[OnePlus X Android Development] dchrono:
May I ask are you using Slim as base or OOS? Just curious.
[OnePlus X Android Development] CheckYourScreen:
OOS obviously. I rebased it for better compatibility with OOS.

Slim has nothing to do with it, slim kernel was pure cm only when i took it for base of Arsenic but still martin deserves credit for his work for onyx, he's one of the best. :)
[OnePlus X Android Development] Badu87:
I need it! :silly:
[OnePlus X Android Development] CheckYourScreen:
Final build ready :)

You want me to release the gift before diwali? lol

Changed naming convention for OOS builds.
[OnePlus X Android Development] dchrono:
Nice
[OnePlus X Android Development] noonebhargav:
? looks cool
[OnePlus X Android Development] CheckYourScreen:
Updated to R25..!

Time to Pull off the curtain from gifts ;)

CM/AOSP Version updated to R25 with following changelog:

Oxygen OS Compatible Version released HERE in a separate thread to avoid any confusions.

Naming convention for Oxygen OS compatible builds have been changed from R(release) to V(versions).

Suggested Profiles have also been updated..!

That's All folks..!

Happy Diwali..! xD
[OnePlus X Android Development] Tiongkia:
Happy Festival of Lights :D
[OnePlus X Android Development] Portgas D. Ace:
[MENTION=4854637]CheckYourScreen[/MENTION]:

as I didn't find any information about it: is the kernel enforcing or permissive?
[OnePlus X Android Development] CheckYourScreen:
Permissive out of the box.
[OnePlus X Android Development] Tagion:
What is entropy?
[OnePlus X Android Development] CheckYourScreen:
Google can explain much better than me.

Edit: https://en.m.wikipedia.org/wiki/Entropy_(computing)
[OnePlus X Android Development] Tagion:
Can you add 27mhz min gpu freq?
[OnePlus X Android Development] CheckYourScreen:
I'm still working on it, i might remove 27mhz and add back adreno idler in OOS version as i dont see much difference in voltage consumption between 27 and 200Mhz frequency, Reason why i introduced it in OOS version is that its still in testing phase (decision of replacing idler with 27mhz) and I'd like some reviews from users regarding how its performing, will see how it unfolds. ;)
[OnePlus X Android Development] HashDragon:
Hey, which version do I need if I want to flash this kernel over Resurrection Remix ROM (Sultanized version)

I recently updated from OOS 3.1.3 to Resurrection Remix and then flashed arsenic.kernel-onyx.R25-20161030.zip but it got stuck at 1+ logo.

Any help would be appreciated :) Thanks.
[OnePlus X Android Development] dchrono:
Running r25 couple days now thanks! New battery profile is running slightly warmer, I switched back to old battery profile yet still running warmer. Has something changed? The difference is 4 degrees celcius between r24 and r25.
[OnePlus X Android Development] criz.89:
It should work on Sultans cm13?! Build 25.10.2016
[OnePlus X Android Development] Krustak:
Yes it works
[OnePlus X Android Development] Petronius42:
Thanks! I'm using AospExtended rom, and I in the battery stats it was always showing "Awake" the whole day with the default kernel. With yours the issue is gone!
[OnePlus X Android Development] CheckYourScreen:
You sure that the version/zip of RR you flashed is compatible with new bootloader..?
[OnePlus X Android Development] HashDragon:
Yep, I am running RR without your kernel smoothly atm. But when I flashed the kernel it got stuck on the logo.

I had flashed RR -> Gapps -> Kernel back to back, if it sounds the culprit.
[OnePlus X Android Development] Jude Aranha:
Never flash custom kernels with the ROM+Gapps.

Flash ROM+Gapps, boot, complete initial setup, boot back to recovery, flash kernel, reboot without wipes.
[OnePlus X Android Development] HashDragon:
Didn't help. I flashed it again like the way you said. Still same result.
[OnePlus X Android Development] nihilista:
Maybe the secure method, but with latest 100 flashes i did flash rom,gapps,kernel,xposed alltogether and never had any problem ;)
[OnePlus X Android Development] CheckYourScreen:
Tbh there is no point of using Arsenic on top of "Sultanized roms". Both RR and CM are available without sultan's stuff which will support/work better with Arsenic than the one compiled by sultan's tree.

Official CM has merged all the stuff from OOS 3.1.3, audio is fixed, cam is much better so one should only flash sultan's rom if he/she wants to continue using his kernel.

I did notice one thing that camera quality is now much better or similar to OOS now in Official CM and roms compiled with new updated trees as compared to sultan's Cm and flashable zip of his camera hal is available for those who just want 4K video recording with his hal.

Romil doesnt have OPX anymore so it might be difficult to track down the cause of Arsenic not booting on RR (in your case).

Plz Provide me logs and last kmsg with your reports.
[OnePlus X Android Development] criz.89:
I flashed r24 in Sultans cm13. Unfortunatly it feels now a little bit laggy and slow. I use the setting which are recommended in first post. Can any one confirm that the phone is sluggish?!
[OnePlus X Android Development] ERRORR2:
But not sultanized RR available only for old bootloader, could you possibly make your version of RR, please? :angel:
[OnePlus X Android Development] Jude Aranha:
Seek and you shall find. :)

RR-CAF-New_BL
[OnePlus X Android Development] ERRORR2:
Yes, I know about it, thanks) But this is "Sultanized ROM" and as [MENTION=4854637]CheckYourScreen[/MENTION] said, there is no point to use Arsenic kernel over this ROM.
[OnePlus X Android Development] Krustak:
Why not? I'm using it over sultan's rom and I must say battery life and overall smoothness is much better
[OnePlus X Android Development] dchrono:
Is it alright if I set SE Linux to enforcing?

Edit:at internal storage (storage/emulated/0/wlan_logs) I find a file called host_driver_logs_current.txt which is rapidly growing everytime I use WLAN. Is this something forgotten?
[OnePlus X Android Development] CheckYourScreen:
Other roms like DU/AICP etc are much better than RR imo. But ya i'll compile if i get enough time from my semester final exams. :)

why not Permissive..?

Try disabling "android logging" in "Misc Control" section of Kernel Adiutor.
[OnePlus X Android Development] CheckYourScreen:
Hi Folks!

Wrote a simple guide to Upgrade Bootloader here :

http://xdaforums.com/oneplus-x/general/guide-deep-sht-guide-to-upgrade-t3494243

Follow the above Guide and Upgrade to New Bootloader ASAP to receive future updates of Arsenic Kernel. I wont be compiling separate builds for Old Bootloader.
[OnePlus X Android Development] dchrono:
[MENTION=4854637]CheckYourScreen[/MENTION], read enforcing is safer I guess. Misc setting did the trick on wlan_log, i still have a host driver log and cnss_fw_logs_current.
[OnePlus X Android Development] CheckYourScreen:
I prefer Permissive due to many reasons. :)

Delete those logs if you want, both of them should be of 1kb anyways. they wont appear again if you delete them and disable android logging.
[OnePlus X Android Development] ERRORR2:
You are the best, man!) Good luck with your exams!
[OnePlus X Android Development] Exodusche:
Love your settings bro getting great battery on Tesla N.
[OnePlus X Android Development] dchrono:
The wlan_logs folder is back within a file host_driver_logs_current.txt which keeps growing. I've disabled as you suggested. This is on the OOS kernel.
[OnePlus X Android Development] namquang93:
how do you get Tesla N ROM ?
[OnePlus X Android Development] Exodusche:
GZR's google plus page.
[OnePlus X Android Development] Jude Aranha:
Or Telegram.
[OnePlus X Android Development] soxfor:
[MENTION=4854637]CheckYourScreen[/MENTION], have you tested L2TP/IPSEC PSK VPN on your kernel (R25)? Having some issues with it, works fine, until I try and disconnect it, kernel panics (white led, black screen).

Same issue occurs with BlackReactor Kernel (stable 0.3). Tried Boeffla and it works and disconnects OK, but somehow the network/internet performance with VPN on is abysmal.

Don't know if it happened on earlier version, only tried using l2tp vpn on those.

CM13, OpenGApps

Tried it with/without Xposed just for giggles, still the same issue.
[OnePlus X Android Development] CheckYourScreen:
No i dont use it personally, so I'll need logs for it. What i can do is i can enable the necessary debugging and prevent it from going for a panic after an abnormal ssr being issued, it will fill the logs and reboot(?) Instead of going for a panic. I'll roll out a release today with these changes, see if you can grab something from it :)
[OnePlus X Android Development] soxfor:
Sure [MENTION=4854637]CheckYourScreen[/MENTION], tell me where to get it when it's ready for testing ?
[OnePlus X Android Development] kekko91:
I'm on android 7.1 Rom (Xenon HD), tried to install GZR Kernel adiutor, It says that the package is corrupted and cannot install.. Could you help me?
[OnePlus X Android Development] CheckYourScreen:
Try this one: http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
[OnePlus X Android Development] kekko91:
Seems like it works, tonight I'm gonna try the kernel, thank u!
[OnePlus X Android Development] kekko91:
The kernel works fine, the first time it boot it keeps the screen black, after a reboot it works ok!
[OnePlus X Android Development] CheckYourScreen:
Big update on its way! :)