yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] Asuma06:
@mik

This is just a suggestion, the best way to flash this is to wipe everything and reformat the sdcard manually in windows. Once I've done this the only thing I notice that was having the problem is the screen when you unlock it and the camera. when I flashed this doing the steps above, it only took 5 minutes to complete the flashing which was great. battery time was normal when I tested it, wifi works fine. If only I have time to checked all the bugs. but will try to check for other issue. This is still nice even with bugs. I like what you have started.
[Optimus One, P500 Original Android Development] ciolnadu:
till now it's ok

only thing im yahoo messenger contacts appear doubled or some of them not at all

also Der_caveman kernell working
[Optimus One, P500 Original Android Development] ciolnadu:
got working circle battery
[Optimus One, P500 Original Android Development] mik_os:
In a future builds of CM will be nice native battery with percantage.
[Optimus One, P500 Original Android Development] ciolnadu:
yes

but it is easy to do it after u google a little and find this

http://circle.glx.nl/
[Optimus One, P500 Original Android Development] ciolnadu:
an btw loks like video it's not working at least for me
[Optimus One, P500 Original Android Development] mik_os:
Type of video?
[Optimus One, P500 Original Android Development] ciolnadu:
mpeg layer 3 xvid
[Optimus One, P500 Original Android Development] ciolnadu:
about camera if u try to take a picture it FC

afther that it says it cannot connect to camera

and a new bug

when making a call on speaker the volume remanes like on normal call

it doesn't get louder even it's setted on max
[Optimus One, P500 Original Android Development] andy572:
Very interesting, what LG has done in there camerApp.apk:

I've testing a little bit with some other config in build gingerbread from source, removed the gingerbread camera and deodexed the original shipped camera app from LG and have started it for testing:

I/dalvikvm( 1733): Could not find method android.hardware.Camera$Parameters.setGpsLatitudeRef, referenced from method com.lge.camera.CameraApp.takePicture
W/dalvikvm( 1733): VFY: unable to resolve virtual method 163: Landroid/hardware/Camera$Parameters;.setGpsLatitudeRef (Ljava/lang/String;)V
D/dalvikvm( 1733): VFY: replacing opcode 0x6e at 0x00dc
I/dalvikvm( 1733): Could not find method android.hardware.Camera$Parameters.setExifDateTime, referenced from method com.lge.camera.CameraApp.takePicture
W/dalvikvm( 1733): VFY: unable to resolve virtual method 158: Landroid/hardware/Camera$Parameters;.setExifDateTime (Ljava/lang/String;)V
D/dalvikvm( 1733): VFY: replacing opcode 0x6e at 0x0166
D/dalvikvm( 1733): VFY: dead code 0x00df-0143 in Lcom/lge/camera/CameraApp;.takePicture ()V
D/dalvikvm( 1733): VFY: dead code 0x0169-0190 in Lcom/lge/camera/CameraApp;.takePicture ()V
D/dalvikvm( 1733): VFY: dead code 0x023f-024c in Lcom/lge/camera/CameraApp;.takePicture ()V
I/dalvikvm( 1733): Could not find method com.lge.provider.Andy_Flex.getUserFlexValue, referenced from method com.lge.camera.CameraApp.onCreate
W/dalvikvm( 1733): VFY: unable to resolve static method 1772: Lcom/lge/provider/Andy_Flex;.getUserFlexValue (Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
D/dalvikvm( 1733): VFY: replacing opcode 0x71 at 0x006f
D/dalvikvm( 1733): VFY: dead code 0x0072-00a6 in Lcom/lge/camera/CameraApp;.onCreate (Landroid/os/Bundle;)V

Question 1)

What does Flex ? there is a database in /etc/flex (in froyo) and in kernel it exists a module that is no modular but hard coded.

It can not be start as a service, nor exists a library ... seems like confused for me.

Question 2)

Does LG try to get GPS vars before the app can start ? after this lines there is a FC coming and thats it with the camer app ...

### EDIT:

@mik

have tested today the camera sources from swift project (LG GT540), but no luck - it compiles, but nothing happens :(

Would you see the logcat ?
[Optimus One, P500 Original Android Development] ciolnadu:
With camera everyone has problems on all types of phones.
[Optimus One, P500 Original Android Development] leonlmf:
the phone run very fast. It will be prefect if able to get the camera work and some bugs fix. Too bad I know nothing about the program. wifi still got some problem it got the ip address just just no data receiving.
[Optimus One, P500 Original Android Development] michael.ahdett:
No matter what I try I seem to be permanently stuck at the boot screen. I've been waiting 20+ minutes with each try, been trying on and off since 5 hours ago.

It's weird, because the rom from this thread works just fine on my optimus-t.
[Optimus One, P500 Original Android Development] theelle:
no answers?
[Optimus One, P500 Original Android Development] allsalvati:
GPS working flawlessly.

I didn't test bluetooth.
[Optimus One, P500 Original Android Development] razvanborza:
i know i'm a n00b... flashed alpha4 from recovery,wiped data/cache. everything installed ok but when to start my phone blocked at android logo (updated from stock 2.2). pls help
[Optimus One, P500 Original Android Development] bioan:
From first post:

Sometimes Recovery can't format /system so you must remove all files before flashing zip (bug still here):

1. Mount /system in recovery.

2. adb shell rm -rf /system/*

You get 1 error. This is ok.

P.S: Thanks johno168 for the tip. I've reflashed Alpha 4 and totally forgot about that.
[Optimus One, P500 Original Android Development] ciolnadu:
exactly what badeaioan said should work
[Optimus One, P500 Original Android Development] vault1965:
This rom is keeper for me, thanks mik. I am more than willing to donate for your work if you can provide me with the means (paypal, etc).

Bugs that i have found are more or less the same as others have reported but i will still put a list in order to inform better people that are to lazy to read through all posts in order of importance:

- Bad battery drain with wifi (can be mitigated by changing value for wifi scanning in build.prop, do not expect miracles)

- No native WiFi tethering (you can use 3rd party app like Barnacle)

- Various sound problems > low and mono sound when you use headphones > DSP

manager working very badly with media headphones, compression causes distortion

(this was almost a killer for me, but until it is sorted i can live with it.)

- No manual network provider selector (no third party solution here)

- Device will boot as soon as you attach usb, it is no possible to charge phone

without OS loaded

- Black screen bug after unlock or phone call (almost fixed in alpha 4, activate proximity sensor in phone settings to squash this bug)

- Some app interfaces seems rendered in 16 colors :p

All in all, i am using this rom with 16Gb 6x Lexar sd card, ext4 1 gig partition,

a2sd Tremor script, apps and dalvik on sd ext and rocking all usual apps

without problems.

People, instead of asking for features all the time, maybe some more offers in means of donations or coop work would be more welcome. Like one great man said,obviously changing a bit his message to suit this situation, "Do not ask what Mik can do for you, ask yourself what can you do for Mik"
[Optimus One, P500 Original Android Development] ivan1real:
Do not ask what Mik can do for you, ask whats for lunch :P

Gonna try this now.
[Optimus One, P500 Original Android Development] tready:
Or better still download the system format file 3 pages BK place on root of sdcard boot into recovery wipe as normal then flash the file this will format your system then flash rom reboot job done saves using PC
[Optimus One, P500 Original Android Development] cimdrap:
before fixing the bugs this rom needs to get it working the whole features and now the tethering isn't working. Another important thing is to make this dev official so people could be able to update the new releses without flashing it over again.
[Optimus One, P500 Original Android Development] ivan1real:
Screen bug looks fixed, good job.
[Optimus One, P500 Original Android Development] dirtyplay:
How to upgrade from 2.3.2 to 2.3.3, should be formatted again / system?
[Optimus One, P500 Original Android Development] irondevil:
no you don't need to format system manually
[Optimus One, P500 Original Android Development] sarfaraz1989:
so is the audio fixed ???? btw wat sound mixer does android use pulseaudio ???...
[Optimus One, P500 Original Android Development] dirtyplay:
Do I need to wipe data / cache or not have?
[Optimus One, P500 Original Android Development] allsalvati:
Just flash.

You don't need to wipe data/cache.

But i don't know if you need to wipe dalvik cache.

I flashed over Alpha 3 without wipe anything and it's working here.
[Optimus One, P500 Original Android Development] razvanborza:
no .. audio is bad, i think some offset-preamplification in sound lib do this .
[Optimus One, P500 Original Android Development] homecanibal:
Just one word for this rom. EXCELENT

Just fix the big draing battery, and thats ok for me.

Go Mik.

Cumps
[Optimus One, P500 Original Android Development] johno168:
I think the acceleromtre is worse now, even though the transition affect is ugly before, it didn't stutter when playing with iBeer and in Doodle jump the accelerometer doesn't react well at all. Can you fix this.? Also Battery icon is more blurrier than beffore.

Edit I rebooted and doodle jump seemed a bit more responsive but ibeer has some problems. Works on void ok.
[Optimus One, P500 Original Android Development] lupohirp:
I've founded a bug!!!i can't hide SIM numbers!!!!!
[Optimus One, P500 Original Android Development] homecanibal:
Hi there, i'm using swiftkey and when i reboot the phone, back to gingerbread keyboard.

Its a bug?
[Optimus One, P500 Original Android Development] linkinparkfan007:
Wow I get like 50% for Android System after like 10 hours battery is like at 30%...
[Optimus One, P500 Original Android Development] ebautista:
I'm not surprised. Mine is overclocked in 806 and still up for 3days. :)
[Optimus One, P500 Original Android Development] BlackRose 22:
When I do reflash do I need to wipe data/etc. I hope not

From My LG Optimus P509 CM7
[Optimus One, P500 Original Android Development] BlackRose 22:
I'm running 7.1.0 RCO. Stable

From My LG Optimus P509 CM7
[Optimus One, P500 Original Android Development] k4ce:
Just one question ... Why does this ROM detect my 512mb ext3 partition as only 200MB ?... On the other ROMs, titanium backup shows 499mb app2sd partition and it fills up accordingly .... But with this ROM, it shows as 200mb only ... anybdy else having this issue ?
[Optimus One, P500 Original Android Development] lekhwani:
Reflashing with darktremor should solve it.
[Optimus One, P500 Original Android Development] InfiniteRisen:
I would love that too.
[Optimus One, P500 Original Android Development] k00lrav:
Does this rom allow for 4g connection because my phone shows the H on the top and my internet is way faster. I also checked under info and shows am connected to hsdpa. So I was just wondering if this rom allows for 4g connection.
[Optimus One, P500 Original Android Development] liangse:
H for hsdpa, it's 3.5G not 4G

4G is H+ i believe

And this phone not supprt 4G

CMIIW
[Optimus One, P500 Original Android Development] k4ce:
@lekhwani .... Brought no change after reflashing .. I am using 2.7.5.2-1 ... could you please share the version that works for you ..
[Optimus One, P500 Original Android Development] geoemm:
Which vm heap size is the best 48 or 32...

@mik. Can we expect to see zram initialized in your next rom
[Optimus One, P500 Original Android Development] BlackRose 22:
I back my rom cm7 and I the folder there is mik cm7 boot animation .. so yea so can't I just flash that back ...other than the whole think

From My LG Optimus P509 CM7
[Optimus One, P500 Original Android Development] 4silvertooth:
He already said that we have enough ram we dont need zram.
[Optimus One, P500 Original Android Development] geoemm:
Wat about vm heap size
[Optimus One, P500 Original Android Development] GauharJK:
I wonder when the next CM7 version would come out...
[Optimus One, P500 Original Android Development] Zerobarat1:
Mik is currently trying to make CM7 for O1 official :) , after he finishes he will restart updating his rom.
[Optimus One, P500 Original Android Development] lekhwani:
Mik, where in the world you are? You have not posted a single reply for last two days.

Have been swiching between cm and v20x lately. But on cm i dont have gsm, though wifi is there. This baseband issue really sucks.

Earlier we could restore any rom in 5 mins. What can we do with this baseband issue? I think you are the best and you may have some idea on how to resolve this so that we can flash something from recovery to bring compatibility while switching roms.

First step in this direction is mysterious. With franco kernel official gb has gsm but it messes up with 3d.
[Optimus One, P500 Original Android Development] evgenums:
http://csmg.lgmobile.com:9002/swdata/WEBSW..._00/V20B_00.kdz official upgrade O1
[Optimus One, P500 Original Android Development] lekhwani:
So now we have 20a/b/g.
[Optimus One, P500 Original Android Development] DigitalAnalog:
I think the next one will be n. :p
[Optimus One, P500 Original Android Development] kly91:
Where exactly are you seeing the 200mb.? If at the storage under settings then that's just the internal memory..you could check if you have a2sd at the homepage of titanium backup..or at sd maid if you are using any of these apps..
[Optimus One, P500 Original Android Development] dung_dung1341:
Next release will be a BOMB !

Thanks Mik bro
[Optimus One, P500 Original Android Development] mvgadagi:
Cyabogen official relesed RC 1 with lot if tweaks
[Optimus One, P500 Original Android Development] digkong:
cyabogen..??
[Optimus One, P500 Original Android Development] evgenums:
Sorry for offtop, so as BolGen OS, may be somebody listen about this :)
[Optimus One, P500 Original Android Development] lupohirp:
why in the gerrit i see only pushes of kiril mikos???:))).....the good thing that they support motorola cliq xt (aka zeppelin) that have hvga screen like us....maybe we can finally get status bar icons for hvga resolution from framework/res of zeppelin???we can use them...!!o i'm wrong?
[Optimus One, P500 Original Android Development] mik_os:
What does not work with new baseband? Only GSM?
[Optimus One, P500 Original Android Development] lupohirp:
yes mik seems only this!!!!
[Optimus One, P500 Original Android Development] lekhwani:
Yeah. GSM only. Currently I am at home and am running your cm. everything else is there. I am sending this through tapatalk via wifi. I have nand backups of cm and v20g. I had flashed official gb about 10 days back. So my baseband has changed. Normal bluetooth transfers are also working. Games, media all working as normal. So only gsm is not working.
[Optimus One, P500 Original Android Development] nchall:
No Notifications Sound in Airplane

I am only using my phone in Airplane mode, without a SIM card. Any idea why this would prevent me from receiving notification sounds?
[Optimus One, P500 Original Android Development] lekhwani:
What's up mik?
[Optimus One, P500 Original Android Development] k4ce:
yup ... it says a2sd and 200mb with 38mb free (but it is actually reporting my ROM stats IMHO) ... after a wipe and clean install ...

Downloaded the latest version ... will try flashing this ...

EDIT: Finally got it working .. Just got the latest version of app2sd and now everything fine :) ... Attaching working copy of dt app2sd
[Optimus One, P500 Original Android Development] mik_os:
Crap, opensource libril doesn't want work with new baseband. Once more big problem for merging into CM project...

I'll provide zip for old baseband and small patch for new one.

New build will be in a few hours.
[Optimus One, P500 Original Android Development] mathew3184:
change log

?
[Optimus One, P500 Original Android Development] lekhwani:
Great going mik! So does it mean we can enjoy your cm on new baseband as well?

I know you are the best!
[Optimus One, P500 Original Android Development] :
Wondering whether LG did this baseband fsck-up on purpose or what... :mad:
[Optimus One, P500 Original Android Development] manast:
Franco Kernel by default :D Waiting for this one. :)
[Optimus One, P500 Original Android Development] Jaani:
What i observed that the exposure settings in the camera never stays according to the preference ie,everytime it sets itself to default when camera is started..is this is a known bug or its normal???
[Optimus One, P500 Original Android Development] mik_os:
beta6.5.5 online. Link to patch for new basebands has been added to faq.

I planned to provide this build for testing only (new opensource libril should be introduced in this build) but with this crappy baseband problem I have to revert some my work so this is one more buid with little changelog.

p.s. patch should be compatible with any rom (2.2.*/2.3.*) here so you can easily install 2.2 roms (+ this patch) after official 2.3.
[Optimus One, P500 Original Android Development] naturist:
Mik, you have forget to add the complete link^^

Q: I have new baseband, how fix gsm? (you have new baseband if you upgraded your phone to official 2.3.3)

A: Flash this: http://www.multiupload.com/
[Optimus One, P500 Original Android Development] mik_os:
fixed xD

....
[Optimus One, P500 Original Android Development] bgdxv:
Is there any possibility that the new baseband could improve anything in the phone, like signal quality?
[Optimus One, P500 Original Android Development] nobooya:
Mik, you included all tweaks from franciscofranco's kernel to .42? And it's BFS or CFS?
[Optimus One, P500 Original Android Development] flaviopac:
I flashed 6.5.4 one hour ago... DOH! :D

yes it improves audio call quality and general signal reception.
[Optimus One, P500 Original Android Development] xuso:
Does not work for me the baseband patch :/ Neither ask for the pin :confused:
[Optimus One, P500 Original Android Development] mik_os:
BFS cause problems with video so no BFS.

As franciscofranco said he made his kernel 100% compatible with CM7, I updated it to 2.6.32.42.

1. Do you installed patch after rom?

2. Do you have new baseband?
[Optimus One, P500 Original Android Development] flaviopac:
So we can flash JUST the new badeband with the russian tool and then use your CM7?
[Optimus One, P500 Original Android Development] mik_os:
Yes, also you can don't flash nothing and use my CM7 :)
[Optimus One, P500 Original Android Development] xuso:
1. Yes.

2. I tell you:

1.- Your rom installed (for a long time)

2.- Install new 2.3 LG firmware to unlock the phone (On CM7 does not appear hidden menu to unlock)

3.- I have signal

4.- Install your rom (or get back to my backup -first point-)

5.- No signal

6.- Install patch

7.- No signal

But I'm looking at baseband version and shows:

v07u-000-000-MAR-23-2009

So, that's not new baseband, is it? I thought installing 2.3 LG firm would change the baseband.... So, what may be my problem? Related to baseband or unlocking?
[Optimus One, P500 Original Android Development] flaviopac:
ehehe :D:p

This afternoon I reverted back my device from official gingerbread to your rom (so I used the russian tool for coming back)..

This mean I must use it again to flash JUST the new baseband and then flash the new CM7, right?

and this means that, from now, we can flash 2.3.3 based rom or CM7 builds without passing through the russian tool..?

Thanks a lot mate, your rom rocks! :):rolleyes:
[Optimus One, P500 Original Android Development] mik_os:
hm, just tried patch once more after clean install. It works, I flashed v20g.

The baseband version in About Phone seems does not related to real version...

Default zip still supports only old baseband so you can use it just now.

You need patch if you want to use my rom on a new baseband.
[Optimus One, P500 Original Android Development] nobooya:
Did you install LG 2.3 with recovery? You should have done this with KDZ
[Optimus One, P500 Original Android Development] xuso:
KDZ. Installation of v20g worked like a charm... I had signal and everything.

Edit: Well, then I installed the mod version (v20g.zip) with recovery (I don't know why) but I don't think that could be the problem... or yes?
[Optimus One, P500 Original Android Development] flaviopac:
Considering new baseband seems better in audio quality and signal reception, I'm thinking about flashing the new baseband via the russian tool, then flash CM7 6.5.5 and finally "baseband fix"

It should work... :rolleyes:
[Optimus One, P500 Original Android Development] N_lover27:
About new-baseband-patch-signed

this for those people who has already Installed official 2.3.3

in past if you wanted to install any Custom ROM after you flashed official 2.3.3, you had to use KDZ tool to go back to Official 2.2 to get the network working.

but now you can easily flash any custom ROM by recovery. and if you do not see network then flash new-baseband-patch-signed and bingo now you have signal....;)
[Optimus One, P500 Original Android Development] nobooya:
Nope, that's not the problem.

I wanted to flash new baseband, but I think I'll wait a little more.
[Optimus One, P500 Original Android Development] tsuda:
Confirmed. I used to get almost no GSM/3G signal at my desk at work. After flashing the new baseband, I get much better signals.

Thanks very much to mik_os for providing the "compatibility patch" to the new baseband! Now I can flash back to CM7 easily.
[Optimus One, P500 Original Android Development] naturist:
Mik: So baseband stays in the phone itself ? Its not related to rom ? Coz by your procedure, we can directly flash the Gingerbread 20G, and then flash the patch to overcome the baseband issue ?
[Optimus One, P500 Original Android Development] N_lover27:
I think so Testing now. if it does I will report here. IF it really does then its very useful...
[Optimus One, P500 Original Android Development] mik_os:
Yes. I think in future this new baseband will be "main" and I'll provide backvard patch for old one.
[Optimus One, P500 Original Android Development] xuso:
Any solution? Please, I'm travelling to Malta in 5 hours!! hahah

Is there any way to "downgrade" the baseband?
[Optimus One, P500 Original Android Development] flaviopac:
Use the russian tool and, following instructions, flash stock v10n rom instead of official gingerbread ;)
[Optimus One, P500 Original Android Development] xuso:
Russian tool is LGMDP-v1.5.exe??

Edit:

Where can I find v10n? The link on official roms thread is dead :(
[Optimus One, P500 Original Android Development] BlackRose 22:
So your saying if I update to the official GB by lg.. and I flash cm7 which will include my baseband not working .. so all I have to do I flash the patch .. and it should work right .... thanks ..

From My LG Optimus P509 CM7
[Optimus One, P500 Original Android Development] N_lover27:
just flash the 2.2 stock rom via KDZ. dont need to use LGMDP
[Optimus One, P500 Original Android Development] BlackRose 22:
So mik I can't flash franko v18 kernel unless its the cfs. Version no bfs okkkk thanks

From My LG Optimus P509 CM7
[Optimus One, P500 Original Android Development] franciscofranco:
Oh nice I didn't know you were already using my kernel, it's very nice to see my work associated with CM7. Thanks ;)
[Optimus One, P500 Original Android Development] xuso:
And where can I find stock 2.2? :)
[Optimus One, P500 Original Android Development] N_lover27:
you can find all what you need

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

http://xdaforums.com/showthread.php?t=1060121
[Optimus One, P500 Original Android Development] flaviopac:
here zip for v10e ;)

http://www.multiupload.com/TO0DDB48QC
[Optimus One, P500 Original Android Development] xuso:
Thanks both, flashing right now :)

BTW, sorry for the little offtopic mik :(
[Optimus One, P500 Original Android Development] xuso:
Perfect... I've lost the recovery and stucks at android logo :)

I gonna change the recovery again.. and dunno.. flashing something over :confused:
[Optimus One, P500 Original Android Development] BlackRose 22:
So I can only use cfs on the update? ..I'm using 6.5.4 so can I flash v18 cfs for mik_cm7? Since bfs/video problem

From My LG Optimus P509 CM7