yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] Raiden01:
Hope this helps [MENTION=7074010]nutcasev1.5[/MENTION]. Since I didn't have a computer at my disposal when this happened I took it via inbuilt terminal app.
[ZenFone 2 Android Development] yan_saputra:
Hiii Dev... ? Before I use this Kernel, Kernel whether this will work in 'XOSP fully-ROM Official (Stable) Nougat v7.1.1 Revision2 by [MENTION=4968383]nilac[/MENTION]'

[https://xdaforums.com/zenfone2/development/rom-xosp-7-1-t3525399]

on Asus Zenfone 2, ZE551ML, Z00A, 4 Gigs of RAM, 32 ROM Gigs??? The plan I will be using Custom this Rom... Please answer and solution... Thank You for Your hard work and Success is always for You and All Team... ?

(Sorry Bad for English...). ?
[ZenFone 2 Android Development] 1boy1dr:
Here's a little teaser of the battery life I got from an upcoming release and my own profile.
[ZenFone 2 Android Development] 1boy1dr:
Please note that this is without a Sim card
[ZenFone 2 Android Development] Druboo666:
[MENTION=7074010]nutcasev1.5[/MENTION]

getting this error while compiling.....

home/faradis/du/kernel/asus/moorefield/Makefile:716: scripts/Makefile.lto: No such file or directory
make[2]: *** No rule to make target 'scripts/Makefile.lto'. Stop.
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/faradis/du/kernel/asus/moorefield'
build/core/tasks/kernel.mk:233: recipe for target '/home/faradis/du/out/target/product/Z00A/obj/KERNEL_OBJ/usr' failed
make: *** [/home/faradis/du/out/target/product/Z00A/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
[ZenFone 2 Android Development] nutcasev1.5:
Building kernel with lto is not supported. Disable it doesn't make a huge difference.
[ZenFone 2 Android Development] nutcasev1.5:
Wait is this BottomNotch ? You on telegram? What's your username?
[ZenFone 2 Android Development] nutcasev1.5:
Next release will have tripndroid use that & stutters will be gone. It's actually a Row issue

----------

Guys Cm14 will be there within15 days. I won't be able to support soon cause I'm currently traveling without rock solid internet.
[ZenFone 2 Android Development] Dan_Jacques:
Excellent! :D
[ZenFone 2 Android Development] lamp216:
which rom do u use? and what settings u change in your profile?
[ZenFone 2 Android Development] 1boy1dr:
I use RR with the following settings
[ZenFone 2 Android Development] Kr47os:
Hi i have applied json file on kernel adiutor not modded version but in profile section i see 3 profile: battery, performance and gaming. Is it normal or have to see other? I applied the .json file with terminal command. Thanks in advance to everyone answer to my question
[ZenFone 2 Android Development] mclarence:
Yes that is normal.
[ZenFone 2 Android Development] ephexxis:
no offense to sayeed, but come on man **** sell yourself short. it's totally conceivable that many of the kernels and roms that have grown out of the zf2 salad days may not have happened at all if it weren't for your solving many of the problems that every stable kernel out now absolutely benefits from and relies on.

my man.
[ZenFone 2 Android Development] nutcasev1.5:
UPDATE

V1r13:

+ Partial LTO Implementation

+ Tripndroid

+ Stability Fixes

+ SOD Fixed

- Powersave CPU Gov

+ F2FS Changes

========================

Profiles updated & the next build will be the final one of the Helium Release chain.
[ZenFone 2 Android Development] Siddk007:
Flashed HoloM_v1r13 on my Z008 running RR 5.7.3 with Battery profile.

Lets see how this goes
[ZenFone 2 Android Development] Siddk007:
[MENTION=7074010]nutcasev1.5[/MENTION] when i connect my phone to pc using usb, phone gets freezed. Started happening after flashing Holo kernel as was not the case with stock rom of RR
[ZenFone 2 Android Development] nutcasev1.5:
Plz explain more. Also unlock immediately after you boot the phone or else you will get Sod. This is a known issue. Working on it
[ZenFone 2 Android Development] Siddk007:
after connecting to pc, when i start transfering files, phone becomes very laggy. And this happens only while file transfer.
[ZenFone 2 Android Development] nutcasev1.5:
Which IO schedule are you using? Tripndroid with 1280 readahead is recommended. I don't get these problems
[ZenFone 2 Android Development] Siddk007:
im using the battery profile and the values you mentioned are only applied for internal not external. Phone lags when transfering to and from only sdcard
[ZenFone 2 Android Development] nutcasev1.5:
Known issue on Cm13. Will be fixed in Cm14 with the backport of sdcardfs. Things will be much better. Just wait for some time. [MENTION=4983111]1boy1dr[/MENTION] do you have this issue?
[ZenFone 2 Android Development] maciek90:
If you have basic knowledge of Linux commands and shell you can start with this tutorial: https://xdaforums.com/zenfone2/general/compile-kernel-t3307932

However it will only guide you on how to compile kernel. If you want to make changes then the Telegram would be the best to check as nutcasev1.5 has mentioned already.
[ZenFone 2 Android Development] nutcasev1.5:
There is support. It just happens when kernel stops syncing during Kpanic. Not when it freezes.

I don't think it will help much since this is a kernel issue not driver. I know System ui crashes for some reason but I'll look into it.

Will work. Btw it's just me & my friends who test Buggy stuff. No team ;)
[ZenFone 2 Android Development] aryan531:
is it ok guyzz
[ZenFone 2 Android Development] Luq4dmin:
With 10hrs standby + 3.5hrs SoT.,, i would say yes :good: i bet u could make it another an hour before the battery totally runs out :)
[ZenFone 2 Android Development] aryan531:
yes.... 1 hour completed and right now 14% left

fully satisfied with this kernel :o
[ZenFone 2 Android Development] aryan531:
with full day data connection ON
[ZenFone 2 Android Development] nicopi:
which rom?
[ZenFone 2 Android Development] aryan531:
RR latest build
[ZenFone 2 Android Development] Raiden01:
How do you guys get this long battery life, and that too with RR? Literally I'm struggling here. I charge my phone more than two times a day. Since my phone is Z008 it should, in theory, last longer than Z00A models considering the lower screen resolution and lower clocked processor.

I'm on LOS 14.1 2017/01/09 + nano gapps + holoN v4k3. My usage includes data connection ( turns it off when not needed), WhatsApp, xdalabs app, half hour spent on Fb and Instagram.

Btw I followed jrior001's instructions for upgrading from LP based Cm13.1 2016 /12/12 +stock gapps directly to LOS14.1 2016/12/30+ nano gapps, wiped cache and dalvik(basically dirty flashed, since the instructions specifically said wipe not required) and dirty flashed updates ever since.

Did you guys clean flashed the rom? What gapps are you guys using? All answers and suggestions are welcome.:)
[ZenFone 2 Android Development] aryan531:
buddy i didnt do much things... i flashed clean RR+pico Gapps+holo 4k3 ....nothing much more

and [MENTION=7368349]Luq4dmin[/MENTION] instruct how to apply battery+hot plug profile(thanks for that)..

i also struggled for battery status but today i make full charged and applying ptofile on KAM and i see difference...may be it also hepls you :fingers-crossed:
[ZenFone 2 Android Development] Luq4dmin:
Sometimes dirty flashing causes some hidden bugs which we cant even know where its from. Its better to do clean flash always when updating to get fresh results from the rom itself. Im even using RR with stock gapps and still got good battery backup with it. So, i recomend u to backup your apps data with titanuim backup (opitional) and clean flash the rom to get fresh out from the latest rom u're using :)
[ZenFone 2 Android Development] azumi011:
AICP nougat 7.1 supported????
[ZenFone 2 Android Development] edu_pozzolini:
Yes.
[ZenFone 2 Android Development] azumi011:
i install via recovery but failed to install i recieve error now any procedure please??????
[ZenFone 2 Android Development] edu_pozzolini:
Ignore that error. It's a joke. Only Reboot
[ZenFone 2 Android Development] azumi011:
=) thank you verymuch

---------- Post added at 09:17 PM ---------- Previous post was at 09:13 PM ----------

last question after install where can i change the setting of kernel???? thanks again
[ZenFone 2 Android Development] Nightwish1976:
[MENTION=7759122]azumi011[/MENTION] Download kam ( kernel adiutor mod) from the download link on the page 1.
[ZenFone 2 Android Development] luiz__jr:
Not too far away either 250 or 2500
[ZenFone 2 Android Development] venomranger:
I rolled back to holoN v4k2 because of this. It's better than holoN v4k3.
[ZenFone 2 Android Development] krasCGQ:
Tweak tunables.

I was able to reach ~4hrs SoT with my profile from 91% to 8%. Compared to v4k2 which I only get ~3:20hrs SoT with my profile.
[ZenFone 2 Android Development] venomranger:
Which governor and KAM profile setting are you using?
[ZenFone 2 Android Development] krasCGQ:
My custom profile, Intel governor.
[ZenFone 2 Android Development] venomranger:
do you mind sharing your KAM profile file?
[ZenFone 2 Android Development] krasCGQ:
Search for MlkTea-v2 some pages behind. I won't reshare it. :good:
[ZenFone 2 Android Development] nutcasev1.5:
STUFF

So things are happening. LinOS is back on track. A New Journey begins in Hololite. NH support is being looked into. EXCITING & TESTING TIMES. Real Exams approach. Life is basically Dev & Nerd cycles. Stay tuned for more ;)

BTW guys this Thread passed 100 Pages. Yay :)
[ZenFone 2 Android Development] krasCGQ:
OT: While I'm struggling on merging Linux 3.10.104 on my ido kernel, without any guarantee that it would boot pass Xiaomi splash screen lol. Need some reverts and several times "make" command just to see if I'm doing it right haha.

exFAT 1.2.24 is also here. You may want to update the exFAT driver too :v
[ZenFone 2 Android Development] saggiboy231:
I am on the 4k2 using RR. I get close to 5 hrs SOT, which is great.

But i get these occasional lags, like swiping on the homescreen, opening an app from recents, swiping up the app drawer.

Why this happens, is it ROM related, or kernel. I've set my Cpu to good enough 1500.
[ZenFone 2 Android Development] nutcasev1.5:
If 105 includes it I will. It probably will. If your kernel boots on 103 it probably also will on 104.

Gpu. Set it to 320 min.
[ZenFone 2 Android Development] venomranger:
Sounds fair to me!

Well, I'm already using it and thank you very much. I didn't like the profiles from the first post because none of them suited my needs. Yours on the other hand is p cool!
[ZenFone 2 Android Development] nutcasev1.5:
Hololite is on. LinOS is coming too. BUT Substratum support will.... come later.
[ZenFone 2 Android Development] aryan531:
what profile should we use... ??
[ZenFone 2 Android Development] TheAndroidDeveloper:
Should we not use it on LinOs?
[ZenFone 2 Android Development] Nightwish1976:
So if I flash the kernel from your attachment with Substratum applied I suppose it will bootloop, right?
[ZenFone 2 Android Development] nicopi:
WHat are the differences beetwen this and the standard version?
[ZenFone 2 Android Development] krasCGQ:
You should include it separately (blame Samsung).

Btw, my kernel boots now but sometimes it fails, sometimes very slow to load pass bootanimation. My previous attempt failed when bumping .84 to .100. So, I think the culprit is one or several commits between .85-.100.

PS: Bumping from 3.10.49 with kernel.org git.

Substratum support comes from ROM, not kernel.

Basically, features are cut down.
[ZenFone 2 Android Development] neves4:
[MENTION=7074010]nutcasev1.5[/MENTION]

Hello!

I detected some deep sleep issues whilst using LCD Panel power suspend mode, which causes me a hard freeze and I have to reboot and change manually to Hybrid power suspend mode. The Hybrid mode works just fine, but the thing is: I can't apply on boot due to a KAM bug (doesn't apply on boot Power Suspend Mode) this option and it'll always revert back to LCD Panel power suspend mode when rebooting my phone, which brings the need to change this option manually to use the phone normally. Is there any way to fix this option in KAM? And kernel-wise, is it supposed to happen while using the LCD Panel power suspend mode?

Thanks in advance, you've made a wonderful work in this Kernel!!
[ZenFone 2 Android Development] krasCGQ:
Seems like there's some hacks just to make Power Suspend work on ZenFone 2. Btw, even on the official KA you couldn't set the Power Suspend mode other than LCD Panel and Userspace.

As soon as you leave Power & Battery section in KA/KAM settings will back to either these two.
[ZenFone 2 Android Development] neves4:
Hey [MENTION=6589753]krasCGQ[/MENTION] , thanks for the quick answer. I'm using your KAM profile v2, by the way. Do you have this deep sleep problem aswell? The default option, LCD Panel, was supposed to wake my phone by LCD hooks after achieving the suspended state, but even with DT2W it does nothing, it's freezed :(

The hybrid mode is working even after closing KAM, great battery backup, everything is going smoothly and it sticked until reboot (then it goed back to LCD Panel). Is there any way to disable the Power Suspend modes, or to change kernel's default option?

Thanks again!
[ZenFone 2 Android Development] persieghini:
Is this normal guys? Around 10% loss overnight because of android os
[ZenFone 2 Android Development] nutcasev1.5:
Show me your Wakelocks. You definitely had one.
[ZenFone 2 Android Development] persieghini:
which is the best/most convenient app/method to show u ?
[ZenFone 2 Android Development] Daniel George007:
Wil this work with RR rom

RR ROM?
[ZenFone 2 Android Development] krasCGQ:
Actually no. However, it keeps draining battery even when deep sleep.

I changed to userspace yesterday night and when I woke up in the morning, it only lost 4% in 8 hours and 40 mins with 98% in deep sleep state.

Use BetterBatteryStats for it. You could also use GSam Battery Monitor.
[ZenFone 2 Android Development] moore.bryan:
On v4k3 I'm seeing really slow response times when waking from deep sleep and/or the phone screen's been off for a while; any one else?
[ZenFone 2 Android Development] persieghini:
Not always but occasionally yup... happens to me... for a few minutes then returns to normal
[ZenFone 2 Android Development] moore.bryan:
Yeah, that seems to be exactly what's happening. Any ideas? Do you think it could be governor--i.e., Frankenstein--related?
[ZenFone 2 Android Development] persieghini:
I changed it to interactive and others.. but still get some instances of it slowing down for a few minutes....I have ignored it cause it happens only after deep sleep(which is night) so I don't mind it...
[ZenFone 2 Android Development] eudigorodrigo:
Same happens here
[ZenFone 2 Android Development] Zokom:
Are you using battery saving profile? It might be the cause
[ZenFone 2 Android Development] moore.bryan:
Nope, nor Greenify or anything like it.
[ZenFone 2 Android Development] krasCGQ:
Guys, turn off CPU1 (or Core 2), then turn on again after you feel the lag should stop.
[ZenFone 2 Android Development] moore.bryan:
Any idea(s) what's going on here?
[ZenFone 2 Android Development] krasCGQ:
It looks like [MENTION=7074010]nutcasev1.5[/MENTION]'s attempt to fix SoD, caused all processes will use CPU1 for a while after wake up, caused lags. I notice it often, when multitasking, playing 10-bit videos, etc...

Shutting down this core for a while fixes this annoying issue.
[ZenFone 2 Android Development] moore.bryan:
KA tells me I can't turn off CPU1, but I can switch CPU2 off & on again.
[ZenFone 2 Android Development] krasCGQ:
Core 2...

Edit: Btw, CPU numbering starts from CPU0.
[ZenFone 2 Android Development] moore.bryan:
"SoD?"
[ZenFone 2 Android Development] krasCGQ:
Sleep of Death. When device enters deep sleep, sometimes it won't be awake anymore in any way. The only solution is to force restart.
[ZenFone 2 Android Development] moore.bryan:
That's what I thought it stood for, but wanted to be sure!
[ZenFone 2 Android Development] persieghini:
In v4k3 is the cpu hotplug removed? I can't find it anywhere in KA and KAM....."battery"profile switches on all 4 cores... that's y I want hotplug

Thanks :D
[ZenFone 2 Android Development] krasCGQ:
Blu_Plug is buggy, I think.
[ZenFone 2 Android Development] nutcasev1.5:
Hotplug gov does the job better. I don't see such a lag. Anyone on minimal roms should experience it.
[ZenFone 2 Android Development] nutcasev1.5:
Please flash Hololite & see if the issue resolves.
[ZenFone 2 Android Development] krasCGQ:
I'm on LineageOS based OctOS-N which isn't so much featued yet (and less bloat) and lags are noticeable with my profiles. :rolleyes:

Edit: So I turned off CPU1 unless I play H.264 1080p 10-bit videos on MX Player.
[ZenFone 2 Android Development] nutcasev1.5:
Should not I meant. I hear that OctOs is very buggy atm. Consider moving to something more stable.
[ZenFone 2 Android Development] krasCGQ:
This week's build is more stable on everyday usage.

I moved to OctOS because I want less system bloat (lol); wanted to move to MoKee unofficial build from Infinitus, but ended up with no keyboard during setup is a joke.

Edit: But still, with dark theme, some notifications appear with dark text on dark grey background (theme bug?), LMAO.
[ZenFone 2 Android Development] nutcasev1.5:
So I started work on Oms with LinOS now that v1 of Hololite is done. Gerrit is an absolute pain to work with. But things going smoothly.
[ZenFone 2 Android Development] moore.bryan:
Where's Hololite; download link?

What's the difference?
[ZenFone 2 Android Development] nutcasev1.5:
4 pages back. Minimal version of Holo-N.
[ZenFone 2 Android Development] moore.bryan:
What's "minimal" about it?
[ZenFone 2 Android Development] krasCGQ:
Less CPUFreq, less I/O schedulers, no Fsync switch (but Dyamic Fsync yes). EDIT: Also no OC.

Btw, default GPU frequency is still at 457 MHz, despite a commit I saw on Hololite's repo which reduced the default to 266 MHz.
[ZenFone 2 Android Development] persieghini:
I recently started getting this....I hope it'll be fixed but nutcase stated that he can't do much without logs which we can't get so yea...I guess I have to unlock as soon as phone restarts(only option for now)
[ZenFone 2 Android Development] nutcasev1.5:
Boot gpu frequency is at 457 but it should go to 266 after a few mins. It works here.
[ZenFone 2 Android Development] grorg:
I've tried to flash 4v2 on RR and got this:

Install Failed: ROM Nuked

Process ended with error 2

What does it mean?
[ZenFone 2 Android Development] ee99161:
Nothing. It's a joke. Don't worry about it, the kernel is correctly installed.
[ZenFone 2 Android Development] ee99161:
Hello people. I just noticed something now. I had to reinstall everything on my phone, and after install KAM, i noticed that on 4k3 the hotplug tab dissapeared.

Is that correct or i did something wrong?
[ZenFone 2 Android Development] persieghini:
yup its proper .... hot-plug option disappears in v4k3
[ZenFone 2 Android Development] moore.bryan:
Thanks for the breakdown; I realized it's missing my "fav" I/O scheduler fiops and figured that was part of it. I always change that GPU freq anyway.

I found through about a day of testing I was still getting lags, even with Hololite. Going back to "stock" AICP kernel got rid of them. Weird?
[ZenFone 2 Android Development] krasCGQ:
Yes, feel the same. The difference is if I turn off CPU1 (Core 2!) the CPU3 (Core 4) will take handle most of process from CPU1.
[ZenFone 2 Android Development] moore.bryan:
Good to know I'm not crazy...
[ZenFone 2 Android Development] nutcasev1.5:
Will fix in later builds. There was a commit relating to cpu scheduling. I will see what can be done there. But this never came up until now? It's been there forever. Clear caches sometime.

RR doesn't have the problem. I'm on CM14 12/04. Aicp & Oct OS are the only ones. I wonder why.

What profiles are you on? [MENTION=6589753]krasCGQ[/MENTION] mlkteav2? Only 2 reports of a problem so far.
[ZenFone 2 Android Development] krasCGQ:
Since I'm on Hololite, I'm no longer using my profile as the desired CPUFreq (Intel) and I/O scheduler (Maple) don't exist on Hololite.

Regarding lags: Only happen sometimes.

I'm using tweaked TheSSJActive and Zen I/O scheduler for now.

EDIT: MlkTea is actually my upcoming project, lol. I use it on my own profile as a placeholder.
[ZenFone 2 Android Development] moore.bryan:
Care to share those "tweaks" with the class? ;)
[ZenFone 2 Android Development] krasCGQ:
Attached with care.
[ZenFone 2 Android Development] moore.bryan:
Sorry for the noob question, but I've never applied someone else's settings before; how?
[ZenFone 2 Android Development] krasCGQ:
Push profiles.json to /data/data/com.kerneladiutor.mod/files.
[ZenFone 2 Android Development] KisGedyHUN:
Not found for me..i use kam.

Tapatalkkal küldve az én ASUS_Z00A eszközömről
[ZenFone 2 Android Development] moore.bryan:
Yup, don't have it... and I'm not using KAM.
[ZenFone 2 Android Development] nutcasev1.5:
Making profiles is a simple task. Profiles are best made on KAM for max compatibility.

The provide required to apply my profiles will also be used from any other profile. You must start from the deletion of my profiles.json & then create a random profile.

Then all the steps to add a profile but this time use the other profiles.json. Also at [MENTION=6589753]krasCGQ[/MENTION] upload the actual file instead of a zip format.
[ZenFone 2 Android Development] venomranger:
One of the cores is disabled, is it intentional?
[ZenFone 2 Android Development] Igorhcc:
Dude, what you best SoT with this profile?
[ZenFone 2 Android Development] moore.bryan:
Sorry, I was saying I don't have the /data/data/com.kerneladuitor.mod folder...
[ZenFone 2 Android Development] edu_pozzolini:
System/data/data/kernel adiutor mod/files
[ZenFone 2 Android Development] moore.bryan:
Don't have that either.
[ZenFone 2 Android Development] krasCGQ:
I compress the profiles.json file just to prevent confusions between all my created profiles, also save about 5 kB (lol).

Yes, I do that just to avoid the lag. TheSSJActive might turn on the core again after some while.
[ZenFone 2 Android Development] nutcasev1.5:
Do you have Kam installed? If yes. Then you will find it in /data/data/kernel.aduitor.mod/files. Search for it carefully.
[ZenFone 2 Android Development] saggiboy231:
How do we flash the holo lite.

Do we just flash it over the existing one.

How does it perform compared to the previous one.

I am on the Holo 4k2 and it wrking well for me apart from the occasional lags.
[ZenFone 2 Android Development] HugoClaw:
You need to install the apk from xda not the playstore app
[ZenFone 2 Android Development] moore.bryan:
And there it is... I have KA, not KAM. :silly:
[ZenFone 2 Android Development] krasCGQ:
The neglected one? Fortunately no.

This profile just intended to make a "lazy interactive" behavior on TheSSJActive. SoT is nearly identical with stock settings, anyway. (~4 hrs medium usage, without 10-bit video playback and about-to-swell battery) :good:
[ZenFone 2 Android Development] nutcasev1.5:
For people with lag after Wakeup issues. Let me know if they are fixed. If not get me logs using adb.

Adb logcat -b kernel > log.txt

Start this command just before plugging the phone to pc before Wakeup from deepsleep. Any lags after screen on will be recorded with some kind of pattern.
[ZenFone 2 Android Development] nutcasev1.5:
Flash this. Then do above :eek:
[ZenFone 2 Android Development] moore.bryan:
I'm having the same lag; I'll try to find some time to log this weekend...
[ZenFone 2 Android Development] Huikhor99:
Currently I Try This version kernel hard to wakeup when playing music(all custom ROM with nougat have this problem.)

Auto Rotation sometime can't use need restart to fix then stop working again after a period time.

No Computer At this time so can't provide logcat...

Request Add Lionheart n SIO IO

Thanks!
[ZenFone 2 Android Development] nutcasev1.5:
Use Holo-N from gdrive for those features.

[MENTION=6589753]krasCGQ[/MENTION] please flash the latest build I posted above & gimme a run down of the situation afterwards.