yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ChronoMonochrome:
Ok, i uploaded new builds. Here is nothing new - I'm trying to deal with the reboots. I removed most of new liveopp steps(too hard find stable voltage for so much steps) and disable ATM selinux(i don't know if it may cause reboots - but according to logs it seemed that it's messed something in kernel). I also tried to set showing version to 3.0.101 - unfortunately, i got another reboot, and since i changed it back to 3.2.0 - so far i haven't had reboots. As you can notice it's now named as 'hybrid' - that means it's combine of various LK versions - it's heavily based on 3.0.101, but also have a lot changes from lk 3.1 and 3.2(as example, all filesystems, include VFS, completely updated to 3.2) and also have some commits from most newest kernels, backported by faux123.

Please test this build and report about stability.
[Galaxy Ace II Android Development] shaqman89:
I have been testing f2fs hybrid for almost 3 hours now, and I just got one reboot. So I think this one is stable enough for me to use daily compared to the previous f2fs full build. The reboot also reboots normally, and doesn't goes into recovery like before :) Thanks.

Btw, untill yesterday I tried to use the phone plugged the whole day (so that's two days in a row) and I could say for certain that the reboots (at least in my case) happens only when I unplug the phone. It could be as soon as 5-10 minutes or after an hour or so.

Another thing that I notice is that the reboot (most of the time) happens when the screen is off (could it be entering deep sleep?), so in the cases when I continuously use the phone without letting the screen dim, it almost never reboots it self. I tried this in deep sleep state 3, 4 & 5 with no difference. I also tried with custom screen off frequency (init.d) and without it, and it still happens.
[Galaxy Ace II Android Development] 10BIT:
I'm fine with 2.2 f2fs cwm non hybrid,not much reboot until now
[Galaxy Ace II Android Development] Kiras_PL:
again no deep sleep on latest build (2.2 hybrid codina 4.4.x twrp ext4) And it's not because of my apps, 2.1.5 kernel works better (but still only 4hours of deep sleep during night - about 3 hours it was wake)
[Galaxy Ace II Android Development] zizoumadrid:
i'm with cm11 tc 07/08 and chrono kernel 2.2 cmw ext4

i didn't get reboot or fc from i flash the kernel about 5 day of testing gaming browsing and test stability never got reboot

i get 11418 score in antutu benchmark

i'm with interactive/sioplus 200mhz min/1,106ghz max

only wrong thing i have when i listen to the music in screen off and recive call the phone still in black screen for while then wake up

this problem from freq min/max screen off but i don't know how to fix it

just post that to give help :) to get stable and awesome kernel
[Galaxy Ace II Android Development] Bilgets:
Anyone else notice that using 3g is more friendly with battery than on 2g?
[Galaxy Ace II Android Development] ChronoMonochrome:
Try script from 3rd post or install most newest kernel version.

UPD. one more build for stock and 4.3.x (ext4)

Please check if there are graphic glitches, and especially on stock please test bluetooth - it didn't worked on last 4.1.2 kernel.

Build for 4.2.x will be soon.
[Galaxy Ace II Android Development] manthes:
With build for 4.2 i have boot loop

Please if you have time make just one build with twrp for Odin. It will be very helpful for us with s6d if by an accident install a cwm build
[Galaxy Ace II Android Development] zizoumadrid:
i'm tried 2.2.1 but no change, still the same issue
[Galaxy Ace II Android Development] riyosakura:
Hei man... which one is on the module folder contain governor?? i see many .ko file extension, but i still dont know which one containing a governor... or its on ramdisk folder??

i still dont understand how to load a governor...
[Galaxy Ace II Android Development] ChronoMonochrome:
It has same name that a governor. E.g. cpufreq_smartass2.ko is module of smartass2.
[Galaxy Ace II Android Development] riyosakura:
by the way, if i want to set min 46 and max 276.

the script is gonna be like this right?

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

btw, if we set the CPU into the minimum freq , doesnt make our phone become slower when waking up?

thanks in advance.
[Galaxy Ace II Android Development] BlueZ-:
You're right, just add 000 (because values are in Hz instead of MHz) but such slow frequences will slow down the phone and delay the waking up..(e.g. in coming call)

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] ChronoMonochrome:
It won't make phone slower if you don't use governors with hotplug. At least I didn't notice lags with ZenX/Interactive with this settings.
[Galaxy Ace II Android Development] nikolas1274:
The auto load script does not load the zenx governor at latest version, only this one any idea
[Galaxy Ace II Android Development] ChronoMonochrome:
It usually work only with modules that included in package. I removed ZenX from latest kernel, as I said I plan to move some its changes to Interactive.
[Galaxy Ace II Android Development] nikolas1274:
But you have it at zip file in the autoload folder. What is your suggestion for the governor now, interactive?
[Galaxy Ace II Android Development] ChronoMonochrome:
Probably I forgot to remove this module. Yes, I use Interactive for now - I really don't pay attention how strong it drain battery, smoothness more important for me.
[Galaxy Ace II Android Development] fluffi444:
[MENTION=5695278]ChronoMonochrome[/MENTION] - I hate to ask, but I'm sooo curious :)

Do you see any chance for an Full F2FS Kernel for codinap as well?
[Galaxy Ace II Android Development] ChronoMonochrome:
Of course! I was too busy last days and forgot to compile it for codinap. For now I have to test new build a lot before I'll release it.
[Galaxy Ace II Android Development] fluffi444:
thanks in advance! Take your time.

Absolutly no need to explain or excuse.... Even an "no" is an possible answer :)

And ask if you need any special tests. Will help were I can.
[Galaxy Ace II Android Development] ace2nutzer:
Next Build will include my abb-charger fix.. may be ... it is still on testing .... but we are on the right way .. !!!
[Galaxy Ace II Android Development] ChronoMonochrome:
Ok, I uploaded new build (only codinap full f2fs version). I'll upload other builds when my battery will be discharged(but only if I'll not find any issues in this build, as I said this build tested not well). After installation showed charge may drop by 20% (in my case from 60% to 40%) - it's ok I think, because of new voltage table. Make sure you've fully charged battery before you will test this build.

Well, this build based on 3.0.y(says so from the version string) but really it's hybrid compiled from various versions of LK.

Changelog:

well there's still practically nothing new from me - last days I only reverted various changes

Reverted:

- all commits from tuna kernel (well, I believe, most of them very useful, but I had to revert it because I can't make sure it won't cause reboots on all codina devices - I never had reboots on builds with those changes, but since at least one user still got reboots, I think it would be better to revert it)

- disabled SELinux again (I believe, its audit policy messes something in kernel, I don't like it)

- disabled exfat support (it's broken ATM since I changed showing kernel version -> 3.0.101)

Of course, it has abb fixes provided by [MENTION=5840412]ace2nutzer[/MENTION], it's still in testing.

I hope this build will be rebootless - but as I said - I never had reboots even with all previous builds.
[Galaxy Ace II Android Development] fluffi444:
Something must be wrong with it...

- Failed to restore system backup with TWRP.. Followed all the instructions... It failed at aprox 85%... Dont know why...

- Phone is again 8160 in recovery instead of 8160P

- Then I used CWM F2FS (old Kernel) to do system backup, formating to F2FS and restoring... This gave me again an Error!

Could it be that F2FS on system uses more space so the backup cannot be restored? System was approx 539 MB... So not sooo big...
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, f2fs use more space than ext4. It's only one thing that I forgot to mention - I'll add it to instruction.

I'll reupload it soon.
[Galaxy Ace II Android Development] fluffi444:
2x thanks!!! :D In the meantime I move system apps to data... Time to use nano gapps instead of micro in the future :)

Big thanks again for all your work!
[Galaxy Ace II Android Development] ace2nutzer:
@ abb-charger fix & Infos about the Fix.. check this:

http://xdaforums.com/showpost.php?p=56412716&postcount=103
[Galaxy Ace II Android Development] fluffi444:
What a task to clear enough space :) But finally I did... But I needed the Max you recommended:

1) System 611 - Used 539 - Did not work - failed to write backup

2) System 611 - Used 489 - Did not work - failed to write backup (which are aprox 20% free)

3) System 611 - Used 455 - Works (which are aprox 25% free)

With EXT4 I had (as I wrote) used on system: 455 MB

With F2FS I have now usedon System (only): 591 MB

I think this makes it clear how much you would need of free system space if you want to install F2FS on system....

BUT: NFC cannot be activated... Maybe something is missing in kernel?

Otherwise nothing else to mention... Phone works great.... faster? Don't know up to now... this will show daily usage!

Again thx [MENTION=5695278]ChronoMonochrome[/MENTION] for providing this! And please ask if you need further tests :)
[Galaxy Ace II Android Development] monstro78:
@up which ROM build do you use?
[Galaxy Ace II Android Development] fluffi444:
Latest poppmensa (29.10 codinap)
[Galaxy Ace II Android Development] ChronoMonochrome:
Thanks for tests. I'll update OP :)

I messed codinap defconfig - NFC was disabled. It's building ATM.
[Galaxy Ace II Android Development] dv6661:
sorry, would you like to add cwm in hybrid 2.2 ?

thanks anyway
[Galaxy Ace II Android Development] fluffi444:
You are my hero for today! :D

---------- Post added 1st November 2014 at 12:34 AM ---------- Previous post was 31st October 2014 at 11:40 PM ----------

sry - but R2.3.1 codinap boots only to TWRP... No system boot possible... Tried it several times...
[Galaxy Ace II Android Development] ChronoMonochrome:
Damn it, full f2fs kernel requires to put j4fs.ko and param.ko into recovery, but I forgot to update it.

Follow this instruction to boot system:

mount /system
insmod /system/lib/modules/j4fs.ko
insmod /system/lib/modules/param.ko
mount -t j4fs /dev/block/mmcblk0p1 /mnt/.lfs

And then reboot system. Of course I'll reupload it again :facepalm:
[Galaxy Ace II Android Development] biggstreet:
Hello chrono

i tested your last kernel for stock, and i hade a crash when i played subway surfer and after that i had a soft reboot - Ondemand 200-1200
[Galaxy Ace II Android Development] ChronoMonochrome:
@up, to be honest, I don't know what exactly cause crashes/reboots - I never encountered it. I already reverted most of commits from Linux 3.3, we will see if next version will be rebootless. :cowboy:
[Galaxy Ace II Android Development] fluffi444:
OK - R2.3.2 codinap looks quite good... Boots normally... NFC works... Thanks for that! :good:

Two things to mention:

- Phone is again an 8160 from recovery - so new kernels for 8160P cannot be flashed without deleting assert line

- ADB is not working properly - no su rights - And ADB shell gives me following message:

C:\ADB>adb shell
/system/bin/sh: /system/etc/mkshrc[24]: resize: not found
shell@android:/ $

Root access via ADB is not possible.

With R2.3 ADB works fine out of TWRP (with MTP activated).... Dont know why....

In my opinion root ADB is quite important....

EDIT

Damn :) cheered too soon....

After TWRP again no boot to system possible... Every boot goes directly to TWRP.... This TWRP strats to get annoying :)

Otherwise: F2FS on system is VERY nice - noticeable faster compared to EXT4.

Hopefully we can manage this TWRP issue...
[Galaxy Ace II Android Development] shaqman89:
For me the latest (2.3.1 TWRP full f2fs) is working really well. I haven't gotten any reboots so far and battery consumption has also seen an improvement (@ace2nutzer fix?) . Thanks a lot :)

One thing that I noticed in this version is that screen takes a long time to wake up when there is an incoming call (to the extent that I have to accept the call without knowing who it is). Strangely, this only happens for incoming calls, not when pressing the home or power button.
[Galaxy Ace II Android Development] ace2nutzer:
Don't know, if it's included in this Build.. but the next builds.. will have an HUGE Battery improvement. :D

@ screen long time to go on during incoming call:

probably because of to low max. cpu freq. on screen OFF... - I Suggest to set as max:: 500 - 600Mhz
[Galaxy Ace II Android Development] Asus-Tek:
What's new in r2.3.1 ?
[Galaxy Ace II Android Development] Kiras_PL:
Tried 2.3.1 twrp ext4 for codina but got so much reboots that i couldn't put pin acces :P
[Galaxy Ace II Android Development] artur1131:
With newest TC CM11 And 2.2 hybrid kernel Wi-Fi doesnt work (cannot connect) and installing gapps is giving me bootloop (lol?)

Posted same thing in TC CM11 thread

edit - i was wrong, device is getting bootloop after 1st reboot
[Galaxy Ace II Android Development] ChronoMonochrome:
Could you pls test this build ? http://gdurl.com/Nu1y (4.4.x, ext4)

Even if it won't help I'll provide another build in few hours.
[Galaxy Ace II Android Development] fluffi444:
Hey Chrono.

There is a file: chrono_kernel_r2.3.2.1-test_4.4.x_twrp_f2fs.zip in codinap folder.... I guess its not for codinap....or?
[Galaxy Ace II Android Development] borkins:
I made a little change in the "00autoload", because I had some problems with module loading.

Also a flash-zip, if someone wants to try it.
[Galaxy Ace II Android Development] ChronoMonochrome:
Thanks, I'll include it in further builds.
[Galaxy Ace II Android Development] S.AMU:
[MENTION=5695278]ChronoMonochrome[/MENTION]

I think in the future you will only make full f2fs kernel and ext4 kernel?

Is it possible to run the full f2fs kernel with only /data and /cache partitioned to f2fs? Because I don't want to repartition my phone again :D (only 68mb free on /system :D )
[Galaxy Ace II Android Development] biggstreet:
After changing processor freq to 200-117500 Ondemand, i had a stable performance, and no reboot, and battery drain it's very good
[Galaxy Ace II Android Development] ChronoMonochrome:
I think so :p but I want to do it more universal - only one version for ext4/f2fs like in s3 mini kernels.

Yes, it's possible. I've genfstab sources, only one thing I need - I don't know how to compile it - https://github.com/ChronoMonochrome/utilities/tree/master/genfstab

It's fully adapted for codina - but unfortunately, after compilation it can't make fstab file, for some unknown me reason.

When I tried to run it, I got something like: "can't find .../genfstab" . May be I need to change compilator, or add some compilation options - don't know...
[Galaxy Ace II Android Development] manthes:
ChronoMonochrome thanks very much for odin twrp build. It will be very helpful for us with black screen on recovery
[Galaxy Ace II Android Development] monstro78:
As I can see there is no cwm full f2fs... Correct???
[Galaxy Ace II Android Development] zizoumadrid:
any changelog for 2.3.2 and 2.3.2.1 ??

thank's
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry guys, I think I found what caused reboots on some devices. That's only due to CPU voltage, at least on my device only following table work stable

....
{1000000, 998400, 0x00050182, 0x2F, 0x8F, 100, 100},
{1100000, 1098240, 0x0005018F, 0x36, 0x8F, 100, 100},
{1150000, 1152000, 0x00050196, 0x36, 0x8F, 100, 100},
{1200000, 1198080, 0x0005019C, 0x37, 0x8F, 100, 100},

In latest kernel is uses 0x35 as voltage for steps 1100-1250 MHz - that's my fault, as you probably know, the voltage 0x35-0x3f is showed as same value - 1362500 uV, but 0x35 is not same, as e.g. 0x39 or 0x3f. It is known, 0x39 more stable than 0x3f, but problem that's 0x39 cause reboots too. At least, on my device only 0x37 works without reboots - as it turned out only after most "heavy" test.

In latest kernel still exists steps, such as 1128 and 1175 MHz - you probably can use nearest voltage for that - e.g. 0x37 for 1175 MHz and 0x36 for 1100 MHz.

I will release new build as soon as I can.

UPD. about 50-1000 MHz steps -

i don't know if current voltages will work stable despite the fact that its voltage are higher than recommended, I've tested inly following table https://github.com/ChronoMonochrome...ed#diff-79ae2b809c469a5171e77a5214768c5cR1118

Most values from old liveopp_table from TC kernel (liveopp 1.0.1).
[Galaxy Ace II Android Development] Kiras_PL:
There is always problem with restoring backups on twrp 2.8.0.0. theyre always broken :/ on twrp 2.7.10 everything is ok. Am i the only one Who has problem with it? I think You should come back to 2.7.10 or create kernel with cwm. That would be great :)
[Galaxy Ace II Android Development] borkins:
If that is helpful, for me, Varm 0x37 is the most stable for 1200 MHz. I don't have reboots with it.

For 1100-1150 MHz ( I don't remember exactly the new frequencies ) is varm 0x35.
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, for me too.

@ all users:

can you guys post here your values from /d/prcmu/avs ?

It'll be very helpful. This may shed some light, why LiveOPP work unstable on some devices. Thanks in advance.
[Galaxy Ace II Android Development] shaqman89:
Sure. Here is mine.

VBB_RET : 0x00

VBB_MAX_OPP : 0x19

VBB_100_OPP : 0x19

VBB_50_OPP : 0x19

VARM_MAX_OPP : 0x33

VARM_100_OPP : 0x2a

VARM_50_OPP : 0x1a

VARM_RET : 0x04

VAPE_100_OPP : 0x22

VAPE_50_OPP : 0x16

VMOD_100_OPP : 0x1e

VMOD_50_OPP : 0x1a

VSAFE : 0x2a

VSAFE_RET : 0x14
[Galaxy Ace II Android Development] fluffi444:
Confim - After hours (and hours) of testing month ago (with [MENTION=5840412]ace2nutzer[/MENTION]) we found this as most stable value for max freq.

This is also the sweet-spot for 1200 on my Phone.
[Galaxy Ace II Android Development] nikolas1274:
This is mine, no reboots here
[Galaxy Ace II Android Development] Bastiary:
[MENTION=5695278]ChronoMonochrome[/MENTION] any chance for ext 4 2.3.2...?:good:
[Galaxy Ace II Android Development] borkins:
Here is the avs ( i'm on r2.2-refresh ).
[Galaxy Ace II Android Development] ChronoMonochrome:
R2.3.2 f2fs is same that R2.3.1 ext4, except F2FS support.
[Galaxy Ace II Android Development] sorset:
Thank you for new release (2.3.2_full_f2fs) , It's stable for me and really good in battery consumption!

here is /d/prcmu/avs for me.

VBB_RET : 0x00

VBB_MAX_OPP : 0xdb

VBB_100_OPP : 0xdb

VBB_50_OPP : 0xdb

VARM_MAX_OPP : 0x31

VARM_100_OPP : 0x24

VARM_50_OPP : 0x1a

VARM_RET : 0x04

VAPE_100_OPP : 0x20

VAPE_50_OPP : 0x14

VMOD_100_OPP : 0x1c

VMOD_50_OPP : 0x1a

VSAFE : 0x2a

VSAFE_RET : 0x14
[Galaxy Ace II Android Development] Bastiary:
Sorry i mean CWM version for 2.3.2
[Galaxy Ace II Android Development] str3tch72:
Is ChronoKernel 2.3.1 is 3.0.101 or 3.2.0? Because in settings displays me only 3.0.101.
[Galaxy Ace II Android Development] ChronoMonochrome:
It's actually hybrid of those versions. In fact it's heavily based on 3.0.101, but has a lot changes from 3.1/3.2.
[Galaxy Ace II Android Development] str3tch72:
So, what version are You recommend? I want 3.2.0 ofc., because it has a lot improvements and it working better on my phone :)
[Galaxy Ace II Android Development] ChronoMonochrome:
You didn't understand. It's same kernel as previous with same changes from 3.2 LK. But as it turned out it doesn't have some changes from LK3.2. And some unneeded changes were removed by me. Because of that it was renamed back to 3.0.101.
[Galaxy Ace II Android Development] DEMONVoz:
I found stable CPU voltage values for me, maybe it will be usable

cd /sys/kernel/liveopp
echo varm=0x36 > arm_step_high_1
echo varm=0x37 > arm_step_high_2
echo varm=0x38 > arm_step_high_3
[Galaxy Ace II Android Development] ChronoMonochrome:
it's a hard decision, but I think the same way.

I just revert all changes after 27.06 link (still only for 4.1.2). These two builds(this and 27.06) have different sizes, but i hope it will work properly.
[Galaxy Ace II Android Development] hafizulpijul12:
how to use this?
[Galaxy Ace II Android Development] ChronoMonochrome:
Create a text file with this content in init.d, and set permissions 755.
[Galaxy Ace II Android Development] hafizulpijul12:
rename it to what?
[Galaxy Ace II Android Development] ChronoMonochrome:
Any name without extension. For example, 00_cpu_uv.
[Galaxy Ace II Android Development] dragos281993:
Dude, you're the man. Still, I can see the link is for 4.1.2. The bootloop was present on the kitkat versions as well, in case I didn't make myself clear in the previous comments.

Anyway, I'm happy to see that you're trying to find a way so all of us can enjoy your great work.
[Galaxy Ace II Android Development] shanti77:
I try D-Kernel 3.5 and it works good, all this kernels from first version have bootloop in my phone.
[Galaxy Ace II Android Development] ChronoMonochrome:
Can anyone give me ramdisk files(like /init.rc, /init.samsungcodina.rc, etc - all files in root directory) from D-Kernel ? I guess i can make it the working for those who have bootloops on all previous builds.
[Galaxy Ace II Android Development] shanti77:
Maybe you can unpack from kernel.img?

I try copy my ramdisk.

Sources D-Kernel
[Galaxy Ace II Android Development] ChronoMonochrome:
I can't... this kernel compressed with LZ4, but probably old version because i can't find valid signature :confused:. I tried to install D-kernel, but i've got bootloop. :(
[Galaxy Ace II Android Development] shanti77:
I add files from ramdisk in previous post. I install this kernel with Odin on clear NB1 rom.
[Galaxy Ace II Android Development] manthes:
With custom kernel i have black screen in recovery in stock rom
[Galaxy Ace II Android Development] xo.en:
Tell me, ChronoMonochrome, which ramdisk you used with your 4.3.x kernel?
[Galaxy Ace II Android Development] ChronoMonochrome:
I used ramdisk from CM 10.2 by TC.

However, i also include device_tunables.rc from CM11 ramdisk.
[Galaxy Ace II Android Development] xo.en:
But, where you took these files from? Roxsel's site you mentioned earlier?

Damn, i wonder why it is not working for me, more, such issues i told you about are quite unusual, cwm freeze is sth that scaries me, tbh.

Now question - do you think, that CWM uses same cpu setting as freshly flashed rom(1ghz, i.e.)?

If so, there may be issue with freq/voltage table, still.

device_tunables.rc, hmmm..
[Galaxy Ace II Android Development] ChronoMonochrome:
no, i just extract it from cm10.2 kernel using scripts from 4pda topic (i PMed you link earlier).

yes, logs those i make in cwm says that phone uses 1 ghz as max freq.
[Galaxy Ace II Android Development] xo.en:
Oo, damn, i need to check this, still trying to set up environment, did not get to that part, up to now i thought we cannot extract anything from kernel of custom sga2 rom...
[Galaxy Ace II Android Development] lars85destroyer:
[MENTION=5695278]ChronoMonochrome[/MENTION]

If min frequency is set to 100 and min screen off to 25, will it go to 25 screen off even if the min freq is higher or will it be block ? :confused:
[Galaxy Ace II Android Development] zizoumadrid:
i think the last build show wrong percentage in battery

anyone confirme that ??
[Galaxy Ace II Android Development] borkins:
Yes! That's why there is the screen off frequency range for example min 46 MHz / max 200 Mhz.