yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] fluffi444:
[MENTION=5695278]ChronoMonochrome[/MENTION]

I'm still testing (the in the meantime offline) R2.3.2 codinaP...

In the meantime I got it working with your commend:

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

But I have to do this this evertime in TWRP to make the system boot afterwards...

Nexte one (this is maybe ROM topic - but I want to mention It here also)

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

The issue was made by an change in mkshrc from CM team:

https://github.com/CyanogenMod/andr...0f2a453#diff-f60ac0cf30c3e9b4effe30ee5fb1a19f

I removed this "resize" in mkshr and this error is away - And also those strange cryptic letters I got with ADB Shell for a long time (in booted system as well in Recovery) are history! :o

Main problem is still that no SU is available in TWRP - Normally it was enough to enable MTP to got the devices available in ADB - But now I have to mount system also...

C:\ADB>adb shell
shell@android:/ $ su
su
255|shell@android:/ $

This looks like I'am in booted system but "normally" ADB shell should looks like this:

~#

without any shell@android or root@android

May someone with codina and latest Full F2FS TWRP Kernel can test if ADB SHELL with SU works in TWRP?

As I mentiond: Normally typing SU was never needed because we were automaticly in root access in adb shell out of CWM/TWRP

But also some good news! The full F2FS codinaP Kernel itself works VERY nice! :good:
[Galaxy Ace II Android Development] lars85destroyer:
Thanks a lot :D
[Galaxy Ace II Android Development] ace2nutzer:
I can't remember.. but for me it was always on 0x39 .. but it is long time ago that i didn't test it again...

Now when my battery is empty.. (measuring batt. life time) i'll test it again @ 1150 and 1200 on 0x37 and 0x39... with LiveOPP 2.1 and then with 2.2 ....
[Galaxy Ace II Android Development] fluffi444:
arg - sure... correct... I had less that you... I remember :)
[Galaxy Ace II Android Development] zizoumadrid:
in the last build 2.3.2 my phone showing wrong percentage from 100% to 90% when i'm making full charging then unplug charger and start to test i'm playing gaming and listen to the music percentage doesn't go down i'm stilling use it suddenly battery go down to 90% directly and at 14% my phone shutdown and he doesn't turn on again till i'm plug the charger
[Galaxy Ace II Android Development] Bilgets:
At 232 I got screen flicker then phone turns off when my battery is 4% and not charging...

Same as the above guy, it wont turn on unless I charge it
[Galaxy Ace II Android Development] fluffi444:
Here is mine...

VBB_RET : 0x00
VBB_MAX_OPP : 0x19
VBB_100_OPP : 0x19
VBB_50_OPP : 0x19
VARM_MAX_OPP : 0x34
VARM_100_OPP : 0x27
VARM_50_OPP : 0x1a
VARM_RET : 0x04
VAPE_100_OPP : 0x1e
VAPE_50_OPP : 0x14
VMOD_100_OPP : 0x1a
VMOD_50_OPP : 0x1a
VSAFE : 0x2a
VSAFE_RET : 0x14
[Galaxy Ace II Android Development] ace2nutzer:
@up

u've an very low APE 50% Voltage by default..

VAPE_50_OPP : 0x14

That means your GPU can run @ vape 0x14 @ 200Mhz ...

Can u please do this short test ?:

Set 0x14 for 192Mhz GPU @ static clock and then play an mp3 with apollo and turn your screen OFF.. wait 20 seconds.. is the Sound OK ?? No Scratches ? If u don't have any Scratches.. then the Informations in these AVS Files.. are very Usefull !!!!....

ADB Commands:

cd /sys/kernel/mali
echo 0 > mali_auto_boost
echo 1 > mali_gpu_fullspeed
echo 360000 > mali_gpu_clock
echo 0 vape=0x14 > mali_dvfs_config
echo 192000 > mali_gpu_clock

Thanks !!!
[Galaxy Ace II Android Development] ChronoMonochrome:
Nope, that's very often encountered value, according to our statistics, 13/16 codinas has VAPE_50_OPP : 0x14 (only 3/16 has 0x16)

Really low is VAPE_100_OPP : 0x1e - only 2/16 (12,5%) codinas has it.
[Galaxy Ace II Android Development] fluffi444:
Did it - no scratches but quite loud and many high frequend clicks can be heard...

Definitely not thosese scrating if the sreen off frequency was set too low, for instance....

And definitely not a clear sound :)

After pressing home button to go to "on screen" and constant and again quite loud buzzing was there...

Sounds really NOT good :)... Rebooted immediately....
[Galaxy Ace II Android Development] ace2nutzer:
[MENTION=235339]chrono[/MENTION]

I don't meant this Value will work for all.. only For Users they have this Value in the AVS File :)

@ Fluffi

Thanks for testing .. therefore this recorded VAPE APE 50% in the PRCMU Firmware is really useless !

I'll study this File a little bit more.. I'm really Sure.. most of them is usable.. but not all as we can see !!!

EDIT: May be this Value meant APE 50 OPP .. I don't know what does APE 50 OPP .. i only know that will half the freq.. but is this OPP 100 and OPP 50 like the FSB (front side bus ??)

For Example OPP 100 is FSB 100Mhz.. and OPP 50% is FSB 50Mhz ???

EDIT 2: @ Fluffi Did u use LPA ??!! Anyway, those loud buzzing is caused when the Soundchip don't have enough Voltage.. this is like the LPA .. when it's setted too low..
[Galaxy Ace II Android Development] fluffi444:
No - LPA is de-selected.
[Galaxy Ace II Android Development] ace2nutzer:
Okay. THX.. I'll investigate this File..
[Galaxy Ace II Android Development] monstro78:
Sorry for asking but we will have cwm version???

Thanks
[Galaxy Ace II Android Development] ChronoMonochrome:
I hope, it'll be when I'll release R2.4 :) But now I'm too busy to release it, and some changes are untested, so please be patient :p
[Galaxy Ace II Android Development] majid92:
Which chrono kernel is stable and be compatible with rox 4.4.4 ram? i confuse among the list of different versions :( i want to setup in simple way and not use the method that mentioned in 3erd post :)
[Galaxy Ace II Android Development] ChronoMonochrome:
Try R2.3.1 ext4. :)
[Galaxy Ace II Android Development] lars85destroyer:
Any chance to see it on codinap or do we need to wait until 2.4 ?
[Galaxy Ace II Android Development] zizoumadrid:
i have that's bug too but mine in 14 % not 4 %
[Galaxy Ace II Android Development] ace2nutzer:
@ all with Shutdown the Phone above 0% ..

It's not Chronos fault, it's my fault.. next build the Battery gauge will be accurate.
[Galaxy Ace II Android Development] blastos01:
Is it compatible with liquid 2.37? Has anyinanyone tried it
[Galaxy Ace II Android Development] ChronoMonochrome:
New build is up :)

Changelog:

completely rewritten screenoff limits driver, to hopefully avoid cases, when limits are not restored on screen on. Also whatever settings now could be applied (as example, 50-200 MHz @ screenoff, 275-1200 @ screenon, could not work on previous kernels).

added steps 30, 125, 150, 175 MHz, increased voltage on various steps for stability

enabled SELinux again

various fixes in FAT filesystem

re-added exFat support

re-added ZenX

abb charger fix v2 (thanks [MENTION=5840412]ace2nutzer[/MENTION])

zRam script moved to init.d (to be able to change zRam size) on CM11

new package installation script, with little changes by me (thanks [MENTION=5151049]borkins[/MENTION] for help with this)
[Galaxy Ace II Android Development] S.AMU:
Can I install the f2fs version already on a phone with only /data and /cache formatted as f2fs?
[Galaxy Ace II Android Development] shaqman89:
Thanks, I am using the f2fs full version right now :)

Btw, is there any difference in setting screen on frequency with the new way compared to the old way? I mean, would the usual tools for changing frequency still works?
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, it still should work.
[Galaxy Ace II Android Development] nikolas1274:
How can we set the screen on values, with what command?
[Galaxy Ace II Android Development] shaqman89:
You could use the similar script for setting the screen off values
[Galaxy Ace II Android Development] nikolas1274:
Only for screen off, what about the screen on values?

Ok i found it, the screen on values updated after reboot

[MENTION=235339]chrono[/MENTION]

Have you test the setting from your signuture, do you believe that Zenx is better than interactive?

Thanks for your work
[Galaxy Ace II Android Development] ChronoMonochrome:
Shell script for generating CPU voltage settings according to AVS data:

https://docs.google.com/uc?export=download&id=0B_OwIFfWQnj_SUZnRXlQTTZ2aEE

Compatible only with R2.4, but also can be easily adapted for any other kernels with LiveOPP.

Instruction: run avs_generator.sh, find /sdcard/liveopp_avs, then run it :)

Please test it and report about stability.

UPD. avs_generator v1.1 for R2.6

https://github.com/ChronoMonochrome/utilities/blob/master/avs_generator.sh
[Galaxy Ace II Android Development] nikolas1274:
We have to ruin one time the liveopp_avs or we need an init.d script?
[Galaxy Ace II Android Development] ChronoMonochrome:
Don't move it to init.d, first just test it. Then, If it work stably on your phone, you can move it to init.d.
[Galaxy Ace II Android Development] nikolas1274:
OK I am already testing it, my feeling is that the new kernel is very good, for now I am using the setting from your signature with the ext4 version

chrono which rom are you running with art, how much cache we need for art? Do I need to wipe data to change to art?

Thanks again
[Galaxy Ace II Android Development] Andrewbons:
With 2.3 version i have TWRP as recovery. I've downloaded 2.4 version, but i cannot install it. When i enter on TWRP i can only explore TWRP folder, can't access to Internal SD card (while i can't access to External SD card because TWRP sucks, never worked with me). So, what can i do now? I can't install anything from recovery :\

I tried a ace2nutzer Odin version once, but it bricked my phone, i don't want to lose data again
[Galaxy Ace II Android Development] MrBlackCore:
Sorry for the dumb question but how can I change the zram size? And how big may the size be? Do I need the sdcard or? Im swapping storages with NT app do I need to swap the storages back?
[Galaxy Ace II Android Development] ChronoMonochrome:
Install odin version with cwm, then install any other kernel...

Take a look into /etc/init.d/01zram. Recommended zram size (113 Mb) is already setted.
[Galaxy Ace II Android Development] fluffi444:
Outstanding work! :highfive::good:

EVERYTHING! Works...

- ADB su in TWRP OK!

- 8160P is recocnized correctly in Recovery ADB

- Kernel works very good!

- liveopp script works and gives me good values (which are close (but a bit higher) too me "manually" found values)

- Stable with script values (approx half day use)

- Phone boots correctly to system everytime, out of TWRP

CodinaP FULL F2FS R2.4

I would call it a major release! :p

Again: BIG THANKS (and especially for providing codinaP as well)
[Galaxy Ace II Android Development] lars85destroyer:
That's awesome :D Do you feel that F2FS is really better than ext4 or is it not as good as announced ?
[Galaxy Ace II Android Development] manthes:
Recovery black screen have been fixed for CWM? ace2nutzer told that in his kernels it doesn't exist anymore so probably you used the same settings to fix it.
[Galaxy Ace II Android Development] Andrewbons:
It randomly works... I think it's related to S6D drivers
[Galaxy Ace II Android Development] S.AMU:
Sorry for the question, but was is the use of this script? Does it set the cpu voltages depending on the phone?

And when we use this, what shall I do with the undervolt settings in NT-App?
[Galaxy Ace II Android Development] ChronoMonochrome:
Yup, this is that does this script :)

Just do nothing :) don't undervolt, but afaik NT app won't work with my kernels :) I specially broke undervolting via NT, because it's uncompatible with my liveopp_table.
[MENTION=5840412]ace2nutzer[/MENTION], sorry, I forgot to mention, you can remove lines 'chmod 644 /sys/kernel/liveopp/arm_stepX' from /device_tunables.rc (that stored in ramdisk), to make NT useless for undervolting :) I don't know how it works, but it works :D
[Galaxy Ace II Android Development] Andrewbons:
I can't install full F2FS. When i restore /system, after few files it says "error". Is it related to insufficient free space? If so, what can i do?

/data is restored without any problem
[Galaxy Ace II Android Development] S.AMU:
Are you using cwm or twrp? How much free space did you had on /system?
[Galaxy Ace II Android Development] fluffi444:
Exactly... Read some (many) post back... There I mentioned that approx 450 used (of 611 MB) on system is needed at max to install F2FS on system... Taht are 25% free... Chrono mentioned this also in instructions....
[Galaxy Ace II Android Development] riyosakura:
if i want to install f2fs full with a new ROM, does this script remain unchange since it still have data mounted as ext4?

mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/data");

I dont see anychange on your guide installing new ROM with f2fs full support.
[Galaxy Ace II Android Development] ChronoMonochrome:
That command won't allow to mount /data as EXT4 if this partition was already formatted to F2FS. Replace this string with

run_program("/sbin/busybox", "mount", "/data");

But I don't know, for what uses mounted /data partition during ROM installation - at least I can't find any uses of it in updater-script.
[Galaxy Ace II Android Development] Bilgets:
To run liveopp_avs just write /sdcard/liveopp_avs in terminal right?
[Galaxy Ace II Android Development] ace2nutzer:
I do the same test with my APE 50 Value from AVS File: 0x18 ... and I've no Problem with Sound @ screen OFF !!

That Stuff is now in discussion.. on GitHub ;)
[Galaxy Ace II Android Development] nikolas1274:
After one day, live_oPP its ok for mebut i think that i have problem with the screen off frequency, i have wake delay, lag, and freezes. i am trying now with the screen off disabled and its ok for now
[Galaxy Ace II Android Development] Kiras_PL:
There is a lot of sound stuttering on latest build :< 2.4 cwm ext4 on cm 11. Any solution?
[Galaxy Ace II Android Development] S.AMU:
I made an script in init.d to set screen off freq, but the script seems to be not working, because BBS only shows 150mhz as minimum freq, which is the freq I set in the performance settings.

What am I doing wrong?
[Galaxy Ace II Android Development] ace2nutzer:
30000 ?? -- is 30 Mhz !

And echo in ?? U nean surely "on" ;)
[Galaxy Ace II Android Development] ChronoMonochrome:
Increase screnoff max freq limit or don't use it at all.

By the way - I haven't gotten any sound scratches even with 100(30 or 50 MHz as min freq cause sound shuttering)-100 MHz with ART. But I can confirm lags on wakeup that sometimes appears - it's little annoying. I'll look asap, what I can to do.
[Galaxy Ace II Android Development] vacziferi:
Hello

sorry for the noob question.... can I install universal kernel (chrono_kernel_r2.4.zip) on 4.3.x (codina, now I am using f2fs on data and cache)?

thanks in advance
[Galaxy Ace II Android Development] ChronoMonochrome:
Sure, but follow appropriate instruction very carefully.

http://xdaforums.com/galaxy-ace/ace-2-develop/dev-universal-kernel-t2930035

It's still in development, I'll try to made this instalation method less dangerous.

If you not sure then just don't do it, find and install latest kernel for 4.3.x_f2fs.
[Galaxy Ace II Android Development] Kiras_PL:
I did it but it not work :/ i increased it to 200Mhz. Please look at it :)
[Galaxy Ace II Android Development] ChronoMonochrome:
200 MHz may be not enough(due to different settings that used, such as governor). Recommended limits are 100-400 MHz(defaults).
[Galaxy Ace II Android Development] fluffi444:
200 (200000 in script ) screen off max isn't enough - as well for me...

It getting better with 275(000)... Even on 300(000) there are single peaks to hear....

Sound iussues are completely away at 400(000) or higher ... For my Phone...

But because I never hear music with my phone I decided to set screen off to 30(000) to 250(000).
[Galaxy Ace II Android Development] ChronoMonochrome:
I can not imagine even a single day without music :D

That's why I use such low settings as 100 MHz (works only with ART).
[Galaxy Ace II Android Development] ace2nutzer:
Yeahh !

I've fixed some Problems... now APE 50% works all the time @ APE 100 vape ^^

Check this out ... the last 2 Comments from me:

https://github.com/TeamCanjica/Samsung_STE_Kernel/commit/b82b4bbd8949b75ab1a684897e5c443892c3de6b
[Galaxy Ace II Android Development] S.AMU:
Jeah, 30mhz.

Oops :DD I changed it made an reboot and it is still the same. The lowest freq shown in BBS is still 150mhz
[Galaxy Ace II Android Development] lars85destroyer:
I use NT sound mods and ExtremeBeats Studio 2.0 mods with PlayerPro 2.91 + DSPpack, no problems while playing music with 50-300 ^^
[Galaxy Ace II Android Development] lars85destroyer:
What are these tcp files in modules ? :confused:
[Galaxy Ace II Android Development] ChronoMonochrome:
These modules are IPv4 TCP congestion algorithms, e.g., bic, veno, etc. The standard TCP algorithm is cubic.
[Galaxy Ace II Android Development] lars85destroyer:
Is there one better than an other ? I can't find it on google :(
[Galaxy Ace II Android Development] ChronoMonochrome:
There are too many factors, that don't allow to say one algorithm better than other in all cases. However, using one of them in some cases may be efficient than using another one. I don't know articles about TCP written in English(besides wikipedia), but there's a good article in Russian http://habrahabr.ru/post/168407/ .
[Galaxy Ace II Android Development] fluffi444:
Somewere I read that Westwood is a good one....

Read the conclusion of this file... Read it complete to be a professional :)

http://www.theseus.fi/xmlui/bitstream/handle/10024/60091/Li Jie-thesis.pdf?sequence=1
[Galaxy Ace II Android Development] lars85destroyer:
Thanks for your answers ^^

I manage my algorithm with NT, should I use modules instead of it ? :confused:
[Galaxy Ace II Android Development] ChronoMonochrome:
Some of algorithms are already included(such as westwood). But for use one that is compiled as module, you should first load it (just move to autoload folder).
[Galaxy Ace II Android Development] S.AMU:
Deleted
[Galaxy Ace II Android Development] ace2nutzer:
Yes.. i read this somewhere too !!
[Galaxy Ace II Android Development] zizoumadrid:
i have the same problem are you fix it ?? how ??

thank's
[Galaxy Ace II Android Development] sorset:
[MENTION=5695278]ChronoMonochrome[/MENTION]

Hi, I'm Experiencing good battery condition in R2.3.2 and didnt see any instability ,then you increased cpu voltage in R2.4 , I think that it will affect on battery life , is that true? is it make sense to upgrade to 2.4??
[Galaxy Ace II Android Development] Bastiary:
[MENTION=5695278]ChronoMonochrome[/MENTION] how to edit cpufreq for screen off setting?, i tried rootexplorer but doesn't work
[Galaxy Ace II Android Development] shaqman89:
Use the script in the first page
[Galaxy Ace II Android Development] Andrewbons:
I agree. 2.3 version is the best in my opinion, best battery life, not a single reboot, stable.... i tried 2.4 but battery is worse.

Just 1 thing... can you please make always a CWM version? As always, i tell you what's wrong with TWRP: can't mount SD card, can't access internal SD card, can't do anything (i've searched on google and lots of users have those problems with TWRP and it can't be solved because TWRP sucks).

Ok, you can be lucky and maybe TWRP works for you, but for sure CWM works for everyone, it's the best solution for a developer in my opinion
[Galaxy Ace II Android Development] shaqman89:
Actually, in my case 2.4 works better. I've been experiencing better battery life, and more stable. I can't say I don't have reboots, but it's way much less than 2.3 or previous ones.

I am wondering what's this issue with TWRP. I agree TWRP is a bit harder than cwm, but after I get used to it, I sorta liked it more than cwm (I did got SD card issues with first builds of TWRP, but none recently, I am not sure what caused it though). Guess, it's just preferences?
[Galaxy Ace II Android Development] manthes:
CWM don't work for us with s6d driver so it's the best solution for you but we will can't even enter recovery with this one
[Galaxy Ace II Android Development] Andrewbons:
Just type on google "TWRP internal SD" or "TWRP external SD", lots of users have my very same problems and lots of them can't fix it. I can't fix my twrp, i tried everything. Now i'm forced to use an old chronokernel version because it has CWM, but for sure it's not good as 2.3 version. I hope chrono will help me and other users like me :(
[Galaxy Ace II Android Development] zizoumadrid:
i can't find odin version with cmw can someone help us ?

thank's
[Galaxy Ace II Android Development] ChronoMonochrome:
Just wait, universal version with dedicated recovery partition coming soon. You actually can install it, but for now installation method may be a bit difficult http://xdaforums.com/galaxy-ace/ace-2-develop/dev-universal-kernel-t2930035 ... it just need to do more simple package installer.

Have you experienced blackscreen bug on latest kernels?

It has worse battery lifetime, but this is because of battery will be charged @ 92% (because of rule 10% current of termination current for Li-ion). But it'll charge faster than on R2.3, thus will prevent battery from wear. About CPU voltages - you can undervolt it via init.d. :angel: I found voltages that should work stably on most( but not at all) devices.
[Galaxy Ace II Android Development] fluffi444:
Use R2.4 - ALL SDcard issues I had with R2.3.2 are gone! FULL access to internal and external SD (after you klick on MTP in TWRP) as well as FULL ADB superuser rights...

R2.4 is far "better" that R2.3.2... OK.... the voltages are a bit higher to be stable for everyone.... And if you are playing with Kernels you should be able to do undervoling via init.d scrips as well...
[Galaxy Ace II Android Development] Andrewbons:
2.4 hasn't TWRP, just CWM. I can't use full f2fs because i don't have 25% free space on /system, so no TWRP on 2.4. It's ok that 2.4 is far better, but i was happy with 2.3 for better battery life.

I don't know anything about compiling a kernel, but is it too hard to make both CWM and TWRP versions? I think everyone should choose what is best for them
[Galaxy Ace II Android Development] ace2nutzer:
I suggest to all to update to the actually Kernel if u don't like to damage your Batterys...

No matter if Chrono or Ace2nutzer kernel .. because both have the same Bugs / Updates in charger !

The actually abb-charger: V2.1 is good enough at the moment.. may be one day I'll separate AC from USB Charging setting.. but not really important for now.
[Galaxy Ace II Android Development] manthes:
I am using 4.2 rom and kernels after 1.5 build have black screen problem. I don't have opinion for 2.3 and 2.4 of course and i use 1.3 bulid
[Galaxy Ace II Android Development] S.AMU:
http://xdaforums.com/showpost.php?p=54157635&postcount=1

;)
[Galaxy Ace II Android Development] zizoumadrid:
plz [MENTION=5840412]ace2nutzer[/MENTION] i need help

i can't install 2.4 build because twrp doesn't show me my file to flash new kernel and i can't find version of odin with cwm

thank's
[Galaxy Ace II Android Development] ChronoMonochrome:
Check my google drive (link in OP), folder "odin".