yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] EB20XY:
I have now often problems to install free apps via play store on official CM11. (since today)

(e.g. nova launcher from yesterday)

After download play store gives a messages like "not enough memory" and stopps it to install.

But there are always 300-500 MB free memory at that time.

Here is a logcat from the situation:
[LG Optimus 4X HD] SuperLamic:
Actually it's only interface. Your kernel must support it (only iodak's kernel)

And I think it's not in latest build, because Demetris commited it after build (?), so wait for next release and then try it with iodak's kernel :)
[LG Optimus 4X HD] SpyKnife:
Yes it is included.

http://www.cmxlog.com/11/p880
[LG Optimus 4X HD] rellagher:
Wow so many ch ch ch changes on kernel level!! This is great and awesome and thanks! !!
[LG Optimus 4X HD] sPEADy:
Good Morning Everyone,
[MENTION=1149134]Demetris[/MENTION] I am a bit curious & I have a one little question you can answer if you want to ;) is our Phone moving towards something like

'' Milestone '' release or something like that? because many other devices on CM 11 did get '' M '' relases till '' M7 ''

Nice work and keep it up been so excited since you have been on Official CM Developers Team.

Gradually is our phone coming to its potential.

Have a nice Day.
[LG Optimus 4X HD] lorddimic:
No nightly today, so far all builds failed so we have to wait for improvements made by [MENTION=1149134]Demetris[/MENTION] just a little longer ?

Послато са мог LG-P880 користећи XDA Premium 4 мобилну апликацију
[LG Optimus 4X HD] EB20XY:
Seems, that there are now running new builds again, after a "test-commit" (concerning a bug in theme-handling)
[LG Optimus 4X HD] J-_-M-_-C:
I am currently running the latest nightly from yesterday. A few hours ago I switched the phone off while in an exam and afterwards when I switched it on I could not get the power button to turn the screen on. Only a long press to force it to restart works. Also when I try to unlock using the volume keys it still won't switch in the screen. I know that the phone is still on because the sound it makes when connecting it to the charger works. Power button and double tap to sleep are not locking the screen. Starting to think I may have triggered a bug or something.

So, in short:

power button and volume keys are not working to switch the screen on; and

long pressing the power button reboots the phone as it should

Any ideas?
[LG Optimus 4X HD] EB20XY:
Press power button longer than 10 seconds. Make a logcat if possible
[LG Optimus 4X HD] ottomanhero:
Has anyone else experienced sudden lag spikes on 14th nightly? I had flashed iodak 9.5 and for some reason my phone would freeze for 2 sec, per 10 secs.

I'd grab a log if I didn't disable them back then, just wondering if it's just me.

I was on 7th nightly and it was working just fine, with exactly same setup.

Thanks for maintaining CM11 for us, Demetris.I've always thought you guys should merge stuff from unofficial cm11 to official cm11 so that it would result in a perfect ROM.
[LG Optimus 4X HD] tonhao12:
This ROM was the worst kk experience i ever had, unfortunately. Even with iodak kernel i bearly could use it because of the constatn lags and freezes. But i haven't tried previous versions of it so i believe it was something really wrong with this version only, hope next ones will bring back the smoothness and stability i have seen on many other kk roms. But thanks for the work , having such great rom officially supported it something really admirable.
[LG Optimus 4X HD] dimi89:
Using 14th nightly and everything works fine no lag.Using stock kernel.

Послато са LG-P880 уз помоћ Тапатока
[LG Optimus 4X HD] SuperLamic:
When I'm using official CyanogenMod, all HD videos lags even in MX player. It's caused by old blobs (omx). Is it working without lags in videos for you ?
[LG Optimus 4X HD] ottomanhero:
This also happened before, a few months ago or something.I believe it has something to do with [MENTION=1149134]Demetris[/MENTION] 's http://review.cyanogenmod.org/#/c/65795/ commit.

However, I can't say anything for sure as I didn't try the 15th nightly after that one.So I can't confirm that it's that specific commit.

When this happened before, there were some commits about CPU freqs, similiar to this and I had to revert, waited 2 weeks before I installed another nightly.

Sorry if I'm not being helpful, but I disable logs as I don't need them usually, I'll let you know if I ever grab a log of that nighlty.

The problem is, no matter what you're doing, should it be gaming or recording, scrolling down or anything, the phone keeps freezing per 10 seconds.
[LG Optimus 4X HD] Jack_capvil:
For the moment I haven't noticed lags. Everything ils normally smooth.
[LG Optimus 4X HD] iodak:
Last nightly (15) is noticeable slower then before.
[LG Optimus 4X HD] Demetris:
I use the (14) that has my changes in and is smooth as butter here ;)

So the slowness you are seeing is irrelevant :)
[LG Optimus 4X HD] Navios92:
14th nightly is also laggy with me and I have no idea why. Anything I can do here to fix that?
[LG Optimus 4X HD] Demetris:
I format system/data/cache manually coming from liquidsmooth . Runs great here nothing to report.
[LG Optimus 4X HD] Kanad:
Clean install, iodak v10 and 14 June 14 nightly and no issues at all. Demetris congrats for both baby and now you are official cm maintainer. Thanks for the great ROM.

Regards,

Kanad
[LG Optimus 4X HD] tonhao12:
Just like me. Perhaps if you reboot it a few times or try iodak v10 like some guys reported you might have better luck.
[LG Optimus 4X HD] Markos:
I normally use XPrivacy from Xposed Installer, is it true this CM11 has it already build in?

And what problems could I notice with this CM11 nightly? For so far I haven't experienced something. (I can also record video with the camera app)
[LG Optimus 4X HD] ssefrgr:
I am almost sure that I had this problem as well. I ran an app called "System clean up" and after that it worked fine.
[LG Optimus 4X HD] bilbo75:
wrong post! Sorry
[LG Optimus 4X HD] EB20XY:
Made it. Thanks
[LG Optimus 4X HD] gerciolisz:
I had it too but when call is ending I must disconnect call with Bluetooth device's button and next call always work good...

When I disconnect in phone's red button next call will be corrupted and it have very low volume..

What car audio do you have?
[LG Optimus 4X HD] yrxe:
It worked!!!!

P. S. Car is Skoda - same audio as in most vw group cars
[LG Optimus 4X HD] gerciolisz:
I have Sony xplod "something"car audio and it has this issue but on Bluetooth Sony headset sbh50 all works good...
[LG Optimus 4X HD] Markos:
Oké I have to come back at what I said. This CM11 is very unusable. It's very slow and laggy. Lots of black screens when programs are to slow to start. And crashing apps.

I need a simple stable and fast ROM. I don't need extras, it doesn't need to be on the latest android release. (I prefer KK though) has anyone a suggestion what I can try next?
[LG Optimus 4X HD] tool_king:
People like you maybe better stay with stock ROM.
[LG Optimus 4X HD] Pesach85:
I don't know what you mean for unusable. Users experiences differs on the use they do. So to be the more accurate possible it's better to associate logcats and dmesg before to blame anything, in sign of respect for free time and passion freely given to us.
[LG Optimus 4X HD] Markos:
Lol ppl like me? I am here since the HTC Magician/Qtek S100/MDA Compact

Sorry I didn't want to sound disrespectful, I just wanted to reply on my own post of yesterday when I said everything worked great. Ik kept my message short because I posted it with my phone and that was already kinda hard. I will make a more detailed post with logs later today
[LG Optimus 4X HD] Demetris:
I have switch us to bionic optimizations so would be better if you wipe cache clean after flash and maybe a second reboot will be needed after boot up.
[LG Optimus 4X HD] vrmanzacky:
rom CM11

Kernel iodak 9.5

in recovery mode menu

i chose

instal zip

and i have

/sdcard

/storage/sdcard1

/storage/external_sdcard

i have so many file,media etc in /sdcard

but when i search in my apps file manager, i cand find that /sdcard

how i can find it?

please help me

thx
[LG Optimus 4X HD] EB20XY:
what are the advantages of the "bionic optimizations" ? Is it a special lib ? What shall it do ?
[LG Optimus 4X HD] alberteske:
bionic optimizations

seem to be related only to GPS

http://www.cmxlog.com/11/p880/
[LG Optimus 4X HD] Zenety:
For some reason my GF's P880 doesn't boot with the 12-7 release and the 13-7 release. Using CWM v6.0.4.5 to flash. I didn't push the 12-7 to her phone so I used adb sideload for that one. Also doesn't boot and just hangs at the bootanimation. Should I wipe cache or dalvik cache?

(Also downloaded a few times, so i'm sure it's not a bad download)
[LG Optimus 4X HD] tool_king:
You really seem to need some Thanks a lot, mate! ;)
[LG Optimus 4X HD] alberteske:
I had no problem at all with boot. Maybe you just need to install an updated recovery...:good:
[LG Optimus 4X HD] Zenety:
It's weird, namelessrom boots fine for example. I'll try again later :good:
[LG Optimus 4X HD] vladi-it:
First of all, Thank you ! Last update is very good, GPS is incredible fast and precise; battery is good ... And from yesterday I've not loss of signal ! I'm Happy! Have a nice day :)
[LG Optimus 4X HD] bilbo75:
Usually when you got stuck at bootanimation depends by a problem with /data. Try a backup first and then format /data
[LG Optimus 4X HD] gmajnkek:
which nightly?
[LG Optimus 4X HD] vladi-it:
On 14 the Last nightly was 20130713 :) :)
[LG Optimus 4X HD] SnowRaptor:
Hey, I've been using the nightlies for a while, now I'm on 20140711. It's always been sluggish, but it's better now.

Still, there are some hiccups specially with the camera. It takes a while to load and when I turn the phone, it freezes and takes some 5 seconds to reorient the buttons. Does anyone else have this experience?
[LG Optimus 4X HD] xperia u20i:
Try 13.07. nightly...for me is the best for now...or wait a little for today's nightly...but still they are nightlys so you can't expect full stability and fluidity...if you know what i mean:rolleyes:
[LG Optimus 4X HD] gmajnkek:
Well i am using the nightly from 30.6 and its stable, smooth, battery life is good,...
[LG Optimus 4X HD] lorddimic:
From next nightly we will have option for centered clock in status bar :good:
[LG Optimus 4X HD] IcanhasLG:
I'm curious.

Why would you use Aurora optimiztions for MSM on a tegra chipset?

You do realize that these are hardware specific optimizations for the MSM chipsets and won't be used at all for Tegra?

IF the were, it wouldn't boot, we don't have QCOM hardware so you can't optimize for it.
[LG Optimus 4X HD] Demetris:
Optimizations are not msm soc specific only and they can be used in tegra too :)
[LG Optimus 4X HD] IcanhasLG:
They are MSM specific, that is what Code Aurora does, they optimize Android specifically for MSM and these optimizations are from Code Aurora.

I may be wrong so I'll just run a diff between using that and not and see if there is a difference.
[LG Optimus 4X HD] varadinum:
Downtime on our downloads server as our host addresses some internal issues.

https://plus.google.com/117962666888533781522/posts/VbTSkFZZL8L

:(:(:(
[LG Optimus 4X HD] schizyk12:
How work camera on the last version cm? Any Bug with flash in camera?
[LG Optimus 4X HD] xperia u20i:
CM camera work OK. No lag with touch focus. But on Google camera is still there.
[LG Optimus 4X HD] Demetris:
Yeap you are. Check in libm, it uses assembly versions of a few mathematical functions ;)
[LG Optimus 4X HD] szepnorbee:
Glonass ??

The GPS is working fine but just couldn't lock any Glonass satellite.

Anyone know anything about that?
[LG Optimus 4X HD] IcanhasLG:
I did a grep and i found this:

ifeq ($(TARGET_CPU_VARIANT),krait)
libm_arm_src_files += \
arm/e_pow.S	\
arm/s_cos.S	\
arm/s_sin.S	\
arm/e_sqrtf.S	\
arm/e_sqrt.S
libm_arm_cflags += -DKRAIT_NEON_OPTIMIZATION -fno-if-conversion
else
ifeq ($(TARGET_USE_QCOM_BIONIC_OPTIMIZATION),true)
libm_arm_src_files += \
arm/e_pow.S \
arm/s_cos.S \
arm/s_sin.S \
arm/e_sqrtf.S \
arm/e_sqrt.S
libm_arm_cflags += -DKRAIT_NEON_OPTIMIZATION -fno-if-conversion
else
libm_common_src_files += \
upstream-freebsd/lib/msun/src/s_cos.c \
upstream-freebsd/lib/msun/src/s_sin.c \
upstream-freebsd/lib/msun/src/e_sqrtf.c \
upstream-freebsd/lib/msun/src/e_sqrt.c
endif
endif

Looks to me like these optimizations are MSM specific since they are specifically for the krait CPU?
[LG Optimus 4X HD] Demetris:
For me looks like your verifying what i said :D
[LG Optimus 4X HD] Pesach85:
Yes, the code looks a simple "if-else" logic which means that's for krait CPU applies some codes and if other cpus applies another part of it. But the optimization is applied.

For GPS i have an issue: in google maps the circle of the signed position continue to grow and then to decrease even after the position is signed like the GPS signal is not stable. Seems the GPS can't lock the satellites.
[LG Optimus 4X HD] IcanhasLG:
I really don't want to argue with you, i just want an explanation of how these MSM specific optimizations for Qualcomms krait CPU does anything for us given that we don't have a CPU with the instruction set to take advantage of them?

It has to be something i'm unaware of so i'd like to know.

---------- Post added at 11:14 PM ---------- Previous post was at 11:04 PM ----------

Look at it again:

ifeq ($(TARGET_CPU_VARIANT),krait)
libm_arm_src_files += \
arm/e_pow.S	\
arm/s_cos.S	\
arm/s_sin.S	\
arm/e_sqrtf.S	\
arm/e_sqrt.S
libm_arm_cflags += -DKRAIT_NEON_OPTIMIZATION -fno-if-conversion

Is irrelevant since we have not set the TARGET_CPU_VARIANT to krait.

else
ifeq ($(TARGET_USE_QCOM_BIONIC_OPTIMIZATION),true)
libm_arm_src_files += \
arm/e_pow.S \
arm/s_cos.S \
arm/s_sin.S \
arm/e_sqrtf.S \
arm/e_sqrt.S
libm_arm_cflags += -DKRAIT_NEON_OPTIMIZATION -fno-if-conversion

This is the part of interest since this variable is the one set, it does exactly the same thing as the one above so it will be used and it's specifically for Qualcomms krait CPU which we do not use.

else
libm_common_src_files += \
upstream-freebsd/lib/msun/src/s_cos.c \
upstream-freebsd/lib/msun/src/s_sin.c \
upstream-freebsd/lib/msun/src/e_sqrtf.c \
upstream-freebsd/lib/msun/src/e_sqrt.c
endif
endif

This is the part that is run if if you don't set the target cpu to krait and do not set bionic optimizations. This part is for non krait CPU's such as ours but this will be ignored since the bionic optimization variable is set in BoardConfig.mk

So, it seems that it will optimize specifically for the krait CPU which we do not have and ignore the code for the CPU that we do have.

The only question i'm having here is if the optimizations for the krait CPU can even be used by our CPU.

Note that this is an .mk file so it directly affects what is compiled by using the environmental variables set in BoardConfig.mk. It's not a script that senses what cpu you have on your phone when running, it's an instruction on what to compile.
[LG Optimus 4X HD] Pesach85:
I guess we should see in this *.S files what is written. I had a little experience when i compiled kernel and usually in file like this there's long list of address of memory and order of access in it... I hope i remember good... Then, when you go to compile, your CPU architecture is defined in defconfig and in this *.S file too, so will be taken just the code relative to our CPU, under "ifdefined" text.

I hope i spoke truly, as far i can remember and understand, but i'm not a developer or an informatic engineer.
[LG Optimus 4X HD] IcanhasLG:
Not really, these ASM files (the .S files) are krait specific, the ifeq sequence tells you as much.

First ifeq checks if your cpu variant is set to krait.

If it's not then then it jumps to else.

Second ifeq checks if you have set Qualcomm bionic optimizations (which can be used by krait CPU's, it's basically doing the exact same thing as above but the cpu variant can be set to something else, like cortex-a8 or cortex-a9 if you are using a a cortex-a8 or corex-a9 Qualcomm CPU compatible with the krait instruction set).

If not, it jumps to else which is the code used for non-krait CPU's.

Our CPU does not have krait instructions, it's not a QCOM CPU.

So the question then becomes, does our CPU have any form of instruction set that is compatible with the krait optimizations.

When compiling a kernel, you set your defconfig for your architecture in your defconfig, the set of files that will be affected are directly affected by this choice, you won't get krait files compiled in a tegra 3 architecture in the kernel, the .S files are assember code files, no different than the .c files and once compiled they carry out exact instructions depending on how your configuration was set when you compiled them. If you used a configuration for a different instruction set the compiled assembly code won't run or will run with errors.
[LG Optimus 4X HD] Pesach85:
So these optimizations will surelly not affect tegra3 architecture. If the facts are clear, Demetris will agree, else [MENTION=1149134]Demetris[/MENTION] could show something we still not considered.
[LG Optimus 4X HD] Demetris:
As i said it uses assembly versions of a few mathematical functions that affect tegra3 too.

I don’t quite get why i have to proof anything to you really.

Those optimizations are used on OMAP4 and on Tegra4 so you can go on and ask them not to apply them on their devices because they are not QCOMM SOC's too.
[LG Optimus 4X HD] IcanhasLG:
I don't know how to explain this better.

But of course it will run no matter what CPU you have, it doesn't detect what CPU you have once it's installed and running, it just runs with the configuration you compiled it with.

That's why i asked if there is anything in this codes krait optimizations that our CPU can use because it will be run whether it works or not.
[LG Optimus 4X HD] Pesach85:
You have not to prove anything. We are just reasoning on.

So in my experience when i add any *.S or *.C file in kernel files to permit to be used i must "activate" them in defconfig and through config in any folder i added files. So as was just told i just can't logically see as these mathematical function are called and activated.

Surelly these are added, so this is not the argument. ;) your work is recognized [MENTION=1149134]Demetris[/MENTION], just, if you have time, let us understand what advantages we are gaining and how :)
[LG Optimus 4X HD] IcanhasLG:
I didn't say you had to prove anything to me, i asked you to explain it to me since i don't understand how our CPU that does not have krait instructions could benefit from it.

That's all, i even said i don't want a discussion, i just wanted an explanation since i don't get it.

The OMAP4 and Tegra4 both have krait instructions, Tegra3 does not as far as i'm aware.

I don't get why you are getting so defensive over it, i'm not saying that you shouldn't use it, if it works then great, i just assumed that you use it because you know something about Tegra3 that i don't. :)

---------- Post added at 12:26 AM ---------- Previous post was at 12:19 AM ----------

Yes, that is what the Android.mk file does, the code is from the Android.mk.

You set your configuration in the BoardConfig.mk (this is where you set the variable "TARGET_USE_QCOM_BIONIC_OPTIMIZATION := true" variable.

The Android.mk file then reads that environmental variable and depending on if the variable is set it compiles accordingly.

Once that is done the code is compiled specifically as you instructed it to be compiled. It doesn't check anything when running after that, the Android.mk is only used during compile time and not part of the code you install on your phone.

Here's a link to the BoardConfig.mk that sets the configuration used: https://github.com/CyanogenMod/andr...c4cfee30f6426b63b82f37f5c93197/BoardConfig.mk

Here's a link to the Android.mk that uses that variable to decide what to compile: https://github.com/CyanogenMod/android_bionic/blob/cm-11.0/libm/Android.mk

So, as you see the variable that you manually set in BoardConfig.mk affects what Android.mk will compile directly. :)
[LG Optimus 4X HD] Pesach85:
- So these codes are activated at android ROM level, but to be functional should be recognized at kernel level in CPU instructions/definitions, is it right?

- As far you know tegra3 can't use that codes but Demetris seems to not agree with this, right?
[LG Optimus 4X HD] IcanhasLG:
No, the files are specifically compiled in and directly affect the system calls, the kernel just calls the instruction, not the files. The files compiled are depending on what you have configured and these files that are then compiled will be used for the instruction call. (please review my edit above)

It's like running a function made for another CPU on your computer, it may work if your CPU have compatible instructions but even if it does you won't be able to take advantage of any optimizations in the code. (however, assembly is preferable to C almost always)

Yes, that is correct. I'm assuming he knows something about tegra3 that i don't since he's using krait instructions.

I'm just curious because if there are such instructions there is a LOT of optimization that can be done in the kernel.
[LG Optimus 4X HD] Pesach85:
So, if i mod the android.mk file but the kernel code remain the same , no gain of optimizations? But if the kernel has the ability to call some instructions still not compiled (the krait ones), then i could see the difference, right?
[LG Optimus 4X HD] IcanhasLG:
Well, if you mod the BoardConfig.mk to use some of the code in the bionic/libm/Android.mk then that code will be compiled as per your instructions (you don't mod the actual Android.mk files, you set your configuration in your device tree and the environmental variables for the build go in the BoardConfig.mk).

This has nothing to do with the kernel, that is completely separate thing, the kernel being the interface between the libraries, programs and the kernel this is a library.

The kernel is entirely unaffected by this because this is a direct system hardware call, it's ASM code, it runs natively.

[EDIT] Actually, you're completely right. Without kernel support for the optimizations they won't be used even if they would work. [/EDIT]
[LG Optimus 4X HD] Pesach85:
Sound really new to me that lot of the work to improve the system is to do at program level (ROM )... This explain why lot of times same hardware platform has differences in performance... Usually the kernel is the same but same version of android perform differently.
[LG Optimus 4X HD] Demetris:
First of all OMAP4 has no krait instructions at all.

Secondly Tegra 3 uses square root algorithm and by using the bionic ones we get Optimized sqrt and sqrtf for arm by using hardware opcode for sqrt rather than generic slow portable code.

Check lib/Makefile for proof if you need one.

I also have a kernel commit for merge

http://review.cyanogenmod.org/#/c/67019/
[LG Optimus 4X HD] IcanhasLG:
I have a feeling that if i dispute you you'll take it as an insult so... I'm not really able to even have a discussion with you.

Pretty much why i thought it would be best if we didn't interfere with each others development in the first place, i was just curious on this one thing and apparently you have no answer.

Let's leave it at that, shall we?

---------- Post added at 01:54 AM ---------- Previous post was at 01:52 AM ----------

Yeah, even top level stuff changes a lot of things. The more adapted it is to your specific chipset and CPU the better it will run. Of course, there are generic optimizations but that is always low level stuff like compile flags.
[LG Optimus 4X HD] Climuff:
I installed this ROM and its nice, it works. I only encountered one error: I cant open the developer options menu, when I try to open it I get "Settings crashed".

It worked one time when I was enabling the installation of APKs. But after this it never worked.
[LG Optimus 4X HD] schizyk12:
How work the last version this rom?
[LG Optimus 4X HD] jaggo82:
I can not reproduce the settings force close. Working on 1607 nightly. All fine.

GPS seems to lose lock now and than. Especially with Google maps.