yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] allenwalker1998:
Looks like u got to ask roq for it
[Optimus One, P500 Original Android Development] allenwalker1998:
Okay here but choose V6 of paolo's kernel. http://mioptimusone.blogspot.sg/2011/07/repositorio-links-para-el-lge-p500p500h.html
[Optimus One, P500 Original Android Development] DJNoXD:
Same thing. Tells me that file is not available.

Can you download?
[Optimus One, P500 Original Android Development] Cresqo:
Paolo didn't release his touchscreen driver in his sources. For some reason, roqu3 got hold of it and it is in is github
[Optimus One, P500 Original Android Development] neko95:
> you can ask Roqu3 for paolo's ts drivers coz as of now he also use this

> or view his source @ git?
[Optimus One, P500 Original Android Development] pradipsoman:
Tried your latest test kernel. White noise is back.:confused:
[Optimus One, P500 Original Android Development] thachtunganh:
How do you know he didn't release the touch fix version source????

What Paolo fixed in touchscreen driver are addding axis hack and dirty hack from mik.

Love Tyn!
[Optimus One, P500 Original Android Development] DJNoXD:
Thats also my understanding from what I read.

So I thought there's maybe another version I havn't found. :confused:
[Optimus One, P500 Original Android Development] DJNoXD:
Thats the price for having a working cam (for the moment).
[Optimus One, P500 Original Android Development] thachtunganh:
If you want to make your kernel works with ICS ROM, apply the usb drivers from 3.0 kernel patch...

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

Will include it.
[Optimus One, P500 Original Android Development] pradipsoman:
I don't think so Dj...T.A's latest CAF kernel works well with the latest Nightly without the camera problem :) And his kernel does not have the white noise. So I believe that you can set it right.....
[Optimus One, P500 Original Android Development] Roqu3:
You need the whole source? If you only want the touchscreen driver it's on my sources

https://github.com/roqu3/Kernel-2.6.35.14-P500/blob/master/drivers/input/touchscreen/mcs6000_ts.c

To apply the touchfix just uncomment line 211
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks. :good:
[Optimus One, P500 Original Android Development] DJNoXD:
I know and I will continue working on it. Thats why I wrote "for the moment". ;)
[Optimus One, P500 Original Android Development] DJNoXD:
v2.5 released

Changelog:

* Some things I maybe forgot
* updated vidc/camera headers for compatibility
* net: Reorder incoming packets in PPPoLAC and PPPoPNS
* 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
* Revert: merge latest cm kernel sources
[Optimus One, P500 Original Android Development] bluespoon4:
Hey DJ, if it wouldn't be too much trouble, could you please compile v2.5 of your kernel with Caveman's touchscreen driver?
[Optimus One, P500 Original Android Development] DJNoXD:
Sorry, I can not compile every version of my kernel with every touchscreen driver + vsync On / Off.

Why do you want a version with der caveman TS driver?
[Optimus One, P500 Original Android Development] bluespoon4:
I just think that multitouch works a bit better with his driver compared to roqu's or thachtunganh's
[Optimus One, P500 Original Android Development] FitAmp:
Holy DJ are you ever fast on the releases! Fantastic! :thumbup::D
[Optimus One, P500 Original Android Development] GonDr:
hmm well i'm happy with v 2.5 fast and smooth, i tried roq vsync and ta vsync, white noise screen is back but its not big problem

Thanks DJ
[Optimus One, P500 Original Android Development] muning98:
Feature request: FUSE module

Hey DJNoXD, could you please add FUSE module in your kernel so we can use cryptonite in our phones to support EncFS and TrueCrypt encrypted filesystems?

Thank you very much.
[Optimus One, P500 Original Android Development] puckshock:
So is this kernel compatible with ICS roms, specifically the AOKP?

EDIT: Okay so I tried using it with the AOKP build 40 and it seems to have messed up my wifi connection or something so atm I would not recommend using this kernel in combination with the AOKP port for P500.
[Optimus One, P500 Original Android Development] rr0yy:
Fm radio bug...

Hey DJ.. love your work brother!!

There is this bug in all your kernels.. When you are using Fm Radio and if

your phone is in silent or vibration mode.. the Fm radio remains ON during any incoming call and you will not know if you are getting a call.

Second thing.. after you receive a call.. the volume gets completely high or completely low.. and volume button stops responding!!

Try rectifying these bugs!! :)

HIT THANX IF YOU FIND THIS HELPFULL...!! :)
[Optimus One, P500 Original Android Development] neko95:
> a v off and v on with multiple touchfix selection is already enough, thanks DJ:good:
[Optimus One, P500 Original Android Development] DavisNT:
Got reboot when tried to make outgoing call, the other party had switched off phone, I heard "person is not available right now" message from other party mobile operator , pressed red end-call button and phone rebooted (first time I notice this bug).

Have you reverted GPIO changes?

Last few days I used 2.4-caveman-vsync version and upgraded today. :)

---------- Post added at 03:23 PM ---------- Previous post was at 03:22 PM ----------

I also have this bug, but I think we have it also with CM 7.2.0 default kernel (don't we?)...
[Optimus One, P500 Original Android Development] neko95:
> testing v2.5 v-on roq ts overnight:good:
[Optimus One, P500 Original Android Development] DJNoXD:
No, I havn't changed anything about that.

I have started 2.5 again with v2.4 as the base.
[Optimus One, P500 Original Android Development] rr0yy:
I tested 2.5 roq.. didnt get any problem like this. I think its due to overclocking.. with DJ's 2.1.1 i OC til 768mhz.. then with his new updates i got many random reboots!!

Now i have reduced it to 729 n less.. no random reboots til now!! :) Hope this might help you.

I face this volume response problem only after i receive a call while using FM Radio. :)
[Optimus One, P500 Original Android Development] DJNoXD:
Which FM Radio app are you using?

Are you sure its not a problem with the app?

Does it work with cm stock kernel?

Have you looked into log if theres something about?
[Optimus One, P500 Original Android Development] neko95:
> your vsync kernel is still vsync-off DJ(tested v2.5-roqu-vsync)
[Optimus One, P500 Original Android Development] DJNoXD:
I'm realy sure that I changed that setting. :confused:

I will check.

Did you know if the ta vsync has the same problem?

Edit: I think I found the reason.

This evening I will compile vsync On again.
[Optimus One, P500 Original Android Development] Alexandrc:
v2.4.2 - fine.

v2.5 - not working!

After reboot I see this screen:

View attachment 1156928
[Optimus One, P500 Original Android Development] DJNoXD:
Have you tried to flash again and to do a second reboot?

Does thachtunganh kernel work?

If his kernel has the same problem its maybe because of the updated kgsl drivers.
[Optimus One, P500 Original Android Development] muning98:
Well, since my above post went largely unnoticed, I guess I'm stuck with LUKS Manager for my encryption needs. The encrypted containers (LUKS) work with Windows using FreeOTFE but it's a little pain (needs scripting) for Linux (my main OS). I would rather use TrueCrypt as my cross-platform encrypting solution.

I can compile on my own (already did several times with mainline kernel but never tried android kernel) but right now I only have an underpowered netbook at my disposal, which is not suitable for this task.

Anyway thanks for your work and keep it up DJNoXD. You're doing a great service for the community.
[Optimus One, P500 Original Android Development] Alexandrc:
I see the same "green" screen :crying: in both cases: after re-flashing v2.5 and thachtunganh's caf-p500-20120617.
[Optimus One, P500 Original Android Development] DJNoXD:
Sorry, I forgot to answer. :crying:

I will take a look about fuse module, but you have to wait a bit (maybe some days -> lot of work at the job at the moment).

@all

What do you think:

Should I provide all modules as a seperate zip file? (two files: kernel, modules)

Or should I continue including them into kernel? (one file: kernel with modules)
[Optimus One, P500 Original Android Development] NeuDLi:
To keep it simple I would prefer just doing it the same way LG does it originally. That is, wifi as a module, everything else included in the kernel.

This will ensure that an existing wifi module is properly overwritten instead of having wifi redundantly in the kernel and as a module, which might cause problems or at least confusion. Vice versa, if you use a couple of modules which may not be present in different ROMs/kernels, these stay in the system partition and at least are unnecessary, in the worst case cause problems.

Also, as the kernel is stored in the boot partition while the modules are stored in the system partition, in this manner you save just a litte space in the system partition.

Just my opinion...
[Optimus One, P500 Original Android Development] thachtunganh:
Right, it was caused by KGSL drivers update....

Love Tyn!
[Optimus One, P500 Original Android Development] DJNoXD:
The problem is (I have tried), that e.g. tun doesn't work if included in kernel.

Maybe its a problem of the apps?

At the moment I have three modules:

- wireless

- cifs

- tun

Maybe I have done something wrong (just changed from module(m) to included(*)).

I would also prefer to include those modules in kernel. (kernel file is only a little bit bigger, but the overall size (kernel+modules) is less)
[Optimus One, P500 Original Android Development] muning98:
Thank you for your time. I (and others for sure) will be waiting for when your kernel gets released with FUSE module included.

IMHO, it's better to keep the modules external (or separate as you word it) rather than built-in to the kernel as they are not needed by the system to be loaded at boot time and used the whole time the phone is on.
[Optimus One, P500 Original Android Development] DJNoXD:
fuse testing version will be available this eveninghttps://github.com/DJNoXD/candied-k...6b588ca41619ff4/v2.5.1-ta-vsyncOff-signed.zip
[Optimus One, P500 Original Android Development] DJNoXD:
fuse testing version will be available this evening
[Optimus One, P500 Original Android Development] NeuDLi:
Well that is strange... because I have used an integrated tun for some time now. Will though test it again when I get home, just to be sure. Only thing, I use the VPNC widget instead of VPNC connections, so that might be the cause.

You can test with my kernel labelled "blue2", which includes tun and also advanced router (because otherwise VPNC widget complains).
[Optimus One, P500 Original Android Development] DJNoXD:
I hope that I have some time to test this evening.
[Optimus One, P500 Original Android Development] neko95:
> Dj is it possible for us to have Intellidemand governor?
[Optimus One, P500 Original Android Development] muning98:
This is great news!
[Optimus One, P500 Original Android Development] DJNoXD:
Do you have a link to the sources?
[Optimus One, P500 Original Android Development] DJNoXD:
Fuse test version

Please test both versions:

v2.5.1 fuse included (no module) (v2.5.1i-ta-vsyncOff-signed.zip)

v2.5.1 fuse as module (v2.5.1-ta-vsyncOff-signed.zip)
[Optimus One, P500 Original Android Development] NeuDLi:
I can confirm that VPN works with my kernel with integrated tun and using VPNC widget.

So I can confirm that tun does not necessarily have to be provided as a module (with VPNC widget). Is it possible that VPN connections requires it as a module? I can hardly believe that...
[Optimus One, P500 Original Android Development] neko95:
> I dont have the source

> will test now :good:

> em I right about understanding what fuse is? : http://fuse.sourceforge.net/
[Optimus One, P500 Original Android Development] DJNoXD:
Found it
[Optimus One, P500 Original Android Development] neko95:
> woah .. goodluck on it then :good:
[Optimus One, P500 Original Android Development] DJNoXD:
Its in. but must be tested.

Edit: test version with intellidemand governor attached
[Optimus One, P500 Original Android Development] abhikm001:
doubt !

Hii DJNoXD ... i have one doubt ... i know it might be "noob"ish ... still please help me out ... would be much appreciated

The most important thing that i look in my phone is its battery life ( the most important) ,stability(without much bugs and restarts) , speed (average is good for me).

I dont play much of games or watch videos in my fon ... but listen to a lot of music and frequently browse and download stuff.

happen to see that there are 2 vsync (on & off) options in roq and ta

can u suggest me the best suited for me ... shud i go for vsync on or vsync off ? :confused:
[Optimus One, P500 Original Android Development] neko95:
> I'll be glad to test this.. :good:

> EDIT: Dj this is based with 2.5 right? no fuse and other modules.. just test
[Optimus One, P500 Original Android Development] muning98:
I tested the FUSE build against cryptonite but sadly it doesn't work. Cryptonite is still in beta and it could be due to bugs in the app though.

For the others who want to test if the FUSE module works, you may try mounting NTFS volumes with it. You may use this ntfs-3g ARM binary I found.
[Optimus One, P500 Original Android Development] dokvader114:
say if i only care about performence and i dont care about battery at all . which one of your 4 kernel should i choose?
[Optimus One, P500 Original Android Development] storm11:
Flashed and all my settings were reset , tried again and same thing happened , fresh install , home and search key stopped functioning both times , just reporting no such issues with 2.5
[Optimus One, P500 Original Android Development] pradipsoman:
Am on your test version with intellidemand.So far good. Will keep on checking for bugs..:)
[Optimus One, P500 Original Android Development] DJNoXD:
Its based on v2.5.1 test version and has fuse, ... compiled into kernel.

Current changelog of v2.5.1:

Modules: now included in kernel (no longer .ko modules)
sched: Fix struct autogroup memory leak
sched_fair: Remove cpu from nohz idle set if not active
sched_autogroup: enabled
sched_autogroup: added
enabled: fuse (Filesystem in Userspace)
governor: intellidemand added
compiler code optimisation set to -O3
vsyncOn compile switch fixed
[Optimus One, P500 Original Android Development] DJNoXD:
Strange

I have flashed kernels > v2.5 very often but did not loose my settings.

Do you have any logcat?
[Optimus One, P500 Original Android Development] DJNoXD:
Take a vsyncOff version (max fps for games).

Then try which ts driver you like more.
[Optimus One, P500 Original Android Development] DJNoXD:
I guess battery life of vsyncOn could be a little bit better.

TS driver should not make a noticeable difference for battery life. So take the ts driver you like more.
[Optimus One, P500 Original Android Development] DJNoXD:
How did you test?

I have downloaded cryptonite, created and mounted successfull an EncFS Volume.

Is that enough for testing?
[Optimus One, P500 Original Android Development] storm11:
Unfortunately no , maybe something wrong on my side, thanks , great work x)
[Optimus One, P500 Original Android Development] DJNoXD:
Please tell me if it happen again.

Than we can search the reason. :highfive:
[Optimus One, P500 Original Android Development] storm11:
You're one the most friendly devs ever , :thumbup:
[Optimus One, P500 Original Android Development] dokvader114:
i need a recommendetion cus my choise always end bad :D

i need someone who thinks what he did was best for gaming and i need him to tell me which kernel and driver he flashed
[Optimus One, P500 Original Android Development] Kanad:
Dear DJ,

White noise is not seen in any of the 2.6.35.14 kernels developed by Paolo, Lupo and Franco, however there was black screen bug. Now with CM 0.35 kernel this black screen bug is gone, how ever white noise has come. Can you pls look into their sources for improvong your current 0.35 based kernel?
[Optimus One, P500 Original Android Development] rr0yy:
Can you be more specific about what settings??

And tell us.. how did you flash the kernel and using which recovery! :)
[Optimus One, P500 Original Android Development] muning98:
I tested by trying to mount a TrueCrypt volume (cryptonite only supports mounting thru the terminal atm). It's confirmed that my problem is a bug in cryptonite.

It's good to know that EncFS volumes work just fine so I still would be using your kernel and I hope you include FUSE in your next release (vsync on please).

BTW, I'm using the one with FUSE as an external module so I have to load it first with "modprobe fuse".
[Optimus One, P500 Original Android Development] DJNoXD:
v2.5.1 released

I hope vsyncOn problem is fixed

Changelog

Modules: now included in kernel (no longer .ko modules) (decrease kernel file size)
sched: Fix struct autogroup memory leak
sched_fair: Remove cpu from nohz idle set if not active
sched_autogroup: enabled
sched_autogroup: added
enabled: fuse (Filesystem in Userspace)
governor: intellidemand added
compiler code optimisation set to -O3 (makes kernel a little bit faster)
vsyncOn compile switch fixed
[Optimus One, P500 Original Android Development] storm11:
All the settings were set to default, including cm settings , twrp recovery , booted to recovery , wiped cache and dalvic cache , flashed zip, rebooted to phone
[Optimus One, P500 Original Android Development] neko95:
> DJ vsync is still off.. :-( tested both.. 2.5.1

> franco posted before howto disable vsync

> by turning on..values should be type as TRUE? I dont know exactly if this can be globally applied for all kernels
[Optimus One, P500 Original Android Development] DJNoXD:
This is how I have implemented:

// vsync config
#ifdef FB_MSM_VSYNC_ENABLED
pinfo->lcd.vsync_enable = TRUE;
#else
pinfo->lcd.vsync_enable = FALSE;
#endif

and

#ifdef FB_MSM_VSYNC_ENABLED
pinfo->lcd.lcd.hw_vsync_mode = TRUE;
#else
pinfo->lcd.lcd.hw_vsync_mode = FALSE;
#endif

link to sourcecode (line 744 and 761)

FB_MSM_VSYNC_ENABLED is the compile switch I have implemented.

I will check to original source code. Maybe something went wrong while upgrading source code to .14

Edit: I think I found it. I will compile a new version this eveneing.

Could you test it?
[Optimus One, P500 Original Android Development] DJNoXD:
Please test if vsync is working
[Optimus One, P500 Original Android Development] neko95:
> wilL be testing dj, fEeD bACk later on

Sent from my awsome LG P500 Running RAZRUI

EDIT: Tested DJ.. congratulations. finally Vsync is ON :good: and also will be testing intelidemand governor by now :)

EDIT: I dont if ts just me.. but your roqu touchfix suppose to be paolo's touchfix.. feels like feserve's touchfix..
[Optimus One, P500 Original Android Development] rr0yy:
Well i never used twrp recovery but heard about many bugs in it!! Try amon ra.. its good :)

You dont need to wipe dalvik and cache to flash any kernel. To be on safe side you can flash

but you will lose all CM and ADW settings!!
[Optimus One, P500 Original Android Development] Negi9:
Nopes, wiping dalvik cache and cache doesn't remove any setting..
[Optimus One, P500 Original Android Development] rr0yy:
You are right, it doesn't!!

But personal experience.. earlier i used to wipe cache and dalvik cache and mant times i faced the same thing as karthiknayak94 did..!! Later a dev told me that.. its not necessary to wipe cache.. since that day i havent faced that problem.

Maybe its some problem with the recovery i guess!!

Correct me if im wrong!!
[Optimus One, P500 Original Android Development] storm11:
Sorry for off topic =/ yeah im thinking is a problem with twrp , never had a problem with amonra =) switching back , thanks , sorry again
[Optimus One, P500 Original Android Development] dnle71:
I'm glad that white noise is gone and power button now work's in offline charging:). But:(, when you try to long press power button(to power on) the phone just goes off and had to disconnect charger and remove the battery to be accessible again. Anyway, thanks and btw pls.. compile it using what official cm7 use to compile thier kernel(just wan't it to be uniform)...:D:D
[Optimus One, P500 Original Android Development] predragiPredrag:
Hi DJNoXD, please tell me can I use 2.5.1 on LG stock rom 2.3.3?? Because you wrote in first post that 2.5 wont work on stock rom. Thanks :)
[Optimus One, P500 Original Android Development] thachtunganh:
No

Love Tyn!
[Optimus One, P500 Original Android Development] pradipsoman:
White noise is still there as I believe DJ has not yet had time to see into that. But the battery life is superb with 2.5.1 !! Till now I dont have any issues.

Your kernel has this advantage over others: battery drain both on conversation and when idle is comparatively lower than with other kernels. Am using the ROQ TS version with vsync on. The screen is a little bit jumpy compared to TA one with scrolling. Could that be improved?
[Optimus One, P500 Original Android Development] DJNoXD:
Your right, I had no time to do something about white noise.

Maybe I have found something, but I haven't tried.

About the TS driver:

I will take a look at. Maybe something can be done to improve.
[Optimus One, P500 Original Android Development] pradipsoman:
One more observation:

The TA version provides more battery life and is a bit smoother than the ROQ version :)
[Optimus One, P500 Original Android Development] GonDr:
Hi DJ, There is new nightly CM7, can u merge CM7's Kernel with ur kernel ?
[Optimus One, P500 Original Android Development] DJNoXD:
I can and I will. ;)

But I have to try if the latest cm kernel has the camera fixed.

The problem is (you maybe noticed) that I had less free time.

Beside that I am working on 2.6.38 kernel.

The 3.x kernel is also a step further. But for the moment I stoped development.
[Optimus One, P500 Original Android Development] neko95:
> DJ what governor do use with ur kernels? interactive or smartassv2? I'm on 2.5.1 and still dont have an issue, everything is great:good:
[Optimus One, P500 Original Android Development] thatnextdoorboy:
Dude... your kernel already fixes my camera
[Optimus One, P500 Original Android Development] DJNoXD:
Thats because all of the latest changes from cyanogen kernel are removed.

But today I had the time to test and in the cm kernel ithe camera is also fixed.

So I have merged the latest changes into my kernel and the camera is still working.
[Optimus One, P500 Original Android Development] Kanad:
But pls be aware i got the black screen on receiving the call and after 10 to 15 sec every thing was normal, my settings were pure stock CM7. 2 .
[Optimus One, P500 Original Android Development] pradipsoman:
DJ from the extended run that I have had with your kernel since the past few days, I feel that other than the white screen issue and the need for a bit more smoother scrolling, your kernel is perfect in every way possible. So please work only towards these issues. Once these negligible issues are resolved, I believe you do not have anything else to improve. You can work on an independent ICS kernel :)