yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] kasper_h:
OK, my SysUI RAM was 95MB. Then I disabled Active Display and rebooted the phone. Now SysUI RAM is at 44MB. I will use my phone regularly all day and then see what it is tonight. At the same time, I will compile a ROM with AD, so that can be tested tomorrow, to see how that one behaves.
[Galaxy S I9000 Android Development] hollandais:
I can upload a screenshot if you want, but IU system is actually at 38.06 Mo.

And Active display is enabled.

Envoyé depuis mon GT-P5110 avec Tapatalk 4
[Galaxy S I9000 Android Development] kasper_h:
The difficulty is that SysUI is everything related to notifications/statusbar/navbar/etc happening in the background. So it may also be related to some other settings...
[Galaxy S I9000 Android Development] hollandais:
Yes, I think also..

I just send 2 mails and 2 sms with it and now IU system is 36.32 Mo.

I'll follow it too.

Envoyé depuis mon GT-P5110 avec Tapatalk 4
[Galaxy S I9000 Android Development] fmc000:
96 MB right now, active display disabled.
[Galaxy S I9000 Android Development] hollandais:
Very strange, I've 37,18 Mo

Envoyé depuis mon GT-P5110 avec Tapatalk 4
[Galaxy S I9000 Android Development] matcho13579:
Maybe disabling Active Display is doing that...
[Galaxy S I9000 Android Development] hollandais:
No, Active Display is still enabled.

Envoyé depuis mon GT-P5110 avec Tapatalk 4
[Galaxy S I9000 Android Development] saszseb:
Very bad here:
[Galaxy S I9000 Android Development] matcho13579:
Oh, I'm not native English speaker, I wrote it wrong... I mean that disabled active display can cause that
[Galaxy S I9000 Android Development] tsatomas:
I am afraid that is not very reliable app, for me it has started on 67 and now it is 94! But I have no problem, even angry birds are playing good.

Edit: and after this post it dropped to 90. I suggest to think other way to investigate than this, look me as placebo;)
[Galaxy S I9000 Android Development] matcho13579:
Today I flashed newest build, right after boot SystemUI occupied about 35 MB, now after 2 hours it takes 50 MB
[Galaxy S I9000 Android Development] MrOban:
I flashed newest build too.

After reboot system ui took 33 MB, 4 hours later it has 56 MB. Active display disabled. Used a bit maps and play store and tapatalk :D

Edit:

After two more hours it went back to 35 MB again.

On my device mem-usage of sys-ui seems to be independent from AD.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] kasper_h:
OK, for testing purposes I compiled a ROM without Active Display at all:

http://www.xdafileserver.nl/index.php?dir=Samsung/Galaxy+S/MackayROM/JB43/test

SystemUI was 95MB after 24h with Active Display enabled

SystemUI was 35->70MB after 6h with Active Display disabled

Now 35MB on first boot with test version
[Galaxy S I9000 Android Development] matcho13579:
Can I flash it on the top of previous build without wipes?
[Galaxy S I9000 Android Development] kasper_h:
Indeed you can.

Please do not change any other settings when flashing this build so that the comparison is purely with AD without AD.
[Galaxy S I9000 Android Development] oska3:
Which version for jb4.3 is best battery safer,i dont care for extras
[Galaxy S I9000 Android Development] saszseb:
It doesn't depend on a ROM.
[Galaxy S I9000 Android Development] MrOban:
With test version sysui started with 35 MB and is after 2 hours on 50 MB.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] fmc000:
Download fails. Tried many times. Can you pleas upload it to rootaxbox?

Edit: discard it, now it works.
[Galaxy S I9000 Android Development] matcho13579:
Same settings as before, 1h 21m turned on and SystemUI is taking 41 MB
[Galaxy S I9000 Android Development] jv.batista:
uptime: 2h

system ui:49:50Mb
[Galaxy S I9000 Android Development] kasper_h:
I am interested in 12+h of testing. As SysUI usually takes at least 12 hours to become a memory hog.

I have been looking through the messages (both in this topic and the ones I received through pm). There is no logic behind the bootloop issue: sometimes there is a bootloop with a user that uses the same kernel/recovery/sd-card that another uses successfully. I still have some doubts about the updater.sh script, as it is slightly different between a ROM flash and a kernel flash. So I have adapted the updater.sh script to make it equal to the kernel update script. A test version of the 3.3.2 ROM with that can be downloaded from the same test folder:

http://www.xdafileserver.nl/index.php?dir=Samsung/Galaxy+S/MackayROM/JB43/test
[Galaxy S I9000 Android Development] Rootax:
The "bootloop" version have active display removed too ?
[Galaxy S I9000 Android Development] matcho13579:
On my phone, SystemUI became memory hog after 10+ hours.

Some interesting infos about the bug:

My brother have C-ROM installed on his SGS, there is Active Display feature and same SystemUI bug, also in Slim Bean there is also Active Display and I read that Slim Bean users have the same problem. So I'm kinda sure it's related to the function.

Mine is fine so far, I'll report tomorrow in the morning if it's okay, but seems okay, SystemUI is taking 41 MB of RAM now, the ammount didn't grow up for about 2 and a half hours.
[Galaxy S I9000 Android Development] kasper_h:
No, it is the "old" 3.3.2 version.

I just found out I made a mistake with the bootloop version. I made a 3.3.3 bootloop version, but uploaded the wrong file. I am now reuploading the correct file. Please wait a bit before testing

For me, SysUI also seems to grow slower, still under 45 MB here.
[Galaxy S I9000 Android Development] saszseb:
SB doesn't have AD feature. Therefore SB users don't have issues like this. There's nothing to read about AD on SB thread.
[Galaxy S I9000 Android Development] matcho13579:
Oh, sorry, you're right

EDIT/ I meant Helly Bean, not Slim Bean
[Galaxy S I9000 Android Development] jv.batista:
5 hours now, system ui: 48.91Mb
[Galaxy S I9000 Android Development] kasper_h:
The bootloop test ROM has been reuploaded. It is the same 3.3.3 version which comes without AD.
[Galaxy S I9000 Android Development] hollandais:
I couldn't download this afternoon because I stayed in a place without wifi and no 2G or 3G network.

Back home at 30 past 12, and I just checked my sgs and SystemIU is on 40.06 Mo.

I haven't change anything since yesterday. Active Dispay is still enabled, so I'm asking if there's no other problem

Envoyé depuis mon GT-P5110 avec Tapatalk 4
[Galaxy S I9000 Android Development] fmc000:
10 hours, 45 mb with 3.3.3 . I think that you nailed it down Kasper. Sorry but I won't be able to post updates today probably.
[Galaxy S I9000 Android Development] Rootax:
Can't flash the 3.3.3 bootloop rom :

Checking device ID...

about to run program [/tmp/updater.sh] with 1 args

sh

: applet not found

run_program: child exited with status 1

script aborted: assert failed: run_program("/tmp/updater.sh") == 0

assert failed: run_program("/tmp/updater.sh") == 0

E:Error executing updater binary in zip '/sdcard/Firmandco/Rom_CM 10.2/cm-Mackay_ROM_3.3.3_bootloop.zip'

Error flashing zip '/sdcard/Firmandco/Rom_CM 10.2/cm-Mackay_ROM_3.3.3_bootloop.zip'

Updating partition details...
[Galaxy S I9000 Android Development] kasper_h:
OK, thanks for testing. I think that this part of the script I tried to move does not work. I have another idea, just need to upload.
[Galaxy S I9000 Android Development] kasper_h:
Can you tell me which settings you use for AD, because it seems odd to me that it differs so much.

For me, SysUI also stays at 45MB already for the last 8h with the noAD version, whereas it was increasing to 90+ before.
[Galaxy S I9000 Android Development] hollandais:
Well, this morning, sgs is on since friday, SysUI is now at 62,25 Mo.

AD is still enabled:

Notif text on

All notif off

Pocket mode on

Sunlight mode on

Redisplay notif never

Show date on

Show am/pm off

Display timeout 8 sec

Envoyé depuis mon GT-P5110 avec Tapatalk 4
[Galaxy S I9000 Android Development] andmail:
hi, kasper_h

Can you tell which version of your ROM is most stable right now?

Thank you.
[Galaxy S I9000 Android Development] matcho13579:
Now SystemUI is taking 55 MB of RAM (on testing build without AD), phone turned on 18 hours, definitely better
[Galaxy S I9000 Android Development] jv.batista:
almost 19 hours now and S.UI is @ 50.70Mb
[Galaxy S I9000 Android Development] SKLCH:
This morning i had Systeem-UI at 175MB! After a reboot it was back to 38MB. I have active display disabled...

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] kasper_h:
I have another bootloop test version

bootloop2:

http://www.xdafileserver.nl/index.php?dir=Samsung/Galaxy+S/MackayROM/JB43/test
[Galaxy S I9000 Android Development] hollandais:
I dont download any other rom, I'll wait and see the highest value of SysUI.

Envoyé depuis mon GT-P5110 avec Tapatalk 4
[Galaxy S I9000 Android Development] Rootax:
I'll test it and tell you if the install is ok.
[Galaxy S I9000 Android Development] warhead1978:
14h+ with noAD, SysUI under 50 MB...

I disabled also PIE control under expanded Display without NavBar...

before I had PIE control active without NavBar...

so it works better, for me...

MfG
[Galaxy S I9000 Android Development] Rootax:
It works ! Well done !
[Galaxy S I9000 Android Development] tsatomas:
I am still using previous build with AD installed and active.I have not lags or problems. Yesterday after few hours sysui was 57 I let the phone sleep and charging for about 8h and then I saw that it was 62,I started using the phone-internet(WiFi video stream,xda app),edit photos, calls and SMS for 4hours provoking this time the sysui by pulling down status bar and changing various from toggles and settings;also I made AD appear with missed calls and SMS. So the sysui reached to 82 but noticed that whenever i was stoping an activity it was dropping down(i used the home button to interchange between apps without closing any, so there was a good load on phone-I see that my free ram did not fall below 25mb but I use auto memory manager).when I stopped all these and close all apps the systemui drop from 82 to 71. I reboot and it was 36 and after 5 hours it has reached 45. I thought of checking with different app and here is: My systemui according to this app is now 45 but have a look at these screenshots taken from memory manager(by jrummy-rom toolbox) PSS memory26 RSS memory45(as much as xda app) and also notice the usage of android system(more than systemui). All this time AD was active and working.

So my conclusion is that AD does not harm my phone and systemui even increasing after many many hours it doesn't cause me any problem. I suppose that lags and reboots has to do with every phone different configuration and small deviations in hardware.
[Galaxy S I9000 Android Development] kasper_h:
Thanks for testing! I'll try to implement this as a structural measure to solve the issue for future builds.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] ulysse75:
I'm a little confused, sorry...

Which is the last stable version? 3.3.1 or the 3.3.2 in the main page on xda server?

Inviato dal mio Nexus 7 usando Tapatalk 4
[Galaxy S I9000 Android Development] saszseb:
I went back to 3.3.1 because I didn't like 3.3.2.
[Galaxy S I9000 Android Development] tsatomas:
3.3.2. After that there are two for test. I think that there is a typo in title.
[Galaxy S I9000 Android Development] hollandais:
I can't continue the test.

IU system was at 79 Mo and then I had an fc.

Reboot, and IU sys is back to 34.20 Mo.

Envoyé depuis mon GT-P5110 avec Tapatalk 4
[Galaxy S I9000 Android Development] kasper_h:
I have been running 3.3.3 with AD today (build never posted). SysUI is increasing more that without AD (much less with AD disabled). So I have the impression that the presence of AD causes an increase in SysUI usage. But whether this SysUI usage is problematic is off course another thing. Actually, I saw a reduction in RAM usage by SysUI after running a heavy app (car navigation in my case), so I have the idea that SysUI mem usage can be adapted by android to prevent issues (free RAM is hardly needed by android anyway :)).
[Galaxy S I9000 Android Development] matcho13579:
Well, I really don't understand what you mean by "can be adapted..." :D
[Galaxy S I9000 Android Development] warhead1978:
21+h still under 50 MB by normal usage...

[MENTION=264917]kasper[/MENTION] what is your decision for the next builds? With or without AD?

MfG
[Galaxy S I9000 Android Development] kasper_h:
What I mean is that Android can take care of its memory management.

Is the <50MB for the ROM with or without AD?

Next build will be with AD. No final decision yet. I really like AD and have no slow-downs.
[Galaxy S I9000 Android Development] warhead1978:
Without AD...

OK I will wait and see ;) thx

MfG
[Galaxy S I9000 Android Development] kasper_h:
New test build online:

http://www.xdafileserver.nl/index.php?dir=Samsung/Galaxy+S/MackayROM/JB43/test

3.3.4:

-Has AD included

-Latest CM codebase

-New 0.510_zram test kernel included.

If using AD, please activate zram (Settings>Performance>Memory>Zram) and set to 18%. Then reboot.

Zram is a compressed swap partition in RAM, which enlarges the RAM (at the expense of a slight slowdown in RAM read/write speed). But the overall effect should be an improvement, hopefully preventing SystemUI caused slowdowns.
[Galaxy S I9000 Android Development] matcho13579:
Will there be an update without AD?
[Galaxy S I9000 Android Development] kasper_h:
No 3.3.3 is the current ROM without AD and is almost identical to 3.3.4, but then without AD. And the test kernel from 3.3.4 can be downloaded separately (see kernel topic). I want to find a way to have AD without problems, so that is why 3.3.4 comes with AD, but also with a potential solution for the slowdowns (ZRAM).
[Galaxy S I9000 Android Development] Rootax:
I tough Zram was "out" in the past because in the end it caused performances and stability issue.

Changes have been made to the code or something ?

Thx.
[Galaxy S I9000 Android Development] tsatomas:
That's why dev suggest 18%
[Galaxy S I9000 Android Development] beint:
Goody

With latest 3.3.4 test build (ZRAM and 18%) I must say things looks promising. SystemUI hasn't moved at all up to this point, 2 1/2 hrs. uptime. in fact it started on 32 MB, after a short while it reduced to 28 MB and stayed there for long until i started listening to radio and browsing some. now it's 33 MB. The phone even seems much snappier (maybe yust a placebo because I'm happy).

All in all, this just looks promising :D

Edit: AD activated offcourse.

Edit2: When closing Spirit UL and plugged out AC, SystemUI reduced to 30 MB, fantastic!!!
[Galaxy S I9000 Android Development] jv.batista:
3hours, AD&zRam on, played a bit of temple run 2 during my lunch break, checked some e-mails and I have the system ui @ 59.38Mb

edit: 6h, 61.80Mb
[Galaxy S I9000 Android Development] tsatomas:
For me too 334 with ad and zram18 looks:D better. Of course few hours are needed to be certain. thank5
[Galaxy S I9000 Android Development] mamoto66:
Installed new 3.3.4 and working perfect.Recommended settings and I think improved management ram.
[Galaxy S I9000 Android Development] hertzschi:
AFAIK stratosk has disabled zram in semaphore kernel and had good reasons for doing this.

But I don't remember where he stated this.

Maybe he can help you with zram?

Will install the test build now.
[Galaxy S I9000 Android Development] beint:
After 11hrs normal use, SystemUI is 47 MB. Memory management is excellent, never been better.

Sent from my sending thingy
[Galaxy S I9000 Android Development] matcho13579:
I thanked you accidentally :D

Is this with latest test build with AD and zRam enabled?
[Galaxy S I9000 Android Development] beint:
Tx for the accidental thanks ;)

Yes, it's the latest test build with AD (enabled) and zRam.

Sent from my sending thingy
[Galaxy S I9000 Android Development] fmc000:
Latest test build, zram@18%, ad disabled and systemUI climbed to 80meg. Evident lags.
[Galaxy S I9000 Android Development] warhead1978:
Haven't you rebooted after activated zRam?
[Galaxy S I9000 Android Development] kasper_h:
Stratosk disabled zram for the same reason as I did in the past, not stable and causing issues.

I now merged a high number of patches (thanks to DerTeufel) that should improve zram a lot. Therefore I thought it was with another try.
[Galaxy S I9000 Android Development] kasper_h:
As asked above, did you reboot. For me, after 36h with AD active, sysui is at 33mb... and total free RAM is 185mb according to the recents panel and 135 if I check running apps in settings.
[Galaxy S I9000 Android Development] tsatomas:
After flashing I had 35 and it is increasing but very slow(after 12h it is 65), free ram is 262! (from 50) phone works faster and smoother. But on the first hour after waking the phone I saw I had a systemui FC(keep working good,no reboot) and in second hour the phone powered off by itself(iddle, laying on a table,tried to wake it and saw it off), after these two no other problem ,today I shall push it more.

Edit: I had some test now and may be you find it interesting; I have transparent notification drawer (from my theme) and I can see in real time the changes, so when I pull down notifications from status bar (or quick settings) the usage of system ui increase by ~5 and the CPU usage from ~5 to 30-40(if I use a toggle varies,Bluetooth goes to 100%) and when I release sys ui drops ~3(CPU also down to ~5%), so I have a little increasing of system ui nowis 71,4. About the same happens when I run apps like browser, gallery maybe a little bigger increase/decrease. AD works good and free ram stays high, no further fc or reboot/shutdown .
[Galaxy S I9000 Android Development] saszseb:
Me too. Setting/using zRAM doesn't help me to avoiding huge lags. Free RAM doesn't matter. After taking some screenshot I lose home/menu buttons and get UI lags. Rebooting helps for some time.
[Galaxy S I9000 Android Development] fmc000:
Yes I did reboot the phone. Right now, less than two hours of uptime and systemUI is at 40MB with AD active (I'm trying it to see if the ROM performs better this way).

I use the phone while commuting to work, listening music (with poweramp) streamed to my Bluetooth headphones while playing games. My tests show that:

CM10.2 with MacKay kernel: all OK;

MacKay ROM with AD disabled: some interruptions during the music streaming and occasional shutdowns of poweramp;

MacKay ROM without AD: all OK;

MacKay ROM with AD and zram: some interruption during the music streaming but no poweramp crashes so far.

In the latest case, having AD enabled or disabled makes no difference.
[Galaxy S I9000 Android Development] Blondasisko:
I just have flashed Mackay ROM 3.3.4 for Galaxy S and enabled zram 18%, AD disabled. The amount of RAM used and free differs in Android System Info and numbers in System Settings (e.g. system showing 221 MB free after long-pressing Home button [probably including swap], 93 MB when going through Settings>Apps [does not include swap], and 44 MB in Android System Info, with a lot of apps running here, probably reads these from the swap). I will report about lags after several hours.
[Galaxy S I9000 Android Development] jv.batista:
zRam: 18%

Uptime: 24H 35m

AD: On

System UI:142Mb

some slowdowns but did not have any app crashing on me, free ram gets between 0 and 45Mb

edit: the swiftkey keyboard really don't like to load.

will reboot and deactivate AD to see how it goes...
[Galaxy S I9000 Android Development] beint:
zRam: 18%

Uptime: 23H 05m

AD: On

System UI:73MB

Free RAM at about 40 MB, feeling the lagging is creeping up on me.

Services are beginning to restart because og lack of RAM resources. No app crashes though.

The SystemUI clearly has some memory leakage. Otherwise it would stay pretty stable.
[Galaxy S I9000 Android Development] Blondasisko:
Installing 3.3.4 removed Talk, should it be that way?

Yesterday, while on 3.3.1, I had the best battery life so far, ever. After about 15 hours I never before had more than 2 hrs of screen and still almost 50% of battery. I am constantly on 2G though.
[Galaxy S I9000 Android Development] beint:
No harm in Talk being removed. I remove some 20 system apps after every flash, including Talk.

Sent from my sending thingy
[Galaxy S I9000 Android Development] Blondasisko:
No harm if you do not use it. At present you cannot download it from google play, as it was replaced by terrible Hangouts. I keep a TB version, thefore no problem here. But some others may use it.
[Galaxy S I9000 Android Development] tsatomas:
Agree ,I only suggest you to freeze the system apps you don't want instead of removing so after flash no need to remove them again (they remain frozen), with the new layout of 4.3 the system has enough space.;)
[Galaxy S I9000 Android Development] jv.batista:
quick question, shouldn't exist an option to prevent long sms from being converted into mms?
[Galaxy S I9000 Android Development] warhead1978:
For me the new test build with zRam is worse then the build with only AD ... best performance without AD ...

SysUI on top in RAM, Musicplayer lags and quit then restart again ...

Uptime 10,5 h

MfG
[Galaxy S I9000 Android Development] gargeya_369:
I prefer to disable zram option...

The system lags within few hours of usage.....

I disabled AD and used zram....

Still the same.....

Next , disabled zram and rebooted...

After few hours also...the system is pretty fast( AD is also disabled)...

Phew...!!

Now, the phone is normal.... :)
[Galaxy S I9000 Android Development] tsatomas:
After one day of use systemui has reached 105 and I can say that I start feeling the lag. I will keep it more to see what will happen. I think that zram has helped to delay the increase but not solved the issue.

Edit: ten minutes later and while playing angry birds phone rebooted itself. Sysui back to 32 and everything fine.
[Galaxy S I9000 Android Development] kasper_h:
I'm really puzzled by the large differences between people with seemingly similar setups. I am afraid that there are too many variables at play here, with many user settings/user apps/mods that may all influence overall ram usage. For me, free ram problem has not yet occurred after 51h uptime, with SysUI now at 65-70mb already for a day.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] warhead1978:
After this report I rebooted again, now over night and charging the phone seems to be normal again, let's see this afternoon what happens.

Uptime 12,5h

SysUi under 40MB

free RAM:103MB

MfG
[Galaxy S I9000 Android Development] cannondaleV2000:
For me system ui just hit about 35mb running my own build of this ROM with the new zram

---------- Post added at 05:06 AM ---------- Previous post was at 05:06 AM ----------

Up time 37hr
[Galaxy S I9000 Android Development] Blondasisko:
After about 20 hours system ui takes 101 mb, still a lot of free ram with a lot of apps cached, slightly laggy, but still acceptable.
[Galaxy S I9000 Android Development] Rebel2k:
For me the phone behaves quite good. However I still loose the data connection from time to time.

Envoyé depuis mon GT-I9000 avec Tapatalk 4
[Galaxy S I9000 Android Development] Samtan4326:
next CM update should be fixed after this is merged. http://review.cyanogenmod.org/#/c/51565/
[Galaxy S I9000 Android Development] fmc000:
Downgraded to 3.3.3 , 3.3.4 is unusable on my phone.
[Galaxy S I9000 Android Development] kasper_h:
Will build a new rom with this soon.

I have no idea why it works so badly for you, for me 3.3.4 with zram is the best I had in quite some time, even after multiple days uptime.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] turtuv:
Thank you kasper! I'm going to download and test it!