yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
I know this Problem.. it has nothing to do with twrp.. it's related to some CPU GPU Drivers.. like Voltages...

I faced this actually to te first time too.. while I'm playing with the CPU OC Driver.. I became an error in cwm: can't mount sdacard1 .. I tought oh **** my sdcard is broken.. but the sdcard works on my laptop without problems... i revertet some changes in OC Driver and then i put the card in the Phone and the card can be mounted if nothing where happen !

Alo I've formatted the sdcard1 in my laptop with linux ---> gparted.. .. also + completely new partitionstable.. but didn't help..

The Problem is in kernel, not hardware problem, and not problem with your card.

Now, u have 2 ways: download an other kernel from Chrono or from me, and put the Kernel in the internal sdcard0 ... that works for me... if this don't work too, then try an ODIN Kernel.. u'll find in my Dev-host also ODIN kernel... but i didn't test it if this works or not.... try it.
[Galaxy Ace II Android Development] monstro78:
Last kernel is very good. Thanks very much.
[Galaxy Ace II Android Development] kjub6:
update crono f2fs full kernel ?

[MENTION=5695278]ChronoMonochrome[/MENTION] ... pls can you make a post how to update your full kernel is it save just to flash new full kernel over or do we need to make the same procedure as with install f2fs full kernel

thx

just add update into section in the 3th post ;) thx for amazing work

Guys any news about decent roms cause in dev section I see two superb kernels on the daily task but no new kernels :/

EDIT ...what is today best rom to use your kernel with ? there is ace2nutzer war to go with TCroms but what about you ?
[Galaxy Ace II Android Development] ace2nutzer:
Chrono don't build ROMs.. also this Thread is only for his Kernel.

I don't build ROMs too, I've only slightly modiefied the 20140807 Build from Rox and just renamed... and there is actually nothing much to fix ! Only some Live streams are buggy !

Actually the biggest Problem is really the Kernel .... Not Easy ...
[Galaxy Ace II Android Development] zizoumadrid:
hi [MENTION=5695278]ChronoMonochrome[/MENTION] i'm tried your odin_4.4.x_twrp_ext4.zip kernel 2 time and nothing change i think if you upload one odin version with cwm will be fix it

thank's
[Galaxy Ace II Android Development] ChronoMonochrome:
Installation method of new universal kernel.

As some of you probably know, there is an universal kernel that allow us to install recovery and boot scripts to separated partition. http://xdaforums.com/galaxy-ace/ace-2-develop/dev-universal-kernel-t2930035

Today I made some packages that simplify installation method, but it's not perfect so far.

What is needed to install this kernel?

1) archive make-ramdisk-partition.zip

2) one of the these recoveries for galaxy ace 2.

3) boot scripts for installed ROM. ATM as flashable zips exists only scripts for 4.4.x. All the rest you can find in the folder ramdisks, then unzip needed archive, rename to boot.cpio and replace file ramdisk/boot.cpio, that can be found in flashable zip.

4) this kernel

ATM there is no support for codinap, I'll release it soon. Probably we also can make one version for codina and codinap, I didn't thought about that when I build that kernel.

Before installation make sure you've standard kernel in the case that something goes wrong.

Installation process:

1) flash make-ramdisk-partition.zip. this procedure need to do only once. i.e. if you don't plan to flash stock, then this archive will be no longer needed

2) flash recovery, bootscripts and kernel

Make sure all archive has been flashed without an errors, otherwise report it here.
[Galaxy Ace II Android Development] kjub6:
am no noob but also no pro ... can you tell more how to do it ?

or shall we do all things in CWR f2fs and at the and just install the full TWRP kernel to finish?
[Galaxy Ace II Android Development] Andrewbons:
Same as ace2nutzer kernel... battery drain. In one night (with no use of phone) battery dropped from 70% to 20% (about 6 hours). That's not good.

I will provide a betterbatterystats report to investigate :\
[Galaxy Ace II Android Development] ChronoMonochrome:
Nope, just type in terminal:

mv system.ext4.win system.f2fs.win
[Galaxy Ace II Android Development] kjub6:
PROBLEM

fail to to restore your system :/

1. full wipe all ext4 ...

2. data +cache >> f2fs

3. instal latest TC11 > 1025

4. install GApps

5. install your kernel full f2fs

reboot into TWRP

6. backup md5 disable

7. rename done

- format system f2fs

8. restore ERROR !!!! have tried it in all possible diferent ways too :/

run 2

1. install TC11 > 1025

2. latest GApps

3. finished the system install ... system running

4. installed your kernell full f2fs support

5. rebooted

6. backup all partitions no md5

7. all goes to f2fs

8. restore ERROR ... errror restoring System! 91% all the time

restoring system alone error all the time at 88%
[Galaxy Ace II Android Development] monstro78:
After charge device doesn't get to deep sleep and must reboot...
[Galaxy Ace II Android Development] ChronoMonochrome:
You should have at least 25% free space on each partition that will be formatted to f2fs.
[Galaxy Ace II Android Development] kjub6:
11GB SD, phone all formatted

CWR latest f2fs kernel system ext4 others f2fs

instal TC11 1025 + gapps

backup

format system f2fs

install kernel TWRP !!!! full support

restore >>> ERROR restoring system!

I quit with this method something is not right ... I already had full f2fs supprot but maybe TC modd from 1025 I dont know but unless you

state latest clean rom We can run it on its usless for me :/ to try .... again ...
[Galaxy Ace II Android Development] riyosakura:
If you want f2fs on system, you have to install pico gapps. Micro doesnt work. F2fs take larger space than ext4.
[Galaxy Ace II Android Development] kjub6:
in 5min I have done that what I have tried the whole day ... [MENTION=5695278]ChronoMonochrome[/MENTION] seriously add there info about the pico :/ have wasted so much time on it :/ mine and yours too
[Galaxy Ace II Android Development] nikolas1274:
What we need to switch to art, from free space I mean

Also I notice that with interactive & zenx & screen freq off I had some reboots but i had a lot of lag & freezes but with abyssplug it is much better and with freq 25-1200
[Galaxy Ace II Android Development] Andrewbons:
And again another test... Version 2.4 drains too much battery. Wakelocks are a bit high (powermanagement and wlan), but not too much. Deep sleep is working but somehow my battery barely last 14 hours with 1:30 hours of active screen (more than 30 hours with about 3 hours active screen with 2.3 version, i have a 2450mh battery).

2.4 it's not good for my daily use because i usually stay outside the whole day (i have about 7 hours battery life with 3g without wifi)

I go back to 2.3, hoping my battery won't explode someday >.<
[Galaxy Ace II Android Development] ChronoMonochrome:
New build is UP! :cowboy:

Changelog:

- only one kernel version for all ROMs/Filesystems/codina(p), please note that installation method is different from usual installation

- Switch to single platform RTC driver - AB500 (finally fixed all problems with clock freeze issue) - thanks to [MENTION=5473651]golden-guy[/MENTION]

- different Mali voltages for ape_50_opp (more stablilty at high frequencies)

to set custom voltage, type (example)

echo 0 vape50opp=0x17 > /sys/kernel/mali/mali_dvfs_config

- update LiveOPP from CoCore

- reworked DDRPLL boost:

echo 0x0005017f > /sys/kernel/liveopp/ddrpll # 975 MHz - maximum stable DDRPLL frequency

to restore default frequency

echo 0x00050168 > /sys/kernel/liveopp/ddrpll # 798 MHz

https://drive.google.com/file/d/0B_OwIFfWQnj_MG1UUm1QbnN2Qjg/view?usp=sharing

Quadrant test(yeah, real ! :) ):

CPU 1230 MHz, performance, I/O: noop, GPU: 640 MHz, DDR: 975 MHz, FS: F2FS, Fsync = dynamic, Runtime: ART :)
[Galaxy Ace II Android Development] kjub6:
[MENTION=5695278]ChronoMonochrome[/MENTION] [MENTION=5840412]ace2nutzer[/MENTION] ... GreekBench 3 benchmark app ...

TC11+gaps > ART > ace2 kernel .... result >> all ext4 >> singl-core 227 multi-core 375

TC11+gaps > ART > chrono kernel ... results >> all f2fs >> singl-core 202 multi-core 303

did not checked the frequencies ... this is the standard settings of both ...

but from my point f2fs chrono version is smoother even with lower values ;)
[Galaxy Ace II Android Development] nikolas1274:
When I install the kernel zip I took error status 7, do you know something
[Galaxy Ace II Android Development] ace2nutzer:
ace 2 better performance than htc one ... Amazing !!!!!
[Galaxy Ace II Android Development] manthes:
Can you write instructions in the first page how to install 2.5 kernel? I believe that it will be the same way and for newer builds
[Galaxy Ace II Android Development] ChronoMonochrome:
All right, I just waited to know that method 100% working, before I add it to OP.

UPD. I re-uploaded boot scripts for 4.4.x(as it turned out, lpm charging don't worked). https://drive.google.com/folderview?id=0B_OwIFfWQnj_NTZMN1NoaXdROUE&usp=sharing

Same fix for codinap coming soon.

Reinstall it, as mentioned in OP (don't forget to backup previous scripts, just in case).
[Galaxy Ace II Android Development] nikolas1274:
When I install the kernel zip I took error status 7 & a message that asking me to install recovery, any thought, i am doing from cwm
[Galaxy Ace II Android Development] ChronoMonochrome:
Only kernel or all the rest packages too ?
[Galaxy Ace II Android Development] nikolas1274:
the other package was succesfull, only kernel fail
[Galaxy Ace II Android Development] zizoumadrid:
i confirm that all packages was installed successfully only kernel make fail (statu 7)

"install recovery codina.zip"
[Galaxy Ace II Android Development] ChronoMonochrome:
Try previous package, (replace boot.img and modules), sry, too lazy fix it now :D
[Galaxy Ace II Android Development] nikolas1274:
Thanks it works that way
[Galaxy Ace II Android Development] Eselter:
I have this error:

but restart recovery before flash kernel 2.5 solved it (TWRP).

So now all is working fine on CM10.2 by [MENTION=4947931]Rox[/MENTION].
[Galaxy Ace II Android Development] manthes:
Can you explain a little more this one because i am using 4.2 rom?

3) boot scripts for installed ROM. ATM as flashable zips exists only scripts for 4.4.x. All the rest you can find in the folder ramdisks, then unzip needed archive, rename to boot.cpio and replace file ramdisk/boot.cpio, that can be found in flashable zip.
[Galaxy Ace II Android Development] Hummer951:
[MENTION=5695278]ChronoMonochrome[/MENTION] I`ve been using chrono_kernel_r2.4_4.4.x_cwm_ext4 since it was released and until now i have had no problems with reboots, no blackscreen bug or wake up lag. Its running very smooth and i`m very happy with this kernel. The only issue is the clock freeze. I see in your latest version r2.5 that you have a fix for the clock freeze bug. Is it possible to make a flashable zip of this fix or some way i can add it to the r2.4 kernel? Thanks and keep up the great work :).
[Galaxy Ace II Android Development] zizoumadrid:
can you tell me what we must to do to install it

thank's
[Galaxy Ace II Android Development] nikolas1274:
Follow the guide at first post but the package of kernel 2.5 may have a problem but if you take the 2.4 version package and put in the boot.img and the modules from 2,5 you will install without problem

We are talking for universal
[Galaxy Ace II Android Development] Andrewbons:
I have a request... can we have a CWM full F2FS support?
[Galaxy Ace II Android Development] zizoumadrid:
thank you :)
[Galaxy Ace II Android Development] Kiras_PL:
All right.. So i just flashed 2.5.1 build on cwm recovery ext4 version. No problems during installation and afther that so on. Everything works super smooth and i have no sound stuttering at least ! :D BTW, that was a great idea to let us create "our own" kernel with recovery we like :) Thank You [MENTION=5695278]ChronoMonochrome[/MENTION] ;)

And questions now :P...

1) How about updates ? Do i need to install recovery, bootscripts and (newest)kernel every time ? Or just kernel ?

2) Bootscripts and recvoery will be also updated ? Or they are suitable for all newer kernels You're going to release ?

Hope You can answer me :) One more time THANKS ! :)
[Galaxy Ace II Android Development] ChronoMonochrome:
it's up to you.

It'll be updated from time to time.
[Galaxy Ace II Android Development] MrBlackCore:
I was using ace2nutzer latest kernel when I tried to install chrono 2.5. I had to install chrono 2.4 kernel but when I did, my phone got stuck on Samsung logo and reboots.

What did I do wrong and how to start the phone again?
[Galaxy Ace II Android Development] lars85destroyer:
I can't use custom themes with twrp. Anyone else has the same trouble ?
[Galaxy Ace II Android Development] ChronoMonochrome:
Install odin kernel and try to retrieve last_kmsg.
[Galaxy Ace II Android Development] shaqman89:
Thank you for your nice work with the latest build (universal f2fs 2.5.1). I am happy to say it's running smooth and made my boot time just a lil bit faster. :)

Anyway, what is this DDR settings that you put in your signature, [MENTION=5695278]ChronoMonochrome[/MENTION]?

As far as I can tell, I haven't seen that option around anywhere.
[Galaxy Ace II Android Development] Kiras_PL:
I thought sound stuttering is gone but it still exists on latest build :(

---------- Post added at 10:27 AM ---------- Previous post was at 10:26 AM ----------

I made init.d script with minimum CPU frequency(300 MHz) but it also didnt help.
[Galaxy Ace II Android Development] fluffi444:
Is this still vaild? Or is R2.5.1 (universal) also useable (with the corresponding recovery/boot files) for codinap?
[Galaxy Ace II Android Development] ChronoMonochrome:
It's not valid, will remove it from that post. Actually only first universal version didn't support codinap :)

I forgot update OP - check it :)
[Galaxy Ace II Android Development] fluffi444:
Thanks again! Although I still very happy with R2.4 I will test R2.5.1 today after work.
[Galaxy Ace II Android Development] manthes:
A little explanation please
[Galaxy Ace II Android Development] vacziferi:
Hello,

Just to be sure:

In case of installation for 4.3,

- I have to download: codina_bootscripts_4.4.x_full_f2fs.zip

- and 4.3.x_f2fs.cpio.zip

- boot.cipo inside of codina_bootscripts_4.4.x_full_f2fs.zip have to be replaced with xxx.cipo file from the 4.3.x_f2fs.cpio.zip file (after rename)

Am I right? Can I do something with cwm/twrp cipo files from ramdisk folder (from the download page)?
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, all right. You can do same thing with recovery. :)
[Galaxy Ace II Android Development] nikolas1274:
Well the latest r2.5 is very stable for me, 30-1200 MHz, very good job for an other time
[Galaxy Ace II Android Development] vacziferi:
Thanks!

It seems that it is working on 4.3! ;)

(but, finally I returned to ext4)
[Galaxy Ace II Android Development] lars85destroyer:
boot scripts for installed ROM. ATM as flashable zips exists only scripts for 4.4.x

All the rest you can find in the folder ramdisks, then unzip needed archive, rename to boot.cpio and replace file ramdisk/boot.cpio, that can be found in flashable zip.

I don't understand this part at all my english level is so poor .. Can someone explain me what to do step by step ? I'm on 4.4.4 cm11 ext4 chrono 2.4, and I want to move on 4.4.4 cm11 F2FS chrono 5
[Galaxy Ace II Android Development] manthes:
I still have recovery blackscreen with cwm. I flashed twrp now but after every reboot it is loosing cpu settings.

For going back to older kernels i just flash one of them?
[Galaxy Ace II Android Development] nikolas1274:
what is the difference betweem 2.5 &2.5.1?

thanks
[Galaxy Ace II Android Development] biggstreet:
can you update the kernel to the 2.4 for stock Rom 4.1.2
[Galaxy Ace II Android Development] ip3000:
2.5.1 haven't update 7 failed bug. for 4.1.2 kernel (2.5.1) follow chrono's guide in first post
[Galaxy Ace II Android Development] Bilgets:
Is the preparation of the 2.5 kernel can be done on phone? I didnt have acces to pc right now.. Or can anyone "build" me 251 ext 4? Thanks
[Galaxy Ace II Android Development] Devel0per95:
Video Tutorial Please! :P
[Galaxy Ace II Android Development] shaqman89:
What do you mean by preparations?

If you are using 4.4, you just need to flash the files. Are you using something other than 4.4?
[Galaxy Ace II Android Development] vacziferi:
Prepared files for Codina, Android 4.3, ext4, cwm recovery:

https://www.dropbox.com/sh/jpzl83arioh1azz/AAAv9muPtrS5xOLF5kyqdh6ta?dl=0

Chrono, if you have any problems of this sharing, please let me know and I will remove them.
[Galaxy Ace II Android Development] Bilgets:
Im on 44.. I see that it needs the repartition script, and inserting the cpio file.. I dont know if that could be done by phone?
[Galaxy Ace II Android Development] shaqman89:
If you are on 4.4, you just need to install the given zip files.

In my case, I downloaded the make-ramdisk-partition, codina_bootscripts_4.4_full_f2fs, codina_twrp_2.8_full and latest chrono kernel from the Universal folder. Just download those files from drive and flash it, then you're ready to go.

Since it's just downloading, you could do it by phone
[Galaxy Ace II Android Development] vacziferi:
for 4.4 you don't need to modify any files. Just download and flash them.

Modification is needed if you are on older android versions.

edit: it seems that shaqman89 were faster :)
[Galaxy Ace II Android Development] Bilgets:
Thanks for the information, ill do that when i got home :D
[Galaxy Ace II Android Development] lars85destroyer:
If I install Full F2FS with 2.4 kernel, that won't erase any data, isn't it ?
[Galaxy Ace II Android Development] shaqman89:
If you already use f2fs on data partition, then no, it wouldn't erase any data.
[Galaxy Ace II Android Development] tofueatsbread:
dont you have to wipe data during installation?
[Galaxy Ace II Android Development] shaqman89:
Actually no, if he already uses f2fs on data partition . Wipe (format) data is only needed when you need to change partition type. Other than that, in most cases, a wipe in dalvik and cache only should be enough.
[Galaxy Ace II Android Development] fluffi444:
[MENTION=5695278]ChronoMonochrome[/MENTION]

CodinaP / Universal-Kernel R2.5.1 / TWRP / Full F2FS / ZenX 30-250 / 275-1200 / SIOPLUS / GPU 400 / 540

Fist of all the installation of Universal Kernel R2.5.1 was flawlessly... Everything works as instructed... Big thank for that....

But since R2.5.1 I have a kind a lag in GUI that was not present in R2.4....Maybe that is is again subjective but i quite sure that "something" has changed... R2.5.1 is not so smooth as R2.4 for me... I used the same settings for R2.5.1 as for R2.4...

Looks like that especially ZenX has this lag... Interactive is better but also not as good as it was on R2.4... And PegasusQ has the biggest lag I noticed...(But I tested only this three)
[Galaxy Ace II Android Development] vacziferi:
Normally it not delete data.

BUT, better to do a backup in recovery before install. Just in case...
[Galaxy Ace II Android Development] lars85destroyer:
Ok; good to know, I'm gonna change /system to F2FS now :D

One last question ! Is 2.5.1 codinaP compatible ?
[Galaxy Ace II Android Development] lars85destroyer:
WOW ! F2FS so fast *-* My device is much faster than before !!
[Galaxy Ace II Android Development] tofueatsbread:
-what?

-obviously ik that
[Galaxy Ace II Android Development] matthias1976:
sorry to alk such a noobish question but.........

where, how to set this commands !?
[Galaxy Ace II Android Development] shaqman89:
You could execute those codes either through terminal or adb, or if you want to make it more permanent, you could also use an init.d script.
[Galaxy Ace II Android Development] matthias1976:
terminal !? where what is terminal !?

Terminal emultaor says permission denied.

ife done a bln.ko file and set in autoload folder -> no work !!

i want to enable bln wakelock to try out bln features of the rom
[Galaxy Ace II Android Development] shaqman89:
Did you execute it with root?

Try running su before you execute the other codes.
[Galaxy Ace II Android Development] lars85destroyer:
What's PLLDDR boost ?
[Galaxy Ace II Android Development] matthias1976:
can u explain lil more detailed, please !?

i open terminal emalator and write the command -> permission denied.

how to run with su !?

su works but never got request of terminal emulator
[Galaxy Ace II Android Development] shaqman89:
When you open terminal emulator, type in su and press enter. That should give you root access.

Continue with the rest of the code

If I am not mistaken, this is the frequency that is responsible for transferring data to memory (ram). So boosting it should give an performance increase. Cmiiw
[Galaxy Ace II Android Development] matthias1976:
thx man, that worked !!

after restart it gone ? am i right ?

how to set with autoload ?

done a bln.ko file set in autoload folder -> no work.

thats wrong, right !?

can someone explain how to set those commands on bootup ?
[Galaxy Ace II Android Development] ChronoMonochrome:
But on 2.5(in compare with 2.4) nothing that may cause lags. Actually only PLLDDR boost, and some new LiveOPP interfaces.

Yes, ZenX may be a bit laggy than Interactive, but it was optimized for most lower frequencies, just to be honest - especially for listening to music. It's still not perfect - CPU sometimes goes to 530 MHz when it's unneeded, but if I'll fix it then it cause more lags during usual using.

I don't know what's wrong with PegasusQ - I don't use it because I believe that hotplug actually doesn't save power.

Use commands like that

echo 3 > /sys/devices/virtual/misc/backlightnotification/blink_mode

Maybe later, I don't own one more device to capture this process.
[Galaxy Ace II Android Development] fluffi444:
Thanks for your answer and SORRY for my overhasty report... Everything is again smooth... Don't know really why...

But some time (and reboots) later eveything is OK again... Maybe some syncing or other background stuff was running...

Never mind! :D
[Galaxy Ace II Android Development] lars85destroyer:
That won't decrease battery life ?
[Galaxy Ace II Android Development] matthias1976:
ok got it !!

added lines in /etc/init.d/00autoload and now it works !!

bln workin now. happy with it. no need of other app.

cant understand why bln wakelock isnt set as default !!??

thx for help to u all
[Galaxy Ace II Android Development] ace2nutzer:
Yeah.. but u forgot that with activated BLN incl. wakelock .. will drain the battery.. Now you Phone is all the time in wakelock..

It's still better to use an App like TASKER to create a wakelock only when an message is receiving.. and to disable the wakelock when u turn the screen ON :) This is IMHO the best solution ;)
[Galaxy Ace II Android Development] shaqman89:
No, not necessarily, I think. It totally depends on the implementation. That being said, I am using the mod on this kernel, and I couldn't say that battery life has much decrease :)
[Galaxy Ace II Android Development] matthias1976:
when it blinks its in 30mHz Mode. That cost nut much power.

after read message and stop blinking normal deepsleep.

bln wakelock wont show up in BBS.

explain please what u mean.
[Galaxy Ace II Android Development] ace2nutzer:
How do u "stop blinking" ? Do u this manually by executing an script.. for ex. SManager as widget-script ? then yes...

But if not, even if it'S not blinking.. the wakelock is anyway setted in kernel.. and the Phone won't go in deep sleep.. no matter if it blinks or not.. u have to disable the wakelock after turning your screen on. ;)

And that is possible with tasker.

If the min. is 30Mhz or 200MHz.. the difference is not really much... that looks like this: (not precised) 200Mhz: 110mA and 30Mhz may be 100mA ...., but okay it's less :)

Because in wakelock the Board is fully working.. not only CPU.. and on deep sleep much things are off.., not only CPU..