yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] akhenaton27:
[MENTION=4633983]nikhil18[/MENTION] Maybe you can shed some light over some doubts that I have:

1. What exactly is the feauture "treat device as rotational storage"? I've never seen this option in any kernel before...

2. Now that CM moved wifi supplicant scan interval from build prop, how can I set the value?

3. In the new singularity kernel adiutor they removed the powersuspend triggers selection? I can't find them...

Thanks in advance!
[ONE Original Android Development] darkness_78:
Is it ok using 2 kernel auditor in rr rom?
[ONE Original Android Development] akhenaton27:
No, every time I flash a new RR build I uninstall the prebuilt kernel adiutor with system app remover
[ONE Original Android Development] darkness_78:
Thx for ur information. How can i find zzmove profile 11? I cant find it
[ONE Original Android Development] akhenaton27:
You have to set it in governor tunings: scroll down until the entry "profile_number", tap on it and put 11 in place of 0 (by the way, there are other 10 possible choices, and two or three pages above someone posted a picture with the explanation of every profile)
[ONE Original Android Development] darkness_78:
U mean cpu governor tuneable?
[ONE Original Android Development] kanyazsombor:
Hi [MENTION=4633983]nikhil18[/MENTION],

Is this right as init.d script to set charging current?

Set charging current:

To enable custom - echo 2 > /sys/kernel/fast_charge/force_fast_charge

Then

echo "1500" > /sys/kernel/fast_charge/fast_charge_level

change value 1500 to whatever you want (as long as it's one of those 5 values)

To disable - echo 0 > /sys/kernel/fast_charge/force_fast_charge

1+1 Omnibear
[ONE Original Android Development] nikhil18:
echo "1500" > /sys/kernel/charge_levels/charge_level_ac its this

Yes

It was just a modified smartmax EPs governor to offer ultimate battery saving but with some lags but I will still add it in the next version
[ONE Original Android Development] plantator:
[MENTION=4633983]nikhil18[/MENTION] did you repair smartmax values in last update?
[ONE Original Android Development] kanyazsombor:
Thanks, it works ;)
[ONE Original Android Development] kanyazsombor:
BTW kernel works really good! Fast and efficient. Need some more testing though.

And the Singularity KA app also amazing. There are some sooooo handy modifications. Thanks a lot [MENTION=4633983]nikhil18[/MENTION] [emoji111]

1+1 DirtyUnicorns M + LightningKernel
[ONE Original Android Development] plantator:
It is better then synapse?
[ONE Original Android Development] kanyazsombor:
Well, maybe some ppl will argue with me, but I think KA is better. More reliable. Synapse has usually more settings, but it is too much for me. SKA is very good, mainly now, when I can adjust the charging current in it (at init.d section I made a script as op advised). For me it has everything. If you mess up the settings, just untick the "apply at boot" switch for the messed up section, not for the whole app.

1+1 DirtyUnicorns M + LightningKernel
[ONE Original Android Development] KURDKiNG:
Jst switched to your kernel and how come maximum cpu always changes back to 1728 no matter what??

---------- Post added at 02:59 PM ---------- Previous post was at 02:53 PM ----------

Nvm its thermal controles settings
[ONE Original Android Development] darjwx:
Nop, afaik you have to use the caf version of this kernel.
[ONE Original Android Development] dkv2222:
Using it on du test ROM. Great fluidity. Stable AF.

Using zzmove governor as of now.

Any other settings you recommend?
[ONE Original Android Development] Bradl79:
Synapse Profile

brad_batt v1

Lightning Kernel v14 compatible

this profiles works great with jgcaap cm13 rom, runs very smooth and saves battery

with help from greenify and amplify, i have been getting about 6-7 hour OST, I'll post some screens later when i can get some.

Screen Shots: Screenies

Download: brad_batt v1

so far so good
[ONE Original Android Development] AYEHAN:
Can you link me to Singularity KA and DU M pls
[ONE Original Android Development] kanyazsombor:
SKA is at lighting kernels download section.

For DU M use google: "Dirty Unicorns google plus". Than at test builds you will find the post from Nick Doherty.

1+1 DirtyUnicorns M + LightningKernel
[ONE Original Android Development] nikhil18:
Guys I want to increase the no of downloads because its not worth continuing the kernel when you have decreasing downloads so i request you guys to please spread the word where ever possible that lightning kernel the ak kernel alternative is in town thanks
[ONE Original Android Development] anbinhv:
Hi all! I'm very new for tweaking kernel. Someone please recommend me which combination of gorvennor and I/O scheduler for battery life? Thanks alot!
[ONE Original Android Development] plantator:
V14 is best so far, no lags, good battery, great speed

---------- Post added at 04:24 PM ---------- Previous post was at 03:57 PM ----------

Smartmax_eps, underclock proc to 1.7GHz or even more and undervolt

I use smartmax, 3 cores max, frequency 1 core 1500 second 1400 third 1200

sioplus 2048

UV -75mV
[ONE Original Android Development] :
SKA v9 is out.

Great kernel. Thanks for your work. Hope you will continue. Love ak sources.

http://xdaforums.com/showpost.php?p=65362959&postcount=2980
[ONE Original Android Development] dkv2222:
Gonna advertise the hell out of this kernel bro.

You're going a great job with it.

I posted two screens today with your kernel. Remember?

Will put a post now in a few communities.

Keep it up :)
[ONE Original Android Development] nikhil18:
thanks alot bro and the screens in du?
[ONE Original Android Development] Gordietm:
Does this kernel work on a Nexus 5 running an AOSP rom?
[ONE Original Android Development] nikhil18:
if you are so eager to get rid of your nexus then you can happily flash this kernel or else you can find much better kernels than this in nexus 5 forum
[ONE Original Android Development] dkv2222:
They deleted my post :(
[ONE Original Android Development] Stylo King:
Announcement - http://xdaforums.com/showthread.php?p=65382658
[ONE Original Android Development] KURDKiNG:
Yassss
[ONE Original Android Development] kanyazsombor:
[MENTION=4633983]nikhil18[/MENTION], Your kernel is really good, I can just hope you don't give it up. I'm going to make some advertising ;)

Possible problem with the thermal driver:

On my device it seems that cpu doesn't work according to thermal throttling. There are 3 or 4 steps depending on the cpu temp. Mine uses only the first(1728MHz). If temp goes higher it doesn't throttle more. But it should. Didn't change thermal settings.

Details:

DU mm test 0217, lightning v14, ska, alucard gov, alucard hotplug

Thanks!

1+1 DirtyUnicorns M + LightningKernel
[ONE Original Android Development] Ajaykumar21066:
Hey, Can you help with that charging current script.

Thanks
[ONE Original Android Development] kanyazsombor:
echo "1500" > /sys/kernel/charge_levels/charge_level_ac

That is the script. I used Singularity Kernel Adiutor (I beleive normal KA also capable).

In the app go to init.d section.

Make a new script.

Paste the above expression.

Save it.

Now you see again the list of the scripts. Long press on the new one. Execute.

Now attach the charger. The current should be 1,5A instead of the kernels default ~0.8A. If the charger was attached when you pressed the execute, than you need to reconnect it again to make the change.

I didn't tested other currents, since 1,5A is fine for me. Other roms kernels use higher ~2A. 1,5 is a good middle way.

I tested the method with external ampere meter/usb tester.

EDIT

You don't necessarily need to execute the script, reboot is also good. Until your script is on place, charging current will be that you set.

You can reach your goal different ways. I beleive that modifying the content of the file (in the script there is the path) also fine. But I'm not exactly sure.

1+1 DirtyUnicorns M + LightningKernel
[ONE Original Android Development] Ajaykumar21066:
Thanks Sir.

I created the script and save it , but looks like its not saving
[ONE Original Android Development] kanyazsombor:
Might be the permissions of KA app. Otherwise no idea.

Or try to make a file with a file explorer to system/etc/init.d, and set the permissions like the other files there.

Or try the other method, to modify the file at path in the script. Default the file content is "0". Change it to "1500".

EDIT

make a nandroid backup before!!!

1+1 DirtyUnicorns M + LightningKernel
[ONE Original Android Development] nikhil18:
Bro in singularity kernel adiutor in the intd section tap on + icon in the Down right hand side corner give the file a name like charge the paste the command line on top and press on the save button on the top right hand side corner then tap on the charge script which you will find at the bottom of all the scripts you have to scroll down if you can't see it then tap on it and press on execute check the value in synapse if it has changed it works properly if not you are doing something wrong
[ONE Original Android Development] nikhil18:
Update version 15

Changelog

insync with cm kernel

removed options for frequencies in franco thermal

updated blug_plug hotplug

fixed synapse onboot settings thanks to [MENTION=4084072]amit.bagaria[/MENTION]
[ONE Original Android Development] gyakusetsu1215:
Getting a boot loop with the latest. Something with the init.d. had to delete the UKM init.d folder and flash v14 again.
[ONE Original Android Development] akhenaton27:
Bootloop here too
[ONE Original Android Development] KURDKiNG:
Mines flashed perfectly
[ONE Original Android Development] nikhil18:
Guys don't flash the latest version for some reason the phone is booting at 2.8 ghz
[ONE Original Android Development] Bradl79:
i am glad i always go and read the latest post before flashing lol, thank u, i can't wait until the synapse boot fix
[ONE Original Android Development] rolarocka:
Wow man this kernel is awesome in terms of speed and battery life. Using it with jgcaap and the battery lasts forever. GZ and thx. ?

A0001 - oneplus one
[ONE Original Android Development] Jole7:
I have the same opinion great kernel very fast!!!
[ONE Original Android Development] :
[MENTION=4633983]nikhil18[/MENTION] You should remove v15 and v33 from your download page. Cpus get stuck @2880 mHz and sultans simple thermal doesn't work properly. Leads to overheating and reboots.
[ONE Original Android Development] nikhil18:
extremely sorry

version 15 reuploaded Sorry for the heating issue i swear will never touch thermals next time please give this kernel one more chance people who have dropped their phone from their hand due to heating
[ONE Original Android Development] madeferro:
Np man, this kernel is awesome. V15r works great. Good job! :D
[ONE Original Android Development] dmt-300:
Working like a boss bro. Thanks for the awesome work ?
[ONE Original Android Development] iTalisman:
A little confused...which version of UKM should I flash with v15? ROM is RR 17th Feb version....
[ONE Original Android Development] nikhil18:
its already included
[ONE Original Android Development] :
All fine now *thumbup*. People who complain shouldn't flash anything. That's why it is called development section.
[ONE Original Android Development] iTalisman:
Gamma in synapse isnt working ?. v15 with RR ROM. Did I miss anything?
[ONE Original Android Development] cerealguy:
+1
[ONE Original Android Development] nikhil18:
its working for me just choose a profile import it close synapse and then open it press the x mark then you will notice the colour difference
[ONE Original Android Development] nikhil18:
For some reason it can't create synapse directory are you able to import and export profiles?
[ONE Original Android Development] cerealguy:
No!!! Same screen! ??
[ONE Original Android Development] :
Since you imported fixed synapse in your latest version, a synapse directory is created in internal storage. This directory is dated 28.04.1971 and can't be removed or written. I think this is the problem. The synapse directory is there although i don't use synapse.

fixed synapse onboot settings thanks to [MENTION=4084072]amit.bagaria[/MENTION]
[ONE Original Android Development] cerealguy:
Same here ?

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Original Android Development] nikhil18:
Can you delete the synapse folder and reinstall synapse app
[ONE Original Android Development] :
It can only be deleted with rmdir via adb shell. I use Kernel Adiutor. Someone else must test.
[ONE Original Android Development] cerealguy:
Removed it in Twrp recovery and reinstalled Synapse, but no luck
[ONE Original Android Development] nikhil18:
can you clean flash
[ONE Original Android Development] AceMONKEY:
，，me too...........
[ONE Original Android Development] cerealguy:
I don't have time now... Sorry
[ONE Original Android Development] nikhil18:
ok have you set selinux to permissive
[ONE Original Android Development] cerealguy:
Yes
[ONE Original Android Development] nikhil18:
bro try giving the synapse folder proper permissions in twrp by hitting 755 chmod button and also install this busybox https://play.google.com/store/apps/details?id=me.timos.busyboxonrails&hl=en if that dosent fix the error
[ONE Original Android Development] cerealguy:
Boss, tried all these, but error is sti there
[ONE Original Android Development] Stylo King:
New Profile is here guys, Sorry for the delay..

Stylo King Lightning V2
[ONE Original Android Development] KURDKiNG:
How do we set the profile using singularity kernel auditor??
[ONE Original Android Development] Stylo King:
Use Synapse,Restore profile then the profile will gets applied to Kernel Adiutor too..
[ONE Original Android Development] KURDKiNG:
I would use synapse but almost evrything says sseek bar has failed, idk y
[ONE Original Android Development] Bradl79:
it seems there was a bad battery drain on 15 vs 14, is this fixed in 16?
[ONE Original Android Development] darkness_78:
How to use stylo profile in synapse? Do i need extract first? I try to restore synapse there is message invalid. Do i need copy folder stylo to synapse profile folder?
[ONE Original Android Development] Bradl79:
u download the tgz file and move it to synapse/saved_profiles/ it does not go into its own folder, then go to synapse and goto Profile tab, click Restart Synapse and then go back then Select Profile, press the check then click Restore Selected Profile
[ONE Original Android Development] darkness_78:
Thx for ur great work nikhil, i just flash new kernel. Smooth and no lag. I use stock setting.
[ONE Original Android Development] darkness_78:
It work thx
[ONE Original Android Development] nikhil18:
version 16 reuploaded

sorry of the inconvenience guys but i had to reupload version 16 because the new version of blu_plug hotplug i added did not have any on or off button so it was running and having conflicts with other hotplugs so causing reboots
[ONE Original Android Development] anbinhv:
V13 best battery for me
[ONE Original Android Development] cerealguy:
+1 in reuploaded version [MENTION=4633983]nikhil18[/MENTION]
[ONE Original Android Development] nikhil18:
Bro use dirty tweaks to keep selinux enforcing,clear the data of synapse and open it then go back to dirty tweaks and keep selinux as permissive then go to synapse and tap fix device at the bottom
[ONE Original Android Development] cerealguy:
Finally it works! Thank you! [emoji1]
[ONE Original Android Development] indhimaga:
NuclearROMReborn colaborated with latest lightning kernel + synapse slow startup and system error on every startup It seems like when the device boots its not allowing synapse boot to complete....

but its fine with kernel adiutor and so smooth ... no problem at all untill now...
[ONE Original Android Development] nikhil18:
Guys I think next version I will hardcode selinux as permissive in the kernel so that synapse works properly do you all agree
[ONE Original Android Development] Sander9847:
Fine for me, does keeping your selinux as enforcing even have any use? All I ever see is things not working properly because selinux wasn't set as permissive.
[ONE Original Android Development] cerealguy:
Good idea! [emoji106]

EDIT: [MENTION=4633983]nikhil18[/MENTION] what I need to set in synapse to enable zzmoove hotplug?
[ONE Original Android Development] nikhil18:
Choose any profile then set disable hotplug to 0 but before that you have to disable all other hotplugs
[ONE Original Android Development] kanyazsombor:
I heard it can decrease security. Will we be able still to set it to enforced. If yes than ok. Since I don't use synapse

1+1 DirtyUnicorns M + LightningKernel
[ONE Original Android Development] phanipk:
hi guys

can i flash this Lightning Kernel im on cm-13 20160222 nightly with stock kernel.

can any one tell me the procedure how to flash this.
[ONE Original Android Development] oelf:
I use this kernel on my cm13 nightly too.

Download zip, boot into your recovery and install zip ;)
[ONE Original Android Development] 1plus:
very good kernel <3

works well on cm13 lagfree ROM and that is a fine achievement as many custom kernels are not entirely compatible with it.

in regards to zzmove hotplug, how does it compare to any other like e.g. intelliplug?
[ONE Original Android Development] phanipk:
thanks for ur reply

how much sot u r getting with this kernel.

my battery draining very fast. i got 3 hours sot with 20% battery left

any suggestions to solve this problem.

thanks in advance.
[ONE Original Android Development] paarkhi:
[MENTION=4633983]nikhil18[/MENTION], Great update 16R, synapse profile works correctly even after reboot

Thanks for the update :good:
[ONE Original Android Development] Bobbi lim:
[MENTION=4633983]nikhil18[/MENTION] in your first post you mention "-WORKS ON BOTH AOSP AND CM BASED ROMS"so does that means it'll work on both AOSP and CM13 based ROM?

As the thread title says "[CM13]Lightning Kernel".
[ONE Original Android Development] nikhil18:
It will only work if the ROM dev uses cm13 kernel source like dirtyunicorns so you should ask the ROM dev which kernel source he uses sultans or CM13
[ONE Original Android Development] tofu:
lollipop testing

1. Converted /cache into f2fs just to test it (encryption doesn't work if you convert /data, and SlimLP installer seems to reformat /system to ext4)

2.. clean flashed (with twrp 2.8.7.0) SlimLP 12.2.2016 minuxbuild

3. Installed Lightning v4 kernel, which boots fine.

Latest version V16r doesn't boot with SlimLP. I wonder what changed after v4 that prevents booting? Any chance making some magic so that the latest version would also boot?
[ONE Original Android Development] nikhil18:
Cm has rebased its kernel source so version 6 is the last version compatible with old builds
[ONE Original Android Development] smilezou:
Please updated with latest official CM kernel commits and release a new version, thanks a lot!
[ONE Original Android Development] D_black84:
dude, it's rude to tell the dev to release a build just because you want, even if you say please. I'm sure he already knows about the latest commits and will release a new build when it's ready .
[ONE Original Android Development] smilezou:
Sorry If I've caused you offence, I just want to say that the current version may not work with the latest CM Nighties since the kernel commits has been changed since 20160229, I'm not to push the dev, the post more than a remind, sorry for the bad expression.
[ONE Original Android Development] D_black84:
No problem.. Trust me I'm also eager for a new build
[ONE Original Android Development] :
SKA v12. Now with Per-App profile support.

http://xdaforums.com/showpost.php?p=65676109&postcount=3230
[ONE Original Android Development] Se7enpoint62:
Anyone using lighting kernel with dirty unicorns?
[ONE Original Android Development] grusta:
I tried it yesterday to get multirom working.

It's fast, but I didn't test completely. (theme chooser FC's are a deal breaker for me)
[ONE Original Android Development] theekilla:
Try the new build from 1500 on the same day. nickdoherty fixed the issue

http://download.dirtyunicorns.com/files/bacon/Official/DU_bacon_6.0.1_20160301-1501.v10.0-OFFICIAL.zip
[ONE Original Android Development] kanyazsombor:
Yes. Good combo

1+1 DirtyUnicorns M + LightningKernel (cm)
[ONE Original Android Development] Se7enpoint62:
I've tried the latest kernel on the latest official unicorns and the latest test version and still can't get past the oneplus logo. Just curious if others were pulling it off.
[ONE Original Android Development] thenessus:
xposed?
[ONE Original Android Development] Se7enpoint62:
Nope, I don't use xposed. I'm using materialized twrp. Just flashed unicorns and Gapps, restored all my apps, rebooted and flashed lighning, always sticks at the boot logo. Boeffla got closer and got to the unicorns boot logo but still never fully booted.
[ONE Original Android Development] grusta:
Yes, that's the version I tried. Weird.

I flashed xposed too.
[ONE Original Android Development] anbinhv:
This kernel won't boot with DU on clean flash. You have to boot in to the rom with stock kernel. Then flash Lightning. Btw V13 boot fine on clean flash.
[ONE Original Android Development] Starsream88:
Test version ? Where did you get it ?

Edit : nevermind, i thought you were talking about kernel test version

Envoyé de mon A0001 en utilisant Tapatalk
[ONE Original Android Development] Se7enpoint62:
The test version of dirty unicorns, I'm still flashing the re-release lightning, 16 I think it is

---------- Post added at 09:12 AM ---------- Previous post was at 09:11 AM ----------

I was clean flashing then booting and restoring apps, then rebooting and flashing lighning. I'll download v13 and give it a go.
[ONE Original Android Development] suaverc118:
Does anyone know how to use battery yank or optimize when I choose zzmove using the new singularity kernel tuner posted here yesterday??
[ONE Original Android Development] kanyazsombor:
Go to cpu section, than governor tunables. You will find profile nr.

Put there 2 for batt yank, 6 for opt

Here is the link for others http://xdaforums.com/showthread.php?p=42637787

After this, profile name line will change accordingly

1+1 DirtyUnicorns M + LightningKernel (cm)
[ONE Original Android Development] nikhil18:
Update new version 17

Changelog

added cpu-boost load based sync powersaving feature thanks [MENTION=5438598]RenderBroken[/MENTION]

added preservative governor

added ondemandeps governor

added slim governor

synced with latest cm source

enabled lot of cpu frequencies

improved tuning for interactive governor

removed autosmp hotplug for now
[ONE Original Android Development] cerealguy:
Flashing now on DU! Thanks!

Sent from mine DiRtY BaCoN ?

Powered by LiGhTnInG KeRnEl⚡⚡
[ONE Original Android Development] Pollie81:
Tell us if it works correctly.[emoji6]

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] cerealguy:
Seems that it works good! :D [MENTION=4633983]nikhil18[/MENTION] what kind of magic do you have done to interactive? It's so smooth now! :D

Sent from mine DiRtY BaCoN ?

Powered by LiGhTnInG KeRnEl⚡⚡
[ONE Original Android Development] NickosD:
Thanks!
[ONE Original Android Development] Pollie81:
Strange thing is i never seem to be able to flash lightning kernel on DU. It's stock at OP logo.

Verstuurd vanaf mijn SM-G900F met Tapatalk
[ONE Original Android Development] NickosD:
Bootloop at jgcaap rom 3/3
[ONE Original Android Development] cerealguy:
Very strange. I'm using this kernel on DU since first test build of this Rom

Sent from mine DiRtY BaCoN ?Powered by LiGhTnInG KeRnEl⚡⚡
[ONE Original Android Development] Jole7:
Good work man [MENTION=4633983]nikhil18[/MENTION]
[ONE Original Android Development] gyakusetsu1215:
You need to boot into the rom first then flash kernel otherwise it won't boot
[ONE Original Android Development] suaverc118:
Yes, you have to flash the kernel after the ROM has finished bottling, you can't flash together. You also can't flash XP either, you have to flash kernel, reboot and reboot into recovery and flash XP