yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] exodius48:
How to deactivate logger?
[Galaxy Ace II Android Development] zwliew:
new release 20140521 :] should fit nicely with newest teamcanjica cm 11 build.

edits:

haven't got time to fix bln yet, will fix soon.

btw, beware of cm's new performance profiles, they overwrite some of the default settings like cpu governor. if you are using interactive, you need to set it on boot.
[Galaxy Ace II Android Development] doctormord:
Well, the latest 0521 build wont let my phone enter "deepsleep", so 200Mhz is minimum at sleep. At 0517 it worked.
[Galaxy Ace II Android Development] exodius48:
Btw, logger.ko always disabled when turn-off device. Is this normal?
[Galaxy Ace II Android Development] monstro78:
I have deep sleep with latest build
[Galaxy Ace II Android Development] zwliew:
that's how it is supposed to work. anyway, i'm rebuilding logger in-kernel from next build onwards, but reducing max ram allowed for logger
[Galaxy Ace II Android Development] fluffi444:
Could one of you who's using this kernel could do a little test for me?

Please set min clock fequence to 600 Mhz (in Settings)

Open some apps (which were not opend untill last reboot - MAPS for instance) and close them again.

Please tell me if the 600Mhz is still active or if its dropped to 200Mhz again...

That would be nice! Thx in advance. :highfive:
[Galaxy Ace II Android Development] asdroid:
Tested, it return to 200mhz!
[Galaxy Ace II Android Development] fluffi444:
Thank you very much!

Maybe [MENTION=5604178]zwliew[/MENTION] could take a look into this why the value of

/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

will be replaced again with 200 Mhz - even if we set 600 Mhz as min frequency manually...

this happens typically if you "do something" with the phone which was not in RAM. Open a new app for instance...

I (better we... Ace2Nutzer and me) already tried to find out why this happens.

But even logcat gives no hints or solutions...

maybe this discussion could be an hint

http://xdaforums.com/showthread.php?t=2579229&page=14

at the end of this page user tiny4579 reported that he changed "two cpu-boost commits" - maybe helpfull maybe not.. don't know...

This all looks a bit useless and you could ask "Why to change the min frequency"???

But we are working on some optimizations and we need to keep the phonne at 600 Mhz during screen on....

Thank you!
[Galaxy Ace II Android Development] Kiras_PL:
Hi [MENTION=5604178]zwliew[/MENTION] I'm using Your latest kernel on latest CM11 build from [MENTION=4947931]Rox[/MENTION] and i have a problem with video watching. Every time i want to watch something it freezes after a couple of seconds and i have to turn off my phone to fix it :/ No metter what player i use, MXplayer, PlayerPro or stock player. Can anyone else can confirm that ? I dont know its kernel or Cm build issue :/
[Galaxy Ace II Android Development] Kiras_PL:
Im sure now thats Your kernel issue [MENTION=5604178]zwliew[/MENTION] :( changed back to 1905 and everything works well now :)
[Galaxy Ace II Android Development] BlueZ-:
I have not this issue...maybe you should try to reflash

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] asdroid:
Video works for me too.

Will be possible to set min clock frequence to 100mhz ?_?
[Galaxy Ace II Android Development] Preep:
Sometimes my phone freezes when try to see a video on Youtube app (v4), same as you. I have this kernel too, dont know if it's the problem.
[Galaxy Ace II Android Development] ace2nutzer:
Why ??

Not needed.. for me: i have UV for all steps... separately ! and 200 Mhz and 400 Mhz works on the same Varm: 0,85 V !!

So you can set min. freq. 400Mhz.. and changing some values for the CPU Governor abyssplug and in idle i have sinlge core @ 400 Mhz @ 0,85 V ! Very great battery life with them !!

But more later....
[Galaxy Ace II Android Development] zwliew:
is it only on my kernel or on stock tc kernel too? if it is only on my kernel, is it only on the latest kernel?
[Galaxy Ace II Android Development] ace2nutzer:
fluffi444 an I are on stock TC Kernel... and have this issue.

I don't know it is on your kernel too or not.. what have "asdroid" for a Kernel ??
[Galaxy Ace II Android Development] S.AMU:
It would be nice to be able to set this also in novathor settings :)
[Galaxy Ace II Android Development] fluffi444:
We found this on stock TC kernel... And I asked someone to test it also on yours to be sure... And user asdroid did it and reported the same drop to 200 Mhz...
[Galaxy Ace II Android Development] asdroid:
Wow, this sounds really good, but a little difficult to implement for a simple noob user like me :D
[Galaxy Ace II Android Development] zwliew:
video works perfectly for me whether on youtube v4, stock gallery or g+ photos :/
[Galaxy Ace II Android Development] jereksel:
[MENTION=5604178]zwliew[/MENTION]

Are you going to bump kernel version (3.0.96/3.0.101)?
[Galaxy Ace II Android Development] zwliew:
i'll consider it, why?

btw, new 20140523 test release. trying out hotplugging based on cpu load :]

also, recompiled with linaro gcc 4.8 for more performance over the previous
[Galaxy Ace II Android Development] monstro78:
Yea you are right. 19 build is faster than 21s.
[Galaxy Ace II Android Development] zwliew:
I'll readjust the hotplugging
[Galaxy Ace II Android Development] julianwp:
hey [MENTION=1827982]zwi[/MENTION]liew , could we have new governor which only activates one core and let the other one sleep forever?

because sometimes, users need very good battery saving, for example: me when travelling which only use sms app and navitel gps

thanks
[Galaxy Ace II Android Development] ace2nutzer:
@up

u can for now using my lil how-to... with them cpu_0 and cpu_1 works so: loading an app: both cores are running. after that core 1 is quickly off !

if u change the Governor after the Governor ist setted to abyssplug + the script is adding inkl. reboot.. u can switch the Governor simply to ONDEMAND and cpu_1 is off for ever... till an reboot !!

After that, don't go back to abyssplug.. otherwise the Phone reboot !!

For more power saving u can set the max. freq. to 600 Mhz

http://xdaforums.com/showpost.php?p=52882656&postcount=3801
[Galaxy Ace II Android Development] zwliew:
i wouldn't recommend that even if you are only using those apps. having a very weak cpu, our phone chokes even when moving through the ui with only 1 core. very frustrating when you just want to quickly use an app since it will stutter badly.

however, i'll see if others want it.
[Galaxy Ace II Android Development] ace2nutzer:
nope :) try this: toggle cpu1 off, then set max. freq 600 Mhz and Governor: performance... and you will see the UI + scrolling is smooth !

But only a little slowly !!
[Galaxy Ace II Android Development] zwliew:
2nd test release in a row! 24th of may test release :laugh:

this contains mostly hotplugging logic fixes and improvements in the hotplug driver. now, from what i've seen, the hotplug driver does pretty well with barely any hiccups in performance, yet noticeable hotplugging.

do report to me if there are any places whereby the phone really chokes due to hotplugging though :]

to see the real effects of the hotplugging driver, install system monitor from play store and check out the flying monitor feature in it if possible.

furthermore, i've fixed the frequency bug whereby you can't set the min frequency above 200 mhz. so...yeah:angel:

andddd...i've compiled with novatp gcc 4.9 toolchain(supposedly cortex-a9 optimised), to try to see if i can get anymore performance outta this baby

last but not least, i've started adding the commit id of the latest commit in the changelogs to make it easier for users to keep track :]

psst...codinap version coming in a few minutes...
[Galaxy Ace II Android Development] Asus-Tek:
Hi i used kernel 19/4 and i have a problem with deepsleep. Min freq is 200mhz deepsleep is 0% :(
[Galaxy Ace II Android Development] zwliew:
use batterbatterystats to find out the wakelock. i'm pretty sure this is not a problem with my kernel.

edit: codinap version is up! it is called zwliew-kernel-p-20140524-test.zip. enjoy codinap users :]

edit2: it seems like pegasusq doesn't hotplug for me. is it the same for everyone else?

wouldn't gaming be pretty bad?
[Galaxy Ace II Android Development] julianwp:
[MENTION=5840412]ace2nutzer[/MENTION] how to toggle cpu1 off?

What command to type? :D
[Galaxy Ace II Android Development] fluffi444:
You are a killer. Fixed low freq and codinap version? Man this is outstanding.

Many thanks.
[Galaxy Ace II Android Development] DEMONVoz:
+1. How?
[Galaxy Ace II Android Development] PolishVodka:
Probably

echo 0 > sys/devices/system/cpu/cpu0/online;

or for second core

echo 0 > sys/devices/system/cpu/cpu1/online;
[Galaxy Ace II Android Development] James_Feltham:
New kernel working well on Mahdi :)
[Galaxy Ace II Android Development] dragos281993:
[MENTION=5604178]zwliew[/MENTION] I really hope you'll read this. I noticed that in the last two builds (23.05; 24.05), there's something wrong with the core clock. Only Core0 works as it should. Core1 is always offline and that obviously makes our device move like cr**. Even with both cores running, the device is still laggy and struggles with everything all the time but now, with only one core running, it's depressingly slow. I like the fact that you repaired the 200MHz minimum frequency lock, but I really hope you take a look again at your kernel and repair what I said above. It's funny because after I flashed build 23.05, I saw only one core running and the other one was offline, and I thought I fried one core but then I flashed the previous build (21.05) and everything was back to normal.
[Galaxy Ace II Android Development] ace2nutzer:
@ zwliew:

what do you mean.. im sorry my english is soo bad !!

Gaming with them ?? I think is not so good.. too low power.. but for normal using.. like chatt it will be enough !

Oh Yes !! + 1

no, it's not as easy as we think ..

but it goes very well with this app:

https://play.google.com/store/apps/details?id=rs.pedjaapps.KernelTuner
[Galaxy Ace II Android Development] zwliew:
cpu1 is not always offline. it is just that the hotplugging driver hotplugs it when load is "low". i'm still experimenting with it to ensure that cpu1 is not offline at crucial times.
[Galaxy Ace II Android Development] dragos281993:
Yeah, Core1 is not offline all the time. It's 95% of the time offline. It happens only with Core1, the other one works as it should. PS: I'm aware that you're experimenting and what I said was specifically to help you make this kernel the best. I'm here for testing so I'm waiting for a new build to test and report.
[Galaxy Ace II Android Development] exodius48:
Is this version for codinap: zwliew-kernel-p-20140524-test.zip
[Galaxy Ace II Android Development] exodius48:
[MENTION=5604178]zwliew[/MENTION] build 24/05 got random reboots.. :(
[Galaxy Ace II Android Development] ace2nutzer:
Yes.. is for the P Version :good:
[Galaxy Ace II Android Development] zipperX:
What's different between "NovaTP GCC" and "Linaro GCC"?
[Galaxy Ace II Android Development] zwliew:
novatp gcc is based off gcc 4.9 while previously the linaro gcc was based off gcc 4.8. gcc 4.9 should have better support for optimisations and maybe better performance. i'm just trying it out.

anyhow, new release 20140525-TEST again lol :|

i've been trying really hard to improve the hotplugging algorithm the past few days. as a result, the newest release should have the best performance out of the last few test releases, while having pretty good battery improvements over 20140521 stable release.

if you guys can, please try out 20140521 stable release then try out 20140525 test release. i would like to know the difference in performance and battery life. if there are any areas whereby the phone chokes badly due to hotplugging, feel free to report :]

remember, this is your phone and how it turns out also depends on you guys :D

uploaded :D
[Galaxy Ace II Android Development] julianwp:
[MENTION=5604178]zwliew[/MENTION] i have just tested 2014-05-24 and it has better battery life than before

will try 2014-05-25 soon and report it ;)
[Galaxy Ace II Android Development] bruce the boss:
Is this a flashable zip and can I flash it from recovery?
[Galaxy Ace II Android Development] BlueZ-:
Off course you can ;)
[Galaxy Ace II Android Development] bruce the boss:
Thx, than I will install it also now :)
[Galaxy Ace II Android Development] zwliew:
does anyone by any chance have a proper file hosting server to host files on? i'm thinking of making a kernel updater(which can also update other things like cm11 roms), but i need a proper file hosting server(like digitalocean).

if you have and are willing to share, please pm thanks.
[Galaxy Ace II Android Development] asdroid:
[MENTION=1836949]zwli[/MENTION]ew

Problems with bln continues, can you revert changes to two build ago, when even if i turn off backlight buttons bln worked so good?
[Galaxy Ace II Android Development] zwliew:
what problems?
[Galaxy Ace II Android Development] dragos281993:
I don't know what's happening but after I flashed the latest build the same thing as yesterday happened, which means that Core1 goes offline 90% of the time. Then I reflashed again the 23rd build and the problem seems to still be there. I'm starting to believe that my processor is gonna die soon from too much testing. I'm gonna reflash the original ROM and see how the CPU behaves after that.
[Galaxy Ace II Android Development] fluffi444:
[MENTION=5604178]zwliew[/MENTION]

The installerscript for codinap still has the codina settings. So it do not work.

Its not the problem to adjust it for me. Only wanted to let u know for further releases.

And thx again to keep an eye on codinap also.
[Galaxy Ace II Android Development] zwliew:
what's wrong with it? can you be more specific as i can't check right now
[Galaxy Ace II Android Development] fluffi444:
Sorry. Thought it was obvious.

codina has to be codinap

8160 has to be 8160p / 8160P

In the first 3 lines
[Galaxy Ace II Android Development] BlueZ-:
It happens to mee too..it's not our processor I guess
[Galaxy Ace II Android Development] dragos281993:
Yeah, I just figured that out right now.

Apparently this bug is there since the 21.05 build. I'm now on the 19.05 version and everything seems to be working fine now. I feels so good knowing that my phone's not about to die.
[Galaxy Ace II Android Development] zwliew:
are you sure it is on 21.05 build? if it is, i'm pretty sure it isn't a bug. from what i've seen, cpu1 is not 90% offline after the latest build, it onlines pretty often. this 'bug' only occurs on the test builds because of the hotplug driver, which i cannot experience on the latest build and definitely not on 21.05 build since it does not have the hotplug driver.
[Galaxy Ace II Android Development] BlueZ-:
I'm using 25.05 version (the latest one)
[Galaxy Ace II Android Development] dragos281993:
After I flashed the latest build and saw that Core1 was going offline all the time I reflashed the 21.05 build and saw that Core1 was still going offline. Maybe the "bug" was still there because I didn't wipe cache or Dalvik cache, but now I'm on the build from 19.05 and the CPU works as it should. The reason for not wiping anything is that now I'm using ART and if you wipe cache it takes too long for everything to update before it completely boots up.
[Galaxy Ace II Android Development] Kiras_PL:
For me 19.05 kernel is also the best. Since 21.05 my phone got much slower :/ now i came back to 19.05 and it runs very well.
[Galaxy Ace II Android Development] AtEExll:
[MENTION=5604178]zwliew[/MENTION] : does this kernel support install Linux?

Here the app from Google play: https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid

In the description write must the kernel support...

Can you explain something about this?

Thank you and good job!

You have a good night ;)

Sent from my GT-I8160 powered by CyanogenMod 11
[Galaxy Ace II Android Development] zwliew:
Our kernel supports loop devices if I'm not wrong, but I can't be sure.

Anyways, are you guys sure that 21.05 is not as good as 19.05? I didn't change anything much at all between the two builds, as you can see from the change log
[Galaxy Ace II Android Development] James_Feltham:
Hotplugging has let me down in a few situations and the phone just didn't want to respond. This happened when scrolling through settings a couple of times and also after waking the phone after it had been sleeping for a while. With a few tweaks, I think it could be brilliant :D
[Galaxy Ace II Android Development] zwliew:
can someone post a dmesg of 25.05 build?
[Galaxy Ace II Android Development] zwliew:
new stable release 20140526 hehe

the hotplugging driver uses a new algorithm now that does not offline cpu1 very much, so you will experience performance similar to previous stable releases. there is also a new dynamic adaptation of vfs cache pressure to allow better battery life.

enjoy :]
[Galaxy Ace II Android Development] James_Feltham:
Thanks man :D Will test in a bit :)
[Galaxy Ace II Android Development] dragos281993:
[MENTION=5604178]zwliew[/MENTION], can you give us an example of how the "u8500_hotplug_control" file should look like with the commands you gave us? I wanna make sure I'll type correctly every space or line. Thanks in advance !
[Galaxy Ace II Android Development] zwliew:
you can just go to the directory in the 2nd post and see if the settings are applied correctly.
[Galaxy Ace II Android Development] dragos281993:
Well, that's the thing. The "u8500_hotplug_control" file is empty when I open it, so I don't know what to begin with, what the coordinates should look like, how many spaces have to be between every word, etc.
[Galaxy Ace II Android Development] zwliew:
that's weird, the directory is not supposed to be empty.
[Galaxy Ace II Android Development] dragos281993:
Yeah it's empty. Now I'm on Mahdi ROM. I'm gonna flash C-ROM and see if the file is empty on it as well.
[Galaxy Ace II Android Development] Hummer951:
I`m using your latest kernel and my directory is not empty, everything seems in order.
[Galaxy Ace II Android Development] dragos281993:
Ok, I just flashed C-ROM 6.4 and the folder is not empty anymore.
[Galaxy Ace II Android Development] zwliew:
may i ask a question to help improve hotplug:

1. do you guys do any cpu intensive stuff when not touching the phone display? (you are not interacting with the screen, but phone is carrying out cpu intensive stuff)

2. if so, what?
[Galaxy Ace II Android Development] nicknitewolf:
Mining crypto currency
[Galaxy Ace II Android Development] James_Feltham:
Apart from the occasional YouTube video (which I mainly use my tablet for) not really.

The only thing I can think is cut scenes/loading screens in the middle of CPU intensive games. You wouldn't be touching the screen then but the phone would need all the power it can get.

Also, if you were in the midst of playing a game and you didn't have to press the screen for a while, it would be quite bad if the phone suddenly lost all of its processing power :D
[Galaxy Ace II Android Development] doctormord:
Latest build (0526) is running very nice. A huge improvement in runtime/battery life. :good:
[Galaxy Ace II Android Development] zwliew:
new 27th may update which includes:

linux 3.0.101 with no bluetooth bugs

more cpufreq steps (100mhz, 300mhz, 500mhz, 700mhz, 900mhz) thanks [MENTION=4832589]cocafe[/MENTION]! :]

enjoy :highfive:

onto my previous question:

what cpu intensive tasks do you carry out on your phone even when you aren't physically touching the phone screen?

i need this feedback to improve the kernel :D

anyways, i've decided to disable the hotplugging driver for now. i'll only enable it in test builds, whereby stable builds will remain smooth and good as they are!
[Galaxy Ace II Android Development] Glpcha:
[MENTION=5604178]zwliew[/MENTION]

Any love for P users?
[Galaxy Ace II Android Development] Kiras_PL:
latest kernel (27) works really really smooth :D thanks !
[Galaxy Ace II Android Development] crashdjent:
And...For me... last kernel(27.05.2014), reboot occur arbitrary

Отправлено с моего GT-I8160 через Tapatalk
[Galaxy Ace II Android Development] Kiras_PL:
Last Kernel is unable to make a backup !! After about a minute it reboots automaticly to recovery.
[Galaxy Ace II Android Development] Unipo:
Work smooth (Y)
[Galaxy Ace II Android Development] nozyk12:
Which governor is recommended to get best results with this kernel?
[Galaxy Ace II Android Development] BlueZ-:
For me too..
[Galaxy Ace II Android Development] tokacz:
For me too. Many reboots on cm11tc and carbon.
[Galaxy Ace II Android Development] pedroleon99:
+ 1 :(

[MENTION=5604178]zwliew[/MENTION] can you fix that?

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] Unipo:
Strange, work fine for me :0

Envoyé de mon GT-I8160 en utilisant Tapatalk
[Galaxy Ace II Android Development] BlueZ-:
Seems you are the only one

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] judas1977:
@up (all with reboots)

Which governor do you use?

Wysłane z mojego Blade przy użyciu Tapatalka
[Galaxy Ace II Android Development] in.visible:
I haven't reboot with 27 build :o
[Galaxy Ace II Android Development] Kiras_PL:
i didn't have reboots till now :) So i worked about 2hours :D Now i got many reboots, changed back to 19th ;)
[Galaxy Ace II Android Development] Unipo:
I'm not alone! :D

With 27th kernel, 100mhz/1250(real1228)mhz pegasusq, Sioplus and gpu oc I don't have any reboot :)

Envoyé de mon GT-I8160 en utilisant Tapatalk
[Galaxy Ace II Android Development] judas1977:
I think that reboots could be connected to interactive governor, just a guess though..
[Galaxy Ace II Android Development] BlueZ-:
Yeah...It's interactive governor! Reboots start since I set it as default..
[Galaxy Ace II Android Development] Nathanabrahams:
I got way too many reboots .. And also if charging and phone reboots .. It stops freezes half way (like a brick) so I had to switch to old 26 build
[Galaxy Ace II Android Development] BlueZ-:
I'm also facing some (apparently) random FCs...and no, reboots are not related to interactive governor, they happen even using pegasusq

Edit... ok xD now I'm pretty sure that it's a matter of frequences..if I change the default values the reboots start..
[Galaxy Ace II Android Development] doctormord:
Same here.
[Galaxy Ace II Android Development] zwliew:
Strange, it works fine for me. I'll look into it

What CPU settings are you using? Min clock, max clock, governors, etc
[Galaxy Ace II Android Development] dragos281993:
For me the kernel is very stable. I didn't get any reboots or FC. I'm on C-ROM 6.4 with "interactive","row",600MHz min --> 1000MHz max. It looks pretty good.
[Galaxy Ace II Android Development] ip3000:
for now 100-1000 Mhz pegasusq-sioplus stable. For who have reboots: do you wipe dalvik and cache? maybe it can help
[Galaxy Ace II Android Development] doctormord:
100-1050, interactive, -37.5uv, sioplus

400-560 GPU, no uv

This works on the previous versions. (200-1050cpu)
[Galaxy Ace II Android Development] str3tch72:
I have random reboots on 100 (or 200) min - 1050 max. On interactive, pegasusq and ondemand.
[Galaxy Ace II Android Development] doctormord:
Setting GPU to 400-500 seems to fix it.
[Galaxy Ace II Android Development] 7Cloud:
100 min - 1000 max work fine for me with any governor, but when i try 900 max it suddenly become like brick & reboot :laugh:
[Galaxy Ace II Android Development] zwliew:
anyone has a dmesg or proc/last_kmsg of the reboot?

i think it is the problem of the new liveopp commits from cocafe.

can someone try using only min max cpufreqs that aren't 100mhz, 300mhz, 500mhz, 700mhz and 900mhz, Or use 100mhz to 1ghz
[Galaxy Ace II Android Development] exodius48:
[MENTION=5604178]zwliew[/MENTION] [MENTION=4947931]Rox[/MENTION] I dont know why but I get random reboot and blackscreen. I'm using CM11 by TC. How to take dmesg?
[Galaxy Ace II Android Development] ip3000:
try 100-1000 Mhz -pegasusq-sioplus ;)