yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
@ borkins

i think u mean the min. voltage for xx freq.. and not the highest :)

@ Chrono

Yes i use ape 100% for month.... and i can run 400Mhz really stable @ 0x0c varm and 0xdb vbbx for more than 5 hours :) (CPU/GPU Test..)

Yes, i agree that.. cocafe and the other TC users are genius.... but they are just only humans.. we aren't roboter or best computer.. that we can made and work everything 100% .. :o so u know that ;)

But i'm really sure your actually settings in your sig. will make your phone slower, laggy and will drain more battery.. especially min. 25Mhz for screen OFF ! Why ? At this very low freq. the cpu will scaling up, (probably to the max. freq.) too often.

Best min. freq. is still 200Mhz, even for screen ON. I do many tests.. it's not possible to manipulate the gov. so the freq stay a little bit quiet longer at 100Mhz.. no way... but @ 200Mhz it can stay much longer quiet @ 200Mhz.. it rises very rare up.

And till 400Mhz we have DDR 50% ....

Min. 200Mhz is setted by default from SAMSUNG... not mean u when 100MHz or even 25% would save MORE Battery, SAMSUNG don't do that ?!

Even if u set min. / max 25Mhz.. that will even drain more battery than min. 25Mhz max. 400Mhz for screen OFF.... because @ 25Mhz threads can be run very slow and the phone will stay LONGER in wakelock. ;)

Min GPU 192 Mhz ?? - But u know that ,,, when screen is showing not animated things and u don't touch the screen, the GPU Freq. is 0Mhz !!! u don't use ADB ? :D:D:D

@ VARIOUS CPU GPU Voltages...

I NEVER seen an SAMSUNG Phone that have various CPU / GPU Voltages. That runs from 200 - 800Mhz.. at the same Voltage.

I and [MENTION=4962787]fluffi444[/MENTION] have made many many CPU GPU Voltage Tests.. we did play with Live OPP since the first day... and testing it for a few Month ! And we DON'T see ALL THE TIME any differences in Battery draining beetwen min and max. Voltages !

But i think [MENTION=1130928]doctormord[/MENTION] is pointed me in the right direction.. ... i just need to change one Value in Source and see if my phone can run with min. 200Mhz and max. 1150Mhz stable.
[Galaxy Ace II Android Development] kentone:
In fact yesterday i have like 3 random reboots between 100 and 1000 despite the governor, i putted ( this is the past for put in english? O.o' ) the phone between 200 and 800 and nothing for now... even i see my phone wake faster and the ui runs smoother, must be because the scaling is slow for high freqs? Whatever, good work devs :)
[Galaxy Ace II Android Development] mkaluza:
No. APE_25_OPP has nothing to do with cpu voltage/stability. It's actually APE_50_PARTIALY_25_OPP - the difference is that it lowers by half two clocks - dma and something else. Originally it was available only during a call with screen off and I enabled in more as an exercise than a feature. Most of what improved oc/uv is in changes to function db8500_prcmu_set_arm_lopp(...)
[Galaxy Ace II Android Development] ChronoMonochrome:
Ok, thanks for explanation.
[Galaxy Ace II Android Development] ChronoMonochrome:
Why phone should stay on 25 MHz ? Of course it will be, but only when load is very low. It will scales upto high CPUfreq limit(e.g. between 25 and 300 MHz), when load > 0, but how fast it will occur, is depending on governor.

certainly will! but do I ever suggested using 25 MHz as the min and max limis ? :eek:

I will not breed flame about it. I just saw it in mkaluza's topic and I agree this enough if you don't use UI animation... And I never saw UI slower since I use CPU 300/1200 MHz and GPU 192/400 MHz (actually 96/192/400 MHz since is used APE_50_APP).

Why we should believe these guys from Samsung? They never paid attention, how much their ROM is "usable", and they made OC almost impossible. I just don't believe them...
[Galaxy Ace II Android Development] S.AMU:
If I want to use f2fs do I need to repartition my phone again or is a cache partition of 20mb enough?
[Galaxy Ace II Android Development] ChronoMonochrome:
Nope. F2FS requires at least 104 Mb for /cache partition.

UPD. reuploaded. Fixed TWRP loop, but I still need to test it, I hope I didn't mess nothing anymore.
[Galaxy Ace II Android Development] r_e_n_e:
3. Install kernel with F2FS CWM recovery

Where I can find CWM recovery with F2FS for Ace2 GT-I8160?
[Galaxy Ace II Android Development] ChronoMonochrome:
This guide became outdated again. To install kernels with F2FS you can use also kernels that built with TWRP, see download link in OP.
[Galaxy Ace II Android Development] r_e_n_e:
Do you have any manual how to do that?

Before I used to go to CWM recovery and just install kernel from zip (zwliew-kernel-20140618.zip).

This is something new for me.

Thanks for help...
[Galaxy Ace II Android Development] ChronoMonochrome:
I updated OP
[Galaxy Ace II Android Development] r_e_n_e:
Thanks...

What CWM recovery version do you use?

Can you post the download link?
[Galaxy Ace II Android Development] ChronoMonochrome:
I don't use CWM. And in our case recovery is available only with kernels, there is no method to separate it.
[Galaxy Ace II Android Development] r_e_n_e:
1) Go to Wipe -> Advanced wipe

In my CWM recovery version I don't have this option.
[Galaxy Ace II Android Development] manthes:
I want to try chrono_kernel_r2.0-refresh_4.4.x_twrp_f2fs.zip but what is about modules(R2.0+)?
[Galaxy Ace II Android Development] ChronoMonochrome:
New build is UP! :)

As you can see in changelog, some kernels features (such as some governors, hid drivers, etc.) were moved to modules. To be able to use these features, download needed module, move to /system/lib/modules and change permissions via:

chmod 644 /system/lib/modules/*name*.ko

and then load it:

insmod /system/lib/modules/*name*.ko
[Galaxy Ace II Android Development] pedroleon99:
Could you explain what every module do ? Coz I don't know if I need them or no(except governors,obviously)

Thx :)
[Galaxy Ace II Android Development] ChronoMonochrome:
I think practically nothing of those modules is usually needed(except governors), but it was uploaded just in case.

fs folder contains modules for 9p, CIFS and NTFS filesystems

hid is modules for support various HID devices

net. I don't know exactly about these features (most of modules for ipv6, part of others is used probably only on unix-systems on servers, that's really unneeded for android device).
[Galaxy Ace II Android Development] shaqman89:
I just tried chrono_kernel_r2.0-refresh_4.4.x_twrp_f2fs.zip from previously using 1.6.3_twrp_f2fs version. Before rebooting, I wiped the cache and dalvik cache, but somehow I got into a bootloop. I also can't enter twrp after that, so I also can't restore my backup. Did I do something wrong?

FYI, I am using the latest LS Rom.
[Galaxy Ace II Android Development] pijen:
can i use F2FS on /system too?

btw, is it okay if i repartition /cache to 200MB if i want to use F2FS?

thanks
[Galaxy Ace II Android Development] ChronoMonochrome:
Probably my bad, but don't know exactly. I had few kernel versions, some of them were broken, I could mistakenly upload one of them... anyway I reuploaded working kernel and also kernel for odin. Sorry for inconvenience.
[Galaxy Ace II Android Development] shaqman89:
Thanks. I am gonna try it again :D

Which one is the odin version? AFAIK, the odin version would have a tar or tgz extension, right?

Update:

Found it :D I didn't realize that its at the root folder, I bookmarked the 4.4.x folder.

Btw, would the odin version be fine on 4.4.x roms?

I am using a 4.4.x as for the moment.

Update2:

Still bootloop. Thankfully there is the odin version so I could enter recovery again.
[Galaxy Ace II Android Development] borkins:
On latest r2.0 f2fs kernel, I don't have bootloops. In "liveopp" there are only 10 arm steps ( 100-1000 MHz ).

But actually the frequencies are 15 ( 100-1250 MHz ).

So, I can't use the freqs over 1 GHz, to test them for stability, and to compare with the previous kernel, which i used ( r1.6 4.4.x f2fs ).

Between, I saw a refresh version of r1.6 kernel. [MENTION=5695278]ChronoMonochrome[/MENTION], any advantages about it apparently to the old r1.6 kernel?

Thanks, for your time!
[Galaxy Ace II Android Development] S.AMU:
With latest r2.0 f2fs twrp I got bootloop with cm11. Perhaps this is due that I used one of the frequency's you removed.
[Galaxy Ace II Android Development] nikolas1274:
Do I need INI.d script for that or I do 1 time from terminal is OK?
[Galaxy Ace II Android Development] mkaluza:
Bad idea - if there's no module auto load, it'll create a lot of confusion to people. I did it in CoCore kernel because it could(with stock jb) load module by itself. It doesn't work for me in Vanir/3.0.101 and it is annoying. As a challenge, you could try to fix it - it would be very helpful.
[Galaxy Ace II Android Development] riyosakura:
Hei Man..

I tried to update my rom via twrp recovery 1.6.3 4.4 f2fs kernel.. I've waited for a moment, but it take to much time, at least compare flashing rom from cwm..

I cant wait anylonger so i boot to recovery via button....and the recovery have change to cwm...i tried flash it back and everything work well..

Does it work updating rom via twrp? Or it doesnt??
[Galaxy Ace II Android Development] pedroleon99:
Strange, all is fine here
[Galaxy Ace II Android Development] riyosakura:
So, it does take a longer time compare to cwm when flashing rom?? or not???

btw i've reparted my partition, maybe this is the source of problem??
[Galaxy Ace II Android Development] nikolas1274:
There is problem with WiFi tethering at 3.2.0 twrp ext4 version toggling on/off all time
[Galaxy Ace II Android Development] str3tch72:
I must flash modules for latest build TWRP ext4?
[Galaxy Ace II Android Development] 10BIT:
Data Usage lost again on 4.4.x r2.0 f2fs
[Galaxy Ace II Android Development] shaqman89:
Not necessarily, just the ones you needed. In most cases, you wouldn't need to use any modules.

And no, it's not flashing, it's just copying.
[Galaxy Ace II Android Development] ChronoMonochrome:
It's annoying, I forgot to add more sysfs interfaces when editing liveopp freq table.

1.6-refresh is actually test version of r2.0 kernel. I mentioned difference between r1.6 and 1.6-refresh in that post

http://xdaforums.com/showpost.php?p=56001740&postcount=1067 .

Probably, you're right. But I think most of those modules really unneeded. However, I'll look into CoCore initramfs scripts, but probably without hopes.

anyone else faced this problem?

probably because of some networking kernel features were moved to modules. I'll search which modules are needed to fix it.
[Galaxy Ace II Android Development] MrBlackCore:
Chrono, I did what u said with a module ( lagfree gov) but can u tell me how to check if it works cause the "performance "tab in my menu disappeared. Im using r2.0
[Galaxy Ace II Android Development] Kiras_PL:
I also think that its a bad idea to use separetlly all these modules. It will only make problems for people who does not know what is that. Its not a big difference in size having a kernel with all modules and with a couple of them only. And how about this zip modules? I also dont know is that :) and do i need to load all of them every boot?
[Galaxy Ace II Android Development] ChronoMonochrome:
I think same. Reverting changes for now. I probably will only disable some unused parts of kernel.

There's two advantages of reducing kernel - less boot time and more available RAM.
[Galaxy Ace II Android Development] manthes:
Maybe the middle choice is to have all governor modules and the others extra.

With 1.6 refresh i have sometimes blackscreen while phone is charging (s6d of course)
[Galaxy Ace II Android Development] ChronoMonochrome:
I won't create more modules. Anyway it can be loaded only via terminal, It's really worst there's no way to load it via init.d(or at least I tried all known methods, and none of them works).

Sorry, I have no idea what to do with this bug :/
[Galaxy Ace II Android Development] Kiras_PL:
Glad to hear You want to come back to previous habits :D lokking forwar for the next release ! :)
[Galaxy Ace II Android Development] mkaluza:
It depends... when I was done with CoCore kernel, I had 7mb of modules... that's 1% of our memory - it doesn't sound like much, but considering we're fine-tuning the platform, 1% is quite a lot... to me at least...

Yup :)

take it easy ;) modules are a good thing - your solution just needs some more work...

Try KoControl app.

Why doesn't it work via init.d? It should (works for me...). Post your scripts-I'll try to help.
[Galaxy Ace II Android Development] ChronoMonochrome:
Firstly I tried simple script such as this

MODULES="/system/lib/modules/autoload/"
cd $MODULES

for i in `ls`
do
insmod $i
done

And it caused reboot.

Okay, I began to think about script generation, which will write instructions for immediate modules loading:

MODULES="/system/lib/modules/autoload/"
SCRIPT="/sdcard/mod_autoload"
#chmod -R 644 $MODULES
rm $SCRIPT
touch $SCRIPT
cd $MODULES
echo "MODULES=$MODULES\n" > $SCRIPT
echo "cd \$MODULES\n" >> $SCRIPT
for i in `ls`
do
echo "insmod $i\n" >> $SCRIPT
done

For some reason line

chmod -R 644 $MODULES

doesn't work(probably because /system mounted read only, I think it's not important for now, anyway I fixed permissions manually)

And again reboot after I executed "/sdcard/mod_autoload". -_-

I tried to load modules from /system/lib/modules/ , but again nothing!

UPD. I also tried

m = /system/lib/modules/cpufreq_abyssplug.ko
su -c "insmod $m"

And it doesn't work even via terminal.

I think modules can be loaded using those ways only from /sbin. :confused:
[Galaxy Ace II Android Development] S.AMU:
Yes :) each kbit of ram has to be saved on our phone. A lot of kbits is also making 100mb :)
[Galaxy Ace II Android Development] mkaluza:
insmod requires full path, so:

#!/system/bin/sh

#set -x

MODULES="/system/lib/modules/autoload/"
for i in $MODULES/*.ko
do
insmod $i
done

a nicer thing would be to have a module list like in /etc/modules with one module per line (without .ko) and a script:

#!/system/bin/sh

#set -x

MODULES=/system/lib/modules/

for i in `cat /etc/modules`
do
insmod $MODULES/${i}.ko
done

This is odd... but try those. You can also uncoment the "set -x" line and then you'll see the script being executed in logcat
[Galaxy Ace II Android Development] ChronoMonochrome:
The funny thing I tried use it with full path, and it said me that it can't find this module :cyclops:

However, I'll try your scripts and report asap.

UPD. thanks, now I found out where was a problem

D/su ( 5516): su invoked.
D/su ( 5516): starting daemon client 10047 10047
D/su ( 5518): remote pid: 5516
D/su ( 5518): remote pts_slave:
D/su ( 5518): waiting for child exit
D/su ( 5520): su invoked.
D/su ( 5520): db allowed
D/su ( 5520): 10047 /system/xbin/su executing 0 /system/bin/sh using binary /system/bin/sh : sh
E/DropBoxManagerService( 2218): Can't write: system_app_strictmode
E/DropBoxManagerService( 2218): java.io.IOException: Can't mkdir: /data/system/dropbox
E/DropBoxManagerService( 2218): at com.android.server.DropBoxManagerService.init(DropBoxManagerService.java:588)
E/DropBoxManagerService( 2218): at com.android.server.DropBoxManagerService.add(DropBoxManagerService.java:186)
E/DropBoxManagerService( 2218): at android.os.DropBoxManager.addText(DropBoxManager.java:272)
E/DropBoxManagerService( 2218): at com.android.server.am.ActivityManagerService$18.run(ActivityManagerService.java:9996)
I/libblt_hw( 1683): Library opened (handle = 4, fd = 32)
I/libblt_hw( 1683): Library opened (handle = 9, fd = 53)

A long time ago I manually created file /data/system/dropbox to get rid of spamming logs. It worked on CM 10.2, but for some reason doesn't work on CM11.
[Galaxy Ace II Android Development] manthes:
Unfortunately with 1.5 build and after them i have black screen often at lockscreen (not onlu while phone is charging as i have said before).

The bad thing for me is that builds without black screen don't support f2fs which i use now
[Galaxy Ace II Android Development] manthes:
I tried 1.3 build with cwm f2fs and again i have black screen. Could it be f2fs problem with s6d driver?
[Galaxy Ace II Android Development] fluffi444:
[MENTION=5695278]ChronoMonochrome[/MENTION]

First I thought it wasn't worth to mention but now I'll do it away :D

If I compare Kernel V1.5.1 to 1.6.4 (both F2FS codinaP) the Kernel V1.5.1 feels a bit (sometimes much) more smooth than 1.6.4.

Made everytime the same tests with both kernels (after Phone boot up completely, and no background stuff was running) and came everytime to the same (subjective?) feeling that "something" let the Kernel V1.6.4 stutter a bit...

Especially noticeable while heavy scrolling... Sometimes it looks like that Kernel 1.6.4 has lower FPS compared to V1.5.1...

Feel free to take a look into it or not - I understand that such "reports" are quite heavy to analyse....

Anyway I'm still VERY happy with Kernel F2FS V1.5.1

Absolut the best my Phone ever got (with latest TC11 from Rox, build by poppmessa)
[Galaxy Ace II Android Development] zizoumadrid:
plzz can you share with us your config cpu gov and I/O min/max freq .......

thank's
[Galaxy Ace II Android Development] fluffi444:
Sure... But this is nothing special... :D

CPU 200-1200 (100-400 Screen Off)

PegasusQ / SIOPLUS

GPU: min 400 / max 540

APE_OPP=100%

NO additional undervolting for GPU/CPU.

@ chrono_kernel-P_r1.5.1_4.4.x_cwm_f2fs
[Galaxy Ace II Android Development] ChronoMonochrome:
Okay, I'll try revert one or two commits(no sure, that so soon), which may cause overall lags.
[Galaxy Ace II Android Development] Alwer:
[MENTION=5695278]ChronoMonochrome[/MENTION]

On stock I have massive screen glitches. Only happens when I watch movies on full screen with YouTube.

I can provide log cat if needed

Ps my LCD drivers are wd24....
[Galaxy Ace II Android Development] zizoumadrid:
plzz can you tell me how to set min/max screen off

really i don't know how

thank's
[Galaxy Ace II Android Development] fluffi444:
Read second post and make init.d script... Chrono wrote already everthing needed...
[Galaxy Ace II Android Development] zizoumadrid:
i'm sorry for this question

where i put it "init.d"

thank's
[Galaxy Ace II Android Development] riyosakura:
USB tethering or hotspot tethering is not working on the latest r2.0 kernel...it work on 1.6.3 though...
[Galaxy Ace II Android Development] needo2:
I formatted data to f2fs then restored backup but the first thing it did was to format into ext4 again

Edit: formatting cache to f2fs makes CM ask "Type password to decrypt storage" so I guess it isn't supported at all nvm
[Galaxy Ace II Android Development] shaqman89:
Did you use advanced restore or just normal restore?

I used advance restore in Cwm and it worked fine
[Galaxy Ace II Android Development] needo2:
I couldn't find it in TWRP but the ROM doesn't seem to like f2fs anyway

Also TWRP can't read my external_sd but the CM File Manager has no problem with it (didn't want to double post)
[Galaxy Ace II Android Development] shaqman89:
Not sure in TWRP, since I originally formatted mine through CWM, but to say that f2fs disagree with this ROM is kinda invalid. I see many are using it here, and I am certainly happy with it so far.

Also, in my case TWRP reads my external card just fine

Update: I just realized that this is the kernel thread.

In that case, which ROM are you using? I tried it with TC and LS ROM, both worked fine
[Galaxy Ace II Android Development] needo2:
I formatted data and cache with f2fs and discarded the backup it's all fine now, thanks for assistance
[Galaxy Ace II Android Development] riyosakura:
Anyone can confirm this??
[Galaxy Ace II Android Development] ChronoMonochrome:
It's known problem. Don't use r2.0, until I fix it.
[Galaxy Ace II Android Development] riyosakura:
I see tethering has been fixed on r2.0.2..

You just said me, wait until it fixed. Was it already fix on r2.0.2??
[Galaxy Ace II Android Development] ChronoMonochrome:
I can't test tethering ATM. But probably it was fixed since I reverted all networking-related changes from R2.0. At least, data usage works again.
[Galaxy Ace II Android Development] zizoumadrid:
can someone tell me how to set frequency in screen off

i wrot those code in file and make "init.d" where i put it ??

thank's
[Galaxy Ace II Android Development] shadow252:
You need to put your file to /etc/init.d folder and then set right permissions for your file then you can just restart your phone and it should work. You should change name of your file to 98screen_off for example.
[Galaxy Ace II Android Development] Kiras_PL:
I'm using now R2.0.2 twrp ext4 and works amazing, i think it's the best kernel from ChronoMonochrome so far. Added only a couple of governors and works great :) Thanks :)
[Galaxy Ace II Android Development] ChronoMonochrome:
[MENTION=3329816]mkaluza[/MENTION], seems that I fixed module autoload(correctly, added another one). Probably would be a better to use /etc/modules instead folder /system/lib/modules/autoload, but ATM I can't get it working(I used your script, and it said that can't find module, even if I write correct names in /etc/modules). ATM I still use it as init.d script(I just added it to kernel package), and for me it's easier than adding it to initramfs scripts, otherwise I'll have to add it to ramdisks for different ROMs (4.1-4.4).

UPD. okay, as I read in github, it's not that you meant by "module autoload". Will try to fix it asap :)
[Galaxy Ace II Android Development] shaqman89:
I could say the same about the f2fs version. Currently on it, and in the last hour it seems quite an improvement.

Great work. Thanks. :D
[Galaxy Ace II Android Development] manthes:
4.2 kernels have been abandoned?
[Galaxy Ace II Android Development] ChronoMonochrome:
Given the fact that the popularity of ROMs 4.4 has recently increased, I will rarely do builds for other ROMs. Maybe I will do it when it is ready to upgrade to r2.1.
[Galaxy Ace II Android Development] magostinelli:
Hello, I use cwm, it's possibile to flash the twrp kernel?

If not, there is a flashbale recovery (zip) I can flash over the cwm?

Regards.
[Galaxy Ace II Android Development] zizoumadrid:
yes you can :)
[Galaxy Ace II Android Development] exodius48:
[MENTION=5695278]ChronoMonochrome[/MENTION] TWRP 2.8 out, would you update?
[Galaxy Ace II Android Development] ChronoMonochrome:
Unfortunately, I can not find a guide on which I would be able to compile the recovery. And I do not know who I could ask for help in this.
[Galaxy Ace II Android Development] pedroleon99:
Maybe that ? Just see that searching the forum, Idk if it works
[Galaxy Ace II Android Development] ChronoMonochrome:
Thanks. :) It looks very helpful for me.
[Galaxy Ace II Android Development] nikolas1274:
[MENTION=235339]chrono[/MENTION]

The R2.0.2 ext4 for 4.4.x cause me a lot of random reboots, sorry i dont have log file to upload because i roll back to r1.6 that it was working good for me.

Any one have the same problem?
[Galaxy Ace II Android Development] manthes:
I had the same problem with cm 11 and older chronokernels but i also see that free ram was very low (about 60mb). So probably is rom's problem
[Galaxy Ace II Android Development] nikolas1274:
I think it is something with kernel because with 1.6 same rom I don't have problem
[Galaxy Ace II Android Development] Asus-Tek:
I have this kernel and i have a lot of random reboots too. Now i using ondemand a sioplus and mobile works good. I dont have any random reboots.
[Galaxy Ace II Android Development] lewsa17:
why touchscreen not responding below min freq 200mhz, always I must change cpu freq? everytime when min cpu speed is below 200mhz I must restart phone, what is strange, doubletap working but when screen is on touchscreen not responding
[Galaxy Ace II Android Development] shoxieJESUS:
You need to off doubletap. It's have bugs on our phone.
[Galaxy Ace II Android Development] ChronoMonochrome:
Try to set varm voltage @ 0x24 for 100-400 MHz at boot. Probably [MENTION=5840412]ace2nutzer[/MENTION] was right about that. Or at least, set 0x18 as in previous version of LiveOPP.

I'll set previous varm voltage in next version of kernel.