yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] TjekDig:
Works fine with Owains latest
[LG Optimus 2x] Harsh:
New test kernel uploaded

Build 0705:

Battery heat protection added

Kernel config changes, and some reverts.

Please let me know if you find any new bugs.

Download link

http://www.mediafire.com/download.php?fc6ns1gigbbu6ar
[LG Optimus 2x] tonyp:
I

Could you please post the freq tables for both kernels for comparison?

Am I right that we can't UV on the no oc kernel?

Thanks for the kernel, runs great!

I'm currently using the OC kernel at 1200mhz with the powersave governor and the battery life is pretty good. (does changing the governor at CPU meter from performance to powersave has any effect because I can't change it at cyanogenmods performance settings where you usually could choose another governor?)
[LG Optimus 2x] Striatum_bdr:
Governors are useless on our device.
[LG Optimus 2x] Striatum_bdr:
Running 0705 version without problem. Thanks !!
[LG Optimus 2x] Blackbirdxx9:
My phone runs good too!
[LG Optimus 2x] fire3d:
Device is runnin smooth and fast with the latest kernel, but i cannot get logcat to work, i flashed owain 57, latest gapps after that the latest Harsh kernel, when trying logcat i got:

Unable to open log device '/dev/log/main': No such file or directory

any tips?

thx
[LG Optimus 2x] owain94:
delete /system/etc/init.d/02removelog

decided it is useless for normal users to have this log dev or people that know how logcat works can just remove the script ;)

i was getting way to many pm's with useless logcats or logcats that were about 3000 lines long
[LG Optimus 2x] fire3d:
hm i got it, thx Owain :)

To verify this, i got BatteryDrain from 100% down to 74% in 3hours, no calls, 2 sms and listening music ....

is this normal for Owain's 57 with the latest Harsh Kernel?
[LG Optimus 2x] Harsh:
Its not normal, if you didnt do anything this is too much battery drain. Can you list apps which are active in background, or even better give logcat (install logcat app, and start it, and give me output file later, after 20 mins or so of phone idle)

And guys kernel 0805 linux 3.0.31 is coming, OC and Stock both :D
[LG Optimus 2x] wapz:
I have exactly the same. The device is active playing music, so it will not sleep and the battery will empty itself probanly at that pace.

I played 4 hours of music today with 2 hours screen on in total and I could barely manage 10 hours. I am using 0405 baseband with matching froyo RIL.

Keep them coming harsh! :thumbup:
[LG Optimus 2x] Harsh:
New build uploaded and link in OP

Changelog:

build 0805 Stock & OC

Linux Version 3.0.31

Battery heat protection (thanks wkpark)

And few more kernel config changes
[LG Optimus 2x] fire3d:
thx Harsh, i will make a logcat, after installing the new build :)

will check the drain overnight, normally ma battery lost around 7 or 8% over night, Wifi is on .....
[LG Optimus 2x] Pete Rask:
Why's that? Could you please clarify :)
[LG Optimus 2x] vadonka:
governors are overrided by the LG nvrm daemon. no matter what is in the kernel.
[LG Optimus 2x] wapz:
Means you still have battery over four days of idle on standby, makes sense. Everybody is raving about idle standby, but the real issue is the discharge under load. I am a heavy user and in ten hours my battery is dead, with sometimes 3/4 hours of music (non-idle) en two hours screen on. I have to charge it twice a day :/
[LG Optimus 2x] plakers:
Yep, the main difference is under usage for me too (screen display consumption, core activation, voltages/frequencies, D/L or surfing network usage...) - idle is quite good with many kernels. As we can't play with governors, OTF is a really good option, but not on Harsh's for the moment... :D (soon, may be?)

So, OC settings, screenoff profile, Toggle2G, undervolting are the features I play with (in addition of system ones : disabled zRam etc...)

Let's see with this 08 build! :)
[LG Optimus 2x] tonyp:
Toggle2G has a huge effect, as 3G literally burns battery. I use CPU meter to set the CPU speed to 216-324 while screen off, works pretty good.

With zRam I'm not sure what the best setting is.
[LG Optimus 2x] plakers:
Disabled... (for battery life)... it consumes CPU when activated to compress/decompress ram pages. As I don't experience ram issues, I disabled it ;)

If someone's got other tweaks, they're welcome! ;)
[LG Optimus 2x] TjekDig:
Besides the ability to OC one of them, is there any difference between the two kernels?
[LG Optimus 2x] Harsh:
Yeah, default voltages on OC version are higher, so if you are not adjusting voltage according to your needs even if not OC it, it will drain more battery.

For better battery without adjustment use stock version.

And if you know how to find out your perfect lowest voltages, use OC version even at 1 GHz for even better battery than stock.
[LG Optimus 2x] tonyp:
Could you post the voltage difference? If not I'll go and flash both builds and look it up, but if you have it quicker I'd appreciate it :)
[LG Optimus 2x] Harsh:
Here you go

OC kernel voltage table

Voltages : 790 -> 830 -> 880 -> 930 -> 1020 -> 1055 -> 1155 -> 1255

Frequency : 216 -- 324 --- 655 --- 816 --- 1015 --- 1100 --- 1216 --- 1408

Stock kernel:

770 mV at 216 MHz

1000 mV at 1000 MHz

dynamic voltage/frequency scaling (but I am not sure about it though)

Vadonka can we just find out LG frequency scaling calculations, I was not able to find it exactly.
[LG Optimus 2x] Harsh:
new testing kernel in my google drive and mediafire. Link in my signature

Check out my google drive or mediafire if you want to test newer build-1005.

Lots of kernel config change, also should be performance changes

Added scsi_wait_scan so maybe bootup time increased by bit, but should be safer than before.
[LG Optimus 2x] orrebo:
Where's the link to your Google drive?

Sent from hell with tapatalk 2
[LG Optimus 2x] Harsh:
google drive link was in my signature but here again if you are using tapatalk

https://docs.google.com/open?id=0B4HkPoHdupAmRk1FajBiZzhrdzQ
[LG Optimus 2x] orrebo:
Aha. But I am on tapatalk and it doesn't show up.

Sent from hell with tapatalk 2
[LG Optimus 2x] orrebo:
Does anyone know where the file will be downloaded through the drive application?

I have searched around for a while now.

Sent from hell with tapatalk 2
[LG Optimus 2x] Harsh:
try downloading from here http://www.mediafire.com/bhanvadia

but your google drive app in your phone should show it though
[LG Optimus 2x] orrebo:
I have downloaded it through the application but can't find it in the file browser.

Dolphin didn't show anything on the mediafire link.

Try to use Firefox again.

*EDIT*

Didn't show up in Firefox either.

Will get it on my laptop later instead.

Hmm. Mediafire have used to work fine.

Sent from hell with tapatalk 2
[LG Optimus 2x] TrymHansen:
Hi guys, a quick heads up that I've made a Torture Test app to test stability at various frequencies/voltages. I've just now tested it on CM9 w/Harsh OC.
[LG Optimus 2x] p.valenta:
AC slow charging

Hi Harsh,

did you have or do you plan to include Force AC (fast) or USB(slow) charging patch in your kernel?

I'm interested in USB slow charging by AC wall charger overnight. :)
[LG Optimus 2x] baliriot:
flashed oc version, no thermonuclear war so far after almost 8 hours... :D:D:D
[LG Optimus 2x] Harsh:
Sure will include it. Thanks to chad0989 for it. Should be very helpful
[LG Optimus 2x] owain94:
i already made the settings part with right path :D
[LG Optimus 2x] achangavi:
Any way this can be ported to the motorola atrix?
[LG Optimus 2x] Harsh:
Would be almost impossible there are too many differences despite having same CPU, rest is different, unless too much time spent on manually porting one by one. And no kernel dev here have Atrix phones either.
[LG Optimus 2x] Adi_Pat:
Hello,

I am porting Kernel 3.0.y for Galaxy R GT I9103 and it has same SOC as Optimus 2X

Can you plz share your kernel source? It will make my work somewhat easier.
[LG Optimus 2x] eyronic:
First page.
[LG Optimus 2x] Harsh:
New kernel updated. Stock and OC version both.

Changelog:

build 1505 Stock & OC

Added Force Fast Charging patch by Chad Froebel

Lots of tegra related v21 source drop fixes, thanks to faux123

New wifi code change, from v21 sources

As usual few kernel config changes (still have to find minimum config)

Download link as usual in OP, or you can get it from Google Drive/Mediafire in my signature.
[LG Optimus 2x] Rivafe:
I can't find the new 1505 OC, it's not in mediafire? Thanks for the great work.
[LG Optimus 2x] baliriot:
its in harsh signature (you're probably using tapatalk so you can't see it)...

https://docs.google.com/folder/d/0B4HkPoHdupAmRk1FajBiZzhrdzQ/edit# :)
[LG Optimus 2x] Harsh:
Check first post, i have direct links to mediafire for kernel build 1505
[LG Optimus 2x] Striatum_bdr:
Hi mate, links in OP doesn't work for me, they lead on a blank page.

Tremendous job, thanks!
[LG Optimus 2x] Supupa:
If your using your phone. Make sure its desktop browsing, or request as desktop site. Should work from there man (:

sent from my wii remote
[LG Optimus 2x] Striatum_bdr:
Damn it, you did it, changing user agent worked...
[LG Optimus 2x] Supupa:
I figured it out just 2mins before you posted it haha!

sent from my wii remote
[LG Optimus 2x] tonyp:
Is it possible to use "CPU Spy" (from Google Play) with this kernel? I didn't manage to do so.
[LG Optimus 2x] Harsh:
Its not working, I tried but not working. I guess its not compatible with tegra2 processor.
[LG Optimus 2x] Striatum_bdr:
It's strange as it works on my tegra3 tablet. Must need some specific stuff in kernel.
[LG Optimus 2x] Harsh:
Tergra3 it is different, and they solved lots of problems of tegra 2.
[LG Optimus 2x] Harsh:
Yeah its possibe to patch use his patch, I have looked into it, but dont know if its worth it.

Still need to improve IO performance in this one, stock CM9 kernel give 340 in AnTuTu, while this new 3.0.25 give just 230~240 only.
[LG Optimus 2x] wkpark:
I think it is normal. the default i/o scheduler of the kernel 3.0 is CFQ

(newest but not tuned for?),

if you change it to the deadline you can get more i/o performance (i got 320~360)

(without the fifo_batch tweak)
[LG Optimus 2x] Harsh:
I guess when you were writing this, I was pming you.

I want to implement SIO, its simple and better than deadline, though based on noop and deadline both.

default is cfq, and deadline and noop are available for change. But want to get SIO into this. It should work better i guess.
[LG Optimus 2x] spica1234:
Either use deadline and in dealine scheduler file change fifo 16 to 1. or use bfq:)

for deadline block/deadline-iosched.c replace "static const int fifo_batch = 16" with "static const int fifo_batch = 1"
[LG Optimus 2x] Harsh:
I know deadline is already set as optional, and fifo_batch tweaked to 1, but I am trying to implement SIO.

And being bfq a better scheduler is a myth, in actual its worse than deadline or SIO

New build 2403-4 uploaded

Changelog

Removed Kernel Debugs (further cleaning)

implemented hard float in order to reduce compile time

added ramdisk tweaks.

download link in OP
[LG Optimus 2x] vadonka:
i added the sio iosched for the kernel 3.0.25, just merge this commit

patch for linux 3.0.26: https://github.com/vadonka/tegra-linux-3.0.y/commit/83ffed8944141b391c228a3e63dac60ab204bfcb
[LG Optimus 2x] Harsh:
You have year 2010 SIO, which was created before kernel version 3.0.x

I have updated new SIO made in 2012.

I am pushing it now, you can check it out here

https://github.com/bhanvadia/tegra-linux-3.0.y/commit/05294dfcae77b38e231339dd27e3b678bcbc8d4e
[LG Optimus 2x] vadonka:
thx! this will be handy in cm7 kernel too :)
[LG Optimus 2x] Striatum_bdr:
I had some troubles with sdcard, it was unmounted instead of being mounted at boot. I ran version 2 at this moment and even flashing Spica's kernel didn't change anything.

I had to flash whole Kang then reboot to have proper mounting. Now I run version 4 and all is Ok.
[LG Optimus 2x] Harsh:
great. So now all is fine. People help me find things which are missing in this kernel compared to stock ics kernel.

And tomorrow's teaser in image, testing for few hours.

Sent from my LG-P990
[LG Optimus 2x] sibbor:
spica: "Thanks Meter 1337"... nice ;)

Looks really interesting. What I/O does AnTuTu report now with SIO implemented?
[LG Optimus 2x] Harsh:
Get about 290-310 in scores for IO

Sent from my LG-P990
[LG Optimus 2x] sibbor:
Not bad. Imo, the I/O is the worse thing about the 2X, together with memory; too small + too low speed. All improvements to the I/O area makes me glad.

Earger to try your latest additions out. Good job Harsh!
[LG Optimus 2x] k101d:
For me with v2 - 345 and v4 also 345

Your signature Mediafire Folder: bhanvadia and found they has update-cm-9.0.0-RC0-p990-KANG-2303-signed.zip what is it equivalent ?? for me I use owain94 kang #29 and also they has zImage too.

One silly question version v1 ,v2 and then v4 why not v3 :D
[LG Optimus 2x] Harsh:
v3 Build failed, was giving issues.

and my kang 2303 is newer than Owain's 29. feel free to use it, mostly make kangs for personal tests.
[LG Optimus 2x] wkpark:
original source

See also (waninkoko == Miguel Boton. maybe almost identical)

https://github.com/waninkoko/sio-iosched

and see also

commit 7eaceaccab5f40bbfda044629a6298616aeaed50

Author: Jens Axboe <jaxboe@fusionio.com>

Date: Thu Mar 10 08:52:07 2011 +0100

block: remove per-queue plugging

Code has been converted over to the new explicit on-stack plugging,

and delay users have been converted to use the new API for that.

So lets kill off the old plugging along with aops->sync_page().

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

in kernel 3.0, the *_queue_empty() is not used at all.
[LG Optimus 2x] SREEPRAJAY:
I downloaded the Kang in your mediafire folder but the boot animation goes on and on forever....i just did the flash and then the gapps, dalvik wipe, poweroff. then restarted the device...on and on the same....not starting....

whats wrong? I am on BB725 V20Q and used the back to EXT3 for Nova in the beginning and then this. should i do a complete wipe and then start....is it with your V4? or need to flash seperately?

Waiting for ur reply,

Thanks in advance
[LG Optimus 2x] k101d:
Phone dead ??

Hi SREEPRAJAY while waiting for your answer. My case is much more severe (BUT good luck I had nandroid backup of LG stock V20q so I can bring it back).

How my phone dead I downloaded this kang and then use backtoext3+dalvik wipe as I usually use this method then flash this kang+google app reboot and struck at LG logo try to do again full wipe then flash phone turn on and off so again full wipe then flash owain94 kang#29 boot phone turn on then off :eek:

SO decide to full wipe and restore old backup now phone come on with Stock V20q :confused: may be wait for a while will flash owain94 kang 29 it may be alive.
[LG Optimus 2x] SREEPRAJAY:
me too mate...I am unable to get to Owain's Kang now....i flashed NOVA and it works now.I went back to Django's ROM through restore.There seems to be something which is completely wrong with that downloaded Kang...dont know what...

Harsh,

can you please look at that?
[LG Optimus 2x] eniux:
How do I submit errors?

cause the kernel is running great.

Just two errors

- wifi has to be turned on by using airplane mode otherwise it Will Just use HDSPA | 3g

- bsod while charging last night.

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] Benee:
Nvidia didn't implement the normal cpu interface at all on the early tegras. That means, that - besides the govenor stuff (which should be well known by now) - there'S missing some more stuff. The whole cpuinfo stuff isn't supported really well too. For example the cpufreq/stats. CpuSpy uses time_in_state from the cpufreq/stats interface to display the most used freq steps without draining your battery.

So it won't work and it's not the app fault. The app just displays the information from time_in_state in a userfriendly app. It's a trade off related to the insane nvidia rush on dual cores (Site note: same **** is happening with quad cores right now *cough*).
[LG Optimus 2x] Striatum_bdr:
Thanks for clarification !
[LG Optimus 2x] Rivafe:
How it works the fast force charging?

I try the "echo 1 > /sys/kernel/fast_charge/force_charge/mode" and nothing.

Thanks in advance
[LG Optimus 2x] Rivafe:
I understand it now!!!
[LG Optimus 2x] grimmyrippy:
my battery drain faster when i sleep my battery is 75% when i woke up i can't open my phone i thought it was hang up but it didn't, my battery drain up to 0% then i open my phone and standby for at least 5 minutes when i checked my battery used the cell standby is 50% and phone idle is 50%

this kernel is good but that's my only problem with this kernel

i use temasek unofficial build 104 ROM

so idecided to go back to temasek snappy kernel

sorry for my bad english
[LG Optimus 2x] :
You... used an ICS kernel for CM7? o.O
[LG Optimus 2x] tonyp:
Don't use this kernel. Use vadonkas latest beta instead. And next time read the OP more carefully :D
[LG Optimus 2x] eyronic:
I think he's using the one harsh cm7 kernel (3.0.x).
[LG Optimus 2x] Harsh:
New debug kernel for ICS to test USB host/otg. Please those with usb host cable try it, and report back. thanks

build-2105 debug

http://www.mediafire.com/download.php?9g4hemaimnk0l4d
[LG Optimus 2x] _Vegas:
Any other changes？
[LG Optimus 2x] CarloIT:
Why i'm not able to see the download from my 2x ? only with PC :confused:
[LG Optimus 2x] Rivafe:
In the last days I can't make a download with mediafire, I enter the link and the only think I see is a white screen. It's possible to access the new kernel another way?

Thanks for the great work!
[LG Optimus 2x] orrebo:
If you download from the phone. Change your browser ua to desktop and it could work.
[LG Optimus 2x] H84:
For me ipad mode work not desktop?

Skickat från min Optimus 2X via Tapatalk 2
[LG Optimus 2x] CarloIT:
sorry what's "browser ua" ?:confused:
[LG Optimus 2x] slebit:
I think that orrebo mean "user agent".
[LG Optimus 2x] CarloIT:
Ok thank's, i'm gonna watch my settings :o
[LG Optimus 2x] Harsh:
all those with mediafire download issue, please change your browser user agent, to mac desktop, it always works.

alternative link for those still with mediafire trouble

build-2105 debug

http://d-h.st/t8T

and let me know if USB host mode working or not. I do not have host cable.
[LG Optimus 2x] Thief777:
I checked ...

edit: It does not work, probably need support firmware!
[LG Optimus 2x] Harsh:
I ordered USB host cable today just for this, so maybe wool be able work on it more efficiently.
[LG Optimus 2x] Thief777:
Today I got it :)

It would be nice if this feature worked!
[LG Optimus 2x] CarloIT:
USB connection doesn't work for me

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] tonyp:
It does work for me in the 1505 build. But I have to switch to MTP and back to USB a couple times till the explorer will see it.

And I suffer from an EXTREMELY slow file transfer - seems to be similar to the problem people are posting in vadonkas thread.
[LG Optimus 2x] Harsh:
I try my best.

And USB connection is perfectly working for me. Tried MTP and UMS both, no problem at all.
[LG Optimus 2x] owain94:
Hey harsh i ordered 5 OTG cables for testing purposes :p

i can sent one to you for testing if you want :D?
[LG Optimus 2x] Harsh:
thanks mate, but I too ordered it already :rolleyes:, for same purpose. :D
[LG Optimus 2x] owain94:
damn i am always to late when i have a good idea you always beat me it is getting annoying :p
[LG Optimus 2x] skylinegt77:
as long as u and harsh keep having good ideas im sure we dont mind XD btw, whats the difference from those cables to the others if i may ask :D pardon my ignorance
[LG Optimus 2x] Harsh:
One simple google search of "USB-OTG" would lead you to understanding it better than we can describe.

Anyways, its a cable for your phone, so that you can attach USB devices to your phone, example USB stick, or joystick controller or even USB fan if you feel HOT :D. Simple 'micro USB to Female USB cable.'
[LG Optimus 2x] skylinegt77:
cooooooooooooooooooooool. i have to get 1, then maybe i can oc my o2x till bout 2 ghz and make a heatsink for it with a usb fan XD
[LG Optimus 2x] cesarguaro:
i didnt know about this feature :D long time without read the forum.. excelent idea this one... tomorrow i will buy my usb cable to test it with my joystick :D thanks bro:D
[LG Optimus 2x] skylinegt77:
would be awesome, but would we have like a pointer for a mouse, suport for gamepads? what are the possibilities right now?
[LG Optimus 2x] Harsh:
People dont jump on wagon yet, currently usb host otg not working for our phones, but I am trying to make it work. I just got cable myself for trying. And Owain got cables as he have other devices which probably has it working already, but he also looking into it :D
[LG Optimus 2x] skylinegt77:
like i said, as long as you keep having ideas... ;)
[LG Optimus 2x] 2Kings:
vadonkas latest changes for his cm7 kernel sound really good:

Updated to Linux Kernel 3.0.32

Fix touch screen lag

All wifi driver issue is fixed, including connection loss, battery drain, etc.

i hope they can be used for this kernel =)
[LG Optimus 2x] CarloIT:
I can't totally come back from Spica kernel i tried

how can i ?

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] Harsh:
I added Linux kernel 3.0.32

And I will ask vadonka about wifi.

Touch screen lag is not present for me.
[LG Optimus 2x] skylinegt77:
hey harsh, what is really the last version of your kernel? i cant seem to make out which it is between so many XD
[LG Optimus 2x] Harsh:
Wait for few hours, next one will be latest :D
[LG Optimus 2x] skylinegt77:
:O awesome. i tried the debug 1 u posted back there, but didnt even boot 4 me. will be waiting tho. ty vm
[LG Optimus 2x] Lumpie:
Could you please add USB charging Mode pls. The battery lasts longer and Phone doesnt get so Hot
[LG Optimus 2x] Harsh:
Changelog:

build 2205 Stock

Linux Version 3.0.32

Re-enabled ext3 ability (fix unsupported file system problem)

Increased XZ compression usage.

PS: its stock frequency kernel.... no OC yet. And USB charging mode patch by chad is already there. Look at changelogs of previous builds

And you all know where to find download link :D.. op or links in my sig
[LG Optimus 2x] Thief777:
Which version of the final, 2 files are loaded with different checksum
[LG Optimus 2x] slebit:
Yes, but only one of them is for P990.
[LG Optimus 2x] kickokim:
I though you needed a powered usb connection on the phone for host, I don't think ours is...
[LG Optimus 2x] CryptKilla:
Can someone post another download link? I cannot open the link from first post, even when i changed browser ua to desktop.

Tnx

Sent from my Tapatalk
[LG Optimus 2x] Harsh:
this will help you. Do bookmark it, when I put new update it will be available here too. And please do read name of file before downloading and flashing.

http://d-h.st/users/harsh
[LG Optimus 2x] lipisak:
Hi harsh, I flashed your last kernel two hours ago. Don't feel such a difference... but your last build was great piece of work And i guess there isn't much space for improving until lg releases their builds for us. But anyway this is great work you do for us, and once again thx for it.

Odesláno z mého LG-P990 pomocí Tapatalk 2
[LG Optimus 2x] Harsh:
new dubug kernel for testing usb host/otg. Normally you dont need to flash this, unless you want to test USB host/otg.

http://www.mediafire.com/download.php?ebo6jyt474m8yba

it is for p990 only.

Keep using 2205 if you dont own usb HOST cable, there is no difference. Or this may even break something.
[LG Optimus 2x] gtr-kir:
Oh, about the USB OTG is very interesting! And what cable is needed? With the additional power or without it? I can solder as a direct microUSB = usb (female) without add power and with add power.
[LG Optimus 2x] shpapy:
I flashed 2205 and lost service I use Bb/ril 725 flashed again cm69 back to normal

Any ideas?

thanks
[LG Optimus 2x] Harsh:
It should not happen, can you try again, and get logs when your phone is booting up? You need it connected to computer, and start logcat when Owain's android grim ripper appears.
[LG Optimus 2x] thatdudepoops:
Sent from The son of Sammy
[LG Optimus 2x] thatdudepoops:
9a

Sent from The son of Sammy