yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] MrMateczko:
I hope we'll see the new CM11 from you soon, make sure to fix all camera app problems (like FC after two recordings/switching mode from photo to video and trying to record)

I'm using Vanir now, but it has same bugs, and some of it's own, like bottom of the screen not working.

I'm also experiencing massive battery drain, both on Chrono and your kernel. Maybe it's because the battery is old (probably 2 or 3 years old), or something.

Will buying a new and bigger battery help?

Maybe it's because I'm using a charger from my old phone (Galaxy Mini 2), I can't read how much ampers it gives on it, the font is blurred. :/
[Galaxy Ace II Android Development] ace2nutzer:
Hehe .. :D i know ;) this is actually the smallest problem to find proper patches, applying them and recompile the ROM.

Actually here are more or less bigger problems to make the compilation of the whole ROM successfully on x86 System, because it just runs out of memory after compiled over 20GB of sources when trying at the end to compile chromium.so ... I've 4GB RAM .. but this is not the problem... after using 2,5GB it stops compilation ... on x86 system, the VM can only allocate 3GB per process at once .. no matter if i've even 16GB RAM. I think i'll have only 2 ways to fix this problem: installing x86_64 system .... (much work) or just trying to build without debug information ... i hope last will fix the problem, but then logcat isn't there at all .. even f enabled in kernel. On the other hand it'll improve the performance of the whole system.

Also not to mention to make it working with latest GCC + adding own binary code optimizations based on ace2nutzer kernel. ... last is extremely time consuming as u can do it only by "try and error".

I did the same with kernel ... but on kernel it's very easy.. because i can build the whole kernel from scratch in around 10 minutes ...

But compiling ROM it takes several hours with my Dual Core @ 2Ghz. Actually i even can't say how many hours it needs for just one build ... but probably more than 12 hours .... I hope compilation time is lesser with disabled debugging :)

So in short: build system is completely, sources updated ... stagefright leaks should also fixed now.... optimizations also done....

The only thing to do is now to sort out compiling errors caused by some added build flags ... + at the end fixing some FC apps like Camera and so on :) Sounds simple and almost done .. but it can take probably some several days of day+night of compiling ;)

open /system/build.prop and make sure u've this Value:

ro.sf.lcd_density=240

Yes old battery of course ... but probably not only this ... install BetterBatteryStats and check kernel + partial wakelocks ... probably System Update Service is here the main Problem (Google Play Services)

I think yes ... i would suggest to buy an 1700mAh battery like this:

http://www.ebay.de/itm/TeslaElectro...256277?hash=item3a84088dd5:g:C20AAOxyHIlTWnCH

I know there also battery (not orig. too) with more mAh ... but they are almost not real the normal size ... it's not very possible.

But the bigger batteries with bigger extra case ... they yes ! But i would prefer a battery that doesn't make the ace 2 more fat ;)

That linked Battery is not original ... i also don't have experience with this battery .. (but i'll buy this for my mothers ace2) but according

to the specs it sounds well. (at least probably no fake Values like others)

This is no problem at all ... u can use any

power supply

that can provide 5V stable output.

The Charger itself is in the Phone integrated and it uses Parameters programmed from the kernel which is very well optimized from me and Chrono :)
[Galaxy Ace II Android Development] Culateralligator:
Recently I've bought a 1700mah Polarcell and I'm waiting to hand me the package Have you tested it?

I've tried CM11, AOSP and Vanir with your kernel and I find very often hours of deleted_wakelocks at better battery stats. Why does it appear? Does it unnecessarily drain battery? Can I fix it?

BTW, I'm on Vanir+Ace2Nutzer 13/12 and 240dpi screen works great. The only weird thing is the animated images at boot. There's is a kind of dark columns moving instead of Vanir logo. It started happening after I put all MCDE Channel values @ 8.
[Galaxy Ace II Android Development] ace2nutzer:
i think is no problem.

dunno, don't use all Values @ 8... try again with kernel default ... also default lcd freq from kernel ... this is actually best possible, stable and almost smooth .... i know it's not very very nice smooth ... but actually that's it.

Maybe better with new rom i hope.
[Galaxy Ace II Android Development] arroyo:
@ace2nutzer

Have you tried to compile ROM using Oracle VirtualBox? It allows you to build x86_64 virtual machine on x86 host allocating all memory you have. It works well. The only thing that you need to have is hardware support for VT-X or AMD-V instructions.

I can share Linux VM machine to you, but I would need some help how to build it and share it (6 cores, 12GB RAM, unlimited HDD capacity, 5mbit network connection).

Yes it will. I have 1.5 year old 3500mAh battery in my ACE 2 and it still has its capacity. It allows me to use phone for one week without charger. They now have 4000mAh batteries in the same size. It will make your phone twice as thick. I bought mine here:

http://www.banggood.com/Wholesale-3800mAh-Extended-Battery-and-Cover-Case-For-Samsung-Galaxy-Ace2-I8160-p-59444.html
[Galaxy Ace II Android Development] Culateralligator:
Wooow... 6$ and free shipping!

I seriously doubt it has 3800mah as I bought 2 years ago a 1900 mah battery with exactly the same sticker and it probably had only 1300 mah.

Anyway, if this battery has just real 2600 mah it's a really great buy. I'm seriously considering buying it even just for trips and special days.
[Galaxy Ace II Android Development] arroyo:
I have charged and discharged this battery couple of times with iMAX B6 charger and it was really a bit above 3500mAh. Right now after 1.5 year it is above 2800mAh which I think is still excellent result. Oryginal battery lost 40% of its capacity after a year.
[Galaxy Ace II Android Development] Culateralligator:
I've seen some others with 3500mah and different stickers but much more expensive.

Has your battery the same "brand" and sticker than the one of the link? Thanks.
[Galaxy Ace II Android Development] MrMateczko:
240 density is too big for my taste, with the new CM11 we'll be able to use the 210 density with no bugs?

Thanks to all who wrote about the battery. Will keep that in mind.

What VM are you using, VMware? VirtualBox?
[Galaxy Ace II Android Development] ace2nutzer:
No .. i've real linux installedon HDD ... i don't like so much to running an OS in a Virtual Box. But i think i've those instructions to do so.

Actually i'm still compiling ... i'm trying Final config with no debug ... unfortunately the part for Out of memory in nearly at the end of compilation ... so actually i don't know if it'll pass or not this time. But thanks for your idea ... it sounds very well ... if i'll have again problems, i'll contact u.

Dunno, u may need to test this by yourself ... anyway original and default Value is 240 ;)
[Galaxy Ace II Android Development] judas1977:
I think you'll need swap for this, a2n :)
[Galaxy Ace II Android Development] ace2nutzer:
dunno if this is the problem .. because 1 GB of zram was not used at all even with swappiness 100 .. it's just bad 32-bit restriction.
[Galaxy Ace II Android Development] manthes:
I have my first reboot with latest kernel but i didn't find last_kmsg
[Galaxy Ace II Android Development] ace2nutzer:
last_kmsg is disabled on latest build ....

probably tuned dynamic governor makes cpu/gpu a bit lesser stable.

so try to overvolt a bit the cpu step by step ... up to the max... if this will not help, try also gpu oc step by step. (nothing can happen)
[Galaxy Ace II Android Development] Dr360r:
How did it compile?
[Galaxy Ace II Android Development] arroyo:
[MENTION=5840412]ace2nutzer[/MENTION]

If you have more than 4GB RAM on your linux x86 machine, why not to use Physical Address Extension (PAE)? Then you will get more than 32 bit system could address.

You just install one package in linux system and it will work ... example link.
[Galaxy Ace II Android Development] Yønn:
Sorry for delay...

I tried SIZE=100 (and reboot or run script with Smanager as root).

But when I type "free" command in Terminal Emulator, I get the same amount for swap (153592).

And I still get reboots and silent closings for particular apps.

I did not notice reboots with previous versions, but maybe I did not test the previous versions long enough.

I am basically using "balanced" profile and I don't mess with CPU/GPU UV/OC, so it's default settings.

I hope these feedbacks will help!

Thanks again for your great work.
[Galaxy Ace II Android Development] ace2nutzer:
@ up

Try to overvolt CPU.

U don't need to run the script manually if u reboot the Phone ... just set SIZE=100 .. save and reboot ... then wait 2 minutes .... and check with "free"

Thanks for trying to help me. But this is not the Problem ... i've already PAE enabled in kernel ... see:

https://github.com/ace2nutzer/Fujit...cbe45a6/arch/x86/configs/v5535_defconfig#L442

i've also enabled:

CONFIG_HIGHMEM64G=y

so it can even allocate up to 64GB RAM on x86 system.

But again... this is not the main problem ...

This doesn't remove restriction that on x86 the VM (virtual memory) or better MMAP (memory mapping) can't address more than 3GB per process .... see:

CONFIG_VMSPLIT_3G=y

btw: the solution from your link in for users they don't know how to build custom Linux Kernel ... then they just need to install kernel for servers .. then it'll have PAE enabled ... but they will loose responsiveness.

btw2: enabling PAE in kernel is even needed with Total RAM 4GB ... otherwise u'll be able to use only 3GB at all .... after enabling PAE ... u can "see" the full installed 4GB RAM.
[Galaxy Ace II Android Development] Yønn:
Ok for zram, now I have around 200000 swap. I will test without changing profile first.
[Galaxy Ace II Android Development] ace2nutzer:
u don't need to test different CM perf. profiles ... just overvolt the CPU over NT-APP ... try first +12.5mV ... if this doesn't help in fixing random reboots .. then try next step +25mV and so on ... up to the max. possible. Pls report at the end which Voltage Setting is stable .. or if it wasn't a fix at all ;)
[Galaxy Ace II Android Development] DetroX:
Maybe mainboard problem? On 13/12 -50mV is fully stable for my codina or -75mV with random reboots once a week
[Galaxy Ace II Android Development] psidco:
Sorry if its oot ,or already asked,but when im try to use art its not work,no libart.so ,are u disable it or i missed something sir?:confused:
[Galaxy Ace II Android Development] ace2nutzer:
Yes it's completely disabled for now. It doesn't work properly on KitKat ROM's (usually) ;)
[Galaxy Ace II Android Development] psidco:
Then no problem ,btw is this posible backporting cm13 libart.so to kitkat? Its really2 smooth and battery saver runtime
[Galaxy Ace II Android Development] ChronoMonochrome:
No, you're asking a nearly impossible thing. In LP(5.0) we had over 10000 commits in art repo(comparing to KK 4.4), not to mention how is differ now 6.0 art with 4.4.
[Galaxy Ace II Android Development] psidco:
So its the reason why i get bootloop when i try replace the lib lol :D then never mind just asking
[Galaxy Ace II Android Development] manthes:
I did it but after 2 days i had my first freeze.

Back to 21/11 build. The best so far :victory:
[Galaxy Ace II Android Development] gepel:
Well guys, I,m using the latest build since day one with no problem and of course without zram. I'm so happy with it.
[Galaxy Ace II Android Development] tranthanh17299:
Does this work for the MiUI 6
[Galaxy Ace II Android Development] damian12332146:
Seems not work. I was trying to install 13.12 release, but not successful - bootloop.
[Galaxy Ace II Android Development] tranthanh17299:
That's bad :(

If it works i think MiUI6 will be way more better :)
[Galaxy Ace II Android Development] yulligulli:
same here. my phone freezes once a day. especially during navigation with navigon which is very annoying. overvolting did not help.

Now I am back to 20151125 and no freezes anymore and without overvolting.
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel is out !!

Changelog:

20151229:

Enabled Basic Buffer Overflow detection for more security

Some Code Optimizations

Fixed Stability issues from previous Build (Maybe)

Changed HZ from 300 to 1000 (more responsive and smooth)

Force Modules to unload when it's not needed (wifi)

Changed Powersave Profile: max cpu freq is now 400Mhz instead 600Mhz (more powersaving)

CPU Governor Dynmaic: reworked Parameters (more stable, adapt to HZ=1000)

Small RCU Optimization

Small Floating Point Optimization

Disable some unneeded Kernel Options

More Smooth, better Performance

My Phone is like Wine .. it's better with time :cowboy:
[Galaxy Ace II Android Development] manthes:
We will see. It's the judjement day for your kernel :p
[Galaxy Ace II Android Development] Dr360r:
Let's hope it won't become too acid! :laugh::laugh:

Great work as usual.
[Galaxy Ace II Android Development] manthes:
Until now it works fine and without zram
[Galaxy Ace II Android Development] crisis_trustee:
Try to flash next f2fs kernel file cm11_codina__kernel_1072014_f2fs.zip

https://mega.co.nz/#!FElCkJLS!cmF5JaaXdBohuGpWza-HaVYcu9xSi0fIQfBaYJka3Ro

then format /system, /data and /cashe

and after flash new full f2fs kernel

And also see http://xdaforums.com/showpost.php?p=53644768&postcount=3
[Galaxy Ace II Android Development] Andrewbons:
suspend_backoff generates too many kernel wakelocks... dunno how to fix it, never had with other kernels (same setup)
[Galaxy Ace II Android Development] ace2nutzer:
yes...

use the linked manual from Chrono...

But without formatting system as F2FS !! Let System as ext4 for now.. because u need an ROM.. with the updated updater-script to F2FS.. then it will work !! U can do it .. not complicated.. just read the instructions from Chrono Thread !

Or u wait till the new CM 11 Rom is uploaded ..(actually uploading) included the F2FS script.. therefore you just need to to:

CWM Backup.

flash F2FS Kernel from me..

reboot into recovery

now toogle ext4 <---> f2fs ..

and format: system, data, and cache as F2FS

now advanced backup restore and restore only: DATA

Now u can flash CM 11 with F2FS support (18/11)

flash pico gapps the 34MB Version..

Reboot system ;)

Also i can suggest to repart. the mmc before u do this.. because F2FS needs more space !

And at the end.. i can also suggest to switch the Runtime @ ART .. that also much better.. but

it needs also more Space !!

It is recommended to have 2,3GB on data partition. (complete)
[Galaxy Ace II Android Development] gRaB@:
@up maybe its not working w aosp? can u update version without F2FS?
[Galaxy Ace II Android Development] ace2nutzer:
I don't think so... but it's not impossibily :D

Because i've don't test this.. I've the codinap device.. i can not test every build for both codinas.... it takes too much time for me... :)

Therefore be sure that every codinap Rom or kernel will work properly.. because i don't uplaod that if ti didn't work first on my device !

btw: It's very rarely if codinap works, but codina not... because the sources are 1:1 .. just without NFC Files and other Ramdisk.

May be [MENTION=5695278]ChronoMonochrome[/MENTION] can test the kernel codina_f2fs Build ?? Because he have an codina :) Thanks for this.. if u like to test :)
[Galaxy Ace II Android Development] MarquesYOLO:
[MENTION=5840412]ace2nutzer[/MENTION] are you going to upload a ext4 version of latest kernel? I prefer not reparticionate .
[Galaxy Ace II Android Development] ace2nutzer:
@up

Yeah, from now, all versions ROM / Kernel / ext4 / f2fs .. actually uploading ....

Just check from time to time if u'll find the right Builds for u. :)
[Galaxy Ace II Android Development] shoxieJESUS:
I'm install TC build 09/11 with Data, Cache and System in F2FS FileSystem(without F2FS updater-script). All right. No reboots. But battery life not good. Best battery life in 01/11_p1 kernel.
[Galaxy Ace II Android Development] ace2nutzer:
@up

yes... but the 01/11_p1 is buggy and it charge the battery too much.. u'll probably destroy your battery with this build.. especially if u let the Phone for any hours on the charger after it's still fully charged :)

But your decision :)

This is the reason why u feel the latest build as "bad" battery lifetime.. because latest build is just right.. and optimze the battery charging in an not dangerous range... that's all !
[Galaxy Ace II Android Development] shoxieJESUS:
[MENTION=5840412]ace2nutzer[/MENTION]

I mean that battery life in latest build not good, but is better than in last Chrono Kernel build.

Can you include PegasusQ governor in next build?
[Galaxy Ace II Android Development] ace2nutzer:
@up

ok.

@ pegasusq

Nope, because it's an hotplug gov.. and our Hardware don't support real hotplug... that means it'll not save extra power.. but that will slow up the device.. also laggs !

Next Build I'll optimize some good governors.. just pe patient guys :D
[Galaxy Ace II Android Development] shoxieJESUS:
[MENTION=5840412]ace2nutzer[/MENTION]

Maybe AbbysPlug or SmartAssV2 or H3
[Galaxy Ace II Android Development] ace2nutzer:
Abyssplug is also an Hotplug Gov.. and the others.. i'll check it ;)
[Galaxy Ace II Android Development] faroukovic3:
The Screen stopped at Beggining LOGO ?! :confused: After flashing the 19/11 build .
[Galaxy Ace II Android Development] fluffi444:
Are u sure that you are on FULL F2FS (System/Data/Cache)?
[Galaxy Ace II Android Development] Andrewbons:
Full F2FS with CWM, i like it :) it seems fast and smooth, no black screen till now, dunno about battery life.

Bug: cannot turn wifi on :(
[Galaxy Ace II Android Development] surfboardcm:
Can someone explain me for what do I need the f2fs. I do a regular use for the phone. I'm trying the several kernels you put here, and I think it's risk for me(newbie) do all the steps to install the 19/11.

Thanks
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry, too busy now with writing new stuff like DDR_OPP=75, 125, etc... I'll test your build later :)
[Galaxy Ace II Android Development] ace2nutzer:
I don't have that bug here on codinap ... anyone have this bug too ? - OR better: Wifi is working on F2FS Kernel ?!!

Is for more smooth + better battery lifetime.. also more performance... if u don't like it.. or the easy way.. install ext4 version... it is uploading ... rom + kernel ;) For the easy way: use ART instead of Dalvik.. that also an good Performance boost... like F2FS .. even more as F2FS !

Sure ! No Problem Chrono !! Please test also if Wifi works ... thank u very much ! :)
[Galaxy Ace II Android Development] fluffi444:
1.) Have this also - WLAN cannot be activated (Full F2FS 19112014)

2.) Phone does not go to Recovery (out of enhanced Menu) - It reboots to system (but: 3 Button technique is working)
[Galaxy Ace II Android Development] psidco:
Thanks ,Its true,fast as hell and super smooootth:thumbup::thumbup::D and yes,kernel default i mean,no zram
[Galaxy Ace II Android Development] manthes:
After playing a game with latest kernel my phone is dead. I don't know if it is the battery or probably the board ( i don't feel any vibration that's why i said about battery and board). Any advice because it is still in guaranty but it is rooted and also repartioned?
[Galaxy Ace II Android Development] [-GuTi-]:
If download mode is not working too, probably dead:(
[Galaxy Ace II Android Development] gepel:
Happy new year to all members on this forum.
[Galaxy Ace II Android Development] ace2nutzer:
Sent u an PM ... and yes.. of course test also if Download mode is working ... if so.. just flash ODIN Kernel Version from my Dev.Host.

Thx ! From me too: HAPPY NEW YEAR TO ALL ACE 2 USERS :)
[Galaxy Ace II Android Development] Dr360r:
Have you tried with another battery anyways Manthes?
[Galaxy Ace II Android Development] manthes:
No until now. First i will try to charge this battery with a universal charger and see if phone is just don't charging.
[Galaxy Ace II Android Development] Dr360r:
So download mode isn't working then.
[Galaxy Ace II Android Development] psidco:
I dont know if its only me or not,all this smoothest system make my battery drain more faster too :D
[Galaxy Ace II Android Development] gepel:
True but maybe it's not kernel's fault but Google play services. At least in my case..
[Galaxy Ace II Android Development] Culateralligator:
Last kernel+Vanir make less FC. But it's less smooth...

Also Google play services have recently been updated, so maybe it has something to do with it.
[Galaxy Ace II Android Development] psidco:
Yep,i agree ,if i disable something its force close :confused:
[Galaxy Ace II Android Development] Dr360r:
Anything new?
[Galaxy Ace II Android Development] shaqman89:
I see a flashaholic here *kidding*

Anyway, if it's running well, less frequent updates means our product is already stable. That, is good news :D
[Galaxy Ace II Android Development] Dr360r:
The kernel is perfect IMHO. The current ROM isn't fully optimized, however. Therefore the kernel's potential is somewhat wasted by the ROM. Like a fire without oxygen.

And if i were a flashaholic i would've already hard bricked my phone :laugh:
[Galaxy Ace II Android Development] gepel:
Do you want to limit the battery drain of your phone ? Do you want to add some extra power ? Well the problem for both is the incompatibility of our rom(ace2nuntzer) with google play services, BUT if you follow the bellow you will solve it. After EVERY reboot of your phone you have to wait some seconds ( a minute is more than enought) and after this you FORCE STOP the google play services (find it under apps). If you made it correct you will see the force stop button to be grayed. Enjoy !!
[Galaxy Ace II Android Development] kuba130000:
What about Your CM11, [MENTION=5840412]ace2nutzer[/MENTION] ?
[Galaxy Ace II Android Development] Sylvinette:
Last kernel is good for daily use, but battery drain so sick while playing game with internet connection :(

But I think it's normal.