yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy SL i9003] loSconosciuto:
cm-10-20131018-UNOFFICIAL-galaxysl.zip

Possibility to take logs with a key combo [1]

Possibility to change OPP5 voltage

Misc kernel changes [2]

[1] My previous implementation was pretty ugly and was made primarily to take logs while the device was not working at all. This is instead a proper implementation, but probably it won't work with semi-SODs. It's pretty handy.

All you have to do is to press "vol up + vold down + power". LEDs will blink twice and /storage/sdcard0/logs_qwerty/log-DATE-TIME.txt will be created. In case the SD card is not mounted (ie: while booting), the file will be created in /data/logs_qwerty/log-DATE-TIME.txt. Whenever you had to report issues, press the three keys and post the generated file (it includes: build version, kernel version, dmesg, last_kmsg and logcat).

[2] Tell me if you have issues with the mobile signal or mobile data. I know some of you have issues, so I made a couple of changes, but probably they do nothing. Everything was working correctly for me and nothing broke. Report issues only if everything was fine in older builds.

Patches here.
[Samsung Galaxy SL i9003] ndttung8487:
Say goodbye to you...

I've lost my phone two days ago when i go for a trip. I'm very sad as i love my phone so much. Today i have a present nexus s from my friend so i wanna say goodbye to i9003 dev section. Thanks alot Losco for your amazing work, and many thanks to Dhiru also. All supporters and nice guys here help me alot when using my phone. Good luck to all and see you soon.
[Samsung Galaxy SL i9003] cukierkas:
Hello. Upgraded to latest rom + keepmeawake zip, tested for couple days. No bugs or reboots or sods detected. Very stable and smooth. Don't know is it placebo, but seems no signal drops, even 3g seems to be stronger. Can't confirm, it's just a thought.

One discovery, if I'm changing screen of frequency to 300MHz, Bluetooth seems to work very unstable, doesn't connect or pair properly.

Settled wake lock duration to 50ms, battery holds a little bit better, but can't confirm it as well, just a thought.

By the way, started to use default dialer, funded a lot of minuses, comparing to third application, EXDIALER. That would be missing quick dial, calling back to default number if there is more on one name, short minimal list, etc. Returning back to beloved exdialer

Regards.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] AmmarGitham:
Hi loSconosciuto,

Is it possible to backport few developer options? Like Show GPU Overdraw and On-screen GPU profiling? Would be useful.
[Samsung Galaxy SL i9003] barrubba:
i'm on 2013 09 29 version..the only problem is pairing BT, the rest is smooth..

with last version which are the news?

BIG LOSCO! :)
[Samsung Galaxy SL i9003] loSconosciuto:
Limiting the screen off frequency to 300MHz is not good in my opinion. I was omitting that in DeviceParts, but I then decided to add it to let you do whatever you want, but avoid it.

Ummm, I think it requires some work, so I'm not sure I'll do it.

Go through the last pages and read my posts. I suggest you to update, you are using a pretty old release and I made some important changes in the last month.
[Samsung Galaxy SL i9003] barrubba:
OOOk!!right.

can i upgrade without reinstall all app?

or is better starting from 0?

thanks
[Samsung Galaxy SL i9003] catarifrangente:
Wow, cool rom, I tried qwerty time ago and it was good, but not so good! Very compliments to you Dev!

Just one thing: I noticed that emoji aren't fully supported, the first ones in the emoji list are not emoji but android green emoticons. I'm providing you a screenshot.

Is it possible to do something to fix this? I tried to install mms.apk from 10.2 setting rwrr permissions but it force closes every time.

Thanks.
[Samsung Galaxy SL i9003] Drizzt_Kueh:
Hi [MENTION=4349695]loSconosciuto[/MENTION], I have problems to change the mobile networks.

Example, when trying to switch from 2g/3g to 2g only from the power widget, the icon 2g appears just for a fraction of a second and then turned back to to 2g/3g icon again. This isn't happen only from 2g/3g to 2g. It also happens switching from 2g only to 3g only. But not from 3g only to 2g/3g.

I'm attaching the radio log. I notice some relevant lines there, but I cannot understand what's wrong.

PD: This always happened to me with all CM versions. I'm presenting this case as I see that the rom is very polished right now. Thank you for that!
[Samsung Galaxy SL i9003] hjs89:
Hi [MENTION=4349695]loSconosciuto[/MENTION], recently I had some SOD with your last kernel 1017 and 1010 rom.

The first one (1024) was before lie on my desktop all the night without data or wifi, when I wake up the screen wasn't responding and the battery drained about 30% during all the night.

The second (1025) was before a 5 minutes call. When the call ends the screen wasn't responding but I received a whatsapp message and I heard the notification. So seem that the problem is that the screen is not waking.

PD: I can't found logs on /storage/sdcard0/logs_qwerty/log-DATE-TIME.txt or /data/logs_qwerty/log-DATE-TIME.txt.. But I think that are created on /data/logs_kernel/log-DATE-TIME.txt:confused:, I've uploaded that logs.
[Samsung Galaxy SL i9003] loSconosciuto:
Everything is in the first post.

No, you don't need to wipe data.

I've never cared enough to change them.

Flash mms_emoji.zip. I've also added the button to insert emoji quickly.

I think it happened to me, but usually trying again works. However I rarely change mode, so I was probably lucky.

I'll see if I find anything, I just don't have much free time lately and RIL, modem etc. are a pain to fix.

logs_qwerty is used with my last build, you probably flashed the standalone kernel. Anyway, you forgot to attach/link the logs.
[Samsung Galaxy SL i9003] hjs89:
Sorry [MENTION=4349695]loSconosciuto[/MENTION], the logs were to big to be uploaded as a txt :cyclops:
[Samsung Galaxy SL i9003] catarifrangente:
Working SSSuper fine!

Thank you very much!:)
[Samsung Galaxy SL i9003] loSconosciuto:
I had to test something with the old kernel and since the last build using it was pretty old, I updated it.

cm-10-20131027-UNOFFICIAL-galaxysl.zip - kernel

2.6.35

I didn't try it that much, I think I mistakenly swapped the memories in CWM and when I realized it, it was too late.

I also verified that my SD card works correctly with the old kernel, so the problem is not entirely due to my SD card.

I've also made a new 3.0 kernel build:

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

I simply updated it to v3.0.101 which is the last release of the 3.0 series and made a couple of simple changes:

-CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

-# CONFIG_TIDSPBRIDGE_CACHE_LINE_CHECK is not set
+CONFIG_TIDSPBRIDGE_CACHE_LINE_CHECK=y

and reverted this since I couldn't notice any difference.

I can see that the device stayed awake for almost 8 hours and it lost 30% of the battery as you said. Everything is ok according to the logs, no errors, but the last ~500 lines of the dmesg are just "<6>[XXXXX.XXXXXX] max17040 4-0036: online = 1 vcell = XXXXXXX soc = XX status = X health = X temp = XXX charger status = X" repeated over and over, which means that the device didn't anything but discharging without never entering deep sleep.

The logcat clearly shows some activity, mostly from Google services which kept track of the device position (which apparentely was never moved).

Unfortunately I couldn't find anything interesting. Thanks for the logs.
[Samsung Galaxy SL i9003] sh7adeh:
anyone notice that battery drain when mobile standby is increased in newer versions of kernel ?
[Samsung Galaxy SL i9003] eduCoder:
I have been using your kernel 3.0 rom for one day.

When I wake up today the phone was off. I have attached the charger but no battery animation or any other lights seen, it seemed dead!.

Trying the keys combo for logs did not cause LED blinking.

I then hold power button until boot logo appeared. The battery was above 50%.

Here is the last kmsg, and thanks for your great work.

---

Was about to send from my GT-I9003 using xda app-developers app but could not find a way to attach a text file so used browser instead!:confused:
[Samsung Galaxy SL i9003] cukierkas:
Hello there. Upgraded to latest kernel version. Everything is grant for the moment, will inform if something fail.

Regards, happy user.
[Samsung Galaxy SL i9003] Gondya bhau:
some coincidence eh...i was gonna ask you to update the 2.6 kernel build today.....i flashed the 2.6 build day before yesterday to have a direct comparision.....

what i found out.....my battery is still pretty good otherwise....so that means kernel 3 + backlight is causing the drain....attached some screenshots on 2.6....around 1hr 20 mins real racing 3....1 hr music....and with 2 n half hours screen on time...it still lasted soo much time.....i would have got half or less time with the new kernel :crying::crying:

kernel 2.6 is a little less responsive....lags a bit at times but really as far as my needs are concerned, i would prefer the better battery....the other issue i faced on the kernel 3 rom (which isnt on 2.6) is that music occasionally force closes while playing....thats another pain....

anyways thanks for the update :good::good: :laugh:

btw in qwerty, have you implemented any of these battery optimizations dhiru mentioned or is this separate ?? https://www.facebook.com/photo.php?...018172090101.121054.1117833183&type=1&theater
[Samsung Galaxy SL i9003] cukierkas:
Hello. Can't get the understanding of your post.

Correct if I'm wrong, but you're saying, that rom with kernel 2,x has better battery backup but not so performance wise? or vise versa?

I never had a backlight issue, nor I do have sony panel.

With kernel 3.x I do have not more than 3,5 hrs of screen time, but I'm heavy user with 30mins of talk minimum per day via bluetooth, exchange mail with push, a lot of browsing. No games. 3g always.
[Samsung Galaxy SL i9003] loSconosciuto:
kernel-cm-10-20131028-galaxysl-signed.zip

I think this is causing some reboots, so I rebuilt the kernel with it reverted. No other changes.

I've also fixed the navbar: navbar_fixes.zip.

Even if you toggle it from the powermenu, it won't overlaps with the notification panel, keyboards etc.

You can also resize it from terminal emulator. You must define the sizes in pixels, so for example if you want to set 30dp (corresponding to 45px):

su
setprop persist.sys.nav_height 45
setprop persist.sys.nav_height_land 45
setprop persist.sys.nav_width 45

and

su
setprop persist.sys.nav_height ''
setprop persist.sys.nav_height_land ''
setprop persist.sys.nav_width ''

To restore the original values. (or delete /data/property/persist.sys.nav_*** and reboot)

Toggle the navbar from the power menu to update it.

Not very handy, but better than modding framework-res.apk and everyone can do it. I'm too lazy to add a setting for this.

It should work with with all the recent builds, but I tested it only with the last with the 3.0 kernel.

The log is clean, no errors reported.

He didn't mention anything specific there, so I don't know. 3 days without actually using the phone are probably not that amazing.
[Samsung Galaxy SL i9003] cukierkas:
Thanks, navbar works perfectly. I reduced the size, because screen is not so big :)

One more thing. Is it possible to make it transparent, as on newest kitkat?

About kernel, everything is smooth and rock solid. No sod, hangups or something strange. Ghost call sometimes appears. Got one today with newest kernel, but afterwards its grant.

Great job, willing only better battery backup :)

Regards.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] ageback:
Hi, can you tell me how to adjust navibar height?
[Samsung Galaxy SL i9003] cukierkas:
please read authors post again.
[Samsung Galaxy SL i9003] hjs89:
Hi. I've downgraded to 2.6 kernel from 3.0 kernel too. The old kernel is more battery friendly, I think that 3.0 kernel can't sleep well, the phone is more time awake when I use 3.0 kernel.

In the other hand with 3.0 kernel the phone has less lag and feels more smooth and powerfull. But since I use my phone for send messages, check email or websites I prefer a long battery life.
[Samsung Galaxy SL i9003] cukierkas:
Migrated and I to kernel2 version to check battery backup. One small thing discovered. Can't turn off soft button backlight. Screenshot attached. Zram works alright.

will info about battery backup later on.

edit: yes, external and internal sds are swapped by default.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] cukierkas:
Couldnt stand the lag on kernel2, so returned back to latest version of kernel3 :)

Lets talk about zram more.

I did a small survey. And founded that zram 10% is best solution. Installed a small app, it shows current status of zram usage. Free ram about 80-120mb, apps runs smooth. Zram 18% makes a little bit more of free ram, but heavy apps just loads slower and sometimes just fade out without starting.

Thanks one more time for so polished rom.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] nicsptl:
I was on 10/10 Since it release Date. Didnt update to latest because ROM was running perfectly fine and may didnt get time for it. But from yesterday it was giving me so many FCs and errors, so updating now. Btw I took logs to see what going wrong attached at the end of post. and also last_kmsg for analysis.

-I encounter one Network related problem so wanna make sure anyone facing it or its only me or ROM. I have poor connection in basement. so network gets disconnected often. But it didnt recover it self automatically. need to manually Press Airplane Mode to gain network again.

And Switching Network Card i.e. Airtel<>Vodafone didnt gain network automatically need to search Network and select Network from Operator list.

Thanks to loSconosciuto for his awesome work.

Let me know if you need anything to test or any logs.
[Samsung Galaxy SL i9003] catarifrangente:
I'm with the latest kernel and didn't notice any connection problem. When I'm offline due to poor signal there are no problems to get connection again. I'm using my country's modem.bin. Btw I have to thank you for one of the best-battery-friendly-no-problem-kernels ever made. I think it was for cm10. Sorry for the ot.
[Samsung Galaxy SL i9003] barrubba:
Hi losco..

you say no need wipe..so the procedure is:

reboot and flash new version? and then gapps?

thaanks:)
[Samsung Galaxy SL i9003] catarifrangente:
[MENTION=4349695]loSconosciuto[/MENTION]

Hi, I have a problem with Apollo player, it doesnt see the music in external sd...

sd is fully accessible from file explorer.

I now noticed that I cannot change the notifications' sound because in the audio options there isn't athe lst with the sounds.

Maybe a media scanner fail?

Is it only a problem of mine?

EDIT: problem solved restoring a previous nandroid backup and mounting sdcard1 in mounts/storage (cwm).

Very strange.

RE-EDIT: I'm with the latest 3.0 kernel 20131028.After wiping cache and dalvik the problem was still there.

I made some attempts with kernel 20131027but the problem persisted.

I found a solution. After wiping cache and dalvik I went to mounts/storage and mounted all the things those were unmonted.

Rebooted and voilà, my ext sd stored music was again in Apollo.

Is it possible that media scanner does not scan folders if sd, ext sd, system and data are not mounted in cwm?
[Samsung Galaxy SL i9003] cukierkas:
using zram maybe for a week now - everything is very good.

now on 28%, will see how it behaves. but performance is improved and a lot :good:

and the strangest part - can't see the impact to battery.

so my recommendation would be to leave zram enabled by default.

by the way, with every build losco is changing charging battery when phone is off :)

now its gray scaled with percentage :):laugh::good:

respect, happy to find and use so finished and polished rom :victory:
[Samsung Galaxy SL i9003] loSconosciuto:
kernel-cm-10-20131031-galaxysl-signed.zip

I recently changed mobile operator and in some places the coverage is not as good as before. Because of that I maybe find why some of you need to reboot the phone to catch the signal sometimes.

Basically when IPC_SRDY stays high for too long, the modem is restated. At least that's what should happen, the command to restart it is not sent and RIL gets stuck until you reboot.

I don't know if is IPC_SRDY is never high long enough to cause this problem with the old kernel or its just the restarting mechanism that is broken here, I'll maybe try to verify this.

Anyway, with this kernel build this problem is partially solved. I say "partially" because I'm just preventing the restart, nothing else was changed. ( [MENTION=4444163]nicsptl[/MENTION] I think this is not what happens to you, because Airplane mode has no effect in this situation)

Tell me if things are better now.

Patches:

Revert "latona defconfigs: enable TIDSPBRIDGE_CACHE_LINE_CHECK"

OMAP3: PM: make PER independent from CORE

phone_svn: don't restart

I've also fixed DeviceParts for the old 2.6.35 kernel which doesn't allow you to customize the timeout of the LEDs and de-swapped the storages while in recovery.

DeviceParts-touchkeys-fix.zip

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

I will update the build so that new users won't have to flash the fix.

Reboot to recovery and flash the ROM. Gapps is automatically saved and restored.

The instructions I wrote in the first post are pretty clear, just follow them.

Mounting partitions while in recovery should make no difference. I don't know what's the problem, you could try to force a scan with:

Settings > Developers options > Launch tools > Media Provider > Scan SD card

Try also to wipe the data of Media Provider from the Settings, it won't delete your files.

I was testing zRam already, I'm currently using 18%, which is supposed to be the default value, and it's not bad. The last time I tried it I was using the old kernel, which uses an outdated driver and it's less performant than this one. It will be the default setting.

That's the animation of the Nexus devices. The percentage was added in CM10.2, I backported it (and made the text more readable). I prefer it now, even though I never charge the device when it's off.

I've also got rid of the additional screen blanking which was pretty ugly (it was done once, right before the battery was shown)
[Samsung Galaxy SL i9003] cukierkas:
Hello there. One small thing. Option 2g only doesn't stick after reboot. Need to enable afterwards.

And another thing. Home button started to unwake the screen, sometimes it just doesn't work. After turning off and on it work grant.

Regards.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] catarifrangente:
With the latest kernel all is good apart from battery drain which is very high (phone in stdby with 3g on, about 6-10% per hr). I flashed the kernel, than wipe cache and dalvik, reboot. Correct? I'm back on clean 20131018 now and is better. Did I make any mistake?
[Samsung Galaxy SL i9003] klau7:
[MENTION=4349695]loSconosciuto[/MENTION]

I am having a lot of reboots lately, especially when charging at night, in the morning the phone is not responding so I have to force a reboot. What is the correct way to take a log so I can post here because the phone has became very unstable for me. Thank you.
[Samsung Galaxy SL i9003] eduCoder:
Take logs by key combo:
[Samsung Galaxy SL i9003] cukierkas:
Returned back to 1028 kernel. 3g standby eats in my opinion to much energy and signal drops very often. With 1028 kernel never had signal drops.. and some more. With newest kernel in 3 hours had two sods.

Didn't took the logs.

Regards.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] loSconosciuto:
kernel-cm-10-20131102-galaxysl-signed.zip

Patches:

0001-phone_svn-don-t-restart.patch

0002-latona-mux-set-OMAP_GPIO_CON_CP_SEL-to-low.patch

0003-phone_svn-ipc_spi-don-t-reinit-semaphore.patch

0004-phone_svn-ipc_spi-clear-vbuff-on-timeout.patch

I know, it happens because the restore is disabled. According to this comment, the restore messes things up (at least on the I9000).

This also causes the toggle in the notification, if added, to not respect the actual network mode sometimes.

Opening the network settings will force an update of the toggle (you can get there by keeping the toggle pressed), however it works only when you are using "2G only" or "2G/3G". If you set "3G only", it will switch to "2G/3G". I will 'fix' this, you won't be able to select "3G only" from there, but at least it won't switch to "2G/3G" when you set "3G only".

As eduCoder said. Make sure you are not using kernel-cm-10-20131027-galaxysl-signed.zip which was quite unstable.

Regarding the major battery drain. I don't know what's the problem the only changes that could affect the power consumption should be the ones I did to pm34xx.c, not included in the build I just posted. The other changes shouldn't have any effect.

Signal drops must be a sad coincidence. I had several issues in the last couple of days and I'm pretty sure the problem was the network, not the device.
[Samsung Galaxy SL i9003] mehran 92:
Hi im using 20131031 kernel everything is good but it seems sometimes it cant receive calls but after some tries it work.

actualy in the other side seems i dont replay but phone doesnt ring or show ringing

Im sure about it because it happend when phone was awake and i was connected to wifi and browsing internet and network signal was fine.

sorry for my bad English
[Samsung Galaxy SL i9003] Drizzt_Kueh:
Signal lost

Hi [MENTION=4349695]loSconosciuto[/MENTION],

I'm suffering complete signal lost a (little) while after rebooting the cellphone. Airplane mode is useless to get signal back. So I need to restart the phone to get the signal back many times a day.

I'm attaching the logs. I see a lot of errors in the radio log, but cannot say if they are important.

Thank you.
[Samsung Galaxy SL i9003] Drizzt_Kueh:
SOD Log

I'm also suffering this problem a lot. At least once every two days, usually when the phone is plugged to the battery charger.

I'm attaching the last_kmsg. The volume up+down+power button combo didn't response in that state.

Edited:

CyanogenMod version: 10-20131018-UNOFFICIAL-galaxysl

Kernel version: 3.0.101-04346-gd86f614
[Samsung Galaxy SL i9003] loSconosciuto:
cm-10-20131104-UNOFFICIAL-galaxysl.zip

I included the last kernel I posted with also the L3 OPP1 disabled, to see if that's the cause of the reboots/SODs you are experiencing.

There are also some misc little changes here and there: fixed navbar toggle, network mode won't switch to "2G/3G" while visiting the settings if you are using "3G only", enabled zRam by default (18%), reverted several optimization to Skia (I suspect one of them was causing some crashes while browsing) and can't remember what else.

You are not the first one to report this problem, but it hasn't happened to me. However I don't receive many phone calls, mostly messages, so this makes it very unlike for me to see this happens. I'll try from time to time to call myself and see if I can replicate the problem.

If it keeps happening, flash the version with the 2.6.35 kernel, you don't need to wipe anything, flash and reboot.

I can see the consequence of what happened, but not the problem (logs have a limited size and they are all ring buffers, so if you wait too much, part of them will be lost):

RIL Response: unexpected error on write errno:9

and this is following almost every lines.

Please, when you report problems, tell me the date of the build you are using (even better if you post the kernel version, the part after 3.0.xyz).

Are you using the build I posted on 2013-10-27? Because I saw a warning message which suggests me that.
[Samsung Galaxy SL i9003] Drizzt_Kueh:
Ok, sorry for that, I'll try to catch the problem into the log. I didn't know about the limited size of the logs.

Sorry again for not saying but, no. I'm sure that this log belongs to a 2013-11-02 kernel.

Here you are:

CyanogenMod version: 10-20131018-UNOFFICIAL-galaxysl

Kernel version: 3.0.101-04346-gd86f614

I'll flash today's ROM and I'll try to catch the root of the signal lost problem into the logs.