yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] Jaccob25:
Hi everyone. I was read a lot off discussions about i9100 with CM12.1 but I still don't know how to do it without some problems.

My phone actually running CM13.1 latest nightly build with Team Win TWRP recovery v 2.8.XXX and maybe DorimanX kernel? I don't know how to find Kernel name and version... :( I would like to ask you how to go to Cm12.1 build with pico or nano GAPPS (And what build I should download). I need the most stable build for daily use. Next how to replace CM recovery with TWRP 3.0.2. . I am totally confused. I'll be glad for any help.
[Galaxy S II Q&A, Help & Troubleshooting] maksymmakarec:
Oh. I have that problem too. CM 13.1 not stable!
[Galaxy S II Q&A, Help & Troubleshooting] noppy22:
Firstly look under settings -> about device and it will tell you the kernel version. If it says 3.0.101-CM------, you have the stock CM13 kernel. You said you have TWRP 2.8.x.x and not CM recovery?? This means you already have the isorec recovery enabled. All you need to do is flash the 3.0.2-1 .img from this recovery and you will have the newer one installed. And just do normal backup/wipes and install CM12.1 as you would any other rom. Just remember to use 5.1 gapps(arm;5.1;pico/nano)

Here is the last official CM12.1 I uploaded

Here is a more up to date unofficial CM12.1
[Galaxy S II Q&A, Help & Troubleshooting] Jaccob25:
Yes I have stock cm13 kernel and TWRP flashed. Can I flash new TWRP via Odin?

Thank you very much! :)
[Galaxy S II Q&A, Help & Troubleshooting] noppy22:
I don't think you can flash a .img file with odin. Honestly if you want to downgrade to 5.1.1 it would be easier to do it in one go.

Flash CM12.1, gapps, then TWRP 3.0.2-1.img all from TWRP 2.8
[Galaxy S II Q&A, Help & Troubleshooting] Jaccob25:
Ohh I thought that TWRP can't flash img file.

Thanks for advice. I try it today.
[Galaxy S II Q&A, Help & Troubleshooting] Jaccob25:
So I try that and almost everything works fine. Only GPS fixing seems like a little bit problematic. But I don't know my testing was short. I will see.
[Galaxy S II Q&A, Help & Troubleshooting] teraghik:
May I ask a supplementary question - I am in a similar position, I have an i9100 which I upgraded from stock 4.1.2 Jelly Bean to CM13 following (most of) djibe's guide here

So I now have CM13 ROM with kernel version 3.0.101, re-partitioned with Lanchons repit, and with recovery TWRP 3.1.0 installed and functioning.

I want to revert from CM13 to CM12.1. From above, I believe that I can simply backup, wipe, then flash the CM12.1 ROM (I'll be using the last nightly, cm-12.1-20160203-NIGHTLY-i9100.zip) - is that correct?

My question/confusion is, do I also need to flash an isorec-compatible kernel (ie kernel-Lanchon-TRIM-IsoRec-20160111-cm-12.1-i9100.zip)? The isorec thread (here) says that the "Official CyanogenMod 12.1 and 13 kernels are now IsoRec-compatible", so it seems to me unnecessary, but many threads/guides on XDA say to flash one of Lanchon's kernels.

Please could someone advise, and my apologies for what is probably an ignorant question.
[Galaxy S II Q&A, Help & Troubleshooting] noppy22:
You are correct. Isorec support was implemented before that last nightly iirc. No need to flash any kernels.

Note: Only use the official TWRP 3.1 from the TWRP website or the.gangster's one which is basically the same. They are compatible with the earlier android versions.
[Galaxy S II Q&A, Help & Troubleshooting] teraghik:
Hi Noppy,

Thanks very much for taking the time to reply and help - I am using "the gangsters" TWRP 3.1 from djibe's thread, appreciate the heads up. I can confirm that I flashed CM12.1, and it works fine!
[Galaxy S II Q&A, Help & Troubleshooting] djibe89:
Why don't you follow my tutorial to get the perfect smooth Android 7.1 for SGS2 ?

Here it is : https://xdaforums.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
[ZenFone 2 Android Development] nutcasev1.5:
/*
*
* I not responsible for bricked devices, dead SD cards,
* thermonuclear war, exploding phones or you getting fired because the alarm app (Which Happens at Low Battery) failed. Please
* do some research if you have any concerns do some research
* YOU are choosing to make these modifications,
* and if you point the finger at me for messing up your device, i will laugh at you.
*
*/

Warning: This Kernel Will Disappoint Hardcore Benchmarkers or Ultra Heavy Users with many Apps

Note: Don't forget to thank Sayeed, Nyks45, Brent Scheuerer, JBolho, Ram & Luq4dmin for this Kernel.

Presenting:

Holo Kernel​

Kernel Features:

Linux Kernel Version : 3.10.108

Built with Custom GCC 7.3.1 Linaro TC

Overclocking-Underclocking (thanks to @TheSSJ & Me)

Wireguard VPN Support ( See Guide )

CPU Optimizations

GPU Burstfreq Architecture

Under Volted GPU

Intel Powerclamp Driver From Linux v4.9.70

Sweep2Sleep Support

Autosleep Support

BLX implemented (thanks to @say99)

ZRAM support

ExFAT support

NTFS RW support

Minimum Brightness is 2 instead of 15 percent (thanks to @TheSSJ )

Ghost Sync

CPU Governors:

- Intel

- Ondemand

- Interactive

- ConservativeX

- Performance

IO Schedulers:

- CFQ

- SIOPlus

- Deadline

- Zen

TCP Congestion:

- Sociopath (Default)

- CUBIC

- Reno

- Westwood

Downloads:

Kernel & Profiles:

AFH

Mediafire

Profile Doesn't Appear in KAM (Troubleshoot)

Source:

Github

Thanks to all who made this kernel a possibility:

@TheSSJ for Multiple Implementations

@say99 for his excellent Guidance

@jrior001 , @crpalmer for Maintaining the kernel upon which this is based

@Nyks45 for his work on Octodex Kernel

Leave A Post If You Want Me To Implement Something
​

XDA:DevDB Information

Holo Kernel, Kernel for the Asus ZenFone 2

Contributors

nutcasev1.5, Thanks to @say99 , @TheSSJ , @Nyks45 , @jrior001 , @crpalmer & all others whose work is encorporated into mine

Source Code: https://github.com/nutcasev15/Holo-N

Kernel Special Features: More GOVS, OC/UC, IO && Best Battery for Zenfone 2

Version Information

Status: Stable

Current Stable Version: 6S7_MR2

Stable Release Date: 2018-04-25

Created 2016-08-20

Last Updated 2018-04-25
[ZenFone 2 Android Development] nutcasev1.5:
Reserved

The Official Changelog:

Detailed Link

V6:

V6S4:

~ Linux 3.10.108

~ Linaro GCC 7.2.1

+ Burstfreq GPU Scaling

+ GPU Undervolt v2

+ Multiple Default Changes

+ Advanced Interactive Tunables

+ Intel Powerclamp from Linux V4.9.70

+ C4 Idle State

+ Atom Upstream Commits

+ Wireguard Support

+ Updated ExFAT Drivers

+ Ramdisk Modification Framework

- SSJActive, Frankenstein CPU Govs

If you want to find out what these

new features do, read this:

https://xdaforums.com/showpost.php?p=75029596&postcount=2533

V6S6:

~ Refactored Defaults

+ Better Memory Management

+ Updated Wireguard

V6S7:

+ Better Long Term Performance

+ Background Activities Limit [ 25 ]

+ App Cache Trimming

+ Better Ondemand Tuning

+ Updated Wireguard

- Interactive Wakeup Delay

- Memory Related App Crashes

V6S7_MR2:

~ Ubuntu 18.04 Build Machine

~ Linaro 7.3 TC

+ Ofast TC Optimization

+ Updated Wireguard

+ Boot Optimization with O3

+ Automatic FS Cache Cleaning

- Transparent Hugepages

- mStackRealign Flag
[ZenFone 2 Android Development] nutcasev1.5:
Reserved

V1:

Done

V2:

Done

V3:

Done

V4:

Done

V5:

Done

V6:

Done
[ZenFone 2 Android Development] Russiamen:
Good work;)
[ZenFone 2 Android Development] TheSSJ:
Even though i really don't want to put say99 in a bad light (he is obviously a really important piece of the zf2 development, even more important than i could ever be), I implemented blx for our zenfones first :P
[ZenFone 2 Android Development] shazzl:
Good work
[ZenFone 2 Android Development] Yousvel:
ZOOA8???

Do you mean ZOOA/ZOO8? The way it's written now is a bit confusing.

Anyway, thanks for your hard work!
[ZenFone 2 Android Development] nutcasev1.5:
[MENTION=5684962]Yousvel[/MENTION] Its a typo but this kernel can be used on both variants

[MENTION=2388665]TheSSJ[/MENTION] I cherry-picked BLX from [MENTION=7111568]say99[/MENTION] so I gave him credit.
[ZenFone 2 Android Development] Nyks45:
[MENTION=2388665]TheSSJ[/MENTION] u started that thing first we are all came after u

my kernel and sayeed's kernel has too many things from u :)

but [MENTION=7111568]say99[/MENTION] is much better guide than u :silly: :silly: :p :p
[ZenFone 2 Android Development] aniruddha007:
Wow another kernel for zf2 :)
[ZenFone 2 Android Development] 1boy1dr:
amazing kernel, boots so quickly and has great performance and great battery life, great job!
[ZenFone 2 Android Development] sebx_g1:
Hmm after 3-4 hours from publishing you say - great battery life...??? Nice, performance is ok. Battery needs a lot of more time to judge.

Wysłane z mojego ASUS_Z00A przy użyciu Tapatalka
[ZenFone 2 Android Development] Nyks45:
:D he might tested it when the kernel was on beta versions
[MENTION=350594]nutcase[/MENTION]v1_5 released a beta for that kernel on telegram group :)
[ZenFone 2 Android Development] nutcasev1.5:
Guys use my custom profiles for even more battery or performance. You will find them below the download link along with instructions to setup. One Of my Beta Testers got 5 Hrs 53min SOT on CM with 2 hrs idle with my battery profile.
[ZenFone 2 Android Development] foober:
Wow! Amazing! I'm now on stock and my max is 4 Hrs. I will fallow this thread. ?

Wysłane z mojego ASUS_Z00AD przy użyciu Tapatalka
[ZenFone 2 Android Development] sebx_g1:
Which profile is most balanced for preformace/battery life.?

Wysłane z mojego ASUS_Z00A przy użyciu Tapatalka
[ZenFone 2 Android Development] nevermorenorless:
Am I able to use this on RR and if so will it cause any problems?
[ZenFone 2 Android Development] quick05:
Thank you for the kernel :D
[ZenFone 2 Android Development] lamp216:
i cant find the profile.json on the kernel auditor folder, i only find a commands.json
[ZenFone 2 Android Development] Luq4dmin:
I can't find the tripndroid in i/o scheduler like mentioned in the first post. Will u add it ?

*btw, im proud with this kernel performance and battery life :D :good:
[ZenFone 2 Android Development] nutcasev1.5:
Its a bug with cm13 on default kernel. Nothing that I can do here. It's a problem with the media stack.
[ZenFone 2 Android Development] nutcasev1.5:
Thanks for your enthusiasm. I'm just getting bare bones to compile rn. Not flashing build so far. Octo has support now. (almost)
[ZenFone 2 Android Development] krasCGQ:
I think it's CM kernel bug.

On Cameringo+, I would just hope that my phone won't freeze; since doing a focus (auto/manual) would often cause the phone to totally freeze :silly:
[ZenFone 2 Android Development] Sh4rpi3:
Very excited for Holo Kernel MM-Blobs. Many people are saying their battery literally doubled when using MM-Blobs. If this is true, imagine the battery life with Holo Kernel :D!
[ZenFone 2 Android Development] nutcasev1.5:
Guys/gals just got a booting combination. Expect a release soon now.
[ZenFone 2 Android Development] nutcasev1.5:
This is on Z00A
[ZenFone 2 Android Development] Sh4rpi3:
So is this on MM Blobs?:D
[ZenFone 2 Android Development] nutcasev1.5:
See the build number & date. Yes
[ZenFone 2 Android Development] foober:
Del
[ZenFone 2 Android Development] lamp216:
Thx for the work! Waiting for install.
[ZenFone 2 Android Development] nutcasev1.5:
I have the src ready. Doesn't want to compile tho. Tomorrow build 100%. That's means you guys should have it by Tuesday. Along with new overhauled profiles from my friend Ezra .
[ZenFone 2 Android Development] krasCGQ:
I feel relaxed on reading this, since my location is about 2.5-4 hours advance from yours :p
[ZenFone 2 Android Development] nutcasev1.5:
Count it down folks. 24hrs remain.
[ZenFone 2 Android Development] xjammetx:
lets drink to that!

[IMG="cheers!"]http://i.imgur.com/D1p8jE8.png[/IMG]
[ZenFone 2 Android Development] nutcasev1.5:
Discontinuation

As of This Day; of 19th September 2016, We have lost a kernel.

vXr was doomed from the beginning. Yesterday was his death kneel.

Today, We remember the version which supported the Asus Lollipop Bootloader (BL).

In Your Honour a final build:

(Use the profile provided after renaming the extension to .json. Made by Ezra.)

We Bid You Farewell. Adiu.

:angel:
[ZenFone 2 Android Development] jimmys121979:
HoloM-v2r3 its for lollipop bootloader..am i right?
[ZenFone 2 Android Development] Huikhor99:
I read changelog on telegram it say mm blob support,but failed to boot in system when I was install on aicp mm blob version

Edit:maybe I was confused with the version number
[ZenFone 2 Android Development] Luq4dmin:
The one that supports MM bootloader is v2b3.,,not this one..this is the last version for LP bootloader :)
[ZenFone 2 Android Development] lamp216:
Is already out the v2b3 version?
[ZenFone 2 Android Development] guizzzmo:
Mixplorer
[ZenFone 2 Android Development] Polycarbonate:
Anyone getting very huge lag on the Google app when looking at the Now Cards? It's been happening quite frequently, logs don't show any errors, might be on my end though?

Don't know what app could cause problems with this kernel, since it only happens when I flash the kernel, if I'm on stock it won't lag.

I'm on AICP using the Z00AD variant (2.3mhz)

Currently not using any profiles or kernel tweaks

Using Greenify and Magisk 11.6 not 12

I'll share logs if its just on my end.
[ZenFone 2 Android Development] C-Ph87:
I don't know how to do that but you can copy/paste the settings in my comment to your phone with Kernel Auditor.
[ZenFone 2 Android Development] nutcasev1.5:
2.3 Mhz :eek:

Maybe because of that:D

what profiles are you using? If you are not using any profile, then I have no idea.

Clear Kam data & reboot. Then after reboot configure your settings into KAM & make a profile of this settings. It will only save modifications from default settings.
[ZenFone 2 Android Development] Polycarbonate:
Lol, my bad, should've been specific :D

I managed to find the cause of the problem, uninstalling Magisk and reinstalling it removed all the lags, buttery smooth now, maybe there were traces of 12.0? Idk, but thanks for responding anyways.
[ZenFone 2 Android Development] C-Ph87:
i've created a profile but it doesnt appear on /data/data/com.kernelAuditoMod/files/profiles :(
[ZenFone 2 Android Development] nutcasev1.5:
You cleared KAM data?

Also that path is not the real path. Lot of typos in it.

/data/data/com.kerneladuitor.mod/files/profiles.json that's the full path
[ZenFone 2 Android Development] LeinnarC:
Strange, it fixed itself. I mostly notice it only on the home page and quick settings. Now its gone.
[ZenFone 2 Android Development] nutcasev1.5:
UPDATE

v5g3:

~ Rebase on Latest Lineage

+ SSJActive Suspend/Resume Tweaks

----------------------------------------------------------------------------------

Same profiles, not much change

Hololite also rebased to 4R3
[ZenFone 2 Android Development] zanitos1991:
Seems a bit less laggy z00a Los using battery profile. Thx!
[ZenFone 2 Android Development] Plyra:
Don't use Battery, use HeavyUI. Battery profile is more battery-friendlier but it destroys stability.
[ZenFone 2 Android Development] PedroCaseiro:
Which version is the one compatible with CM13 ?? I flashed the latest kernel version and the phone got stuck on the splash screen. Had to boot into recovery and then flash the cm13 build to restore the default kernel
[ZenFone 2 Android Development] madhacker3kxl:
Anyone is having charging problem with the latest kernel 5g3? It always charges at slow 500ma rate.. Have to take the usb cable out and insert it again to get the fast charge working.

When i flash back to 5g2 charging works fine.
[ZenFone 2 Android Development] C-Ph87:
I'm on 5G3 and fast charging is fine here.
[ZenFone 2 Android Development] nutcasev1.5:
If you are on mm bl then you are out of luck. But if you are on lp bl then search for v2r4 in thread. It's about 6 months old. Don't expect it to be stable.
[ZenFone 2 Android Development] reinaldooo:
Nut, is too dificult to adjust mic gain on whatsapp?

Every CM based ROM has REALLY low whatsapp audio capture.

Thanks a lot!
[ZenFone 2 Android Development] zanitos1991:
Battery when it reaches 100 goes to 98%, but! if I charge the phone while it's turned off to 100% after disconnection it holds the charge (z00a using Los and Holo)

Tried everything reflashed recovery, revert to stock delete everything etc.
[ZenFone 2 Android Development] agm2112:
Battery life extender option on kernel adiutor
[ZenFone 2 Android Development] ofr679:
Is this kernel only for aosp/lineagos?

Can I use it for asus stock rom z008 WW_4.21.40.191 with magisk and xposed?
[ZenFone 2 Android Development] Aksell:
No you can't use with stock rom only lineage and aosp
[ZenFone 2 Android Development] zanitos1991:
It's disabled
[ZenFone 2 Android Development] Luq4dmin:
Just drag the batery life extender from 98 to 100.,the one u disable is only the apply on boot.,it doesnt disable the feature...
[ZenFone 2 Android Development] samuele94:
Flashed on OCT-N all OK for now,thanks for the kernel! i try thessjactive gov
[ZenFone 2 Android Development] nutcasev1.5:
I will hack in my Rom. It is currently in development.

I just recently broke a lot of stuff trying to optimize things. You will have to wait for my Lineage release.
[ZenFone 2 Android Development] samuele94:
hotplug (turn off/turn on core, not the governor) works only with profile? now i use hotplug profile and hotplugging works without problem but without profiles all core are on
[ZenFone 2 Android Development] Wo11ven:
There is no hotplugging in this kernel besides hotplug governor itself, I believe.
[ZenFone 2 Android Development] C-Ph87:
The SSJactive does Hotplug when the screen is off.
[ZenFone 2 Android Development] samuele94:
if you use profiles you see turn on/off core but works only 3 core........
[ZenFone 2 Android Development] felice_pinto:
Best confg so far?
[ZenFone 2 Android Development] ruleh:
Powersuspend

What does powersuspend do?

I am asking because looking at the code, I could not find any of the powersuspend hooks being used.

Before the removal of the autosleep hook, the only place where a hook was being used was in kernel/power/autosleep.c.

However this one had the resume hook at a rather weird location (which I think is the reason it was removed again).

[Though this is largely useless anyway because autosleep isn't used in the first place]

But more importantly, there seems to be only one thing registered to powersuspend (seems fsync related).

As such the only thing that works is the userspace mode setting, which when set to 1 does a fsync force flush once.

Furthermore powersuspend seems more like an earlysuspend/lateresume replacement (I think it is in the module description) while the kernel still uses earlysuspend for everything (except dynamic fsync).

So did I miss anything important or does powersuspend really do nothing?
[ZenFone 2 Android Development] nutcasev1.5:
You are right and wrong. Thing is that early suspend/lateresume was depreciated. So it was brought back as a driver to reintroduce the functionality.

So that's the story. I'm back. Starting work tomorrow.
[ZenFone 2 Android Development] Ferreira_F10:
Could you add Splendid on your Rom too?

Enviado de meu ASUS_Z00A usando Tapatalk
[ZenFone 2 Android Development] ruleh:
Right now earlysuspend is still used.

It does 2 things:

Handle earlysuspend/lateresume

Suspend the system when there are no wakelocks

Powersuspend only seems to do the first thing.

However autolseep does the second thing. (In the same way as earlysuspend....in fact it is nearly the same code)

So would we also need autosuspend when moving away from earlysusoend?

However the problem is still where does poweruspend get called from?

Also interesting: this suggests using runtime_pm instead of earlysuspend
[ZenFone 2 Android Development] nutcasev1.5:
Sayeed has close source stuff. I can't. & I am not interested to port it from scratch.

We don't have any functions with the label powersuspend.

Powersuspend is early suspend & that's how it is referred throughout kernel. All in all, you can thing of powersuspend as an extention of early suspend which can be used anywhere.

It can be used in any driver, anywhere. So, we mostly have it for backward compatibility. I will update it to runtime_pm if it will work.
[ZenFone 2 Android Development] emeer93:
How to install

i dont understand how to install.. step by step,,
[ZenFone 2 Android Development] Aksell:
Boot into twrp

Flash kernel

Wipe cache

Reboot

Done!

You can't use this kernel with stock rom
[ZenFone 2 Android Development] C-Ph87:
After some tests i've noticed that new SSjActive code on 5g3 is lagging with the same config i've used on 5g2. Touchboost also doesnt seem to be working as expected.
[ZenFone 2 Android Development] Nicholas2601:
60 fps

How to enable 60fps recording?
[ZenFone 2 Android Development] ramrasekar:
For that both ROM as well as Kernel side support is required.

You can use Open Camera app to record 60fps.
[ZenFone 2 Android Development] Nicholas2601:
I installed the open camera, I changed the fps but it does not record. Says that bit rate is not supported :/
[ZenFone 2 Android Development] nutcasev1.5:
Touch boost duration must be more than min sample time for it to work. I don't know why it's broken. As for that lag, I think the best explanation is 500 Mhz cap is too less for just 2 cpus running. I'll bump to 750.

No Rom supports 60fps right now.

The Rom has no support. Only my Rom will have support tho others are free to cherry it.
[ZenFone 2 Android Development] C-Ph87:
Touchboost is '8000' and min sample is '2000'. Tecnicaly the cpus should jump to touchboost freq as display is on, right?

I dont think the lags was kernel fault this time. I did some tests here and discover that it was caused by high ram usage + zram (that i've disabled righ now).

about the freqs during sleep: didnt hotplug gov hit the lower freq selected with just one core when the screen is over? I dont think that 500mHz during sleep is a low value even for 1 core alone (as a lower value to hit it is ok).
[ZenFone 2 Android Development] emeer93:
which one kernel bro

---------- Post added at 03:18 AM ---------- Previous post was at 03:10 AM ----------

which one file need to flash.. I saw many file. im using 14.1 lineage..
[ZenFone 2 Android Development] Aksell:
Holo 5g3.zip
[ZenFone 2 Android Development] Elr0ndK:
Can I install it with AICP 12.1? Is there a guide to do it?

Thanks
[ZenFone 2 Android Development] Aksell:
Yes you can

Just flash it

And you should use "search this thread"

Everyone asks the same question everytime
[ZenFone 2 Android Development] Aksell:
Anyone using RR N latest build with lineage os su or supersu how much SOT are you getting with holo 5g3 and RR LOS SU?

With stock RR kernel 1 hour sot and battery is 56%

And which profile is best for battery?
[ZenFone 2 Android Development] Elr0ndK:
You're right, but search results are often a lot and it's difficult to spot the right information.

I know it's annoying, but someone like me (this isn't an excuse, just an explanation) have little time for these tasks.

Anyway, I was able to flash it, thank you :good:
[ZenFone 2 Android Development] C-Ph87:
I'm on rr lineage su. Mine is fine.
[ZenFone 2 Android Development] dingdong3000:
may i ask what font you're using? i've seen it before but forgot the name.

also what configurations you have with Holo Kernel at the moment?

thanks!
[ZenFone 2 Android Development] C-Ph87:
The font is Bariol from HTC.

I've been using it since CM13 in Flux Theme.

I'm on SsjActive gov.

The settings at the moment are:

hispeed_freq: 2GHz

Go_hispeed: 99

boostpulse_duration: 6000

above_highspeed_delay: 80000 1416000:2000

min_sample_time: 2000

timer_rate: 2000

timer_slack: 2000

target_loads: 50 750000:70 1416000:80

Touchboost_freq 2.3GHz

Touchboostpulse_duration: 6000