yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] Androidmarketuser:
Hmm, I totally agree to that, but for me it already happened twice, that the phone wouldn't want to wake up anymore, I had to remove the battery then.

Maybe the deep sleep is too deep for me^^

I'll try to take a log sometime.
[LG Optimus 4X HD] MidnightDevil:
I noticed takes a little while longer to wake up the device, but so far for me always woke up.

Sometimes if for example, the play store is updating apps while device is on stand by (screen off), might take a while longer to wake up, but this is the only thing I noticed so far regarding waking up the device.

Maybe you can try to put the minimum frequency to 102 mhz or 240.. and try to see if it works better. It won't make any impact on battery life (very little difference in power consumption).
[LG Optimus 4X HD] Demetris:
This behaviour Is by design
[LG Optimus 4X HD] emplokeas:
Could someone Plz repack the kernel for stock rom...??
[LG Optimus 4X HD] MidnightDevil:
I don't think it will bring much if any advantages on stock rom.. this kernel is made to have a higher "compability" with KitKat.. due our device not being officially supported.. stock rom (as it says) was released by LG.. more supported then that is impossible..
[LG Optimus 4X HD] laufersteppenwolf:
I would give it a try after my exams, as it'd need ramdisk changes in order to be compatible with the new cpu handling...

Anyways, I uploaded a new build, compiled just a few min ago :D

I did not test it myself yet, however, it is the same as [MENTION=4574921]MidnightDevil[/MENTION] tried last night, just with updated CM code and a missing patch ;)

So I'm pretty sure everything should be fine as always ;)
[LG Optimus 4X HD] laufersteppenwolf:
Alright, I think I need to explain the (most likely) biggest improvement (except for the kernel ofc) in the latest version: Camera.

I was not yet able to find a "perfect" solution, however, I think it's the best we can get for now. (but this doesn't mean I stop working on it)

Yesterday, I pushed a commit to the p880-dev device tree, that allows the switching of the camera blobs "on the go". Meaning, if you need to record a video, you switch to the old blobs, and if you need to play one, you switch back to the (default) new one. This switch, however, needs a reboot, as we are changing a system library.

So, the most important part, how to use it :D

It's as simple as possible:

You need to open a terminal (like terminal emulator or an adb shell)

Get superuser rights by typing "su"

Execute either ". videorec" or ". videoplay"

Let the device reboot

But make sure you have the space between "." and "videorec/videoplay"
[LG Optimus 4X HD] Androidmarketuser:
Wow, this sounds amazing :)

This solution combined with demetris kernel repacked for the unofficial tree would produce the UBER performance :D
[LG Optimus 4X HD] laufersteppenwolf:
The kernel [MENTION=1149134]Demetris[/MENTION] posted is the p880-dev kernel, which is, and always was in this ROM ;)

He just repacked it for the official builds, so everyone can use it ;)
[LG Optimus 4X HD] EB20XY:
what are the advantages of the "p880-dev kernel" relative to the "stock cm kernel" for P880 ?
[LG Optimus 4X HD] hallodrix:
Overall cm official with p880dev kernel feels like using grouper blobs :p

But i have heavier frequencie drops then i had with omni kernel.I thought this was fixed ?

I have to wait 2 min till it's useable again . (1 cpu is stucking @ 102 mhz with 100% workload )

Sry don't have a pc for grabbing logcats or ksmg

Gesendet von meinem LG-P880 mit Tapatalk
[LG Optimus 4X HD] Adam77Root:
Even better part, it doesn't! :D

killall mediaserver

and you're good to go! ;)
[LG Optimus 4X HD] laufersteppenwolf:
errr, oops :D *goes facepalming himself*

will change it ASAP :D

EDIT: Edited and commit pushed ;)
[LG Optimus 4X HD] Flying_Bear:
did you also change the patch script to use killall command instead of reboot? :good:
[LG Optimus 4X HD] laufersteppenwolf:
Sure, that's what I meant ;)
[LG Optimus 4X HD] Flying_Bear:
what i meant was, did you change the scripts inside the patch you supplied here:

http://xdaforums.com/showpost.php?p=50920656&postcount=1

cuz if i'm reading the script right, it still calls for reboot when switching between the two. am i wrong or?
[LG Optimus 4X HD] IcanhasLG:
https://github.com/P880-dev/android_device_lge_p880/commit/1e020289451566399ce9c78bc93a7b88c583df36

Skickat från min LG-P880 via Tapatalk
[LG Optimus 4X HD] Dark_Az_:
I'm getting a FC when changing the Camera app to Video mode. Tried right after the install and with a ". videorec" as su, and no go. No time right now for a Logcat (going to work soon, so I restored back to the previous version), but when I have the time I'll download it again and give it another go. For now, information that might (not) be useful:

CWM 6.0.4.5 Touch

Default Kernel (no values changed)

Default Camera App

Tried with and without GApps

build 20140318, please do tell if I'm missing something (not the logcat, a process I should've done or something).
[LG Optimus 4X HD] laufersteppenwolf:
the fact that I always use adb made me forget to mount /system from within the script, so the script tries to replace the blob, but has no write access. It's fixed now on github, and I will compile a new build soon ;)
[LG Optimus 4X HD] EB20XY:
do you include latest sources from CM nightly 19.3. ?
[LG Optimus 4X HD] laufersteppenwolf:
ofc, my script always sync's before compiling ;)

(well, except I tell it not to :p :D )
[LG Optimus 4X HD] laufersteppenwolf:
Alright, new build almost done, but I need to go...

It'll upload automatically, so you should be able to DL it within the next 45 min ;)
[LG Optimus 4X HD] mario.gacv:
DL link is ready now, is it safe to flash it over official nightlies?

Thank you so much
[LG Optimus 4X HD] EB20XY:
I tried to flash the build before and had problems direct over official nightlies.

So its better to make a clean install.
[LG Optimus 4X HD] Adam77Root:
Hey [MENTION=4716493]laufersteppenwolf[/MENTION]! Could you send me the script you use? I already wanted to create one, but never did so. :D TIA! :D

Sent from my OmniROM-powered LG Optimus 4X HD
[LG Optimus 4X HD] laufersteppenwolf:
Everything's pushed to github ;) https://github.com/P880-dev/android_device_lge_p880/tree/cm-11.0/cam_hack

I know, it's a mess, but well :D
[LG Optimus 4X HD] IcanhasLG:
I think he's referring to your build script. ;)

Skickat från min LG-P880 via Tapatalk
[LG Optimus 4X HD] SuperLamic:
hey, [MENTION=4716493]laufersteppenwolf[/MENTION] your video script in last build is returning err: "cp: can't create '/system/lib/libstagefrighthw.so': File exists"
[LG Optimus 4X HD] laufersteppenwolf:
ohh, well, I can push it as well :D

But I need clean up my mess, as I can't use the hw decoder ATM, no matter what I try :eek:
[LG Optimus 4X HD] Adam77Root:
Yep! :)
[LG Optimus 4X HD] laufersteppenwolf:
here you go, mate ;)

it's not a "proper" script, but I had no time to improve it yet, and it also gets its job done ;) :D
[LG Optimus 4X HD] tonhao12:
frequency issue

Stuck at frequency issue is still present. Governor ondeman, i/o sched cfq.
[LG Optimus 4X HD] Kanad:
Its a kernel issue happened with official cm11 also. Tested with P880 dev kernel also. However issue is resolved when iodak 9.95 kernel was flashed.

Regards,

Kanad
[LG Optimus 4X HD] tonhao12:
With cm oficial never had the problem, same with iodak. However, I saw someone claiming had seen on iodak too. The thing is whether or not it affects all kernels in iodak's it sure almost never is triggered. But great ROM anyways.
[LG Optimus 4X HD] SHA_NDY:
I have the issue that every time I turn off flightmode my radio signal won't connect. After a toggle of mobile data the radio signal connects. This happens every time flightmode is turned off.

Anyone facing the same problem???

I had this on several cm-based ROMs I tried. The only ROM this problem didn't occur was ParanoidAndroid ROM which features kholk's RIL implementation.
[LG Optimus 4X HD] Coolneng:
Doesn't happen in Omni and ThinkinBridge either
[LG Optimus 4X HD] DemetriK:
Does somebody has an issue with Autofocus on camera?

After camera focused it waites couple of seconds and only than makes a picture...

On both cm 11 official and unofficial...
[LG Optimus 4X HD] Flying_Bear:
dont focus manually.

alternatively, install iodak ported camera for cm10 (works on cm11 too), that one doesn't lag
[LG Optimus 4X HD] DemetriK:
I dont focus manually, after autofocused camera waites couple of seconds and only than takes a picture.

And it doesnt look like lag... the screen is updating... it looks like just pause for 4 seconds before shooting

I tryed iodaks kernel, official cm and unofficial cm
[LG Optimus 4X HD] Flying_Bear:
you sure you didn't touch the screen with flash turned on?

and i dont mean iodak kernel, but ported stock camera app by iodak
[LG Optimus 4X HD] DemetriK:
Nope, I didnt touch for manual focus.

Focus is set to Auto, other properties are default. I also tried to clear app data and cache.

Dont want to install from iodak, I just want to figure it out why Im expierencing this behaviour.

Other Camera apps show samebehaviour...

Perhapse it is db or firmware related?
[LG Optimus 4X HD] laufersteppenwolf:
As some of you already might have noticed, I pushed a new build this afternoon (dunno when it was done compiling :D )

the blob switch should work properly now, and all you need to run now is "su" and "videoplay" or "videorec". No "." no nothing :D

Also, there is no reboot required anymore, so it's a real "OTG" feeling ;) :D

About cam, the lag usually only happens when manually focusing with flash enabled
[LG Optimus 4X HD] SHA_NDY:
OK, it is solved for me, works properly. Flying_Bear's signature gave me the hint to the solution (Thread http://xdaforums.com/showthread.php?t=2496075). It is not much work to change.

[MENTION=4716493]laufersteppenwolf[/MENTION]: What about including kholk's RIL by default??
[LG Optimus 4X HD] DemetriK:
I think something is corrupted... Will try with fresh install. Thanks for answers!
[LG Optimus 4X HD] LGaljo:
Can somebody tell me, where can I download the latest ROM, because the newest one here in download section in dated at 8. March, but in last week there were some major updates? Can somebody upload it?
[LG Optimus 4X HD] tool_king:
Reading the OP must be really hard. :P

http://goo.im/devs/laufersteppenwolf/CM11
[LG Optimus 4X HD] LGaljo:
Thank you, my fault :(
[LG Optimus 4X HD] IcanhasLG:
I just want to take this post to point out how this should work, while the reply was harsh (not needlessly so IMO) he recognized that he was in the wrong and stood to be corrected, apologized and moved on.

I want to applaud that because it's extremely rare these days.

It's also why i only relesed one version of the Tw2 kernel on a previous device, because people being daft and not appreciating your work and ask you the same question that you put in your OP for the umptheenth time gets perry ... well i get banned when i respond so you can figure that out for yourself.

I prefer to have others publish it and if you need support you get to talk to them.

I may have something tomorrow for testing, this is dev exclusive though, if someone wants to post it for testing afterwards it's fine by me but i'm not going to answer any questions unless they are actual dev questions.

Should be bumped to 3.4.85 by then with NV HardFP path, i made a few changes, the anykernel scropt saves boot.im and modules under system as a flackable zip, you can also just choose to use part of internal storage as backup of data, i'm makinga build script now.
[LG Optimus 4X HD] Dark_Az_:
Hmm, now it doesn't crash when I change it to Video Recording mode, but it doesn't record for more than 1s (and no file is created)

When changing to videorec in terminal (after su) I get this:

root:/ # videorec
rm: remove '/system/lib/libstagefrighthw.so'?
rm: can't remove '/system/lib/libstagefrighthw.so': Read-only file system
cp: can't create '/system/lib/libstagefrighthw.so': File exists
chmod: /system/lib/libstagefrighthw.so: Read-only file system
File replaced!
Killing mediaserver!
Done!
root:/ #

I've tried answering as y, yes and blank, same result in all. Since it's a read only error I assume it's something on my side, any chmod you recommend?
[LG Optimus 4X HD] Flying_Bear:
find the scripts videoplay & video rec in system/bin, and tell me what the start of the script says.

if it says #!system/bin/sh, replace it with #!bin/sh, if it says #!bin/sh, replace with #!system/bin/sh
[LG Optimus 4X HD] dev0lver:
Is it possible to make some script which will automatically apply adequate settings for video recording or video playback ??

Like when you start video recording script executes command for recording, and when you start to watch video it executes command for video playback, to skip manually entering commands in terminal emulator

Is it that possible ?

I guess not ...
[LG Optimus 4X HD] IcanhasLG:
Current code problem with cm and derivatives.

I'll fix it next week.

Skickat från min LG-P880 via Tapatalk
[LG Optimus 4X HD] :
Try with:

root:/ # remount

root:/ # videorec
[LG Optimus 4X HD] peppethustra:
The only problem here (happened to me too) is that you have to mount system as rw..Do this with a script or with selecting this option in a file manager app, and you should be ready to go!
[LG Optimus 4X HD] Dark_Az_:
Tried this one first, got

root:/ # remount
sh: remount: not found

Murphy demanded that the file had the third option, #!/system/bin/sh. Which leaves me doubting what option do I go with.
[LG Optimus 4X HD] Adam77Root:
mount -o remount,rw /system
[LG Optimus 4X HD] Flying_Bear:
replace it with #!/bin/sh then and give it a try ^^
[LG Optimus 4X HD] SuperLamic:
Hey, new commits in oficial CyanogenMod repo (kernel and device tree) - KeyDisabler and some changes in RIL.
[LG Optimus 4X HD] laufersteppenwolf:
New build should be uploaded soon, and I have some more information about these freq "freezes". I'm 90% sure it's because of the baseband driver update, however, I have no idea yet what exactly is causing it. But it only happens when the kmsg shows the following three lines:

CP L2->L0
L0
L2

But what exactly's causing this is unknown for now... Maybe [MENTION=4719724]Adam77Root[/MENTION], [MENTION=1149134]Demetris[/MENTION] or [MENTION=3443693]iodak[/MENTION] got some ideas?
[LG Optimus 4X HD] Dark_Az_:
And it seems that master Adam's solution was it. Time to upgrade properly to the latest build and then stick to it for another 2 months. Thanks again for all the fine work and help guys.
[LG Optimus 4X HD] dev0lver:
did you manage to upload new build m8 ??

i see still cm 10.2 on download page with same date as before
[LG Optimus 4X HD] tonhao12:
There is a link to the new builds in the OP http://goo.im/devs/laufersteppenwolf/CM11.
[LG Optimus 4X HD] dev0lver:
ok thnx

i was always looking on download tab of the thread, so i got confused, forgot about links in first post

my bad

:)
[LG Optimus 4X HD] LGaljo:
Hey devs, I had connected my phone saw this in logcat:

I/auditd ( 4160): Starting up
E/auditd ( 4160): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 4160): Exiting

It is repeating all the time... ...in 23.3.2014
[LG Optimus 4X HD] laufersteppenwolf:
Yeah, it's there since... dunno :D But nothing bad ;)

Thanks for letting us know, though ;)
[LG Optimus 4X HD] OnAir783:
hi guys... can anyone tell me what is the most battery friendly CPU Quiet setting in TricksterMod by using this Rom with the implemente kernel? I couldn't find helpful information about this function.
[LG Optimus 4X HD] JoinTheRealms:
Balanced for sure, this turns on/ off core based on cpu load (eg 4 cores active at 80% load (i made that up for example purposes)). Followed by runnable, this turns cores on/ off based on the number of runnable threads (my assumtion here is runnable is more generally more responsive, while holding cpu at higher freqencies for longer periods of time)

We can ignore userspace, unless for some rare situation where you need a set amount of cores online all the time.
[LG Optimus 4X HD] MidnightDevil:
@laufersteppenwolf, something's wrong with the vibration, I noticed while using stock keyboard, in some keys (not specific) the vibration is longer than default. I disable vibration anyway but I noticed it while configuring it :) (23rd build)
[LG Optimus 4X HD] indslycon:
Can I just flash the latest build over one from 2 weeks ago or should I factory reset?
[LG Optimus 4X HD] sPEADy:
Wipe Cache & Devlik Cache in recovery and flash away the new bild :P

Happy Flashing.
[LG Optimus 4X HD] laufersteppenwolf:
Or even better, wait a bit longer and flash the latest build I'm compiling ATM :p
[LG Optimus 4X HD] gerciolisz:
thx [MENTION=4716493]laufersteppenwolf[/MENTION] for audiowrappers we'll see if it works when you compile:p :)
[LG Optimus 4X HD] laufersteppenwolf:
According to [MENTION=4574921]MidnightDevil[/MENTION] everything's working as it should ;)

Also, please take a look at the cpu freq freezes, if my theory is right, it should be better now ;)
[LG Optimus 4X HD] gerciolisz:
So p880dev is closer to stable than official:p

Really i dont care About stable its good fun with you here ;p
[LG Optimus 4X HD] MidnightDevil:
I could say that CM11 is like it was made for our p880 but I don't want laufersteppenwol to stop working on it so I'll say there's much to be done :b

But it does feel like Cm11 was made for it ;) very improvements, such speed, much responsiveness wow.
[LG Optimus 4X HD] sPEADy:
I Would like to confirm this as well '' It's Rock Solid and very very smooth '' not encountered a single bug till now. Really appreciate efforts of all the developers.

Thanks.

Regards
[LG Optimus 4X HD] DemetriK:
Hi,

is there any solution for Camera bug when AutoFocus+Flash?
[LG Optimus 4X HD] peppethustra:
Try this port of stock camera, it works without that bug - ATM, it's the better trick you can use

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

[App PORT] V20a camera app for CM10.1
[LG Optimus 4X HD] just Nob:
Official or unofficial, that's the question here...? (Or just: Being confused!)

Hi there,

hope neither to be off-topic, nor to have overlooked or missed something inside this thread!

laufersteppenwolf has introduced this thread with the following statement:

On the other hand, you're able to find official(?) nightlys on Cyanogenmod's download sites nearly every day:

http://download.cyanogenmod.org/?device=p880

So, could anyone please tell the difference between those ROMs and the ones that can be downloaded here?

Thanks in advance!

Nob
[LG Optimus 4X HD] playitlouder:
Does the Video Cam work with that App?
[LG Optimus 4X HD] xtra0581:
I do always flash over with cache and dalvik wipe.

Only full wipe when changing the rom. (E.g. from cm to vanir, or jelly bean to KitKat)

This always worked for me.
[LG Optimus 4X HD] GalaxyVolvoZ:
Can someone give me a report ? Whats working good and what not ? Because i read that video recording is working a bit and there a new updates to this rom but no changelog :/
[LG Optimus 4X HD] peppethustra:
Yes
[LG Optimus 4X HD] sPEADy:
Wifi Problem

Good evening, I am using this Rom dated 24.March.2014 and having trouble turning wifi back on. I have tried to take the logcat I am not sure if its correct or not :p
[LG Optimus 4X HD] laufersteppenwolf:
this build is known for being buggy, tried the 25th version yet?
[LG Optimus 4X HD] sPEADy:
Okay I will try it now.....Thanks
[LG Optimus 4X HD] nasosgr:
Problem with data connection

Hello all

I am facing a problem with my data connection. Every time i try to open my data connection it tries to connect,it gives me the 3g signal for one second end then returns to the first state with one "x" over the antenna's sign. I tried opening data from settings/mobilenetwork/data enabled & from the shortcut on the top left corner buthappens exactly the same.

You can find attached a tomcat record.

Any suggestion?
[LG Optimus 4X HD] playitlouder:
Hi,

I just installed the rom.

Video recording does not work, even with the ported LG Camera. It stops recording after a second. Any fix there?

Random slowdowns seem to occur still. Is this solvable by changing governor or something?

I had a weird radio crash. Mobile Data refused to work. No calling possible either. Airplane Mode reboot, Airplane Mode off and Data+Calling works again.
[LG Optimus 4X HD] laufersteppenwolf:
Alright guys, new build uploaded :)

About the radio issues, gotta look into it ;)
[LG Optimus 4X HD] tonhao12:
After few days playing around with this ROM I can say the issue related to frequency freeze is gone. Nice job devs !!
[LG Optimus 4X HD] laufersteppenwolf:
Which build were you using?
[LG Optimus 4X HD] tonhao12:
Unofficial 25th march cm 11, built in kernel.
[LG Optimus 4X HD] Dark_Az_:
Haven't tried the last build yet, but the following worked to get Video Recording working for me (default app):

su
mount -o remount,rw /system
videorec
[LG Optimus 4X HD] LGaljo:
I also resolved using script like that. Second option I tried and work is to copy videoplay and videorec to /sdcard and rename them to videoplay.sh and videorec.sh. Then I can run it with Root Browser without problem. No more writing, just two clicks.
[LG Optimus 4X HD] playitlouder:
I am experiencing major issues with the radio. After a few hours I either have full reception bars without data and working calls, or no reception without data and calling functionality.

To get the phone functionality I have to reboot once with airplane mode on, turn airplane mode off and reboot again.

Anybody else experiencing this? I am using the European Baseband by the way.

I can try to do a logcat if necessary.

And one more thing: My battery life is rather poor with just round about 1h Display the battery is dead. The same thing happened on stock as well. Is my battery toast, or is this a normal behavior for this phone?
[LG Optimus 4X HD] JoinTheRealms:
Yes we need logs, the battery drain is most likely caused by your radio issues also.
[LG Optimus 4X HD] playitlouder:
I'm gonna get some logs tomorrow, but I think I'll try to refresh the radio, because I had the problem that data won't like to turn on on stock sometimes as well. And the battery life was and is rather poor.

How many hours of screen on do you get usually?
[LG Optimus 4X HD] JoinTheRealms:
Definitely not 1 hour, im not a smartphone *poweruser* so i aim for longer standby times, but id say the average on screen time for the 4x is around 2.5 to 3 hours dependending on what your doing.
[LG Optimus 4X HD] playitlouder:
[MENTION=4716493]laufersteppenwolf[/MENTION] which baseband do you recommend?

(Europe/Germany obviously as I'm living <100km away from you :P)

EDIT: Just had a look into the logcat, Auditd crashes all the time, which spamms the logcat. I am trying to get the radio to crash. And post a log...

EDIT2: Radio crashed in a different manner, but nevertheless, here is a log.

I'll go and reflash the Baseband now...

http://pixelbanane.de/yafu/2854444219/2014-03-31-15-25-53.txt

http://pixelbanane.de/yafu/175646132/2014-03-31-15-55-37radio.txt

(somehow CatLog created 2 files :confused:)

EDIT3: My phone just acts weird. Downgraded to 20a (from 20b). Updated to the latest TWRP, haven't installed gapps. And the radio still crashes.

EDIT4: Restored my backup (after 20a flash) and it is working fine now. LOL :P No mor major battery drain also :)
[LG Optimus 4X HD] Gmobilize:
I'm experiencing low freq lock up usually after reboot ,then re-switch governor and then it's ok with march 29 build

And

I am also facing this issue ,it started on the latest builds ,happens for my beanstalk too ,some kind of radio problem?

Remember this happening on JB
[LG Optimus 4X HD] laufersteppenwolf:
New build uploaded :)

It includes [MENTION=4719724]Adam77Root[/MENTION]'s new kexec hardboot patches as well as [MENTION=5747515]IcanhasLG[/MENTION]'s new govs and CPU tweaks.

Enjoy! :)
[LG Optimus 4X HD] MidnightDevil:
Hi wolf, is the CPU frequency freeze bug squashed? :)

I'm giving a go tomorrow!

Thank you for your work and time :)

Sent using a walkie talkie.
[LG Optimus 4X HD] laufersteppenwolf:
yep, should most likely be fine now