yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy SL i9003] loSconosciuto:
I made a simple update for my last build: cm-10-20130909-galaxysl-update-signed.zip. It's not an entire build and it's flashable over all the builds with the 3.0 kernel that I released.

There are not so many changes, mostly fixes.

Kernel: I changed the reference clock for l3_main. We increased its frequency to 400MHz, but l3_ick has a max rate of 200MHz, so I don't think that l3_main was actually set to 400MHz. Besides that, I kept the changes I made for bluetooth that were included in the last kernel I posted.

Patches:

0001-board-latona-BT-runtime-PM-adaptation.patch

0002-board-latona-hold-wake-lock-on-WiLink-awake.patch

0003-mach-opp-use-dpll3_m2_ck-as-reference-clock-for-L3.patch

ROM: I included the fixed camera HAL I posted earlier today, the sensor HAL with the fix for the orientation sensor and a modified power HAL which will no longer set the max freq to 600MHz when the screen is off (to fix a bug that automatically set the max frequency to 600MHz even when the screen was on). I also included Trebuchet, which now allows you to set a custom icon from an icon pack for docked apps.

Did you consider the "Phone On" time? Its total time increases while calling and I don't know how much you use your BT headset, but if you calling and the screen is off, then the difference between screen on time and awake time will increase.

The thing I wanted to fix can't be seen there, what matters is that it's now fixed.
[Samsung Galaxy SL i9003] xda_emanuel:
Thanks for the update :) now everything seems to work just fine. The max frequence bug has gone, gtalk works fine and the phone smoothness is really improved.
[Samsung Galaxy SL i9003] cukierkas:
Founded tiny bug, we were talking about before. Default email app doesn't light up pulse notification. Even with right settings. And yes, rom is much faster now. :)

About removing gapps from addons. Yes, that reduced wakelocks a lot, and per night in flight mode none % gone. Lovely. That shows me, that gapps, screw them, is really battery hungry, even with all sync off. Thanks for advice.

Regards.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] cukierkas:
Strange, sometimes can't upload pictures via xda app. So need to add new post.

Regards.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] chongns:
Hi losco sorry to ask here. What the meaning of kernel 3.0.y you stated in op. the"y" is what version?
[Samsung Galaxy SL i9003] Gondya bhau:
[MENTION=4349695]loSconosciuto[/MENTION]

i am on this rom for a few days now....performance wise, no issues....real racing 3 crashes once in a while...but it runs smooth when it does run....

noticed two things though...

1. there is this boost option in advanced -> glaaxy sl settings.....boosting freq. is set to 600 mhz....what exactly does it do ???

and

2. while battery life on this rom is decent (60-70% of kernel 2.6 builds), the only issue i am facing is that my phone is getting woken every once in a while in the night.....if you check the screenshots...the battery history shows the phone waking up every once in a while....BBS shows alarm manager wakelock for 1hr 25 mins....and afaik, that wasnt there when i check BBS before going to sleep....(audio out was earlier while playing real racing 3)....and i dont have an alarm set....so is there any way to solve this alarm manager wakelock ??? or is it something else waking the phone up ??

thanks :good:
[Samsung Galaxy SL i9003] loSconosciuto:
The 3.0 branch is maintained and constantly updated until October and until then I'll keep merging the changes. That's what the "y" stands for.

1) See the first post (kernel 2.6.35 section) and this post, also linked in the first post.

I modified power HAL though and now the instead of boosting the CPU on user interactions, it keeps the CPU at at least the boost frequency while doing something. For example if you are scrolling a page, the CPU will be kept to at least the boost frequency for a bit before going down to the minimum once you've stopped scrolling. If you set as boost freq 300MHz, you'll basically disable it.

2) I guess you are comparing the battery history graph with those of Android 4.2. Be aware that Google changed that. If you look at some screenshots, you'll see that with Android 4.2 even if the screen is on, the device is not shown as awake.

Alarm manager is due to some apps. I had the same problem when I modified the battery module with my old 2.6.35 kernel, decreasing the wakelock duration of samsung-battery. As soon as I did that, alarm manager started to keep awake the device a lot more. I think it only means that the device can sleep better and that partial wakelocks are more needed now. I also think that kernel wakelocks are not shown in the battery history graph unlike partial wakelocks.

3) Alarm manager is not for alarms, not only at least, it's used by apps to awake the phone and perform some tasks.
[Samsung Galaxy SL i9003] Gondya bhau:
i wasnt comparing it to 4.2 roms...i was referring to the Awake pattern shown below the graph in the Battery History screenshot(attached below)....you can see that the phone dosnt sleep peacefully the whole night...something ( and most probably Alarm manager wakelock) was waking it up again and again......the apps which could awaken the phone ( ie. which have a possiblity of running in background ) are all greenified....
[Samsung Galaxy SL i9003] ricpersi:
Hi loSco (I also sent you a pm but maybe you don't want to be contacted by pm), can you have a look at the following last_kmsg logs? Do you notice anything wrong?

http://pastebin.com/TYZ3mfAt

http://pastebin.com/Ci9bHD3f

cheers
[Samsung Galaxy SL i9003] LoLaTiOn:
It's even harder not to answer a private message

I understand very well what kind of situation

Patience is a virtue
[Samsung Galaxy SL i9003] ricpersi:
I've been looking at the logs I posted yesterday and it seems that there could be some inconsistencies in the filesystem. What do you think loSco?

The reboots are happening too often in my opinion, almost 3 or 4 a day. I'm going to try and fsck the partitions and see if they have errors.

cheers

--edit start--

Regarding the network signal loss I'm attaching some modem logs:

http://pastebin.com/H1iqPWQ1

http://pastebin.com/Vv6wGc1G

http://pastebin.com/EPkaVzEb

Also linking one more last_kmsg log:

http://pastebin.com/dDZC31wC
[Samsung Galaxy SL i9003] cukierkas:
strange, I never had any of sudden reboots :)

[MENTION=4349695]loSconosciuto[/MENTION]

Returned to gb this week just for one reason - work related app, witch works only on froyo + gb.

is there a possibility to make it work on JB?
[Samsung Galaxy SL i9003] puppynaz:
Does anyone else have network issues here? I used CM10.2, CM10.1 and finally I'm using CM10 with Kernel 3.0.94. The problem is still there. Like, I get a network for 10-15 minutes and it disappears. And it comes back but it disconnects too. Anyone else face this issue? :(
[Samsung Galaxy SL i9003] cukierkas:
try gb first and recall if the problem is there.

I never had issues with 3g or 2g, rock solid, thanks to devs.

maybe something with modem?

is emei not lost?

try another providers sim card, is it the same?
[Samsung Galaxy SL i9003] ricpersi:
I'm facing network issues as well. My problem is that once I loose the network signal there's no way to get it back other than rebooting the phone.

I also tried going into settings -> flight mode (enabling and disabling it) as suggested by loSconosciuto but it didn't work.

You could install https://play.google.com/store/apps/details?id=com.tortel.syslog and take logs when this happen and upload them on pastebin so everyone can look at what's wrong. Remeber to remove your imei from the logs before uploading.

cheers

--edit start--

as cukierkas said, check that your imei is correct by going into Settings -> About phone -> Status

Maybe the following links are related?

https://code.google.com/p/android/issues/detail?id=14510

https://code.google.com/p/android/issues/detail?id=14672
[Samsung Galaxy SL i9003] puppynaz:
I tried on Gingerbread, it works there. All was fine then. Maybe it's kernel related, because I never faced this on CM10.1 Alpha 8 but after Alpha 9 I'm facing this. I thought it would be fixed in CM10.2 but no luck there either, so I came back to CM10 Qwerty builds. IMEI and everything's right in it's place, not lost or anything. I even tried replacing the modem.bin from the Stock ROM's tar file in the radio folder, still of no use. :(

Yes, the same issue like yours.
[Samsung Galaxy SL i9003] Drizzt_Kueh:
Where did my sods go? And my unexpected reboots?

Damned dev. The ROM is working unexpectedly the way it was expected. Almost perfect, i have only the known bugs about video sync.

This is almost, ALMOST, boring...

Great work! Excellent!

BTW: the only annonying thing (just my opinion) is the cell disconnecting itself from the charger when it is fully charged. I know it's the expected behavior.
[Samsung Galaxy SL i9003] ndttung8487:
Thanks alot for your work loSconosciuto. Just wait for next OC kernel from you and i can play much more heavy games.
[Samsung Galaxy SL i9003] xda_emanuel:
Hello, this morning i got 4 reboot and a weird unstable wifi.

According to the developer below are the logs
[Samsung Galaxy SL i9003] ramezabd:
I think I had same problem as you, I have asked it in so many threads, but didn't get proper answer. I think its because of instant changing of custom roms like rom to rom instantly. Try to do full lf2 then qwerty, it made changes to my device, and never faced it again. Hope it will help you :o
[Samsung Galaxy SL i9003] puppynaz:
Alright, I'll give this a go. Wish me luck! Thanks, even if all hell goes loose, bud. :D

---- EDIT -----

Well, hey, I tried. The problem still persists. :(
[Samsung Galaxy SL i9003] sam_777:
I'm having AV issues-I did dirty flash. Once I did clean DDLF2 flash but did not work out. Would like to try your method. Would you please specify the version of QWERT to flash after DDLF2. Many thanks.
[Samsung Galaxy SL i9003] marras:
Wtf????

https://db.tt/dX0QEcFH
[Samsung Galaxy SL i9003] ramezabd:
I did as see in flyongb rom thread, there is step by step to flash ddlf2 and the kernal, then flashed latest version of qwerty directly. Thats it. I think that's clean flash
[Samsung Galaxy SL i9003] loSconosciuto:
cm-10-20130922-UNOFFICIAL-galaxysl.zip

Added USB cdrom emulation support, true CD-ROM emulation (see this for more info) (I used a live linux distro hosted on my SD, it works pretty well)

Reintroduced max CPU screen off frequency (now customizable, see DeviceParts) [1]

CPU overclock, 1.2 GHz, disabled by default. [2]

Increased external SD cards readahead to 1024kb

Restored L3 OPPs frequencies (they weren't actually overclocked) and enabled OPP1 [3]

Lower memory bus constraint when the screen is on

Minor fixes and cleanup

[1] I used early suspend this time because power HAL is not reliable.

[2] I had to disable SmartReflex calibrations for OPP5, I could get a stable device at 1.15GHz "only" with it. I locked the voltage at 1.4000 V, my device is almost stable at 1.2GHz at 1.3875 V, but not enough. 1.3875 V are good for 1.1GHz. 1.4 V are maybe not enough for everyone. If have too many reboots, don't overclock.

[3] OPP1 didn't allow few devices to boot, but it seems to work now. If you still have problems, here you can find an ODIN recovery only flashable kernel (kernel3-recoveryonly_PDA.tar) to flash what you want without going back to stock.

The kernel is built starting from my latona-3.0.y branch with all the patches of this zip.

Test:

I didn't include the change for the signal loss I talked about in this build. For that, there's an additional kernel you can flash:

kernel-cm-10-20130922-galaxysl-whitelist-signed.zip

kernel-cm-10-20130922-galaxysl-signed.zip

The second one will restore the kernel included in the build. Tell me if it gets better or not.

You'll see an additional kernel wakelock named ipc_spi with the first kernel.

[MENTION=5214686]Drizzt_Kueh[/MENTION]

Unfortunately there's no way around it. I could actually decrease the interval from 90min to something else, but there must be some limit. The old kernel did that too, it just didn't work so well and worked only with wall chargers when the device was suspended. I used to get 97% in the morning with a sudden drop, I prefer things now.

@ everyone

It's been said several times that flashing all the way from stock is just a waste of time. You get the same result by doing a data wipe/factory reset from recovery.

/system is formatted every time you flash CM, that includes updates, /data only when a factory reset is performed, /cache can be easily formatted from recovery, but that's not necessary.

The only things that change flashing a stock ROM is the content of /efs which is re-copied after the MTD conversion from your actual /efs partition, so you'll end up with the same thin, and /radio/modem.bin will be taken from the zip of the ROM and you can replace manually whenever you want as I wrote in the first post.

If you have to get rid of gapps just delete /system/addon.d/70-gapps.sh. /system/etc/hosts is saved by /system/addon.d/50-cm.sh

PS: Even if I'm not replying to all the post with logs attached, don't worry, I'm reading all of them.

EDIT:

[MENTION=1152279]marras[/MENTION]

Did you flash anything which wasn't made by me? I can't see how an ICS image ended up on your device otherwise.
[Samsung Galaxy SL i9003] ndttung8487:
Hi loSconosciuto, Thanks alot for this amazing! I send you a picture from my phone..:D:D:D
[Samsung Galaxy SL i9003] ageback:
OC to 1200 is very unstable on my device, it got hot reboot loop each time boot to systemui.
[Samsung Galaxy SL i9003] ndttung8487:
My device quite stable with OC to 1200, run smooth and no boot loop or sod. I wipe everything from cwm and flash this rom, fresh install all apps.
[Samsung Galaxy SL i9003] ageback:
First, I flashed over previous version(0909) w/o wipe and OC issues reboot. Then I wiped data/factory reset and cache, OC still rebooted. I wiped again and reflashed latest version but still no luck with OC.
[Samsung Galaxy SL i9003] ndttung8487:
Here are my steps:

1) Wipe data

2) Wipe cache

3) Wipe Dalvik

4) Wipe SDcard (not external SD)/ system/data/cache/boot

5) Install latest version with gapps/ wipe dalvik

6) At first boot, change maximum to 1200, tick set on boot

7) I remove some extra using Titanium backup root: TTS/Picasa/face unlock/CM updater/Talk/Voice....(depend on what you need or not)

8) SwapSD by terminal, reboot, and install all fresh app

9) After successfully install all apps, reboot again and using.

Try this if it helps you. With all above steps (may be it waste a little time), my phone run smoothly and stable. Good luck.

P/S: Hi Losco, notification light for email doesn't work even i tick "LED notification" in email setting. Any solutions? Thanks alot for this amazing rom. Network look stable.
[Samsung Galaxy SL i9003] cukierkas:
congrats with eurochamp's 1st place :)

Sadly, Lithuania is only 2nd :)

returning from gb to yours rom, our internal app was modified (as you have said, that was error of development, it was buggy on jb).

later on will add some observations, but I'm sure it will run as smooth as it possible :)

Regards.

PS, can someone provide me a zip or host file, where google ads are disabled only.

ad-free or ad-away works with all the sites, I want to disable google adds only.

Thanks.

LosCo - youre the genius, phone runs smooth and light. thanks for it ;)

Ps2 : about flash player. It's not included by default, but last available version from adobe for ics works perfectly.

http://download.macromedia.com/pub/...roid/11.1.115.81/install_flash_player_ics.apk

Can you add it for later releases? In such cases it will be available for new QWERTY users and rom changers :)

Same issue with email and pulse notification, but we were talking before about it.

Got one hot reboot while uninstalling app. The first one in QWERTY usage overall :)

Didn't tried overclock, maybe later on. Same crappy situation with bt, but thanks, you improved it and a lot :)

Camera doesn't shoot so well as with gb, but I think Samsung made some kind cheats to work better on their rom. Can be it like that.? Anyway, I'm happy that it works :)

By the way, funny situation. Does this rom includes gapps by default? Just asking, because while installing QWERTY and gapps in one go, I jumped to endless boot loop. Afterwards I booted to cwm, made system format and installed rom only. Booted properly. And first question was about gapps account. So, I'm wondering, does gapps leftovers left after system format or this rom includes it anyway?

And yes, its not so wakelock and awake hungry as in previous versions of QWERTY. Was installing xsgapps xda_emanuel suggested before system format.

Regards.
[Samsung Galaxy SL i9003] loSconosciuto:
[MENTION=4367511]ageback[/MENTION]

You can re-flash the ROM as many times as you want, but if your device can't handle 1.2GHz @ 1.4 V it just won't work. You probably need something more. In my old kernel OPP5 has a nominal voltage of 1.4 V, but SmartReflex, here disabled, can increase it (or lower it) if required. I'll think of something, but I'd prefer not to increase the voltage to 1.4125 V.

Don't tick "set on boot" unless you are sure your device can handle it.

FYI there's an option in the settings to do that.

I tried the app a few times already after cukierkas reported the problem, but it had always worked for me. I just had to enable LED notifications from the settings of the app. I don't use it though, so I can't say if there are issues only in certain conditions, which is probably what happens since I couldn't replicate the problem.

I prefer not to.

Yes, Samsung did some changes to the GB HAL specifically for the stock camera app, probably they just tuned some values, but they indeed did something. I can't say anything about the quality, I just looked at the source code.

No gapps included. You can safely flash everything at once, at least using the "official" gapps installer. I don't know what happened to you.
[Samsung Galaxy SL i9003] cukierkas:
Thanks for answers. Some more questions :)

Does zram works on QWERTY?

is it worth using it? Does it really uses more CPU than gives real advantage?

http://xdaforums.com/showthread.php?t=2320734

Made 10% along with 1100 MHz overclock. Will see the difference later on :)

Regards.

About gapps, thinking, that they were installed to /data, so it ran perfectly after rom install. Am I right?

Sent from my GT-I9003
[Samsung Galaxy SL i9003] shaktishekhar:
is the BT issue is fixed like when using WiFi the bluetooth music hangs or wile screen is off Bt keys stopped responding and wile using wifi the cpu usages goes 100% ?
[Samsung Galaxy SL i9003] ndttung8487:
Thank you very much loSconosciuto, Another problem i've found is that when i'm listening to music, sometimes it stop for second and continue playing.

My device handle OC very well so i tick from the begining after install rom.

SwapSD: i didn't notice that!! My bad.

Overall, this rom suit great with my device.
[Samsung Galaxy SL i9003] cukierkas:
Yes, +1 for music jerking while browsing or xda reading/writing. At first thought, that my settings, zram, ksm, etc stands behind it, but yes, it's stops for a milliseconds, like CD would be scratched.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] hjs89:
It happened to me on FlyOnGb rom while I was using DSPManager. It happens when you touch the screen and sounds. Desactive sounds when you touch the screen or while you are writing.

PS: I've bought a new battery for my i9003, it's a BlueStar 1900mah and now I have a new phone. Enough battery life for a whole day and super smooth with lasts qwerty builds!!
[Samsung Galaxy SL i9003] cukierkas:
I have no unnecessary sounds enabled, only rings and notifications.

Not using dsp manager either.

By the way, was whole day on 1200Mhz and got 3 reboots. Zram enabled with 10%, ksm with purgets aswell. On stock 1000 no reboots at all :)

Noticed, that losco works hard on 4.3 .

Will something useful would be added to QWERTY?

Regards.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] Drizzt_Kueh:
Sod Log

Attaching the last_kmsg of a sod, for [MENTION=4349695]loSconosciuto[/MENTION] to take a look if he is curious. It's not happen so often.

As the ROM works better and better we, the users, are becoming more detailer (sorry for that): Usually the phone lost the signal, and there is no way without rebooting (I've tried with airplane mode too, no luck), to force the phone to get signal again. Can it be related to the rom? If i post the radio log will be useful for something?
[Samsung Galaxy SL i9003] cukierkas:
hello there. today I had got 2 signal drops, needed to restart.

Want to download kernel-cm-10-20130922-galaxysl-whitelist-signed.zip but can't find it in gdrive. where it is?
[Samsung Galaxy SL i9003] loSconosciuto:
Yes, it works. I tried it long ago with the old kernel, but I'm currently not using it and never really tested it with this kernel, just with the old one.

WiFi + Bluetooth issues probably are there, I didn't change anything.

I don't know about the others.

Try audio_hw_decoders.zip

I had to disable the hardware decoders once and since no one reported any issue, I kept them disabled.

EDIT: It seems they break MP3 playback. I will look into that.

The log doesn't show anything useful. (sod)

As for the missing signal, I think it happened to me a few times yesterday, but I'm not sure if it was the same problem. I usually use 3G only and switching to 2G only always restored the signal, so I'm not sure if the problem was that there was no 3G signal at all in that area or switching to 2G did something to recover the signal.

logs might be useful, but there were some radio logs posted and I didn't notice anything suspicious.

On my computer :silly:. I uploaded two new kernels:

kernel-cm-10-20130925-galaxysl-signed.zip

kernel-cm-10-20130925-galaxysl-whitelist-signed.zip

I included in both the kernels the patches you can find on the root folder of GDrive. One of the changes replaces the touchscreen calibrations with chip resets, I had the impression that the touchscreen is less affected by moisture or dirt upon wakeup, but I'm still testing it. Chip calibrations were introduces few releases ago as part of this.

My kernel sources can now easily be used for cm-10.2 simply using latona_cm10.2_defconfig instead of latona_defconfig as kernel config.
[Samsung Galaxy SL i9003] cukierkas:
Thanks for updates. Yes, with audio_hw_decoders music plays better, no scratches at all, except when loading or closing heavier app. During normal workflow, music playback is acceptable. Will report about signal drops later on, by now everything is grant.

ABOUT zram, as I said earlier, using 10%, and have about 50-80MB ram free. More often used apps opens faster, forgetted apps loads way slower. That is grant with me, I'm heavy multitasker between dialer, mail app and browser.

One more thing, about webkit. Using NB pro browser, which is based on webkit and have text box filling problem from selection list. What is meant, is that when I'm selecting entry to fill the text box, selection list doesn't hides automatically, as it was on gb, I need to tap empty space to hide it. My question is, is that webkits problem or browser problem?

Sent from my GT-I9003
[Samsung Galaxy SL i9003] loSconosciuto:
There are some issues however, I don't know if you saw the edit. Often music can't be played and logcat shows some issues with the OMX. I found that in CM10 there's no support for a codec quirk which seems to be required for our MP3 decoder and in fact, once I added the support for it, everything started to work properly. Patch.

I updated audio_hw_decoders.zip, it includes the modified libstagefright.

The last time I tried zRam I was using the 2.6.35 kernel, where the driver isn't updated and multitasking isn't as good as with the 3.0 kernel.

The same thing happens with the stock browser.

The list will stay visible as long as what you typed is a substring of at least a hint. I would have hidden the list when input = hint, I don't know if this was a wanted behaviour or not.

EDIT: To answer your question, I don't know exactly where's the "problem".