yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] DJNoXD:
How did you test sd-card speed?
[Optimus One, P500 Original Android Development] omidreza:
by antutu benchmark, if you trust it...however your kernel gives me more fps on neocore
[Optimus One, P500 Original Android Development] DeuxEx:
If I use your kernel with Oxygen Rom, I have problems with GPS and iGO. Searching GPS signal is useless. Same problem with Google Maps. If I use stock Oxygen kernel, I did not have this problem.
[Optimus One, P500 Original Android Development] corwin42:
Does the bluesleep wakeup fix added some days ago solve the bluetooth battery drain broblem? Can someone confirm this? I currently can't check it myself because I'm on Oxygen ROM and this kernel does not work well with Oxygen. But if it fixes battery drain I would like to add the patch to Oxygen kernel.
[Optimus One, P500 Original Android Development] seriousia:
This kernal doesn't support oxygen Rom.

As far as i know this kernel is for only official CM Rom and it works perfectly with it.
[Optimus One, P500 Original Android Development] DeuxEx:
It works perfect with Oxygen Rom, except GPS problem. And I think that Oxygen is one of most popular and stable rom for P500. Why can not be suported in the future?
[Optimus One, P500 Original Android Development] thachtunganh:
I'e just compiled my CAF with KGSL drivers from 3.0.8 CAF Kernel, try some games, and it's really awesome!

Love Tyn!
[Optimus One, P500 Original Android Development] pradipsoman:
Is that available for testing?? Link??
[Optimus One, P500 Original Android Development] thachtunganh:
Yes, here: http://db.tt/4T51dj0p

Not just with new GPU drivers, i improved many many things, check out my git commits.

Love Tyn!
[Optimus One, P500 Original Android Development] Gruber11:
thachtunganh, do you still update this thread?
[Optimus One, P500 Original Android Development] thachtunganh:
First, sorry for OT in your Theard DJ.

And, No, until i finish all my exams

Love Tyn!
[Optimus One, P500 Original Android Development] pradipsoman:
flashed it. but it says 2.6.35.10-ThunderVN-1.1 :( Is there any error in your upload??
[Optimus One, P500 Original Android Development] Umang96:
I flashed ta-vsync off version v2.4.2, I got about 10% more battery as compared to stock CM kernel, I used to believe that all kernels/ROM gives almost equal battery life except STOCK ROM, but now I notice that your kernel gets me more hours as compared to stock cm kernel..
[Optimus One, P500 Original Android Development] thachtunganh:
No, i changed the name for new version in Vietnamese forum... it isn't the old thunderVN, it's the new CAF...

Love Tyn!
[Optimus One, P500 Original Android Development] DJNoXD:
If I have some free time, I will try to increase.
[Optimus One, P500 Original Android Development] DJNoXD:
Will check your latest changes. :)
[Optimus One, P500 Original Android Development] puckshock:
Cool cool

I've been liking TA's CAF kernel and I sort of want to try this candied kernel since TA only has smartassv2 in his kernel and I want to try something else out :D
[Optimus One, P500 Original Android Development] thachtunganh:
I haven't push my changes to github. Need more testing :)

Love Tyn!
[Optimus One, P500 Original Android Development] recreation012:
How about fixing the white noise too. And add the new LCD patch.
[Optimus One, P500 Original Android Development] DJNoXD:
thachtunganh has included the lcd patch in his caf kernel.
[Optimus One, P500 Original Android Development] allenwalker1998:
The heck? All I see are sad faces.
[Optimus One, P500 Original Android Development] williamcharles:
Undefined references..u have included the code but for those,headers are missing
[Optimus One, P500 Original Android Development] GonDr:
lol :D

very funny :D
[Optimus One, P500 Original Android Development] DJNoXD:
First thanks for trying to help me.

I understand the meaning of that undefined references.

But what about the first error? I think thats the main problem.

/home/randolf/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-ld: no machine record defined

Yesterday before going to bed I found (by using google search) that maybe something is wrong with my .config file and how to create a new one from kernel defaults. I will try that this evening and tell you.

If someone has some additional informations about, please tell me.

Question is about compiling 3.x kernel. (sources, some files are not checked in)
[Optimus One, P500 Original Android Development] thachtunganh:
DJ, i pushed my changes to github :). Check it out when you have free time :)

Love Tyn!
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks :)
[Optimus One, P500 Original Android Development] DJNoXD:
Maybe I have found the reason of the compile error:

I missed to add this code to Makefile:

CFLAGS_MODULE = $(MODFLAGS)
AFLAGS_MODULE = $(MODFLAGS)
LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds

Will try this evening. Cross your fingers that this will solve the problem.

Next version of this kernel will be updated to 2.6.35.14 kernel source. (patch code from kernel.org)

After that I will check thachtunganh's changes.

Than I will try to upgrade this kernel code to 2.6.38. (thanks to aspee for his hint)
[Optimus One, P500 Original Android Development] thachtunganh:
Oh yes, update code and drivers from new LG devices, the L3 and L5. We can takes some useful things :).

Love Tyn!
[Optimus One, P500 Original Android Development] Roqu3:
They changed a LOT on this new devices, compiling the L3 kernel was an epic pain in the ass but the best part is that they left their git repo on the sources so you can see how they did the porting, very nice from LG tbh
[Optimus One, P500 Original Android Development] pradipsoman:
Your kernel has the camera FC error on the latest 7.2 nightly. Once the screen turns off the camera fails to connect. The same error was there with franco's kernel. Please check that. I tried with default 7.2 and T.A's latest test CAF kernel. Its not present..
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for telling me.

I can reproduce and will check.
[Optimus One, P500 Original Android Development] yuripg1:
Have you disabled the support for stack unwinding? That might be causing the camera problem. If you disable it, frame pointer will be enabled (also I remember reading somewhere that ARM platform MUST have some kind of tracking like stack unwinding or frame pointer enabled, hence the reason menuconfig auto-enables frame pointer when you disable stack unwinding). And it seems only CyanogenMod kernel has the problem with frame pointer (I see no problem with stock/stock-based kernels with frame pointer enabled (because of disabling stack unwinding).
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for your help.

Stack unwinding is enabled.

But I have disabled "Allow old ABI binaries to run with this kernel", maybe this could be the reason.
[Optimus One, P500 Original Android Development] DJNoXD:
Problem is still there

Problem is still there. :mad:

But I still have some ideas.
[Optimus One, P500 Original Android Development] seriousia:
1.3.1 vsync off is more smoother than 1.3.1 caveman vsync off

Great work

Thanks :thumbup: ;)
[Optimus One, P500 Original Android Development] deniso177:
Is the list of Commits you found?

http://kernelnewbies.org/Linux_2_6_37
[Optimus One, P500 Original Android Development] DJNoXD:
No, I got the kernel sources and getting through it. (so its more like upgrading the complete kernel)

But if that won't work I will use your link to update the important code.

Thanks for your link. :)
[Optimus One, P500 Original Android Development] neko95:
> your kernels are good, suggestion add some more tweaks on it ;) and use mediafire for dl links.. voff now working
[Optimus One, P500 Original Android Development] deniso177:
Ye cool, because there might be a twist, as some files need to be edited on the Rom side to be compatible with the .37 strand, just as the .32 to.35 upgrade, but with the commits only necessary code can be used, the ext4 is worth looking at as a lot of people have a2sd in form of ext4
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for the hint. I have forgotten about that.

So I will take a look at the changes and try to port them into my kernel.
[Optimus One, P500 Original Android Development] deniso177:
Also dont know if you already looked at these, but may give you some ideas, such as axis workaround fix(helpfull for games, but apparently more battery usage), or cpu spike fix or other miscellaneous battery tweaks, etc from these 2 guys.

goldenleaf was a popular .32 kernel for its battery and roq3 has some interesting commits. And just because they reverted some, doesn't mean they might not for you in other combinations.

https://github.com/fserve/goldenleaf/commits/

https://github.com/roqu3/Kernel-2.6.35.14-P500/commits/
[Optimus One, P500 Original Android Development] DJNoXD:
Yes, I know them.

I already got through their changes and have taken some of them.

Next time will get through again and maybe I will take some more changes.
[Optimus One, P500 Original Android Development] storm11:
Hmmm this kernel it's great , awesome battery life , nice support too :)

Thanks a lot :D
[Optimus One, P500 Original Android Development] DJNoXD:
v1.4 beta is online (see first post)

It's only available with Caveman driver and vsync off.

If its stable I will create all versions.

Here are the changes:
[Optimus One, P500 Original Android Development] edinrh:
Explain me the change to 2.6.37

Enviado desde mi LG-P500 usando Tapatalk
[Optimus One, P500 Original Android Development] deniso177:
I saw that earlier when i was going through various source commits, but that one wasnt loading, should be interesting to see if it actually speeds up anything on our O1s
[Optimus One, P500 Original Android Development] deniso177:
Some great stuff if your bored.

http://kernelnewbies.org/Linux_2_6_36

And here so you can see all the possible versions of Linux kernels out there and their commits.

http://kernelnewbies.org/Linux_2.9 (2.9 just to show you all the actual ones)
[Optimus One, P500 Original Android Development] danielcr12:
Plz add tun.ko module

Enviado desde mi LG-P500 usando Tapatalk
[Optimus One, P500 Original Android Development] DJNoXD:
You can find the explains at mit githb commits.

- backport from 2.5.37: sched: Try not to migrate higher priority RT tasks

link

- backport from 2.5.37: cfq: improve fsync performance for small files

link

- backport from 2.6.37: cfq-iosched: Implement tunable group_idle

link

- backport from 2.6.36: OOM rewrite

link
[Optimus One, P500 Original Android Development] DJNoXD:
With LZMA (highest compression) I've git the problem that the phone stucks at lg logo. Maybe I havn't waited long enough, but than boottime would be over 1 min.

LZO works without problems and boot feels a little bit fast for me. Feedback about that would be helpfull.

Thanks again for the links. :D
[Optimus One, P500 Original Android Development] DJNoXD:
Will be included in next beta.

Please test it if the new beta is online (maybe tomorror).
[Optimus One, P500 Original Android Development] Cresqo:
Tried this kernel and I find it very smooth. Good job! The only annoying thing is the noise during wake up( other kernels have less noise) but otherwise is its super :D

P.s. using latest beta
[Optimus One, P500 Original Android Development] ravidahiya74:
Which version is best combination for best battery life and decent gaming performance???

BTW... version 1.4 is really smooth but it causes shattering while playing games...which is actually annoying .....
[Optimus One, P500 Original Android Development] neko95:
> if your making a kernel good for games.. then stick with the touch fix and known tweaks :D .. i had tested 1.4.. smooth.. my only prob is fruit ninja.. since it was v-off , screen tearing is the issue.. good work

+1

:thumbsup:
[Optimus One, P500 Original Android Development] Kvidli:
So DJ, tried the 2.4.2 on stock 2.3.3...and I have to say, performance is better, it feels smoother and the battery life is good, but there's still some lag now and then... especially on transitions :) other than that keep up the great work ;)
[Optimus One, P500 Original Android Development] neko95:
> Dj your latest kernel(2.4.2) works perfect on stock LG 2.3.3 rom unmodified.
[Optimus One, P500 Original Android Development] DJNoXD:
possible changelog for v2.5

possible changelog for v2.5 (still working on):

- Update: Memory Manager (mm) from Code Aurora Forum kernel (ics_chocolate branch) (todo)
- Update: msm_fb : Add support for Yamato format (our adreno200 gpu) (working on)
- Update: KGSL drivers (working on)
- Update: genlock from msm-3.0 (implemented)
- Update: kernel source 2.6.35.13 > 2.6.35.14 (implemented)

Thanks to thachtunganh and all others for their work.
[Optimus One, P500 Original Android Development] DavisNT:
Can you please also fix camera screen off bug (that camera doesn't work if screen has been turned off while camera in use)?
[Optimus One, P500 Original Android Development] DJNoXD:
I have started working on that changes above before I was told about that issue. I hope that my work on that can be finished today.

If I have finished, I'll try to fix.

Has someone looked into logcat when camare FC happen?
[Optimus One, P500 Original Android Development] DavisNT:
I don't see any FCs. I got only black screen instead of camera preview. In logcat these lines are written:

06-15 11:16:34.039 E/QualcommCameraHardware(151): native_stop_preview: ioctl fd 23 error Connection timed out
06-15 11:16:34.039 E/QualcommCameraHardware(151): stopPreviewInternal: failed to stop preview
06-15 11:16:34.039 D/QualcommCameraHardware(151): Camframe timed out. Not receiving any frames from camera driver
[Optimus One, P500 Original Android Development] neko95:
> your amazing.. thanks!
[Optimus One, P500 Original Android Development] DJNoXD:
preview version of v2.5 @github

You can find preview version of v2.5 @github (ta, vsyncOff).

I will start working on camera issue this evening.

Changelog

- Add and enable frontswap
- Update: Memory Manager (mm) from Code Aurora Forum kernel (ics_chocolate branch)
- Update: msm_fb : Add support for Yamato format (our adreno200 gpu)
- Update: KGSL drivers
- Update: genlock from msm-3.0
- Update: kernel source 2.6.35.13 > 2.6.35.14

Edit: Maybe ICS is working with this kernel, but I havn't tested.
[Optimus One, P500 Original Android Development] neko95:
> It would be great if it would now work on ICS. We need some one to confirm. currently Im on CM7.2
[Optimus One, P500 Original Android Development] DJNoXD:
I'm also on CM7.2.

If its generally working on ICS, it would be nice if someone tells me whats not working (if there is something).;)
[Optimus One, P500 Original Android Development] thachtunganh:
Yes, if you implement all patches that i posted on my Github, your kernel can works with ICS ;). I'm using CM9 (actually i'm testing it) with my kernel.
[Optimus One, P500 Original Android Development] DavisNT:
Yeah! Thanks man! You are amazing! :)
[Optimus One, P500 Original Android Development] neko95:
> Dj your v2.4.2-ta-vsync-signed kernel is not v-on.. its v-off i got above 70+ fps on neo core benchmark.
[Optimus One, P500 Original Android Development] DJNoXD:
Compiling those versions sometimes confuses me and I can't remember which one I have compiled. :rolleyes:
[Optimus One, P500 Original Android Development] DavisNT:
It works on ICS :) I am writing this on hephappy CM9 PREMATURE build with your kernel (2.3.5 test version).

Two of issues I noticed (was not able to access internet through one WiFi that may be wasn't configured properly; when i switched on phone offline-charging screen appeared) were reproducible with hephappy CM9 PREMATURE default kernel.

Third issue was that phone somehow managed to switch off while it was in my pocket - it even vibrated a bit (may be that was some incomming call issue?).

Things I tested and were working were:

mobile data

GPS

SMS

voice calls

Google Maps, Google Play, Web Browser

I did the testing for a few hours, so this can not be considered serious testing. As well as current ICS builds for P500 are pretty unstable...

Thank you, DJNoXD for candied kernel! :)
[Optimus One, P500 Original Android Development] DJNoXD:
Here my result of searching that issue:

It appears first time after merging latest cm kernel changes to my kernel (v2.4.2).

Today I flashed the cm-7.2.0-p500.zip and the issue is also in the cm-kernel. Older cyanogen versions didn't have a kernel compiled from the latest sources and because of this it doesn't appears.

I will continue searching a sultions, but please also post that issue in the cyanogen thread.
[Optimus One, P500 Original Android Development] sweetnsour:
Hey DJNoXD,

If you can, can you consider giving fserve's or paolo's touchfix a shot? In my opinion, they are better than der_caveman's touchfix. I tried both his kernel and your kernel with his touchfix, and performance dropped noticeably (around 20 fps) while touching the screen. I don't know how RoQ got a hold of paolo's touchfix (I forgot the reason why people are saying it's unavailable), but if you are interested, here is RoQ's thread.

Your kernel gives me more performance (while not touching the screen). That's why I asked :)

Thanks!

sweetnsour
[Optimus One, P500 Original Android Development] neko95:
> agreed DJ, paolo gives me no lags or decrease in performance while touching the screen.. same with fserve touchfix.. I used roq kernel before with this set of touchfix.. but I like paolo's more.
[Optimus One, P500 Original Android Development] DJNoXD:
So you think about replacing caveman touchscreen driver by paolo's?

I will take a look at paolo's driver. If I have some free time, maybe I can create v2.5 testversion with paolo's driver this evening.
[Optimus One, P500 Original Android Development] allenwalker1998:
+1. Paolo's touchfox is really good. Used it on my own kernel.(not planning to release it though).
[Optimus One, P500 Original Android Development] neko95:
> yep .try it.. what where you using right now? with touchfixes or default?

Sent from my awsome LG P500 Running RAZRUI
[Optimus One, P500 Original Android Development] DJNoXD:
Unmodified caveman and thachtunganh touchscreen driver.
[Optimus One, P500 Original Android Development] vlt96:
Just an info: CM9 is the only ROM I have ever had (including stock) that lasted me for 2 weeks without a reboot, and also the only one who NEVER rebooted over night... and I have less KP...

They are not unstable, ICS Oxygen (less size and great features)+OMX and we have perfect ICS, no more GB

Sent from my LG-P500
[Optimus One, P500 Original Android Development] DJNoXD:
Which one are you using?
[Optimus One, P500 Original Android Development] vlt96:
Stock kernel, and as for ROMs, I am on ICS since beta2 from lupo (and tried all builds before, I remember ICS without HW/A)

Went to oxygen for a week after phone came from service, but only thing that I dislike is that IMDb lags at videos, I hardly recommend ICS, maybe a better ICS kernel too:):)

Sent from my LG-P500
[Optimus One, P500 Original Android Development] vikasb32:
Just 2 question.

1.i see cv and ta kernel in attachment which version i used?

2.i am using cm7 rc3 after flashing this kernel the reboot on incoming bug is solved?

Sory for my eng
[Optimus One, P500 Original Android Development] DJNoXD:
Sory for the delayed answer. Didn't have much free time.

cv = cavemna touchscreendriver

ta = thachtunganh touchscreendriver

just try which one you like more.

Since I use my kernel I didn't recognize any reboot on incoming call.
[Optimus One, P500 Original Android Development] DJNoXD:
If nothing unexpected happen I can work on my kernel this evening.

I hope I can:

- fix the camera bug

- include the paolo ts driver (instead of caveman)

After that v2.5 can be released.

About 3.x based kernel:

I have found something (in arch Makefile) which maybe fixes my compile problem.
[Optimus One, P500 Original Android Development] DavisNT:
Will camera fix undo changes to GPIO calls?

After rebooting I didn't have alarm clock issues (though I haven't tested in airplane mode), but yesterday I had another interesting issue - vibrator failed (alarm clock, incomming calls and long pressing power button didn't vibrate), reboot helped, afterwards I reverted to 2.4.
[Optimus One, P500 Original Android Development] DJNoXD:
I guess that all this should work like it does in v2.4. ;)

But we will see if I have done those changes to v2.5.
[Optimus One, P500 Original Android Development] DavisNT:
This means GPIO stuff (at least most of it) is reverted in v2.5, right?
[Optimus One, P500 Original Android Development] sweetnsour:
Hey DJNoXD, any luck with paolo's driver?
[Optimus One, P500 Original Android Development] thachtunganh:
What do you mean? Sweetnsour? You mean the Paolo touchscreen driver?

Love Tyn!
[Optimus One, P500 Original Android Development] sweetnsour:
Yes :)
[Optimus One, P500 Original Android Development] DJNoXD:
No.

I hoped to have enough free time, but I haven't.

But thats the next thing on my list. ;)
[Optimus One, P500 Original Android Development] DJNoXD:
New 2.5 test version, with solved camera problem + some optimisations (will be added to changelog).
[Optimus One, P500 Original Android Development] GonDr:
Waiting changelog, Thanks
[Optimus One, P500 Original Android Development] vlt96:
Dude WTF? In there there is "Stock LG, 2.3.3" and "Stock LG, Gingerbread"

Starting to get disappointed, please change that thing;)
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for telling, just overlooked that it was still there. :cyclops:
[Optimus One, P500 Original Android Development] DJNoXD:
Changelog v2.5 (RC8):

* Some things I maybe forgot
* CONFIG_STACKTRACE disabled
* Use compiler code optimisation -> faster (CONFIG_CC_OPTIMIZE_FOR_SIZE has to be disabled)
* Add and enable frontswap
* Update: Memory Manager (mm) from Code Aurora Forum kernel (ics_chocolate branch)
* Update: MDP header to latest version
* Update: msm_fb : Add support for Yamato format (our adreno200 gpu)
* Update: KGSL drivers
* Update: genlock from msm-3.0
* Update: kernel source 2.6.35.13 > 2.6.35.14
[Optimus One, P500 Original Android Development] DJNoXD:
@just an information

I have changed my build pc (now I use my fastest pc):

- Intel Core 2 Quad Q9550 @3,6GHz (watercooled)

- 8GB RAM

- Added a Samsung 120GB SSD for Kubuntu

I hope development will now be a little bit faster.
[Optimus One, P500 Original Android Development] FitAmp:
You have went a far way improving your kernel. You have done a great job. I always come back to this after flashing a new cm7 rom! Keep up the fantastic work.

Currently testing rc8 on latest cm7 release
[Optimus One, P500 Original Android Development] thachtunganh:
You have a good work space.

Love Tyn!
[Optimus One, P500 Original Android Development] DJNoXD:
Did anyone know where to find paolo's sources?
[Optimus One, P500 Original Android Development] DJNoXD:
Changelog v2.5 (RC9):

* Some things I maybe forgot
* msm: camera: Free buffers from frame queue at open
* Update: SIO 0.2
* msm: vidc: Remove vcd restriction of duplicate input buffer queue
* Little performance improvement for slub memory allocator @franciscofranco
* CONFIG_STACKTRACE disabled
* Use compiler code optimisation -> faster (CONFIG_CC_OPTIMIZE_FOR_SIZE has to be disabled)
* Add and enable frontswap
* Update: Memory Manager (mm) from Code Aurora Forum kernel (ics_chocolate branch)
* Update: MDP header to latest version
* Update: msm_fb : Add support for Yamato format (our adreno200 gpu)
* Update: KGSL drivers
* Update: genlock from msm-3.0
* Update: kernel source 2.6.35.13 > 2.6.35.14
[Optimus One, P500 Original Android Development] allenwalker1998:
DIDNT READ PROPERLY
[Optimus One, P500 Original Android Development] allenwalker1998:
And here Paolo has no git . http://www.multiupload.nl/YRJB7ERJC3
[Optimus One, P500 Original Android Development] DJNoXD:
File is not available any longer.

Did someone still has that sources?

Only the touchscreen driver would be enough. :D
[Optimus One, P500 Original Android Development] allenwalker1998:
Weird I just visited it. :confused: