yashsingh1/xdaforums huggingface dataset:
[LG Optimus L9 P760, P765, P768, P769] kevev:
Dropped it glass down on a curb. :(

It looks like the solder joints may be broken where the sensor is. I can tweak the board and get a reading.

Time to call T-Mobile for a replacement. Good thing there is no warranty void sticker on this model. :p
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
That's great to know, so they can't tell if it's been taken apart ^_^
[LG Optimus L9 P760, P765, P768, P769] halomademeapc:
Yeah mine doesn't work with my headset and my mom has the same issue with her car
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
I can't use my Bluetooth to make calls, it sounds choppy and staticky but audio playback of music is flawless.
[LG Optimus L9 P760, P765, P768, P769] Lelus:
I think 760 might have slightly different broadcom chip/firmware ( fm radio ) , perhaps taking bcm firmware from jb p769 would solve it
[LG Optimus L9 P760, P765, P768, P769] tawhid111:
anyone tried the pacman rom ?

Edit same prob with pacman rom
[LG Optimus L9 P760, P765, P768, P769] AntonX:
I have fixed WiFi power consumption issue, will be posting an update soon. But I don't know how to fix bluetooth headset yet. If somebody wants to help with it you are welcome. Maybe try to replace broadcom stuff (file BCM4330B1_002.001.003.0550.0000_TESTONLY_LGE_X3.hcd) in /system/etc/firmware with some newer one and see if it helps. You'll need to look in /system/etc/bluetooth too, there is reference to this file. Or maybe some settings are wrong. It's promising that bluetooth actually works, it actually engages the audio, so maybe just some wrong protocol or compression is used for the audio stream.
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
I honestly don't mind Bluetooth not working for the calls, I'm just glad it plays my music no problem. If you come up with something I don't mind testing, I got a Bluetooth I could use.

[MENTION=360947]AntonX[/MENTION], your work is greatly appreciated thank you :)

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] animusFL:
What a great DD. Settled in just fine. No RR or SOD. Sleeps like a baby, and snappy as hell. Thanks!
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OP updated

Fixed WiFi sleep issues. It turned out we never had packet filtering engaged because of the way we use bcmdhd firmware (in p2p mode.) The phone would wake up to every broadcast packet resulting in very high wlan_rx_wake kernel wakelock rate.

Now we can turn WiFi to Always On during sleep in advanced settings without worrying about power consumption.

I also adjusted power management to maximum power savings in sleep. If you notice any problems let me know. It can be disabled in usermode via sysfs if needed.

Thanks to milaq for ideas: link, link

Bluetooth hands-free headset does not work yet. Don't know what to do with it, if you have any clues let me know.

Repo synced today. Quite a few changes upstream (Voice+, Dalvik VM, etc.)
[LG Optimus L9 P760, P765, P768, P769] kuma82:
Question, does your kernel allow android debugging at boot?

I've been trying to get a logcat running at boot, but no luck. I've been making some changes in the ramdisk, but I still can't get a logcat.

Thanks for all your hard work and time.

And for making a clean rom :highfive:
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Just got a chance to download the latest build, thanks again :)

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] BobZhome:
CM 10.2(Android 4.3) runs on our phones:
[LG Optimus L9 P760, P765, P768, P769] tombassi:
hello ,

so you compiled 4.3 for the ms769 ?

please share link if possible .
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OP updated.

The product board has changed to p769. Kernel doesn't need CONFIG_MACH_LGE_U2_P760 to be set anymore, which was not a good thing to have.

Fixed bluetooth SCO, in-call audio works.

Increased microphone volume for some scenarios like camcorder or general use. Report if you find any issues.

Repo synced today.

Note: I will not do anything about CM10.2 until it becomes more stable and probably not before p760 tree switches to it.
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Awesome downloading :)

I use LG Tone headsets for Bluetooth, that's the first thing I wanna try out.

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thank You. Would be willing to, if you have time, build MIUI 4 or 5? I know a lot of users are hoping for this. :)
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Great job the Bluetooth works with calls!! This is gonna make my job so much easier, thanks ^_^

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] tombassi:
nice work as usual , thanks anton
[LG Optimus L9 P760, P765, P768, P769] carlosnumbertwo:
Anyone experiencing an immediate crash once you try to step up to 1200+ MHz? I even upped the voltages significantly but still crashes right away.

---------- Post added at 09:41 PM ---------- Previous post was at 09:35 PM ----------

By the way. This thing runs great. Excellent work.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
I've been running mine full range 200-1350 MHz the day I overclocked it, not a single hiccup. But silicon is different on every microchip and yours may be unstable.

Do not overvolt higher than 1415mV, in fact I've read someplace that TI does not recommend going above 1.4V

I can compile a test kernel with some internal voltages bumped slightly up for 1350Mhz. PM me if you want to try.
[LG Optimus L9 P760, P765, P768, P769] qingz:
I got crash at 1200M right away.
[LG Optimus L9 P760, P765, P768, P769] Juanito216:
My device is stable at 1350mhz.
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Mines is stable using any of the frequencies

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] animusFL:
+1
[LG Optimus L9 P760, P765, P768, P769] kevev:
Hey guys. I am sorry for posting this questions in this thread but I need to ship this broken P769 back to T-Mobile tomorrow. Please forgive me.

It has unlocked bootloader, ts fix, Locked bootloader CWM and CM10.

I need steps to get it back to stock. I tried flashing KDZs and the software can't find the device because it is looking for software install mode. I have tried flashing CWM backups of 10G 20D and they fail immediately with no error.

Can some one give me steps? I am thinking that I need to flash stock u-boot & x-boot first maybe. But I am not sure.
[LG Optimus L9 P760, P765, P768, P769] animusFL:
If you can't restore it, frag it!!! Send them back a lil hell :eek:
[LG Optimus L9 P760, P765, P768, P769] jlirgg:
Yes you need to flash the ics uboot and xloader then it will be recognized in s/w mode

---------- Post added at 11:47 PM ---------- Previous post was at 11:45 PM ----------

Or just turn the phone on normally and use kdz in diagnostic mode
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thank You. That worked. Also Thank You Kuma82 for the PM. :)
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OP updated

Added Image Video Accelerator (IVA) overclocking. It is used to encode/decode video (H.264, etc.). Maybe not really needed as the phone seem to be able to decode 1080p just fine without it, but well, it's done and it's optional. By default not enabled.

Added under-clocking to GPU. Those who don't need GPU performance but want to save some battery may enable it. Not sure how much savings it will provide, maybe not a lot.

Added maximum screen-off frequency. The CPU will not go higher than selected limit when screen is off. If not enabled, this frequency is at the hands of the active governor. Some may limit it, some may not.

Added user app to control the kernel clocks. Look in Android Settings->Device->Advanced.

Watch for bugs.

Repo synced today.

Note: GPU and IVA overclocking frequencies are not replacing the default maximums, they are added to the table. This means that they are active only if there is real load on GPU / DSP, otherwise the scaler just doesn't use them.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Darn, p769 is on Amazon for $150 shipped. I'm really pondering about buying another one as a backup before the stock runs out. After all the the mods it really feels worth a lot more than they want for it. Very fast, sensitive GPS, good screen, good battery. Hm...
[LG Optimus L9 P760, P765, P768, P769] animusFL:
That's a good price, hmm :thumbup:
[LG Optimus L9 P760, P765, P768, P769] carlosnumbertwo:
Those phones freaking huge bang for the buck... For people that visit xda :P
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Glad I could have this as my daily phone, I never thought I'd find a phone this amazing so affordable :D
[LG Optimus L9 P760, P765, P768, P769] geeshiet:
It is a great price since i bought mine for $110-130 upgrade.. And the phone itself is $250.

Or you can save that money and get an upgrade to buy an htc one, moto x, or sg4. :)
[LG Optimus L9 P760, P765, P768, P769] LRNZ09:
I have one question:

How have you disabled internal sdcard emulation?

I'm really interested... thanks :)
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Everything is on github: link
[LG Optimus L9 P760, P765, P768, P769] mrmathematica:
AntonX: many thanks for this great work. You bring values to this phone (which on the software side is terrible).

My question: the phone is suppose to have 4G internal storage. I had previous phones (from Samsung) with 4G internal storage that can provide real 1.6G internal storage (not shared with anything else). I think the problem for P769 is that a bad partition table that leaves a lot of space to system stuff and hidden partitions. Even P760 (the international version) provides more storage (2.2G, although still shared). How hard will it be for a custom ROM to modify the partition table? After all we don't have all the bloatware that LG put there (and MLT stuff and so on). Could we just re-partition the internal storage to give user some real space?
[LG Optimus L9 P760, P765, P768, P769] AntonX:
We have 4GB MMC flash for everything, including /system, /cache, /data, and some special service partitions. The partition table may not be 100% optimal but it's OK.

I have about 600MB left in /system, let's say it's wasted but who knows how much we'll need in the future with CM10.2.

In /cache I have about 700MB free, which we can call wasted too but theoretically we can move all dalvik there (I think it's the dalvik.vm.dexopt-data-only=0 in build.prop).

I have about 350MB left in /data, it's still a lot for apps, and I have tons of them installed.

To say the truth I don't want to mess with partitions.
[LG Optimus L9 P760, P765, P768, P769] carlosnumbertwo:
I have about 125 apps some of which are games that are 1.7gbs big, the way this is using internal/sdcard for apps and storage I think is pretty ideal. And I still have about 800 megabytes of internal for apps that cant run on the sd card. None of that emulation crap either. I love it. Hey Anton, funny thing about my phone, cannot over clock at all. With this new kernel, it actually hung on for about 5 seconds at 1200 mhz before it died and when I try to over clock the gpu for some graphic intensive games it last for about 30 minutes or so before crashing the games. Its literally just my phone that cant handle it.
[LG Optimus L9 P760, P765, P768, P769] kevev:
I had the same problem with my last P769. I haven't been brave enough to try my new one.

---------- Post added at 02:11 PM ---------- Previous post was at 02:08 PM ----------

It looks like we lost call volume control again while wearing headphones. I am on the previous build (7-29-2013) I am not sure if that is when we lost it or the previous build.

Anyone else?
[LG Optimus L9 P760, P765, P768, P769] carlosnumbertwo:
I dont have any sound problems at all, but there was a released tagged 8/01. Maybe you didnt grab the latest build. "cm-10.1-20130801-UNOFFICIAL-p769"
[LG Optimus L9 P760, P765, P768, P769] kevev:
I can try it. But I don't think any changes went into that build to re-fix headset audio control. This is an old CM issue that I thought was fixed.

I will try it just to see what happens.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
I can't try now, don't have a headset with a microphone at hand.

Have the headset volume ever worked? Does it work on P760? I haven't really changed that code at all so it should be the same as for P760.
[LG Optimus L9 P760, P765, P768, P769] carlosnumbertwo:
Oh you mean "controlling the volume from the headset". Sorry dont know about that.
[LG Optimus L9 P760, P765, P768, P769] mrmathematica:
I just tried to install the Aug-1 build, and from CMW I get:

assert failed: getprop("ro.product.device") == "p769"

|| getprop("ro.build.product") == "p769" ||

getprop("ro.product.device") == "p760"

|| getprop("ro.build.product") == "p760"

error in cm.zip (status 7)

Installation aborted.

I have P769 hardware, on official P769-20F ROM, with factory reset, only SU and CMW v1.5.0.0 (from post http://xdaforums.com/showthread.php?t=2095825 ) installed. The CMW is for locked bootloader, but I have my bootloader unlocked already. What's wrong? Also how could I tell what is my getprop("ro.product.device") value, if that helps?
[LG Optimus L9 P760, P765, P768, P769] kevev:
I mean controlling the volume from the phones physical volume controls on the side of the phone. :)
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OK, stock ROM has these properties set to "u2". I didn't look before. I will include them in the next build so it will be fine.

I'll fix the script now in 08/01 ROM and will re-upload the file. Give it 20 minutes then you can re-download.
[LG Optimus L9 P760, P765, P768, P769] kevev:
I am looking for the build before this one: cm-10.1-20130721-UNOFFICIAL-p769.zip

It may have working volume controls even though the audio may be very loud in headphones.

If anyone has it please share so I may test. Thank You. :D
[LG Optimus L9 P760, P765, P768, P769] AntonX:
I just tried the headphone audio with some music - ouch, it is loud! I will reduce that. And in-call headset volume control doesn't work. Probably never did, and probably it doesn't work p760 as it's the same code.
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thank You for checking. This has been a CM issue since version 9. uhhg.. Would you be willing to look into it? If not , the adjustment to a good medium volume would be OK.
[LG Optimus L9 P760, P765, P768, P769] tombassi:
yah it's not working in-call , but it's fine when playing music , I am running latest build and I do listen to music a lot with my headphone .
[LG Optimus L9 P760, P765, P768, P769] mrmathematica:
USB mass storage is not working for me. Can anyone please confirm, either it is working or not working for you? I'm on Aug/1 build. Thanks.
[LG Optimus L9 P760, P765, P768, P769] Juanito216:
I can't transfer files using USB either.
[LG Optimus L9 P760, P765, P768, P769] halomademeapc:
Is anyone able to use USB tether?
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
8.1 build and I can transfer to/from my device.
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
If you're still having trouble transferring files via USB, disable USB Debugging first. If that doesn't fix the problem, reinstall LG USB Drivers.
[LG Optimus L9 P760, P765, P768, P769] mrmathematica:
I should give more details: connection in MTP mode is working fine. With USB mass storage mode (usb debugging off, of course), the device is connected fine, on the computer two more driver is show (but not accessibe), and on the phone USB mass storage screen is available, but only when I hit "turn on usb storage" bottom, nothing happens bug it keeps circle
[LG Optimus L9 P760, P765, P768, P769] qingz:
Exactly same here.
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
I'll try to replicate the bug later

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] qingz:
One of the Widget button, "Toggle Brightness" button in Notification drawer does not always work.
[LG Optimus L9 P760, P765, P768, P769] elpuertorro:
So far i guess the only thing people are telling me is the Bluetooth audio is super loud but robotic and picks up every noise in background, using a Jabra Wave.

to the point sometimes that I have to disconnect the BT and use the phone itself for the call.

But as for the rest so far so good.
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Just checked out Advanced options, nice :D

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
:)

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OP updated.

Fixed in-call headset volume control.

Reduced headset volume, removed distortions.

Added control for analog headset amplifier gain. Available in Advanced Settings. Better yet, the kernel driver fakes Voodoo extension for headset amp, so Voodoo Sound (free version) will work with it. Test and report any issues.

Repo synced today. Not a lot of useful changes there tough.

Don't know how to fix UMS. Last time I tried it screwed up drivers on my computer so much that I had to do a restore. I'm afraid to try again. Btw anybody pulled any logs?
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Will download as soon as I get home

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thank You very much. Downloading....
[LG Optimus L9 P760, P765, P768, P769] pisherthefisher:
Request: since you've added advanced settings, can you add some type of control for the soft key lights? Such as timeout and an option to turn them off completely.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
It's on my list. In fact I'll probably try to add BLN support because LGE Touch LED Notifications works weird sometimes, lights blink on their own, etc., so maybe BLN will be better. Disabling the keys completely will be a side project for this. I'll see about timeouts. Btw we cannot reduce the intensity of the LEDs, unfortunately our controlled doesn't support it.
[LG Optimus L9 P760, P765, P768, P769] kevev:
+1 for BLN. :)
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
1+ for BLN! I've used BLN Control Pro with it on one of my old devices, I set my LEDs to blink when I got a notification :)

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] Juanito216:
I used BLN and had Voodoo Sound on my old Nexus S. Would be nice to have BLN again.
[LG Optimus L9 P760, P765, P768, P769] carlosnumbertwo:
The Voodoo

The voodoo sound enhancements I must say are pretty awesome. Its a noticeable improvement in audio quality. Excellent work Anton.
[LG Optimus L9 P760, P765, P768, P769] Meda808:
Flashed 8/5, thank you AntonX. I was thinking about extended power menu options and I know Cyanogenmod moved the advanced reboot options in Developer Settings, but i looked and i dont see Developer Settings.
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
Settings > about phone > tap build number till it says so
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Battery life has been amazing :)

Sent from my Pokédex
[LG Optimus L9 P760, P765, P768, P769] Jrkoffjonson:
Any chance you can push your source code to github?

I'd like to fork it and pop it on my jenkins server
[LG Optimus L9 P760, P765, P768, P769] mrmathematica:
Didn't you ever read OP? The source is posted there and it is on github.
[LG Optimus L9 P760, P765, P768, P769] elpuertorro:
Bluetooth head set sound still pretty bad...my friends tell me.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OP updated.

Added BLN support. EDIT: Don't work well, the LEDs turn off when the phone goes to deep sleep. Can be solved with a wakelock, but it's not very good solution.

Added options to disable touch LEDs to Advanced Settings. This option does not affect BLN lights, they will still work. Cannot do custom LED timeouts, doesn't work with current Android implementation and I don't feel like patching CM itself. (Issue: If the driver turns lights earlier than hard-coded 5s delay Android will not turn them back on with next touch because it still thinks the were lit.)

Fixed USB mass storage mounting. ADB has to be off for UMS to work.

Repo synced today.
[LG Optimus L9 P760, P765, P768, P769] pisherthefisher:
Maybe I'm doing something wrong but BLN is not working. I downloaded BLN control free and tested it with a few text messages while the screen was off and the lights didn't turn on.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Well, I think I made a mistake someplace. I tested while connected to ADB so the phone was on power all the time, but without power when the phone goes to sleep the lights turn off. Seems like not a big deal to fix, will do and repost shortly.

EDIT: Actually having problems with it. Seems like something somewhere other than in the led driver code removes the power for the controller completely when the phone goes to deep sleep. I see that neldar (author of the BLN) solves it with a wakelock, but I truly don't want to introduce a wakelock because of BLN. Rats.
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Wouldn't wakelock have a horrid effect on battery life?
[LG Optimus L9 P760, P765, P768, P769] kuma82:
It will prevent deep sleep, so yes.

CM 10.1 P769
[LG Optimus L9 P760, P765, P768, P769] Snowers96:
Can support the camera of the P768? Because i really like the ROM but the camera don´t working :(
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OK, BLN cannot be implemented properly. There is no way to keep LEDs lit in suspend, GPIO line goes down and it's not configurable.

Keeping a wakelock all the time it a bad idea.

So I've made a compromise. I made the lights blink with short strobes, the default period is 5 sec off, 100 ms on. (The period is adjustable in the driver but I'll make the Settings app support it, just don't have time today.) The wakelock is kept only during the active strobe phase (100ms). The phone still wakes up but will go to sleep during inactive phase (5sec).

Support for native BLN blinking functionality is turned off.

It's not a perfect solution but better than nothing. You can use it or not, up to you.

Here is a link to test kernel. There are couple of other small issues fixed related to lights.

Test kernel link

Warning. Code for this is not on git yet, and I'll be completely rebasing the last kernel commit.
[LG Optimus L9 P760, P765, P768, P769] N00BY0815:
Maybe a stupid question, but couldnt you implement a function, that keeps the LEDs on constantly? That would not cause wakelocks (no clocks that are running) and still show a missed message/call/... Just an idea ;)
[LG Optimus L9 P760, P765, P768, P769] AntonX:
You misunderstood, that's exactly the problem. I cannot. It's impossible to selectively keep the power on the IC chip that controls the LED GPIO line (amongst many others.) I mean - the line is pulled up properly all the time so from my perspective it looks like the LED is on. But in suspend (deep sleep) mode the power on the IC ship goes completely off and effectively turns everything down. So the purpose of the wakelock is to disable deep sleep when LED has to be on. Latest kernel does it for some short time only when the light is in blinking state.
[LG Optimus L9 P760, P765, P768, P769] animusFL:
No worries AntonX. Thanks for trying, its not needed by me so I'm good. Thank You again for all of your hard work! Still no fc or sod, this thing is SOLID! Mad Props
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Btw those who sent me some beer money - cheers!

I don't ask for donations and really don't need them. I do this for fun, it's just nice sometimes to switch to something different and learn something new. Plus I have this phone and I need to make it useful for myself!

But anyway thanks, I appreciate it.
[LG Optimus L9 P760, P765, P768, P769] Juanito216:
Yes no BLN isn't a deal breaker. The speaker is loud enough for me to hear a notification. Solid ROM it is.