yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy SL i9003] loSconosciuto:
It's not worth the effort in my opinion, especially for me that I really don't care about video playback, which is not that bad as long as the resolution of the video is comparable to the screen resolution. I could try though, considering that you have already backported them, but a good 3.0 kernel would be better IMO.

EDIT: I've just tried to play a 720p video (an HD trailer) with MX player using the S/W decoder: not bad, the playback was smooth. Obviously this depends on the video, not every HD video can be played smoothly. No colour conversions would definitely improve the performance...

I doubt CyanogenMod has anything to do with the problem, first of all we are using the same drivers. Second, it's not an uncommon thing for a Li-ion battery to swell, especially when it gets old.

Anyway, my statements about zRam have no proofs, I said what I said in base of what I know about zRam. It takes more than just a day to know whether zRam is good or not.

Do the lags happen especially when you try to type any of the followings: " . , : ; ! ? ?

If that's so, it seems like a big deal.

Speaking seriously, I don't know what's the cause etc... and I tell you that I currently have no time for anything, so don't expect a solution for tomorrow.

Tweaks can't do much by the way and make sure you are not just making the ROM worse:

try my build as it is, keep ondemand for a while, don't use zRam (again, I don't know whether it's good or not) and see if anything changes.

I use Swype all the time, but I tried to use the stock keyboard and it's not that bad.

And please, when you report bugs, make sure the problem is the same in my builds as they are.
[Samsung Galaxy SL i9003] shaktishekhar:
:D

the problm is in your build only and i tried disabling the zram ondemand and " . , : ; " these r not the issue any ways try n fix it as u get time i will try swype keyboard also :) :D
[Samsung Galaxy SL i9003] imjustafq:
best rom ever.. 20130501 build not much differs from 20130429 build..zram doesn't seem to improve anything in half of a day that i've used.. the rom is already awesomely smooth even without it.. so i'll step aside from zram,ksm and assets purging..

to stay good, just stick with the defaults settings by [MENTION=4349695]loSconosciuto[/MENTION].. especially in performance.. i don't like to flash scripts and tweaks.. i believe they can worsen the rom. IMO.. cause the rom is already great.

via SL
[Samsung Galaxy SL i9003] loSconosciuto:
I updated this post.

I included the latest changes and updated the local_manifest which is no longer working.

Kernel patches are here.

Add "ro.zram.default=0" to device/samsung/galaxysl/system.prop, merge the changes from my "camera" branch and you can build an exact copy of my ROM.

I also made another CM build, mostly to test the script since it's not exactly like the one I use. There's nothing new there, except for three patches I took from cm10.1 (1, 2, 3)

I would also like to share my opinions about zRam now that I used it for a while. I couldn't notice huge differences, performance and battery wise, but I'm not a reliable source of information when it comes to "benchmarking" etc...

Anyway, I still don't like it. The main reason is that I don't need to run many apps at the same time.

The main problem I had with zRam was that I had extremely visible lags when the swap partition was completely filled and I was trying to do many things at once.

Maybe I should do more tests, but since I couldn't notice improvements in the general use of the ROM, I'll keep it disabled.

If you want, you can try to lower the swappiness value to something like 30 or 40 (Google for more info), the swap partition is still fully used.

If you want to easily see detailed information about the usage of the swap partition, look for "ZRAM Status" on the Play Store.

KSM seems to have no negative effects, but I also couldn't notice any noticeable improvent too. I think I'll keep it enabled in my ROM, but I won't change the default setting in my builds (disabled), it's up to you.

It was a subtle way of telling you that you should add some punctuation marks in your posts, they would be much easier to read.
[Samsung Galaxy SL i9003] shaktishekhar:
:eek:

Surely from next time :D btw what all r the change log of your new build " 2013-05-04 16:37:28 and is there any way, to just update the changes over the current 1may build without flashing the whole rom and gapps n all "

---------- Post added at 08:51 AM ---------- Previous post was at 08:47 AM ----------

awesome thought :D same here me always using all defaults without zram btw did u c any change in 2013-05-04 16:37:28 build :silly:
[Samsung Galaxy SL i9003] anoopcheckingin:
Random Shutdowns

Hello all am to using this ROM for the past one month and my battery too is swollen (Have ordered for a new one, should receive by tomorrow). I am also facing the random shutdowns. Was following this post to this reply. But i noticed one thing these random shutdowns didn't happen when i had my Mobile Data off. the phone was running good and fine, Soon after i switched on the mobile data on the problem started recurring . Sorry for being so vague am just trying to catch up and understand what you guys do.:o Anyone else notice the same? And ya am on the original loSconosciuto's ROM without any modifications.
[Samsung Galaxy SL i9003] BassBlaster:
Weirdass issue

Guys I have been using this amazing rom for the past few months, its wonderful, but just now I encountered a really weird problem. Yesterday I left my Galaxy SL on, it was 80% charged and had an alarm for 7AM. I woke up in the morning and found my phone turned off. I tried to turn it on but it got stuck on the Samsung Galaxy SL GT-I9003 logo, and would never go past it. I tried to open recovery, and for some reason recovery also did not open. As soon as I would do the recovery button combo, the Samsung Galaxy SL GT-I9003 logo picture would be suddenly covered with random small lines of colors, or maybe text, i'm not sure. I remember I had FSync turned off from the Advanced menu from Settings, could that have caused it? Download mode works fine though, so I guess I should be able to flash back to GB. Is there any way I can reinstall LoSco CM10 without having to go back to GB? Because I have some important files there that I would rather not lose. LoSco, is there a way for me to reflash just the CWM included in this rom with Download Mode? From there I can just flash your rom again from recovery and all my stuff should be there. Would really appreciate a response to this guys :) and great job on the rom btw, by far better than any other CM10 except for this weird issue only I have encountered ;).
[Samsung Galaxy SL i9003] shaktishekhar:
Ya my mobile also shutdown sevral time automatically when u turn on my screen bt ur wrong it has ntn to do wid d mobile data ut cn happen any time randomly bt as per my expriance do ignore this issue one two times it will automatically vaish bec mine is running fine now aftwr having two shutdowns :)
[Samsung Galaxy SL i9003] abderrezak:
any fix with usb . im now use kernel v4.1 and i have PC with win7 . i use samsung usb driver .... so what is the fix .

i still can't see my phone ....

note: i dont have sd card ... i use usb storage ...
[Samsung Galaxy SL i9003] Siddhant Shankpal:
Yeah, since yesterday my phone shut down several time. I thought that it's might be my battery problem as its swollen. (I too ordered a new battery :D)

The shut down happens like when I switch on the screen, suddenly the icons disappears & shuts down with a vibrate.:confused::o

Sorry LoSco that I'm not able to extract the logs for u. :(

Sent from my GT-I9003.
[Samsung Galaxy SL i9003] shaktishekhar:
try

i dont know whats wrong mine is working soo fine no issues running so well i do very heavy use of ma phone gps music wifi downloding hd games even i do OC no issue battery also running almost whole day with 6 ~ hr display on with mobile data sometimes wifi on :rolleyes: dont know wt to say i suggest u one thing me my self work in samsung service center tho i have all the firmwares with full modem boot csc files etc do format ur pda once repart ur mobile n flash it with full package u can find on net the odin pit and all the 4 files tn flash cwm n flash this with og gapps etc just give a try :good:
[Samsung Galaxy SL i9003] shaktishekhar:
Lag in system ui

[MENTION=4349695]loSconosciuto[/MENTION] I have toh tell you about one major bug in the rom :good:

after running phone lets say 1~2hr when i take screenshorts like just 1-2 screenshorts than the ram usage rapidly goes soo high like from ~16mb to 64 mb more than android OS let me show u and this is not just for one time i tried many times its happining tn i thought to tell u about u when i restart the systemui than it again goes back to 16 as after bootup try to fix it... :victory: View attachment 1938119

View attachment 1938120
[Samsung Galaxy SL i9003] AmmarGitham:
Which task manager is that?
[Samsung Galaxy SL i9003] shaktishekhar:
LOL WT A QUES System tuner not only in this if u open system panel than also same ram usage :rolleyes:

---------- Post added at 12:50 AM ---------- Previous post was at 12:44 AM ----------

FREE UP 102 MB IN SYSTEM AFTER FLASHING THIS ROM AND GAPPS

From /system/app

NoiseField.apk

OneTimeInitializer.apk

UserDictionaryProvider.apk

WAPPushManager.apk

VoiceSearchStub.apk

VpnDialogs.apk

LiveWallpapers.apk

SetupWizard.apk

VisualizationWallpapers.apk

LatinIME.apk (Only if not using AOSP stock keyboard)

Trebuchet.apk

Thinkfree.apk

CMWallpapers.apk

Apollo.apk

VideoEditor.apk

QuickSearchBox.apk

Email.apk

GoogleTTS.apk

Exchange2.apk

Talkback.apk

HTMLViewer.apk

MagicSmokeWallpapers.apk

VoiceDialer.apk

Term.apk

GenieWidget.apk

CMUpdater.apk

ChromeBookmarksSyncAdapter.apk

GoogleBackupTransport.apk

GoogleCalendarSyncAdapter.apk

GoogleContactsSyncAdapter.apk

GoogleEars.apk

GoogleFeedback.apk

GooglePartnerSetup.apk

KeyChain.apk

MediaUploader.apk

Microbes.apk

From /system/lib

libgcomm_jni.so

libgoogle_recognizer_jni.so

libspeexwrapper.so

libflint_engine_jni_api.so

libpatts_engine_jni_api.so

libmicrobes_jni.so

libvoicesearch.so

libvorbisencoder.so

from /system/framework

ime.jar (Only if not using AOSP stock keyboard)

from /system/media

Remove Video Folder

Enjoy 102 MB FREE :good: :highfive:
[Samsung Galaxy SL i9003] shaktishekhar:
Smooth Basic Good Script :)

I would like to share a basic script which i have made my self a small basic script to improve performance and responsiveness on this rom

#!/system/bin/sh

#

rm -r /data/local/tmp/*

rm -r /dev/log/*

rm -r /data/tmp/*

rm -r /data/system/usagestats/*

rm -r /data/system/appusagestats/*

rm -r /data/system/dropbox/*

rm -r /data/tombstones/*

rm -r /data/anr/*

busybox chmod 000 /data/system/userbehavior.db

busybox chmod 000 /data/system/usagestats/

busybox chmod 000 /data/system/dropbox/

busybox chmod 000 /data/anr/

busybox chmod 000 /dev/log/

busybox chmod 000 /data/data/com.whatsapp/files/Logs/

busybox chmod 000 /data/tombstones/

busybox chmod 000 /data/system/appusagestats/

#

#

chmod 777 /sys/module/lowmemorykiller/parameters/adj

chmod 777 /sys/module/lowmemorykiller/parameters/minfree

#echo "0,10,15,75,80,90" > /sys/module/lowmemorykiller/parameters/adj

echo "0,2560,3840,19200,20480,23040" > /sys/module/lowmemorykiller/parameters/minfree

chmod 444 /sys/module/lowmemorykiller/parameters/adj

chmod 444 /sys/module/lowmemorykiller/parameters/minfree

#

echo 15 > /sys/class/backlight/omap_bl/brightness

View attachment 1938328
[Samsung Galaxy SL i9003] Siddhant Shankpal:
Before u only posted abt the shutdown problem & ur only giving me advice abt it! :confused:

Maybe it's ur 2nd (New) battery that's y ur getting screen time up to 6hrs.

Do u mean that should do a clean flash from KPE firmware with .pit file?? If yes, then I'm lil scared to do that because of IMEI problem! :p:o

Sent from my GT-I9003.

---------- Post added at 04:10 AM ---------- Previous post was at 03:53 AM ----------

Yea, that's what I thought when it vibrate!

zRam is already disabled.

I'll see after getting my new battery abt the shutdowns.

& yea, I forgot to mention that my phone running is on xGamerz rom based on ur rom.:)

& again thanks a lot for fixing the Wi-Fi disconnection problem. :thumbup: but still the disconnection happens sometimes & when I try to restart the Wi-Fi from notification bar that time phone suddenly restarts, this restarts also happen sometimes not all the time. Just telling for ur info. :p :)

Sent from my GT-I9003.
[Samsung Galaxy SL i9003] imboy25:
Does that mean you'll be creating a new kernel? :)
[Samsung Galaxy SL i9003] loSconosciuto:
I've just found a bug. Time ago I included a patch (this), but it's making the device use more power. I'm sure I reverted it, but it was probably the wrong branch :silly:

With the above patch only the C1 state is used. I guess we need to update our C state latencies and thresholds in order to use it.

Most likely the kernel is now less performant and the effect of power HAL is slightly more evident.

Kernel updated.
[Samsung Galaxy SL i9003] MR.Volkf:
so can i flash this kernel to jellybam?
[Samsung Galaxy SL i9003] imjustafq:
Re: [KERNEL][CM10] qwerty [09/02/13]

what do you mean by less performant..? :confused:
[Samsung Galaxy SL i9003] LoLaTiOn:
Yes you can on all based Alpha 4

Just warn because the installation script is provided for the base CM10 Alpha 4

The file delete functions are different in kernel that you install

should consider a more efficient removal script for all beings on our kernel can cross

You can enjoy Lasted MIUI multi-lang powered by loSconosciuto kernel querty #1

Joke

I need a kernel azerty for french MouHaHa ?§!
[Samsung Galaxy SL i9003] wee2wee:
I'm on Dhiru's CyanogenMod 10 - Alpha 4 + safariking's Android 4.1 to Android 4.2 Mod package + your Optimus 4X style lockscreen + Nova launcher and this kernel with the add ons..did not tweak anything, battery charged to 100%...battery life is decent(pics enclosed), definitely much better in performance(best of many I've tried)...just switched to V2, performance is slightly not as good as V1 but acceptable if battery life has improved...now charging battery to 100%...clearly, the effect of power HAL is evident in V2(nothing happens in V1) ....Again, thank you for the great job done...
[Samsung Galaxy SL i9003] ALoGeNo:
Hi loSconosciuto congrats for this great work, the screen works much much better than never before (I was using crakerizer kernel I was very happy with that one and overclock at 1350Mhz), can you please do another kernel build with OC up to 1350Mhz please?.

Thank you very much, regards :good:.
[Samsung Galaxy SL i9003] loSconosciuto:
Not as snappy/smooth/fast/whateva as v1. A simple flash would have solved your doubt, don't you think?

If you want a better explanation, read this or anything else about C-states:

* qwerty v1: CPU all the time (if not all the time, most of the time) in C1

* qwerty v2: all the available C states are used (C1->C7)

To see the stats:

cat /sys/devices/system/cpu/cpu0/cpuidle/state*/name #C state name
cat /sys/devices/system/cpu/cpu0/cpuidle/state*/usage #Number of times the state has been entered
cat /sys/devices/system/cpu/cpu0/cpuidle/state*/time #Time spent in the state

No more than 5 OPPs. I don't want/have the time to deal with SmartReflex and, more importantly, 1,2GHz is fine for me. Read carefully XDA_Bam's thread, you can achieve that speed without rebuilding the kernel. The only problem is that voltages do not change, so you can't maybe increase the frequency as much as you want, and you are limited to 5 OPPs.

Consider that Nexus S is boosted to the maximum frequency. Try to adjust the frequency from DeviceParts, I don't think the battery will change that much.

I didn't properly test how battery life is with that patch reverted, but a proper use of the available C-states should definitely give more battery life.

But then I have to also release "qwertz". :p
[Samsung Galaxy SL i9003] rascal0pl:
Very stable @ 1200MHz ! Not like other CM10 kernels :) now subway surf ultra is smooth
[Samsung Galaxy SL i9003] Mamica:
yeah it is very good kernel!i will use it until the 3.0 kernel will be ready
[Samsung Galaxy SL i9003] ALoGeNo:
Well, I was used crackerizer @1350Mhz and was very stable (I was experienced some ramdom crashes/reboots using some app like whatsapp, and some lag) getting 3737 points in antutu, "BUT" this one qwerty v2 is much more faster managing /zapping between apps and the screen is working like EVER!!, this last one is getting around 3200 points in antutu at 1200Mhz, with qwerty I was experienced just 1 crash/reset by the moment and was @ 1000Mhz (I dont know why), now I'm using smartassv2 @ 1200Mhz and works properly.

In any case, to me ALL that kernels are realy amazing (only by the work itself) thank you all guys.

Thank you loSconosciuto :good: ;)
[Samsung Galaxy SL i9003] vishal24387:
@ loSconosciuto

I am not getting a good battery backup with latest kernel (as compared to ur old signal fix kernel). In deep sleep mode I lost nearly 11% battery in 6 hrs and 30 min :( I have attached all necessary screenshots.

EDIT : I tried to take dump file of battery battery stat but its giving a blank file. Otherwise I would have attached it :)
[Samsung Galaxy SL i9003] loSconosciuto:
@vishal

Mmmm, I think I know where's the problem.

Try to set 3 seconds of delay for "samsung-battery" from DeviceParts and then, if you want, start decreasing it to find the best value.

Stuff like radio management (and who knows what else) shouldn't rely on totally unrelated stuff like the battery monitor, but that's what I'm observing. I'm thinking of reverting all the changes to the driver.

It's just that the use of wake_lock_timeout (with a timeout of 3 second) annoyed me, but it seems there's no way around it:

...
It can also call wake_lock_timeout to release the wakelock after a delay:
wake_lock_timeout(&state->wakelock, HZ);

This works whether the wakelock is already held or not. It is useful if the
driver woke up other parts of the system that do not use wakelocks but
till need to run. Avoid this when possible, since it will waste power
if the timeout is long or may fail to finish needed work if the timeout is
short.

I'll probably just post a module with the code unchanged, in the meantime, if you are not thinking of moving to another kernel, try to do as I said.

Thanks for testing it.
[Samsung Galaxy SL i9003] vishal24387:
Surely i will try the modules :)
[Samsung Galaxy SL i9003] loSconosciuto:
Test:

I made some changes to the C-state latencies and thresholds using the informations available here.

Before changing our original values, I looked for their origin, because they are not the default ones. It turned out that they are the default values, but of older kernel releases. I don't know why they are no more used. (http://omapzoom.org/?p=kernel/omap.git;a=commitdiff;h=65edde98e574fd0ab5b23c7236e30752750d9965).

I also looked at what other OMAP3 devices use.

The Defy/Defy+ and the Nook use the same values we are using (but they both use the 2.6.32 kernel), while the Black (2.6.35 and 3.0.8) uses the measured values of the Nokia N900 (https://github.com/sconosciuto/andr...mmit/5a1b1d3a9efad6bd53d01ff02e86626d1a51d697).

I was hoping to see another device using the values reported on OMAPpedia, but that's not the case.

As promised, I also built the driver of the battery with no changes.

If you want to help me, flash battery-module-qwerty.zip over qwerty v1 (EDIT: I've just realized that it doesn't make so much sense doing a comparison with v1, since there's no use of the C-States) or v2, use it for a while and after that, once you have an idea what's the normal power consumption, flash the new kernel with the new C-state latencies and thresholds. If you flash everything at the same time, you won't know what's the cause of a bigger/lower power consumption.

Tell me if you notice any difference. Probably the difference with this new kernel, if any, will be barely noticeable.

Downloads:

battery-module-qwerty.zip

kernel-qwerty-cm-10-galaxysl-v3-test1.zip - UPDATE

Kernel patches attached.

PS: "Battery monitor" option in DeviceParts will be unusable after the flash of one of the above zips.
[Samsung Galaxy SL i9003] imjustafq:
our device have 7 c-states? wow..

so v1 used only 1 c-states while v2 and 3 used all 7 of them.. i see..

this means v1 is perfomance based while v2 and 3 are focused on saving the battery consumption is that it..?

is that using the c-states same as the device falling to very deep sleep? eg. to C7..

what i've read is that, the cpu will take longer to wake if higher c-states are used.. but that will be payed with a kind of good battery life? correct?

so there will be no performance and battery save within 1 kernel since its like a BIG power switch.. turn on c-states the power will be saved but no performance since cpu will take time to wake, but if you turn c-states off the performance will be going up but battery longevity will be shorten since the cpu will stay somehow awake?
[Samsung Galaxy SL i9003] joe21o:
Great bro only lose 3% at 8hr 30m when i sleeping. But i am using airplane mode. WIll try using 3g on.
[Samsung Galaxy SL i9003] loSconosciuto:
Yes. v1 was a mistake...

C-States should give a better battery life with no performance loss, in theory. but there's always a difference, even if minimal. Transintions from a C-State to another are fast, the values you see here are expressed in microseconds.

I still have some plotted data I collected months ago (screen off, airplane mode, 300MHz playing music). Because of the patch I used in v1 and reverted v2, the lines marked with PATCH shows the consumption when the CPU in always in C1, the other lines when all the C-states are used.

The difference is quite evident: Plot (and this is when I should have reverted the patch used in v1)

Anyway v3 uses all the available C-states like v2, but I intentionally disabled three of them (C2, C4, C6) other than modifying latencies and thresholds. The reasons are on OMAPpedia.
[Samsung Galaxy SL i9003] imjustafq:
Re: [KERNEL][CM10] qwerty [09/02/13]

i see.. u skipped the states in v3 to test the efficiency as stated at omapedia? why is the battery monitor become unusable as you stated for v3?

edit:testing v2 for battery right now.. the speed quite awesome, comparable to v1 that ive used for several days between roms.. will try v3 later after few feedbacks..
[Samsung Galaxy SL i9003] rodero95:
Re: [KERNEL][CM10] qwerty [09/02/13]

Because he reverted the changes he made to the module, just to test for that people who were having problems.
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4349695]loSconosciuto[/MENTION] i know ur busy i am nt trying to free up more n more ram am just telling you the systemui.apk use less ram normally if i dont take screenshort like just 16 mb but when i take screenshort than the use rapidly goes up like around 50 60 mb am saying that when ever u get time .. check it .. :confused:

---------- Post added at 07:47 AM ---------- Previous post was at 07:40 AM ----------

now waste space c like gapps containing google search which is google now it has a very heavy lib files but when u update google now from PS than the new lib files goes into /data/---- than system lib is kinda waste only and the apk which i said to remove it not much usable not so essential if u remove than also rom runs well n light little faster thats it and ya /system is a R/O memory brother but what about su sh commands root permission give you privilege to do such operations or use adb to remove :confused:
[Samsung Galaxy SL i9003] cukierkas:
[MENTION=4588282]sgatechwork[/MENTION]

You should return to school and remember some grammar lessons.

This piece of words is hard to follow and shows your short mind. Please consider to respect other users with your manner of speech.

Thank you.
[Samsung Galaxy SL i9003] shaktishekhar:
:crying::crying::crying::crying: :crying::crying: :crying::crying: :(:(:(
[Samsung Galaxy SL i9003] simratcs:
The beat battery life on any cm10 rom i've ever got :D

Loco this rom is damn awesome man :D