yashsingh1/xdaforums huggingface dataset:
[Zuk Z1 Original Android Development] Anupam_Dey:
[MENTION=5044876]acuicultor[/MENTION] I am using ViperOS which uses Radioactive Reborn v3.21 kernel.

The maximum and minimum frequency is getting reset to default 2457 MHz and 300Mhz .

The frequency values are not sticking even without any reboot. They revert after about 1/2 hr.

Please suggest a solution.
[Zuk Z1 Original Android Development] acuicultor:
It must be or app manager issue or rom ramdisk overwriting the values.
[Zuk Z1 Original Android Development] Anupam_Dey:
I am using Kernel Auditor (root is enabled)

CPU Voltage values stick unless there is a reboot due to low voltage.

Governor selection also persists.

Tried to install Synapse (No UCI Support detected)

Very surprisingly the CPU min and max values change dynamically from 2457 to 1728 to 1958.

How is that even possible ???

Please suggest possible solutions...
[Zuk Z1 Original Android Development] yrahate7:
Its due to Thermal Throttling.

The Device tries to cool itself down by reducing the cpu frequencies.

You can indeed disable thermal throttling , But thermal throttling is a measure to prevent device from overheating.

You should`nt mess with it.

if you still want to disable it, Search on forum
[Zuk Z1 Original Android Development] Anupam_Dey:
Well, I don't do gaming on my phone... Additionally I tried to set lower frequency 1728mhz as max but, it reverted to 2457mhz,so why is the device increasing clock speed ?

BTW , how's ur kernel for fast charging coming up ?
[Zuk Z1 Original Android Development] yrahate7:
My device is broken so I wouldn't be able to test it, but would work .

The kernel will have 3 types of charge control

1) forced fast charge ( max power draw whatever be the temperature)

2) smart charge ( temperature based charge control)

3) stock charge(zuk original charge control)
[Zuk Z1 Original Android Development] Anupam_Dey:
I'm so sorry to hear about your device.. How did it break ?

Will u be able to build the kernel now ??

One question, why didn't the other roms(apart from ZUI) implement 2.5 amp charging ? Is it very difficult to implement ?
[Zuk Z1 Original Android Development] yrahate7:
It slipped through my hands ?

. I'll be able to build kernels, but not test them until my device Is fixed(about a month or more)

Zui uses 2.2 amp charging current.

Also, it used a different firmware for charging.

My kernel should theoretically support up to 4 amps of charge.

And it's very difficult to implement (without opening the device, I figured all of it out, but it took me 2 years)
[Zuk Z1 Original Android Development] Anupam_Dey:
What do u mean by implementing without opening device ??

Do we have to make some physical changes to device as well?
[Zuk Z1 Original Android Development] yrahate7:
I didn't knew which charging IC did our phone use. I had to read a lot of logs to figure it out.

No , you don't have to make any physical changes to the device at all.
[Zuk Z1 Original Android Development] der-Andi:
here ist the proof with Antutu. 73.000 points

works great. Thanks for your work.
[Zuk Z1 Original Android Development] h0LLe:
I didnt flashed a kernel since i owned a Samsung Galaxy S2 ... so ive got 2 questions:

1. Is it possible to Backup the exisiting Kernel which is included in the Mrcoldbird unofficial CM13 Rom ? Or this there a .zip file to flash it like this kernel?

2. do i have to tweak the kernel by myself to get better performance and battery or does it apply out of the box by simply flashing it ?
[Zuk Z1 Original Android Development] acuicultor:
1. Make a nandroid backup before flash my kernel and if you're not satisfied with it just restore boot partition or make a backup of your kernel with flashify app that can be flashed with the app

2. No, the kernel comes preconfigured for good balance between performance and battery life.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] liver20:
Me too, resurrection remix with this kernel is awesome.

The perfomance is super!!

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Original Android Development] strongst:
Great performance with Mr. Coldbirds 0308 nightly. 20k more points as standard kernel in antutu benchmark :D will track battery live now...
[Zuk Z1 Original Android Development] liver20:
If its possible add fp unlock without PRESS for use with Official nightly?

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Original Android Development] acuicultor:
That's not kernel related issue, roms will have support for that feature.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] liver20:
I supposed, but i Remember cos 12.1 with Chroma.Kernel works fp unlocking without PRESS fp.

Alone cos 12. 1 not worked

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Original Android Development] acuicultor:
Guys new version is under testing now, when my testers give me green light it'll be released, take a look at changelog link in op to know the new features.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] luiseteyo:
Is that a new version or a whole new kernel? lol what a changelog! Waiting for it, keep us updated! ;)
[Zuk Z1 Original Android Development] h0LLe:
today in the morning i had a strange freeze.

i was about to write in whatsapp as the device freezed, it didnt react to display inputs and wouldnt power off the display when pressing the power button.

BUT downloading icon from chrome was animated and moving, and the cursor was blinking ... hardrestart and it was all ok

edit/ just fresh install, no adjusting in the settings of the kernel
[Zuk Z1 Original Android Development] acuicultor:
New build up!!

Download link and changelog in op.

Please since i don't own the device need help with testing and if you want to help please send me logs if you face some issues with my kernel, thanks in advance.

Enjoy!!!!

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] liver20:
Thanks, installed, superb

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Original Android Development] acuicultor:
Please let me know how it performs for you and if you face any issues give me logs, thanks.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] :
[MENTION=5044876]acuicultor[/MENTION] if you don't mind i'll try to make this kernel work on Lenovo Vibe Z2 Pro.

it's nearly the same device as Zuk Z1 and i have already ported cyanogen_msm8974 kernel to it for my ROMs. thanks for your work
[Zuk Z1 Original Android Development] acuicultor:
Feel free to use my sources, just give me credits and let me know if you success to build a kernel.
[Zuk Z1 Original Android Development] :
i'm not expecting you to do the dirty work :) i'll just try to make it work for us
[Zuk Z1 Original Android Development] liver20:
I had one fast reboot this morning when go to unlock my device.

I am in resurrection remix with your kernel 1.0.2

Logcat

https://db.tt/Y3UnLxcR

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Original Android Development] h0LLe:
how can i provide logcat ? mine crashed while opening battery stats this morning.
[Zuk Z1 Original Android Development] der_andi01:
I have no Problems with 1.0.2.

No Freeze and no Reboots.

use RR Rom
[Zuk Z1 Original Android Development] acuicultor:
Go to /proc and copy last_kmsg

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] amraz59:
On 1.0.2 no problems

RR rom
[Zuk Z1 Original Android Development] der_andi01:
Yes, no Problems

With 1.0.2 is the ZUK faster then 1.0.1

RR Rom v5.6.7
[Zuk Z1 Original Android Development] ryans233:
I flashed Radioactive Kernel v1.02 yesterday. After a random reboot just now, my phone became so hot that I had to turn it off.

I've tried to copy /proc/kmsg to Internal Storage, but FX Manager shows that it would cost a huge time and storage space.

At last I chose to flash back Mr.Coldbird's CM13. Sorry for my lack of diagnostics logging.
[Zuk Z1 Original Android Development] amraz59:
I flashed the kernel 1.0.2 to AICP - 11.0 - MM 6.0.1_r24 and received randomly rebooting
[Zuk Z1 Original Android Development] liver20:
Reboot again, i see catlog and i seet

04-16 20:15:08.039 W/PackageManager(1910): Not granting permission android.permission.REBOOT to package eu.chainfire.supersu (protectionLevel=18 flags=0x38083e05)

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Original Android Development] acuicultor:
Guys need last kmsg after a reboot, catlog app don't show any good info after a reboot.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] Shtooka:
Hi, acuicultor. Can you increase current output from phone? OTG work perfectly with flash drives, but amplifier not have needful power.

Or add it as an kernel options?

All flagmans support this amplifier, like a nexus, galaxy, lg g2-4, etc.
[Zuk Z1 Original Android Development] erkutxi:
With reboot for here too.
[Zuk Z1 Original Android Development] luiseteyo:
Good evening sir!

[MENTION=5027381]OrdenKrieger[/MENTION] and I are trying to build RR together with your sources. After modifying local_manifests directing the kernel to your sources and after starting the build, it suddently stops giving no error back. I would be very grateful if you could help us with this. This kernel is amazing and would be amazing to include it in the ROM.

Check the error here:
[Zuk Z1 Original Android Development] acuicultor:
No clue since that screenshot don't show any error but i can tell you that the source of the kernel is correct and it compiles flawless i bet is a rom issue, try to compile only the kernel using Radioactive-bacon-build.sh script and check that is compiling well. Just try to compile your rom with cm kernel and see if this error still occurs. Sorry for not being able to help you more.

Ps: if you want to send me a pm we can talk in spanish if you want and in HTCmania my nick is the same as here, feel free to contact me.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] :
[MENTION=5044876]acuicultor[/MENTION] i'm not sure if this would also work for Zuk or if it's even needed for it but after few modifications we got vibrator intensity for K920 in Sound Settings

just try this https://github.com/frantisheq/andro.../cm-13.0/drivers/platform/msm/qpnp-vibrator.c

in combinaion with this https://github.com/frantisheq/andro...cmhw/org/cyanogenmod/hardware/VibratorHW.java
[Zuk Z1 Original Android Development] acuicultor:
New build up!!

Download link and changelog in op.

Hope that version fixes the weird reboots for some of you. Please try to send me last kmsg if a reboot happens again, thanks.

Enjoy!!!!

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] ryans233:
Flashed v1.03, once again got a reboot when I was running AnTuTu benchmark. Now I am trying to copy kmsg, it looks like a quite big file and will cost lots of time.
[Zuk Z1 Original Android Development] adanoss:
Same for me... Tried to start WoT Blitz and got freeze-reboot on starting random battle... Like on previous build. Though no last_kmsg can be found in /proc... O_o is it disabled?

BTW, might be GPU problem cause game hangar interface works fine, it's not so GPU intensive like battle itself.
[Zuk Z1 Original Android Development] ryans233:
I can't find /proc/kmsg either! Is that anything wrong?

---------- Post added at 07:21 PM ---------- Previous post was at 07:06 PM ----------

I could prove your opinion. My phone crashed(reboot suddenly) when AnTuTu benchmark was running "Image processing Fisheye".
[Zuk Z1 Original Android Development] Planet X:
I did exactly what [MENTION=4311896]luiseteyo[/MENTION] and [MENTION=5027381]OrdenKrieger[/MENTION] have done but without using the ubertc toolchain. The RR rom and the kernel are built fine. Thank you for the fixes. I just finished a Antutu run with 71000 points. No reboot yet. With 1.02 I had a reboot twice when pressed the power button. The kernel is great. So smooth :silly:.
[Zuk Z1 Original Android Development] adanoss:
Since I've found no last_kmsg I've tried to collect it manually by

su
cat /proc/kmsg > /sdcard/kmsg

while playing WoT Blitz. But surprisingly game was quite stable and I've played 4 matches in a row till phone stopped responding and rebooted. So collected file is REALLY huge for simple log... It's about 935 Mb. Here is link to this log.

And BTW the rom is last build of Resurrection Remix.
[Zuk Z1 Original Android Development] t.h.i:
can we you this kernel on zui 1.6.348?
[Zuk Z1 Original Android Development] strongst:
Got no random reboots since 1.02 so far... Even when running antutu, watching movies, yt or playing..

Sent from my Z1 using a my hand
[Zuk Z1 Original Android Development] acuicultor:
There's kernel source code available somewhere?

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] Archikoff:
Still rebooting under load with 1.03 version (played Hearthstone), vibrating once and then goes to reboot.

Reverted to 1.01, seems to be fine again
[Zuk Z1 Original Android Development] luiseteyo:
Could you please provide acuicultor a log so he can keep discovering where the issue is? Thank you!
[Zuk Z1 Original Android Development] hristcroixqwerty:
I got a reboot while browsing using Google Chrome...
[Zuk Z1 Original Android Development] h0LLe:
reboot while adding google music search widget ... proc last kmsg file was 0 byte .. 0o
[Zuk Z1 Original Android Development] Shtooka:
No any reboots, but phone is hot when load gameing or browsing. And battery crap. Balance is relevant.

rom by MrColdbird 04/06
[Zuk Z1 Original Android Development] Gemini72:
I had same when using latest RR. Hot and poor battery (like 10% in 10 mins). Sorry no log file before removing.
[Zuk Z1 Original Android Development] acuicultor:
New build up!!

Download link in op.

Removed all optimization flags and compiled with Google default toolchain lets see if that give us the needed stability.

Enjoy!!!

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] ryans233:
v1.04 passed the AnTuTu and got 69170 points. I'll use this version a time to test the reliability.

---------- Post added at 08:17 PM ---------- Previous post was at 08:12 PM ----------

Hope you can find out which part makes things wrong and take other optimization flags back.;)
[Zuk Z1 Original Android Development] acuicultor:
Sure but a stable kernel is my goal when that is achieved then I'll optimize it.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] acuicultor:
Sure but a stable kernel is my goal when that is achieved then I'll optimize it more.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] zyasin:
V1.03 Speed & Battery performance were awesome on Resurrection Remix and just had only 1 reboot but mobile got hot while playing game but even though I am satisfied.

Just now flashed v1.04 and will keep you update my experience
[Zuk Z1 Original Android Development] ryans233:
Got a reboot again when tweeting...
[Zuk Z1 Original Android Development] h0LLe:
with Kernel 1.04 and Mrcoldbirds Unofficial CM13 had once again a reboot while surfing within google chrome. revertet back to stock kernel now. before i looked for the kmsg file under /proc but it was once again 0byte filesize ... sorry that i cannot provide any useful information for further developing. but i need a stable device ... enough of testing for me :)
[Zuk Z1 Original Android Development] ryans233:
Just like you.
[Zuk Z1 Original Android Development] liver20:
Me with Last colbird update and 1.04 not reboot

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Original Android Development] Needles_one:
Can confirm no reboots on 1.0.4 so far. Official CM13 snapshot #2. RR before.
[Zuk Z1 Original Android Development] Gemini72:
Thank you. Is there any noticeable battery drain please?
[Zuk Z1 Original Android Development] Needles_one:
Nothing noticeable but I have to admit I've flashed CM13 several hours ago and still performing necessary setups so it's hard to say something more about this right now.

But I can say that when I was on RR battery performance was awesome in standby time as well as in normal daily load (with browsing, mobile internet, gaming etc).

Good job and many thanks for the hard work to acuicultor! Keep up the good work.
[Zuk Z1 Original Android Development] adanoss:
Oooops I did it again)) RR with 1.04 - reboot while playing WoT Blitz. Gonna try to dump kmsg with terminal, though will this dump be of any help? What about my previous 900+ megs dump?
[Zuk Z1 Original Android Development] agairon:
I have installed v1.04 and since it has been installed I haven't got any reboot for the moment. I hope you can give more stabilty with v1.03 optimization, however this kernel is very smooth too :D :D
[Zuk Z1 Original Android Development] h0LLe:
Would be good to know which rom you're using :)
[Zuk Z1 Original Android Development] adanoss:
Well, again I've found no last_kmsg and tried to collect kmsg log via terminal command while playing WoT. Here is new dump. Though my thoughts are that this dump may not be as informative as last_kmsg itself. Anyway this time file is MUCH smaller cause I've not been able to play even 30 seconds before system stopped responding and restarted.
[Zuk Z1 Original Android Development] acuicultor:
Hi folks, i remade the kernel from scratch and only added some io schedulers, adaptive governor and some optimization commits and flags hoping to have a stable kernel, if this version is good ill start to add again the features one by one in order to find the culprit. Thanks for the patience and hope you understand that i can't test my builds so its very hard to me to debug.

here you can download it.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] agairon:
We can just thank you all the time you have spent working on this project. I will allways be pleased to test your new releases :highfive:
[Zuk Z1 Original Android Development] adanoss:
1.05 seems quite stable for me. No system freezing and rebooted neither under heavy load nor with simple tasks. Thought I must admit I don't use some things like bluetooth related, so I can't confirm its reliability.
[Zuk Z1 Original Android Development] tulalhyt:
i'm just trying your newest kernel (1.05), but how to activate the FP and fp swipe ? i'm using resurrection 5.6.7 rom ...

btw its great kernel

thankx
[Zuk Z1 Original Android Development] zyasin:
My FP and FP swipe are working properly with resurrection remix 5.6.7 with v1.05 kernel.
[Zuk Z1 Original Android Development] h0LLe:
I was too curious and flashed kernel 1.05. Good news: it seems to be stable. Flashed it yesterday in the evening and can't report any flaws.

Attached the antutu result with coldbirds unofficial cm 13 build 2016-03-08, no kernel settings modified. Stock cos had about 51000 I believe
[Zuk Z1 Original Android Development] acuicultor:
Good!!! op updated.

Stay tuned for new version tomorrow if i can get some spare time.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] Planet X:
I have just tried to flash this kernel on latest cos 12.1 rom. And it works. I'm now on 1.01 as this one was the most stable version until 1.05. No more stuttering when the phone wakes :P .
[Zuk Z1 Original Android Development] tulalhyt:
is your fp and fp swipe works by default ? or something option inside the rom seting that should be activated ?

because, even in security setting there is no fp seting @ all
[Zuk Z1 Original Android Development] zyasin:
There is no any setting for fp and fp wipe, it is already working by default.
[Zuk Z1 Original Android Development] ATM01:
Hi Planet X how is kernel working in cm12 is your FP working like Cm13 or still you have to press FP button ..?
[Zuk Z1 Original Android Development] enyx.es:
That was answered already, not kernel related

Enviado desde mi Z1 mediante Tapatalk
[Zuk Z1 Original Android Development] acuicultor:
New build up!!!

Download link and changelog in op.

Enjoy!!!!

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] davix3f:
for what version of android? is it compatible with rr 6.0?
[Zuk Z1 Original Android Development] daavid1995:
Thanks, great work you doing there. [emoji5]

send from my ZUK
[Zuk Z1 Original Android Development] JonnyAw:
Thanks for all your work. Here's my feedback on 1.07 compared to 1.05 and 1.01 so far.

1.07 received a geekbench multicore score of around 2750 and an antutu score of about 52000 while 1.01 and 1.05 were between 3000 - 3100 on geekbench, and between 58000-61000 on the antutu

Performance-wise when comparing stats 1.07 seems to go back to a level similar to the chromakernel that was originally with the coldbird cm13 ROM I am using, if not slightly lower actually.

This is just some notes to give you an idea of how it's going. I think I will go back to 1.01 as it seemed the best mix of speed and battery friendliness.

Thanks again for all your work!

Edit:

Also the boot time for 1.07 was around 1 minute 20 seconds.

Boot time for 1.05 averaged around 1 minute 16 seconds.

And boot time for 1.01 was 1 minute 15 seconds, so the best in general.

I use all in one toolbox app to measure all my boot times.
[Zuk Z1 Original Android Development] h0LLe:
Kernel 1.07 Attached the antutu result with coldbirds unofficial cm 13 build 2016-03-08, no kernel settings modified.
[Zuk Z1 Original Android Development] acuicultor:
I really don't care about antutu or other benchmark apps lol my goal is to provide a stable, fast and battery friendly kernel with some cool additions to bring users a good custom kernel experience. Keep in mind that the kernel isn't mature yet and since i don't own the device i'm experimenting basing me on users feedback, switched to bricked hotplug because some testers told me they are experiencing worst battery life than with stock kernel, i will try to add more hotplugs until we found the perfect combination. What do you think about this? Thanks for the patience and keep in mind that i can't test my builds so any feedback is important to me.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] strongst:
Exactly, stability is the primary goal! Then battery life and speed[emoji3]

Sent from my Z1 using my hand
[Zuk Z1 Original Android Development] h0LLe:
so how can we provide feedback regarding kernel speed then? we cant meassure speed with a stop clock :) 1.05 ran stable for me for 24hours, flashed 1.07 yesterday and until now it works flawless.
[Zuk Z1 Original Android Development] acuicultor:
User experience bro, benchmark are useless.

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] acuicultor:
New build up!!!!

Added Zen Decision hotplug, Faux Sound control, quick wakeup driver, per cpu thread infrastructure and much more, download link and changelog in op.

Enjoy!!!!

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] zyasin:
I installed today morning v1.07 and it was working perfect without any issue. Now going to install today's latest version V1.08
[Zuk Z1 Original Android Development] strongst:
[MENTION=5044876]acuicultor[/MENTION]

With v1.07 the fp unlock from deep sleep takes ~1 second, with all other builds the wakeup and unlock happens immediately. I saw you added quick wakeup driver(again?) in v1.08, so I hope this is the reason

Sent from my Z1 using my hand
[Zuk Z1 Original Android Development] h0LLe:
Same experience for me, flashed the 1.08 now.
[Zuk Z1 Original Android Development] acuicultor:
None of my testers are experiencing that but noticed cpu max frequency isnt 2457 by default may be thats your issue , will take a look tomorrow on that

Enviado desde mi A0001 mediante Tapatalk
[Zuk Z1 Original Android Development] agairon:
I haven't exprienced any issue with the fingerprint. It unlocks immediately, at least for me
[Zuk Z1 Original Android Development] hristcroixqwerty:
I tried v1.08 and I don't like the performance.. So I went back to v1.01 then I noticed all of my core are always online.. I'm on Interactive governor.