yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] Phil_Smith:
Hey,

a few things:

I'm not having any problems with Pixel Launcher at all, installing opengapps stock with [MENTION=5799877]csk1jw[/MENTION] 's gapps-config.txt file.

Using ramexpander at first slowed my phone down horribly. I let it create a 3GB swap file on my new external sd card and it set the swappiness to 100, which worked out really bad.

I'm now using [MENTION=5461026]kessaras[/MENTION] ' script (http://xdaforums.com/showpost.php?p=67210658&postcount=82) in order to turn off the default swap settings, while keeping the 3GB swap file with a swappiness of 0, which seems like a good thing for me. The system now tries to avoid swapping when enough ram is free, but has a backfall option, which at least is located on the exernal sd, and not on the harddisk.

Now the phone works well again.

Thanks again for your work, [MENTION=5799877]csk1jw[/MENTION] !
[LG Optimus 4X HD] Phil_Smith:
Seems like this was only temporary... I'm experiencing way too many random lags...

Tried all possible settings, but it's getting worse and worse.

Think I'm back to another ROM for now.
[LG Optimus 4X HD] Salman Al-Badgail:
No lags only few random FC's here.
[LG Optimus 4X HD] andy_96:
MTP host often crashes. Is it normal?
[LG Optimus 4X HD] csk1jw:
Yes, it is, but this only happens once every boot. After the 1st crash, everything is normal. So it is low on my priority list. I also found the fix from other ROMs GitHub.
[LG Optimus 4X HD] andy_96:
Tnx. I thought it`s something wrong
[LG Optimus 4X HD] sourly64:
Same here .MTP crashes sometimes but i get acces to use the files .Ex sd is shown as :confused:

Regards
[LG Optimus 4X HD] kessaras:
that was caused from a previous bug somewhere when you flashed something.

a wrong hard link or soft link caused that.

backup the sd card and format it, remount it and you are done.

happened to many people past week. i wonder if it was a bug from cm or google.
[LG Optimus 4X HD] Salman Al-Badgail:
I am having the same problem but its fine, as long as I am able to read and write on it.

About video calling on Whats-App, This problem is also found in aosp 7.1.1 in xperia z2 but it has slightly changes, the person on other side can see you in very few time, (1 in 15-17 calls approx. ).

Z launcher is working perfectly on 7.1.1 no FC's. Battery and speed is good,

And for music lover, check this app out Play-Store (NO ADS) running smoothly and fast, No FC's.

1. Pulsar Music Player

2. Music Player - Audio Beats

You can also use Google Play Music but for more design/themes and color you can have a look on above, I had tested both apps on 7.1.1 latest build.
[LG Optimus 4X HD] kessaras:
but needs remount at every reboot. its boring :p
[LG Optimus 4X HD] jimgerost88:
vpn apps dont work with nougat.is it possible to fix that?
[LG Optimus 4X HD] oF2pks:
Official cwm 6.0.5.1

Just let you know that : https://download.cyanogenmod.org/?device=p880

-->[Download: cm-11-20160815-NIGHTLY-p880-recovery.img]=CWM

seems to be latest official cwm/cm based p880' recovery

v6.0.5.1

(thx to [MENTION=5861955]KSH2014[/MENTION] )

Also some users are suffering from erratic gps/ril, with coincidental double_baseband designation in Settings/AboutPhone/Baseband depending, if p880 boots on airplane OR sim-on state; please, any advice welcome for a whole v20C/2014 back-format: http://xdaforums.com/optimus-4x-hd/help/v20c-germ-openeur-ita-upload-t3472033

Apparently, it results from an optimisation' attempt : hybrid baseband flash on a different kdz (?)

Normally, on "good" p880, after v20C upgrade, it should always shows the v20_ kdz ref on sim-on (not the firmware number). You can download v20C on "official" or my zipped mirror v20C.

Personally, I'm on v20d/OK p880 and won't (scary) change...; I still believe PCSuite is best tool for a starting v20c format/firmware...

Sorry for disturbing the heat...
[LG Optimus 4X HD] Salman Al-Badgail:
Can anyone do antutu benchmark test on latest build.
[LG Optimus 4X HD] Salman Al-Badgail:
[MENTION=7763089]dave2609[/MENTION] which build you're using from AOSP 7 ??
[LG Optimus 4X HD] dave2609:
Build from 261207

---------- Post added at 09:32 PM ---------- Previous post was at 09:30 PM ----------

@csk1jw what are the best kernel adiutor setting for performance for this phone?

I mean entropy,zram,swap size, read ahead buffer.

Thnx
[LG Optimus 4X HD] kessaras:
you think that if you change the random read/write of a slow disk will it have any difference ?

test entropy and see where it stands closer to 4096 and loops back.

zram doesn't change whatever you set there same with swap size. to tune those you need to unmount the swap partition , change it and mount it back.

recommended max read ahead of the internal sd is 512 in almost all hard disks (depending the disk size also) , beyond that you gain something but you lose something. search google and read about that. Don't think you gain/lose much. we are talking about miliseconds.
[LG Optimus 4X HD] dave2609:
Hey kessaras,

Thanks a lot for the answers

I only hoped to get some more performance out of this old lg;)

Cheers
[LG Optimus 4X HD] kessaras:
well.... there is only one "easy" way (since the normal procedure is hard for explaination), to get more ram (virtual ram through swap) so that you can open newer apps that demand more ram.

this way which is mentioned by me and of course i totally forgot about it :p until [MENTION=7008914]Phil_Smith[/MENTION] mentioned it here

~EDIT: and there is one more way even easier which i learnt through this year but i need time to test it and time to see if it will bug later.

when i have this time i will stress test it and post it in this thread

~EDIT_2: nope, in this rom i can't. this line is missing from init to enable init.d support on boot.

for F in /etc/init.d/* ; do $F enabled
[LG Optimus 4X HD] csk1jw:
New buid 20161216

New build is up.

Doze mode was broken in *ALL* previously released Nougat-7.x ROMs due to new API in querying SMD sensors. This is now fixed.

Slight improvement in GPS performance due to JB similar style of handling SUPL data connection.
[LG Optimus 4X HD] CrazyWinner:
Was it working with force doze ?
[LG Optimus 4X HD] csk1jw:
Not sure what you were looking for. At pristine AOSP, SMD sensor is required for Doze mode. LGP880 does not support SMD sensors, but it has other sensors with similar characteristics and wake capable. The sensor faking mechanism which I used in Android-6.0 did not work for Nougat. I made it work for Nougat.

If you use 3rd party hacks to force Doze or claim to do so, then this is outside of my knowledge domain.
[LG Optimus 4X HD] Deena Khanam:
[MENTION=5799877]csk1jw[/MENTION] does boot charge mode is enable in latest build..??? Any updates

---------- Post added at 01:29 AM ---------- Previous post was at 12:37 AM ----------

Also can anyone help me regarding patches. I have no knowledge about how to use patch, where to copy what to do, Any help Thank you
[LG Optimus 4X HD] csk1jw:
Are you looking for the battery icon if you plug in USB/Charger when the phone if off? My Nougat ROMs don't have this. It will boot up directly from OFF when USB/Charger is plugged in.
[LG Optimus 4X HD] Deena Khanam:
Thanks for your reply,

:)
[LG Optimus 4X HD] Salman Al-Badgail:
Tested new build. Its good. Less random crash. Thanks csk1jw
[LG Optimus 4X HD] yishay:
Installed. Launcher 3 keeps closing.

Any solution ?
[LG Optimus 4X HD] CrazyWinner:
Install pixel launcher mentioned in previous pages.
[LG Optimus 4X HD] yishay:
The phone doesn't let to do any installation, because of the constant crash.
[LG Optimus 4X HD] kessaras:
Download the launcher to pc and adb install it
[LG Optimus 4X HD] asgz:
No need to do that, when some app's likes to update you can reach via notification to google play than find and install pixel launcher. After installation tap the home button system shows you pixel and launcher 3 and select pixel for always.
[LG Optimus 4X HD] sourly64:
Here my experience ;)

Iam on TWRP 3.0.2-0 :good:

Do the required wipes (Fac Reset,Data,System,Cache usw..)

Flash newest build very fast by flashing :good:

Try to flash open_gapps-arm-7.1-pico-20161208 but get error code 20

So reboot the recovery and everything is Ok :good:

Flash SuperSu 2.79 :good:

First start get Launcher3 crash .For solution download this PixelLauncher http://xdaforums.com/google-nexus-5/themes-apps/pixel-launcher-7-1-3231428-flashable-zip-t3477798 and it works :good:

After that want to go to Playstore,but get crash with GoogleServices:confused:

So again reboot to recovery and flash gapps-lpmm-google-webview-20160608-1-signed and it works :good:

Rom works so far so good :good:,

but from first start i have the problem that my ExSD Card is not recognized by Lexar :confused:

Should I try in the recovery to mount the ExSD Card or have someone a other idea :confused:

Many thanks for the development :good::good::good:

Merry Christmas !!!!!!!!

Regards
[LG Optimus 4X HD] dave2609:
Csk1jw

Is it able to unlock overclock for you in this kernel?

And when thats the case, why didnt you do it earlier?
[LG Optimus 4X HD] max5357:
AOSP Nougat 7.1.1 my experience

First of all thank you csk1jw for your work and everyone in this forum.

Just wanted to ad my expirience whit my P880 and this rom.

I we installed the new cwm 6.0.5.1 in flashify (problems in twrp),

then in recovery this (latest) rom + google webwiew + pixellauncher + superSu...and thats it.

(calls+messeges+mails works; i dont need anything else). The phone is so blazing fast and had no crashes/reboots yet.

I wish you all nice holidays and a lot health in 2017.

Looking forward for new versions...
[LG Optimus 4X HD] kessaras:
i promised a way to increase ram, but it wasn't possible.

Well..... it is possible. have fun
[LG Optimus 4X HD] enetec:
It should have... :(

This ROM has an "off bug" (already reported but ignored...) and the lack of the possibility to charge the phone still off make it even worse... :rolleyes:

To explain it better: with this ROM (I've still to test latest version... wanted to do today, but I encountered this bug again and I'm fixing my... battery!) when the phone is powered off, if the battery has not removed too, it continues to drain energy from the battery indefinitely and make it to become completely discharged, well over the Lithium safe level (normal power off level).

I've ordered a new battery and the issue repeated itself in only some days of power off since full charge, so I'm *sure* of this...

Problem is that, when so discharged, the phone initially refuses to power on (obviously...) even with plugged charger and only after some minutes (with only flashing soft touch...) it self power on and begins to boot BUT the battery is still too discharged, so in middle of booting it self power off again, then it stays powered off with flashing soft touch again and then reboots... same way, in an endless failing bootloop with battery unable to charge in any way. :(

More, insisting on this often it corrupts data and needs to be restored to start fine again after...

Only solution found to exit this situation is mantaining pressed power & vol down buttons during flashing soft touch status and wait for the phone to power up (minutes... :rolleyes:), entering so in TWRP.

In TWRP battery is not indicated at all at this status (no icon, no %...) BUT it anyway will recharge, even if not indicated.

After about half an hour this way (better if with screen off after timeout...), phone can be restarted to system and, if data had not been corrupted during bootloops with low battery, it will boot fine and could full recharge again.

All this should be fixed in my opinion, since Lithium battery are not done to be so hard discharged and they can become unusable, if not dangerous, because of this... :rolleyes:

Anyway, in some hours I should be able to test latest version and report about it...;)
[LG Optimus 4X HD] csk1jw:
[MENTION=5884453]enetec[/MENTION]: I understand and agree with your concerns. This was done purposely for a few reasons:

- Somehow charger mode didn't show the battery icons in 7.x. There are some changes in bootable/recovery miniui APIs in 7.x which I still need to look into. However, I believe charger mode is working as-is,but it will stay at LG logo.

- Someone asked for this in the past to skip pressing PWR button after applying power, presumably to workaround a broken PWR button.

- I was looking into this for kernel development so that boot.img can be downloaded and booted directly from fastboot. Well, there was quite an activity for kernel development on Nougat.

I will debug the battery icons not showing up in 7.x and restore Charger mode in next release.
[LG Optimus 4X HD] enetec:
[MENTION=5799877]csk1jw[/MENTION] your development is great anyway. :good:;)

I was only reporting to improve the ROM and because the draining while (apparently...) off is really a weird bug.

:confused:

I think in some way phone will not power off completely....

After installed new ROM I will try to remove battery after power off and then reinsert it. I will expect no drain in this way...
[LG Optimus 4X HD] kessaras:
Well... A better charger would solve your problem too...

While I use the g4 charger for example , the p880 full charges in around 20 minutes. So it's impossible even if I boot it with 0% battery to bootloop
[LG Optimus 4X HD] enetec:
Nope. I use a QC 3.0 and/or 2.4 A Blitzwolf charger and it bootloops.

Battery goes well under 0% level since of "power off drain"... so low that TWRP does not even detect it at first... :eek:
[LG Optimus 4X HD] KSH2014:
This was more than enough to lure my curiosity to test this. :)

This is how kind of you to hear the pleas of some odd minority. Thank you!

I also tested p880-ota-eng.nmf26oz for GPS related issues on my device. There were some app crashes and general slow feeling.

There is a positive difference between p880-ota-eng.nmf26oz and p880-ota-eng.nmf26qz.

There is a more smooth feeling and less app crashes but I only tested this for a couple of hours.

I flashed with CM's CWM 6.0.5.1

p880-ota-eng.nmf26qz + open_gapps-arm-7.1-stock-20161216 + your gapps config file.

Even with a HUGE google pack, there is more than 500MB of free RAM!

I know there is a lot of paging but the ROM and kernel is very well tuned.

I did some performance tests too.

Nougat's ART has more than double the performance of Kitkat's dalvik. (From an overclocked device!)

Here are the screenshots from Antutu 5.7.

Android 4.4.4 is actually: cm-11-20160424-NIGHTLY-p880 + WerewolfJB kernel V10

SOC is registered as Tegra 3 T33

CPU: 1500Mhz @ 4x core

GPU: 564Mhz

Companion Core: 600Mhz

vs

Android 7.1.1 p880-ota-eng.nmf26qz stock kernel

CPU: 1400Mhz @ 4x core

GPU: 416Mhz

Companion Core: 500Mhz

I don't know if there is any difference about ram speeds.

Q- Why are you making this comparison? This is unfair!

A- Yes. You are right. But 7.1.1 's ART and Storage I/O is sooo good that it beats an overclocked kitkat with the final score!

A1 SD Bench

Above setup

Kitkat:

Internal Memory read: 28.99MB/s write: 15.01MB/s

Ram Copy: 924.39MB/s

Nougat:

Internal Memory read: 29.43MB/s write: 13.31MB/s

Ram Copy: 775MB/s

I have also tested GPS and even at the buggy condition on my device(cpu gets stuck at unusual load after gps use) GPS reception is very good.

While I tend to prefer CM over AOSP, at a first glance this rom is promising and tempting. (Holy Fully working N for 2012 O4X!)

Thank you for all the hard work!

Have a merry Christmas and a nice holiday!
[LG Optimus 4X HD] oF2pks:
twrp 3.0.3 (f2fs build NEW!)

I check OK twrp 3.0.3 without any reboot between, for latest [MENTION=5799877]csk1jw[/MENTION] & [MENTION=5227588]Deltadroid[/MENTION] Gapps(224):

aosp7+Webview+Pixel+PixelIcon+Gapps7.1.1_(not before Webview/flash ?)+CalendarSync(not before Gapps/flash ?)

+SuperSu 2.79sr2

Download (cm13) https://www.androidfilehost.com/?fid=457095661767124707

NEW! Download (Omnirom6) https://www.androidfilehost.com/?fid=673368273298921729

Cheers

Nota: You can use Webview as a minimal browser, and latest AdAway60
[LG Optimus 4X HD] peter_altherr:
hey folks,

first i'd like to say thank you for the excellent work to keep our lg o4x alive. but nevertheless i have some observations to share with you and maybe others have experienced this too. some months ago using an earlier build of this rom i got an error message after a reboot telling me my external sdcard is broken and needs to be reformatted. i then put the card into my laptops card reader and everything seemed to be fine so i made a backup of all data on that card. afterwards i tried to reformat but no success. i tried windows, linux, mac os x, even an old digital camera to format the microsdcard. all devices first claimed a successful format but after putting it back to the card reader all it's original contents are still there. no way to reformat or repartition the microsdcard. nor was it possible to write anything new on the card. talking about a quality sandisk 64gb microsdxc having 4 years of flawless operation in different smartphones. well at that point i simply thought: those things happen to some cards and as sandisk provides 5 years replacement warranty for that product i already got it replaced, no big deal.

meanwhile the replacement was in process i used a samsung 128gb revo microsdxc in the same phone and last night i updated from the former build of the rom to the latest one released by 16122016 and guess what happened. after successful upgrade the phone rebooted and droped the same error message about a broken sdcard which needs to be reformated. so same procedure: backup of all it's contents and back into the phone in order to let android reformat it for external use, but no luck. back to an external cardreader but nothing helped. the same thing happend to the samsung card. it contains about 89gb of data and does no longer accept write processes nor reformat nor repartition. but this card has less than a year of use and for sure it is no fake card with less capacity than advertised. the good thing, samsung provides 10 years of warranty for this card so there is a good chance to get it replaced too. also no big deal just a little inconvenience and the bad feeling the rom by some way might break sdcards under certain conditions.

as i wrote at the beginning i do not want to blame nobody for that, i am really happy about having a rom like this but if someone experienced something similar might be worth to mention it. for the moment i decided to operate my beloved lg o4x without external sdcards ;)

greetings

peter
[LG Optimus 4X HD] ze7zez:
This type questions, please write in section >Q & A<

If this happens on each card, it means that there is no possibility of writing due to damage to the controller.

Put a simple microSDHC, microSDXC instead and check again.

---------- Post added at 08:43 ---------- Previous post was at 08:30 ----------

It should be bold and enlarged. :highfive:
[LG Optimus 4X HD] enetec:
Power off draining bug: some "scientific" tests...

I've already reported the weird "power off draining bug" I observed on this phone-ROM combination... yesterday I've installed the latest version (26qz) which I found to be more stable and able to charge faster than previous (about 60%/h with a good charger...), so I decided to test it in a more "scientifical" way, to see if bug is still present and what is the entity of it...

I made two test, both requiring about 10 hours to be completed, now I'll report how they has been executed and results than others can doublecheck.

First test has been executed as reference test, to see if even with my new battery there is some drain in a sure power off condition, eventually because of hardware issues of my phone.

The test has been executed this way:

- charged phone to 100%

- removed charger

- immediately powered off by menu

- shortly removed & reinserted battery to have a sure "powered off" condition

- waited for 10 hours

- powered on and measured battery % at end of boot

The result has been 96%. This result is compatible with power off and boot operations and, eventually, a bit of self drain of battery (no more than 1% anyway...).

Then I made the check test to see if the "power off draining bug" is really present... so:

- charged phone to 100%

- removed charger

- immediately powered off by menu

- waited for 10 hours

- powered on and measured battery % at end of boot

As you can see this time battery has not been removed, so power off condition was by software only...

This Tim the result has been 87%. Houston we have a problem...!

We got a 0.9%/h drain of the battery in (soft) power off condition!

It could seems very low, but it isn't and, worse, it doesn't stop either when 0% battery level is reached, so after some days battery voltage is lowered down under safe conditions and phone isn't easily able to boot even if with plugged charger, with the already descripted bootloop condition and danger of battery damage/explosions and data corruption during bootloops... :(

To have some reference values, with this ROM the phone has this normal consumption levels:

- screen on: about 20%/h

- screen off: about 4.2%/h

so, the status we have during draining condition is anyway different from a screen off condition.

BUT it is different from a real power off condition too...

I've no idea how this can happens... only reporting in "scientific" way... ;)
[LG Optimus 4X HD] sourly64:
Thanks for download link :good: Install img with Flashify and eveything is fine

Before my ExSdcard is not deteced by Lexar,so in Recovery i format Exsd and after reboot to system i use Lexar to format again and the Card is working :)

I use SuperSu 2.79 ;)

Regards and merry Christmas :angel:
[LG Optimus 4X HD] smokerock:
Hello, the camera does not work in Google Translate, DroidCam, GoogleCamera. (Green display bug)

Sorry that he would not QR codes, because they need to WhatsApp authentication in PC.
[LG Optimus 4X HD] ze7zez:
-4% After reboot it a lot!

Stock ROM 4.1.2

After 10 hours of shutdown (with battery in the device), and the boot is still 100%.
[LG Optimus 4X HD] kessaras:
Haha then your phone is a miracle coming from outer space with E.T.

The boot never comes without battery drain.

The only reason you had 100 after boot was because of a useless battery meter in 4.1.2 kernel.

Imagine working for 2 minutes at 100% , is it even possible to have no battery drain?

G4 loses close to 10% after reboot.

4% is God's work haha
[LG Optimus 4X HD] vkhgdvv:
My LG 4x died last month:crying::crying::crying:, now i'm using a Honor 8, it's a good phone but i miss my old phone:crying::crying::crying:
[LG Optimus 4X HD] ze7zez:
I referred to the methodology [MENTION=5884453]enetec[/MENTION].

I do not understand you what you wanted to say.
[LG Optimus 4X HD] kessaras:
im saying that its normal to lose battery on boot. i don't understand what enetec wanna say with his methodology.

is it wrong to lose battery while the phone boots ?

nevermind. i don't even see the reason behind this.

if he has big battery drain while screen off/on thats another issue.

but to lose battery on boot its very normal
[LG Optimus 4X HD] enetec:
Nope. It is wrong having a 9% battery drain with a new battery and while powered off... :silly:

4% to power down and power up again it's not too much for p880...
[LG Optimus 4X HD] oF2pks:
I'm pretty sure battery's miscellaneous is csk1jw n1 priority.

Thx for your test, but first, you need to get a lightning charging cable: you will realise that even when the phone rings 100% , a light cable will show phone still in charge; so with a regular battery, you will need ~1/2hour more after 100% reached.

Also remember that except GoogleInc_apps , mostly all other apps are running after 7.1.1 api compatibility; and more important is SuperSu 2.79_wip.

Every thing should get better if you repeat test : +1/2hr charging after 100% + GoogleInc_apps only

and no SuperSu

-then repeat test with SuperSu2.79

And finally JIT/AOT optimisations are supposed to run in background : charging (?) , booting (?) and power-off(?).

Have a look to attached photo, to see csk1jw testing green android sensors in live-dozing session !