yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] natedogg20050:
well i gonna finish the build of gingerbread in a couple of hours

there is no workin kernel or anything i just build by google sources via ubuntu if u want to edit something else you are very welcome to help gonna upload files soon system img and more.

Edit: Andy i need your help when i start trying to make the build i get the error

build/core/main.mk:77: You are attempting to build on a 32-bit system.

build/core/main.mk:78: Only 64-bit build environments are supported beyond froyo/2.2.

build/core/main.mk:79: ************************************************************

build/core/main.mk:80: *** stop. Schluss.

any help ?
[Optimus One, P500 Original Android Development] andy572:
Read my walkthrough on thread start: there is a step to fix this error ;)

... its step 6.)
[Optimus One, P500 Original Android Development] natedogg20050:
$find . -name '*.mk' | xargs sed -i 's/-m64//g' da komme ich nicht weiter wenn ich das eintippe im terminal krieg ich ne fehler meldung das es ist gefunden wurde.

root@alex-VirtualBox:/home/android# $find . -name '*.mk' | xargs sed -i 's/-m64//g'

bash: .: -n: Ungültige Option

.: Gebrauch: . filename [arguments]

sed: no input files
[Optimus One, P500 Original Android Development] andy572:
Sorry, forgot to remove the "$"-sign before find.

find . -name '*.mk' | xargs sed -i 's/-m64//g'

EDIT: walkthrough changed now.
[Optimus One, P500 Original Android Development] natedogg20050:
still have the same errors do u have msn ?
[Optimus One, P500 Original Android Development] mik_os:
Uploaded new sources. Working Wifi, Audio, GSM (Call, SMS, GPRS/EDGE, maybe 3G). Now you can build it yourself.

https://github.com/mik9
[Optimus One, P500 Original Android Development] cimdrap:
am i wrong or we are near to cook a new gingerbread based rom?
[Optimus One, P500 Original Android Development] staticxx:
good question cimdrap!
[Optimus One, P500 Original Android Development] andy572:
Sorry, but how to compile your recovery ?

Should be included in gingerbread sources and than comiled ?

If so, how to setup ?
[Optimus One, P500 Original Android Development] mik_os:
Checkout all CM sourcer, replace bootable/recovery with my, place device into device/lge/thunderg, type:

make otapackage -j3

I don't know about support new recovery updates in Amon RA so first flash recovery img, and than apply in new recovery compiled zip.
[Optimus One, P500 Original Android Development] andy572:
Thanks, i'll try :)

### EDIT:

ERROR...

make: *** No rule to make target `otapackage'. Stop.
[Optimus One, P500 Original Android Development] andy572:
@mik,

because of camera failures:

I've readed about a config from com.lge.camera in froyo, but this file seems for me unusable, but possibly you have an idea:

have a look at /data/data/com.lge.camera(???) on froyo, there is a AlohaCameraAppConfig.xml with some variables. Looks like, we can use a camera config/libs from aloha device or so?
[Optimus One, P500 Original Android Development] mik_os:
I don't think so. LG Camera App has not related to general android camera interface that provide libcamera (example: apps like barcode scanner does not use nothing from lg camera app).

I did some modification to get succesful loading proprietary libcamera.so during boot but it crash when somthing trying to access camera.

So there are 2 way:

1. Try to disassamble libcamera and find out why it crash.

2. Try to get work opensource libcamera from GT540.

LG very cutted logcat in 2.2. I'll try to build new liblog for 2.2 and see full logcat of camera starting.
[Optimus One, P500 Original Android Development] mik_os:
What problems with WL 1271/1273?

I do not have any device with it.
[Optimus One, P500 Original Android Development] andy572:
Ok, so one more info^^

have installed the libcamera from swift project on github, the UI seems like identical to that when z71 libs are used, but kernel is more responsive:

<6>[ 49.062903] [adsp.c:msm_adsp_get] opening module QCAMTASK
<6>[ 49.064129] [adsp.c:msm_adsp_get] opening module VFETASK
<6>[ 49.265864] msm_enqueue: queue event new max is 1
<6>[ 49.290819] msm_enqueue: queue control new max is 1
<3>[ 49.476059] [adsp.c:__msm_adsp_write] module VFETASK not enabled before write
<6>[ 52.085563] rmnet_stop()
<6>[ 54.723921] rmnet_open()
<4>[ 55.059839] save exit: isCheckpointed 1
<4>[ 61.079141] save exit: isCheckpointed 1
<7>[ 65.368609] rmnet0: no IPv6 routers present
<6>[ 66.037621] msm_enqueue: queue control new max is 1
<3>[ 66.059683] [adsp.c:__msm_adsp_write] module VFETASK not enabled before write
<3>[ 66.141373] [adsp.c:__msm_adsp_write] module VFETASK not enabled before write

Have today now readed, that libcamera uses adsp in kernel, so no wonder when there are logs about adsp.

The logs came as follows:

device was booted, camera app started and try to take a picture.

probably we can try this hack:

http://gitorious.org/linux-on-qualc...mmit/3b5a9d78157d46d169fe2d09e88a1c11e8c97a16

WTF is VFETASK ???
[Optimus One, P500 Original Android Development] taha198:
Hey andy gud to c u again taking interest in project.

you and mik are great team.
[Optimus One, P500 Original Android Development] andy572:
OK, the hack needs a little debug and code search ... is not 100% compatible with our kernel, i'm trying it out - tomorrow i give feedback here if that works.

@taha198

I can't sit and wait that other people do all that work alone - this was my opinion to give up to work on gingerbread;)
[Optimus One, P500 Original Android Development] shhbz:
REQUEST

it would have been great if the developer would have provided all necessary steps to install custom rom .As it would be helpful and even the thread would be clean and tidy like other or rather create a new thread providing links for all necessary files and steps to install android updates.this would be great and we can help this thread to reach to a new level as it is gaining pace and stability.

just a suggestion since i found it difficult to get all necessary steps to install these roms for my lg p500 .hope the dev thinks about it as i really like the great work already done by the dev
[Optimus One, P500 Original Android Development] mikimisek:
As far as i saw the rom is not ready for everyday use (not all stuff is working) so its better for dev to not post the full instructions for even grandma being able to use this rom.

That way he avoid all unnessecary questions why this and that stuff is not working and so on. Rom is just not ready for everyday use yet. Some people are using it tho... But those people know limitations and are aware of them.

I think the full steps of avoiding is some kind foolproof. Steps are explained in thread and the one who would want it would get it.

Im sure full steps will be posted when rom is ready for average user to use.
[Optimus One, P500 Original Android Development] andy572:
thanks for answering @mikimisek,

this is a development thread only, so not anybody should install this alpha roms without knowledge of potential damage risk or to brick some parts of the mobile.

Software parts or complete roms are for developers only or users where know about all the risks and would like to test;)

currently published alpha versions are tested only by me before i upload...
[Optimus One, P500 Original Android Development] andy572:
OK guys,

camera has a mega big step to the right place:

camera is working in basic - we can see the preview and take snapshots and take movies from camera, but there are a few bugs inside the app or library there must be fixed now: the snapshot has a green layer over the picture and there is no thumbnail in picture gallery.

Think, there are not big problems so that can be fixed :) :) :) :)

later, i'll explain how to fix it that no cam in gingerbread can run.

### EDIT

APP freeze fixed, was a wrong modification in kernel.
[Optimus One, P500 Original Android Development] bioan:
Hope mik will see this and add it to his ROM.

Andy, what do you think that drains battery in the ROM ?
[Optimus One, P500 Original Android Development] andy572:
I think, the QRIL process is logging too much - each call to log requires ressources

and battery/cpu. mik is testing another qril library too, i've tested a short time but give up to fix that: qril is handling many of gsm features but with a qril from another mobile device gsm or 3G/umts is not working:/

another idea that i have is a overhead in kernel that needs many resources, but dont know where to search for.
[Optimus One, P500 Original Android Development] bioan:
I have one more question. The lockscreen fix is vital too. If you don't use a LW you have to tap on screen because it remains black. How could that be fixed ? (Including animation)
[Optimus One, P500 Original Android Development] mik_os:
Yes, qcril from another phome wont wont with our. Now I cutted QCRIL logs in liblog (same thing did LG in 2.2). Battery life seems a bit longer (4 hours active using Internet via GPRS = -40%).
[Optimus One, P500 Original Android Development] andy572:
Here's my explanation on how to get the camera work:

1.) copy the libcamera-sources from z71 source code from cyanogen github:

Cyanogenmod Github

2.) copy the msm_camera.h from android kernel 2.6.32 to the libcamera folder

3.) edit the QualcommCameraHardware.cpp in line 210 and remove the unwanted 5MP entries in that struct

4.) copy liboemcamera,libmmipl and libmmjpeg to the target system/lib folder

(should be done in PRODUCT_COPY_FILES)

4.) compile gingerbread and give it a try

There is no need to modify the kernel: kernel from mik_os is working for that!

Camera is in that way complete working, movie camera has sound too.

Hope, that helps :)
[Optimus One, P500 Original Android Development] mik_os:
oh, I almost learn ARM assembly by trying to figure out why crashing proprietary libcamera :)

I thought that i already tried this combination (stupid android build system)...

Fully recompiling now. Thanks.
[Optimus One, P500 Original Android Development] ciolnadu:
So next release will have camera working?
[Optimus One, P500 Original Android Development] mik_os:
Will see after compile is finished.
[Optimus One, P500 Original Android Development] andy572:
yes, i've thought the problem is the kernel: yesterday i debugged the complete workflow in kernel: have added a lot of debug functions to all needed files for camera working, but all seems ok in communication and function calls - so i probed with "diff -Naur" the msm_camera.h in libcamera the differences in various lib versions and have seen that there are differences in IOCTLs and seen that the include can come from kernel ... thats it :D
[Optimus One, P500 Original Android Development] 4silvertooth:
Launcher².
[Optimus One, P500 Original Android Development] terratrix:
seems like there still alot of work to be done there...good luck:D
[Optimus One, P500 Original Android Development] andy572:
Data & GPS toggles now working too. 3 toggle buttons left + Power & Reboot dialogs.

seems, the project "expanded statusbar" goes tomorrow to the end and i can start the next Mod on the rom :) :)
[Optimus One, P500 Original Android Development] Jaani:
Great going Andy..Best of luck..:)
[Optimus One, P500 Original Android Development] kamalnath:
We want both andy,watever the time you take,but you should release a beast,dont rush on other users request:)
[Optimus One, P500 Original Android Development] dryhte:
What is the status of Bluetooth audio & data of your rom? Still buggy or did you get it to work? (Asking bc at first it looked like high priority, but I missed any further reports ...)
[Optimus One, P500 Original Android Development] DJBhardwaj:
all the best :)
[Optimus One, P500 Original Android Development] andy572:
data was ever working, dont need a fix.

bluetooth audio is not fixed as some other bugs just, currently i complete rework the rom sources to create a beast - this needs some time :)

while i rework the code, other users might find or fix bugs on android so i can adopt it :)

progress:

bluetooth toggle button working.

#### progress II:

account/data sync toggle now working too, it has a nice feature:

when disable the toggle, than background transport is disabled too. this isnt the case when tap the powerwidget button from stock android :)
[Optimus One, P500 Original Android Development] fernando1sg:
now that is cool, keep it on, when youre going to give us a taste of your coming release?

Enviado desde mi LG-P500 usando XDA Premium App
[Optimus One, P500 Original Android Development] gkarthik16:
This was a feature which I was desparately looking for in any ROM. And you've implemented it. You rock Andy :D
[Optimus One, P500 Original Android Development] acrossy:
When it's completely done!? :P

Anyways, congratulations on all your progress and improvements man!

Good luck for a swift and steady run on your rom!

sent via LG-P500
[Optimus One, P500 Original Android Development] andy572:
Shutdown and Reboot (realy System PowerOff and nice System Reboot) toggles now working.

Today importing some translations, might be i ask here for help to support some languages :)

### EDIT

Toggle button translations completed:

English, American, German, Switzerland, Dansk, Czech, Katalan, Greek, Spain, Persia, Kroatia, France, Finland,

Hungaria, Indonesia, Italia, Hebrew, Lithuanian, Latvian, Netherlands, Polish, Portuguese, Romanian, Russia,

Slowakia, Serbian, Swedish, Thai, Tagalog, Turkish, Ukrainian, Vietnamese, Chinese
[Optimus One, P500 Original Android Development] rapharias:
If you're willing to translate into brazilian portuguese, let me know. I can help you.

There are a lot of brazilians that use your roms :P
[Optimus One, P500 Original Android Development] 4silvertooth:
Do update your git.
[Optimus One, P500 Original Android Development] dryhte:
Want dutch? Pm me
[Optimus One, P500 Original Android Development] nikoltu:
I can translate to Lithuanian if you want to add any Baltic languages :) just pm what you need to be translated and you won't be dissapointed ;)
[Optimus One, P500 Original Android Development] andy572:
Thanks for all replies, all languages supported by system are translated now :)

We'll see how clever the translation software is when the rom gets released within

the next 2 weeks (i hope) :)
[Optimus One, P500 Original Android Development] morx:
ΡΜ me about Greek Translation.

whoop forget it, saw you already did it ;)
[Optimus One, P500 Original Android Development] andy572:
Toggle buttons now complete.

... just going to the next project: modify the phone app - make it nice and usable :D
[Optimus One, P500 Original Android Development] Pezmet:
What do u think of the samsung "slide right sms and left to call" sistem ? In my optinion it is the best.
[Optimus One, P500 Original Android Development] andy572:
Sry, i dont know what you mean - can you more explain that or link to some screens?
[Optimus One, P500 Original Android Development] Jaani:
He mean that in samsung phones(a touchwiz feature)...in contacts if u want to call to a particular contact then swipe left on that contact name & right to sms..:)
[Optimus One, P500 Original Android Development] Pezmet:
Well i will add screen shots tomorow when i can get my hands on my gf samsung, but i will try to explain since i see u have a sg-s2.

When you in contantcs and u select a contact if u slide your finger to the right you will call the selected contact and if you slide left you send text messege to it.
[Optimus One, P500 Original Android Development] andy572:
thats a very nice feature, i didnt know about to have that in my sgs :D

... i will try to look into android code to do some **** like this^^
[Optimus One, P500 Original Android Development] GonDr:
@Andy

what about arabic translate ? i can help u in arabic translate

and is ur rom support RTL language ? i saw in first post that rom build on CM7 and CodeAurora.. is it mean u import RTL language from CM7 ?
[Optimus One, P500 Original Android Development] josinpaul:
Take all the time u need.I am sure that you are not going to disappoint any one like LG did with their gingy.
[Optimus One, P500 Original Android Development] Freedomalfa:
andy i was a owner of sony ericsson xperia x8 and some developers from there make some nice features in their roms , a good feature is turn over silence if somebody call you and you have ring volume turn over the phone with proximity sensor down and will be silence ring.

the same feature to alarm
[Optimus One, P500 Original Android Development] dr.notor:
Install Flip4Silence from Market. ;)
[Optimus One, P500 Original Android Development] andy572:
Just viewed and checked gestures on a ListView (like the Contacts list), its a simple

thing to do that **** i think, now lets hack the android contacts app code something :D

... wish me luck that this idea is working nice^^
[Optimus One, P500 Original Android Development] 4silvertooth:
I wish you loads of luck.
[Optimus One, P500 Original Android Development] shhbz:
well ur rom is going to be the most awaited release .best of wishes just cant keep counting the number of customisation already integrated .

SUPER BOOM BOOM BOOM ...............:D DONT KNOW WHAT NEXT COMING
[Optimus One, P500 Original Android Development] samcad:
Best of luck Andy :) gud luck... keep goin... we are waiting!!!
[Optimus One, P500 Original Android Development] GonDr:
Ok
[Optimus One, P500 Original Android Development] Abhiroxx:
A tons of good luck to you Andy :-)
[Optimus One, P500 Original Android Development] kamalnath:
Gud luck andy,keep doin smart things............:)
[Optimus One, P500 Original Android Development] alfiemenace:
is the translation for tagalog done? I can help with that :)

good luck with your rom :)
[Optimus One, P500 Original Android Development] keypaderror:
Can't appreciate u enough !

WOOW !

Great work Andy,

Have been looking your thread since it started and was amazed by your work.

Best luck and appreciate your hard work.

will be waiting for your Rom!

thanks:)
[Optimus One, P500 Original Android Development] andy572:
translations for toggle buttons are complete, thanks anyway ;)
[Optimus One, P500 Original Android Development] ginco95:
Now what is the next target? :)
[Optimus One, P500 Original Android Development] andy572:
currently modifying contact app so users can swipe over a contact and call or write a message - see some posts back ;)
[Optimus One, P500 Original Android Development] Bytecode:
Andy,I can't wait to try your ROM because when you'll release your ROM I'll finally get back to old baseband so I'll always switch from your rom to Sense and vice versa.

I know I shouldn't ask,but what's left? I mean,can you give a %complete of the ROM? :)
[Optimus One, P500 Original Android Development] dr.notor:
Where is my beer button!? :D
[Optimus One, P500 Original Android Development] 4silvertooth:
@Andy

What are you going to name the rom.

I suggest "TheBeast" rom.
[Optimus One, P500 Original Android Development] 4silvertooth:
How about BirthDay reminder integrated into contacts, this feature is missing in android.

Will require adding date field in add contacts, some change in contacts sqlite database. And a view where we can see birthdays sorted according to current date.
[Optimus One, P500 Original Android Development] andy572:
Yes, i'm mising this too - but let me first create a prototype for the contacts app.

Currently implementing these prototype, possibly in some hours i can upload the

prototype app so users can see what's doing with that swipe feature :)

Have just a small problem to get the real contacts from database, its some tricky

because there are many constants that must be used to ask the contacts database *grrrrr ... sometimes i hate java & android :D

... what about this small feature:

if a contact has more than one phone number, just displaying a selection dialog?

i think, i should do that^^
[Optimus One, P500 Original Android Development] dr.notor:
This reminder stuff belongs in calendar and not contacts. :p
[Optimus One, P500 Original Android Development] Arjen:
Agree, but not everyone uses the calender :D
[Optimus One, P500 Original Android Development] Arjen:
Great idea!
[Optimus One, P500 Original Android Development] 4silvertooth:
Yes but which works only with internet on, no internet no reminders.
[Optimus One, P500 Original Android Development] andy572:
No internet, no smartphone. then use better a No*ia 3210 :D
[Optimus One, P500 Original Android Development] 4silvertooth:
But what if we don't have internet just a day before or on birthday. Like wifi and data disabled. Never mind.
[Optimus One, P500 Original Android Development] andy572:
Want to test the new contact prototype?

here is the prototype :D

BEWARE: its a prototype, not a real contact app - its named "GestureTest",

and the only things that have to work are:

- swipe left to write a message,

- swipe right to call a contact

- short & long tap on contact should show a small toast message

thanks for testing :)

after succesful testing, i integrate the 350 lines of code to the real contact app :D
[Optimus One, P500 Original Android Development] 4silvertooth:
Can't test it on mik's. Fc.

Edit: working. Nice good work.

The swype left and right animates only to left.
[Optimus One, P500 Original Android Development] socialdistortion:
^^ Works very pretty :) And I like it.

Edit: Using CM7 6.5.7 with v19.1 franco kernel
[Optimus One, P500 Original Android Development] cupliz:
I hope u will use some features from yours SGS2 in new rom...

So we also can feel sens of SGS to...

Sent from my LG-P500
[Optimus One, P500 Original Android Development] sanmore:
Gesture contact working pretty well

.btw if we swipe on an email Id,nothing's happening.
[Optimus One, P500 Original Android Development] Abhiroxx:
Working smooth
[Optimus One, P500 Original Android Development] andy572:
it's ok, you cant call to a email address - so the swipe action is stopped when the

contact didnt have a phone number :D
[Optimus One, P500 Original Android Development] andy572:
basic gesture on contact list is now working, now i have to implement all that code for contact so user can call the contact or write sms after swipe the list entry^^
[Optimus One, P500 Original Android Development] sweetbinodray:
Andy one question. This gesture apps and lock screen apps is codified in system or it will work as a stand alone app.
[Optimus One, P500 Original Android Development] DJBhardwaj:
Finally! we are going to get a rom better than any other rom released!

Great work andy ;)

Thanks
[Optimus One, P500 Original Android Development] andy572:
its all hard coded in system.
[Optimus One, P500 Original Android Development] gkarthik16:
They would be integrated into the system. Not stand alone apps.
[Optimus One, P500 Original Android Development] shhbz:
well just wishing to get the link soon cant resist myself .really want to test it would be the best rom in p500 forum.
[Optimus One, P500 Original Android Development] andy572:
Contact app successfuly modified, now swipe for contact call & sms is working nice :)

Explanation:

Swipe to left or right over a contact in Phone app or Contact app opens the phone dialer

or vice versa the sms app to write sms to given contact.

btw:

to get some more space for contact names, i've removed the call button in the contact list overview.
[Optimus One, P500 Original Android Development] sanmore:
Nice work Andy sir
[Optimus One, P500 Original Android Development] schnappi1978:
I really hope you manage to get a low battery drain for the rom.

Maybe instead of removing the call button from contacts,making the longer names swing would be nicer?

Very nice work so far...keep it up!

Alles Gute!
[Optimus One, P500 Original Android Development] kamalnath:
Hi andy,can u put move to sd enabler option in ur rom,like in cm7(settings->cyanogenmod settings->application->...),coz its worth instead of using ****ty a2sd like script.......:) thanks
[Optimus One, P500 Original Android Development] andy572:
Sorry, but no CM7 extras in my rom - if you want CM7 features, install CM7 :p

Its not meant sad, but if i insert CM7 features, than i can include complete CM7 stuff ... and this isn't what i want;)