yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] cool.tsanzol:
play store

can't download anything from market ..cant download due to error 921.. whats this...
[Optimus One, P500 Original Android Development] kchiman:
thanks for the suggestions. i decide to sit on cm7 and wait for some time to see if there is more stable build of cm9.

for the sd-ext problem, i faced it before, i am afraid that it is cause by ext4.

for partition sd card in cwm , the sd-ext is in ext3

but i found that if we wipe sd-ext in cwm, the sd-ext will become ext4.
[Optimus One, P500 Original Android Development] orsonbear:
I think I've solved the black screen problem after a phone call.

I have added this settings at the bottom of build.prop:

mot.proximity.delay=150

ro.lge.proximity.delay=150

these adjustment are for CM7.2 but it seems to me that they work for CM9.

For now I have made 5 phone calls and received 3 and everything went well, or maybe it's just a placebo effect?

EDIT: it's really a placebo effect, the problem persists randomly, I'll try to find other solutions...
[Optimus One, P500 Original Android Development] androidmeda:
Sad, it stopped working again. FCs when uploading. Rolled back to v1.1.3 seems to be a sporadic issue. But hey that's just one app.
[Optimus One, P500 Original Android Development] yuripg1:
Those settings aren't for any CyanogenMod ROM. They are for Motorola and LG ROMs respectively.

I believe so.
[Optimus One, P500 Original Android Development] :
Can you test attached kernel? Now, opmode=2, method=0.
[Optimus One, P500 Original Android Development] divanikus:
Ok, since we are likely won't get any support from Qualcomm, we should think about what to do next.

Currently, I see omx with older libs fails on get_config and get_extension_index calls. This calls are enabled by libstagefright for NativeWindow implementation.

Funny thing, calls are present, by they are like that

; omx_vdec::get_config(void *, OMX_INDEXTYPE, void *)
EXPORT _ZN8omx_vdec10get_configEPv13OMX_INDEXTYPES0_
_ZN8omx_vdec10get_configEPv13OMX_INDEXTYPES0_
PUSH {R4,LR}
MOVS R2, #0x9E
LSLS R1, R2, #1
LDR R3, [R0,R1]
CMP R3, #0
BEQ loc_10D96
LDR R1, =(aVcodecOmx_vdec - 0x10D8E)
LDR R2, =(aErrorGet_confi - 0x10D90)
MOVS R0, #6
ADD R1, PC ; "VCODEC omx_vdec"
ADD R2, PC ; "Error: get_config Not Implemented\n"
BLX __android_log_print
LDR R0, =0x80001006

locret_10D94
POP {R4,PC}
; ---------------------------------------------------------------------------

loc_10D96
LDR R1, =(aVcodecOmx_vdec - 0x10DA0)
LDR R2, =(aGetConfigInInv - 0x10DA2)
MOVS R0, #6
ADD R1, PC ; "VCODEC omx_vdec"
ADD R2, PC ; "Get Config in Invalid State\n"
BLX __android_log_print
LDR R0, =0x8000100A
B locret_10D94
; End of function omx_vdec::get_config(void *,OMX_INDEXTYPE,void *)

Other words, they are faulting execution by returning error "Not Implemented". I didn't dig much at this direction, but I hope we shouldn't have more missing functions. So, kinda quick and dirty solution I could imagine is proxy vdec codec or libstagefright stubs. But we need libs from msm7227a to see what info is returned by those functions.

Another idea I've heard is to try binary translation of msm7227a libs - convert them to assembly code, fix missing instructions, recompile to armv6. I do have some skills on x86 assembler, but can't say that for arm. So, I don't know if there are any tools to do that.

We could try full reimplementation of those codecs, but I think it would take too much time to complete.

I can't say we would succeed for sure, but hey, this isn't an alien technology, so someone could be able to do that. I do not know the whole picture of the problem and would like to hear others who ever tried to solve it. So, any thoughts about this? Is there a place where we can discuss it? I mean IRC channel or something.
[Optimus One, P500 Original Android Development] shishimaru1000:
There are two options:

1) it works

2) it doesn't work

If it works maybe it's not placebo effect :P
[Optimus One, P500 Original Android Development] vador9:
Proximity sensor behaving the same with the test kernel (black screen until call ended). So weird, why only some people have the bug.
[Optimus One, P500 Original Android Development] thanosl2:
Bump.that didnt work either well i dont think u should waiste more time investigating it. I just use screen on from market and power button to end call.. stupid bug but so hard to find solution . I think it is because some models use slightly diferrent hardware. Anyway ty for trying
[Optimus One, P500 Original Android Development] :
Maybe, some models use different hardware, but we can find what hardware used.

I am attaching latest indian sensor binary. This is different from v20g.

Copy ami304d binary in zip file:

su
cp ami304d /system/bin/ami304d
chmod 0755 /system/bin/ami304d
chown root shell /system/bin/ami304d
reboot

To find devices:

su
ls -a /dev > /sdcard/DEVLIST.txt
[Optimus One, P500 Original Android Development] melando:
+1 no effect from new kernel or modified build.prop

Will try your latest post (should we copy the zipped file to system/bin first before entering the commands in terminal?)

PS I am running v20H baseband (but again that did not fix sensor issues)

EDIT change of bin file is causing instability and sensor locks as if detecting an object in the proximity even when nothing there. Will extract and post the text file (hardware list) in the morning using PC before I restore backup... phone no longer usable (!)
[Optimus One, P500 Original Android Development] orsonbear:
Here my devlist.txt (ami304d unmodified)
[Optimus One, P500 Original Android Development] androidmeda:
My proximity sensor seems to be working just fine. Attaching devlist if it helps.
[Optimus One, P500 Original Android Development] baarod:
You are very skilled, hep. I tested the prox sensor all day today, over 40 calls in and out and I've not seen what they are reporting. I wipe EVERYTHING, SD, Dalvik, etc. Basically anything I can and then KDZ back to v10s. I then re-root, install the latest Clockworkmod, flash this and then emergency mode flash the new baseband. Hope this helps!
[Optimus One, P500 Original Android Development] melando:
My proximity problem is still there (nothing has worked except going back to CM7)...

Here is the devlist I ran off AFTER changing the ami304 file (before the phone became unstable): I noticed after the change if binary that the proximity sensor locked immediately as if it detected an object even though nothing was there :(

@Hephappy let me know if you want me to re-run the devlist after restoring the phone as well
[Optimus One, P500 Original Android Development] sam.bagga:
Hephappy thanks for trying,but nothing worked.

Tried Kernel and ami304d.

Roq kernel for CM7.2 always makes the Proximity Sensor behave correctly, but even it had the same setting as the test kernel.

Maybe there are some other Proximity settings too.

Have attached the Device List.
[Optimus One, P500 Original Android Development] :
I found this:

diff --git a/a.txt b/c.txt
index 12ebb02..edf32dd 100644
--- a/a.txt
+++ b/c.txt
@@ -166,8 +166,10 @@ urandom
usb_accessory
vcs
vcs1
+vcs63
vcsa
vcsa1
+vcsa63
xt_qtaguid
zero

But these devices are related to virtual console.

http://linux.die.net/man/4/vcs

http://linux.die.net/man/4/vcsa
[Optimus One, P500 Original Android Development] vador9:
I have both vcs&vcsa63, it should not be related
[Optimus One, P500 Original Android Development] RevengeFNF:
There is a commit in the Cyanogen Gerrit that is not merget yet, that seems it will help a lot the old phones like ours.

What the change do, is making the Apps open a lot faster.

Here it is: http://review.cyanogenmod.com/#/c/18319/
[Optimus One, P500 Original Android Development] :
new mirror

Added new mirror called Tayfun located in France (no bandwidth limit) to downloads sections.

If you like to listening rock music, I recommend http://www.radiosert.com/. There is also a play app: https://play.google.com/store/apps/details?id=com.conduit.app_bb6c8415298a4f7fab59050748d23c67.app

Thanks to "Tayfun Dagdelen" for providing unlimited bandwidth for our roms.
[Optimus One, P500 Original Android Development] akshay.s:
Sorry for OT but i could not stop saying this:

Kindly check out this link. It says CM 9.0 RC1 released for official devices which includes our LG Optimus One!!

http://www.xda-developers.com/android/cyanogenmod-9-rc1-for-37-devices/

When did our phone got official support? Is Hehappy / Arjen CM team member now?
[Optimus One, P500 Original Android Development] storm11:
Clearly a mistake the download pg has cm7 rc3
[Optimus One, P500 Original Android Development] kjetisve:
No sound/mike in ordinary call

Sound only when on loud speaker on latest TINYLIGHT build. Did the full-wipe incl dalvik from the previous build (which worked fine).

Apperciate your work btw, hephappy!
[Optimus One, P500 Original Android Development] GoncaloM:
DSP Manager

Hello HepHappy,

Fresh install of TINYLIGHT, DSP Manager not working.

If any log needed, just say it!

Thanks

Gonçalo
[Optimus One, P500 Original Android Development] bcaramu:
Network Search

Unable to select network from manual mode.

error while searching for networks
[Optimus One, P500 Original Android Development] Jaani:
No Proximity sensor issues with the latest build even with the previous one..but sometimes icons in notification are not shown when dragged down,after few secs it comes up..anyone having this???btw i have done full wipe b4 flashing tinylight :)
[Optimus One, P500 Original Android Development] chrisdf:
Enter in settings, then systemn notification drawer, and toggle SHOW POWER WIDGET.

That fixes that error when it happens.
[Optimus One, P500 Original Android Development] tdm:
Is it possible the optimus L7 will have our omx libs?
[Optimus One, P500 Original Android Development] thachtunganh:
Try it! But i think that it won't work, L7 is armV7 device

Love Tyn!
[Optimus One, P500 Original Android Development] androidmeda:
+1 for icons sometimes taking time to load. Pull it down and it's all blank.
[Optimus One, P500 Original Android Development] cure25:
I love when u say that,its already so much more responsive
[Optimus One, P500 Original Android Development] carrthee89:
That's really great.. BTW am using latest hephappy's build .. whenever am touching the screen, softkey backlight automatically gets turned on.. is it a bug:confused: can anyone tell me how to rectify that?
[Optimus One, P500 Original Android Development] adfad666:
It's not a bug, it's a feature ;)
[Optimus One, P500 Original Android Development] carrthee89:
LOL :D:D:D Can you tell me how to get rid of that feature?
[Optimus One, P500 Original Android Development] Arjen:
Guess somewhere in Settings...?
[Optimus One, P500 Original Android Development] vlt96:
Nope it isn't... it is a feature because galaxy nexus user have nothing to turn on:(

Seek the signature below the line;)
[Optimus One, P500 Original Android Development] theelle:
sorry if i ask this, but i wanna know if Instagram works with this version and so the bluetooth headset....

thanks for the answers....
[Optimus One, P500 Original Android Development] carrthee89:
Oops..:(:( back to AOKP..
[Optimus One, P500 Original Android Development] sam811:
you have to permanently turn the backlight off. someone wrote a script to turn off backlight. its in the theme&app section. check page 5-15.
[Optimus One, P500 Original Android Development] NikolaMK:
Ok guys, I don't know if this will give us some hope but...

There has been a leak of a Sony phone that runs on the same hardware as P500 - armv6 Qualcomm MSM7227 CPU, Adreno 200 GPU, 3MP camera etc.. that runs ICS 4.0.3!!!

If you guys don't find a fix for the camera until it's released(I'm sure you will :)), will this mean that we can use those drivers???

So one way or another it's just a matter of time until we get a fully functional ROM:)

Here's the link of the news:

http://www.gsmarena.com/unofficial_sony_st21i_leaks-news-4172.php
[Optimus One, P500 Original Android Development] ZatBaloo:
@Arjen, williamcharles and others:

What sources are you using? Are you using the "official" sources here https://github.com/p500 ? I have even tried to do make clean, but I always get the error I previously posted when I try to open the camera.
[Optimus One, P500 Original Android Development] williamcharles:
Yes, using the latest sources from hephappy. make sure u have the latest kernel sources.
[Optimus One, P500 Original Android Development] -DarkKnight-:
480p

general thread please

and please search atleast 10 pages back the answer is there before you post
[Optimus One, P500 Original Android Development] ZatBaloo:
The kernel sources are updated... I'm building cm_p500-eng, should I build cm_p500-userdebug instead?
[Optimus One, P500 Original Android Development] Arjen:
It is not the correct place to ask, but I will answer anyway ;)

Just do brunch p500 ;)
[Optimus One, P500 Original Android Development] fserve:
So, this one is the new CM9 port?

Or ludohirp fork will continue?
[Optimus One, P500 Original Android Development] vlt96:
They're a team :D
[Optimus One, P500 Original Android Development] :
test build

Ok guys,

Someone reported me BLIT_ERROR for camera. I think I fixed all camera errors, no more force close...

Can one dev test this build?

Link deleted... Read #2nd post.
[Optimus One, P500 Original Android Development] lupohirp:
but we have previwew now? i'm trying a fix right now

yes we have preview but it is not working good i'm compiling right now a build test hoping that works
[Optimus One, P500 Original Android Development] shishimaru1000:
Thank you very much guys, let us know :)
[Optimus One, P500 Original Android Development] :
+2, notification dropdown is sometimes blank!, just the bottom bar and carrier name..!
[Optimus One, P500 Original Android Development] alextirca:
Tryed with ondeman to, but no diferent, maybe is different hardware, my LG board was changed in LG service, due to jack lock in headset mode, maybe I have some LG ****ty board:(..I will go back to 2.3 or oxigen.

---------- Post added at 08:15 AM ---------- Previous post was at 08:14 AM ----------

+3 he's right, minor bug with the dropdown bar
[Optimus One, P500 Original Android Development] divanikus:
I think they won't work directly, but can be interesting to see for further investigation. Unfortunately I can't find any.
[Optimus One, P500 Original Android Development] Raffy 97:
+4

Inviato dal mio LG-P500 con Tapatalk 2
[Optimus One, P500 Original Android Development] nok2626:
Its a known issue in CyanogenMod. It even exist in CM7. We can't do anything until CM team fixes it.

Guys, correct me if am wrong.

---------- Post added at 01:46 PM ---------- Previous post was at 01:38 PM ----------

I came to know that ICS has Wifi Direct feature which allows for peer to peer file transfer like bluetooth. Why is this missing in our ROM.

Have a look at this link: http://android.stackexchange.com/a/19986
[Optimus One, P500 Original Android Development] Dales-Kas:
because our device didn't support wifi direct... there is a fix for manual network selection, but it for cm7, i don't know if it work in cm9....
[Optimus One, P500 Original Android Development] Jaani:
Bug Confirmed

Ok then the bug is confirmed..Hep plzzz look into this for the next build :good:
[Optimus One, P500 Original Android Development] Kerumen:
I have an issue : I can pull down the notification bar when the phone is locked. I don't know if it's normal or not.
[Optimus One, P500 Original Android Development] unicycler:
It's ICS feature.

And please go to discussion thread if you can't handle the requirements!
[Optimus One, P500 Original Android Development] rockvoid:
issue with tinylight:

changing volume during a call does not work
[Optimus One, P500 Original Android Development] fancccc:
i don't have this issue :confused:

also, killing apps with back button is taking much more time than in previous versions
[Optimus One, P500 Original Android Development] rockvoid:
- make a call

- wait until your colloquist answers the call

- change volume with hardware-buttons

--> volume indicator appears on display, but volume on internal speaker doesn´t change

edit: tried it again -> volume changes only very very little
[Optimus One, P500 Original Android Development] cas0404:
if you want to change the volume, in a call, you have to volume up to maximum first and then volume down, when i do that, the volume change to minimum
[Optimus One, P500 Original Android Development] rockvoid:
yes i know that (it´s really strange) - but even if i do it it´s a little too loud... i would prefer a little more quieter
[Optimus One, P500 Original Android Development] Roqu3:
I think you should ask this technical questions to Ricardo on G+, i think no one here knows how to help you
[Optimus One, P500 Original Android Development] Arjen:
Better open an own thread for this project :thumbup:
[Optimus One, P500 Original Android Development] :
2 months ago, I said "You will never get omx libraries for armv6"

2 weeks ago, QCOM said "In a previous forum post, we indicated that we would look into this request and, unfortunately we are not able to support video codecs for ARMv6 OMX IL libs for Qualcomm's QDSP5 on MSM7x27. The architecture of MSM7x27 cannot support OpenMax video codecs for ARMv6 OMX IL on QDSP5 running on Android Ice Cream Sandwich (ICS)."

Now, I say, "You will never get omx libraries for armv6"

In the future, QCOM will say, "Buy new phone, armv7, armv8, armv9, etc"

Please stop omx related topics. If qcom says msm7x27 couldn't support it, it means "It cannot support OpenMax video codecs for ARMv6".

BECAUSE; QDSP6 & VIDC (armv7 uses this) is open source. However QDSP5 is open source, but VIDC is closed source for armv6. QCOM has never been published the codecs (VIDC) for armv6. SO, It cannot support OpenMax video codecs for ARMv6. If qcom releases the source code of codecs, we can hack, otherwise it is so so so so hard to hack ASSEMBLY code.
[Optimus One, P500 Original Android Development] divanikus:
I've asked Ricardo, but he didn't replied (yet).

I cannot find any source for it, except for block device in linux kernel.

I didn't shared the idea, so here it is. I've checked msm7225a libs and found that missing part is AndroidNativeBuffer OMX extenstion. Ok, it's seems to be hard to emulate.

Next, I've checked libstagefright for the code that actually needs that AndroidNativeBuffer support. It's NativeWindow API. AFAIK, it is used for accelerated on screen rendering. By examining libstagefright and especially OMXCodec.cpp, I found that not all codecs really use the NativeWindow API. Some codecs, like nvidia mpeg2 and internal software codes (OMX.google) doesn't use them at all.

So, I've added couple of hacks to disable NativeWindow for legacy codecs (see OMXCodec::OMXCodec). Later on, I've compared it with GB's OMXCodec.cpp. They had much common parts. So, all I did is tried to recreate older OMXCodec behavior for legacy libs (TARGET7x27 and mComponentName == "OMX.qcom.video..."). Also, I've disabled QCOM_HARDWARE, because it is messing the execution and seems to be unsupported by legacy libs.

Why am I thinking it might work? Look at that source file, it has LOTS of per device hacks. Why won't to try to add ours?
[Optimus One, P500 Original Android Development] :
QDSP5:

https://github.com/lgics/lge-kernel-msm7x27/tree/ics/arch/arm/mach-msm/qdsp5

VIDC (no support for msm7x27, I mean it is not open source)

https://github.com/lgics/lge-kernel-msm7x27/tree/ics/drivers/video/msm/vidc

OMX-CORE:

https://www.codeaurora.org/gitweb/q...ore.git;a=shortlog;h=refs/heads/ics_chocolate

OMX-AUDIO:

https://www.codeaurora.org/gitweb/q...dio.git;a=shortlog;h=refs/heads/ics_chocolate

OMX-VIDEO:

https://www.codeaurora.org/gitweb/q...deo.git;a=shortlog;h=refs/heads/ics_chocolate
[Optimus One, P500 Original Android Development] divanikus:
I saw that sources, they won't help much. They might help if we would start full reimplementation. Too bad I'm not that skilled for such attempt.
[Optimus One, P500 Original Android Development] RevengeFNF:
I think i found a bug regarding Wakelocks.

Sometimes, i noticed my phone start draining battery faster than normal when in sleep, and that i resolve that issue rebooting the phone.

This morning it happened again, and i checked in betterbatterystats, in Kernel Wakelock section, that what is keeping the phone awake is "USB_BUS_ACTIVE".

I rebooted the phone and everything went normal again.

I forgot to take a logcat, but i'll do it next time the bug happens again.
[Optimus One, P500 Original Android Development] Cresqo:
It happens when you plug in your phone to the computer, and the wakelock will kick in, normally the wakelock would end when the phone is unplugged, however sometimes it would remain.
[Optimus One, P500 Original Android Development] RevengeFNF:
I did not connect the phone to the computer, what i did was connect it to the charger, that uses usb anyways.
[Optimus One, P500 Original Android Development] darthjuanan:
Chrome as default browser, please :-)

I'm trying to use the Junos Pulse application, but it doesn't work in ICS, nor in this ROM, as usual.

I've readed that the problem is the default browser of the ROM. And now, it has been released the Chrome browser for ICS.

Could you think about make a version with Chrome as default browser?

Thanks in advance, and congratulations for your rom (great, great work, guy).

Greetings from Spain (winners of the Euro 2012... too).
[Optimus One, P500 Original Android Development] shishimaru1000:
Unfortunately Google Chrome for Android is armv7 only and we've armv6.
[Optimus One, P500 Original Android Development] -DarkKnight-:
Have you even tried chrome as the non default browser on this device

If it works please share to us how you did it

If it doesn't work then why are you asking this
[Optimus One, P500 Original Android Development] DieGo316:
This ROM is trying to be as similar as posible as official CM9, apps not being used in offical CM9 wont appear here, plus chrome is for armv7, our beloved phone is armv6 :(
[Optimus One, P500 Original Android Development] kawaiiDango:
i can confirm this bug. Actually phone never sleeps during charging, and the wakelock persists even after charger is removed. Normally the phone should sleep while charging unless "Stay awake" is enabled in developer settings
[Optimus One, P500 Original Android Development] chrisdf:
What should we do to prevent this?, after a complete charge power cycle the phone?
[Optimus One, P500 Original Android Development] Bhawan:
Good ICS ever

Hi,

I found this link and install the same on my O1.

It's so cool..

Everything is working fine and awesome.. But one thing I found a bit laggy, i.e the video playback.... as compared to GB and froyo one's.... Overclocking to 787Mhz rectifies the issue a bit... but... not much of that... May be the problem solves by some other kernel...

Can anyone suggest me a kernel...???

But overall.. it's a good Mature ICS rom :victory:

Thanks.!!
[Optimus One, P500 Original Android Development] RockR172:
Its a known issue and absolutely nothing can be done bout it due to lack of OMX Codecs...

Shift down to GB if u watch lots of videos...
[Optimus One, P500 Original Android Development] vatsal28:
doubt

umm is it just me or does anyone else has experienced a drastic battery drain with this ROM when 3G is on??:confused:
[Optimus One, P500 Original Android Development] xu3sno:
It has been reported for so many times. Follow hephappy suggestion on page 1, for using 2G only, and sorry, go to discussion. Do not polluted this devs thread as requested!
[Optimus One, P500 Original Android Development] sajjan:
phone is awake all the time...using tiny light...

my phone is awake continously even wgen i am not using it and data is off....experiencing battery drain...clock is set to max: 600 mhz as recommended...kindly help
[Optimus One, P500 Original Android Development] rockvoid:
here too - i think gapps is causing battery drain...