yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] fluffi444:
Did you ever tried OC DDR? I don't want to use my phone anymore without. It kicks the general speed and handling to another level, imho.

[MENTION=5695278]ChronoMonochrome[/MENTION]:

Regarding new PLLDDR on suspend... This works rellay good. But only if the phone went into the second or even third time to suspend...

I booted the phone, entered pin, and let the phone go to suspend by itself... Then I waited very long... 5 mins.. or even 10 mins... But after wake up the PLLDDR was not set... After I set the phone manually to suspend again the PLLDDR was set almost immediately...

I tried this seveal times and it seams like that the phone do not set new PLLDRR on first (automatic) suspend.

But the most important is without any reboot or freeze (for 975).. :good: Nice work!

And thanks also for this new uV feature. This makes uV a bit easier, without any hex codes...
[Galaxy Ace II Android Development] pedroleon99:
+1 the battery is horrible but phone very smooth :)
[Galaxy Ace II Android Development] ChronoMonochrome:
To be honest I haven't did battery life tests esp for overclocked DDR. Since I don't use it daily, and only from time to time, I don't care so much about how many charge it drains. I'm pretty satisfied with GPU 256/400 MHz with voltages below:

echo 1 vape=19 > /sys/kernel/mali/mali_dvfs_config
echo 5 vape=1f > /sys/kernel/mali/mali_dvfs_config

WIth default DDR frequency, APE25/DDR25, CPU voltages in changelog this gives me up to 6,5 hours SOT when watching video via MX player - even with ~2 years old battery. Only problem is that display sometimes messes with DDR25/APE25 (fortunately - very rare).

Yeah, this is known bug :/ I think that kernel just kills PLLDDR OC thread when it running too long. This happens because of media server, which very heavily uses CPU. That's why I removed CPU workload workaround in 2.16.1.

Nope, I believe I have found a reason for bug. This happens due to that SDMMCCLK is enabled for a long time on boot, and DDR OC thread fails to OC due to this. I need to debug this to turn out why it just doesn't tries to OC one more time, when SDMMCCLK is off.
[Galaxy Ace II Android Development] ChronoMonochrome:
UPD. don't use it for now. I did mistake here which cause recovery bootloop, due to fact that installer tries to put recovery.cpio without checking whether recovery.cpio.gz exists. This results that recovery.cpio is installed not wholly due to insufficient space, and finally cause reboots in recovery. :eek: this was not so obvious for me.
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for infos ... to be honest i really don't know what is DMACLK and ACLK .... can u explain me what is then oc'ed ? I mean wich chip / hardware ...

Because i really don't like to touch / OC Things, when i don't know what is that exactly and especially if such things can cause Filesystem corruptions... that's really not funny :D
[Galaxy Ace II Android Development] ChronoMonochrome:
Honestly, we don't have a proper documentation, which explains all things such as what are PRCMU registers and for what they are uses. All that's done (including LiveOPP), is done only by guessing. Only thing what I know - that's DMACLK/ACLK is reduced fourfold when is in APE_25_OPP(in 2x when is in APE_50_OPP), so I think these clocks are only what is controls APE_OPP. Actually not only these clocks, but the thing is that DMACLK/ACLK mostly affects on UI performance.

This is like having APE_125_OPP/APE_150_OPP states or something like that :D

Normally FS shouldn't be corrupted when OCing up to 975 MHz. Unfortunalely when OCing over that, and if in that moment SDMMC is enabled that might cause FS corruption(I don't know yet whether latest implementation solves this problem or not. Normally SDMMC should be off, even when reboot happen). Since OC below 975 MHz absolutely stable, therefore I think that there's no point to worry...
[Galaxy Ace II Android Development] ace2nutzer:
Thanks ... i admit i'm anyway worry about that... that's too much experimental for me.. and my nice ace2 :D :o ;)

But anyway i like it that u continue to develop that DDR OC Thing ... maybe one day it's much better... or we found out more infos.

btw: if we using your actually DDRPLL OC interface, is then also increased related Voltages to DDRPLL ?? Or it just change Frequencys ?!
[Galaxy Ace II Android Development] ChronoMonochrome:
I'm not so sure, but seems that vape is somehow related to PLLDDR. As I remember, cocafe said that PLLDDR, PLLSOC0 and PLLSOC1 were designed for Mali, so this is very likely, that DDR also consumes vape. Luckily or not, we already have overvolted vape from GPU OC, so usually no need to worry about increasing voltage.
[Galaxy Ace II Android Development] fluffi444:
I have another thing to mention - not a big thing but maybe you have an idea:

If I run Nenamark2 (for instance - antutu reacts the same) the phone runs not as fast as it can from the beginning.

Once I touch the display (only once at the beginning) full speed is comming. It's obvious that touchbooster comes to action...

I wonder if there is a way that the phone goes without touching display to its full CPU/3D speed.

Or do I have to adjust the liveOPP steps seperately for this (again)?

Do not understand me wrong - I know that benches are NOT that important! :o But maybe you have an idea..

Using DYNAMIC GPU-192-500 CPU-200-1200 and quite tight mali thresholds.
[Galaxy Ace II Android Development] avithohol:
Hi, using these lines

actually is decreasing the 3d score in benchmark but doen't seems to affect the 2d performance, that's really peculiar :D

Using 185 instead of 184 decreasing the clocks.
[Galaxy Ace II Android Development] S.AMU:
At the moment im lost a little bit.

What is the best method now to overclock DDR? Because I'm still using my old script method with an smanager script, which I am executing after each reboot manually.
[Galaxy Ace II Android Development] fluffi444:
Only for R 2.16 or R 2.16.1

This is for init.d

#!/system/bin/sh
set -x

PLLDDRSU="/sys/kernel/liveopp/pllddr_oc_on_suspend"

# echo 0x50168 > $PLLDDRSU # 798 Mhz
echo 0x5017f > $PLLDDRSU # 975 MHz
# echo 0x50180 > $PLLDDRSU # 983 MHz
# echo 0x5018f > $PLLDDRSU # 1098 MHz
#

Or use from terminal - for testing

echo 0x5017f > /sys/kernel/liveopp/pllddr_oc_on_suspend

This is for 975 - the hashed are only options (should be obvious)

This set the value to pllddr_oc_on_suspend... And after Phone gone to suspend (approx second time after boot) the value will be taken over to PLLDDR automaticly - And OC is done....
[Galaxy Ace II Android Development] ChronoMonochrome:
This is probably Dynamic governor peculiarity. I noticed that it slower fps due to using much low CPU frequency than other governors - actually using high performance profile doesn't seem to solve the problem. Maybe it wasn't good idea to implement touchbooster only to Dynamic. This may be related to GPU boost delay also, though.

OC over 975 MHz didn't worked well that way, therefore I think it's better to still use OC_DDR script.
[Galaxy Ace II Android Development] ChronoMonochrome:
Hi!

Thanks for report. I don't remember any changes since 2.14.5, which could cause it, but I will look at this. I also can confirm that percentage sometimes drops down to 88% even after full charge. For now I see only solution to charge phone again after drop, then reboot etc.

Does anyone else have this problem? [MENTION=5840412]ace2nutzer[/MENTION], maybe you know how to solve this problem?

P.s. [MENTION=6227052]Ave_Hornet[/MENTION]

It's not a private matter of any kind to use PM's for it.
[Galaxy Ace II Android Development] LS.xD:
No access to storage in TWRP // 8160P

Hi,

I just tried your kernel and system runs great with latest stable version BUT i have some weird issue, i can't access my storage from TWRP as external sd is not mounted at all and interbal storage shows correct space but not any of my files. For codinaP is only TWRP 2.8 available which makes the phone unusable.

I tried 2.14.5 and 2.16.1 with ext4 with no success. Seems to be caused by TWRP or i'm just too dumb to flash it right.

Anyone has same problem or a solution for me?
[Galaxy Ace II Android Development] Ave_Hornet:
I have this problem too with TWRP (detects /data as /sdcard). also TWRP doesn't format propertly partitions /system /cache /data

Solution Just use CWM

I apologize for the fact that I did not want my post drowned in tonnes posts per day in this topic
[Galaxy Ace II Android Development] LS.xD:
I can't as CWM is just available for codina (8160) and i have codinaP (8160P)
[Galaxy Ace II Android Development] Ave_Hornet:
Just try to extract from the last chrono kernel and put it to ramdisc folder and give right permissions
[Galaxy Ace II Android Development] ChronoMonochrome:
Hi! Can you just try to use latest TWRP 2.7.1.0, uploaded here http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/ramdisk/recovery/ .

This should work as well with codinap.

http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/ramdisk/recovery/twrp_2.7.1.0_for_R2.12.zip (f2fs)

http://xda.mister-freeze.eu/XDA-fil...k/recovery/twrp_2.7.1.0_ext4_for_R2.12.2+.zip (ext4)
[Galaxy Ace II Android Development] LS.xD:
Really weird: tried to install 2.7.10 but installation aborts with cwm 6.0.5.0. Downloaded file again but no luck :(

I'll try to switch to f2fs tomorrow. thx for your help anyway.
[Galaxy Ace II Android Development] Ave_Hornet:
This is not flashable zip, You must put it on /ramdisc folder manually and give 644 permissions

I tested those TWRP's recovery and 2.7.1.0 have the same issues as 2.8
[Galaxy Ace II Android Development] ace2nutzer:
I've right now compared my borad-codina-bm.c with yours.. and there are many differences.. i don't know why u changed so much Values. .. and 100mA for termination current will reduce the Batt. capacity.. with the Time. But i've see u changed the Voltage for 100% and 99% .. that's a good idea.. i'll change it too.. 4,26V is too much... it goes too fast from 100 @ 99%.

I can Suggest to u to remove the termination_current interface and just set it in Kernel: 1st_term = 200 and 2nd_term = 150mA that's enough :)

Usually when battery drops from 100% @ 80% after running shortly an app what it required much power.. or after an reboot.. that means the batt. is nearly defective. The most ace2 batt. are probably longer than 2 Years old.. this is normal :)
[Galaxy Ace II Android Development] ChronoMonochrome:
Thanks for advices :) I'll try these settings

I don't think it's so defective.. after repeated charge it can keep charge normally (it anyway drops to 97% after reboot, but that's better than 88%).
[Galaxy Ace II Android Development] ace2nutzer:
Are'u using Cycle Charging or charging current lower than 400mA ?!!

Note that if in NT-APP Chargin current is set @ 300mA (just exa.) and charging control is disabled, the Charger will anyway charging @ 300mA ...

This happened in my actually charger sources... i don't know why.. but it's okay if u know that :o:D

But only for Values lower 600mA ... for Values higher that 600mA it's needed to disable and enable charging control to make it running with Currents higher than 600mA.
[Galaxy Ace II Android Development] ChronoMonochrome:
Nope, I don't use it.

Ok, thanks for the info. :)
[Galaxy Ace II Android Development] ace2nutzer:
Hmm then it should work properly.. i can agree with u when u reboot and u'll have from 100% @ approxx 96% .. the battery is not defective.

Try to use the completely Charger sources from me (not only board-codina-bm).. and report if that bug is gone....

With my currently charger nobody reported me any issues.. it works perfectly :o
[Galaxy Ace II Android Development] seanmalto:
Same problem here

I cant access external sdcard from TWRP recovery too.

So, have you change the recovery to CWM?

did you get any blackscreen there? i need your report if there is no blackscreen at cwm recovery with chrono kernel :)

i use another kernel with cwm recovery before, and got a lot of blackscreen.

Now i still use TWRP and i want to change it to cwm recovery.
[Galaxy Ace II Android Development] manthes:
I have reboots when i am trying to install angry birds season. I have similar problem with another large application but not with smallers.

I don't know if it is kernel problem or something else because i am using full f2fs and i have made repartition but phone was working fine with this combination for one month. (i have 900mb free)
[Galaxy Ace II Android Development] ace2nutzer:
Did u tryed if my kernel from 0210 have no blackscreen in cwm ??
[Galaxy Ace II Android Development] seanmalto:
I just want to ask if there is no blackscreen at cwm recovery with r.2.16 universal chrono kernel :)

because there is no blackscreen at twrp. The problem just can not access ext sdcard.

Or maybe just mount the extsdcard(that maybe unmounted automaticaly) and the problem will gone?
[Galaxy Ace II Android Development] ace2nutzer:
Okay, actually for 0210 no blackscreen bug report.. . if u like to try.. ;) I'm planning to change now in every build things in LCD Driver in order to fix blackscreen bug (of course only if i've bug report)

I've never tryed TWRP ... i can't help u .. just check all menus for mounting things and see if it'S mounted.. if not, mount it manually.. if all didn't help.. u can also try to mount ext-sdcard over ADB ;)
[Galaxy Ace II Android Development] fluffi444:
You both know that this is ChonoKernel Thread, isn't it? :o

Which size do you have on real internal SD Card?
[Galaxy Ace II Android Development] manthes:
100mb. I make repartition with yours zip file.

I have also tried to restore a backup of angry birds and it restored fine but after trying to upgrade the app i have the sane problem. It makes the download but it freeze and finally reboot during the installation
[Galaxy Ace II Android Development] seanmalto:
Well im sory to be out of topic, i have edited my post.

Im using r2.16.1, just now i flash cwm 6.0.5.0 for ext4 from chronomonochrome download page, and yes i still got blackscreen.

So i change it again to twrp,

and if i want to install something, i just move them to external storage(that was swaped to be internal storage).

About internal storage that was swaped to be external storage is now empty. Because i cant access anything there. There is just an empty folder named "TWRP"
[Galaxy Ace II Android Development] ace2nutzer:
in cwm swapped storages are again normal.. the "swapped" is only on bootet CM .. in recovery they are not swapped for me ...
[Galaxy Ace II Android Development] Bogazicili90:
Guys I need your urgent help please. I flashed TeamCanjica CM 11 ROM and GAPPs. And then I want to change Kernel and without being sure I flashed chrono_kernel_r2.9.5 with the instructions written in the forum which are 1 ramdisk partitition then codina_twrp_2.8.0.0_full_f2fs and then the chrono_kernel_r2.9.5. After this phone didn't boot and remained on bootloop. I couldn't event restore the CWM nandroid backup finally I found a solution and restored by backup. Now Only TeamCanjica CM 11 is flashed. What should I did to install best compatible kernel, recovery and changing file system to F2FS. Does Chrone Kernel compatible with CM 11? Please help.
[Galaxy Ace II Android Development] seanmalto:
Yes sure, i forget to say that :)

Flash f2fs kernel(with all requirement zip)>reboot recovery again(dont reboot to system, you'll get bootloop at samsung logo) > format /data /cache /system to f2fs > flash cm 11 f2fs>flash gapps>reboot system>reboot to recovery again> flash latest chrono f2fs kernel>reboot system>done.

Cmiiw.
[Galaxy Ace II Android Development] Bogazicili90:
What you mean by with all requirement zip? If I format data cache and system all my data will go right? And do I need a CWM recovery for to do this or TWRP recovery? And again I really can't find the latest chrone kernel there are many file and folders on the server. I couldn!t find the latest one. I am newbie sorry for many questions.
[Galaxy Ace II Android Development] seanmalto:
Requirement here mean : Make-ramdisk partition, bootscript, recovery, and the kernel.

Yes it will be gone, so just backup it first, then restore again.
[Galaxy Ace II Android Development] Bogazicili90:
Thank you so much. I did everything you wrote step by step but phone doesn't open after flashing TeamCanjica CM 11 and Gapps. It is on Bootanimation and remains. I did everything over and over again the same problem. It doesn't pass bootanimation screen.

Anyone to help? The problem might be because of the CM 11 teamcanjica? Does it support f2fs?
[Galaxy Ace II Android Development] avithohol:
Hi Chrono,

I think that dmaclk, sets the direct memory access (DMA), you can check this line CLK_LOOKUP(dmaclk, "dma40.0", NULL) .

Regards.
[Galaxy Ace II Android Development] seanmalto:
I tought you have downloaded cm11 rom with f2fs support. Maybe your rom doesnt support f2fs.

Also read the first page about how to 'f2fs'. Just search it :)
[Galaxy Ace II Android Development] nikolas1274:
You must read the op, you have to do some changes at roms zip file if the rom does not support f2fs, I saw somewhere that there is script for that
[Galaxy Ace II Android Development] Bogazicili90:
Thank you. I solved problem with changing rom to f2fs with script. I have Chrone Kernel R2.16.1 and my wifi signal is so weak. At the same room my S3 is with full signal but Ace 2 just one or sometimes any. How will I fix this?

---------- Post added at 10:26 PM ---------- Previous post was at 10:25 PM ----------

Thank you. I solved problem with changing rom to f2fs with script. I have Chrone Kernel R2.16.1 and my wifi signal is so weak. At the same room my S3 is with full signal but Ace 2 just one or sometimes any. How will I fix this?
[Galaxy Ace II Android Development] ChronoMonochrome:
This surely came from F2FS. Don't know whether it's F2FS bug, or I did mistake when applied compatibility fixes after VFS update to Linux 3.2, though.

Are you sure that you've installed latest TWRP recovery? If not, check it on FTP.

This one working fine and always mounts both sdcards.

http://xda.mister-freeze.eu/XDA-fil...k/recovery/twrp_2.7.1.0_ext4_for_R2.12.2+.zip (ext4)
[Galaxy Ace II Android Development] manthes:
For strange reason there was a problem with data folder. I tried to restore backup and it stopped while it was wipping data. Finally i formatted data to ext4 and after that again to f2fs and it everything is ok
[Galaxy Ace II Android Development] mkaluza:
Set max_non_oc_freq and oc_freq_boost_ms to zero to disable this behaviour.

But it's not a bug, it's a feature - phone is meant to be used, not benchmarked. This feature was meant to increase responsiveness with oc without increasing power usage.

If you want to run benchmarks, switch to performance governor.

And rtfm... It's all on wiki of Project Zen.
[Galaxy Ace II Android Development] fluffi444:
Is there also an recommended Recovery for F2FS (codinap) ? Have also the problem with not mounted SCDards in TRWP (Running R 2.16.1)
[Galaxy Ace II Android Development] ChronoMonochrome:
Have you tried this one http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/ramdisk/recovery/twrp_2.7.1.0_for_R2.12.zip ?

Thanks. Benchmarks was never important for me, I just wanted to improve gaming performance a bit. Don't think though that it's would be a good idea to use performance governor due to constant usage APE100/DDR100.

P.s. I can't set max_non_oc_freq to 0. It for some reason sets 200000 instead which is causing drastic fps drops.

My script is following:

# CM Performance Profiles
# Powersave
on property:sys.perf.profile=0
write /sys/devices/system/cpu/cpu0/online 1
write /sys/devices/system/cpu/cpu1/online 1
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor dynamic
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor dynamic
write /sys/devices/system/cpu/cpufreq/dynamic/input_boost_freq 300000
write /sys/devices/system/cpu/cpufreq/dynamic/input_boost_ms 100
write /sys/devices/system/cpu/cpufreq/dynamic/power_optimal_freq 700000
write /sys/devices/system/cpu/cpufreq/dynamic/high_freq_sampling_up_factor 2

# Balanced
on property:sys.perf.profile=1
write /sys/devices/system/cpu/cpu0/online 1
write /sys/devices/system/cpu/cpu1/online 1
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor dynamic
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor dynamic
write /sys/devices/system/cpu/cpufreq/dynamic/input_boost_freq 400000
write /sys/devices/system/cpu/cpufreq/dynamic/input_boost_ms 100
write /sys/devices/system/cpu/cpufreq/dynamic/power_optimal_freq 800000
write /sys/devices/system/cpu/cpufreq/dynamic/high_freq_sampling_up_factor 2

# High performance
on property:sys.perf.profile=2
write /sys/devices/system/cpu/cpu0/online 1
write /sys/devices/system/cpu/cpu1/online 1
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor dynamic
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor dynamic
write /sys/devices/system/cpu/cpufreq/dynamic/input_boost_freq 400000
write /sys/devices/system/cpu/cpufreq/dynamic/input_boost_ms 150
write /sys/devices/system/cpu/cpufreq/dynamic/power_optimal_freq 0
write /sys/devices/system/cpu/cpufreq/dynamic/max_non_oc_freq 0
write /sys/devices/system/cpu/cpufreq/dynamic/oc_freq_boost_ms 0
[Galaxy Ace II Android Development] fluffi444:
Yes - tried it seconds ago - this one hasn't the option to mount MTP at all - No SDCard are mounted
[Galaxy Ace II Android Development] ChronoMonochrome:
I had to use 2.7.1.0 because 2.8 has a problems with restoring /data backup (doesn't restore but just reboots back to recovery). Does internal sdcard mounts via filemanager?
[Galaxy Ace II Android Development] tofueatsbread:
You supposed to flash boot.img, replace modules, set Perm then reboot.....
[Galaxy Ace II Android Development] manthes:
I didn't know about modules. Yes it works fine until now. The only thing i believe that it use too much 1000 freq but i will see it later. For now i choose ondemand governor until i find the best.

Thanks ChronoMonochrome
[Galaxy Ace II Android Development] linjes:
I assume this kernel works with cm11 by TeamCanjica? Is there support for zram and extension of system memory to the SD card?
[Galaxy Ace II Android Development] ace2nutzer:
lol... this kernel is based on TC CM 11 ! :highfive:
[Galaxy Ace II Android Development] linjes:
HAHA thanks i was just making sure cos there is no official list of roms that work :)
[Galaxy Ace II Android Development] tofueatsbread:
Thats some nasty thing you know. Who create threads with non working roms -.-(except for minooch...)
[Galaxy Ace II Android Development] linjes:
Nah, as in compatible ROMs. I am used to flashing different kernels for different bases haha

Sent from my LG-D802
[Galaxy Ace II Android Development] Kiras_PL:
Is the recovery nowe 6.0.5.0 ? or still 6.0.4.9 ? :) I'd love to check Your kernel but i want to have quite new recovery :D
[Galaxy Ace II Android Development] ChronoMonochrome:
CWM version still 6.0.49, but of course, I'll update it to 6.0.50. But honestly, I want to change recovery to TWRP (but until I find the latest version with support F2FS, here would be CWM). Why? Because in CWM battery drains like hell, and also it uncompatible with s6d chip. I do not think change of recovery for most users will be difficult: enough to install a temporary cwm to recover data from TWRP.
[Galaxy Ace II Android Development] Kiras_PL:
@up Sounds great, i love TWRP :D Can't wait for it ! ;)
[Galaxy Ace II Android Development] ChronoMonochrome:
New version is UP! :)

sorry guys, here still haven't builds for p-version. I'll try to figure out what was wrong with the previous builds.
[Galaxy Ace II Android Development] xo.en:
Chrono, there's still issue with dirty_writeback_centisecs value - it seems to be fixed at 500(when dynamic ones are turned off). When i am changing it with performance control, it goes back to 500 whatever i do.
[Galaxy Ace II Android Development] ChronoMonochrome:
Very strange, because for me it works properly. I disabled dynamic dirty writeback, and yes, dirty_writeback_centisecs goes to value dirty_writeback_sentisecs_suspend(2000 for me), but after i have edit this value, it never goes back to previous value.