yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] brainin64:
BB 1120?

where can i get BB 1120
[LG Optimus 2x] parthabhatta:
Where is Bhanvadia's kang uploaded? I searched "Hopto" I searched " Mediafire". Both are showing old kangs?

Edit : Got it from bhanvadia's signature. Thanks to him.
[LG Optimus 2x] rosmarcelino:
It is at his signature, from tapatalk or xda app you can't see, happened this to me too, then I used the browser version :o
[LG Optimus 2x] Impact7:
http://xdaforums.com/showthread.php?t=1500443

Or just use the search function.^^
[LG Optimus 2x] Smoky:
Or direct link for tapatalk

http://www.mediafire.com/bhanvadia
[LG Optimus 2x] baliriot:
@bhanvadia,

sorry if i'm asking for too much but, would you be so kind to mention up to which merged commits in your 1703 kang build... :o;):):D
[LG Optimus 2x] Harsh:
Sorry i was out. It is merged upto busybox nfs mount commit.

http://review.cyanogenmod.com/#q,status:open,n,z

And new things would be root permission management, bootanim cache fix, mount nfs, and all upto it.

@owain and sure put it in op if you like to. Thanks a lot for lib camera fix.
[LG Optimus 2x] VSwensson:
Is there some stability improvements/tweaks in the lib camera fix Owain did, or just fixed the broken one in kang19?

Great job with this kanging, thanks allot all!
[LG Optimus 2x] hd2000:
Thanks, yep YouTube HQ works fine
[LG Optimus 2x] Harsh:
He found a way to use proper libs to make camera work flawless and faster than before. And all tweaks are as in cm9, it's pure cm9 kang with better camera fix. Nothing tweaked/modified by me.
[LG Optimus 2x] :
Flashed it but my play store doesnt work anymore..
[LG Optimus 2x] rosmarcelino:
reinstall gapps!
[LG Optimus 2x] owain94:
I did sent my code to pastime and he made a much better overlay for it

I will sent you the diffs when I am on a computer ;)
[LG Optimus 2x] pastime1971:
@bhanvadia, also you can find it at http://xdaforums.com/showpost.php?p=23667398&postcount=962
[LG Optimus 2x] martgenius:
At first big thanks.

2.have you tweaked the services.jar

3.do we need a special iron kernel or can i use the normal one?

--------------------------------

LG Optimus Speed @ latest Owain CM9 Kang with iRonkernel and V6SC

-----------------
[LG Optimus 2x] vitaminxero:
3. You can use the stock kernel that comes with the ROM. Ironkernel is for good fun times.
[LG Optimus 2x] Harsh:
Aren't you gonna submit it to review?

And lib overlay got merged by Ricardo i guess.

And already implemented camera tweaks to framework/base, and ROM already compiled with binder global flags. :)
[LG Optimus 2x] pastime1971:
ui > overlay is simply from cm7.

and probably not. i would wait until p990 is officially supported before submitting device-specific commit. (and frameworks/base/ui is not device-specific location...)

edit: but i believe frameworks/base/ui/overlay will have to be included in cm9 source as many devices will use GB libcamera. so, eventually yes ...

edit: even device/lge/p990/setup-makefiles.sh still misses liba2dp.so
[LG Optimus 2x] xdaslade:
Just installed kang 19 and noticed that I can not edit APN settings. My data package requires custom http proxy settings on port 80. Same issue with NovaHD RC10. Is there something I am overlooking?

-------------------

P990

update-cm-9.0.0-RC0-p990-KANG-19-signed
[LG Optimus 2x] pastime1971:
needs this commit, http://review.cyanogenmod.com/#change,13666

edit: there is a place to request APN correction at http://code.google.com/p/cyanogenmod/wiki/APNlist (i don't know how long it takes to be merged.)
[LG Optimus 2x] Harsh:
Should I include this commit?

And would like to know services.jar tweak too, for better battery.

Your p990_camera_overlay adds files to repo, but camera is working without them too, my kang dont have those files. Can you tell me what difference it is making?

My kang using only memoryheapBase changes, and it makes camera working.
[LG Optimus 2x] martgenius:
is it a fixed kang-19 from owain?

--------------------------------

LG Optimus Speed @ latest Owain CM9 Kang with iRonkernel and V6SC

-----------------
[LG Optimus 2x] Harsh:
use kang(camera fix by owain & pastime) from my signature until Owain get his kang up. Kang 19 is buggy.
[LG Optimus 2x] pastime1971:
probably. i never tried to edit APN. but from the commit message, we need it since profiles commit is merged.

i looked into battery friendly smali tweak. all it does is to tweak nice priority. if you want, you can just apply this http://www.mediafire.com/?ki8y87mc6mvj2i1 instead of smali patching.

hmmm. are you using owain's fix of adding "extern C ..." ? i used to get an error message about missing _ZN7android7Overlay13dequeueBufferEPPv in libui.so which is due to lack of ui > overlay. owain told me about his workaround, but i decided to include CM7 overlay instead. memoryheapbase commit message mentions the need of overlay. personally, i haven't see the difference between including entire overlay and adding extern C _ZN7android7Overlay13dequeueBufferEPPv. i figured it would be better to include the real thing, but it may as well do nothing other than referencing it.

edit: that is using libcamera.so from koush's prop. are you using different lib ?

---------- Post added at 04:33 PM ---------- Previous post was at 04:29 PM ----------

btw, can you point me to which commit it is ?
[LG Optimus 2x] Harsh:
this commit alone almost fix camera http://review.cyanogenmod.com/#change,13317

plus just need boardconfig edit...

sorry i checked lib overly was never merged, made mistake with audio thing. But camera working without it.
[LG Optimus 2x] pastime1971:
i will test it again w/o overlay. (gonna take a while to compile the whole thing)

i didn't bother to do so, because 13317 commit message mentions overlay, and owain told me it also needs _ZN7android7Overlay13dequeueBufferEPPv to frameworks/base/libs/ui/FramebufferNativeWindow.cpp.

the proprietary libcamera.so didn't load when libui.so didn't have Overlay > dequeueBuffer.

edit: btw, there was a commit to include msm7x37 specific overlay, which i mistook for generic one.
[LG Optimus 2x] Harsh:
i dont like this one
[LG Optimus 2x] pastime1971:
i believe they are just "nice" priority. you can change them however you want.

i didn't particularly agree w/ all his changes, either.

it may make it behave smoother, but i don't know if it is battery-friendly. it determines which app gets cpu time first, but eventually the amount of work done is same. (the law of energy conservation : the work done = the energy change)
[LG Optimus 2x] Harsh:
So true. But it makes launcher laggy, and other stuff killing in idle or just supressing them. Its like if you dont use whatsapp for one week or two, it would be killed by it, if you are using other many apps with background. Its not worth changing it.
[LG Optimus 2x] pastime1971:
right. when people tweak android, it may or may not be actually good tweak, let alone critical. it could be based on a single device experience. it could be based on personal feeling.

i usually try to stay away from those. :rolleyes:

edit: so, yeah, i didn't think of it at the time, but now that you told me, it sounds like it is just like saying that task-killer app saves battery.

edit: i looked at it again (and i should have read it carefully). it is on the Out-of-Memory handling, so it is same as task-killer, not nice priority... (my bad)

---------- Post added at 05:24 PM ---------- Previous post was at 05:04 PM ----------

looking at your zip, you do have _ZN7android7Overlay13dequeueBufferEPPv in libui.so

#> strings system/lib/libui.so | grep _ZN7android7Overlay
_ZN7android7Overlay13dequeueBufferEPPv
_ZN7android7Overlay7destroyEv

are you using the following ?

diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp
index cd6849a..a4ff3c7 100644
--- a/libs/ui/FramebufferNativeWindow.cpp
+++ b/libs/ui/FramebufferNativeWindow.cpp
@@ -414,3 +414,13 @@ EGLNativeWindowType android_createDisplaySurface(void)
}
return (EGLNativeWindowType)w;
}
+
+extern "C" status_t _ZN7android7Overlay13dequeueBufferEPPv(void* buffer)
+{
+ return NO_ERROR;
+}
+
+extern "C" void _ZN7android7Overlay7destroyEv(void)
+{
+ return;
+}
[LG Optimus 2x] Harsh:
yeah i added that when owain told me to use old libs for first time. I thought my changes would have been gone after repo sync. But seems like its still there. Should I try without it? or leave it if its not breaking anything.
[LG Optimus 2x] pastime1971:
i definitely believe you have to either leave it, or remove it and add ui > overlay.

prop. libcamera.so calls two functions of overlay. w/o it, libcamera doesn't load.

#> [B]strings system/lib/libcamera.so | grep _ZN7android7Overlay[/B]
_ZN7android7Overlay13dequeueBufferEPPv
_ZN7android7Overlay7destroyEv
#> [B]strings system/lib/libhwmediaplugin.so | grep _ZN7android7Overlay[/B]
_ZN7android7Overlay7destroyEv
_ZN7android7OverlayC1ERKNS_2spINS_10OverlayRefEEE
_ZN7android7Overlay13dequeueBufferEPPv
#> [B]strings system/lib/libstagefrighthw.so | grep _ZN7android7Overlay[/B]
_ZN7android7Overlay7destroyEv
_ZN7android7OverlayC1ERKNS_2spINS_10OverlayRefEEE
_ZN7android7Overlay13dequeueBufferEPPv
_ZN7android7Overlay12setParameterEii

i don't know if it does anything or not. i wasn't feeling comfortable w/ adding dummy routines, but from the look of the above, libcamera.so doesn't call queueBuffer, so probably it does nothing other than referencing. but they do call a few others. it is easier to add the whole thing, i guess.

edit: but libcamera.so may be instantiate overlay class ? i don't know how to check it. the fact that it calls dequeueBuffer makes me think that something must call queueBuffer ? at least w/ the whole overlay it has a less possibility of crashing. (not that i have seen camera crashing w/ owain's fix.)

edit: i didn't check, but i think the other prop lib will not load because they can't find Overlay > destroy. not sure what they are used for, but something about media handling, i guess.
[LG Optimus 2x] Harsh:
are all used in p990 ICS proprietary files form koush.

so i guess we would still need to use it, as those are same libs we get from RC's SK3 (but not tested)
[LG Optimus 2x] martgenius:
omg you a really nerds :)

you guys get my full respect for your great intertactions, ideas and work.

btw i must back to my roots and reinstall my old gentoo machine....

gn8

--------------------------------

LG Optimus Speed @ latest Owain CM9 Kang with iRonkernel and V6SC

-----------------
[LG Optimus 2x] pastime1971:
it looks like RC has a full overlay in his SK3.

>$ strings SK3/system/lib/libui.so | grep _ZN7android7Overlay
_ZN7android7OverlayC2EPFvPviEPFvS1_jjjjEPFvS1_S1_ES1_
_ZN7android7OverlayD2Ev
_ZN7android7Overlay13dequeueBufferEPPv
_ZN7android7Overlay11queueBufferEPv
_ZN7android7Overlay11resizeInputEjj
_ZN7android7Overlay12setParameterEii
_ZN7android7Overlay7setCropEjjjj
_ZN7android7Overlay7getCropEPjS1_S1_S1_
_ZN7android7Overlay5setFdEi
_ZN7android7Overlay16getBufferAddressEPv
_ZN7android7Overlay7destroyEv
_ZN7android7OverlayD1Ev
_ZN7android7OverlayD0Ev
_ZN7android7OverlayC1EPFvPviEPFvS1_jjjjEPFvS1_S1_ES1_

edit: i should have checked it before. but i never had thought of it... :D in my defense, i didn't know what ZN7android7Overlay13dequeueBufferEPPv meant. (it means how the actual library class name (frameworks/base/lib/ui/overlay/Overlay.java > dequeuebuffer() in this case) is mapped, i guess.)
[LG Optimus 2x] Harsh:
I was about to say same.... so should we make changes?

I checked all libs in RC's SK3, and latest kang-1703, overlay differs only in libui.so.

should we import RC's libui.so into props and add to vendorblobs, and than compile again fresh without ui/lib/Framebuffer tweak?
[LG Optimus 2x] owain94:
i do not like that idea

we should not use libs that can be fresh compiled

if there is a improved version thatcan be compiled from source

we would still be stuck with a older lib file

and about the battery tweak

i do not know why it makes the battery last longer but i've done some testing everytime with same settings tested it about 20 times

and it does give some more battery life

and most people also reporting it does work (but well that can also be a placebo that why i did test it as much as i can)
[LG Optimus 2x] Harsh:
Main point of battery tweak is what it change when handeling launcher, and background apps, Maybe it give longer battery, but its killing background apps if it reduces its priority (example: you have whatsapp installed, and dont use it for week because you are out of country when data off, but when you come back and put data on again, whatsapp would not fetch old msgs until you open it).

And it also reduces priority of home, which makes it bit laggy, nothing noticeable but it should be that way.

Ok, one more, there must be difference in our video recording and RC's SK3, as extra overlay in RC's are used for video, not for normal photos.
[LG Optimus 2x] pastime1971:
it is up to you. it would be easier to just use my p990_camera_overlay.zip (apply 4 overlay*.diff), and add full overlay folder to repo.

you already have global CFLAGS += DBINDER_COMPAT part. however, my overlay_mk.diff checks for BOARD_USES_GINGERBREAD_OVERLAY to include overlay part.

i don't think there is any commit merged to frameworks/base/ui so far, but if there is in the future, it will be kept up-to-date that way. beside i think that's exactly what RC does. (i wasn't sure until i just checked his libui.so)

edit: btw, if you are interested, i have separate repo and kang folders, which makes tweak/mod easier.
[LG Optimus 2x] Harsh:
I would suggest you to submit overlay commits for review. Name it as Temporary Use of Gingerbread Overlay, useful until whole ICS source is not out. It would benefit all devices which will never have ICS sources in future.
[LG Optimus 2x] pastime1971:
@ owain,

i agree w/ bhanvadia on this battery tweak thing. it is OOM handling, namely task-killer.

@ bhanvadia

i didn't check, but i think lower number = higher priority. (edit: maybe not...)

i thought video recording doesn't work in RC-SK3, does it ?
[LG Optimus 2x] owain94:
launcher laggy?

i made the launcher bulletproof it does not ever get killed
[LG Optimus 2x] owain94:
it is OOM handeling ideed higher number means higher priority

but it does safe some battery by changing should i just provide is as optional flashable zip?

and on sk3 video recording don't work

about the discussion you guys did have before (to lazy to read)

what did you guys decide to use for the camera?

sorry for the double post
[LG Optimus 2x] pastime1971:
at this point, i would say make it optional. (since it is not too much difficult to smali patch.) i don't think it is a breakthrough, but some may want it.

thanks for confirmation on RC-SK3.

i would say use the whole overlay from CM7.
[LG Optimus 2x] Harsh:
Your hack is best to use for now, as its smallest change from original CM9 git. And using it. I guess if SK3 video recording was not working, than those extra overlay were not being used in ICS.
[LG Optimus 2x] owain94:
it is not a breakthrough not even close to one :p

it was just a half hour of safing on a whole battery load (well with as much apps open as i could 1.Ghz min and max till battery was empty)

just the overlay you did sent me in a pm?

and not add the part i did sent at you at first?

You prefer the ifdef gingerbread commit cherry pick and the small code I did send you? Am I right?
[LG Optimus 2x] pastime1971:
@bhanvadia

since libhwmediaplugin.so and libstagefrighthw.so also call _ZN7android7OverlayC1ERKNS_2spINS_10OverlayRefEEE, they won't load due to missing function reference. (haven't confirmed it though.)

does 'hw' in their names mean hardware acceleration ?

can you confirm it ?

if i'm right, you should get error message that is similar to

E/HAL ( 1017): load: module=/system/lib/hw/camera.tegra.so
E/HAL ( 1017): Cannot load library: link_image[1965]: 1017 could not load needed library 'libcamera.so' for 'camera.tegra.so' (reloc_library[1314]: 1017 cannot locate '_ZN7android7Overlay13dequeueBufferEPPv'...
E/HAL ( 1017): )
E/CameraService( 1017): Could not load camera HAL module

but for those two libraries... (i could be wrong)

edit: i don't see anything on those two libraries in my old logcats. so maybe they are not being used at the moment ?
[LG Optimus 2x] Harsh:
Yes, small code you sent plus this http://review.cyanogenmod.com/#change,13317, which is likely gonna merge.
[LG Optimus 2x] owain94:
If it does we can just use it we do not have working hardware acceleration we got the same we did have in Gingerbread
[LG Optimus 2x] pastime1971:
i haven't started debugging just yet, but i would like to confirm it first. on my kang, i have issues as follows:

1. wifi crashes and restart quite frequently.

2. web browser crashes upon changing orientation.

3. SoundRecorder is not working. (SpeechRecorder does)

can you guys confirm ? (on owain's kang or bhanvadia's)
[LG Optimus 2x] owain94:
1. does not happen on my kang but i think that is bb related (did have it with another baseband)

2. can rotate till i die no crash

3. cannot confirm did not even ever open that apps
[LG Optimus 2x] pastime1971:
thanks.

(crap.) ok. i definitely need to fix #1.

as for #3, it doesn't even show up in app drawer. just figured i would ask.
[LG Optimus 2x] Harsh:
I do not have issues 1. and 2.

Browser working on anyway I use, I change it even in middle of anything its fine.

Wifi dont crash, nor do it restart when using. But sometime on idle it seems like it get disconnected, but connects within 2-3 seconds.

For soundrecorder have not tested.
[LG Optimus 2x] pastime1971:
that's what i meant for wifi.

it disconnects and reconnects.

bit annoying w/ SIP.

@owain, does it happen to you ? i guess it could be kernel.
[LG Optimus 2x] botay.alls:
When I flash your rom, the phone boot loop. please help me to flashing it.
[LG Optimus 2x] pastime1971:
-- deleted --

---------- Post added at 07:42 PM ---------- Previous post was at 07:38 PM ----------

try re-flash it ?

---------- Post added at 07:46 PM ---------- Previous post was at 07:42 PM ----------

@ owain, bhanvadia,

unfortunately http://review.cyanogenmod.com/#change,13666 patch set #2 breaks profiles. (i am reverting to #1 for now)

you can still select a profile through power button though.
[LG Optimus 2x] owain94:
http://review.cyanogenmod.com/#patch,sidebyside,13666,2,res/layout/preference_profiles_widget.xml

only revert that one bit should fix it

think it is a silly "ohh i think i can fix this" by the one that commited it

EDIT:

http://review.cyanogenmod.com/#patc...oid/settings/profiles/ProfilesPreference.java

also just don't delete al those imports (more imports can't hurt the settings...(as far as i know))
[LG Optimus 2x] Gonox:
1. Wifi disconnects only for 2-3 sec and autoconnects, but not major problem because that seems to happens only when I'm not using THE internet, and doesn't affect for example a download in progress

2. yes I have now this problem, and I;m using "bhanvadi"s Kang, but "owain" kang this problem wasn't present

3. I don't know if it works, now it seems It doesn't appear in the app drawer...( using bhanvadia kang)
[LG Optimus 2x] pastime1971:
build fails w/ first one. (unknown symbol)

the second part already tried, and no difference.
[LG Optimus 2x] owain94:
Pretty sure it should work why did it work in the first place? Weird this
[LG Optimus 2x] pastime1971:
oh, i meant the first part of your suggestions to fix patch #2.

patch #1 works.

---------- Post added at 09:42 PM ---------- Previous post was at 09:12 PM ----------

i think wifi issue stems from the stock kernel:

edit: well, maybe not. wifi keeps disconnecting, but i don't see any message in kmsg.
[LG Optimus 2x] vitaminxero:
2. Owain's kang 17 and RC's SK3 doesn't have this issue but browser starts having graphic artifacts (random black boxes flashing around). May have something to do with our hw accel implementation. Bhanvadia's 1703 definitely has this issue.
[LG Optimus 2x] pastime1971:
@ owain,

in your kang 17, you were still using RC's lib, correct ?
[LG Optimus 2x] Harsh:
Yes I see browser crashing if I change orientation continuously for 3-4 times.

Currently uploading new -1803 with services.jar mod for better battery, as per Owain.

Merged upto:

things in bold are changes from -1703 to -1803.

Will be uploaded in my mediafire in 8-10 mins.
[LG Optimus 2x] owain94:
Correct!
[LG Optimus 2x] :
Wifi drop is something I am seeing from day 1 on ics. With no FM radio and disconnecting wifi and resulting disruption in tunein pro, went back to cm7
[LG Optimus 2x] aMpeX:
One general question,

did anyone of you get adb working on these ICS builds? If yes, how?

I installed the latest LG drivers from their website, enabled USB debugging on the phone, but ADB still gives me "waiting for device".

Cheers

aMpeX
[LG Optimus 2x] Harsh:
Are you using latest kang?

If yes, did you enable Root access Apps and ADB in Settings/Developer options?
[LG Optimus 2x] rosmarcelino:
There is any HDMI problem on this ROM? I am trying to connect to my Tv and nothing :(
[LG Optimus 2x] aMpeX:
I am currently using KANG 18 but I'll be upgrading soon. I've had this issue from the first SK by RC, on CM7 everything was fine.
[LG Optimus 2x] owain94:
working fine here since arcee his selfkang 1 here (but on mac and linux i don't use that other not that good operating system)
[LG Optimus 2x] :
Downloaded the latest and tried a fresh install with wipe. Gets stuck at LG logo. Not able to connect with ADB since the booting gets stuck well before adbd starts.
[LG Optimus 2x] aksolanki:
Hi hackworks, apart from the camcorder not working yet due to the lack of hardware acceleration, the first time I had an issue was with kang #18, where the Play store would not launch. Not a big deal, I simply reverted to a nandroid backup.

Perhaps your issue is baseband related? Just a guess.

Have fun. Anil
[LG Optimus 2x] owain94:
reflash gapps or just delete all play store data in settings app

we cannot touch any parts of gapps so this is not our fault
[LG Optimus 2x] :
Anil: Have you tried the latest from bhanvadia? I have never had the stuck boot problem from a real long time, I do not remember when I had it last...

I doubt it is BB related as I have tried a few and see the same behavior. It works perfectly well in CM7. Since we use most of the vendor blobs from CM7, the only code that is different is ROM. Hence, I doubt the ROM (or kernel). Since most custom kernels are based off rmcc's kernel, they share the same issues. I have tried ironKernel, built faux123's kernel and see the same wifi drop problem.

I think I should invest more time troubleshooting by taking radio logs and default logcat to see a pattern.

On a side note: Anil, you are a good community person. Always polite and descriptive in your posts. Keep it up. Folks like you make this a fun & happy place.
[LG Optimus 2x] Harsh:
I do not know how it get stuck on fresh install, as boot stuck is kernel related, but my ROM comes with same kernel as RC made, so should not be that problem.

Can you try flashing Owain's kang 18, and then flash my kang over top? To check if it works.
[LG Optimus 2x] Thief777:
1st crash the browser field to rotate the screen (
[LG Optimus 2x] dasklney:
I've just installed bhanvadia 1803 KANG and still got Messenge FC as seen on 1703 too :( Everything else is working fine :D