yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] ajaihs:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

The kernel is great...i m using cfs version 3 on genetICS final...no reboots.....

Some suggestions for u to look at in future versions...

1.As from user xperience till nw i think these kernels work good on ics nd all further versions...

Theres a bug of wifi hotspot switching in all the roms from cm9.In genetics phone restarts the second time we switch wifi hotspot...but everything is working perfectly when using "Wifi tethering" app from playstore...From cm9 ive been seeing this in almost all roms till cm 10.1...Hephappy left that unsolved in final version...Since problem is there in almost all roms i think thats a Kernel thing..so plz try investigating that...

2.You may knw tht Bluetooth is the major bug existing now in cm10.1...but in one DJ's kernel,it starts but still buggy...so i think its possible to make it work on 2.6kernel series itself.take a look at tht too...

3.and yeh...Offline charging...is it dealing with kernel??..don knw..but if yes ...u cn try tht too...

These were some suggestions by me..u can do it as u like...:thumbup:

Any way,i knw great kernels are coming from u fr our little master P500...:D
[Optimus One, P500 Original Android Development] sweetnsour:
1. I'm relatively new to the kernel scene, so solving such a problem will definitely be trouble for me. If it really is a kernel problem, I don't know how I can solve it if thachtunganh or DJNoXD can't solve it. But I really think it is a ROM issue. We can find out if it is a ROM issue or a kernel issue:

If anyone is still on GB, or if anyone can load GB, can you flash this kernel (should flash without any issues other than losing video playback) and see if tethering works?

If it works, then it is a ROM issue. If it doesn't work, it is a kernel issue.

2/3. Once again, I believe this is a ROM issue.

Sorry I cannot provide help for any of your suggestions :(
[Optimus One, P500 Original Android Development] engr_exxi:
Flashed the latest version CFS.

Previous music jumps are gone (maybe ROM error).

Noticed on data.. after a 5-10 minutes of inactivity the data stops. with letter (reffering to data connection) still there but arrow (data transfer activity) are gone.

a simple on and off of data are enough to give it back to work. (while watching youtube after the video's data are loaded). (maybe my provider too) dont know

aside from that. IT IS STILL BUTTERY SMOOTH!

*on going test of battery

*smartass v2

*other smartass

*other governors.

feedback soon.
[Optimus One, P500 Original Android Development] raenye:
Any chance for a P505/P506 version?

(it's just a matter of changing the framebuffer drivers.)
[Optimus One, P500 Original Android Development] sweetnsour:
Thanks for the feedback!

Not sure if your issue is kernel related, as I have not touched anything related to that as far as I know. Let me know if your problem is still there.

Being new to kernel development, I have no idea how to do that.

But I just asked DJNoXD for help, and hopefully we might see a P505/P506 version soon!
[Optimus One, P500 Original Android Development] sweetnsour:
Thanks to DJNoXD, it looks like we will be seeing support for P505/P506! Assuming that I set up everything correctly that is.

Thanks again to DJNoXD :)
[Optimus One, P500 Original Android Development] Amitosh:
[KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

kernel is good but when i touch the screen it lags. like playing games it start lagging. in nenamark2 it gives 17.9 FPS without touch & with touch 11.4 FPS :( :( .. in candied(Ice) it gives fps of 17.1 without touch & with touch 15.5..
[Optimus One, P500 Original Android Development] sweetnsour:
This is related to the touchscreen driver. I personally don't see any lag while I play games (I play temple run 2 :)) but if you find the current touchscreen driver to be laggy, then I can look into changing it.

The current touchscreen driver is from franciscofranco. This weekend, I will release only the CFS kernel with the following touchscreen drivers:

thachtunganh

fserve

der caveman

Any other touchscreen drivers you would like to see?

Once those kernels are released, I will create a poll to see which one is the most popular, and that one will be the supported touchscreen driver.
[Optimus One, P500 Original Android Development] Amitosh:
game is smooth but when i touch the screen its start lagging games like PES 2012 ,dead space ect games require continue touching so it laggy otherwise game run smoothly :D :D anyway thanks and in your opinion which is best CFS or BFS...?

i don't really know about touchscreen drivers which is good because im noob
[Optimus One, P500 Original Android Development] sweetnsour:
I know what you are talking about :)

Especially PES, that really lags on ICS but we'll find the right touchscreen driver soon!

If you are a gamer, I'd say go for BFS. It focuses on the foreground app (less multitasking but more performance for the app currently running). CFS is for multitasking.

Even if you are not a gamer, I still think BFS is smoother than CFS.
[Optimus One, P500 Original Android Development] sweetnsour:
P505/P506 BFS and CFS uploaded. Please test it and tell me if it works or not.
[Optimus One, P500 Original Android Development] Amitosh:
[KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

Ok thank you :D :D
[Optimus One, P500 Original Android Development] sweetnsour:
Wait, it is only for users with the P505 and the P506. Do not flash it.
[Optimus One, P500 Original Android Development] Amitosh:
sorry i post wrong post..it above one i replying..
[Optimus One, P500 Original Android Development] DJNoXD:
Did you find a solution to switch between those ts drivers or do you build a kernel for every driver?
[Optimus One, P500 Original Android Development] sweetnsour:
I haven't built any of these kernels yet. However, I believe roqu3 had a solution for that:

https://github.com/roqu3/Kernel-2.6.35.14-P500/commit/a7c335aea19dac0baa41b942a3e47f0b3612c8b8

Then you can switch between the touchscreen drivers under menuconfig:

-Device drivers

--Input device support

---Touchscreens

Hopefully that answered your question :)
[Optimus One, P500 Original Android Development] DJNoXD:
:)

No, I meant, if you know a solution to include all those drivers into the kernel and provide a solution that the user can switch between the ts driver at android gui.

The only solution providing different ts driver I know is compiling a new kernel for every ts driver.
[Optimus One, P500 Original Android Development] uf0999:
Testing 3a BFS on CM10.1 20130208 NIGHTLY

SmartassH3 245/710mHz

KSM on

zRam 10%

Battery Life is truly amazing! This night, with 2G on, drained only 8% in 7hrs. Seams that is working pretty good in standby mode :D

I can't find any problem until now.

SMAMC didn't work on stock kernel, working good on sweetnsour's one. Little slow but without lag (I think the game Itself it's not well developed for android)

I found only little lag switching beetwen apps and widget, (never happened with stock)

On the stock kernel Wi-fi always disconnects after some time and I had to manually reactivate it to make it working again. Sometimes also data connection has the same problem. Seams that on sweetnsour's one problem is gone. (I have to test it more)

Now go for 3.0 :P
[Optimus One, P500 Original Android Development] DJNoXD:
You have set Wifi to never disconnect at the settings?

As far as I remeber default is disable after 15min on standby.
[Optimus One, P500 Original Android Development] storm11:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

is that possible? Something like vsync which Franco tried to but couldn't succeed.
[Optimus One, P500 Original Android Development] DJNoXD:
The difference between vsync and touchscreen driver is, that the drivers could be build as a module.

I don't think, that inbuild driver can be easy unloaded.

The problem is we need to do something (by hand) to load one driver module at boot. Else we don't have a working touchscreen. So a kernel compiled this way would not be compatible with every rom without doing some modification to it.

I guess than it should be possible to load and unload touchscreen drivers by an app.

So building display driver as a module is not a good idea, because you won't see anything and maybe even android won't boot.

If inbuild drivers can be unloaded by an app, it would be possible to create a kernel with a default touchscreen driver and build all other as module and use an app to unload and load the drivers.
[Optimus One, P500 Original Android Development] thachtunganh:
Build each of them as a module, then load it by using terminal command.

@All people: I've been busy for yesterday... I will add the optimized touch screen driver into the kernel later.
[Optimus One, P500 Original Android Development] nomancoolboy:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

Version 2 was better than the current version

But battery life is good on latest version
[Optimus One, P500 Original Android Development] Dovidhalevi:
If built as modules, one of them must get loaded on first boot to see anything. An init.d script might do this and a small script to modify that made available (or I would just do it by hand). Reboot in between.
[Optimus One, P500 Original Android Development] sweetnsour:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

Oh, sorry. Yeah the only solution I know is to compile a separate kernel for each touchscreen driver.

In what aspect was version2 better? To improve the kernel, I'm going to need more specific feedback :)

If you are talking about smoothness and performance, the touchscreen driver will be changed, as thachtunganh and I have said :)

Sent from my LG-P509
[Optimus One, P500 Original Android Development] Sandipkim:
s&s if possible please increase screen sensitivity in next version, that feels better to me. while operating phone when it is kept on table! :D

and a big thanx for buttery kernel i use cfs with smartassH3 on cm9 it gives me great battery life...while using phone!
[Optimus One, P500 Original Android Development] omidreza:
hi. i'm using the version 2 of this kernel. it works good but i want to know if there is anyway to extract the stock kernel zip from the rom zip. thanks
[Optimus One, P500 Original Android Development] sweetnsour:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

Try this:

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

Sent from my LG-P509
[Optimus One, P500 Original Android Development] thachtunganh:
OK people, it's done!

Just pushed 2 new commits to both 'cfs' and 'bfs' branches:

https://github.com/austinay/sweetnsour-kernel/commit/6bc0e27e37b84fb23f07ab40abdf4b5726085113

https://github.com/austinay/sweetnsour-kernel/commit/931b22ae46cfd775e0d893265a14aaf22797171e

So now, both 'cfs' and 'bfs' version will have the optimized touchscreen driver. ;)

Enjoy!
[Optimus One, P500 Original Android Development] gabo_lope:
Works awesome, on GenetICS 9.1.7, version 3.a BFS...
[Optimus One, P500 Original Android Development] krishnandu.sarkar:
Isn't 9.1.5 is the last? Where did you got 9.1.7? May be I missed some great news. Can you please share the same?
[Optimus One, P500 Original Android Development] sweetnsour:
Nice! Where did you get this driver from?

No issues on your phone? Sweet :)

If you are using the P505/P506 version, the kernel couldn't have been compiled without DJNoXD's help, so thank him if you see him around!
[Optimus One, P500 Original Android Development] mixednuts:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

No, just some minor modifications by hardlight to hep's last release - http://xdaforums.com/showthread.php?p=35398726
[Optimus One, P500 Original Android Development] thachtunganh:
My old kernel.
[Optimus One, P500 Original Android Development] anhsmile:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

i'm using Evoking v1.4 rom

i flashed version 3a-bfs

sound laggy while playing game:(

version 3a-cfs works good
[Optimus One, P500 Original Android Development] edinrh:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

my NightlyFoutE and your kernel, perfect combination, i love it

Enviado desde mi E400 usando Tapatalk 2
[Optimus One, P500 Original Android Development] korrectmethod:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

P506 cfs kernel is working great with genetICS 9.1.7. I've only tested for a day but I think its great so far.

The phone isn't wake-locking, that's me listening to music while at work :)
[Optimus One, P500 Original Android Development] engr_exxi:
Look the battery adjusts itself!

The great drain is when i used 3g data while riding a bus going to work.
[Optimus One, P500 Original Android Development] fresyk:
Sry but on my ici snap 1.6, i've tested cfs 3,bfs3 ,bfs,cfsa .. and only bugs and battery draining fast.. so i 've backup with caf kernel ..

why its this happen?
[Optimus One, P500 Original Android Development] raenye:
Works alright here! (P505 CFS, Oxygen 3 ICS rom v1.1)

Thanks :)
[Optimus One, P500 Original Android Development] sweetnsour:
Maybe its because BFS was not meant to handle many things at once. CFS is meant to do such a thing (multitasking).

Nice to hear that :)

Thanks for the feedback :good:

I'm not sure if that's possible, but if all is good for you, then great ;)

Maybe you had wakelocks?

@everyone, from now on, if you want to report an issue with battery life, please upload a screenshot from BetterBatteryStats of the following two pages: kernel wakelocks and partial wakelocks.

Thanks for reporting!
[Optimus One, P500 Original Android Development] engr_exxi:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

I flashed the latest version. Using genetics 9.1.7 and 9.1.7 odexed version.

Once the screen turns off (about 10 mins idle). It just stays black. I mean lcd is on (with backlight) but the display is off.

I wiped cache before and after flashing.

I‘ll provide logcats on monday. Using pc at work. Lol.

Back to version 2 for me. :)
[Optimus One, P500 Original Android Development] sweetnsour:
Did you flash the right version? I now have two versions, one for P500/P509, and one for P505/P506.

On the download page, unspecified means P500/P509, while the one that is specified as P505/P506 is for, well, the P505/P506 :)
[Optimus One, P500 Original Android Development] FynoM:
I think you should tell people to first wipe cache and dalvik cache.. and not only if it causes problems, cause you'll get too many questions from people
[Optimus One, P500 Original Android Development] sweetnsour:
I guess it doesn't hurt to flash those two beforehand :)
[Optimus One, P500 Original Android Development] sweetnsour:
To any testers available that are currently using version3a-CFS:

I have released two test kernels based on version3a-CFS, both of which are affected in terms of performance. Because of this, benchmarking is required. Changelog for these kernels will not be available until enough feedback/benchmarking is reported. If you do have a hunch of what I did, please keep it to yourself.

Please benchmark version3a-CFS and at least one, if not both, of the test versions (using the benchmarking app of your choice, although I prefer Antutu). Please make 3 benchmarks of the kernel you are testing. Besides the benchmarks, please tell me if overall use has improved or worsen.

Also, if anyone uses USB tethering, please check if the reboot is still there. While I doubt that the reboot is gone, I did enable one thing that was enabled back in the gingerbread kernels.

P.S.: If there is a performance gain, all other versions of the kernel (BFS, P505/P506) will be getting it too. I just don't want to compile every single kernel just for this one test. Also, this does not include thachtunganh's optimized driver. That will be in the next update.

Thanks for testing :)
[Optimus One, P500 Original Android Development] allenwalker1998:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

I will test. Mind pming me the links?
[Optimus One, P500 Original Android Development] engr_exxi:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

The results..

360~710mhz smartassv2 sio

Kernel3a

3662~3438~3519

Ave~3539.66

Kernel3a test 1

3536~3684~3537

Ave~3597.66

Kernel3a test 2

3480~3659~3624

Ave~3599.66

Comparisons. Test2 and 1 have good ram output.

Cpu int. Same with the 3

Cpu float. Same with 3

2d. 3a wins. With highest output but average are the same with 3

3d. Test1 clocks at 2404 then again average is almost same.

Database. Test2 hits 200 and 205 at 2 test. Test1 195 max but 180 and 185 and 3a stays at 183 ave.

My error is i add the sd to the test.

Sd. But at ave. 3a is better

3a~85:94:50/31:23:26

Test1~73:27:73/16:22:16

Test2~31:142:44/24:24:21

(Kernel)~sdwrite/sdread

There.. i want to write the whole result.. but im sleepy.. and typing in phone is bad.. :D
[Optimus One, P500 Original Android Development] WidowCranky:
122~600 SmartassH3 SIO

4.2.2 02/15

Class 10 SD card

3a:

Score 3083

Memory157

Integer 211

Float 154

2D 386

3D 1950

DB 170

SD-W 36

SD-R 19

Test 1:

3438/3179/3399

119/156/120

206/215/203

154/154/154

382/376/368

2349/2009/2325

170/170/175

39/84/36

19/15/18

Test 2:

3002/3206/3032

121/121/157

207/207/155

157/153/154

387/384/383

1902/2105/1949

170/170/175

36/42/36

22/24/23

Phone rebooted before each test.
[Optimus One, P500 Original Android Development] sweetnsour:
Thanks! I just pm'ed the links to you.

Thanks for the benchmarks!

Looks like the results were close but still slightly noticeable.

Can you guys tell me how the test kernels feel overall compared to version3a-CFS?

Also can anyone see if there is still a reboot when using usb tethering?

P.S.: WidowCranky, I was going to hit thanks but I ran out for today. I'll hit it for you tomorrow since your feedback really helps :)
[Optimus One, P500 Original Android Development] sweetnsour:
Can anyone provide this information? I would like to release the next version, with an optimized touchscreen and all, but I need answers to those questions first. The result of introducing the optimized touchscreen might interfere with the result of the change I made in the test kernel. Also, I don't like leaving code that does not help at all.

If anything, please test test2. Benchmarks have already been provided by engr_exxi and WidowCranky, so they are no longer necessary. I think test2 is better than version3a-CFS and test1 (can you confirm that engr_exxi and WidowCranky), so only that version needs to be tested.
[Optimus One, P500 Original Android Development] allenwalker1998:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

Tested test2 it is little laggy but still okay. I tested it with neocore and I got 63.2fps without touch and 49.8fps with touch. I am on oxygen ics
[Optimus One, P500 Original Android Development] sweetnsour:
Thanks for the feedback!

Optimized touch screen will be included in the next release, version4.

If you use USB tethering, can you check to see if it still reboots? If you don't use it, then forget about what I just said :)

You reported it as slightly laggy while someone told me (through PM) that responsiveness improved. Can someone also provide some feedback on overall feel?
[Optimus One, P500 Original Android Development] allenwalker1998:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

I will test again and see whether USB tethering reboots.

---------- Post added at 12:13 PM ---------- Previous post was at 11:53 AM ----------

Tested it again. And I take back about the part that I said it was laggy. It is pretty smooth. And overall,it is smooth. the keyboard lag is still there but it is not so laggy anymore. And I can't test USB tethering as I have no access to a computer.
[Optimus One, P500 Original Android Development] sweetnsour:
Thanks for testing!

Don't worry about USB tethering. I'll just pass it onto the next release. No one seems to want to test a test kernel.

That will be enough feedback. This is the change:

test1 was compiled with Linaro, while test2 was compiled with CodeSourcery.

I kept it a secret because many of us are split when it comes to the optimizations of a kernel compiled with a different toolchain. I don't even know myself :p

engr_exxi reported that CodeSourcery averaged the highest score.

WidowCranky sent, through PM, more benchmarks that show CodeSourcery outperforming Linaro and GCC. After taking the average of the scores WidowCranky sent me, I found that Linaro actually scored lower than GCC, while CodeSourcery scored around 200 (Antutu) points higher than GCC. The difference might be small, but hey, it's still something.

All kernels will now be compiled with CodeSourcery.

As for USB tethering, I don't know whether it works or not since I don't use it.
[Optimus One, P500 Original Android Development] WidowCranky:
Re: [KERNEL][GPL][ICS|JB|2.6.35.14] sweetnsour.kernel-version3a

I turned on USB tethering last on Test 1 but I just turned it off again. I didn't have the time to actually do anything with it. But, I can say that getting that far didn't reboot my phone. Will try to do something with both kernels today.
[Optimus One, P500 Original Android Development] sweetnsour:
USB tethering should work, but there is a reboot problem on all kernels ICS and above. Not sure how to reproduce it, though, since I don't use tethering.
[Optimus One, P500 Original Android Development] WidowCranky:
Tethering:

Test 1: Turned on tethering again and it said it was active but when I turned on 3G it deactivated tethering and I couldn't turn it back on. Went into settings menu to turn it on where there was the message "USB connected, tick to tether". Tapped it and came on for about a second then went off and redisplayed the same message.

Have just flashed Test 2. Will try it and edit post with results.

Test 2: Same results with 3G connection but (and I didn't think to try this with Test 1), it did work if the phone had a wi-fi connexion to my router with PC's network cable unplugged.
[Optimus One, P500 Original Android Development] sweetnsour:
Thanks for testing. If there was no reboot then I guess that is a good sign, but then again I'm not sure if that is the way to reproduce the reboot bug. Like I said, I don't know how to use tethering. Maybe you need to turn on 3G first before you enable tethering?

I can't say for sure. Does anyone else know how to use tethering and reproduce the reboot bug?
[Optimus One, P500 Original Android Development] WidowCranky:
I tried it both ways. Same, enabling 3G afterwards killed the tether, enabling it first stopped the tether from settling.

Edit: But yeah, no reboot in either case.
[Optimus One, P500 Original Android Development] sweetnsour:
Can you try this?:

http://xdaforums.com/showpost.php?p=12758233&postcount=18
[Optimus One, P500 Original Android Development] WidowCranky:
That's with or without tethering on.

Win7 x64.
[Optimus One, P500 Original Android Development] Dovidhalevi:
After a brief interlude trying the new 3.0.31 kernel, I now have test2 up on the Feb15 4.2 ROM. Feels good.

BTW: good test-idea! Linaro has gotten a lot of buzz but some devs rightfully shied away. See how CodeSorcery fares!