yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] momothecat:
this is a great news, another custom kernel :beer:

but I'm still with zaiben rom (base on stock rom) cause for me cm 10.1 rom still not ready for my daily use. I hope you will build for stock rom too :D

surely I will try your kernel when I'm ready to move to cm official or when you release you rom ;)

Sent from my tf101
[LG Optimus 4X HD] someth1ng:
This kernel seems good so far - feels smoother and more consistently buttery. I'll have a look for bugs - I don't know about the governors, though.
[LG Optimus 4X HD] @non4:
For development sake can you verify if gesture typing works properly? Then we'll know if the kernel broke it or the test rom

Sent from my rooted P880
[LG Optimus 4X HD] babymatteo:
Nice. Thank you!!!

BTW, can anyone make a flashable zip? Don't have access to a PC. Mine is down.
[LG Optimus 4X HD] Wenque:
Thanks. I'm not too concerned about my personal use, as I can tweak the system or even the source code towards what I want it to do anyway, but it matters to whether I will merge the new version into my published ROM already or not. For that I find it important that the default settings are acceptable for normal use.
[LG Optimus 4X HD] laufersteppenwolf:
yeah, i will change the whole stuff again. i'm also thinking of "re-basing" the whole OC stuff, including CPU OC.

and always remember, this is an alpha release, no final. that's why there are always possible bugs (but let's hope not) to expect.
[LG Optimus 4X HD] ~Issac:
should i jusr flash this kernel before i flash your rom????

can it be installed over the V20b??? or only for v20A???
[LG Optimus 4X HD] someth1ng:
Or you can all just install CM :P
[LG Optimus 4X HD] @non4:
This is for CyanogenMod only currently, I would like to see a stock version but there's none yet ;)

Sent from my rooted P880
[LG Optimus 4X HD] ~Issac:
so should i flash both the kernel and the rom??????
[LG Optimus 4X HD] tool_king:
As far as I know, you can mix most CM10.1 ROMS with this kernel. But you have to flash the kernel AFTER the rom, cause most ROMS have their own kernel. So you would overwrite this kernel during flashing otherwise.

---------- Post added at 01:25 PM ---------- Previous post was at 01:23 PM ----------

@laufersteppenwolf

Is it a matter of kernel or of ROM, that directory bind doesn't work under CM 10.1? Is there a way to fix this issue?
[LG Optimus 4X HD] xtribas:
use FolderMount, works well, but its paid if u want to bind more than 3 folders, and u cant bind the whole obb folder...
[LG Optimus 4X HD] @non4:
Its the emulated layout of the sdcard, use foldermount: https://play.google.com/store/apps/details?id=com.devasque.fmount :thumbup:

Sent from my rooted P880
[LG Optimus 4X HD] Pesach85:
I compiled last sources from github and i have a little issue:

the data connection don't work properly, seems it can connect but it's not really connected.. sorry but i can't do logcats atm :/

With the previous version this does not happened :/ (i compiled it from sources too doing some little tweaks ;) )

---

P.S. : any chance to implement this or major version: https://kernel.googlesource.com/pub/scm/linux/kernel/git/swarren/linux-tegra/+/v3.2# ?
[LG Optimus 4X HD] Ivo_Strojnica:
+1 i would like it also, if you can make time, of course.
[LG Optimus 4X HD] laufersteppenwolf:
hmm, data is working fine for me... no issues. but i'm using the version before i merged the latest CM code, because i just came home again.

and about your link... this is linux 3.2 version. tegra 3's (official) version is 3.1.10. building a kernel from zero is too high for me... so sorry, but i gotta say no.
[LG Optimus 4X HD] @non4:
Data works with your latest build here ;)

Sent from my rooted P880
[LG Optimus 4X HD] laufersteppenwolf:
thanks, flashing it right now ;)
[LG Optimus 4X HD] tool_king:
Any idea, when you will be ready to publish your next release?
[LG Optimus 4X HD] laufersteppenwolf:
yep, data is working, but vibration is broken now...
[LG Optimus 4X HD] laufersteppenwolf:
i know now what's wrong...

the fault is that i'm extremely dumb today...

gonna fix it now...

but it seems like we're gonna need two kernel versions now, one for ROMs based on nightlies before may 3rd and after...

sry again
[LG Optimus 4X HD] igorstoja83:
when you release new version?thanx
[LG Optimus 4X HD] laufersteppenwolf:
when it's ready, and no second before ;)
[LG Optimus 4X HD] Jaydee239:
Why spend time on supporting old versions? Nightlies are not for those not willing to update their rom anyway
[LG Optimus 4X HD] laufersteppenwolf:
because some other roms, based on older nightlies won't have working vibration then. my own rom for example (v002)
[LG Optimus 4X HD] Jaydee239:
Use it as a motivation to update your rom then ;)
[LG Optimus 4X HD] noppoer2:
when i do the fastboot method i get this message, FAILED (Remote: Bootloader is locked.) but i have already cm 10, and he says that my bootloader is unlocked? i don't know what i must do
[LG Optimus 4X HD] Fladder72:
You did "adb reboot bootloader"?

Try "adb reboot oem-unlock" and you got LG Fastbootmenu. Then flash boot.img again, should work...;)
[LG Optimus 4X HD] noppoer2:
works you are my hero :D
[LG Optimus 4X HD] Rufo3:
Probabily your answer will be negative but...is there a chance to use this kernel with stock rom? You know...actually i like lg ui :/

Inviato dal mio LG-P880
[LG Optimus 4X HD] Ddoubled123:
Nope. its base is CM10.1 kernel so it wont be able to.
[LG Optimus 4X HD] laufersteppenwolf:
nope, not yet. but i'm thinking of possibly (!!!) compiling for stock, too.

[MENTION=5019740]exFAT[/MENTION] already re-compiled my 2nd version with the stock ramdisk. so his one is usable for stock. just look a few pages back ;)
[LG Optimus 4X HD] Rufo3:
Did you try on v20a or v20b? And what kind of problems did you report?

Inviato dal mio LG-P880
[LG Optimus 4X HD] @non4:
I think he used it on 20b, and I've tried it on v20a, in both cases mobile data didn't work

Sent from my rooted P880
[LG Optimus 4X HD] Rufo3:
I've v20a so for sure data don't work...well thanks anyway

Inviato dal mio LG-P880
[LG Optimus 4X HD] Manholas:
I would like to see your kernel to run on 20th stock. It is a stable and well-filled room in need of a more evolved kernel. It was the cherry on the cake.
[LG Optimus 4X HD] laufersteppenwolf:
v003 is up guys :) enjoy

But be careful: we have two versions now! Read the OP for expanation!

Many thanks are going to [MENTION=4685589]non4[/MENTION] for all his help, suggestions and testing :)

And as a side note: WerewolfJB ROM users, wait with flashing, i'm uploading v003 right now ;)
[LG Optimus 4X HD] laufersteppenwolf:
Maybe i will ;)

But i'd be happy if someone else would like to do it instead. It would be way easier for me, and i could concentrate more on dev'ing, instead of fighting around with github :D

so if someone would like to do it, please let me know :)

BTW, i've got a lot to do lately, so dev'ing comes a bit shorter (even tho i'd like to do more...). If you've got fixes, patches, tweaks and so on, please let me know, too. The easiest and fastest way would be a pull request on github ;)
[LG Optimus 4X HD] laufersteppenwolf:
And like i've promised, the CWM flashable zip :)
[LG Optimus 4X HD] dann1989:
flashable zip is for me better, thanks
[LG Optimus 4X HD] xtribas:
nice :D
[LG Optimus 4X HD] tobixdev:
suggestion

You could add a costum boot picture instead of the boring LG Logo :D

I know its really not important but if you have time :D

now testing v003
[LG Optimus 4X HD] laufersteppenwolf:
I know ;) [MENTION=4248226]SMillerNL[/MENTION] is making one for me, as well as a bootanimation for my ROM ;)
[LG Optimus 4X HD] tool_king:
Can we expect a howling werewolf? ;)
[LG Optimus 4X HD] laufersteppenwolf:
Dunno :D you gotta ask SMillerNL ;) I fully trust him on this
[LG Optimus 4X HD] pescaero:
I'm testing the new RC, thank you very much! and please continue with this wonderful work:good:
[LG Optimus 4X HD] momothecat:
is this for the old cm rom or the latest one?

edit: ignore my question, too excited, i didn't even read the file name :D

Sent from p880 unlocked
[LG Optimus 4X HD] noppoer2:
Maby Voltage control in the next build?
[LG Optimus 4X HD] SMillerNL:
Bad Idea... ;)
[LG Optimus 4X HD] nomaj:
[MENTION=4716493]laufersteppenwolf[/MENTION]

Your kernel ROCKS! keep the good work!
[LG Optimus 4X HD] @non4:
Does anyone want to try porting this to stock again? I can't really help with compiling but as our dear OP here knows I'm a great guinea pig for test builds ;)

Sent from my rooted P880
[LG Optimus 4X HD] happyminti:
At first my vibtation is broken with the new release. I flashed both kernels for old and for new cm build. My build is 2nd may.

Also the wakelock isnt fixed. At 50 % i went to sleep. I woke up and battery is on 7 % :(
[LG Optimus 4X HD] tool_king:
Not only in God we trust, but in you as well. ;)
[LG Optimus 4X HD] eas69:
Installation aborted

Hi,

can you please give me an adivse?

I have a rooted, unlocked, unsecured device an I can install any JB custom Rom.

But when I try to install original CM10.1 or your Rom, I've got the following error message:

****

assert failed: getprop("ro.product.device") == "p880" || getprop("ro.build.product") == "p880"

E:Error in /external_sd/Download/cm-10.1.0.-RC1-p880.zip

(Status 7)

Installation aborted.

Thank you very much!!!
[LG Optimus 4X HD] arararagi:
This is everywhere. You need the official CWM.
[LG Optimus 4X HD] tool_king:
Use CWM 6.0.3.1!
[LG Optimus 4X HD] xtribas:
after 7 hours in standby still got 2 hours of baseband wakelock... damn :crying:
[LG Optimus 4X HD] fire3d:
No need to fix or edit anything, this happens only when your recovery is to old, flash the latest Recovery (CWM 6.0.3.1) and the error is gone.
[LG Optimus 4X HD] igorstoja83:
same for me :(
[LG Optimus 4X HD] pescaero:
before installing wipe

install cm10.1 RC1,

and then patch the kernel werewolfjb
[LG Optimus 4X HD] xtribas:
that´s what i did
[LG Optimus 4X HD] igorstoja83:
and did you success with this?
[LG Optimus 4X HD] Wenque:
arch/arm/mach-tegra/tegra3_dvfs.c, line 65: .min_millivolts = 7600,
[LG Optimus 4X HD] elfen.lied:
is this for CMs before the 3rd of May or after?

Also, if I flash this Kernel and don't like the result, how do I reverse to CM kernel?

Cheers :D
[LG Optimus 4X HD] tool_king:
It's for the releases after 05-03.

If you want to go back, you'll have to flash the cm kernel once again. Or you better just flash a nandroid backup.
[LG Optimus 4X HD] elfen.lied:
Since I'm a bit new to all this, a nandroid backup is a full backup you do through CWM, right? Does that include kernel as well?
[LG Optimus 4X HD] xtribas:
no...
[LG Optimus 4X HD] tool_king:
Right, just do it with CWM. Kernel should be included, yes.
[LG Optimus 4X HD] laufersteppenwolf:
holy sh... thanks a lot :)

but it wouldn't make a difference, because this value is not used while compiling ;)

yeah, a NANDROID backup, a.k.a. CWM backup includes all (important) partitions of your phone (/system, /data, /cache, /sd-ext, and the boot as well as the recovery itself)
[LG Optimus 4X HD] Wenque:
Yeah, I just noticed after posting it is ignored at compile time. Better not port the kernel to HOX though ;)
[LG Optimus 4X HD] momothecat:
I think this baseband_xmm_power issue still there with v003 kernel. Here are the screen shoot.

Sent from p880 unlocked
[LG Optimus 4X HD] arararagi:
Is this the entire baseband fix?

https://github.com/laufersteppenwolf/lge-kernel-p880/commit/cdcc31d21d4b21c00377bf29b79453c898c22910

It seems you just added a couple of local variables and a local function that never gets called. Perhaps something missed?
[LG Optimus 4X HD] xtribas:
omg this maybe it! Do u know when will this be implemented?
[LG Optimus 4X HD] exFAT:
It's already in his latest release. Arararagi is asking if that is supposed to be the actual fix, since it seems a little dodgy and incomplete.

EDIT: Mmm interesting changes on Laufersteppenwolf's github.
[LG Optimus 4X HD] xtribas:
if that is the fix, and it´s already implemented, it´ doesn ´t do much in my phone... the drain is still massive and completely random

:crying:
[LG Optimus 4X HD] SMillerNL:
Bootanimation has been made.

Just some optimization to be done.

(it now takes up 20mb, damn you high quality jpeg)
[LG Optimus 4X HD] lukas77:
New kernel, new CM10.1, 38 min screen on, I think tegra3 is a joke and nothing improve it the way like snapdragon works. Really tired with this phone and battery life
[LG Optimus 4X HD] exFAT:
Laufersteppenwolf seems to be adding some features that fransiscofranco added to his HOX kernel

So far, there's a fsync toggle, GPU OC (I managed to set my own frequency using Trickster Mod + Tegra Overclock), new CPU frequencies (now just in steps of 100MHz), and all cores at 1.5GHz (previously it was one core at 1.5GHz, quad core at 1.4GHz). There also seems to be some form of preliminary form voltage control, but my phone crashed every time I tried it, and apps don't seem to read the frequencies and voltages properly yet.
[LG Optimus 4X HD] laufersteppenwolf:
yeah, for now it's simply just "cherry-picked". no changes made for making it compatible with our phone yet, except making it boot. but there's still a lot of work to do. fsync toggle is disabled for now, because for this it would be needed to change a lot of things. and this isn't that important for me. it took me almost the whole day yesterday to make it boot. now we can go on.

and like always, if someone would like to help, my github is there for being used ;) i would be very grateful if you guys would do one or two (or if you like to even more ;) ) fixes. :)

it would save me a lot of time, which i do not have anyway the last few days...
[LG Optimus 4X HD] laufersteppenwolf:
BTW [MENTION=5019740]exFAT[/MENTION]

is the GPU overclockable for you up to 564MHz? or does it crash (happens to @non4 ), or does it halve the value (happens to me)?
[LG Optimus 4X HD] exFAT:
It will halve the value if you do not set it to max 564MHz using Trickster Mod app first. That will set max possible GPU clock to 564MHz. But it will not run at 564MHz until you set it to 564MHz using Tegra Overclock. Oh, and 600MHz crashes the phone :).
[LG Optimus 4X HD] laufersteppenwolf:
interesting, thanks a lot :)

and 600 isn't supported yet, i set the max value to 564MHz

BTW, i see you've compiled it for stock, do you wanna take over maintainance for a stock version?
[LG Optimus 4X HD] TheFerhatKing:
Undervolting will be nice to have on this Kernel.
[LG Optimus 4X HD] laufersteppenwolf:
I just implemented GPU OC up to 600MHz. But now i've got two questions:

1) shall i go higher? if yes, how much?

2) shall i try to include the baseband power sources from ICS, or do you think it's not worth it?
[LG Optimus 4X HD] TheFerhatKing:
1) Yes but test it please before you realease it

2) Yes why not?
[LG Optimus 4X HD] noppoer2:
1 no.

2 try and hope it works :D
[LG Optimus 4X HD] Flying_Bear:
this. i'd really hate for you to do some permanent damage to your o4x, that would result in community having one less developer, when we have so few
[LG Optimus 4X HD] tool_king:
Optimizing battery life seems to be more important for me than increasing performance for gamers.
[LG Optimus 4X HD] @non4:
I wouldn't go higher personally, 520 worked on the games that needed it so 600 is definitely enough ;)

Sent from my rooted P880
[LG Optimus 4X HD] laufersteppenwolf:
that's what i was thining, too. some HOX people reported that their GPU is able to run on 750MHz :eek: but that'd be completely insane IMO.

so i will stay on 600MHz max. In case it would be needed, i can still make an "insane OC" version for some OC freaks ;) :p
[LG Optimus 4X HD] Flying_Bear:
i know the question is boring, but is there any current plans on porting the kernel to official rom? CM has issues with camera that make it unusable for me, and i loved your kernel for few days that i forced myself to use CM :p
[LG Optimus 4X HD] laufersteppenwolf:
yeah, the plan is there :D

i'm just not in the mood, nor i have time to fight with two versions. i'm barely able to dev on the CM version lately...

if someone would like to take over the stock version, i will help him/her for sure.
[LG Optimus 4X HD] laufersteppenwolf:
Alright, the kernel is finally buildable with the baseband sources from ICS. :D

But sadly I won't have time tomorrow to test... So I guess it'll be Sunday when I can report about success or fail :D
[LG Optimus 4X HD] exFAT:
The only thing I've done is to use the stock ramdisk, nothing special. I'm not sure why mobile data doesn't work, since I don't use mobile data and can't test it for myself.

1) No. Iirc tests were done on the HOX which showed that GPU OC past 600MHz was not worth it since it produced a lot of heat, took up a lot of power, and only improved the GPU performance a little. GPU performance does not scale linearly with frequency.
[LG Optimus 4X HD] someth1ng:
Yeah, we should be thinking more about battery life before we worry about performance. The O4X is quite a warm phone and in my opinion, it's a problem that should be dealt with before we deal with making it faster. After all, what's the point of a fast phone if it dies after a few minutes?
[LG Optimus 4X HD] Fladder72:
I hope, he share the stock version with us :D
[LG Optimus 4X HD] exFAT:
Ok, ok, ok...

Here is the latest compile using laufersteppenwolf 's github. For stock. I used V20B ramdisk but it should boot on all stock JB ROMs. I'm not sure why mobile data is reported as not working; I can't check it out either as I don't have mobile data.

Note: This is completely UNOFFICIAL. If you do get any bugs don't whine on this thread.

Link: https://www.box.com/s/okea8s7pdqcgf5soppbi
[LG Optimus 4X HD] @non4:
Thanks, data doesn't work on v20a based ROM, can someone confirm if this is the case with v20b? If not its gonna be a long day :D

Sent from my rooted P880
[LG Optimus 4X HD] Pesach85:
Today i did a test using the stock sources for compile CM with cm ramdisk it started fine but despite i used modules for wi fi and data both was not working... there must be some kernel/android code mismatch or incompatibility
[LG Optimus 4X HD] noppoer2:
This kernel has a higer battery drain than the cm 10.1 kernel
[LG Optimus 4X HD] laufersteppenwolf:
hmm, could you please tell me which files exactly you've changed?

BTW, i'm pushing the baseband sources to github right now, so if someone would like to compile and test, please report back, as i can't test right now :(
[LG Optimus 4X HD] laufersteppenwolf:
that's normal for now. the GPU now uses 484MHz as default, before it was 200MHz all the time (linked and max freq at 416MHz
[LG Optimus 4X HD] exFAT:
I'll try and compile and test. But how do you trigger the wakelock? It happens sporadically for me.
[LG Optimus 4X HD] FunkyRasta:
Flashable zip anyone ? both versions ?

I'll try to test in on PAC rom, but my laptop has broken usb ports somehow. I have no MTP and problem with fastboot.

Thanks
[LG Optimus 4X HD] laufersteppenwolf:
the wakelock gets active, whenever the kernel/system thinks it needs the baseband right now. and our problem is that this is too often the case...

you can see in the kmsg, that whenever you turn the screen off, the wakelock gets active. so there is no chance to manually trigger it somehow.
[LG Optimus 4X HD] laufersteppenwolf:
hmm, dunno what's the matter... it's building fine here...

have you tried to re-pull?

which files have you changed exactly (for making it compatible with stock)
[LG Optimus 4X HD] exFAT:
No files, except that in my latest attempt I removed the version magic check for modules to see if that would fix mobile data on stock.

Oh, and the ones specified in LG's JB readme

Gonna retry now...
[LG Optimus 4X HD] Pesach85:
I was referring not to your kernel but in General at the Cm kernel/ LG stock exchange matter so i was a bit offtopic
[LG Optimus 4X HD] exFAT:
Still not working. Back to JB baseband it is then.
[LG Optimus 4X HD] laufersteppenwolf:
hmm, you wanna try my build for CM?

i could give you a link to try
[LG Optimus 4X HD] exFAT:
Sure thing. But just a question: why did you decide to switch back to ICS baseband?
[LG Optimus 4X HD] laufersteppenwolf:
because many people reported that the wakelock problem was not that present in ICS. so maybe this can fix the issue ;)
[LG Optimus 4X HD] Winudert:
"Overclocked GPU to max 520MHz" is at default, or I have to overclock it with app or it's somehow connected with CPU speed? Maybe Real Racing 3 with GPU at 520MHz can work at High settings (V20A Medium at best)?
[LG Optimus 4X HD] exFAT:
Thanks. Will test and see.

EDIT2: reinstated, since Flying_Bear said it works for him. It bootlooped for me, however. Try at your own risk:

I removed version magic, so mobile data may work now. Try and see. On STOCK ONLY.

Link: https://www.box.com/s/okea8s7pdqcgf5soppbi
[LG Optimus 4X HD] laufersteppenwolf:
default is 484 MHz. you can use tegra overclock to set it to 520 or manually echo it ;)
[LG Optimus 4X HD] Flying_Bear:
trying it in few mins, i'll report how it goes. thanks:good:

edit:

boots, but wifi seems broken somehow, cant turn it on/off, so i can't check data :(

edit2:

ok, data is confirmed to be working, however wifi is broken now ^^

edit3:

i managed to connect to wifi :/ everything seems to be working no problem atm
[LG Optimus 4X HD] Winudert:
Thanks for reply. As I understand, LG's Tegra 3 default is 416MHz?
[LG Optimus 4X HD] laufersteppenwolf:
no, max is 416, default is 200 ;)
[LG Optimus 4X HD] Flying_Bear:
also, a suggestion - exFat, join Werewolf dev team, please :D
[LG Optimus 4X HD] exFAT:
Lolwut. Mine bootlooped, heh, might be something to do with GPU clocks set wrongly on boot. I think I messed around one time too many.

And I'm not skilled enough to join a dev team - it's a simple fix based on a hunch I had. The most I can do is to help test/compile.

In fact, right now i'm trying to recover my bootlooping phone :P
[LG Optimus 4X HD] Flying_Bear:
i'm testing it right now, seems that everything works. can change scheduler, can change governor, can OC the gpu to 520, wifi ok, data ok. after first boot, i had a crash when accessing tegra overclock scheduler settings, after that i got in a bootloop, however i removed the battery for 10 secs, popped it back in and it rebooted no problem, and no crash when accessing scheduler settings.

also, you've just ported a kernel from CM to stock - that's helluva lot more than most people can do :p

edit:

ok, i've noticed some small issues with wifi that still persist - it auto resets occasionally, just drops connection and instantly reconnects. not that it's that big of a deal
[LG Optimus 4X HD] laufersteppenwolf:
have you tried my kernel yet?
[LG Optimus 4X HD] exFAT:
Trying now. Once I get this bleeping phone to stop bootlooping :)

Packing it into a CWM zip to sideload...

Done, booted, GSM working, let's see about that wakelock... Will prolly require a day or so to see.
[LG Optimus 4X HD] laufersteppenwolf:
sorry guys... i messed up...

it somehow still took the old files, instead of the new ones... a completely fresh build from scratch gave me the same errors... but i'm working on it again...
[LG Optimus 4X HD] exFAT:
Nah, don't worry ;). Take your time :). We appreciate your efforts in trying to solve the wakelock problem :)
[LG Optimus 4X HD] Flying_Bear:
i'm sorry to post this question on this topic since it isn't directly-related, but someone might be able to help me - or rather, expain. at around 55 degrees celsius, processor downclocks to 1000 mhz per core. tegra overclock has the values of throttle and shutdown way over that (70 throttle, 80 shutdown). i had same issue with iodak's kernel, and he told me to edit temp_throttle_skin in sys/kernel/..., and i tought it worked at first, but now i see it doesn't seem to help at all. anyone know what's up and how to fix it?
[LG Optimus 4X HD] laufersteppenwolf:
the temps set in this kernel are

throttle: CPU at 80°C or skin (battery) at 43°C

shutdown: CPU at 90°C
[LG Optimus 4X HD] @non4:
Those interested in stock variant, iodak kernel now has GPU clock to 520: http://xdaforums.com/showthread.php?p=41198181

Sent from my rooted P880