yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy SL i9003] loSconosciuto:
Yes, just take the module from v2 (EDIT: samsung_battery.ko of course) and copy it in /system/lib/modules/. Set its permissions to 644.

Vishal confirmed that the module is not the problem and by setting the delay to 3000ms it basically behaves like the unmodified one, but I preferred to include the unchanged one for this test, just to be sure.

I think I'll just increase the default delay or something like that in the next builds.
[Samsung Galaxy SL i9003] rodero95:
Re: [KERNEL][CM10] qwerty [12/02/13]

Well, anyway I've finally flashed v3 test 2 just to test the new c-states configuration. I'll see how it behaves and if I notice no changes I'll leave it like that. If not, I'll try to flash the modified module.

Thanks for the advice!
[Samsung Galaxy SL i9003] LoLaTiOn:
Help the flood !!

Do not like me it is also important ^^

Just a message of thanks and encouragement for your tests

We have not CM10.1 beings but can proud of having a neat development that is good or less it is the sharing that counts

All this work will end up paying our i9003 Nexus is worthy of a family I tell you
[Samsung Galaxy SL i9003] rodero95:
Re: [KERNEL][CM10] qwerty [12/02/13]

BTW, I forgot to ask you if you could add the SIO scheduler to the next build. I'm now using deadline but I've always used SIO, I know it wouldn't make so much different, just to try different configurations.

Thanks again!
[Samsung Galaxy SL i9003] loSconosciuto:
Quick question. How's the battery with a "normal use" compared to other kernels?

I should clarify what's 'normal' for me: 3G on all the time with everything syncing (mails, chats, etc), sometimes WiFi and lot of internet surfing (both 3G and WiFi). No games, videos, music etc... And I'm not interested in the stand by power consumption, that implies keeping the device for hours/days connected to a router syncing data.

Thanks

Vishal already requested it. I think I'll do it, it's not that complicated.

But just because I myself used it for a lot of time, I think I won't include any other I/O scheduler or CPU governor.

I actually thought to include interactive, but I'm only interested in the one in the 3.0 kernel and when I backported it, lot of time ago, there were some issues (BUG: scheduling while atomic: cfinteractive). Maybe I did something wrong, but it wasn't as cool as I thought, even with powerHAL, so I simply got rid of it and preferred to only add smartassV2 and update ondemand.

Thanks, for the support.

By the way CM10.1 is still JB, building a bootable (but not perfectly working) CM10.1 is just a matter of a couple of changes.

Building > porting. ;)
[Samsung Galaxy SL i9003] Fertz70:
Re: [KERNEL][CM10] qwerty [12/02/13]

Hi Losconosciuto, been using it for a couple of days. Very smooth and stable. The average battery life is about 12-13 hrs.

Great kernel, thank you!

Enviado desde mi GT-I9003 usando Tapatalk 2
[Samsung Galaxy SL i9003] vishal24387:
Finally...!!!

@ loSconosciuto

Hey buddy finally ur kernel that u had given me in PM worked for me :) I flashed that kernel (having no OC) with original modules (unmodded) ove it. And guess what in deep sleep I lost only 1% for nearly 7.5 hrs :D I think ur guess was right that overclocking code was responsible for battery drain. Anyway I have attached better battery stat dump file for ur reference :)
[Samsung Galaxy SL i9003] androman1507:
Hope to get an update of this kernel soon.:fingers-crossed:

BTW i m getting some problems with this kernel. Firstly message sending gets fail and then message is sent. Connecting usb only charge the phone, i cannot connect to the computer. Some times i dont get calls thought someone rings call(not all time).

I moved to alpha 11 kernel and problems were gone. Only problem was that i did't create logcat before flashing alpha 11 kernel. :(
[Samsung Galaxy SL i9003] vishal24387:
Strange...I never faced a single problem that u mentioned. May be u should have tried it with clean flash of cm10 :)
[Samsung Galaxy SL i9003] loSconosciuto:
That's weird, it never happened to me. If it you were using v2, v1 or v3-test1, try v2.1 or the one here below.

The telephony part is mostly unchanged in this kernel, I only applied the fix for the signal and the experimental sync bug fix, both used in "my" signal fix kernel (V2) (here).

You are right about this, but I've always had this problem. I wasn't even sure whether it was a general CM bug or not, we are using legacy stuff after all. I rarely use USB, mostly for adb, so I didn't bother to fix it. It doesn't happen every time and usually disconnecting and reconnecting the device does the trick, rarely a reboot is required.

If you reboot when the USB cable is connected, the chances to replicate the issue are higher.

Download:

kernel-qwerty-cm-10-galaxysl-v3-test3.zip

Same as all the other v3 test kernels (read this), with the following changes:

# CONFIG_USB_ANDROID_SAMSUNG_ESCAPE is not set
# CONFIG_USB_ANDROID_ACCESSORY is not set

I guess "CONFIG_USB_ANDROID_SAMSUNG_ESCAPE" is enough, but I decided to unset the other as well. Let's see if it's better now.

I'm looking for the cause of the bigger power consumption when the overclock stuff is built, but I currently don't have much free time.

If nothing will be found, I'll just release a not overclocked version.

PS: I didn't notice any difference with the different C-state latencies and thresholds.
[Samsung Galaxy SL i9003] behnameb7:
thanks loSconosciuto ;)

i am using V1 this is very stable and have good batry life. after 2 days now have 15 %.

can you update gpu driver from adipat kernel to make more Smoothness?
[Samsung Galaxy SL i9003] rodero95:
Re: [KERNEL][CM10] qwerty [12/02/13]

The new GPU driver is what caused the scrolling issue. I think that's why its not included already.
[Samsung Galaxy SL i9003] ping_1841:
Re: [KERNEL][CM10] qwerty [12/02/13]

i'm facing instagram can't upload photo… :(

do somebody face it?

using v3-test2…
[Samsung Galaxy SL i9003] rodero95:
Re: [KERNEL][CM10] qwerty [12/02/13]

I also had that type of issues with instagram.

I can make the photo from the app but in the next step (applying effects, etc) it doesn't show the photo.
[Samsung Galaxy SL i9003] maksimus0021:
Mod-NavBar

Hi.. :) You can set the Mod-NavBar_25x21x32. It works on the CM10. :)

http://d-h.st/7NH
[Samsung Galaxy SL i9003] danierakes:
This is for xgamerz 2.9 bro..will it work in latest build cm10 by losco too?

~radio friendly unit shifter~
[Samsung Galaxy SL i9003] LoLaTiOn:
Test this and sorry for background X-GamerZ bro change it ^^

I will stop the production of this rom I prefer to provide mods for users loSco rom
[Samsung Galaxy SL i9003] danierakes:
Thanks lola its working...:thumbup:

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

I am using ur 19th may 2013 build. Everything is fine. But there is one problem with usb. I remember when we use gingerbread rom then when we enable mass storage mode and connect to any computer then mass storage gets started instantly (no need to install samsung drivers on computer). But on cm10 mass storage never started in this simple way. We must need samsung drivers on computers for mass storage or even for andtoid debugging mode.

Please explain me why it happens. :)

Also can I use ur latest kernel only on dhiru's cm10a4 build??
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4473033]LoLaTiOn[/MENTION] No more production means what no more future updates will come ?? 24th May is last update ? :crying::crying::crying:
[Samsung Galaxy SL i9003] loSconosciuto:
No, .noscanandnomtp doesn't work until I patch MediaScanner.

I don't know where's the file, but if there's a sound, there must be an audio file. The patches are: http://review.cyanogenmod.org/#/c/32042/ and http://review.cyanogenmod.org/#/c/32043/, not what you expected maybe, but that's what I mean with "patch".

Didn't know that, I rarely use UMS and when I do that, I'm using my computer. I'm sure at least that Windows recognizes the phone and download the drivers automatically if there's an internet connection. I'll see what I can do when I have time.

Stock ROMs use a different kernel config which changes a bit the IDs of the USB functions. My first kernel releases used that config, but there where some little issues. What I'm using now is the same config used by dhiru in Alpha4 by the way.

Technically the kernel should work, but I've never tried it.

You should zipalign apks whenever you modify their content...

He was referring to X-GamerZ...
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4349695]loSconosciuto[/MENTION] am not asking for ETA but just one simple question new updates will come right :confused: after 24th may update ? and media scanner patch :confused: please please try to include media scanner patch in future update :highfive: thnx in advance :)

---------- Post added at 10:20 PM ---------- Previous post was at 10:15 PM ----------

nothing like that buddy :laugh: just uncheck usb debug from settings development settings or use multimonnt it will pop up again and without multimount also it will popup in mine its coming :silly:
[Samsung Galaxy SL i9003] loSconosciuto:
ROM: cm-10-20130602-UNOFFICIAL-galaxysl.zip

MediaScanner will skip directories containing a file named .noscanandnomtp. Those with .nomedia will be scanned, but their files won't be shown in multimedia apps.

Added option to disable sound while adjusting the volume

Dalvik and skia optimization [1]

Increased PVR parameter buffer size for complex 3D scenes

[1] I tested the dalvik optimizations for a week and didn't have any problem. These patches were also merged, so I thought it was safe to use them. However, I saw that they cause some problems as reported here (ie: XDA app crashes while refreshing the PM list) and few hours ago they were reverted. It was too late when I noticed this.

I'll try to build something without the changes when I have time.

Kernel: kernel-qwerty-cm-10-galaxysl-v4.1-test5.zip

UMS shouldn't require specific drivers to work. There's no need to enable USB debugging and adb is enabled only when debugging is ticked. Let me know if I broke something.

Increased SGX ACTIVE_POWER_LATENCY. It was 2ms, now 100ms (some tested and reasonable times are between 50ms and 100ms). I also made it a module param (/sys/module/pvr_common/parameters/sgx_apm_latency) if you want to change it.

Downloads:

ROM: GDrive - Dev-Host

Kernel: GDrive - Dev-Host

EDIT:

I also forgot this fix for CM filemanager...
[Samsung Galaxy SL i9003] joe21o:
Downloading the kernel thx losco!

Edit: Everything works fine no problem at all. :thumbup:
[Samsung Galaxy SL i9003] vishal24387:
Hry this is not fair...!! I just downloaded 24th May rom n now the new update is released :p
[Samsung Galaxy SL i9003] barrubba:
kernel doubt

just a question:

i've flashed only 19/5 zip file from recovery, but no kernel..

i've not understand how to update kernel (is not included in 168Mb zip).

and which differences between "kernel qwerty 4.1" and "clean qwerty"

Thanks.
[Samsung Galaxy SL i9003] Unknown_2517:
Mirror Links For Latest Kernel & Rom Updates:

kernel-qwerty-cm-10-galaxysl-v4.1-test5.zip - 6.6 MB

cm-10-20130602-UNOFFICIAL-galaxysl.zip - 163.7 MB
[Samsung Galaxy SL i9003] LoLaTiOn:
clean qwerty if for users want test others kernel no qwerty or if big change new kenel with others module and others stuff used
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4349695]loSconosciuto[/MENTION] volume adjust sound off working perfectly but .noscanandnomtp is not working i guess because placing that file i rescan media still the directory files r scanning and showing in galley and music player i removed media storage data wile reboot still the same why so :confused: help help

+ return MEDIA_SCAN_RESULT_SKIPPED;

May be as per commit msg your are gettings skipping msg, but as per cpu usages, and time taking Wile scanning media. In gallery music player media are showing that means its not actually skipping where as .nomedia works for hiding non media stuff but ".noscanandnomtp" not working

Please Please Please anyone help me with this .noscanandnomtp .noscan .nomedia thing i wanna skip folders to scan to save my cpu usages and media scanner time .. please help
[Samsung Galaxy SL i9003] danierakes:
Flash latest build and its f✘✘king awesome...:thumbup: losco

~radio friendly unit shifter~
[Samsung Galaxy SL i9003] loSconosciuto:
ROM: cm-10-20130603-UNOFFICIAL-galaxysl.zip

MediaScanner will skip directories containing a file named .noscanandnomtp. Those with .nomedia will be scanned, but their files won't be shown in multimedia apps. (this time for real)

CMFilemanager from cm-10.1 (did that to fix the problem with the black theme. The problem is still there)

Apollo from cm-10.1 (why not? Tell me if you think the old version is better, I don't use it. You can replace the apk from any of my previous builds)

Dalvik and skia optimizations (I removed the patch which makes XDA app crash. Report unusual crashes, with logs!)

Kernel: kernel-qwerty-cm-10-galaxysl-v4.1-test6.zip

Fixed SD card remotion [1]

Downloads

ROM: GDrive - Dev-Host

Kernel: GDrive - Dev-Host

[1] Not so much ago I discovered that if you remove it and then insert it, 90% of the time it shows "SD card damaged" or something like that. I never do that, that's why I noticed it recently. Anyway, I picked 3 commits from the kernel 3.0 and now things are better. It still show the error sometimes, but if you try to re-insert the card it normally works. Maybe wait few seconds before re-inserting it if it really doesn't work.

I wonder what kind of black magic Samsung is using in stock ROMs.

EDIT: Maybe it was one of the many changes I did to cause the problem. Do anyone remember if you can safely remove the SD card in dhiru's ICS/JB?

EDIT2: Yep, it's my fault. I'll look for the problem.

Even if I don't mention it everytime, my patches here are constantly updated. You can find all you need to build this ROM there.

[MENTION=5233682]barrubba[/MENTION]

I wrote everything in the first post. As LoLaTiOn said, clean-qwerty.zip is to restore dhiru's Alpha4 kernel and modules.

My builds already include the latest kernel, you don't have to flash it separately.

[MENTION=4588282]sgatechwork[/MENTION]

I simply forgot to add the command to patch MediaScanner to my build script and when I synced the repos I lost the changes. That patch is working fine, I tested it, but it was a different build.
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4349695]loSconosciuto[/MENTION]

so i need to re-download the new update right, to get it work than media scanner will skip the directories right :D am downloading 66% done 100% done testing test failed... still i can c the files in multimedia apps like gallery and music player .noscanandnomtp is not working ? Why :eek:
[Samsung Galaxy SL i9003] ALoGeNo:
[MENTION=4349695]loSconosciuto[/MENTION] lol, I was just downloaded the update from yesterday and we have another update from today? haha you are working so hard, thank you very much, you rocks ;)
[Samsung Galaxy SL i9003] loSconosciuto:
I decided to revert some changes to fix the problems with SD cards. Still not perfect, but it seems better than before. I don't know if it's the same in stock ROMs, but it seems acceptable to me now: sometimes you get the error, but re-inserting the card usually fixes the problem. (EDIT: one of the commit was added to reduce the power consumption, this, but I've never noticed any difference)

Downloads: kernel-qwerty-cm-10-galaxysl-v4.1-test7.zip

Kernel: GDrive - Dev-Host

[MENTION=4588282]sgatechwork[/MENTION]

It works for me.

Try this:

Clear Media Storage data.

Create a directory inside your SD, add a .noscanandnomtp file and a multimedia file. Force a scan of the SD then do the following once the scan is complete (adb/terminal emulator):

su
cd /data/data/com.android.providers.media/databases
strings * | grep "NAME_OF_THE_FILE"

if nothing appears, it means that the file was not added in the databases.

Try also to do the same with a file which should be shown in multimedia apps or hidden with .nomedia, if it appears, then everything is working as expected.
[Samsung Galaxy SL i9003] shaktishekhar:
Ya its working all fine .. tested .. properly. Wt about new kernel update test7 do i need to flash that ? Because am not facing any issue with memory card ? Do u need to flash test7 still ? and there is something wrong with media scanner like suppose i have audio video files in whats app folder and media scanner scanning those files than i put .noscanandnomtp i reboot or force rescan for media than also the file remains showing in the multimedia apps until i clear data of media storage after clearing data i rescan than that folder is skipping and not showing in media apps why so do i need to clear data all the time after putting .noscanandnomtp into a new or old folder please please help [MENTION=4349695]loSconosciuto[/MENTION]
[Samsung Galaxy SL i9003] loSconosciuto:
New kernel build

Changes:

Decreased SGX ACTIVE_POWER_MANAGENT from 100ms to 50ms (no particular reasons. Tell me if you noticed any difference battery wise and performance wise, especially in yesterday's builds)

Don't compact memory when processes are killed (I didn't notice any improvements with it, so I reverted the changes to keep things simple).

Fixed SD card re-insertion (it's also fixed in test7, but in this release I reverted less changes)

I also uploaded a full CM build (cm-10-20130604-UNOFFICIAL-galaxysl.zip) which includes this kernel, mainly because of the SD bug. Nothing else was changed. If you are already using 20130603, flashing this kernel is enough.

Download: kernel-qwerty-cm-10-galaxysl-v4.1-test8.zip

GDrive - Dev-Host

[MENTION=4588282]sgatechwork[/MENTION]

I'm not surprised of this behaviour, let's say I expected it.

If you want to hide already scanned files without wiping the data of MediaProvider you could:

Rename the directory with .noscanandnomtp, force a scan, restore the original name

Rename .noscanandnomtp to .nomedia, force a scan, re-rename the file to .noscanandnomtp (database entries won't be removed)

I didn't try any of these solutions, but I guess they'll work.

MediaProvider should be changed to handle .noscanandnomtp. Surely I won't even try.

Regrarding the kernel: I wouldn't have posted it if there were no reasons to do it. If you remove your SD card you'll have some problems when you'll try to re-insert it. Flashing a kernel takes less than 5 minutes, but no one obliges you to do it. I always post detailed informations about the changes, it's up to you.
[Samsung Galaxy SL i9003] ALoGeNo:
[MENTION=4349695]loSconosciuto[/MENTION], back to normality, all back to works fine again with that kernel, untutu back to do good results, thanks.

Cheers.
[Samsung Galaxy SL i9003] shaktishekhar:
Fine i will update me kernel no issue but you know what , i dont know what you did but once i told you about typing lag that has been totally fixed now i can type without any lag this is fu**in awesome... and battery usages is soo awesome like never b4 in 6 our wifi on only 4% of battery drain..even on low radio network :D this is soo awesome am dam happy with this rom.. i meab its the bestest.. rom ever i used in my i9003 smothest.. just bluetooth headset call sound :-\ need to get it fixed btw i dont kw how bt i notic when i used a app call smart call it simple recives the call with proxmity sensor and shake to end call means gravity sensor also using that app bt headset sound got fixed i dont know how :-\ i rebooted tested with different calls... i guesss its a power related issue i dont kw just gessing because i notic when the gravity sensor is on like shake to eng call etc.. proxmity sensor than bt call sound fixes automatucally... btw leace that i cab liv with that bug not soo big i dobt care mostly i use my bt to lisn to d music and its just awesome.. sound.. wile playing music.. thnx thnx thnx for ur efforts :) hats off bro
[Samsung Galaxy SL i9003] loSconosciuto:
I cleaned a bit more the gp2a driver and fixed the proximity sensor sysfs interface. It didn't return correct values, causing issues while writing to the "enable" file. That driver is really messed up.

Downloads: kernel-qwerty-cm-10-galaxysl-v4.1-test9.zip

GDrive - Dev-Host

Good, that's probably due to the higher PVR active power latency. If you'll have lags, try to increase the latency to 100ms:

su
echo 100 > /sys/module/pvr_common/parameters/sgx_apm_latency

Weird, but interesting.

I can't test or debug because I don't own a BT headset, but you could try to enable the sensors one by one and force their state with chmod.

su
cd /sys/class/input

#enable and keep enabled
echo 1 > input[B][COLOR="Red"]X[/COLOR][/B]/enable
chmod 440 input[B][COLOR="Red"]X[/COLOR][/B]/enable

#make a call

#restore
chmod 660 input[B][COLOR="Red"]X[/COLOR][/B]/enable
echo 0 > input[B][COLOR="Red"]X[/COLOR][/B]/enable #or 1 if it was already on

Where X is one of the following numbers:

[B]4[/B]: magnetic
[B]6[/B]: accelerometer
[B]7[/B]: proximity
[B]8[/B]: light
[B]9[/B]: orientation_sensor (this is actually a virtual sensor which depends on the magnetic sensor and the accelerometer)

Flash the new kernel first. I found the problem of the sysfs interface while trying these commands.

See if the conversation improves when certain sensors are on.
[Samsung Galaxy SL i9003] shaktishekhar:
[MENTION=4349695]loSconosciuto[/MENTION] not much improvements in call with Bluetooth tried all the sensors but nothing worked out :eek: i don't know how that app once fixed it but i reinstalled that app n tested no improvements again :rolleyes: weird any ways its fine because without doing any thing after 3-4 seconds the sound becomes ok normal to talk not much disturbance as b4 so i can say its k :o and i will try that PVR active power latency. can u tell me how this value helps to fix ui bugs and does changing value really affect battery and you know what the battery backup is soo awesome like after putting that .noscanandnomtp in settings battery media server and media is vanished no take locks awesome battery running soo good thanq soo much :D
[Samsung Galaxy SL i9003] cukierkas:
Hello, thanks for your hard work. We do appreciate it :)

By the way, speaking about Bluetooth. We can donate you, so you can buy headset you like. How about this idea? I do speak a lot with bt headset, so sound quality cares a lot to me. With last kernel build it improved a lot, but not perfect.

thanks in advance.

Sent from my GT-I9003
[Samsung Galaxy SL i9003] shaktishekhar:
I dont know why but... am facing new kind of issue like when i open few apps than my next launcher which basically combain with the android.processes.acore gettings killed . And as per oom adjustment it should be killed after ram goes below 45 mb as per my setting b4 this many background processing running than inspite of killing those prpcess first why its directly killing this launcher process is there any way to force lock process in memory i tried build prob way tested bt failed bec its killing any ways... help
[Samsung Galaxy SL i9003] vishal24387:
Which launcher u use? I use apex launcher and it has an option to keep launcher in memory. As per my experience any app will remain in background when its service is running. For e.g. most of the messangers have its own service running in background which keep messangers in memory. Service protects app from being killed due to low memory issue or any other issue.
[Samsung Galaxy SL i9003] karlcaks:
can i flash kernel qwerty test9 on XgamerZ V.3.1 by lolation????

°°°-XgamerZ V.3.1 by Lolation powered Losconosciuto-°°°
[Samsung Galaxy SL i9003] LoLaTiOn:
Yes on MIUI V5 also bro
[Samsung Galaxy SL i9003] karlcaks:
thanks lola :)

°°°-XgamerZ V.3.1 by Lolation powered Losconosciuto-°°°