yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ChronoMonochrome:
R2.2

New build is out!

Changelog:

LiveOPP 2.2:

no longer use setting ARM OPP (this previously caused lags)

simple algorithm for setting clock and voltages

use only pll, external clock no longer used

use only 1 varm selection

Big LiveOPP table (51 step: 46, 69,..., 1244 MHz) - voltages are based on previous table, i.e. it's uses pretty conservative values. Please, report if you have experienced reboot.

Added and optimized new governor ZenX (very similar to InteractiveQ, but not the same)

Originally this governor prefer to unplug CPU1 as often as it possible, due to this CPU0 almost always worked at max freq.

But it was very good for tuning - now it prefer to replug second core instead causing big load on CPU0. Tested with min CPU freq @ 276 MHz.

For now it is used 714 MHz as hispeed freq, I'm not sure if that best decision, I'll optimize it for most lower freq.

Added FIFO I/O scheduler (very simple sched, practically almost same that noop)

Moved more kernel stuff to modules

TWRP 2.8.0.0

Bugfixes:

fixed screenoff min/max freq bug (previously sometimes stuck at screenoff settings after wakep) - need feedback, still not sure if it works as expected. It turned out that this feature never worked e.g. with following settings - 46-276 MHz @ screen off, 322-1200 MHz @ screen on - I tried to fix it, but I've failed.

Just don't use settings like mentioned. As an example, these settings works: 46-400 MHz [MENTION=502223]screen[/MENTION] off, 322-1200 MHz [MENTION=502223]screen[/MENTION] on.

Hit thank button if you like it ;)
[Galaxy Ace II Android Development] fluffi444:
What the hell are you doing crazy stuff with this kernel? ? sounds amazing. Will test shortly. Many thanks in advance.

Gesendet von meinem GT-I8160P mit Tapatalk 2
[Galaxy Ace II Android Development] ace2nutzer:
I think i was creazy... But this guy exceeds me :D
[Galaxy Ace II Android Development] exodius48:
Is this kernel chrono_kernel_r2.2-refresh_4.4.x_cwm_ext4.zip uses cwm 6.0.5.1 or still 6.0.5.0 ?
[Galaxy Ace II Android Development] Glpcha:
Hm. Tried to install 2.2 on codinap but it says that i have codina and cannot be installed. But the trick is that i have codinap, and i have always installed codinap roms. I don't know what's happening. Can anyone help?

Sent from my mobitel
[Galaxy Ace II Android Development] ChronoMonochrome:
I've checked installer scripts, it's ok. Maybe you already have installed one of these kernels for p-version? Earlier versions of kernel had this issue - just remove assert line from updater-script(one time should be enough).
[Galaxy Ace II Android Development] vacziferi:
hello

will you build kernel r2.2 for android 4.3?
[Galaxy Ace II Android Development] ChronoMonochrome:
@up, maybe later.
[Galaxy Ace II Android Development] lars85destroyer:
[MENTION=5695278]ChronoMonochrome[/MENTION]

Installed r2.2 codinap with latest poppmensa's build, no problem for the moment.

But I have only 3 governors and 2 schedulers ! Where are the others gone ? :'(
[Galaxy Ace II Android Development] Hummer951:
It uses 6.0.5.0.
[Galaxy Ace II Android Development] exodius48:
Thanks for confirm, I dont know why [MENTION=5695278]ChronoMonochrome[/MENTION] still using 6.0.5.0
[Galaxy Ace II Android Development] Glpcha:
Don't know what the problem was, I've had 2.1.5 installed. I've deleted assert line and installed 2.2. Works ok for now. Tnx

Sent from my mobitel
[Galaxy Ace II Android Development] Kiras_PL:
For me 2.2 Kernel TWRP ext4 codina on CM11 popmensa 21.10.2014 lots of random reboots :/ I used 95/1244,1222 and even 1200 MHz and still the same. Various governors and shedulers but still random reboots :<
[Galaxy Ace II Android Development] exodius48:
Try to use build 23.10.14 codina, or 24.10.14 codinap.
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry, probably my bad, I put undervolted voltages for 1037-1129 MHz

Please, try following script and report:

LIVEOPP=/sys/kernel/liveopp/
echo varm=0x32 > $LIVEOPP/arm_step41
echo varm=0x33 > $LIVEOPP/arm_step42
echo varm=0x34 > $LIVEOPP/arm_step43
echo varm=0x36 > $LIVEOPP/arm_step44
echo varm=0x36 > $LIVEOPP/arm_step45

If reboots still happens - try this

LIVEOPP=/sys/kernel/liveopp/
echo varm=0x36 > $LIVEOPP/arm_step41
echo varm=0x36 > $LIVEOPP/arm_step42
echo varm=0x36 > $LIVEOPP/arm_step43
echo varm=0x36 > $LIVEOPP/arm_step44
echo varm=0x36 > $LIVEOPP/arm_step45

Don't use frequencies above 1200 MHz - it's unstable for most of codinas.

Read in OP about module autoload.

Is that so important? I don't think between

6.0.5.1 and 6.0.5.0 big difference, but if anyone want, I'll update it...
[Galaxy Ace II Android Development] Kiras_PL:
does it has any sence ?
[Galaxy Ace II Android Development] exodius48:
I cant go to cwm from hold power button > reboot recovery. Probably it solve that problem.

maybe the latest uses cm source/kernel source with bug fix.
[Galaxy Ace II Android Development] str3tch72:
When can I put this script? In init.d directory?
[Galaxy Ace II Android Development] ChronoMonochrome:
no problem here. Make sure you use latest module /system/lib/modules/param.ko

yup :)
[Galaxy Ace II Android Development] exodius48:
Can you update to 6.0.5.1 with module param.ko built-in? because always get blackscreen when reboot to recovery via power button.
[Galaxy Ace II Android Development] str3tch72:
And for screen off? Is it script for init.d as well? :)
[Galaxy Ace II Android Development] lars85destroyer:
I have pushed .ko files needed in autoload folder but nothing has changed after reboot ..
[Galaxy Ace II Android Development] Andrewbons:
I see lots of freq steps... is it good for our processor? Does it get crazy?

And what is the best governor right now? I used Interactive but now it switch freq too often, i am scared :\
[Galaxy Ace II Android Development] ChronoMonochrome:
It won't be get crazy :p Because new LiveOPP 2.2 optimized for such things - otherwise it would caused reboots/bootloops.

I'm using ZenX right now. You can see my settings in signature.

Check permissions of /system/etc/init.d/00autoload, run it manually and then check governors.
[Galaxy Ace II Android Development] Andrewbons:
Is there a script or something to automatically add Screen off Freq? It's annoying setting them after every reboots
[Galaxy Ace II Android Development] ChronoMonochrome:
You can use init.d for this...
[Galaxy Ace II Android Development] ChronoMonochrome:
F2FS

First working kernel for ace2 with full F2FS support (with TWRP inside) -

https://drive.google.c…3JKcUlhU1U&usp=sharing

(c

Installation methods:

for CWM(I've tested this method):

make backup

format /system partition to F2FS (and also /data and /cache if you didn't do it before)

restore /system partition

for twrp (untested)

disable md5 generation

make backup of /system

find backup folder, rename file system.ext4.win to system.f2fs.win via terminal (it won't work via filemanager)

format /system as f2fs

restore backup

After one of these methods install kernel.
[Galaxy Ace II Android Development] lars85destroyer:
Permission changed from RW R R to RWX RWX RWX and it works ! Thanks :D awesome kernel, it's so smooth :D
[Galaxy Ace II Android Development] lars85destroyer:
What is the best governor/io for a good battery life without loosing smoothness ?
[Galaxy Ace II Android Development] zizoumadrid:
interactive with sioplus it's really good for and more powersave in last kernel 2.2 :D

---------- Post added at 08:43 PM ---------- Previous post was at 08:41 PM ----------

i think this is the best build till now , really amazing :D

installed yesterday without any reboot till now with 95mhz/1.106ghz interactive sioplus with 07/08 tc cm 11

good performance stable and the most thing caught my attention more powersave ;)

i will test for more time special thank's to [MENTION=5695278]ChronoMonochrome[/MENTION] and everyone give help to get this awesome kernel

keep the hard work :)
[Galaxy Ace II Android Development] lars85destroyer:
That was already my setup :D is interactiveQ better than the original ?
[Galaxy Ace II Android Development] zizoumadrid:
i didn't test it :)
[Galaxy Ace II Android Development] str3tch72:
I sometimes have reboots when I touch greenify shortcut for hibernate apps. Strange. Anyway, great work, ZenX is pretty awesome :D
[Galaxy Ace II Android Development] ChronoMonochrome:
Could you post logcat and last_kmsg ?
[Galaxy Ace II Android Development] S.AMU:
For the moment I'm running 2.2 twrp f2fs with frequency's from 69mhz to 1200mhz and ondemandq. In NT app the CPU is undervolted with 75mV and the GPU with 25mV.

Until now I got no reboot and it seems pretty stable.
[Galaxy Ace II Android Development] str3tch72:
[MENTION=5695278]ChronoMonochrome[/MENTION]

After Your post, I don't have any reboots :D I think fifo scheduler causes it.
[Galaxy Ace II Android Development] nikolas1274:
My default governor till now was abyssplug but with 2.0 I had random reboots, with zenx there is no reboots any more

I notice also that with any other theme except the default (cm11) my phone freeze and have to much lag, any one else notice something like this?
[Galaxy Ace II Android Development] shaqman89:
I found two versions in your google drive account: chrono_kernel_r2.2-refresh_4.4.x_twrp_f2fs.zip & chrono_kernel_r2.2_4.4.x_twrp_full_f2fs.zip

Are there any difference between these? I tried the chrono_kernel_r2.2_4.4.x_twrp_full_f2fs.zip version and it got stuck in the Samsung logo. Currently I am using the other one with ZenX and it's quite smooth. No reboots so far.

Thanks for the great update, [MENTION=5695278]ChronoMonochrome[/MENTION] :D

---------- Post added at 04:03 AM ---------- Previous post was at 03:54 AM ----------

No, not really. I've installed a few themes in my phone, currently using one that looks like L version and it doesn't have any noticebale lags at all.
[Galaxy Ace II Android Development] ChronoMonochrome:
It's kernel with full f2fs support. Read installation method.

http://xdaforums.com/showpost.php?p=56293993&postcount=1246
[Galaxy Ace II Android Development] BlueZ-:
Battery stats bugged for me..latest ext4 kernel

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] shaqman89:
Cool :)

No wonder it didn't worked it first.

Anyway, I've tested the installation using TWRP with the mentioned steps. It didn't worked for me when I tried to rename the backup file with the file manager, so I used the terminal instead and it worked. Other than that, it works flawlessly. Am using the full f2fs kernel right now and give it a try for a while.
[Galaxy Ace II Android Development] shaqman89:
Using the F2FS full version, I got some reboots that strangely went into recovery (TWRP).

I attached the last kmsg if you wanna check it out. Also, the encoding of the last kmsg seems a bit strange. I am not sure what caused it though.
[Galaxy Ace II Android Development] S.AMU:
I think that the standart max cpu freq of 276mhz with screen off is to low. When listening to music I got crackles in the earphones on screen off (Poweramp and V4A) also when there is an incoming call the phone takes ages to turn on the screen.

What is the command I have to put in init.d to change the max cpu value on screen on?
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry, I mistakenly set min/max settings which I use.

Change it via

SYSFS=/sys/kernel/cpufreq/cpufreq_limits_on_suspend
echo min=46000 > $SYSFS
echo max=400000 > $SYSFS
echo on > $SYSFS

until I fix it.

Btw, I can't notice sound shuttering at such low setting with ZenX.
[Galaxy Ace II Android Development] fluffi444:
R2.2 works great here... Again: Thank you...

codinap / poppmensa TC build 23.10 F2FS / ChronoKernel R2.2 / ZenX / SIOPLUS / CPU (46-400) 200-1200
[Galaxy Ace II Android Development] aish8la:
Does f2fs builds work with both f2fs and ext4 file systems or do i have to format data to f2fs if i after instalation of f2fs builds over ext4 ?

Sent from my phone
[Galaxy Ace II Android Development] ChronoMonochrome:
Another one build

http://gdurl.com/2aYk (twrp, ext4)

http://gdurl.com/l49U (twrp, f2fs)

changelog:

- more conservative CPU voltage (based on TC's liveopp 1.0.1)

- increased CPU freq limits for screenoff

- decreased ZenX hi speed -> 576 MHz

Please test it and report if here are still occurs reboots.
[Galaxy Ace II Android Development] shaqman89:
Big thanks :)

Testing it right now.

Just so that others would know, the twrp f2fs is a full version, so your system needs to be f2fs too.
[Galaxy Ace II Android Development] Hummer951:
Can you make CWM Ext4 build also? Thanks.
[Galaxy Ace II Android Development] Eselter:
[MENTION=5695278]ChronoMonochrome[/MENTION]

Can you build ext4 version for android 4.3.x ;> ?
[Galaxy Ace II Android Development] xo.en:
..that works with s6d...
[Galaxy Ace II Android Development] Kiras_PL:
for me wersion ext4 causes bootloop :/ Can anyone else confirm this ?
[Galaxy Ace II Android Development] ChronoMonochrome:
sorry, my bad. I uploaded cwm ext4 version instead, as has been requested.
[Galaxy Ace II Android Development] Andrewbons:
i'm good with 2.1.5 version

With latests version i see more power consumption, it stays active more than before, less deep sleep and more wakelocks

Then there is the annoying wake up bug more than ever (it does not turn on when i press home or power button, black screen)
[Galaxy Ace II Android Development] shaqman89:
I agree with the power consumption. It's more than previous version, but for the wake up bug, I don't actually have it anymore.
[Galaxy Ace II Android Development] biggstreet:
the last bluid for stock rom 4.1.2 freez when i play games any game ! :s

can you make a bluid from the lastest update for stock rom with CWM recovery ?
[Galaxy Ace II Android Development] shaqman89:
I got another reboot that went into recovery. And after it reboots, most of the time it wont read apps that are stored in memory card. I need to do another reboot so it would show back again.

Anyone else experiencing the same?
[Galaxy Ace II Android Development] Kiras_PL:
I can confirm that my phone likes to boot into recovery after reboot :d about reading apps i didnt experienced that. Im sure there is a problem with fifo IO sheduler - causes lots of reboots :(
[Galaxy Ace II Android Development] monstro78:
Last kernel with cwm and ext4 is awesome. I'm going to try f2fs too
[Galaxy Ace II Android Development] Bilgets:
Where do you download the module for governor and io? Cant find it on the gdrive folder..
[Galaxy Ace II Android Development] ChronoMonochrome:
Kernel usually won't cause wakelock, it cause apps.

Even on latest version (2.2.1) ? Try manually increase screenoff CPU freq limits, or just don't use it with governor that has hotplugging support. Exist an opinion that it anyway doesn't save power(the worst thing - it consume more power and has worst performance), and I agree to this.

That was caused by compiling param.ko built-in. I don't know why, it seems there's some problems with that.

I agree. Just don't use FIFO, use Noop instead since it practically almost same. I'll remove FIFO in next build.
[Galaxy Ace II Android Development] fluffi444:
Look into the Kernels zip file.... they are in system/lib/modules..

Needed modules has to be moved to autoload..
[Galaxy Ace II Android Development] kjub6:
compare pls

we have 2 cores ... 3.2 and 3.0.101 can anyone compare what is different in this two kernels pls

if GT-S7560M is supporting ART can we with codina go olso to ART ?

http://xdaforums.com/showthread.php?t=2674091 have stated that ART works and that is only singl core phone ace 2 version

http://www.phonemore.com/compare/ph...560m-vs-samsung-galaxy-ace-2-gt-i8160/1112349
[Galaxy Ace II Android Development] shaqman89:
If I am not mistaken, ART is enabled by the ROM. And actually I have tried ART on TC's ROM before, and it worked quite well.

Cmiiw
[Galaxy Ace II Android Development] fluffi444:
You are not wrong - ART is ROM related and not Kernel...

[MENTION=2041546]kjub6[/MENTION] ART is activated for codina.... go ahead and try/compare it for yourself... That's the best way to find out what is "better" (for you)
[Galaxy Ace II Android Development] kjub6:
you are more tech guys out here ... so you can tell me ... new lollipop 5.0 is running on ART ...

am just asking to know if there will be a way to run lollipop here ... because som guys where talking taht it is not running on codina

and if ART from your point of view is not clearly better what disadvantages do you see there ?
[Galaxy Ace II Android Development] shaqman89:
Well, I am not sure about porting Lolipop part, but AFAIK, ART won't be the one that's gonna keep us getting it. The challenge is more of the new file structure and security schemes, I think.

Anyway, I do agree with [MENTION=4962787]fluffi444[/MENTION] that you should try it yourself. Then you could tell l whether there are real advantages or not.

One thing that made me changed back to Dalvik though is the space use. ART, due to how it works, uses more disk space than dalvik.
[Galaxy Ace II Android Development] Bilgets:
I got permission denied when opening modules/autoload
[Galaxy Ace II Android Development] kjub6:
[MENTION=5695278]ChronoMonochrome[/MENTION] if there is already 3.2.0 kernel why [MENTION=5840412]ace2nutzer[/MENTION] is developing 3.0.101 ? its not better its like if windows after W10 started redevelop W7 ... make moreconfusion you devs can say what is better and why and it can by in both OP written why to go with 3.2 and why 3.0.101 not for noobs but for people that dont care som much for OC but like to have better kernel and only need to know if to go with this or that one ;)

EDIT:

do we have already rom that is going on full f2fs ? (system, data, cache) ?
[Galaxy Ace II Android Development] shaqman89:
Latest doesn't always means better. It might have more features but not necessarily better. So it's more of a choice. Not everyone wants every available feature. Just see the change logs at [MENTION=5840412]ace2nutzer[/MENTION] and you'll see what I mean.

Use this kernel with the ROM that you are using, it's already got full f2fs support. I am currently using it with LS ROM.
[Galaxy Ace II Android Development] ChronoMonochrome:
This is a long story... upgrading kernel really is not easy , and there is still doubts about some changes from LK 3.2 - some of them still useless for phone(and there is no reason to upgrade it wholly). It's have to be reworked - I'll include only those changes that can be helpfull for android phone and probably will change version to 3.0.101 - but there also will be a lot changes from 3.1, 3.2 and 3.3.
[Galaxy Ace II Android Development] tofueatsbread:
http://xdaforums.com/showpost.php?p=55844152&postcount=1040

http://xdaforums.com/showpost.php?p=55844222&postcount=1041

u guys just have amazing thoughts on newest is always best..

and i was pretty sure chrono said it wasnt fully 3.2 or smth..? or did that only apply to first few builds of 3.1
[Galaxy Ace II Android Development] ChronoMonochrome:
It is not fully 3.2 - it has only commits from kernelnewbies.org - but still lacks a lot changes from LK 3.2.
[Galaxy Ace II Android Development] ace2nutzer:
:D
[Galaxy Ace II Android Development] kjub6:
so you wanna say that you also will develope 3.0.101 as well and [MENTION=5840412]ace2nutzer[/MENTION] will also develop 3.0.101 guys is this sandbox not big enought for you too :) so you need to have 2 threads ? :) developing 2 kernels for 1 device ;) ? cant you cooperate on one kernel ? if it has same features ?

EDIT > and OH yeah have looked on features in W10 and yeah newest is the best ... multitasking is better than in W8.1 or W7

EDIT2> you develope something so its better than version before but time can value some features ... so agree that in longtherm older can be better adjusted to what remains than new features :) thx for the lesson
[Galaxy Ace II Android Development] ace2nutzer:
YOU Probably still NOT READING THE CHANGELOGS ?!!

Never heard about CUSTOM Kernel ??!!

YOU Like cheeseburger and I like Chickenburger ... !! Ist this the SAME ??!! I Don't Think so !!!!!!!! :highfive:

EDIT:

It has nothing to do with that what are u saying.. u don't know what is Custom and what is optimizations...

I'm out here ...
[Galaxy Ace II Android Development] shaqman89:
W10 is best only for those people who are actually using the multitasking features. And even though it might be hard for you to believe, that's not everyone. I've got friends trying w10 only to get back to w7 since it's not for them.

Again, latest is NOT always better.
[Galaxy Ace II Android Development] ChronoMonochrome:
Lol, I don't see any reason to develop one kernel - since those kernels are NOT same. And I didn't say that "my" 3.0.101 will be same that real 3.0.101 - it'll have a lot changes from newest LK.
[Galaxy Ace II Android Development] kjub6:
what rom are you using ?

I used CRX 7.05 OFFICIAL rom but it has no f2fs support on system ... cache, data worked ... but no exFAT support
[Galaxy Ace II Android Development] shaqman89:
I am using the latest LiquidSmooth.

F2fs is mostly kernel, so actually (in most cases) it doesn't really matter which ROM are you using. Read the first thread to see the instructions in how to install this kernel with full f2fs. Basically it just requires a format in recovery.
[Galaxy Ace II Android Development] fluffi444:
You must mount SYSTEM as RW (in file explorer - I recommend "Solid Explorer") - Then it works...

@Last few posts: May I remember "some" of you that questions like: "What is the best... " are not really welcome in an Dev-Thread? The answer for such questions is everytime the same: Try it for yourself...

And the most worst thing is: They are destroying the main topic of the thread because of tons of unimportant subjective discussions.
[Galaxy Ace II Android Development] kjub6:
TWRP open advanced and fix permittions ... may help
[Galaxy Ace II Android Development] shaqman89:
[MENTION=5695278]ChronoMonochrome[/MENTION]

I think the reboots only happened when the phone is unplugged. Yesterday I tried using it plugged all day and I don't recall any reboots happening. As for the kmsg, I noticed it's mostly the same content as the previous one I gave.
[Galaxy Ace II Android Development] Bilgets:
Yes, i too am using solid Explorer..

Yeah today morning, i fully charged my phone and leaving it unplugged while im taking a bath, The battery shows the usage only for 3 min.
[Galaxy Ace II Android Development] tofueatsbread:
Nobody said w10 and w7 is exactly the same scenario as kernels 3.2 n 3.0.101 :/
[Galaxy Ace II Android Development] Kiras_PL:
I had no deep sleep on latest 2.2 cwm ext4 kernel :/ i tried everthing to do something with it but nothing helps. I came back to 2.1.5 ext4 twrp version and still NO Deep sleep :/ Also i have in options still for example fifo sheduler even if i didnt include it to zip file :/ :< any advices??
[Galaxy Ace II Android Development] lars85destroyer:
Check what's keeping phone alive with betterbatterystats
[Galaxy Ace II Android Development] ChronoMonochrome:
Check apps which may cause wakelock. Since I've installed DS battery saver with custom profile I never notice any wakelocks that won't allow phone to go to sleep.

About fifo - just remove it from /system/lib/modules/autoload.
[Galaxy Ace II Android Development] Kiras_PL:
I did it of course ;) and there was sth like services wakelock. I had no apps that cause no deep sleep, i changed nothing from last 2.1.5 kernel ;) Anyone else has this problem ??
[Galaxy Ace II Android Development] biggstreet:
can anyone tell me roms Fully F2FS ?