yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] DJNoXD:
Didn't use the CM values anymore.

I have switched to franco values.

/* 7x27 normal with GSM capable modem - PLL0 and PLL1 swapped */
static struct clkctl_acpu_speed pll0_960_pll1_245_pll2_1200[] = {
{ 0, 19200, ACPU_PLL_TCXO, 0, 0, 19200, 0, 0, 30720 },
{ 0, 120000, ACPU_PLL_0, 4, 7, 60000, 1, 3, 61440 },
{ 1, 122880, ACPU_PLL_1, 1, 1, 61440, 1, 0, 61440 }, //3
{ 0, 200000, ACPU_PLL_2, 2, 5, 66667, 2, 4, 61440 },
{ 1, 245760, ACPU_PLL_1, 1, 0, 122880, 1, 2, 61440 }, //4
{ 1, 320000, ACPU_PLL_0, 4, 2, 160000, 1, 3, 122880 }, //5
{ 0, 400000, ACPU_PLL_2, 2, 2, 133333, 2, 5, 122880 },
{ 1, 480000, ACPU_PLL_0, 4, 1, 160000, 2, 5, 122880 }, //6
{ 1, 600000, ACPU_PLL_2, 2, 1, 200000, 2, 6, 122880 }, //7
#ifdef CONFIG_MSM7X27_OVERCLOCK
#ifndef CONFIG_MSM7X27_BACONMAKER
/* Conservative overclocking */
{ 1, 652800, ACPU_PLL_0, 4, 0, 217600, 2, 7, 200000 },
{ 1, 672000, ACPU_PLL_0, 4, 0, 224000, 2, 7, 200000 },
{ 1, 691200, ACPU_PLL_0, 4, 0, 230400, 2, 7, 200000 },
{ 1, 710400, ACPU_PLL_0, 4, 0, 236800, 2, 7, 200000 },
{ 1, 729600, ACPU_PLL_0, 4, 0, 243200, 2, 7, 200000 },
{ 1, 748800, ACPU_PLL_0, 4, 0, 249600, 2, 7, 200000 },
{ 1, 768000, ACPU_PLL_0, 4, 0, 256000, 2, 7, 200000 },
{ 1, 787200, ACPU_PLL_0, 4, 0, 262400, 2, 7, 200000 },
{ 1, 806400, ACPU_PLL_0, 4, 0, 268800, 2, 7, 200000 },
// { 1, 825600, ACPU_PLL_0, 4, 0, 275200, 2, 7, 200000 },
// { 1, 844800, ACPU_PLL_0, 4, 0, 281600, 2, 7, 200000 },
// { 1, 864000, ACPU_PLL_0, 4, 1, 216000, 3, 7, 216000 },
#else
/* Agressive overclocking */
{ 1, 652800, ACPU_PLL_0, 4, 0, 326400, 1, 7, 200000 },
{ 1, 672000, ACPU_PLL_0, 4, 0, 336000, 1, 7, 200000 },
{ 1, 691200, ACPU_PLL_0, 4, 0, 345600, 1, 7, 200000 },
{ 1, 710400, ACPU_PLL_0, 4, 0, 355200, 1, 7, 200000 },
{ 1, 729600, ACPU_PLL_0, 4, 0, 364800, 1, 7, 200000 },
{ 1, 748800, ACPU_PLL_0, 4, 0, 374400, 1, 7, 200000 },
{ 1, 768000, ACPU_PLL_0, 4, 0, 384000, 1, 7, 200000 },
{ 1, 787200, ACPU_PLL_0, 4, 0, 393600, 1, 7, 200000 },
{ 1, 806400, ACPU_PLL_0, 4, 0, 403200, 1, 7, 200000 },
// { 1, 825600, ACPU_PLL_0, 4, 0, 412800, 1, 7, 200000 },
// { 1, 844800, ACPU_PLL_0, 4, 0, 422400, 1, 7, 200000 },
// { 1, 864000, ACPU_PLL_0, 4, 1, 216000, 3, 7, 216000 },
#endif
#endif
[Optimus One, P500 Original Android Development] deniso177:
Oh ye cool, francos is stable and battery efficient I was talking about baconmaker, the comments in the above link even said dont ever enable it lol, i guess it was just an example of what the max you can do to the phone
[Optimus One, P500 Original Android Development] ZonbekaUnlimited:
Yes, thats exactly what happens to me on every kernel i've ever tried, touchscreen suddenly stops working and i need to lock/unlock phone to get it working again, hope you find a solution, and because we have the same issue i can test your kernels and give feedback :)
[Optimus One, P500 Original Android Development] DJNoXD:
I'm not alone.:)

Will do my best to find and fix it.

Edit: Did you remember if stock kernel also has this problem?

Realy strange. If usb cable is connected it simply doesn't happen. ???

Realy realy strange. After it stoped working, I connected usb cabled to read logcat. But then after short time touchscreen works again. ??????
[Optimus One, P500 Original Android Development] ZonbekaUnlimited:
Unfortunately not, it has been a looong time since i used stock kernel :(
[Optimus One, P500 Original Android Development] FitAmp:
Had anyone tested this with stock 2.3.3 ?? I just flashed back to good ol' stock and would like to give er' a shot.
[Optimus One, P500 Original Android Development] corwin42:
GPS problem occurs on stock kernel, too.

Will install latest nightly now without any modifications. If I can reproduce the problem then I will ask in CM7 thread.

Gesendet von meinem LG-P500 mit Tapatalk 2
[Optimus One, P500 Original Android Development] thachtunganh:
Oh, i see, you are using conservative overclocking.
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for doing all those tests. :)
[Optimus One, P500 Original Android Development] DJNoXD:
Yes.

And the more agressive ones (which are configurated by baconmaker) are the difference thta may be the problem that some people can get as high as before.

Edit: Yesterday I have removed the ethernet drivers without problem. For now it seems that touchscreen problem is a bit less.

Do you have enabled ethernet drivers?
[Optimus One, P500 Original Android Development] DJNoXD:
Test it. :)

Make a backup with recovery manager, flash kernel and test it.

If you got problems, just restore your backup.
[Optimus One, P500 Original Android Development] Umang96:
hey, DjNoXd, did you tried franco's OLD kernels, i.e. 2OCT and older versions ? they include a very nice touch driver which may give blackscreen bug on immidiate unlock but, they have no white noise it would be awesome if you could include it
[Optimus One, P500 Original Android Development] DJNoXD:
Will take a look at. But I wont build more and more versions.

If there is an easy way how touchscreen driver modules can be loaded at boot (no longer build in), that maybe could be the solution. (Havn't tried till now)

If this works I would create two versions (vsync on and off), with alls touchscreen driver modules included. Than everyone has to decide on his own which one he deletes / wants to use.
[Optimus One, P500 Original Android Development] thachtunganh:
His touchscreen driver has cpu spike bug... my touchscreen driver is based on his driver
[Optimus One, P500 Original Android Development] DJNoXD:
What are the benefits about your driver compared to the stock driver?

Did you know anything about using touchscreen driver as a module?
[Optimus One, P500 Original Android Development] thachtunganh:
No i didn't know anything about using touchscreen driver as a module.

And my touchscreen has axis inversion workaround for better multitouch, reduce cpu spike bug a little bit and SAMPLE_HZ. Stock touchscreen driver don't have those feature above.
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks

I will try your driver. :)

Edit: Testing your driver at the moment.

I have left a commet at your github. Have you seen it?
[Optimus One, P500 Original Android Development] DJNoXD:
touchscreen driver:

As you have read there are some people (including me) which have the problem that touchscreen simply stopped working and only pressing power button twice solves this.

I have tested and recognized that with usb cable connected to the phone I can't repoduce that. (But with disconnected cable)

At the moment I am testing thachtunganh touchscreen driver (which is based on francos TS driver).

As far as I can see francos driver is based on the driver shipped with froyo.

The main difference regarding to that problem which I have found between the froyo and the gingerbread driver is, that the froyo driver did some pulldown. That pulldown is completely removed from gingerbread driver (also from the struct).

If TA driver is working fine, I think it is possible to modify the newer drivers to do this pulldown again without causing any problems to the people who hasn't that problem. But with the advantage to solve that problem for the people who has it.

I guess that this could also explain why that problem never happened to me if my phone is connected to the pc.

So wish me luck, that this is the solution.
[Optimus One, P500 Original Android Development] DJNoXD:
Seems not to be that easy to fix that.

ZonbekaUnlimited who helps me testing, reported me that ts still locks randomly.

But after a wait time e.g 1-2 mins then touchscreen is usable again
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for your support.

White noise is still there, so something else is causing it.
[Optimus One, P500 Original Android Development] Negi9:
Well, there was Incoming-call reboot bug in CyanogenMod Nightlies which was fixed by Ricardo. The White noise was noticed only after the fix. You can ask Ricardo the change he made by contacting him on Google Plus.
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks :)

That would explain why I have this also without my changes.

I will check the changes on github and maybe ask Ricardo about what can be done.
[Optimus One, P500 Original Android Development] GonDr:
Sorry for ask

DJNoXD, any update soon ?
[Optimus One, P500 Original Android Development] DJNoXD:
If I feel that the current changes are ready to be released, maybe tomorrow.

If not you have to wait till I'm back from my vacation next week.
[Optimus One, P500 Original Android Development] DJNoXD:
At the moment these changes are are implemented in v2.2:

- ADD: new workqueue code from 2.6.36.1 (umaro) (+ code patched e.g. smartassv2)
- using high priority (non-delayed) workqueue for TS driver (better response)
-> this maybe solves TS problem for some people (please test)
- CPUIDLE code from 3.0rc6 kernel (by Imoseyon)
- more FS tweaks (umaro)
- power-supply: Limit the duration of psy_changed wakelocks
- msm: cpufreq: Create cpufreq workqueue for freq changes
- ADD + enabled: dm-cache
- back to franoc's conservative OC
- more unused drivers disabled
[Optimus One, P500 Original Android Development] DJNoXD:
If you want to test: download
[Optimus One, P500 Original Android Development] thachtunganh:
I tried your 2.1.1 version, this is my report:

Battery Drains very fast, just like my old ThunderVN.

Low Free RAM (139-200) , my kernel can bring 318MB free RAM.
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for testing.

I will check if I can what is the reason for battery drain.

I think using caches maybe cause the less free ram. Will also try to find something.

Edit: This time CPUidl code seems not to be a problem.
[Optimus One, P500 Original Android Development] vlt96:
You 2 should make a kernel team;) for ICS: D

Seek the signature below the line;)
[Optimus One, P500 Original Android Development] DJNoXD:
Ram increased. Now 260mb
[Optimus One, P500 Original Android Development] deniso177:
I do not experience any battery drain with your 2.1.1 version (16 hours later and still on 80% having wifi on for like 3 hours straight).

Testing your 2.2 version now
[Optimus One, P500 Original Android Development] Human_dude_007:
Do report back mate !:)
[Optimus One, P500 Original Android Development] DJNoXD:
Changed workqueue for ts driver works good for me. No locked up ts till now. :)

Hope that its realy solved by that.
[Optimus One, P500 Original Android Development] Human_dude_007:
Flashed 2.2 test version..feels tiny weeny lag at times !hope it improves :)
[Optimus One, P500 Original Android Development] DJNoXD:
The lionheard implementation of roq (based on conservative) is included.

I havn't found any newer version of lionheart. (I wrote about why)

In my kernel you can choose between the conservative default and roq's lionheart version.
[Optimus One, P500 Original Android Development] thachtunganh:
Revert the lionheart, it isn't better than the original conservative. Beside, you have applied the patch from LocKcLocKan which backports the cpufreq drivers from 3.0 kernel, that patch also had the new governor from 3.0 kernel
[Optimus One, P500 Original Android Development] DJNoXD:
I'm working on branch v2.2 (or the branch which has the actual version name). Did anybody know how I can set v2.2 as new "master" branch?
[Optimus One, P500 Original Android Development] thachtunganh:
git checkout master

git merge master v2.2

git commit -a

Then you can see conflicts, fix them.

After that, git push origin master.
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks, will try that after my vacation.
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for your feedback.

I have read that the scheduler could cause lags. Have you tried cfq or deadline instead of sio?
[Optimus One, P500 Original Android Development] vlt96:
Nope I think sio is the best
[Optimus One, P500 Original Android Development] by.adrian:
now we have cam fix for ics, can start making this kernel for ics?
[Optimus One, P500 Original Android Development] dnle71:
Why did you delete the 2.6.35.10 kernel versions on your github.. I want it!!:)

Pls..:D

Edit: found it on google drive!,,yarrrr!!!:cool:
[Optimus One, P500 Original Android Development] petraru1:
there are 4 2.1.1 kernels, which kernel should i flash :confused:
[Optimus One, P500 Original Android Development] DJNoXD:
First you should decide if you want vsync On or vsync Off version.

If you don't know which one you should take, take vsync On version.

Than you have to decide which touchscreen driver you want to use (caveman or default).

If you don't know which one you should take and don't want to try out, take the default version. (DJNoXD_v2.1.1-vsync-signed.zip)

Edit: Back from vacation. :D
[Optimus One, P500 Original Android Development] DJNoXD:
There are some ideas about this kernel I want to try.

But I will start on an ICS version soon. (Maybe kernel version 3.0)
[Optimus One, P500 Original Android Development] DJNoXD:
v2.2 released

[B]changelog[/B]
- new default governor interactiveX
- lionheart governor removed (use conservative instead)
- max_axi_khz = 200000
- Revert "Wifi set to FAST (roqu3)"
-> because phone gets hot when using Wifi Teathering
- Revert "gpu: msm: Update GPU drivers from 3.0 kernel"
-> old version feels smoother
- ADD: new workqueue code from 2.6.36.1 (umaro) (+ code patched e.g. smartassv2)
- vfs_cache_pressure = 25 (more free ram)
- init: calibrate: Backported from 3.0 kernel.
- using high priority (non-delayed) workqueue for TS driver (better response)
-> this maybe solves TS problem for some people (please test)
- CPUIDLE code from 3.0rc6 kernel (by Imoseyon)
- more FS tweaks (umaro)
- power-supply: Limit the duration of psy_changed wakelocks
- msm: cpufreq: Create cpufreq workqueue for freq changes
- ADD + enabled: dm-cache
- back to franoc's conservative OC
- more unused drivers disabled
[Optimus One, P500 Original Android Development] fitztu:
I got a problem.

I am using v2.1.1-caveman+vsync now, but I can not use CISCO ipsec also...

So maybe tun.ko is still does not work....
[Optimus One, P500 Original Android Development] DJNoXD:
Which app, rom, ... do you use?

Maybe I can configure something to test.
[Optimus One, P500 Original Android Development] fitztu:
I am using last CM7 nightly 20120420.

And I have tried VPNC Widget and VPN Connections 0.99, but both does not work:confused:.
[Optimus One, P500 Original Android Development] DJNoXD:
I have checked VPNC Widget:

I will try to find and enable Advanced Routing feature in kernel.
[Optimus One, P500 Original Android Development] deniso177:
AWWW why did you remove gpu drivers from 3.0, it makes the screen a lot brighter and crisper colours, I personally do not feel any smoothness decrease, and with the v-sync off kernel, and setting max_events in build prop above 150 makes scorling and graphics very smooth
[Optimus One, P500 Original Android Development] vlt96:
Uhm??? What you say is like: "Updated video card driver, and now the screen is a lot brighter"

So now 3.0 GPU driver upgrades our phone display? wow technology advances fast
[Optimus One, P500 Original Android Development] deniso177:
No, What im saying is that the drivers make the GPU process the graphics a lot better then in the older kernels.

Just like the new adreno libs pushed more fps out from our gpu.

How about you stop being a smartass and go test is for yourself and see the difference, clearly no one said anything about upgrading hardware, go spam somewhere else
[Optimus One, P500 Original Android Development] thachtunganh:
He tested long time ago.... before DJNoxD takes my patch and apply it to his kernel.

This patches are original from Lupohirp, but i merge all of them into one with fixes for Paolo kernel source...
[Optimus One, P500 Original Android Development] deniso177:
Well then why is he even commenting for, he would have seen the increase in display vividness and brightness. Instead he tries to spam with unhelpful comments, when he clearly understood what i meant, and if he didn't, i would suggest to learn better english
[Optimus One, P500 Original Android Development] DJNoXD:
I will try to find out what are the changes for vividness and brightness.

If its possible it can be included again.

My vacation result:

At vacation I have used WLAN teathering a lot.

3g, sync, data and wlan teathering enabled. -> Phones gets hot even if its not OC

That could (not must) freeze the phone so I had to reboot. I havn't waited if it got fixed after some time. That is another reason why I have changed something between v2.2 testing and release version.

About the last conversation:

If anybody is trying to help me, by giving me feedback, comments, ... I'm happy about.

As anybody knows you can't test everything yourselve, you can't know everything and everyone of us is making mistakes.

Please be objective and respect each other. :)
[Optimus One, P500 Original Android Development] mDroidd:
Hey DJ.

A while ago, I contacted naturist to let him remove your thread from Original development.

Actually, now I want the opposite.

This kernel is really getting good, and you should continue on this.

keep it on!

Greetz
[Optimus One, P500 Original Android Development] DJNoXD:
Thank you. :)

Next big thing I want to try is creating 3.0 kernel.
[Optimus One, P500 Original Android Development] pradipsoman:
Thumbs up!!!!

DJ, Very good battery life without any kernel locks etc since 17 hours and on 41% batter with normal usage. And the best thing about you is the way you care about every one who comments on your post :) You remind me of Fserve, who was a perfect gentleman who respected every one and was a genius who extracted maximum battery from the .32 kernel and before he stopped at .32 he gave us a few perfect kernels without any bugs! I expect the same from you when you say quits to this kernel....a final .35 product that is free of any bugs and is perfect and gives maximum battery life. You are almost there pal...keep the good work up!!!!
[Optimus One, P500 Original Android Development] orsonbear:
DJNoXD, if your phone gets hot when in tethering, I suggest to decrease the transmission power of the wifi radio. When I don't need the maximum wifi radio transmitter power I set it to minimum and the phone is way more cooler! Also at minimum tx power the wifi signal is strongh enough within a radius of at least 5 meters. Give it a try!
[Optimus One, P500 Original Android Development] DJNoXD:
Havn't tried that. How could I change that?
[Optimus One, P500 Original Android Development] DJNoXD:
Will upload v2.2.2 with enabled advanced roting features + tun and cifs build into kernel (no modules).

VPNC widget tells me now that all prerequisites are fullfilled.

Please test it and let me know if your problem is solved.
[Optimus One, P500 Original Android Development] DJNoXD:
v2.2.2 is online (all four versions)
[Optimus One, P500 Original Android Development] fitztu:
Thanks for your update!!

I will try CISCO VPN tomorrow!
[Optimus One, P500 Original Android Development] orsonbear:
DJNoXD, now I use the app "Wifi Tx Power". In the past I used two modded stock rom with a script to change the wifi transmission power, you can ask Bytecode here, he was one of the modders to use scripts to change this parameter, I don't remember if by a modded kernel or just by added shell commands.
[Optimus One, P500 Original Android Development] pradipsoman:
Using 480-600 Interactive
[Optimus One, P500 Original Android Development] deniso177:
Yep mate well done, Your kernel is preety great, and for me the most battery efficient/ good performance kernel. Im still on the 2.1.1 kernel as I like the 3.0 gpu drivers, but nevertheless great job.

Thank You for all your efforts.
[Optimus One, P500 Original Android Development] DJNoXD:
You're welcome. :)

This evening I will start to work on my 3.0 kernel.

I think that 3.0 should be the base for ICS and maybe we could also use for gingerbread (with some work). Lets see what can be done.

So maybe this could also be the solution for the gpu driver.
[Optimus One, P500 Original Android Development] GonDr:
Is it means u will not support kernel for CM7 after that? I really love ur kernel and hope u will continue support for CM7
[Optimus One, P500 Original Android Development] DJNoXD:
No, I wont stop support.

I only means next time I can't work that much on this one (2.6.35 kernel).

There also my tablet project (porting cm9)...

Lot of things I want to do, but only limited time. :D
[Optimus One, P500 Original Android Development] thachtunganh:
I think that we shouldn't start to work with 3.0 kernel for P500. Because (i THINK) you don't know C language, and me too.... so work on 3.0 Kernel will be extremely hard, it isn't just downloading the source code, then doing copy-paste job and applying patches or tweaks like ALMOST WHAT WE ARE DOING RIGHT NOW!... A Recognized Developer, know C, C++, Java, Shell - tom3q. He has worked very hard on 3.0 for Samsung Galaxy Spica for about 8 months ago but he didn't make all things to be working yet, Just 70% working...

So i think that you (and I) should get knowledge about C language... after that we can start to work with it, but with easier way :cool:.

That's all i want to tell you.:D
[Optimus One, P500 Original Android Development] DJNoXD:
Thanks for telling me. :) I know that it will be a very hard job.

The main thing I don't know about is the complex linux kernel structure.

As I am working as software developer and know about programming languages like assembler, C, C++, C#, .NET, Java ...

So I will try to get it working. ;)

If its to hard for me I still can stop working on.

Maybe you know from yourself:

Sometimes you just want to to something just to see if you can do it. :D
[Optimus One, P500 Original Android Development] thachtunganh:
Ok, so it will be good for you.

Good luck with your project!
[Optimus One, P500 Original Android Development] DJNoXD:
Don't missunderstand my answer.

I'm happy that you are trying to help me with your comments and your hints.

It's just something I want to try, because I think having a working 3.0 kernel would be very helpfull for us.

So I will try to master that challenge. Lets see if I can and howlong it will take.
[Optimus One, P500 Original Android Development] thachtunganh:
No, i didn't missunderstand you at all :p... And you're welcome, i will help you if i can :).
[Optimus One, P500 Original Android Development] thachtunganh:
Hey, Randolf. I found a LG Phone which msm7225 but it has 2.6.38.6 kernel. I think that if "we" :D want to start some new good thing for Future of our phone, we should start porting this :p.
[Optimus One, P500 Original Android Development] DJNoXD:
Great finding :D

Lets start something new. :cool:
[Optimus One, P500 Original Android Development] vlt96:
Wish you great luck, but please make it for ICS (CM9), as you see, it is perfect!(this is officially the ROM I used for the longest time)

Seek the signature below the line;)
[Optimus One, P500 Original Android Development] thachtunganh:
Now i don't have LG-P500 anymore... i owned a HTC Desire HD instead :(
[Optimus One, P500 Original Android Development] danistuta:
Is it good with cyano 7 of mik 6.6.1? Thanks.
[Optimus One, P500 Original Android Development] vlt96:
Help djnoxd!!!:D:D:Dhope I spelled that right

Seek the signature below the line;)
[Optimus One, P500 Original Android Development] DJNoXD:
I don't understand your question.
[Optimus One, P500 Original Android Development] danistuta:
I've got the old mik ROM 6.6.1 based on Cyano 7. I'd like to know if this kernel it's great with this rom:-) Thanks.
[Optimus One, P500 Original Android Development] vlt96:
Hey who is randolf?

@theOneAbove it should work, but you are the only one with it

Seek the signature below the line;)
[Optimus One, P500 Original Android Development] DJNoXD:
adfad has started his work on mik's sources and made it official (cyanogen). (As far as I remeber)

So I guess it should work for you.

Make a backup before you test the kernel and recover if you have any problem.
[Optimus One, P500 Original Android Development] DJNoXD:
It's me. Randolf is my real name.