yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] Bito21:
sorry, I forgot to mention that was on 0219 build.

so far the more fast version was 0130 build and more battery saver :(

I only use 400/1000 at CPU by option.
[Galaxy Ace II Android Development] Alex_Gamer:
I have good performance on 0219 but I need to compare with 0207 to see if its better like [MENTION=636258]soko[/MENTION] said
[Galaxy Ace II Android Development] Vexylle:
and i nearly didn't touched my phone today, when i'm using it i have to charge it 1-2 times a day. My battery is 2month old(original samsung battery).
[Galaxy Ace II Android Development] Alex_Gamer:
Guys... Which ROM its better? Cm11, carbon or liquid smooth? I'm looking for better performance for gaming using this kernel with one of these ROMs
[Galaxy Ace II Android Development] ace2nutzer:
New Build is Up !!!

Changelog:

20150221:

Changed deepest sleep state from 3 @ 4 (should work fine with actually i/o sched. config)

Changed I/O Sched. from Noop @ CFQ (better for Multicore cpus)

Disabled ARM_CPU_Topology, Sched_mc_power_savings ... it's probably broked for ever...

Enabled use_spi_crc by default (it caused too much Filesystem + Data corruptions)

Completely Fail-Safe NovaThor App

Better Battery Lifetime

More Responsive

More Speed

@ all with huge battery draining:

IT's NOT KERNEL ISSUE !

Pls check your Battery stats.. and u'll see it's related to Facebook / Messenger !

To fix it: Install the app: Autorun Manager .. and disable all services form Facebook and Messenger ... then reboot your Phone ! ;)
[Galaxy Ace II Android Development] shaqman89:
Thanks. Gonna try this build a bit later :)

In my case, I'm positive that it's not the case. I don't use either since it's too heavy for my liking. But too bad I didn't made a capture of the battery stats, so I can't really show you would cause it other than saying that the highest difference is in the Android system usage.
[Galaxy Ace II Android Development] ace2nutzer:
@ up

i had that bug with high battery usage + less performance since approx. 5 - 6 days ... the bug is in BOTH Facebook and Messenger..

I was just wondering why the CPU Freq was all the time @ max speed ... for me: 1150Mhz ! After disabled all Receivers from both apps, the cpu freq go back to normal min freq. 400Mhz :)
[Galaxy Ace II Android Development] Bito21:
Ace2nutzer, 0221 Codina f2fs build stays stucked até Samsung logo.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah.. i've that problem too.. i don't think it's kernel related.. it's just filesystem or data corruption.

But for just in case i've maked clean and builded + uploaded all kernels again.. so it's better to download it again and try again..

but i think the problem will still persist :p

Try this: (i'll do the same)

but u need an working cwm backup ... otherwise u need to wipe data and format system.. and biginning from scratch...

if u've an working cwm backup.. then:

wipe data

format /system

advanced backup restore from sdcard1

and choose: restore system

then after that:

restore data

flash 0221 Kernel

reboot system

But probably only format /data and restore only data is also enough... but for just in case we also format /system ;)

format sdcard0 and 1 is not needed :)

btw: Builds 0221 and newer should now more safer @ data corruptions ... because of enabled use_spi_crc + Fsync (Fsync was never disabled in releases, only offline for me.. some testings) ;)
[Galaxy Ace II Android Development] Alex_Gamer:
Bad news... I have 3 random reboots on latest release at 1200mhz and 1150mhz :(

Edit: I'm back to build 0219 I don't like random reboot but the build its so smooth.

Edit2: solved, the file is corrupted that was the problem ?
[Galaxy Ace II Android Development] Vexylle:
Got random reboots all the time, in 40min around 10. I'll just make a clean instal and see if it's better than
[Galaxy Ace II Android Development] Alex_Gamer:
+1
[Galaxy Ace II Android Development] MrBlackCore:
Got 3/4 random raboots on /21 at 1150mhz. Still huge battery drain. Ace2nutzer i think its kerner related because personaly I dint have battery problems with your builds before /15. And I dont have facebook or facebook msnger installed. I will be waiting for next build so I can test.
[Galaxy Ace II Android Development] Souffre:
I also got random reboot after 1 min then bootloop. Maybe due to link2sd.
[Galaxy Ace II Android Development] ace2nutzer:
Damn it! Sorry Guys... It's related to the CFQ Scheduler.. It's also broken...

I'll try to fix it or switching back for the Moment at SIOPlus ;)
[Galaxy Ace II Android Development] soko3:
for me, sioplus was the best sheduler... although noop is more battery-friendly than sioplus, problems started just after switching to noop...

that's my opinion, i'm currently on 0207prewiew2 and everything is great :D
[Galaxy Ace II Android Development] ace2nutzer:
Was there also problems with freezes with NOOP Scheduler ??

If yes, then it's also broken :laugh:

Yeah ATM sioplus + maybe deadline is best ... hmmm

Can someone confirm freezes with noop ??
[Galaxy Ace II Android Development] snatch_bill:
I confirm freezes with noop(both 1602 and 1802).

After reverting back to 1202 and sioplus everything

Is a lot smoother and faster with no freezes so far.

I will test battery life and report.
[Galaxy Ace II Android Development] ace2nutzer:
@ up

Thanks for confirmation .. i did now testing noop, cfq, deadline and sioplus .. and the best seems still sioplus ...

I'll make in around 2 hours new build with sioplus + maybe some tweaks ... But anyway ram management is now much better on latest build..
[Galaxy Ace II Android Development] soko3:
I think i had freezes in opera mini, whatsapp and other app crashes and freezes...

Revert back to sioplus, that's the best solution
[Galaxy Ace II Android Development] Tree4ever:
Reboots with the last codina f2fs kernel.Stable with freq.max on 600.

Edit: 800 so far too,now.

Edit2:Since 13 h. no reboot,freq..1000Mhz max.
[Galaxy Ace II Android Development] snyfear:
For me stable, smooth and no battery drain with noop and cpu 1200 but with 1602 version
[Galaxy Ace II Android Development] ace2nutzer:
New Build is Up !!

Changelog:

20150222:

Fixed freezes, reboots and stuck at Samsung Logo from previous build

Changed I/O Sched. from CFQ @ SIOPlus (still the best sched.)

Enabled ARM_CPU_Topology, Sched_mc_power_savings again .. but @ "0"

Disabled use_spi_crc by default (30% more I/O Speed)

;) :good:
[Galaxy Ace II Android Development] Matteo90:
Disabling use_spi_crc isn't going to cause data corruption?
[Galaxy Ace II Android Development] soko3:
No. just freezes :D (but MAYBE, which means never :D)
[Galaxy Ace II Android Development] MrBlackCore:
Using /22 no crashes no freezes but the battery drain is still huge!
[Galaxy Ace II Android Development] ace2nutzer:
@ up

Can u please post some battery stats of a comple battery usage from 100% to 5% ? For the beginning is enough the cm stats... Thx!

[MENTION=5535372]Matteo90[/MENTION]

I'm using that for for minimum 2 weeks and i never had problems with that tweak.

But with Fsync @ Off or Dynamic i had many problems.. Filesystem + data corruption. Even by harmful FC App !

Btw: for me this build is very good.. Sound problems during lock unlock also fixed :)
[Galaxy Ace II Android Development] Vexylle:
battery after 6h. did a fresh instal today, with formating everything.

I don't know if it's a bug or why, but if i connect my phone to the pc via USB cable. it takes 3-4 minutes till windows show my phone connected.
[Galaxy Ace II Android Development] ace2nutzer:
This is not normal... Android OS the most battery usage...

Now pls don't reboot the Phone and try to post betterbatterystats (is an app) for free, if u downliad it directly from the developer ... Here on xda.. Just use the search function.

And then post Screenshot of everything: cpu times, kernel wakelock, kernel partial wakelocks and so on ... ;)
[Galaxy Ace II Android Development] snyfear:
Android os is the most consuming since at least le 1602 version. Here is some screenshot on 1602 with ext4, art and 1100Mhz.
[Galaxy Ace II Android Development] supachris:
I also can confirm the huge battery drain in 20150222 version. From 100 % to 90% in 30 min screen off. I'm back on 20150219 version an everything seems to be ok.
[Galaxy Ace II Android Development] gothicVI:
Can you please provide a link. THX ;)
[Galaxy Ace II Android Development] shaqman89:
Check out this one:

https://play.google.com/store/apps/details?id=com.rs.autorun
[Galaxy Ace II Android Development] giginski:
any1 knows which version is the best now with no freezes and specially with no huge battery drain ? im wanna back to 30.01 or 07.02 dont know which is better with battery drain?
[Galaxy Ace II Android Development] MrBlackCore:
Builds before /15 work great with no freezes, stable at 1200mhz and have no battery issues.
[Galaxy Ace II Android Development] supachris:
The 0130 version is very good, abesolutely stable @ 1GHz, no freezes and very good power consumption. At me the 0219 version also works fine, I had no probelms so far, stable and also low battery consumption. I dont use facebook and messanger ****ware.
[Galaxy Ace II Android Development] ace2nutzer:
Thanks, there is nothing weird...

But that what we need, is not on the log:

Alarms (requires BATTERY_STATS permissions)

I believe it has something to do with playstore (google sync + updater services) or badly ram management..

In my stats i don't have that Android OS @ much battery usage... I've disabled the autoupdate function for apps in my phone.. I like it to do it manually. Well i'll update all my apps (then google services will also update) and see if i've the same issue with Android OS :) i'll tell u later the results..

Edit: install it as system app.
[Galaxy Ace II Android Development] Vexylle:
yeah i had to reboot the phone to make it a sys app^^
[Galaxy Ace II Android Development] soko3:
i think google play services may be problem

on rox rom 1109 i had huuge battery drain with google play services...

luckily, i also had older gapps so i turned off auto updates and used that old gapps
[Galaxy Ace II Android Development] Vexylle:
if it's google play service could this

http://xdaforums.com/oneplus-one/general/guide-google-play-services-battery-t2832525

fix the problem ?
[Galaxy Ace II Android Development] ace2nutzer:
Yes, this is the fix for google play services + android OS.

I can suggest to disable auto-update function in Play. (Especially on ART + WhatsApp)
[Galaxy Ace II Android Development] Vexylle:
Can't really run ART because some apps are just crashing the whole time, used it for a week or so
[Galaxy Ace II Android Development] RetZi4:
Xposed is it supported by that kernel??
[Galaxy Ace II Android Development] ddr3gt:
ART work very goog for me, but if install xposed framework return to DALVIK.

PS: 22\02 very stable for me, 1200 cpu, 690 Gpu, 12500 pt antutu and battery , with use intensive , 1 day. Thank's

sorry for my bad english :)
[Galaxy Ace II Android Development] pablo.see:
It's problem with memory management I think. After using Firefox for 5 minutes it's almost kills the system and FC. 0130 build it's smoothest in daily use. As for battery drain, I didn't experienced it in any build. I think it's problem in memory management + ART. I whose using 0130 kernel + davlik and it whose flawless. After switching to ART, system runs OK on 0222 kernel and 0130 but to some point. If memory runs out or using heavy consuming memory app, system becomes unusable.

As for battery usage for very little phone usage I can get 3 days. Bit more usage and I'm getting 2 days. Lot of usage - 1 day of battery life. Of course only 2G + wifi, no 3G.
[Galaxy Ace II Android Development] soko3:
[MENTION=5840412]ace2nutzer[/MENTION] , will fb app and messenger work if i disable all receivers?

EDIT: Strange bug on last kernel:

after unlock, music stoped... player didn't react on play/pause button, i switched song, but nothing happened, just silence

after lock/unlock music continued... o.O
[Galaxy Ace II Android Development] ace2nutzer:
Yes ! I can confirm every word on this post from u !

unfortunately ram management is very odd on our kernel here.. that means we need to eliminate / optimize the bad ram management by using very great ( adapt. to our bad ram management minfree values.

U all don't need to do anything .. just write reports like this user is enough for me to optimized ram management a bit more. I can to all really not suggest to try to optimize that values.. because: 1. it's not simply, 2. u can drastically decrease system performance + also less stability.. (system hang up.. freezes for some soconds and so on..) 3. it's very time intensive ...

Therefore: bad news: the latest build is very bad in ram management .. also sound glitching on lock-unlock (it cames back after optimizing I/O)

Th good news: the next release will have max. possible optimized ram management.. more is than not possible...(for minfree) to fix it really, it's maybe needed to (back)-port ram management from LK3.4 branch. (but i think well optimized minfree values should be also enough ;))

Flash better, till i've fixed that issues an older build like 0130 .. ;)

i think yes... but i didin't test intensive for the moment... but it should work... maybe u'll not receive messages by new messages automatically.. but only if u entering the app manually i think.

@ the music problem.. yeah also ram management...
[Galaxy Ace II Android Development] Alex_Gamer:
I have the same problem :( on art this should no happen but if it
[Galaxy Ace II Android Development] soko3:
people, this is strange and i don't know what to do

battery was at 100% last night.. disconected of the charger, screen time 20 minutes and after 8 hours in deep sleep, 80% of battery

i don't know what to do any more, for me every kernel have battery drain

i'm currently on 0115test version (tried also 0130, 0207prewiew2, 0210)

can anyone help me???

btw, 0115test version have the best ram management for gaming and no freezes or lag like on latest versions
[Galaxy Ace II Android Development] ace2nutzer:
Follow the fix for google services + facebook + messenger. And the battery is ok on screen off ;)

@ ram management:

It's android low memory killer (LMK) issue.. Actually i can't fix this. But with good minfree values the phone should well usable without to freeze, blackscreen, fc and kernel reset.. That are Symptoms of out of memory (OOM)

I'll make later a new build With good minfree values and with some fixes ;)
[Galaxy Ace II Android Development] soko3:
screen on consumption is also awfull...

now more than 20-25% per hour... that's much worse than 15%/hour like before

don't know should i try factory reset?
[Galaxy Ace II Android Development] greeceeeee:
Do you think greenify is a solution for battery drain? I tried the fix with google play services and i see a difference on battery with kernel 0216
[Galaxy Ace II Android Development] jordirpz:
Please, is 2014/11/09 CM11 the last versión?thnks

Sorry for my question here, but i dont have permissions for ask in cm11 thread
[Galaxy Ace II Android Development] MrBlackCore:
My personal opinion is that greenify is totally useless... The solution is to uninstall all facebook apps and do the fix for google services. http://xdaforums.com/android/apps-games/app-facebook-browser-t2864561 This guy created a very good and light version of facebook app with chat enabled so you wont need msnger app. http://xdaforums.com/showthread.php?t=760665 and this is a great facebook msnger with push.

Ace II is a great phone but its not the most powerful phone out there :) It cant do so much heavy lifting as many people think... Even with ace2nutzer`s awesome rom and kernel trying to squeeze every bit of ram and what not you still cant have it all ( apps, games, controlling space ships and stuff )
[Galaxy Ace II Android Development] LS.xD:
Latest build is 11/09, but Ace2Nutzer made custom builds 11/18 based on it. Can be found HERE
[Galaxy Ace II Android Development] ace2nutzer:
yeah all right guys ! I believe i don't need anymore to write smthg here.. u all are going to be good developers :D

In next build is greenify really 100% useless, because i've programmed the LMK that way that only active Apps and services will stay in RAM .. absolutely no more apps in cache .... that means only used, useful, and really needed apps and services will stay in RAM .. and again no more cached apps.. to be honest, only small cache.. for 3 small apps .. if u open 3 small apps (like dialer, contacts, sms-app) and close it.. then if u want to open it again.. then it#ll open faster.. because of cache im rAM .. but only this... this is really needed to keep max. possible free RAM ! At the same time i've increased Multitasking... and we will have anyway much free ram... ! For me with installed: avast antivirus, facebook, messenger, whatsapp and hangouts.. i've after a fresh boot approxx 250 - 270 MB free RAM .. and during normal phone usage i've always around 200MB fre of RAM (with coming release...) .. this is really the best what i've reached till now... more is really not possible.. we should don't forget this is not a phone with 2GB RAM ... we've only 630MB usable RAM.. also we can't using KSM (because it's buggy in our kernel) and i don't want to use zRAM .. even with better compression LZO @ LZ4 ... because that'll decrease battery life + will slow down a bit the system... due to compress - decompress ... this is not the sense of RAM .. ram should always stay fast... but on PC / laptop is KSM + zRAM a good choice (at least better than HDD swap file) if the Setup has too low RAM amount...

Actually i'm still developing new build... i hope it's in some hours ready to upload ;)
[Galaxy Ace II Android Development] xo.en:
I think you need to get some rest, man.
[Galaxy Ace II Android Development] ace2nutzer:
yeah.. maybe one day when it's finally bugfree :D
[Galaxy Ace II Android Development] r_e_n_e:
When I flash the latest ext4 kernel "codina_kernel_cm11_20150222_ext4_ace2nutzer.zip" I have no access to sdcard0. How to? :confused:
[Galaxy Ace II Android Development] soko3:
Well, i don't know how is this going to affect on battery life...

i noticed problem with ram... if i remove cached apps from ram, and stop all running apps, there is still 500 mb of ram used...

looks like there is some memory leak here

don't know whether is apps or kernel bug, but i have 500 mb of ram which can't be freed with any available app...
[Galaxy Ace II Android Development] MrBlackCore:
As ace2nutzer said the other day, ram management is bad in his latest build ( /22 ) and he will fix it in the build that he is working on right now. As for the battery life, I guess less apps in the cache means less battery consumption. I dont know about your battery life, but my phone is 3 years old now and with /22 it lasts for 2 days if I dont use it and a day if I use it hard ( 3g, music, internet and games. )
[Galaxy Ace II Android Development] pablo.see:
He will not make fix, just workaround. He wrote that memory management is buggy in current kenrel and only proper fix is backport memory management from Linux kernel 3.4 branch.
[Galaxy Ace II Android Development] ace2nutzer:
Yes this is right... but with good optimized minfree values (wroted directly in ramdisk as init) the ram management will good usable.. i've test it.. it runs really great... i can run with the stock browser 6 - 7 Tabs and switching between on it.. and the tabs are not killed... also good responsiveness.. with stock minfree values.. the stock browser.. even with 2 tabs and some minutes of browsing the app is FC or becomes unresponsive .. very bad...

Actually still working hard on next release.. i've completely reworked defconfig to make the kernel as small as possible and free a little more ram.. actually at least 631,5 MB available with no moved kernel drivers to modules ... still default 7 modules ;)

Maybe if everything goes well, i'll release it today.. actually the build is stucking on CM Logo .. because of too much disabled things in kernel :o:D

When i've found the reason and it works good, then i'll make the release. ;)
[Galaxy Ace II Android Development] soko3:
apps in cache are inactive apps ready for clearing from ram when needed...

and least recently used apps will be cleared first (you heard for LRU - that's it)...

cached apps are actually good both for battery life and speed because, if you want to open app, it's faster if it's already loaded in ram, and you don't need full processor power to open it again....

because of that, it's good if you have full ram in android

btw, my battery is 30 days old, and it consumes 50%/hour of battery..... that's problem, dude ;)
[Galaxy Ace II Android Development] jordirpz:
Please, i want switch from ext4 to f2fs. Is CWM_ReParted_SY650_CA150_DA3043_SD10.zip in Ace2Nutzer dev-host the repart.zip in guide for make switch?

And after switch, i need repartitioning nand flash to have more space? Thnks
[Galaxy Ace II Android Development] ace2nutzer:
Check Post #3 ;)
[Galaxy Ace II Android Development] jordirpz:
Ok, thnks.

But is CWM_ReParted_SY650_CA150_DA3043_SD10.zip in you dev host the repart.zip that i need for switch ext4 to f2fs?
[Galaxy Ace II Android Development] fluffi444:
The CWM reparted script is only changing the partition layout of the nand. This has nothing to do with later used filesystem (ext4,f2fs)

- Do the repart with CWM_Repart script

- format the new made partitions with a filesystem you want
[Galaxy Ace II Android Development] jordirpz:
Where i can download repart.zip? In dev-host i doesnt look it.

Thnks

How to switch from ext4 @ f2fs without wiping data !

- cwm backup, also sdcard0 per PC

- repart.zip (in my dev-host)

- install f2fs kernel from me

- power off

- boot in cwm

- mounts and storages: enable f2fs - etx4 conversation

- format: system, data, cache as f2fs

- format sdcard0 as vfat

- install CM 11 from 18/11 for f2fs

- install pico uni-gapps

- install latest f2fs kernel

- reboot system

- restore or better copy the saved content from sdcard0 @ sdcard1 (because sdcard0 it now only 10MB ! )

- shutdown the phone

- boot in cwm

- backup and restore

- advanced restore from sdcard1

- restore ONLY data

- wipe cache

- reboot system

- swap storages in NT-APP

- ENJOY !!

-----------------------------------------------------------------------------------------------------------------------------------------------------------------
[Galaxy Ace II Android Development] ace2nutzer:
http://d-h.st/azOP
[Galaxy Ace II Android Development] Mac Oneil:
Hello I have a problem on OC GPU

I'm using cm11 by rox then Ru from Ace2Nutzer .

I use this step

On terminal emulator

Su

Copy the echo 449280 > /sys/kernel/Mali/mali_boost_high

And reboot .

But still 400 default is there any wrong ? Or my step are wrong Sorry I was new on kernel .
[Galaxy Ace II Android Development] ace2nutzer:
echo 449280 > /sys/kernel/Mali/mali_boost_high

is for max. gpu 450Mhz ..

The min. GPU is always 400Mhz (200Mhz idle) and shouldn't change it.

even if u set over term. emulator 690Mhz.. :

echo 691200 > /sys/kernel/Mali/mali_boost_high

if u check the actually GPU freq with cat:

cat /sys/kernel/Mali/mali_gpu_clock

u'll see: 399360 (400Mhz) because it'll go to 690Mhz only during playing 3D games .. and after close the Game.. it'll go back to 400Mhz..

But this is only to test what is your max. stable gpu freq.. to make it fix at startup.. u need to edit this echo command line in /system/etc/init.d/01optimization file ;)
[Galaxy Ace II Android Development] soko3:
Can you set lower GPU idle freq...

100 mhz would make difference, didn't it?

if it's in use, it will be 400, but in idle, while i'm listening to the music for several hours, for example, that would be extra 2-3% of battery, which isn't small thing :D