yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy SL i9003] loSconosciuto:
Sorry for the late replies, I've been very busy.

@Fertz70

That's weird, I tried to re-flash v3-test5: reboot => Android upgrade popup (that means the zip successfully replaced the currently used DeviceParts.apk). After that "Advanced" is there. You are using CyanogenMod, right?

@ammar786

Wut? I never use bluetooth, but I've just tried to toggle it several times and nothing happened.

By the way, other than the logs, it would be nice to now which version of 'qwerty' you are using. If you are using v3-test5, maybe the problem is the patch I included which caused reboots when WiFi is on in XDA_Bam's kernel, even though I doubt it.

I can't remember if Eclipse also get the output of dmesg, but if it happens again, take this one as well.

@verbatim_pcs

As Siddhant Shankpal said, yes. I didn't mention it because I thought it was obvious.

Anyway, v3.0 is out.

Even though the C-state changes seem to have no effect, I like them. They are hence included.

@Fertz70

Try to flash v3.0, I rebuilt DeviceParts.apk. If it doesn't work, logcat. Try also to wipe the dalvik-cache.
[Samsung Galaxy SL i9003] danierakes:
Re: [KERNEL][CM10] qwerty [01/03/13]

Can i flash this on jellybam 4.1.1 base cm 10 a4

~radio friendly unit shifter~
[Samsung Galaxy SL i9003] imjustafq:
Re: [KERNEL][CM10] qwerty [01/03/13]

@dani

yes u can..
[Samsung Galaxy SL i9003] AmmarGitham:
Re: [KERNEL][CM10] qwerty [01/03/13]

Here is a screenshot which shows my Bluetooth toggle disabled. Can my Bluetooth hardware go bad?

View attachment 1776573
[Samsung Galaxy SL i9003] Siddhant Shankpal:
Re: [KERNEL][CM10] qwerty [01/03/13]

:eek: strange issue! Restarting phone didn't get it back to normal??

Sent from my GT-I9003.
[Samsung Galaxy SL i9003] AmmarGitham:
Re: [KERNEL][CM10] qwerty [01/03/13]

No. Restart phone causes bootloop. When I go inside the Bluetooth option it's stuck at turning on Bluetooth. Anyways will do a clean flash tonight.
[Samsung Galaxy SL i9003] Siddhant Shankpal:
Re: [KERNEL][CM10] qwerty [01/03/13]

Yeah, do that! All the best. :)

Sent from my GT-I9003.
[Samsung Galaxy SL i9003] acuicultor:
Re: [KERNEL][CM10] qwerty [01/03/13]

Flashed qwerty v3 over rom miui 3.2.22 and not able to run device parts.apk settings dont have sistem options. Any idea for resolve that?. Thanks in advance.

Edit: rom is now super smooth and faster.
[Samsung Galaxy SL i9003] danierakes:
Re: [KERNEL][CM10] qwerty [01/03/13]

Two best kernel for cm10a4.

Qwerty 3.0 and nicsptl kernel Updated 3.

No doubt about it :thumbup:

~radio friendly unit shifter~
[Samsung Galaxy SL i9003] loSconosciuto:
@ammar786

I was waiting for your logs, because I have absolutely no idea of what's causing it.

I'm glad to know the problem is not my kernel (I saw the other user complaining about it in dhiru's thread), maybe it's a ROM issue.

I noticed that recently a fix was commited. I didn't really understand what's exactly your problem, what triggers it etc, so I don't know whether the fix is helpful or not. I just read its commit message and it looked promising: bluetooth: prevent Android restart with buggy devices. Maybe it has nothing to do with your problem, but I decided to share my CM build which includes it (I built it yesterday). It's like Alpha4 with some changes here and there (new bugs maybe, this is my personal ROM and I test only what I care about) (EDIT: most of the changes are listed here, but not all of them).

The kernel included is not exactly 'qwerty' v3, there are two more changes: an ugly workaround I'm using to let my phone sleep when it's connected to my router (the workaround is used only when enabled from DeviceParts) and a change to the touchscreen driver I'm currently testing (I deactivated a filter which makes the touchscreen slightly less responsive, even if more stable).

I wouldn't have included the ugly workaround, but I'm too lazy to remove it. Just keep it deactivated. It's something I need because of my crappy router, don't activate it, it could make your WiFi connectivity less stable.

Downlaod:

cm-10-20130310-UNOFFICIAL-galaxysl.zip - 161.89 MB

EDIT 2: I think I fixed all the issues when flashing over a stock ROM (there shouldn't be the need of flashing the ROM twice), but I've never tested it properly. Flash dhiru's build first and then this if you think it's safer.

If you want to test the change to the touchscreen driver (the ugly workaround is not included):

Downlaod:

kernel-qwerty-cm-10-galaxysl-v3.1-test1.zip - 6.38 MB

@acuicultor

I have a solution, but you probably won't like it: flash CyanogenMod. As I wrote in the first post, I only support CyanogenMod. 'qwerty' should work with every ROM based on CM A4, but not all the addons.

As usual, you can find the kernel patches attached (0001-wakelock-add-filter-for-wifi_rx_wake-wakelock is not included in qwerty v3.1-test1).
[Samsung Galaxy SL i9003] AmmarGitham:
I reflashed everything starting from KPE. Problem is solved. If I get that problem again I will use this ROM. Thanks. :)

EDIT:

I have noticed this several times that suppose I download an mp3 from the net, or in that case any media file, the media scanner detects it and I get that file in all music players. But now if I move that file(mp3) to another location and try to play it from the music player, the player says that it can't find the file. Now this is most probably because the media scanner didn't make changes for the file relocation. So this is a bug right? And ofcourse it's a ROM bug not a kernel bug. So it may seem inappropriate to post it in this thread. But since you build your own customized CM ROM, so I posted it, so that you could make a fix for it. Thanks again.
[Samsung Galaxy SL i9003] Siddhant Shankpal:
Re: [KERNEL][CM10] qwerty [01/03/13]

Hey Ammar, does that Wi-Fi disconnection prob persist after re-flashing from KPE..??:confused::(

Sent from my GT-I9003.
[Samsung Galaxy SL i9003] AmmarGitham:
Haven't noticed it. Will let you know soon.
[Samsung Galaxy SL i9003] Siddhant Shankpal:
Re: [KERNEL][CM10] qwerty [01/03/13]

Okies..just msg me on FB instead of spoiling this thread on my issue.:)

Sorry guys! :p

Sent from my GT-I9003.
[Samsung Galaxy SL i9003] LoLaTiOn:
No supported by miui sorry I'll see if I can add this feature
[Samsung Galaxy SL i9003] vishal24387:
Are u sure? Which rom version and music player u are using? I am on cm10a4 with poweramp music player and this problem never happens with me. I use I am sure that this problem is not related to rom.
[Samsung Galaxy SL i9003] AmmarGitham:
Re: [KERNEL][CM10] qwerty [01/03/13]

Play music. Alpha 4. And its not only music. It happens with images too.
[Samsung Galaxy SL i9003] Drizzt_Kueh:
Thank you. Interesting, I like to learn some new things. I have adb on my mac and the ubuntu pc. I'll do it the next time, if it do not happen when on the move.
[Samsung Galaxy SL i9003] cukierkas:
reduced hidden apps to 7, disabled zram, unticked holo laucher's option keep in memory.

have only android.browser locked in memory, and it consumes ~50MB of ram, not to much, if I can trust the inbuild ram management tool. will see how it will behave later on.

and yes, that is not laptop, it would be hard enough to add 1GB ram module more :)

Ps, lets talk about webkit more.

Perfect keyboard has got a wonderful button, tabulation. On gb's webkit cursor was working perfektly, on cm10 its not jumping to another text field, it just stays in same text area and makes entered text blank when tab button is pressed. When I press backspace button, text appears with last letter deleted and a tabulation space in front :confused:

I have talked with keyboards Dev, he said, that there's issue with webkit and he can't fix it.

As I said before, it was working on gingerbread perfectly.

Is it possible to have a look and to this issue as well? Thanks.

Regards
[Samsung Galaxy SL i9003] ndttung8487:
Did you try remove some stock apps? I see you have another keyboard program so you can remove completely original android, TTS, Picasa, voice dialing... with me i remove all stock app which i didn't need so i save lots of ram. Just in my opinion.
[Samsung Galaxy SL i9003] cukierkas:
Thanks for opinion, but I did that (frozed/deleted) at first boot of rom.

I guess, my heavy apps, like touchdown, browser and office are more guilty. Or needs are to big for such outdated phone :)

Sent from my GT-I9003
[Samsung Galaxy SL i9003] Drizzt_Kueh:
A process locked in memory using more than 10% of the memory is not much, is huge.

I can't even imagine a situation demanding the browser locked in memory. Why don't you disable that?
[Samsung Galaxy SL i9003] ndttung8487:
I think you just lock apps which are important in memory, may be you lock alot apps in there make your phone too slow and lack of memory so usual. Maybe you need device with bigger ram to adapt with your work.:)
[Samsung Galaxy SL i9003] cukierkas:
Its work related. Ought to be always ready.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] loSconosciuto:
cm-10-20131001-UNOFFICIAL-galaxysl.zip

"Allow showing statusbar on top of fullscreen window" is back, I've just noticed that patches 18, the one I was using, is the last one not heavily depending on PieService, so I have to stick with it. I'll keep under control my logs to see if that patch was what really caused some issues. I'll revise my changes better, as I said I maybe did something wrong while backporting the changes. For now, I just reused my old patch.

Besides that, I made a couple of kernel changes (EDIT2: patches on GDrive), included the workaround for the dropdown list in the browser (see the previous posts).

Tell the dev of your keyboard to try to use "KeyEvent.KEYCODE_TAB" instead of the ASCII code of the tab button or whatever is used. EDIT: I don't know if he is doing that already or not, I'm just guessing. The thing is that with

adb shell input keyevent 61

tab is working just fine.

I also tried WiFi keyboard and it works as expected. Even with Swype, which has a tab button (swipe from the "Swype key" to the Symbols key +!=), there are no issues, the cursor jumps from an input box to another.

Isn't it better to disable the apps you don't use from the settings rather than manually delete them? In this way you won't have to delete them every time and the final result should be the same.
[Samsung Galaxy SL i9003] Gondya bhau:
Even with 50mb locked in browser, you should have around 100mb free.....try hibernating some apps.....the ones you use less frequently...incase you have not already, you should install a lighter browser....next/maxthon are good.....as compared to dolphin, firefox etc...

yeah....i learnt that the hard way.....i used to be like why feeze something when you can uninstall it directly.....updating roms though used to be a pain.....cause system apps get reinstalled...then one day i just tried TB to freeze them and see and realized what a dumb as$ i had been......never looked back since

BTW i may not always flash losco's updates...but i always download them :p:p just to see the download speed :laugh::laugh: ( In India, thats fast...real fast)
[Samsung Galaxy SL i9003] ndttung8487:
Hi loSconosciuto, is there any diferrent between turn the phone off and charge the battery and keep in on and charge the battery? Does it still auto stop when reach 95~97% as you set before? Thank you
[Samsung Galaxy SL i9003] ndttung8487:
Here is my speed!! :p
[Samsung Galaxy SL i9003] cukierkas:
Lighter than naked browser you won't find :)

Regards.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] ndttung8487:
I got 2 hot reboot at the same times when i charging my phone, but i can't take log. So how can i take log when it reboot itself?
[Samsung Galaxy SL i9003] hjs89:
Hi losco,

I still using your rom as daily rom. It works really fine but sometimes i get some random reboots, the last one was few minutes after I updated to your last build. The phone wasn't doing nothing, without charger, screen off, etc. I've attached the last_kmsg.

About bluetooth, I've a Motorola S9 headset that work nice (it sounds clear and loud like stock roms) but not on my car's bluetooth hands free (really low sound quality). I don't know if I can help you with some logs or test to improve it.

EDIT:

Few moments after I wrote this message I had another hot reboot (I saw bootlogo). In both logs I see a kernel panic with same specifications, maybe the same problem?

[ 1812.444396] Kernel panic - not syncing: Fatal exception
[ 1812.444732] [<c0047e08>] (unwind_backtrace+0x0/0xe0) from [<c0519158>] (panic+0x6c/0x1a0)
[ 1812.445251] [<c0519158>] (panic+0x6c/0x1a0) from [<c0046ce8>] (die+0x280/0x2d0)
[ 1812.445739] [<c0046ce8>] (die+0x280/0x2d0) from [<c003e258>] (do_DataAbort+0x84/0x98)
[ 1812.446075] [<c003e258>] (do_DataAbort+0x84/0x98) from [<c0043010>] (__dabt_svc+0x70/0xa0)
[ 1812.446563] Exception stack(0xdbcadf18 to 0xdbcadf60)
[ 1812.447021] df00: 540c7488 e0e562ff
[ 1812.447326] df20: e0e56303 c05bfc48 00000004 66662a05 c1b65aa8 00000000 c05bfc40 4fb76000
[ 1812.447814] df40: d32d6d80 c07cac60 0009defc dbcadf60 c00f598c c00f59f0 000e0053 ffffffff
[ 1812.448333] [<c0043010>] (__dabt_svc+0x70/0xa0) from [<c00f59f0>] (follow_page+0xe4/0x278)
[ 1812.448638] [<c00f59f0>] (follow_page+0xe4/0x278) from [<c0108e94>] (ksm_scan_thread+0x150/0xba0)
[ 1812.449157] [<c0108e94>] (ksm_scan_thread+0x150/0xba0) from [<c0094e1c>] (kthread+0x7c/0x84)
[ 1812.449676] [<c0094e1c>] (kthread+0x7c/0x84) from [<c0043e54>] (kernel_thread_exit+0x0/0x8)
[ 1812.450286] Rebooting in 1 seconds..
[Samsung Galaxy SL i9003] loSconosciuto:
Could you please try kernel-cm-10-20131002-galaxysl-signed.zip and tell me if there are still frequent reboots? They are rare on my device, so more tester are better. It's like the kernel included in my last build with CONFIG_OMAP3_SDRC_AC_TIMING unset. I enabled it a lot of time ago, before I started to use this kernel daily and I've just remembered about it.

The charge of the battery is always controlled by the kernel, which is not running only in "Download mode".

Every other reboot mode (recovery, charging mode/lpm) requires it and it will indipendently control the charge as if the device was rebooted normally when the cable is detected.

Regarding Bluetooth, try to edit /system/etc/audio_policy.conf like this (see the red part):

a2dp {
outputs {
a2dp {
sampling_rates [COLOR="RED"]48000[/COLOR]
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_ALL_A2DP
}
}
}

The red part is 44100 in my builds.

There's also the possibility to specify two different sampling rate: "44100|48000".

EDIT:

Now I remembered what else I changed in my last build (cm-10-20131001-UNOFFICIAL-galaxysl.zip). I modified power HAL so that the sampling rate of ondemand is changed when the screen is off (from 90ms to 500ms), I changed the default screen off frequency (from 600MHz to 800MHz, but I forgot to update DeviceParts so the default option is still 600MHz and in any case you can set whatever you want from DeviceParts), set io_is_busy to improve the performance during I/O operations and also set sampling_down_factor to 2.
[Samsung Galaxy SL i9003] cukierkas:
Hello guys. Today I accidentally made a discovery, according to bt. I did answer the call with phone, but later switched to bt headset. Sound, speech was nice and clear, like on stock rom. According this, later I answered with bt headset, sound quality was poor, so afterwards I made the same, answered with phone and after few seconds switched to bt. And wow, sound, speech quality was perfect again :)

So, if that makes sense, my discovery was lucky to me itself, maybe it would be something good to others. Losco, what do you think? Different channel, different library? sampling rate?

About reboots, maybe I'm lucky, but had a hot reboot only once, at first boot while uninstalling system app, and two others, with 1200 oc and zram 28%. With default performance settings, only with ksm and purgets enabled - everything is working perfectly.

I did a full nice wipe at first, and after each update cache + dalvic clearing.

Today applied greenify app and reduced hidden apps quantity to 6. Even with browser locked.

Phone is fluid, fresh, fast and working-able :):good:

And I'm still on 0926 rom.

Regards, happy user.
[Samsung Galaxy SL i9003] ricpersi:
I was facing quite e lot of reboots and often, after a reboot, the battery would jump from the value it was before the reboot to values near to zero.

So I bought a new battery and since then I had no more reboots.

I think replacing the battery is worth trying, they are quite cheap on ebay.

cheers
[Samsung Galaxy SL i9003] ndttung8487:
yes!i'm testing it and report you soon.thanks alot for your quick respond Losco.
[Samsung Galaxy SL i9003] cukierkas:
for those, who have often reboots, check if battery is not swollen. if yes - replace it.
[Samsung Galaxy SL i9003] ndttung8487:
my battery is new.i've just bought it for more than a week

Edit1: i got 1 sod after 45 mins of using with newest kernel. i wipe dalvik,cache before and after flash kernel. but info still show it was 20131001.
[Samsung Galaxy SL i9003] ndttung8487:
can you show me how to grad that log? thank you.
[Samsung Galaxy SL i9003] hjs89:
Look at OP dude, you will fin in that file the log.

I don't if it has some relation, but I had those reboots while I disabled Email.apk, after able it no more reboots.
[Samsung Galaxy SL i9003] cukierkas:
Losco, what do think about adding task manager to future rom?

I've seen [MENTION=4409632]ammar786[/MENTION] made one working.

That would be helpful with adding a button to resent tasks, what do think?
[Samsung Galaxy SL i9003] AmmarGitham:
And it still works. :)
[Samsung Galaxy SL i9003] ndttung8487:
Hi Losco, is there any chance you can add "wireless display" to our device? thanks alot!
[Samsung Galaxy SL i9003] loSconosciuto:
With the help of [MENTION=2606021]cukierkas[/MENTION], I found what's wrong with BT headsets while in call. That's what I did. I uploaded a zip on GDrive, libaudio-BT-NR-fix.zip. It should work with every CM build, new old etc. Do a backup first, just in case.

Regarding the random reboots, there's something wrong, it's not the battery or some app, I'm quite sure of this.

The last kernel I posted probably solves the problem, I just need more time to test it. I still hadn't a reboot since I started to use it.

One question: do you still have random phone disconnections? I'm interested in the answer of those of you who had continuous issues with the signal (see "Test:" here. I've been using that change in all the kernels I released since I posted that).

I also updated android-wifi-tether to work with the 3.0 kernel. It also supports my old CM10 using the 2.6.35 kernel and I included the support for stock ROMs. It might be useful to someone, some carriers make you pay more to tether (I don't know if there's a way for carriers to know if you are tethering or not with our device, but I know that with some other devices is possible) and it has a nice interface and some useful options not available with the inbuilt hotspot functionality. Test it with my old CM10 builds using the 2.6.35 kernel and with a stock ROM if you can. I'm planning to submit this patch and I'd prefer to know whether it's working or not before that. EDIT: and CM-10.1 and CM-10.2 if possible.

Here the apk. (I lost my old keystore, so if you have the old version installed, you'll have to uninstall it first).

To complete hjs89's reply:

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

There are surely apps to do that. If you power off the device, /proc/last_kmsg won't be there. It's available only after a reboot.

That since it's quite easy to add it later, there's no reason for me to include it.

If you want, here (EDIT: re-uploaded. I fixed a comment, no need to re-download it if you downloaded the other one) you can find a proper flashable zip with a script which automatically backups and restores the apk during ROM upgrades (the same thing done for gapps and /etc/hosts).

[MENTION=4409632]ammar786[/MENTION]

Did anyone use the zip in your thread? That looks like something complex to modify things on the fly and I'm not sure it's correctly configured to be universal. Definitely not required to simply copy an apk. Feel free to use my zip. I didn't try to flash it though, so I'm not sure I made it correctly.

The only requirement is busybox, needed to mount /system. As long as it's available, everyone can use it. The script to backup and restore the apk only works with CM and some other custom ROMs.

PS: the apk wasn't zipaligned, I did that for you ;).

EDIT

If I'm not wrong it's a feature of Android 4.2 and as such it requires a load of changes I won't surely try to port.
[Samsung Galaxy SL i9003] ndttung8487:
Some of my result on latest patch:

- No reboot at all, the rom run very smooth

- I saw that when battery drop, it won't automatically re-charge my phone after a fully charge even charger still plug in to the phone. For example, last night i set my screen turn off after 30 mins, plug in charger. and start download some games. But i fall asleep, in the morning i wake up i can saw that battery totally run out and the phone turn off itself. I try to power on the phone and saw that battery at 5% and charging.

- With network, change from wifi to 3G, sometimes i have to turn on airplane mode, and turn off to get 3G connection back, it not good as 20130926

- Battery consumption is a little higher than old one. 20130926.

- Screen when hang up the call have to take some seconds to turn back on

Thanks alot for amazing rom.
[Samsung Galaxy SL i9003] shaktishekhar:
thnx a lot for the BT CALL FIX

Thnx a lot for bt call fix :d
[Samsung Galaxy SL i9003] cukierkas:
About task manager. Its fine, working as it should, thanks guys.

One suggestion, if possible. Can task manager's button be implemented in to resent tasks, like in this modehttp://xdaforums.com/showthread.php?t=2461772?

Thanks

Sent from my GT-I9003
[Samsung Galaxy SL i9003] ndttung8487:
I got 2 sod when charging my phone. I cant take kmsg log.

Edit1: My Alarm didn't work, in the early morning i wake up before my alarm but i didn't see it work

Edit2: I back to 20130929 because this rom is the most stable till now. No SOD, no hot reboot itself at all.
[Samsung Galaxy SL i9003] loSconosciuto:
cm-10-20131004-UNOFFICIAL-galaxysl.zip

Included the workaround for BT headsets, this which got rid the random reboots (not 100% sure yet), this for a working BT while in deep sleep and disabled again SVNET_WHITELIST, which didn't bring any improvement.

Very odd. I don't know why it happened, logs would be helpful.

With no logs there's nothing I can do to help.

I'm quite sure the kernel I released few days ago fixed the random reboots, it's weird that you've found it more unstable.

To get the content of /proc/last_kmsg after a SOD, force a reboot keeping the power button pressed. It would also be nice to know if adb works while the device is not responding and get a logcat.

It should be possible, but don't expect it from me.
[Samsung Galaxy SL i9003] ndttung8487:
Thanks alot Losco. I'll test latest and try grab log as possible. Because each time i got sod. Keep holding power button didn't work so i have to take out battery and put it back.
[Samsung Galaxy SL i9003] ageback:
Hi loSconosciuto, did you forget to upload cm-10-20131004-UNOFFICIAL-galaxysl.zip or is it in progress?:laugh:

Thank you for your great rom.
[Samsung Galaxy SL i9003] loSconosciuto:
Are you sure? The power button seemed pretty failproof to me, keep it pressed a bit more and then release it.

It was on the server, but misplaced.
[Samsung Galaxy SL i9003] ndttung8487:
Yes,Losco. I'm sure that it didn't work because i keep pressing it more than 2 mins but no effect. My button works fine. But i'm trying your newest CM10 right now. Seems it works fine. Thanks alot for your support

Edit1: my battery drain so quickly on newest rom.i'm back to 20130929 to check and saw that the battery on older rom is better. still got sod on newest. i'll try my best to grab log. untill now 20130929 is the best for me.thanks Losco!

Edit2: with newest kernel on 20130929. my phone didn't see any sod or hot reboot. nice work Losco. i'll test more and feedback soon. nice weekend.