yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] manthes:
Liquid smooth. It happened randomly and i have seen it before with a build from chrono (he said that it was happening after some days of use but i don't remember details).

I am not sure for 02/11 build but for sure i didn't have it with older builds before 02/11. If it happen again it will help a logcat?
[Galaxy Ace II Android Development] Culateralligator:
I've used only for 1 day CM11 with 08112015 with no freezes.

And from yesterday afternoon Vanir + 08112015 with no issues for now.

I'll tell you more in a few days time.

I have used for 4 days 04112015 and also had liquid smooth at the beiggining for some time.
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for the infos... even if this don't help much ;)

Logcat is for ROM debugging.

Therefore because there are no random reboots, i just need kmsg + dmesg

during such freezes .....

btw: maybe wipe data can help ..... make sure that the used ROM is 100% OK... ask better [MENTION=5695278]ChronoMonochrome[/MENTION] if your actually used ROM build is buggy or not :)
[Galaxy Ace II Android Development] Culateralligator:
I've had first freezes (no reboots) with Vanir+08/11 when opening some files at File Manager.

This rom+kernel is really smooth and I think battery drain is better now.

I don't know if this picture is what you were asking some messages before.

Moreover, I'm not sure how to get kmsg + dmesg cat.

Anyway, this freezes are not very important to me now.
[Galaxy Ace II Android Development] ChronoMonochrome:
So, if this issue happens on two different ROMs, it's likely that ROM is not an issue here. I suggest users to check zRam usage, it looks just like zRam overrun. Unfortunately, using full RAM resources for zRam with 100% swappiness can't just double memory with relatively small cost. As a rule, than larger compressed block is, the more CPU time is needed to compress/decompress memory within. The worst thing is that, every access to zRam block is causes updating whole memory block, resulting in lags and freezes. It can be a reason for increased battery usage, too.
[Galaxy Ace II Android Development] gepel:
@ Ace2Nutzer. Is it possible for you to include in NTapp an option to enable/disable the zram or even better to set the pagefile ?
[Galaxy Ace II Android Development] Yønn:
Using latest kernel 151108 and latest CM11 from ace2nutzer, I noticed some freezes and I also had a reboot today.

It works smooth the rest of the time.

Aside I have a request about BLN. Would it be possible to disable it when charging battery is finished?

Via init script or a new NT setting?
[Galaxy Ace II Android Development] ace2nutzer:
I need to know if freezes are also present on this 02/11 Build:

Download:

http://xda.mister-freeze.eu/XDA-fil...e2nutzer.kernel.4.4.x_20151102_codina.p.l.zip

pls test and report,

thx.

btw: freezes on CMFileManager are normal ... that deammi App is buggy ... i hope it's fixed on coming CM11 build.

EDIT:

Be careful if ur'Re using Vanir ... i believe there is an option in ROM Settings in order to adjust minfree Values ... make sure it's not activated ... otherwise it'll overwrite optimized Kernel Values.
[Galaxy Ace II Android Development] xo.en:
Perfctrl and we can forget about ROM's/kernel's overrides of minfree....

I'd recommend light to medium, ZERO issues then.

And again - minfree is not enough to make stable system - you may wany to set up VM, too....

And for fs, guys, do not use zram...never, EVER.

Sorry ace2nutzer...
[Galaxy Ace II Android Development] ace2nutzer:
nope, kernel has already good Settings (by me), there is really no need to waste time in order to find something better ;)

Even small changes cause immediately blackscreen + freezes, also Launcher restart + some disappeared functions in Quick Settings. (because of killed system services).

As for zRam: as i many times already said: there is also no need to change kernel defaults, of course it's a bit faster with no zRam also less power consumption .. (that's all right) but it's really not worth do decrease size or even disabling it, as it will reduce the Total performance when much RAM is needed. Also i don't think that it's really comfortable to enable/disable zRam in NT_APP ... Then every time u see the Phone is slow or some Apps simply can't work because of too low ram, then u've to enable zRam in NT-APP.. this is for sure really annoying Job.. and it has nothing to do with user-friendly Kernel. This Device has low RAM .. this is the fact, ... we can do nothing except of using zRam ... i know, this is not best solution ... but it's just not possible to upgrade the real RAM on this Phone ... so we've no other way.
[Galaxy Ace II Android Development] gepel:
May I sugest something ? If its possible on you can you create a copy of the latest kernel with no support on zram ?
[Galaxy Ace II Android Development] ace2nutzer:
Why ? It's not needed to make no-zRam-Version ... just write init.d script like [MENTION=5695278]ChronoMonochrome[/MENTION] posted here some posts ago ...

It's same result ;)
[Galaxy Ace II Android Development] xo.en:
He belives in zram, which is ri-di-cu-lo-us.

Turn off zram, adjust vm/minfree, and you are ok.
[Galaxy Ace II Android Development] ace2nutzer:
Why it's ridiculous? it can save your bad azz when u try to run great 3D Games !

Not every user just play pixelated 2D Games like u ! Sorry ! :D

(for this, Nokia 5130 is still good... ---> Snake ;) )

adjust

vm/minfree Values ?? U Serious ? I believe u've still NOT read how Memory Managements works on Linux :rolleyes:
[Galaxy Ace II Android Development] shaqman89:
Guys, I don't intend to butt in or anything, but the argument is kinda silly.

With the current kernel, both scenarios (be it using zram on or off or even adjusting any values the kernel has interfaces) are supported, which is great. Now, since some people like to have and could tweak their phones to there different needs, then that's all that it matters, right? IMO, I do agree that the default kernel values are really good already for most cases our a2 could handle, but for some specific cases, we could always tweak it once in a while.

So, in the end, I don't see whats this arguing is heading.
[Galaxy Ace II Android Development] psidco:
Ok maybe its oot,does anyone feel that battery drain is huge in 08/11 compared to 02/11?
[Galaxy Ace II Android Development] ace2nutzer:
@ freezes

did someone test build 02/11 if there are no freezes ???

Without that information, it's almost impossible to debug 08/11 Build.
[Galaxy Ace II Android Development] Culateralligator:
I'm still on 08/11 + Vanir and freezes haven't appeared yet.
[Galaxy Ace II Android Development] gepel:
I have no freezes with latest kernel and everything works flawsless but once again give us the option to work with no zram. I believe it will be better a version with no zram than to kill it in user 99 script.
[Galaxy Ace II Android Development] manthes:
I have installed 02/11 when you made this build and for second time now. I don't have any freezes
[Galaxy Ace II Android Development] xo.en:
You know...I may be layman in linux matter, but adjusting vm/minfree really works for me....so..it is ok so far.
[Galaxy Ace II Android Development] judas1977:
VM stands for virtual memory or virtual machine? I'm confused a bit...
[Galaxy Ace II Android Development] Dr360r:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Prolly meant the former you said. Virtual memory means more mass memory (int, not replaceable, and ext sd card) usage however. I had a 8 GB micro SD card die on me after 6 months for formatting half of it as ext4 (which provides journaling=more sd card usage and therefore wear. Now i format the Link2SD reserved partition as ext2).

zRAM on the other hand won't induce wear on mass memory.
[Galaxy Ace II Android Development] judas1977:
Yes, i know what virtual memory is. I just didn't understand that part about tuning virtual memory and complaining about zRam...

But maybe it was just minfree tuning...
[Galaxy Ace II Android Development] xo.en:
Oh, so you are still here....

btw, nadal robisz w budżetówce? Fajnie. Umowa na czas nieokreślony, itp...

You seem to be usually..confused.
[Galaxy Ace II Android Development] judas1977:
Yes, still have my codina

I tak, tylko więcej obowiązków, mniej wolnego czasu, i dalej bez podwyżki od 2007. Za to kredyty i rodzina na utrzymaniu. But it's no right place to discuss it...

Well, that's me...
[Galaxy Ace II Android Development] greeceeeee:
I have fast reboot when working an app or uninstalling an app
[Galaxy Ace II Android Development] heldix:
Tested this kernel since the day you released it. Had no time to reply yet. Three words: Best kernel ever! Didnt have to reboot the phone once until now! Very fast, smooth, Z-RAM is the best thing ever with this phone. I dont know whether the size has to be that high because it only uses ~150mb of it in my daily use but still very benefical.

Even after days with heavy use opening Chrome with several tabs open the keyboard (swiftkey) appears within 2 seconds.

So thumbs up, i dont really know how this kernel could be further improved.

Btw. why so few guys suing f2s?

heldiX
[Galaxy Ace II Android Development] Dr360r:
Because they have money and strong lawyers :laugh: :laugh: :laugh: Just kidding!
[Galaxy Ace II Android Development] ChronoMonochrome:
The same with upload speed for me, actually it forced me to use the delta compression utilities to make and apply small updates to the ROMs, when I'm testing those :) Visit this project - https://github.com/ChronoMonochrome/binary_patch_system - if you are interesting, using delta updates might save time a lot.

Nope, I can assure you, the virtual memory is not only used when any swap are active. Total of swap and physical memory is the virtual memory. The physical memory is mapped to the virtual memory, but before any instruction from virtual memory is executed, it "converts" to the physical memory first, and then gets executed. What happens when kernel accesses virtual memory that doesn't exist physically? In such cases happens page fault fatal exception, or, simply speaking, kernel crashes. Yes, it's confusing thing, but this is just how linux kernel works.
[Galaxy Ace II Android Development] Dr360r:
No a2n 08/11 never freezed on me.

By the way here's my four line gps.conf text i'm currently running.

Apparently, the less lines you have, the faster you get the lock.
[Galaxy Ace II Android Development] Culateralligator:
My old 2008 Dell laptop has 3GB RAM and Core 2 Duo 1'87 GHz and I just use it for internet and multimedia. How old is your laptop? I mean, you have much merit to develop this great rom and kernel working with it. :D:D:D

As I said, I have no freezes with 08/11. I've also tried disabling zRam and I my impressions are most of time it's very smooth, but with some apps responsiveness delays a little (not much). Battery drain is a bit better (over a +5% of duration).

In the end I'll propably enable zRam again.
[Galaxy Ace II Android Development] Yønn:
After reverting to 1102, testing during 1 day and then re-updating to 1108 + testing, here is my feedback.

- I only encountered freezes (5-10s) when updating apps through PlayStore.

- Each kernel is running smooth

Ace2nutzer, can you please give me an answer about that?

Thank you
[Galaxy Ace II Android Development] ace2nutzer:
Hmm sounds very interesting ... actually i don't have time to "study" this project.. but i'll check when i've some free time. Thank u.

Okay thx for the nice info. I didn't know this. To be honest since i've re-format all partitions i never ever get kernel crashes again since at least 2 months.

Well, anyway of course i had "checked" long time ago the vm settings ... confronting to an article where such tuneables where explained.. also with recommended Value and i just compared it, and all Values was already "optimal" so i was afraid to change them or even trying to find better Values ... experiments on such Values can harm for sure the stability like u say... Also u can find in Ramdisk some echos to such vm values .... i think Rox, cocafe or zwliew did this already optimize. So i was really afraid to touch them :)

The only thing what was really needed to adjust was just: minfree, page-cluster and swappiness. After that, your kernel will work perfectly ... fast, smooth and finally no launcher restarts .. .what is really annoying.

Thx for the info. :)

Nice found with the gps.conf ... i'll check when i've some free time. - But are u sure that it'll not break some other functions ???

Also u can use other NTP Server ... use proper Italy server if u're living in italy... it can make it a bit faster.

hehe ^^ i don't know exactly .. but i believe it's from 2008 as well :D ... U guys don't believe me ... but that laptop is running like hell ! It's the V5535 Siemens laptop .. it's called "business laptop" this is the most stable and very well good quality PC/Laptop i ever had... It NEVER EVER crashes .. no reboot, or freezes... neither on win xp pro or lubuntu 12.04 both in 32-bit version.. (but cpu has 64-bit) Actually it's still enough and acceptable with the 4GB RAM... On Xp it shows only 3GB. But here on linux even if it's 32-bit it shows the full 4GB RAM ... thanks to HIGHMEM ... it can even allocate up to 64GB RAM lol.

Of course the XP is fully optimized (mem-management) and for developing i'm using lubuntu with self compiled and highly optimized latest Linux Kernel 4.3.0. (sources also on git)

The new CPU is approx 125% faster than the older one .. it's for me absolutely acceptable. I can build the kernel from scratch in approx 10 minutes. .. with the older cpu it was approx 23 minutes.

Great thx ! Yep ! :) Try also to run "real racing 3" .. u'll see it'll not work without zram ;)

Okay thank u too ... so i assume that last few builds are all OK ?! But what about such "freezes" ?? Is this an new thing or it was also present with older builds ? - This is the question ...

as for Full-battery BLN: it's automatic... when u unplug the cable the BLN will turn OFF.

Or if u don't want to unplug the cable: turn the screen ON, and then OFF... it'll also turning OFF the BLN :o
[Galaxy Ace II Android Development] Dr360r:
I've been tinkering on GPS (editing conf file and even replacing worn casing screws and tightening them to the point i could finally get accurate gps speed from inside a car, being the passenger of course) since i started flashing your kernels and had that gps.conf running for two months now because since i started flashing custom 4.4 ROMs i noticed that my phone would accurately avoid locking on GLONASS satellites. Now it does but only about three or four GLONASS sats get locked at a time even if the others come with a stronger signal. I used to be able to keep 18/18 satellites (wonder how many channels are available on our phone's receiver since it never went over 18 in mine and i repeatedly see photos from the web which show devices like the SIII locking on more than 20 sats at a time) locked at a time from inside a bus and between buildings with the stock ROM.

Yes, i'm using a local NTP server. I put a more "international" and clustered one on the gps.conf here, but edit as needed.
[Galaxy Ace II Android Development] ChronoMonochrome:
Nah, forget it, I missed the point here. It was useful for me as I'm using a remote build server, so I benefit by uploading/downloading small updates to my laptop, but never push these updates, as I find it's painful for the end user to use these partial updates instead of flashing a full ROM. There is almost no benefits for those who use a local PC for builds.

I tried using some VM parameters tuning but I ended up using defaults, since I'm not sure how they are should be tuned.

There is some point of tuning dirty_ratio and dirty_background_ratio, but there are no only correct settings. Both tuning(increasing or decreasing) dirty ratio pursue different goals.
[Galaxy Ace II Android Development] judas1977:
Hmm. Official specification of my Samsung says it has 3/4 GB of RAM. Maybe it the same case?

Jeeez. I have to make some tests when i regain my PC: to check how much time i need for building kernel with your sources. I have to know if it's matter of bigger 'complexity' of my kernel or really optimization of LK/distro. Maybe it's time to try to make LK kernel with localconfig:)

As i told you i need ca 1 hour to build kernel for L90 (but inside ROM's environment) with very similar laptop.
[Galaxy Ace II Android Development] ace2nutzer:
Check first how much RAM u see in BIOS ... it should be the same as installed amount of RAM.

For me i've installed 2x 2GB RAM .. and with the latest official BIOS i saw only 3GB !! Then after some google research it came out that it's needed to downgrade the BIOS Version in order to have again MEM REMAPPING ... i did this, and now i can see in BIOS 4GB RAM.

For Win XP 32-bit it's normal to see only 3GB RAM ... but with 64-bit OS Win ... u should see 4G minus the AGP Aperture size maybe .. or shared memory from the IGP ... (for me i've set it @ minimum 64MB ... and still YouTube Vidz run smooth @ full HD 1080 in full-screen mode ---> 1280x800 LCD resolution)

On Linux 32 bit i see here 3905MB RAM .. but with CONFIG_HIGHMEM64G + VMSPLIT 3g/1g.

U can also use HIGHMEM4G .. but then it can't allocate some extra GB for swap/zram .... that's why 64G is needed.

btw: on stock lubuntu Kernel there is set in config highmem4g .. and it only shows to me 3GB :laugh:

But with Linux 64-bit u should see the full 4GB RAM ... except u've wrong BIOS installed that only shows u in BIOS 3GB RAM.

Yeah good idea... try first to build my kernel (make + make modules) from standalone .....
[Galaxy Ace II Android Development] xo.en:
Let me make my own response to this, it will be short:

OO

Look, it is WRONG to use zram with ace2, but, ffs, it is good idea to set vm/minfree, still.
[Galaxy Ace II Android Development] manthes:
I installed it tonight and i will test it for 3 days unless i have any freeze.

By the way all of us with freezes have changed (or disabled) zram size?
[Galaxy Ace II Android Development] shaqman89:
The google play store update related freezes have always been there for some time, both on yours and Chrono's kernel. But other than that, I can't remember any on my typical daily usage.

I'll also try the 08 build for comparison.

In my case zram is a must for me to use near to a hundred of apps for days without hiccups :D
[Galaxy Ace II Android Development] ace2nutzer:
okay ... thx

but Google Play Services Updates are always very hard for the Phone .. it's absolutely normal that everything is slow or lagg during this update.. 100% normal and not an issue on Kernel or ROM side .... just some missed Performance ... Especially if u're on "powersave" or "normal" CM Performance Profile .... try with "performance" it should lesser lagging and the update is faster done.

So latest kernel is probably still perfect. :p

Now it's time for the ROM ... to make it appropriate to the Kernel.

Low optimized ROM + Highly optimized Kernel = interferences like Hell ...

A wonder that it works at all :highfive:
[Galaxy Ace II Android Development] lab34:
Hi,

just to say I have no problem with latest kernel (installed on first day). :)

I don't play game, and don't OC. Just surfing. GPS OK, no freeze, no problem with youtube... no battery drain. No problem in my car, no problem with calling, no problem with sms with "signal" app.

For sure, I always had freeze/lag during updates of app in background. But most of the times, updates crash because I don't have enough space, so, not a big problem :p

Because of latest google map, I had to install Google Play Service 8.3.01, and because of that, I had to allow everything in the privacy manager (because I had FC every 10 seconds). :(

I was afraid of battery drain due to google ps, but no problem.

Thank you ace2nutzer ! I'm waiting patiently for CM11 now :cool:
[Galaxy Ace II Android Development] Dr360r:
The latest 07/14 ROM is still CM11, he's prolly using the final snapshot as source and using updated tools to compile it (did i get it right?).
[Galaxy Ace II Android Development] ace2nutzer:
yes, the actually ROM is almost outdated .. the sources are now 1 year old ..... also it's of course not very well optimized and it's compiled with old Build tools.

The coming CM11 is everything fresh + optimized :D

No more bullsh!t ;)
[Galaxy Ace II Android Development] lab34:
My biggest annoyance with the current cm11 his the bad display of images on Google image or amazon...
[Galaxy Ace II Android Development] Culateralligator:
Exactly the same for me. You seem to read my mind.

I don't play games at all. This phone is more like a small PC for me, mostly used for multimedia or surfing internet. I don't like (and don't understand) 5"-5'5" screens. IMO most logical sizes are 4"-4'3". And new phones with these medium screens don't worth the price they cost. I don't really think they're gonna run appreciably better than ace 2 with your ROM or Chrono's.

Well, now I'm trying old AOSP 4.4.4 J-Team with 08/11 kernel and it's reaaally fast and battery drain is quite well. Also no freezes neither strange bugs. This ROM deserves an update!
[Galaxy Ace II Android Development] happyrik:
I'm trying for two days last TC omnirom with 8.11 kernel and my old ace 2 flies....:good:
[Galaxy Ace II Android Development] aleste2:
Waiting for it. With the previous build I experimented the low in call volume bug, very anoying. It was present in an old ChronoMonochrome build and also in yours (last one). Thats why I still maintain stock JB.
[Galaxy Ace II Android Development] Dr360r:
@Up

Strange. Never experienced such issue, neither with CM 10.2 nor with all CM11's i tried included a2n's 07/14.

On the other hand i too have google images not showing up in addition to the Google News widget crashing and locking up all apps forcing me to restart.
[Galaxy Ace II Android Development] manthes:
After 2 days of use i don't have any problem with 08/11. The only change from the previous installation is that i didn't change zram size (but the problem happened randomly so i don't know if i will have a freeze the third or fourth day of use).
[Galaxy Ace II Android Development] ace2nutzer:
aha interesting thing !! Which zRam Size did u used to get freezes ???

btw: General INFO:

if u guys are changing kernel defaults, then u're usually not allowed to report Bugs at all :o

(this is an very general Rule .... especially if OC or UV )
[Galaxy Ace II Android Development] shaqman89:
Lol. Come on, it might help to a better kernel, sometimes :)
[Galaxy Ace II Android Development] ace2nutzer:
yes of course... reports are usually very useful ... but if the issue is caused by the user itself then it's only wasting time for me ... u know ? (and the problem can't be solved in any way, because it simply doesn't exist) ;)
[Galaxy Ace II Android Development] Dr360r:
A rule is a rule after all, otherwise it wouldn't be in its place.
[Galaxy Ace II Android Development] manthes:
zram 150mb.

It would be better for all to report them but also saying what changes we have done to the settings after the installation (I have told this change from the first time :p:p:o:o:o ).
[Galaxy Ace II Android Development] gepel:
Well I use the latest kernel with no use of zram for few days now and I have to say , at least for my type of usage (browsing AND games), that the phone is just amazing and the battery last significant longer..
[Galaxy Ace II Android Development] shaqman89:
Would you mind sharing how many hours of difference are we talking about when you say significant?
[Galaxy Ace II Android Development] gepel:
I can't measure it in hours but the battery life in general is better. Test it by yourself.
[Galaxy Ace II Android Development] psidco:
So when we dissable zram we get more battery? I think google play service that drain battery :confused:
[Galaxy Ace II Android Development] gepel:
Its not accurate because google play is always there and needed but when you don't have the need to run a memory hungry app MAYBE its better to disable the zram capability. Personally i gain some extra battery life and the responsiveness of the phone is greater than ever.
[Galaxy Ace II Android Development] psidco:
Okay,testing,i just browsing,bbm and coc for some time