yashsingh1/xdaforums huggingface dataset:
[LG Optimus L9 P760, P765, P768, P769] shockah486:
Hey guys,

been trying to figure this out without cluttering the forums but have no idea how to get back to software mode and whatnot. A few builds ago, I used to be able to choose the different options(software,MTP, etc) when I connected my phone to the computer via usb and could send stuff through adb. Since I tried the new "USB storage" option, I haven't been able to revert to the original usb settings and can't send stuff via adb. I'm now on the latest build and still is the same so I must have clicked smthg?

I did turn off android debugging and whatnot when I had usb storage on but even after turning them back on, I'm not able to get those settings.

Was this removed at some point in the last few builds or am I just missing something? The USB storage isn't even working for me still

and I know I can remove my SD card and add files that way but it's becoming quite the pain.

Not sure if anyone else has this but any insight would be appreciated
[LG Optimus L9 P760, P765, P768, P769] carloswii5:
Correction soft bricked... just flash another kdz.
[LG Optimus L9 P760, P765, P768, P769] ozlo:
I'm having issue when using the speakerphone with this ROM. The audio from the caller seems to be feeding back into the mic and sent back down the line to them, resulting in weird glitchy sounds on their end. I turned the mic gain all the way down which helped a little but the problem still persists. It appears that echo cancellation isn't working.

My understanding is this was fixed months ago on CM 10.1. Is anyone else having these problems and is there a way to fix this short of flashing another ROM?
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OP updated.

CM 10.1.3

I haven't tested this build, I'm on CM10.2 myself. I think CM Account is available now.
[LG Optimus L9 P760, P765, P768, P769] pisherthefisher:
Newest build works great. Thanks for the update.
[LG Optimus L9 P760, P765, P768, P769] kevev:
My wife is having this issue on her L9. When she calls me the audio I receive is way too loud. The adjustments in the Advanced menu do not help enough. I think the mic gain base map needs to be lower.

AntonX: can we have a test version with lower levels? Or maybe instruct us on which file we can edit to make this change?
[LG Optimus L9 P760, P765, P768, P769] AntonX:
The audio you receive is only loud when she's on speaker? If she talks to the phone normally the volume is OK?

I wonder is this an issue with the microphone or the speaker volume. I can adjust either, just need to decide which one.
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thank You. Mic gain is too high on both.
[LG Optimus L9 P760, P765, P768, P769] kevev:
After more testing it seems as though the mic gain adjustments in the Advanced menu do not work. The gain level never changes. I just wiped /system & /data , and flashed the latest ROM + gapps. The same issue exists.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Just tested, both microphone controls seem to work for me, but I'm on CM10.2. Hm... did I forget something for CM10.1?.. It' the same kernel so really everything should work the same way.

Are you sure you have tested correctly? When you are on speaker you adjust the Sub mic, when on phone adjust Main.

I listened to the levels and to say the truth don's see anything really bad. Maybe I can take few dBs from normal (Main) mic, possible it's a little clearer with less gain. Not sure if anything needs to be taken from Sub mic when on speaker.
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
The funny business only happens during the unlock process. All cm builds for p769 will display/touch properly.
[LG Optimus L9 P760, P765, P768, P769] heero884:
Thanks! I was under the impression that first screen unlock on reboot was inverted on all ROMs after unlocking. I will be unlocking the bootloader tonight :D
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
This build is with no modifications. On my pacman build I still need to update the init script that handles it on initial boot. And same with pinoyto cm10.1.
[LG Optimus L9 P760, P765, P768, P769] kuma82:
The kernel (pinyoto's) is not stable on my device. I have not tried to tweak CPU or GPU. It might just be my phone though. I haven't had any major problems (kernel panics & ect.) with your build. The only issue is the audio, To low and issues of lost/no sound while playing/testing asphalt 7. It might be because of the mount points, not sure yet. The swap script needs some tweaking, but I'm working on that. :D

At the current settings, I won't be able to download/store large obb data from the market.

Just noticed Google voice typing is not operating (not sure if it's because my lack of knowledge, lol) had to disable it.

Update: Google voice needed to be updated to Google Now (rookie mistake, lol)

Question

So what was the issue with the sensor? just curious
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
accelerometer data for screen orientation
[LG Optimus L9 P760, P765, P768, P769] kuma82:
So it was not set properly or was not enabled?

Tweaked the files located in /sys/class/input/input0 (/sys/devices/virtual/input/input0) right
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
Not sure what [MENTION=360947]AntonX[/MENTION] did, maybe he can elaborate for you when he has the chance.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
CM boots to unmirrored screen without init.d script on my phone. Are you sure in pacman you have compiled hwcomposer from /system/vendor/lib/hw? The only thing that's still mirrored is the LG logo but it's in the bootloader and I cannot fix it. But CM animation comes already properly oriented.

Some folder needed to be created and chmoded for the sensors daemon to function. You can look at commits for the device on my Githuib.

I know about low audio volume. p760 has it too, so I'll wait a little and see if they fix it. They are way ahead of me with understanding this issue anyway.
[LG Optimus L9 P760, P765, P768, P769] Juanito216:
What edits did u do to the script? I'm running this rom and I think my memory isn't swapped.
[LG Optimus L9 P760, P765, P768, P769] Tablechair:
Is this more stable/battery friendly than pinoytos port? Thinking about flashing this tonight.
[LG Optimus L9 P760, P765, P768, P769] kevev:
Here are my 2 issues with Pinoyto's build. Someone please test and let me know if they are fixed.

1.) Speaker phone calls have audio issues on receiving end.

2.) Headphone calls have loud volume and volume control does not change volume level.

Also it looks like some issues with audio were fixed in CM 10.1.1 and the source is available. Hoping it will be merged into this build. :)
[LG Optimus L9 P760, P765, P768, P769] redspeed:
Sorry if its a dumb question but does the boot loader need to be unlocked for this to run?
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
Not dumb, we just assume you don't like to read the OP.

Yes, unlocked bootloader required
[LG Optimus L9 P760, P765, P768, P769] redspeed:
I read the whole op but somehow missed the red sentence where it does mention that sorry :(
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
No worries, maybe OP updated after you read it and posted your question.

Looks like more work is being done for p769 so i suggest that you study the unlock BL guide to jump aboard.
[LG Optimus L9 P760, P765, P768, P769] kuma82:
Glad to hear you solved your unlock bootloader problem. Anyways, I made the following changes http://xdaforums.com/showpost.php?p=42891165&postcount=17

I'm still analyzing the init.lgep760board.rc (/), vold.conf & vold.fstab (/etc) files to get a better swap.
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
would you be able to apply this to our device?

http://tabletrepublic.com/forum/uhost2-u2/%5Bguide%5D-how-use-external-sd-card-internal-memory-3636.html
[LG Optimus L9 P760, P765, P768, P769] kevev:
Would someone please test these two functions? I would like to flash this weekend. :D
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OP updated.

Ported p760 fix for low speaker volume and call echo. Speaker does seem louder. Test call echo. I haven't tried it.

Kernel with OC/UV. It will initially start at normal frequencies, you have to overwrite them if desired. The kernel is slightly undervolted but not nearly as much as pinyoto's. Better yet it supports userspace voltage control, so you can adjust voltages yourself with VoltageControl or similar program.

Added 384Mhz for GPU, now it has three frequencies to choose from. Will not do 512, I think it's too much. Enabling and disabling of 384 can also be controlled from userspace but a script is required. By default 384 is enabled.

Repo synced today.

As usual, watch for bugs.
[LG Optimus L9 P760, P765, P768, P769] jgc86:
I have this issue as well. Everyone says I sound way to loud.
[LG Optimus L9 P760, P765, P768, P769] kevev:
I wiped the phone and installed cm10.2 . The gain is still too loud. The mic gain controls don't work on this build either. I do notice that the speaker phone gain is OK.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
OK, taking Main microphone gain -6dB with next build, then we'll see if more is needed. Leaving speaker Sub mic untouched for now. I wonder if external headset mic gain should be adjusted as well.

The hardware adjustments definitely working for me. Anybody else can confirm that they are not?
[LG Optimus L9 P760, P765, P768, P769] pisherthefisher:
You mean if the current mic settings are working for us? The mic is fine for me, I even tested it with my home phone. Not loud at all
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thank You. If only a few of us have this issue maybe you could share how you set Main mic gain in the code so we can adjust it ourselves. There may be differences in our mics. Build quality/manufacturer. Who knows. :)
[LG Optimus L9 P760, P765, P768, P769] kevev:
Eagerly awaiting the new build. :D
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Made a new build with reduced in-call Main microphone volume. Sub microphone is untouched. Let me know if more volume adjustments are necessary.
[LG Optimus L9 P760, P765, P768, P769] ISITBRICKED:
Thanks for everything you do Anton. Love your builds.
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
[MENTION=360947]AntonX[/MENTION]

flashed onto a stock v20f rom with super su, busybox and l9 recovery installed. flashed Cyano10.1 with CWM.

After hanging in boot i hardreset and it started right up.

keyboard, usb connection and external SD not working/connection....

any sugestions?

EDIT: i dont know if it matters but the EXTSD was bought after the flash of cyanogen...
[LG Optimus L9 P760, P765, P768, P769] kevev:
Mic gain is almost low enough. I had to set it to -18 and it is perfect on that setting. Would more adjustment be justified?

Update: After another phone call the audio still seems a little too loud. It definitely needs to be lowered some more since if i set the gain any lower than -18 the setting will not stick after a reboot.Thank You AntonX for working on this. :)
[LG Optimus L9 P760, P765, P768, P769] ISITBRICKED:
One question should battery last longer with cm? My wife has the same phone as me but hers is untouched not rooted not unlocked on stock ROM my battery in her phone du battery meter shows battery will last 20 hours my battery in my phone shows it will last 7 hours.... Just to clarify I am saying if I take my bat out put it in my wife's phone says it will last 20 hours put it back in my shows 7 hours.
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
Should last just as long. I'm running my pacman with antonx's cm10.1 as base. Here's a screenshot, 53% 7 hours.
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
Also try formatting all partitions (excluding extsd) and do a clean install.
[LG Optimus L9 P760, P765, P768, P769] ISITBRICKED:
Thanks that did the trick showing 22 hours now at 100%.
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
welcome, glad i could help
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Made another build.

Reduced call microphone volumes a little bit more. If you think I went too much let me know, but I was still hearing reports that it was too loud.

Few upstream changes.
[LG Optimus L9 P760, P765, P768, P769] BJohnM:
GAPPS?

Do I need a Gapps file for this ROM?
[LG Optimus L9 P760, P765, P768, P769] kevev:
Yes
[LG Optimus L9 P760, P765, P768, P769] omgbossis21:
Is it cool if I use your modified base for a paranoid rom?
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Sure, just make a reference.
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Same here, I'll mention you and credit you first thing in the post if I have your permission.
[LG Optimus L9 P760, P765, P768, P769] omgbossis21:
Will do. I will be back in town this Sunday so a paranoid rom should be up Monday :)
[LG Optimus L9 P760, P765, P768, P769] Tablechair:
Flashed this last night. Everything is butter smooth. So far I've noticed better bluetooth performance over pinoyto's version, it would always take a couple tries to connect my phone to my car stereo or my bluetooth headphones, this is first shot everytime. No glaringly obvious bugs so far. Great work!
[LG Optimus L9 P760, P765, P768, P769] kevev:
If you have the bluetooth connect issue again try "Bluetooth Auto Connect" from the market. It works every time. :)
[LG Optimus L9 P760, P765, P768, P769] kuma82:
:beer: [MENTION=360947]AntonX[/MENTION] :beer:

:thumbup: :cool: :cool: :thumbup:
[LG Optimus L9 P760, P765, P768, P769] Tablechair:
At [MENTION=4886794]test540va[/MENTION] request I have ran quadrant benchmark. Here are my results.
[LG Optimus L9 P760, P765, P768, P769] halomademeapc:
What are the "usual p760 CM10.1 issues"?
[LG Optimus L9 P760, P765, P768, P769] AntonX:
No idea, you tell me :) I don't know yet if call echo is fixed yet, nobody reported.
[LG Optimus L9 P760, P765, P768, P769] AntonX:
If you bump up max frequency in system settings->performance to 1350Mhz the score will be about 3350.
[LG Optimus L9 P760, P765, P768, P769] ThrIsNoSpork:
Audio fix works great, I can hear much better through that handset speaker. Not sure if there's still speaker phone echo but I'm noticing now that when I listen to audio at full volume through aux in my car that it cuts out frequently making me wake my phone to press play again. Not sure if this is caused by the audio fix or not but when I lower the volume on my phone it seems to play longer than if I turn it up.
[LG Optimus L9 P760, P765, P768, P769] kevev:
Before flashing I have a question. I have unlocked bootloader and stock P769 u-boot x-boot with stock 20D. Do I need to re-flash p760 u-boot x-boot with flipped display before flashing this ROM?
[LG Optimus L9 P760, P765, P768, P769] Lelus:
Yes you do
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thanks. Got a link?
[LG Optimus L9 P760, P765, P768, P769] halomademeapc:
Does MMS work on this?
[LG Optimus L9 P760, P765, P768, P769] kevev:
I could not find a v6.bin with the proper P760 Euro u-boot & x-boot.
[LG Optimus L9 P760, P765, P768, P769] Lelus:
You can use ones from http://xdaforums.com/showpost.php?p=40441852

I'm not sure why would you need v6.bin
[LG Optimus L9 P760, P765, P768, P769] elpuertorro:
Not sure but try these, I got them from the "[Guide]Unlock Bootloader for Noobs P769" posted by carloswii5 here

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

Try this updated one

https://docs.google.com/file/d/0B059sYrh0T19UWluVjVWaGJpTFU/edit

or

Try this one uploaded by Kid_Ding on same thread but he uploaded because carlos link was down and I was asking for them, this was before carloswii5 updated his and uploaded, I think the only difference is carloswii5 added a few things in his zip like the touch screen fix zip

https://mega.co.nz/#!3UczBQyJ!JtDyBAr9I3ojkpmxQ2tJukh9aacSLie3CFWlNC77RFs

Hope it helps you out!
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
Quick settings camera viewfinder works, but the image does not save when you tap it.
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thanks. I was confused. I will flash these first.
[LG Optimus L9 P760, P765, P768, P769] Tablechair:
Yea I flashed updated version and bumped up max frequency like you said. Looks great thanks.
[LG Optimus L9 P760, P765, P768, P769] kevev:
I have the properly flipped display but the zip will not flash.

get prop("ro.product.device") == "p760"

It looks like it doesn't like that my device is not detected as a p769.

Correction: I checked the code. It is correct. I am re-downloading the ROM. May be a bad copy.....

Update: Still no go. The error is (Status 7)

Any ideas?
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Check build.prop on your phone and let me know what ro.product.device you have there there.

I actually set the CWM zip to accept either p760 or p769 device but if you have something different it will fail.

EDIT: I thought you couldn't flash the ROM but it's about some different ZIP?
[LG Optimus L9 P760, P765, P768, P769] AntonX:
Probably because of the SD card swap script. We need to do something about it, it's messing too many things up.
[LG Optimus L9 P760, P765, P768, P769] Lelus:
you need to dd or fastboot it

extract the zip file to external_sd

adb shell su -c busybox dd if=/sdcard/external_sd/p2.bin of=/dev/block/mmcblk0p2
adb shell su -c busybox dd if=/sdcard/external_sd/p1.bin of=/dev/block/mmcblk0p1

edit: sorry missed that part
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thanks Lelus. I performed those steps before attempting the flash.
[LG Optimus L9 P760, P765, P768, P769] Lelus:
Are you using 2nd init recovery ?
[LG Optimus L9 P760, P765, P768, P769] kevev:
Yes.

I have bootloader unlocked.

I have P769 21B kdz flashed and rooted.

I have 2nd init recovery installed.

I had the p1.bin p2.bin for P769 flashed to fix flipped screen

I wiped the rom in CWM.

I flashed the p1.bin p2.bin you posted to flip the display again.

next step? :p
[LG Optimus L9 P760, P765, P768, P769] Lelus:
flash regular recovery and you'll be able to install it no prob

https://www.dropbox.com/s/gw74cg1ntwmwlij/cwmtouch.img
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
I guess its time to remove it until a solid solution is available.
[LG Optimus L9 P760, P765, P768, P769] kevev:
I'm retarded. I forgot that we need regular with unlocked bootloader and flipped screen u-boot. Doing this now...

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

It's alive!!!! Man this CM build is fast!

I ended up flashing this one since I was not able to access my external SD with Touch Recovery.

https://plus.google.com/app/basic/stream/z13pxhrrjv3sjtoe423wjzkagyveej4wa04

---------- Post added at 02:09 AM ---------- Previous post was at 01:37 AM ----------

3 hard reboots so far. I think it is the GPU overclocking since I had the same issue in the other guys build.

How do I set it to default clock?
[LG Optimus L9 P760, P765, P768, P769] AntonX:
I haven't had any problems since installing OC/UV kernel and I'm running the CPU full range 200-1350Mhz.

Let's try to figure out first is it the kernel or your phone. I updated the OP with a link to a kernel without any performance tweaks (look in the Kernel section.) Download, flash, and run for some time. If it does not crash we can try couple of things with OC/UV version. Fo example I can try to slightly increase core voltages for overclocked CPU and GPU frequencies. But if you still have reboots even with the original kernel, then I cannot do much...
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
No major issues here, now that I removed the int/ext SD swap script everything is as it should be. OC to 1350 and its super smooth.

My only request is that media volume out of speaker be a bit louder.
[LG Optimus L9 P760, P765, P768, P769] kevev:
So far I have not had any more reboots. They happened after initial setup when my device was downloading all the apps that were set to restore automatically from the market. I can try some heavy write tests, dow load a bunch of apps, or just install the new kernel. What do you think?
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
Holy s*** this is by far the fastest most stable rom I've used, and the voltage control is a much appreciated add-on, thanks :D
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
Yeah, if I could hit thanks again I would! What we all should do now is vote 5 stars for this thread.
[LG Optimus L9 P760, P765, P768, P769] kuma82:
Hit thanks on the second post (reserved) of this thread, lol. Fast and smooth. So is the GPU over clocked by default?
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
I wanna see Halo work on this
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
I'm running tests on pacman port today. [MENTION=360947]AntonX[/MENTION] base and updated [MENTION=3503009]adamz667[/MENTION] PACman ROM. Its lookin good.
[LG Optimus L9 P760, P765, P768, P769] kevev:
MIUI? :p
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
I've tried many times. I can flash it, but always get boot loops.
[LG Optimus L9 P760, P765, P768, P769] kevev:
logcat?
[LG Optimus L9 P760, P765, P768, P769] Kid_Ding:
The next time attempt to flash, I'll post my logcat in QA too see if someone can assist.
[LG Optimus L9 P760, P765, P768, P769] kevev:
OK. I will take a look at it. :D
[LG Optimus L9 P760, P765, P768, P769] leolawliet:
I still think we should really consider compiling the kernels with Linaro Toolchain, if you need help with that I know someone who might be able to help.
[LG Optimus L9 P760, P765, P768, P769] kevev:
I noticed that the max headphone volume is much higher than stock. It goes way into the danger zone. Can this be brought down in the next build?

I don't want anyone going def or blowing headphones. ;)
[LG Optimus L9 P760, P765, P768, P769] AntonX:
I have switched to Linaro 4.7 (heard that 4.8 is still too unstable) on my build for both ROM and kernel, but was not able to compile the kernel with -O3 even after disabling some of the optimiztions. It just won't boot. With -O2 I truthfully don't see any difference between linaro on not, all benchmark scores are about the same.

There was another patch for audio in p760 device tree, I have picked it already. It says that it brings the volume a little down but at the same brings high frequencies up, so not sure what overall effect it will have on loudness.

I will rebuild when I have time (in a day or two) and post an update. There will be some new mods for kernel too.
[LG Optimus L9 P760, P765, P768, P769] kevev:
Thank You!! :D:D
[LG Optimus L9 P760, P765, P768, P769] keen_arene:
help, I'm having a problem with getting cyanogenmod 10.xx to install.

I rooted v10g, installed v20b_00.kdz, unlocked bootloader..... flipped the screen, the whole install process, but CWM doesnt install.

Then I used software upgrade to bring from v10g ICS, to JB v20d (tmobile usa), tried to unlock bootloader again/get bootloader screen, and then the "bootloader unlocked" screen is back to the original. I dont know if I RELOCKED the bootloader, or it's just masked by v20d's new data.

I rooted v20d, tried to install cyanogenmod, not working. Tried with v10g, not working.

I am currently back on JB v20d rooted.

how can I install cyanogenmod?

thanks for EVERYTHING. :cyclops:

ps: I've rooted 2 other phones and installed cyanogenmod, hacked my xbox and built electronics, and nobody was kidding at how complicated this install is.
[LG Optimus L9 P760, P765, P768, P769] kevev:
You can not loose Unlocked bootloader. It will stay unlocked.

If you still have flipped display on boot you have the correct u-boot/x-boot. If not you will need to flash those again.

Here is the CWM that I am using: https://plus.google.com/app/basic/stream/z13pxhrrjv3sjtoe423wjzkagyveej4wa04

It allowed me to flash this ROM.

AntonX: Can we get the link to this CWM in the first post so ppl know which recovery work with this ROM?
[LG Optimus L9 P760, P765, P768, P769] keen_arene:
what is the correct x-boot u-boot? I do not have flipped display.

and if possible, where are they?
[LG Optimus L9 P760, P765, P768, P769] kevev:
Here you go: http://xdaforums.com/showpost.php?p=40441852

Maybe this needs to be in the first post also.
[LG Optimus L9 P760, P765, P768, P769] animusFL:
Ahhhhh! Success! Nice port! Hitting thanks on OP, installing this was the simplest part of the whole journey!