yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ChronoMonochrome:
There was a big two-dimensional array with totalling size of 5120(10 x 512) kbytes :eek:

I reduced it to 640 kB. https://github.com/ChronoMonochrome/Chrono_Kernel/commit/9b608b024e97f109dfe05dd817e676c83887830c

Although all 5m doesn't come from that. I think ~1m is from NEON optimization (don't know exactly how much - since I did that build with some changes in defconfig from you).

I got few reports about that. Since I haven't tested it on KK, I wrote that it's doesn't work. But seems that it works with KK.
[Galaxy Ace II Android Development] biggstreet:
I used R2.12.2 it's verry smoothe but i had 3 reboot so i back to R2.6
[Galaxy Ace II Android Development] shaqman89:
Did you check what governor were you using? I got reboot when using Zen and Dynamic but not when using performance.

[MENTION=235339]chrono[/MENTION]

When I tried Zen and Dynamic, I got random reboots when using 1200 & 1245. But when I use performance or made minimum and maximum the same (eg:1200,1200), I never got a reboot. This is somehow always consistent with previous experience in the past (and also with ace2nutzer's kernel). Whenever I try on a single high frequency (or scale slowly, like when using a cpu stability test), it seems that everything is okay, but when not, the random reboots appears.

If that is the case, would you say that the cpu just couldn't handle the frequency or rather the logic inside those governors (or voltage table) are causing it?
[Galaxy Ace II Android Development] ChronoMonochrome:
Seems like you said, it just doesn't handle high OC. But maybe there's something to do in voltage table, maybe changing vbbx will help. [MENTION=5840412]ace2nutzer[/MENTION] wrote that vbbx=0x9f is more stable for his phone. You also can try to use another varm voltage. 0x35-0x3f here are showing as same voltage, but it's definetely not true, so you can try to use one of varm from this range.
[Galaxy Ace II Android Development] zizoumadrid:
i think it's stupid question but i don't know which file u mean boot.img from 2.7 ??
[Galaxy Ace II Android Development] ChronoMonochrome:
I actually meant boot.cpio :) Just install latest build - it's actually fixed.
[Galaxy Ace II Android Development] Asus-Tek:
When I install the latest kernel not get the bootloop? Because i using 2.11 and my phone have ramdisk and bootscripts it is not a problem?
[Galaxy Ace II Android Development] ChronoMonochrome:
You can try at least :) Nobody haven't gotten bootloop with R2.12.2 so far. And normally no need to care about bootscripts, the kernel package will install it automatically :fingers-crossed:
[Galaxy Ace II Android Development] zizoumadrid:
I'm sorry chrono this is the last question we didn't need to flash the other 3 files with 2.12.2? Flash only the last kernel?

Thanks
[Galaxy Ace II Android Development] shaqman89:
Yes, that is true. The latest kernel automatically decides the others so the others aren't needed.

It's a good idea from [MENTION=5695278]ChronoMonochrome[/MENTION] and really helped in easing the installation process.
[Galaxy Ace II Android Development] zizoumadrid:
i'm flashing the latest kernel coming from r1.6 i'm getting bootloop returned now to stock kernel with odin
[Galaxy Ace II Android Development] junnickbefore14:
I got reboot on 1200Mhz in Interactive, ondemandplus, and dynamic..

In previous 2.11, 1200Mhz is stable..
[Galaxy Ace II Android Development] Devel0per95:
CPU : 1100, is working with me :D , 2Days with no reboot
[Galaxy Ace II Android Development] ChronoMonochrome:
Guys, probably I never mentioned it - but for updating from non-universal kernels it's still needed to flash file "make-ramdisk-parition.zip".

That's weird, I didn't touch anything in LiveOPP. However, it seems, that device_tunables.rc was restored, and NT app now overrides voltage. Manually remove these lines from ramdisk/device_tunables.rc:

chown system system /sys/kernel/liveopp/arm_stepXX

and reboot phone.
[Galaxy Ace II Android Development] nikolas1274:
After deleting the arm lines I can oc for even at 1098 before that I could not oc for at all, it rebooted even at 975.

Version R2.12.2
[Galaxy Ace II Android Development] zizoumadrid:
i'm testing the lastest kernel 2.12.2 it's work fine with flashing make ramdisk.zip befor flashing the latest kernel but wifi still doesn't work

what is the best schedulers and governors in the latest kernel i have just 3 governors and 2 schedulers thank's
[Galaxy Ace II Android Development] ChronoMonochrome:
try boot.cpio for r2.7

You can try by yourself and find what's best for you. And actually there are a bit more governors - find those in /system/lib/modules and move to /system/lib/modules/autoload . I recommend Dynamic as governor with balanced performance/power consumption. As for about I/O scheduler - I think SIOplus is way more optimized for emmc flash devices.
[Galaxy Ace II Android Development] nikolas1274:
After deleting the arm lines my phone is stable at max greq 1245, I could set Mac freq above 1200 with any other version before that.

My setup now is:

Dynamic 200-1245 / sioplus

ddr at 1098

gpu 400/600

I run antutu with performance governor and the above other settings abd the score was 12349

Nice work chrono

Thanks
[Galaxy Ace II Android Development] ChronoMonochrome:
Nice one :) mine is similar but max freq 1200 MHz, coz my CPU is too bad to handle something over that.

But I think DDR freq of 1098 MHz is not assumed to be used daily, actually I use only for games.
[Galaxy Ace II Android Development] shaqman89:
Guys, is it just me or multitasking is slower in the 2.12 version?

It is smoother (much smoother and faster) actually when single apps are used, but seems really slow when multitasking.
[Galaxy Ace II Android Development] Alex_Gamer:
Recovery

R2.12.2 kernel wont work with philz recovery, when i flash something dont boot to system broght me back to recovery, but i flash twrp for r2.11 and worked for me :D
[Galaxy Ace II Android Development] shadow252:
That's weird because I have CM12 (Android 5.0.2) with PhilZ recovery and Chronokernel R2.12.2 and it works fine for me. ;)
[Galaxy Ace II Android Development] nikolas1274:
at what fs have you flash CM12, F2FS or ext4?
[Galaxy Ace II Android Development] shadow252:
Ext4.
[Galaxy Ace II Android Development] 10BIT:
FIrst,Thanks for your effort on the kernel.It's very smooth,and fast.The other thing is it support L (Awesome dude,Thanks!)

But i always got reboot when i tried to OC DDR on 978 Mhz.I'm on 5.0.2 ext4,no novathor settings used.
[Galaxy Ace II Android Development] nikolas1274:
Look some message back, and delete the arm lines from a file that chrono mention.

For me work that but I am at CM11
[Galaxy Ace II Android Development] zizoumadrid:
hi [MENTION=5695278]ChronoMonochrome[/MENTION] i'm getting boot.cpio file from 2.7 and change it with 4.1.2.cpio in osfiles/4.1.x/ i'm getting bootloop again

and i'm asking if we must flash make ramdisk.zip every time we need to flash kernel?

and when i'm moving governor and schedulers from /system/lib/modules to /system/lib/modules/autoload folder and make reboot can't find it in no-frills cpu thank's againe
[Galaxy Ace II Android Development] ChronoMonochrome:
I don't know what's wrong with that - some users reported that boot.cpio from R2.7 worked with them.

1) why do you need to flash make ramdisk.zip every time? But if you do it, then yes, this zip deletes everything on /ramdisk partition.

2) after moving modules reboot the phone or manually run /etc/init.d/00autoload.
[Galaxy Ace II Android Development] invalidpoint:
Currently using 12.2 version, whenever I want to install apps from PS it says "Couldn't install on USB strge or SD card" . I ve tried to check my SD card , still showing content on gallery and music Plyer ( I would say its not corrupted) . this problem wasn't present on 2.10 ( haven't check 2.11 yet ) and stock cm kernel . I m using latest novafusin's ROM

Any help ? Thanks
[Galaxy Ace II Android Development] ChronoMonochrome:
Here we go :) https://drive.google.com/folderview?id=0B_OwIFfWQnj_QkJ0Nm16UE43SGM&usp=sharing

Look for bootscripts for R2.12.2. I don't know about PS, since I don't use it, but fix above helped with installation some apps (I tested Nenamark).

For now only these files, so you've to extract *.cpio from zip, rename to boot.cpio and manually put to /ramdisk .
[Galaxy Ace II Android Development] ChronoMonochrome:
[MENTION=535343]all[/MENTION] with screen driver S6D - is there blackscreen bug on R2.12.2 ?
[Galaxy Ace II Android Development] junnickbefore14:
What is meant by blackscreen bug ?

If it is when phone hang and wont wake up (with black screen and bln light), as far no blackscreen thing
[Galaxy Ace II Android Development] manthes:
Until now is ok
[Galaxy Ace II Android Development] Alex_Gamer:
Yeah, idont know why this is happend to, well, who have te same problem can know the posible solution.
[Galaxy Ace II Android Development] Alex_Gamer:
My device dont boot

Anyone help me please :( i'm still gettin into recovery when reboot to system when i flash something :(
[Galaxy Ace II Android Development] ChronoMonochrome:
Do you use R2.10 or latest build? Seems only TWRP works properly with F2FS. Try to flash latest build + latest TWRP (if you use EXT4, all recoveries should work), until I fix it. If this won't helped, there's only way to manually load needed modules:

mount /system
insmod /system/lib/modules/j4fs.ko
insmod /system/lib/modules/param.ko
mount -t j4fs /dev/block/mmcblk0p1 /mnt/.lfs
[Galaxy Ace II Android Development] Alex_Gamer:
I use latest kernel, i tried with twrp but is the same thing :( can you give the link of that twrp that you metion, to if i'm using a wrong zip? and i'm using f2fs
[Galaxy Ace II Android Development] nikolas1274:
I have F2FS, I R2.12.2 over R2.10 can and it works perfect
[Galaxy Ace II Android Development] ChronoMonochrome:
It should be this zip http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/ramdisk/recovery/twrp_2.7.1.0_for_R2.12.zip

Sad thing, there are many (old) recoveries, which cause TWRP loop. I hope I'll be able to upload some final versions of recoveries soon, and remove all outdated ones for ever.
[Galaxy Ace II Android Development] nikolas1274:
Chrono, R2.12.2 is working with CM12?
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, but please don't post about CM12 in dev topics, lol. Since dev didn't want to see these messages, until we get more bugless ROM.
[Galaxy Ace II Android Development] nikolas1274:
I know that my friend, don't worry, can I use F2FS also, alerting the update script of the Rom?

Thanks
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, F2FS should work too. I don't know about method with updater_script, but method with TWRP from OP is working.
[Galaxy Ace II Android Development] zizoumadrid:
thanks [MENTION=5695278]ChronoMonochrome[/MENTION] i'm solved all issues :D
[Galaxy Ace II Android Development] seanmalto:
Halo.

I have CM11 with ace2nutzer f2fs latest kernel.

i want to replace it with with Chrono Kernel R2.12.2

Is there any special instruction to flash this Universal Kernel?

or just follow this step bellow?

Universal kernel installation method

What's needed to install this kernel?

make-ramdisk-partition.zip

one of these recoveries for galaxy ace 2.

boot scripts for installed ROM. ATM as flashable zips exists only scripts for 4.4.x. All the rest you can find in the folder ramdisks, then unzip needed archive, rename to boot.cpio and replace file ramdisk/boot.cpio, that can be found in flashable zip.

one of the universal kernels (R2.5+) - see below

Before installation make sure you've standard kernel in the case that something goes wrong.

Installation process:

1) flash make-ramdisk-partition.zip. this procedure need to do only once. i.e. if you don't plan to flash stock, then this archive will be no longer needed

2) flash recovery, bootscripts and kernel

Thanks.
[Galaxy Ace II Android Development] ChronoMonochrome:
R2.13

R2.13 is out! :fingers-crossed:

Changelog:

Mainly it's various fixes, so this build may be called "bugfix" build :D , but some "feature" changes also present :)

Bug fixes

- fixed all issues with recoveries (now all TWRP/CWM recoveries should work without looping back to recovery)

- fixed /sdcard issue on TWRP

- set brightness [MENTION=5181762]10%[/MENTION] by default for all recoveries (mainly, for CWM, which doesn't have brightness control)

- fixed wifi issue on 4.1.2

- fixed issues with apps installation on 4.4.x and 5.0.2

- simplified installation method - no longer needed to flash make-ramdisk-partition.zip

- removed mali_opp and mali_opp_force_limit - can't work properly

- reverted changes in USB

Improvements

- lowmemorykiller: management of not killable processes (credits [MENTION=4825437]Christopher83[/MENTION] )

- re-added lcdclk interface

- re-added dynamic management of dirty page writebacks

- added support for script, which runs at early stage of the boot. (put your script to /ramdisk/00userinit)

- added script ramdisk/00recovery , which runs in recovery

http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/kernel/chrono_kernel_r2.13.zip

Forgot two things :)

there's new scripts for init.d

1) fix for poor multitasking performance on 5.0.2

LMK=/sys/module/lowmemorykiller/parameters
chmod 666 $LMK/*
echo 1024,2048,4096,8192,10000,14000 > /sys/module/lowmemorykiller/parameters/minfree
chmod 444 $LMK/*

2) new zram script

SIZE=100

insmod /system/lib/modules/zram.ko num_devices=2
echo $(($SIZE * 1024 * 1024)) > /sys/devices/virtual/block/zram0/disksize
echo $(($SIZE * 1024 * 1024)) > /sys/devices/virtual/block/zram1/disksize

mkswap /dev/block/zram0
mkswap /dev/block/zram1
swapon -p 10 /dev/block/zram0
swapon -p 10 /dev/block/zram1
[Galaxy Ace II Android Development] junnickbefore14:
Thx for new release...

Btw what is the cause of mmcqd/0 lag ?

Just curious, because last month my phone was suffering from this problem, and I just realized that I dont have that problem anymore

Is it related to kernel or ROM itself?

Great Job anyway :thumbup::beer:
[Galaxy Ace II Android Development] ChronoMonochrome:
what are you talking about ? :)
[Galaxy Ace II Android Development] junnickbefore14:
You know, lag that very annoying that when I see cpu usage and the blue bar is longer than either the green or red one and there is mmcqd/0 process is at the top of the processes list.
[Galaxy Ace II Android Development] ChronoMonochrome:
Don't know, haven't had this problem.
[Galaxy Ace II Android Development] manthes:
What issue?
[Galaxy Ace II Android Development] Devel0per95:
So now build 2.13 is supported for 5.02 ?

And can we install recoveries like cwm or twrp on 5.02?
[Galaxy Ace II Android Development] ChronoMonochrome:
Not mounting internal sdcard. Originally /sdcard points to /data partition, now it's should be fixed.
[Galaxy Ace II Android Development] nikolas1274:
What it's the R2.13.1 version? This one is the latest?
[Galaxy Ace II Android Development] Devel0per95:
So now build 2.13 is supported for 5.02 ?

And can we install recoveries like cwm or twrp on 5.02?

PLEASE REPLY!!!
[Galaxy Ace II Android Development] ChronoMonochrome:
There actually fix for occasional reboots, which is from reducing SHRM FIFO size. And available RAM is again 631MB, because modem needs those 4MB...

-_- Why you just don't read latest posts ? Yes, it actually supports 5.0.2. And yes, all recovery-related issues should gone...
[Galaxy Ace II Android Development] Devel0per95:
Thanks man for your hard work :)
[Galaxy Ace II Android Development] ChronoMonochrome:
Don't install builds R2.13.x. That actually sucks, still reboots sometimes :(
[Galaxy Ace II Android Development] Alex_Gamer:
Awsome :D

Thanks for the new realease, now mi phone works propely with your kernel and the recovery loop is gone :D
[Galaxy Ace II Android Development] manthes:
I don't have any until now. But i am using most of the time facebook, Viber, opera mini, habbit browser not games (i have just installed them).

But i have a strange problem after installing this kernel. I have black screen on recovery. I installed again twrp after kernel and now it is allright but it is the first time that it happens
[Galaxy Ace II Android Development] ChronoMonochrome:
Sad to hear that blackscreen still appears. P.s. reboots happens not often, but I had one after few hours of use.
[Galaxy Ace II Android Development] manthes:
It happens at recovery and thats strange because i use TWRP. With new kernel it installs CWM and thats the reason?

I don't have blackscreen with the rom
[Galaxy Ace II Android Development] ChronoMonochrome:
Maybe because of CWM. Changed recovery is installer bug, it shouldn't be changed after installation. You can always install any custom recovery as mentioned in OP.

Btw, which ROM do you use?
[Galaxy Ace II Android Development] manthes:
Liquid smooth 2/8 build. I have apply manually the fix for live streaming and it is working fine for the moment. I use 200/1100 and ondemandplus.

So if it installs cwm everything is ok and thats was the problem. No reboot and no black screen until now
[Galaxy Ace II Android Development] zizoumadrid:
I think it's great build till now work fine with me im with 4.1.2 stock rom

If i'm getting any issues i will report later thanks for the hard work bro

:good:
[Galaxy Ace II Android Development] zizoumadrid:
i had one reboot till now and i think 2.13.1 has a good battery life
[Galaxy Ace II Android Development] heml0ck:
can someone post a link for r2.13.. cant find it in chrono site
[Galaxy Ace II Android Development] danny19901:
Tried latest F2FS but bootloop with beanstalk :( shame really older non EXT4 or F2FS kernel works with it also full wiped the boot, Dalvik, cache, system and didn't work
[Galaxy Ace II Android Development] ace2nutzer:
+ 1

But very Nice Kernel !! I Like the many Gov. and sched. !!

BIG THANKS BRO !!!!
[Galaxy Ace II Android Development] manthes:
A request if you can to make a version with TWRP recovery to try the kernel
[Galaxy Ace II Android Development] ChronoMonochrome:
[MENTION=5840412]ace2nutzer[/MENTION], [MENTION=4962787]fluffi444[/MENTION] ,sorry guys, i don't know what happened when you have installed p-build. I've enable NFC for this build, maybe there is a other difference between p and non-p versions.

Yes I can, but even without this so many versions of the kernel. If only there was a way to separate recovery from the kernel...
[Galaxy Ace II Android Development] fluffi444:
Anyway - Thanks for your work - And besides of this the Kernel works great.

Maybe we could ask Rox if there are some hidden tricks for codinap OR maybe you can compare his 8160P kernel with yours in github.
[Galaxy Ace II Android Development] ChronoMonochrome:
Hi there! I've made some builds with TWRP recovery(only for non-p phones, because I have not yet know how to do builds for the p-version properly) as some users requested. I haven't test it because i'm not sure that it supports F2FS, probably Ext4 only.

http://d-h.st/users/ChronoMonochrome/?fld_id=38253#files
[Galaxy Ace II Android Development] xo.en:
So..twrp is ONLY change of cm10.2_codina_kernel_21072014_ext4 ? Can twrp restore cwm backup?

Chrono, your kernel cm10.2_codina_kernel_21072014_ext4.zip is interesting thing BUT there are weirdnesses there:

- i cannot CHANGE cpu clock at all, it goes back to 800mhz,

- gpu oc is not working AT ALL(as with EVERY kernel made for 4.3.x, really, it is not working, nobody can show me proof of gpu oc, i am sure of it)

- i cannot set dirty writeback, even if i turn off dynamic one, it sets itself to 500, my own setting is crucial part of my set of scripts, you know...

But, at 800mhz it works great(until writeback changes), it makes my modded rom VERY snappy, i mean bit snappier, than before, that is.

Problem is, that i need 600 mhz for daily use that i cannot set.

Shame-if i only had internet that can make me setting kernel building environment, i wouldn't say nothing, you already gave me manual...

Ahh i forgot, this is important: is there ANY method for setting CWM backlight to minimum in sources before compiling?

Maximal brightness in cwm is VERY stupid thing, i just cannot understand who made it like this...twrp have brightness setting and it's imho ONLY advantage of that method...
[Galaxy Ace II Android Development] zizoumadrid:
what is the best build for stock rom jb (without bootloop, fc ......) thank's
[Galaxy Ace II Android Development] ChronoMonochrome:
Not only, sources were rebased and adjusted. But probably for the user it does not matter. And yes, i didn't end work for my next release (this build is ONLY for users that have black screen into recovery).

I haven't these bugs on F2FS build. I'll check ext4 build asap.

i don't know about recovery yet.
[Galaxy Ace II Android Development] xo.en:
Chrono, but wait a sec.

Let's talk about brightness in cwm for a sec.

Where CWM sources are in wholesome of kernel sources?

I mean...are they there at all?

When kernel is compiled, one part named cwm is COMPILED from kernel sources, right?

Or it became part of rom?

I mean, do we have bunch of text that is source of CWM at ALL?

NOW - is there ANY definition of brightness control in cwm sources, like in twrp?

Can we add control of it simple way?

If not - can we adapt THAT ONE function from twrp?

Just loose questions, someone?

-
[Galaxy Ace II Android Development] ChronoMonochrome:
Recovery sources isn't a part of kernel sources. But when you compile a kernel, you have to put path to *.cpio image into kernel sources or config.

For example, take a look at this: https://github.com/TeamCanjica/Samsung_STE_Kernel/blob/3.0.101/usr/u8500_initramfs.list

I'm not sure, but probably compilation process of recovery is similar to the compilation of ROM. If so I unable to change anything in recovery because i have only 32-bit OS.
[Galaxy Ace II Android Development] manthes:
I will try it tonight. The kernel is only for 4.4.4 or and for 4.4.2?
[Galaxy Ace II Android Development] danny19901:
I have a question I have tried a F2FS kernel on both Beanstalk and AOSB but I get bootloop ? Am I doing something wrong ?
[Galaxy Ace II Android Development] dragos281993:
The same thing here. Lately I cannot even format cache as f2fs.
[Galaxy Ace II Android Development] xo.en:
Thank YOU VERY much for explanation, damn, i suspected it will not be easy...
[Galaxy Ace II Android Development] ChronoMonochrome:
del
[Galaxy Ace II Android Development] ChronoMonochrome:
For me it works on all TC builds 4.4.x. But I can not guarantee that the kernel will work on other builds.

Did you try to recreate /cache partition using parted ?

And then (if i remember correctly):

mkfs.f2fs /dev/block/mmcblk0p4

Or try to format cache using recovery. Also you can try to unmount /cache (if it's still mounted) before formatting:

umount -l /dev/block/mmcblk0p4
[Galaxy Ace II Android Development] manthes:
I have problem to install from twrp recovery or temp cwm 6.0.2 if i remember correctly the version so i extracted boot image and installed with an app from Google play. Unfortunately after reboot it enter only recover and not the rom. I tried with liquid 4.4.2. and the kernel from thinking bridge
[Galaxy Ace II Android Development] ChronoMonochrome:
Put modules from this archive to /system/lib/modules .
[Galaxy Ace II Android Development] manthes:
It stucks on recovery. I restore rom. You mean to put modules after boot image installation and before i reboot probably
[Galaxy Ace II Android Development] shaqman89:
I think [MENTION=5695278]ChronoMonochrome[/MENTION] removed it from the site since he wasn't too satisfied with the results yet.
[Galaxy Ace II Android Development] Alex_Gamer:
Check FTP server :)
[Galaxy Ace II Android Development] shaqman89:
You are right. :)

It's in the debug folder.

http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/kernel/debug/
[Galaxy Ace II Android Development] seanmalto:
What about bootloop at recovery(f2fs)?

i flash ramdisk partition, then twrp recovery.

and also bootscript + universal kernel(r.2.12.2 f2fs), then reboot to sysyem.

everything look normal(at system).

Then i try to reboot into twrp recovery, then just choose reboot>system.

It's not go into system, just back to twrp recovery again.

need your help. Thanks :D