yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] kholk:
Battery life still isn't like I want it to be, but it's definitely better than the latest available snapshot.

I want to test the current revision prior to publish it, and also I hope [MENTION=1937190]lowjoel[/MENTION] will update EternityTweak soon, otherwise (and in the meanwhile) you'll have to enable the host mode using terminal emulator on your phone and, yeah, using it with the touch keyboard is somehow sick, but still it works.

All apart, the baseband wakelock is really aggressive as I already said and for now every tentative I did was producing badnesses.

One of the tentatives I did was making the device not to ring when someone was calling... yeah, that was really really sick.

The snapshot won't include any baseband wakelock fix for ensuring stability and usability of the device with this kernel as daily driver, so, at least for now, don't expect magnificent battery life.

Without any fix, my device lasts one day and I usually receive three to six calls a day. I also usually use Twitter and Facebook, so, I'm also draining the battery with screen on time.

Coming to us, for now and probably forever, for enabling the USB Host Mode you need to do a trick that I'll explain later... and about releasing the latest version, I should be able to release it in the afternoon (GMT+1 DST) so....

Keep in touch!

The EternityProject Team Manager & Main Developer,

-- kholk
[LG Optimus 4X HD] @non4:
Sounds good enough for me, my phone lasts a day regardless, no kernel helps currently. Seeing how fast it was in games I can't wait for a usable update! Battery means nothing when I'm cooking my battery in 2hrs on MC4 :P

Sent from my rooted P880
[LG Optimus 4X HD] varadinum:
[MENTION=489838]kholk[/MENTION]

Let yourself time to test it. Thank you very much. :thumbup:
[LG Optimus 4X HD] @non4:
+1, as much as I want it make sure its safe! :D

Sent from my rooted P880
[LG Optimus 4X HD] kholk:
Ah, I just noticed that on all of the 3.4.37 releases, the GPU is underclocked at 484MHz (instead of the standard 520MHz clock).

The next release will have GPU [MENTION=3374034]564[/MENTION]MHz.
[LG Optimus 4X HD] @non4:
I find 484mhz is enough, and BTW the default stock value is 416mhz on O4X, not 520mhz like HTC one X. But sure, add it! :D

Sent from my rooted P880
[LG Optimus 4X HD] kholk:
One X's stock GPU clock is 416MHz.

Btw, I may have confused the GPU clock with something else....

Anyway, just ran GLBenchmark (the most reliable bench for GPUs, IMHO)... if anyone wants to compare the result:

GLBenchmark 2.7 T-Rex HD, C24Z16 Onscreen, 5.2fps

I'm testing some other things prior publishing... and sincerely I don't know if I'll publish it today or tomorrow in the morning.

I'm just trying to provide the stablest thing possible.
[LG Optimus 4X HD] Flying_Bear:
i'm out of thanks for today, so i'll write it here - thank you!
[LG Optimus 4X HD] :
Will the overclocking come with an option to underclock?
[LG Optimus 4X HD] Maczuga:
[O4X] Battery life dramatically improved! Releasing the kernel in one hour.

Something really evil is doing to happend!
[LG Optimus 4X HD] dfreake:
nice to hear that :thumbup:
[LG Optimus 4X HD] @non4:
Its out! The kernel just hit beta, flashing now, cheers kholk

Sent from my rooted P880

---------- Post added at 10:35 AM ---------- Previous post was at 10:21 AM ----------

Anyone on cm10.1 how do poorly optimized games like dungeon hunter 4 perform? Its behaving worse on this kernel than stock. Oh and shadow gun still FC. Other than that its pretty solid now

Sent from my rooted P880
[LG Optimus 4X HD] kholk:
As you see, the new version has been released and now I can tell you something more about it.

So, as I said, it was impossible to implement "proper" USB Host Mode and because of that you need "a trick".

Yeah, the trick is described on the first post, so I'm not going to describe it here again, but here's the technical reason of that:

Our PMIC is a MAXIM MAX77663, connected to our DC-DC Charger IC, a MAXIM MAX8971.

MAX8971 supports current inversion, so it supports both VIN and VOUT: the latter is being triggered by a feature called "SAFEOUT", that is associated to the SFO pin on that chip.

On the LGE X3 board, SFO is connected to GND, so there isn't any GPIO or any way to "trigger" it... but luckily, MAX8971 will automatically turn on the SFO linear regulator when it detects VIN > 2.5V.

That's where our "charger trick" takes place: the charger has a VOUT of 4.5 to 5V (DC), SFO is still off when you connect it but, thanks to our software tricks, when our USB Host Mode switch is activated, when you'll disconnect the charger, the MAX8971 won't be updated with the new status, USBSUS (suspend) won't be triggered, the IC won't be shut down.

Here SFO will be turned on, providing a 5V VOUT draining power from the X3 battery, but beware of energy-hungry devices: it can provide a maximum output current of 100mA!!!

If you need to use MULTIPLE devices, or anyway something that needs >100mA, you'll need to make use of a powered USB HUB or to anyway externally power your power-hungry USB device.

For example, I've been able to use my USB mouse, my USB keyboard and ONE of my two USB pendrives. It was impossible to use one of them because its power requirement was too high.

Coming to the wakelock thing, when I've reimplemented the LGE X3, I forgot to disable MAX77663's LPM mode, producing continuous IRQ wakeups from the PMIC and ovbiously continuous wakelocking for the baseband (because of the resume and suspend-again path).

Remember that everything done on this kernel can't be "just copied" on other kernels: our implementation is different, uses different drivers, uses OUR code.

Anyway, in 58 minutes of device ON, baseband_xmm_power has been wakelocked for only 3:21 minutes. A good result, IMHO.

This time I'm releasing this as BETA: it's pretty stable IMHO, I've had no kernel panic, most of the things are perfectly working and the overall efficiency is high - EternityProject compliant.

If any problem happens, don't forget to immediately tell that here, providing a logcat and a dmesg (or a last_kmsg) describing what happened: that way I will be probably able to address the issue.

This is an important milestone for the 4XHD users and for our kernel on this device.

We hope everything is like we expect!

The EternityProject Team Manager & Main Developer,

--kholk
[LG Optimus 4X HD] :
BETA

Ril not working.... :confused:
[LG Optimus 4X HD] @non4:
How can I control the GPU? Eternitytweak force closes

Sent from my rooted P880
[LG Optimus 4X HD] :
no wifi, no mobile network here. reverting
[LG Optimus 4X HD] kholk:
Actually in /sys/eprjmanager/ there are all of our controls that are being managed by EternityTweak.

I'm talking to [MENTION=1937190]lowjoel[/MENTION] right now to ensure we'll publish a new version of it ASAP.

Btw, [MENTION=4374914]L2Deliver[/MENTION] and [MENTION=4542855]suruceanu.nick[/MENTION], instead of just talking, try to provide a dmesg and to perhaps reboot the device or wait a minute. I mean, I appreciate your report, but it would be good to have something in my hands to solve.

On my device, it works perfectly.
[LG Optimus 4X HD] :
i will try and do a dirty reflash after flashing the kernel and see if it helps. so far wiping dalvik doesn't.

if the reflash fails i'll try see if i can generate the dmesg report which i've never done before.

btw do we need to do the usb host trick every time before we plug in a device?

thanks for the kernel
[LG Optimus 4X HD] eric1116:
No wifi and mobile for me as well. will try to refresh later.

Many thanks for the kernel.
[LG Optimus 4X HD] Bogeyof:
Strange, Wifi and mobile data (3G) is working for me. First I booted with wifi enabled and wifi worked, but after 1-2 minutes I cant access internet. So I disabled and tested mobile data, worked so far, after that I enabled wifi again and worked also. Have to test more, but seems to work for me...

Next, I tested DeepSleep, ok, its there about 85%-90% :good:...

Did a nandroid backup, then wipe cache and dalvik, tested a little so phone is hot (36 degrees) and display is throttled at 53%. Hope this will go higher if phone cools down :confused:.

Phone seems yet not that smooth as other kernels (last tested: PH85) but stable and ready for a longer test...

Many thanks to the developer(s)...

Edit: Nope, 53% brightness seems to be max. I think he wrote it elsewhere (shouldnt it be solved?)...
[LG Optimus 4X HD] iodak:
[MENTION=489838]kholk[/MENTION]

In CM modules do not get loaded, something is missing in ramdisk. You can insmod them manually and they load. Nice work btw thanks
[LG Optimus 4X HD] kholk:
[MENTION=4353870]Bogeyof[/MENTION]

I haven't got such problem, or at least I didn't notice it. I've had it but then it seemed to be okay after an update. I'll re-check.

[MENTION=3443693]iodak[/MENTION]

Hmm... strange. I'm using an old CM ramdisk an user published here for the first release.

Anyway I'll publish a new version in less than 2 days probably... and for the new one, I'll download the latest CM and pull the ramdisk from there for the CM version.

Or perhaps I will publish something later.

@ everyone else
[MENTION=1937190]lowjoel[/MENTION] has just sent a new version of EternityTweak to Google Play. It supports the USB Host Mode switch and should solve some spare bugs.
[LG Optimus 4X HD] ArmadiloDS:
Pushing out the monster...

Cleaning the poop...

Flashing the new boot image...

Wiiiiieh. I am happy

While this happens, I could write you

one of this dirty jokes....

But... I am too fast

:laugh::laugh::laugh::laugh::laugh::laugh::laugh:
[LG Optimus 4X HD] iodak:
Check CM defconfig they have some of the modules built in so they don't insmod them.

Edit.

wifi is built in and they don't build tcrypt.ko any more.
[LG Optimus 4X HD] :
was about to produce the dmesg report via this app

oh well i shall wait for the 'something later'

:cool:good things comes with time, trial and errors:)
[LG Optimus 4X HD] ArmadiloDS:
Is there a way to start wifi manually? :p
[LG Optimus 4X HD] king123321:
I have WIFI after installing your last kernel on CM10.1
[LG Optimus 4X HD] Wakka_Tulkas_Mogue:
thank you very much!! expected and your work!! now just need the rom and we are complete! :P
[LG Optimus 4X HD] Bogeyof:
U can see it in HiddenMenu, Kernel info there is more detailed, or e.g. in SetCpu and other tools, which show complete info...

Btw, Antutu 3D test doesnt work ...
[LG Optimus 4X HD] o4i:
What does enabling firedeggs do? Besides making Your phone hot? :)
[LG Optimus 4X HD] leolipop:
Thanks for the support friend , it seems something went wrong with the G lockscreen and my phone did not boot.I did a factory reset and everything is fine....I will flash the lockscreen via cwm this time (previously i did it manualy without cwm that time...)

I believe a kernel was more waited then a rom for me at least...:o
[LG Optimus 4X HD] kholk:
It will make you able to fry some eggs on your phone.

....No :P

Jokes apart, it disables the EDP, so that the CPU won't be throttled at X temperature.

[MENTION=4353870]Bogeyof[/MENTION]

Use AnTuTu Benchmark.
[LG Optimus 4X HD] Tomaat:
Your forums wont load ! F*CK
[LG Optimus 4X HD] The_0ne:
You may have answered this question long time ago, but what version of LG Stock ROM do you have? EUR-XXX, 262-000,...

And if you have EUR-XXX where did you buy it?
[LG Optimus 4X HD] mmm273:
on CM works ... but cant turn on wifi...
[LG Optimus 4X HD] hwqdaniel:
AWESOME！I can't wait to flash it!
[LG Optimus 4X HD] Tomaat:
Bootloop.....
[LG Optimus 4X HD] Bogeyof:
I did use AnTuTu, there are 5 Test´s and in the 3D Test, there should be 2 different tests, the second one did not appear and the score is only 858 instead 2800 or more... (Score only for 3D in AnTuTu)

Didnt use friedeggs or such modifications...
[LG Optimus 4X HD] AlderCass:
Yep same for me, the 3D test with the ninja in the grass didn't show up for me in the newest version of AnTuTu

---------- Post added at 02:37 PM ---------- Previous post was at 02:35 PM ----------

And now the AnTuTu test is finished.... with a result of only 7152 - half of what I got before flashing the kernel. I have complete faith in you kholk but yeah I'm gonna opt out of alpha testing for the time being lol :D
[LG Optimus 4X HD] musklor:
And what about the battery duration ? No possible improvements ?

I'm laughing when i see people flashing kernel for stock on cm. They didn't wait and read the instructions..

Envoyé depuis mon LG-P880 avec Tapatalk
[LG Optimus 4X HD] alekthefirst:
AnTuTu Benchmark

Testing while i am writing...( on the CM version)

CPU @ 1700 mhz...

Test is going faster than expected...

everything LOOKS smoother - currently looking at OpenGL ES 1.1...

Hanging long at 3D graphics performance -.-

Still hanging

IT SKIPPED IT WTF????

( my sdcard is sooooo slooooow)

13363 in total score

NOTE- Score from the whole 3D test was not given, it was skipped

i'm sure it has like: 15500 IF the full test was done without problems

EDIT CAUTION:

dammit i had Antutu BAttery Saver on while testing :eek: -.-

Testing again(with surface dithering off and 16 bit transparency)

i will stop if it gets lower FPS at openGl ES 1.1

ES 1.1 seems abit faster

Still skipping the second 3D rendering test

10032 !!!!

i will try without 16 bit transparency and with dithering ON

still gives me abot over 10k

seems like battery saver increases performance
[LG Optimus 4X HD] igorstoja83:
Can I flash this on cm10?
[LG Optimus 4X HD] Flying_Bear:
same here, wifi is stuck on turning on. also, performance in nfs mw seems quite worse imo, even when oc-ed to 1.7ght and using on-demand (CM nightly)
[LG Optimus 4X HD] AlderCass:
I can't speak for everyone, but I flashed the correct CM version of the kernel that kholk uploaded :)
[LG Optimus 4X HD] alekthefirst:
yes, if you download the correct file
[LG Optimus 4X HD] king123321:
yeah same here, keep saying "turning on wifi"
[LG Optimus 4X HD] kholk:
In case, on CM, you've got WiFi problems...

insmod /system/lib/modules/bcmdhd.ko

And then it works.
[LG Optimus 4X HD] arararagi:
Thanks for the technical detail. Really useful for us other developers.
[LG Optimus 4X HD] king123321:
works! thanks!
[LG Optimus 4X HD] Subhajitdas298:
Does USB Host mean USB OTG?

Does it work? Anyone tested?
[LG Optimus 4X HD] ArmadiloDS:
THX!!! :good:
[LG Optimus 4X HD] @non4:
Eternitytweak still isn't updated :confused:

Sent from my rooted P880
[LG Optimus 4X HD] :
magic worked
[LG Optimus 4X HD] king123321:
everything works but scrolling seems slower between home pages
[LG Optimus 4X HD] tiflao:
Vibration not work for me

Enviado desde mi LG-P880 usando Tapatalk 2
[LG Optimus 4X HD] @non4:
Wuuut?

Eternitytweak is now updated, but its the same version 1.0, and still FC, FAIL!

Sent from my rooted P880
[LG Optimus 4X HD] tiflao:
For me works....

Updatte the apk

Enviado desde mi LG-P880 usando Tapatalk 2
[LG Optimus 4X HD] @non4:
I did update it... You on stock or CM?

Sent from my rooted P880
[LG Optimus 4X HD] tiflao:
CM

Enviado desde mi LG-P880 usando Tapatalk 2
[LG Optimus 4X HD] @non4:
Strange, rebooted and its working, oh well!:D

Sent from my rooted P880
[LG Optimus 4X HD] phynix5800:
+1
[LG Optimus 4X HD] Pesach85:
it_IT: Che dire, non so se sei un ingegnere informatico (mi meraviglierei qualora non lo fossi) ma il lavoro finora compito lascia intravedere da subito le potenzialità del kernel in versione definitiva.

Mi piacerebbe vedere le sorgenti per potere, riuscendoci, fare qualche backport sulla versione stock, ma presumo le condividerai non appena uscita la prima versione definitiva.

Nel frattempo continuo a seguirti e non posso che incoraggiarti a continuare il lavoro fin'ora compiuto (ammesso che ne avessi bisogno xD)

en_US: You work left me without words, i don't know if you are an informatic engigneer (i'd be surprised if you was not) but the work done shows great potential for the definitive version.

I'd like to see you sources to make, if possible, some backport :)

I'll continue to follow you and encourage to continue (if you need encouragement ;) )

Little note: on my phone just the NFC is still not working but i guess it will be resolved as soon as possible.

N.B.: i used the iodak ramdisk as iodak suggested the stock one was not insmodding some modules
[LG Optimus 4X HD] @non4:
Eternitytweak GPU settings don't work. Its sitting at 200mhz all the time meaning some games are lagging worse than stock

Sent from my rooted P880
[LG Optimus 4X HD] Bogeyof:
Eternitytweak: All settings have to be set again after reboot? No setting "apply at boot" possible? Its very annoying to set all the frequencies and voltage and cant save them ?!

GPU-Clock seems to be 200 MHz, for me too.

AnTuTu doesnt run 3D Benchmark, as on eternity 3.1.10 kernel before, may be the newer tegra drivers arent supported.

Poweramp doesnt work as on eternity 3.1.10 kernel before.

Had some "blackouts", phone needed 15 secs to wake up after display off, some apps took long time to react, some reboots solved the problems. Nothing to repeat, so I dont have logs to present, cause I couldnt repeat it...
[LG Optimus 4X HD] @non4:
Gotta agree I need GPU settings to work and preferably set on boot, if you're gonna have modules that need a special app then the app needs to have a set on boot feature at least. Great kernel otherwise, I don't have these "blackouts" please fix the GPU modules and have set at boot added to eternitytweak, after this the kernel is perfect, good job!

Sent from my rooted P880
[LG Optimus 4X HD] LGaljo:
I found another bug.

Vibration doesn't work and I read on net you couldn't logcat it, am i true?:confused:

EDIT:

Like someone says I do logcat with command logcat > vibfail.txt and there it is:

I before I did it I have downloaded app vibrator, then while the logcat was running I was using this app.

--------- beginning of /dev/log/main

I/dalvikvm( 3400): Turning on JNI app bug workarounds for target SDK version 11...

E/Trace ( 3400): error opening trace file: No such file or directory (2)

E/Term ( 3400): onCreate

D/Term ( 3400): TermService started

I/TermService( 3400): Activity called onBind()

I/Term ( 3400): Bound to TermService

I/TermService( 3400): Activity binding to service

I/libjackpal-androidterm( 3400): JNI_OnLoad

I/Term ( 3400): waiting for: 3422

I/Term ( 3400): Subprocess exited: 129

I/dalvikvm( 4529): Turning on JNI app bug workarounds for target SDK version 11...

E/Trace ( 4529): error opening trace file: No such file or directory (2)

E/Term ( 4529): onCreate

D/Term ( 4529): TermService started

I/TermService( 4529): Activity called onBind()

I/Term ( 4529): Bound to TermService

I/TermService( 4529): Activity binding to service

I/libjackpal-androidterm( 4529): JNI_OnLoad

I/Term ( 4529): waiting for: 4543

W/IInputConnectionWrapper( 4529): showStatusIcon on inactive InputConnection

W/IInputConnectionWrapper( 4529): showStatusIcon on inactive InputConnection

E/Term ( 4529): onCreate

I/Term ( 4529): Bound to TermService

I/TermService( 4529): Activity binding to service

W/IInputConnectionWrapper( 4529): showStatusIcon on inactive InputConnection
[LG Optimus 4X HD] Bogeyof:
Think u are on CM? On Stock V20a, vibration works fine...

Edit:

If I didnt use my phone for a while, I could set brightness to 70% max (with a message "not higher due to overheating"), but after working a little time (battery temp about 27 degrees) brightness will be cut down to 53% again (due "overheating...")... tegra_thermal_throttle_skin as on stock kernel doesnt exist for modifying...:confused:
[LG Optimus 4X HD] hernestwisnu:
Guys, with all due respect, the dev has been nice enough asking us to provide logcat or dmesg should anything goes buggy. Be nice to him and do so. In case some of you've forgotten how to do so, please refer to this thread http://xdaforums.com/showthread.php?t=1726238

Your effort in doing so would contribute to the dev to perfect this device.

Just an intermezzo, got this from other thread. I bet this what kholk might feel when we whine without providing him some data.
[LG Optimus 4X HD] Ivo_Strojnica:
I am frequently loosing mobile connection and mobile data. Gonna post logcat this evening.
[LG Optimus 4X HD] @non4:
Righto. Gonna flash again and try get GPU working, if I can't then dmesg, kmsg and logcat will all be provided :thumbup:

Sent from my rooted P880
[LG Optimus 4X HD] phynix5800:
[MENTION=489838]kholk[/MENTION]:

I believe vibration isn't working for some, because CM made differences to the implementation a few nightlies prior to RC1. I know that the issue is present in other kernels as well. On WerewolfJB for example there are 2 versions, one for old nightlies and one for the current ones.
[LG Optimus 4X HD] maderos:
[O4X] Anyone wanted a really better display? EternityProject LiveColors is coming....... :°)
[LG Optimus 4X HD] tobixdev:
asd

Got the same data error as the guy who posted it :) .

So i changed to stock rom to test this version. It's simply awesome. Didn't experieced any bug/lag so far.
[LG Optimus 4X HD] @non4:
What are you using to read the GPU freq? The settings indeed do get written to the module, but tegra overclocks monitor shows the clocks as 200 all the time

Sent from my rooted P880

---------- Post added at 03:59 PM ---------- Previous post was at 03:55 PM ----------

Here are my log and kmsg when I set GPU freqs, they are written to sys/eprjmanager but seem to be completely ignored:

http://www58.zippyshare.com/v/42697424/file.html

Sent from my rooted P880
[LG Optimus 4X HD] tobixdev:
Ok seems that GPU doesn't work too. just got 10000 on Antutu. but still smooth in UI :D. I don't play high graphic games so I don't know how it's there
[LG Optimus 4X HD] @non4:
I tried setting 50mhz as this would make noticeable lags if it worked, the result was a crash so it is doing something :confused:

Update: The max rate in sys/kernel/debug/clock/3D is 416, I tried putting all freqs to 400. The result? It crashed again. There are definitely some issues here

Sent from my rooted P880
[LG Optimus 4X HD] tiflao:
Antutu is only 11000 points?

Enviado desde mi LG-P880 usando Tapatalk 2

---------- Post added at 06:07 PM ---------- Previous post was at 05:07 PM ----------

When i go to install an apk for the sdcard , error...

Bug?

Thx
[LG Optimus 4X HD] sPEADy:
Just take your time we can wait.
[LG Optimus 4X HD] Bogeyof:
In AnTuTu, 3D Benchmark (Ninjas) doesnt run, so its about 2000 Points less than normal...
[LG Optimus 4X HD] DarkFantasy6:
the kernel is awesome :) tested it today , but i need vibration because i dont use ringtones :D is their any solution? or ideas ?
[LG Optimus 4X HD] @non4:
Ok after extensive testing I conclude that changing GPU in eternitytweak either does nothing or when it does work it crashes. Setting above the value in sys/kernel/debug/clock/3d/max on any of the values will result in settings not sticking, if I try to use values below this the system just crashes. I love this kernel but gpu clocking really makes a difference in certain games

Sent from my rooted P880
[LG Optimus 4X HD] reas0n:
Okay, i have seen that SMS app in stock ROM got buggy. It lags and sometimes it shows that a message haven't been sent, but i got the answer after a while anyway, wtf? :d

Could someone give the logcat/dmesg to Kholk? (i got back to 3.1 because i need well working messages)
[LG Optimus 4X HD] moddroid:
+1

the kernel is very very good i wait the next version, you are the best kholk ;)

Inviato dal mio LG-P880 usando XDA Premium HD app
[LG Optimus 4X HD] enriquez90:
The same happened to me. I'll need to understand how to logcat.
[LG Optimus 4X HD] Kettlebär:
http://xdaforums.com/showthread.php?t=1726238

http://xdaforums.com/showthread.php?t=1726238

Gesendet von meinem LG-P880 mit Tapatalk 2
[LG Optimus 4X HD] @non4:
0.11 is coming! :P

Sent from my rooted P880

---------- Post added at 01:34 PM ---------- Previous post was at 01:04 PM ----------

[O4X] New version available!

Sent from my rooted P880

---------- Post added at 01:35 PM ---------- Previous post was at 01:34 PM ----------

Are the GPU issues resolved in this version

Sent from my rooted P880
[LG Optimus 4X HD] liti15:
What is live color?