yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] franciscofranco:
Finally seeing people work together with andy. I'm sure you'll get it done. I've been using ICS AOSP for the past three days and its just too good in every aspect. Good luck guys.
[Optimus One, P500 Original Android Development] hooded_man:
Its good to heard that :) O1 still in the game ;)
[Optimus One, P500 Original Android Development] hellodzulz:
Hey Andy, good progress keep it up dude ^^
[Optimus One, P500 Original Android Development] 3ncrypt3d_Droid:
This is wonderful news!!
[Optimus One, P500 Original Android Development] TakamineSubasa:
Good luck with this, btw, i dont think that you could make a big progress until google decides to update repo with armv6 missing ****/ and or lg decides to release qualcomm sources/stuff...
[Optimus One, P500 Original Android Development] Spidey01:
No offense but what does any of those posts mean? Use the THANKS button on the Original Post.....my word, how hard is that?
[Optimus One, P500 Original Android Development] Bytecode:
Looking forward to this beautiful project :) still trying to help you as much as I can.
[Optimus One, P500 Original Android Development] acax456:
awesome... can't wait :((
[Optimus One, P500 Original Android Development] lakerslacoste:
Oh very well :) i'm waiting ...

Vietnam !!!
[Optimus One, P500 Original Android Development] andy572:
Armv6 -VFP is fixed by me and working/from now supported, currently hanging only on sensorservice.
[Optimus One, P500 Original Android Development] BigBoyPL:
ICS

Does this is port from GT540 ICS to LGP500 ??
[Optimus One, P500 Original Android Development] DaXmax:
No i guess, its a fresh port from AOSP Sources... Go Germany! Give us some Ice Cream before Christmas! :D
[Optimus One, P500 Original Android Development] vienti:
The touch display works as incorrectly
[Optimus One, P500 Original Android Development] andy572:
here the status:

i've used the gralloc hardware module from ICS because the ones from LG Ginger has undefined

references to some functions in libcutils: they have changed some asm code as i have seen today,

the required function was removed from asm code and implemented as a new function in atomic.c

(here is what google has changed/dont care about caf url: https://www.codeaurora.org/gitweb/q...it;h=8dfa47da8cb33ebaf7aae6db6548e75ed86e8f1e)

and now we have a new driver, but its not working with all features that we haved from binary gralloc.msm7k.so

the second big mistake:

sensors arent working, libsensorservice.so files (both from LG Ginger & CM7) are crashing when asking for a sensor

the third mistake:

no baseband is working, not the "new" on, not the old one that we was using in CM7/AOSP Ginger builds,

so now we dont have GSM and no 3G.

Wifi is not tested, in logcat i get no errors from driver.

Audio isnt working, but can be adopted from last ginger build- its only a change

in 2 files (AudioHardware.cpp/AudioHardware.h) because the original ICS files are

using libhtc-acoustic.so that we dont have.

Bluetooth cant be used, but can be fixed too - i have patched some ****

allready (found in CM7 patches for Gingerbread) and its starting but D-BUS

is crying about a missing service (dunno what is needed, maybe a line in init.rc).
[Optimus One, P500 Original Android Development] vienti:
WiFi doesn't work.

RIL http://r.cyanogenmod.com/#change,10415

Can will help. A kernel and source codes base 2.3.3

View attachment p500_gb_open_source.7z

kernel+drivers: http://www.multiupload.com/S1YDZJL7U5
[Optimus One, P500 Original Android Development] SWEATTAIMI:
i know that already l0l:p
[Optimus One, P500 Original Android Development] lupohirp:
how can i do that andy???sorry i'm still a noob!:(
[Optimus One, P500 Original Android Development] vienti:
Here already do a kernel v3.0 (2.6.38 tree) only truth it under Spica, but there the same processor
[Optimus One, P500 Original Android Development] storm11:
xdaforums.com/showthread.php?t=1364780

Hey ,

Check if this might help , there's a note for other Dev's thing . I'm no developer . Hope it helps you =)
[Optimus One, P500 Original Android Development] joeyxl:
Guys i have a i5 quad core with 4gb of ram if you need some conpiling done
[Optimus One, P500 Original Android Development] andy572:
please dear users,

i know its meat to help us but we dont can use kernels from other devices (but some source

code would be helpful when modified for ics and kernel is version 2.6.35), we cant compile

in a cloud and we dont have time to read 500 general thread topics in android development.

if you want to help us, post some useful links here about bug fixing things/or founds

from other developers here. all other is useless and makes this thread big and later useless.

@SWEATTAIMI

please stop to advertise your rom port here by all respect of your work.

thank you :)
[Optimus One, P500 Original Android Development] sweetbinodray:
I am not a DEV so can't help here. The only thing I can do is read read read and learn. While I was reading abut these problem I found this.Thought It might help you guys.

If your touchscreen is not working and you use an old kernel (< Android kernel 3.1), you need to a) put BOARD_USE_LEGACY_TOUCHSCREEN := true in your BoardConfig.mk, b) create/copy an .idc file to /system/usr/idc/ which shares the same name as your enumerated touchscreen device, c) check if you need to patch your touchscreen driver with a function renamed (ABS_PRESSURE -> ABS_MT_PRESSURE)

Source http://xdaforums.com/showthread.php?t=1364780
[Optimus One, P500 Original Android Development] SWEATTAIMI:
He just asked for a test Rom and i will stop post links for it :) but did you got the pixel link rockr wrote earlier?
[Optimus One, P500 Original Android Development] lupohirp:
Have already said that i had include in vendor files rules the .idc file but unfortunately my rom is not booting :-( i'll try a fix this afternoon had an idea (thanks to andy yesterday was too late :-))l anyway thanks :-)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
Andy when using new boot.img did you got all those logcats ?
[Optimus One, P500 Original Android Development] andy572:
Did you downloaded my complete work from git? i've uploaded all my work so you

have nice and relaexed compiling without errors anymore^^

i dont use the new boot.img - its useless because we need to modify

a lot of code in bootlagcy/bootrecovery and so on, this is nonsens and wasted time because

we have a working cwm recovery that can boot all our roms;)
[Optimus One, P500 Original Android Development] adfad666:
Andy could you send me the link to your git? My build environment is primed and ready to hunt the bugs and get this working (after work of course...)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
ah i see, if there's anything i can do (when i can setup everything on my old dell from 2002-2004 XD
[Optimus One, P500 Original Android Development] lupohirp:
No andy didn't downloaded yet 'cause i didn't knew it :-) so this afternoon i will do so :-)
[Optimus One, P500 Original Android Development] andy572:
ah sry, i didnt wrote that link here^^

http://github.com/andy572 - there is all modified stuff to boot finally the P500

with ICS 4.0 :)

to download the frameworks base, switch to the master brunch, it cant upload to

ICS brunch (dunno why). To save space on github for my free account i've forked

from cyanogenmod, but my code is still AOSP :D
[Optimus One, P500 Original Android Development] Bytecode:
Thank you for posting your sources,thx :)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
the funny thing i don't know how to build this file if i knew i maybe were one step further to help you ^__^
[Optimus One, P500 Original Android Development] vlt96:
#include<ot.start>

_____________

Finally starting to build it, you should add a ink in 1st post and make it test when it is usable and then it goes to development and we are all happy and smiling:)

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

end of OT:)

Sent from my LG-P500
[Optimus One, P500 Original Android Development] andy572:
what link should i add to the first post? a link to google's web page? :D
[Optimus One, P500 Original Android Development] vlt96:
Yes this is a problem, maybe add the github page of it? At least when still in development;)

Sent from my LG-P500
[Optimus One, P500 Original Android Development] andy572:
why should i do that? users who are interested in developing on android can read the forum,

i have to research too for every small ****.
[Optimus One, P500 Original Android Development] Arjen:
Andy,

using your device and vendor files result in following error on lunch:

build/core/product_config.mk:205: *** No matches for product "generic_thunderg". Gestopt.

** Don't have a product spec for: 'generic_thunderg'
** Do you have the right repo manifest?

Edit: Hmm, also trouble with old vendor/device files I first used...

Probably there is another problem, going to clean up and start over...
[Optimus One, P500 Original Android Development] vlt96:
Got it, let's stop ot, I don't want another warning...

What is the state so far?

Got it to boot at least? Anything working? A video? That's it;)

Sent from my LG-P500
[Optimus One, P500 Original Android Development] andy572:
hm, idk what you have tried - remove the device/lge/thunderg and vendor folders and try it again,

for me all is working. i've compiled the booting rom with that code where is on my github account.

and, dont use "make otapackage" or so, use only "lunch thunderg-user && make -j3"
[Optimus One, P500 Original Android Development] dancom96:
Stop spamming the forums with useless posts, read the thread. They have gotten it to boot, http://xdaforums.com/showpost.php?p=19747998&postcount=161
[Optimus One, P500 Original Android Development] vlt96:
Yes, but anything working except that circle **** on the screen?

Sent from my LG-P500
[Optimus One, P500 Original Android Development] andy572:
why dont read some spam posts back? there is a big post by me what the current progress is,

today i'm on my RL job and this means: today no progress until i have time to do something on

android. its possible too to chill after a hard day, ok?
[Optimus One, P500 Original Android Development] Arjen:
Guess it's due to some leftovers, cleaned all and syncing again, it did work earlier before I used your repo, so it must work then. :rolleyes:
[Optimus One, P500 Original Android Development] SWEATTAIMI:
I will try later to use your repo and see if it works last time i made make command it said , not found :) maybe i used wrong repo? i got build essentials but still not working
[Optimus One, P500 Original Android Development] andy572:
wooooow, so many dev's now because i've released a building source :D

ok, then i can concentrate me on building ICS for my Desire HD, bye, bye LG community :D
[Optimus One, P500 Original Android Development] lupohirp:
WTF!!!!O_O wait andyyy!!!!:)
[Optimus One, P500 Original Android Development] vlt96:
Hope your kidding... we need all the devs, maybe they all start like you and then optimus one **** will stay ****...

Sent from my LG-P500
[Optimus One, P500 Original Android Development] andy572:
whhhooooot! what google was doing here .... and why???

do you remeber we are missing the copybit.h?

it was never replaced, and these file was removed this year in april^^

Look here for the change i've found just (dont care about caf url, they forked only the code):

https://www.codeaurora.org/gitweb/q...it;h=03dd9c671d03cd8645df44cea1f1fd297191def0
[Optimus One, P500 Original Android Development] Arjen:
Ah well, let them play :D

There ain't much most can do with these sources as not much is working :rolleyes:

Lot's to be done and try...

---------- Post added at 02:28 PM ---------- Previous post was at 02:23 PM ----------

At least we can retrieve the code, but also don't understand why it's deleted...
[Optimus One, P500 Original Android Development] SWEATTAIMI:
Wait did Google delete it ? And we are not able to get it ?

Or you mean this . https://www.codeaurora.org/gitweb/quic/la/?p=platform/hardware/libhardware.git;a=blob;f=include/hardware/copybit.h;h=b6302c37a5bdf7dd12158fbca52b57cb4bebf4b0;hb=53b8af5e9ccb7ab9b48b223d4efde9096890fd6a
[Optimus One, P500 Original Android Development] Arjen:
I said we can retrieve it ;)

And yes, it's the code you are linking to.
[Optimus One, P500 Original Android Development] SWEATTAIMI:
So what is it Andy talks about ? Don't get him all time
[Optimus One, P500 Original Android Development] andy572:
@SWEATTAIMI,

do i write text or english that cant be understand or is it you who cant understand what is written here? ...sometimes its some magic here :D

ok, i try to clear my words^^

i was wondering about why google has delete required code and not replaced with new code,

this is because gralloc and libcopybit cant be compile if you download the ics sources from google ;)

means, you need to copy a missing file by your self to the source tree if you want a builded system.
[Optimus One, P500 Original Android Development] SWEATTAIMI:
It's me who doesn't understand everything yet xP

And now i understand .
[Optimus One, P500 Original Android Development] Bytecode:
@Arjen: If it doesn't work,use lunch full_thunderg. Or search a working branch to build by typing lunch only.
[Optimus One, P500 Original Android Development] andy572:
i use "lunch thunderg-user" and it does the nice job.
[Optimus One, P500 Original Android Development] Bytecode:
I used full_thunderg-eng :) may I help when I get my laptop?
[Optimus One, P500 Original Android Development] andy572:
this can be used, but "-eng" has a lot f debug code and fills the logcat with spam ;)

better use "-user", so the rom its a release build.
[Optimus One, P500 Original Android Development] Bytecode:
What about userdebug? Sounds like a mix of eng and user to me :D
[Optimus One, P500 Original Android Development] SWEATTAIMI:
well i should have tried if i got my phone to get listed .____. i have as told still not listed, damn mac dualbooted with ubuntu
[Optimus One, P500 Original Android Development] andy572:
what phone should be listed?
[Optimus One, P500 Original Android Development] Arjen:
His own :D

Don't know how SWEETAIMI will ever get all running, guess reading/searching/learning is too hard :rolleyes:
[Optimus One, P500 Original Android Development] lupohirp:
i'm compiling with andy's sources !:) between i had to fix somethings in external folder.....if anyone have problems with this lem me know!:)
[Optimus One, P500 Original Android Development] andy572:
hm? whats wrong in external folder?
[Optimus One, P500 Original Android Development] SWEATTAIMI:
i followed tutorial's and adb is working but my device is not attached "listed"

and i added the stuffs needed, maybe it has something with my dualboot setup :confused:
[Optimus One, P500 Original Android Development] lupohirp:
dunno andy but with your sources had problems that previously didn't have (now i don't remember i'm compiling the one that remember is this....i've added #include <cstddef> in gtest-param-util.h 'cause it didn't find ptrdiff_t type variable) howewer now seems fine :)
[Optimus One, P500 Original Android Development] Bytecode:
SWEATTAIMI,you need to learn how to build from source. Your phone isn't listed because you need to edit vendor and device folders,as well as vendorsetup and .mk files. Use search button,as I did for something. If you need open a help thread as I did,but still use search button.
[Optimus One, P500 Original Android Development] vlt96:
have you installed the drivers?
[Optimus One, P500 Original Android Development] sam razzy:
:D
[Optimus One, P500 Original Android Development] SWEATTAIMI:
the thing is i followed a tutorial on how to setup this for ubuntu, may i have missed something or has the tutorial by dastin1015 missed something ?

---------- Post added at 08:18 PM ---------- Previous post was at 08:17 PM ----------

you may missed that in ubuntu you dont install those driver's you add em manually,

---------- Post added at 08:56 PM ---------- Previous post was at 08:18 PM ----------

If your logcat is spamming errors related to the framebuffer sleep/wake and your screen flickers, make sure to recompile your kernel with CONFIG_FB_EARLYSUSPEND enabled.

If your touchscreen is not working and you use an old kernel (< Android kernel 3.1), you need to a) put BOARD_USE_LEGACY_TOUCHSCREEN := true in your BoardConfig.mk, b) create an .idc file in /system/usr/idc/ which shares the same name as your enumerated touchscreen device (e.g. synaptics.idc) with just this text:

Code:

touch.deviceType = touchScreen

is our touch a synaptics or what sort of touch is it :D
[Optimus One, P500 Original Android Development] andy572:
OMG, i compiled audio as in my github sources, just played something with 2 (or more) fingers and

i can play a audio song in music app :D ... just wondering something how is it possible??? :D
[Optimus One, P500 Original Android Development] SWEATTAIMI:
do you mind to share the libs :D
[Optimus One, P500 Original Android Development] lupohirp:
grrrr compiled from your sources and...anything!!!!does not start nor i can't connect my device to adb!!!why why why???it seeing anything!!!it stucks on red lg logo!!!!!!grrrr
[Optimus One, P500 Original Android Development] SWEATTAIMI:
i thought franco told why adb never worked that good :P he disabled it in his kernel and pheonix uses francos kernel if im not wrong ^__^

AND CONGRATS ANDY! :D

if i only were able to compile O____O **** sucks when u got a mac :D
[Optimus One, P500 Original Android Development] vlt96:
Crap I can't use adb commands on my PC because of Franco? Wow, always wondered why it wasn't working... now I just find out randomly:(

And the usual OT: can't wait!!!

Sent from my LG-P500
[Optimus One, P500 Original Android Development] lupohirp:
i'm using andy' s sources now....
[Optimus One, P500 Original Android Development] andy572:
i use the binary LG kernel shipped with LG Gingerbread, used the latest LG adb drivers

for windows and added in build.prop the line "debug.sf.hw=0". without that line or the value has "1"

the rom doesnt boot because of framebuffer errors.

what gralloc and copybit you are using? my modified libs from sources or the libs from ginger?

ginger gralloc and libcopybit cant boot too because of a missing function in libcutils.

also make sure u are using a working ginger boot.img - the image from ics dont boot over.

and, make sure u have adb enabled in boot.img config file ;)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
hm i said if i wasn't wrong, :P i never said it was ^___^

anyhow, Congrat's and lupohirp maybe u can compile audio for me XD as i cant compile due to my ****ty setup XD

---------- Post added at 09:44 PM ---------- Previous post was at 09:37 PM ----------

did you use windows O_____o!
[Optimus One, P500 Original Android Development] andy572:
Yes, i use Win7 as Host with Ubuntu 10.10 in a VBox because i need my notebook for my real life job,

otherwise i would install a nice RedHat or Debian and start Win7 in a VBox as guest ;)
[Optimus One, P500 Original Android Development] lupohirp:
....setted debug.sf.hw already....now i've set persist.service.adb.enable=1 to enable adb in default.prop'cause itwasn't here.....tomorrow i'll see....tnx anyway andy!:)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
Andy maybe you can setup a tutorial for noobs (including me) :D

would be great l0l
[Optimus One, P500 Original Android Development] Bytecode:
That's the cause indeed. Otherwise you build ARMv7 libs :p

Check out also init scripts: ADB Services could be missing there too ;)
[Optimus One, P500 Original Android Development] andy572:
just patched something to get our GSM working, with some luck in one or two hours GSM

is working, thanks CM project to collect my patches :D

### EDIT:

GSM now working, 3G not tested - its a new thing for tomorrow :)

See attached Screenshot, on the bottom side there is my provider :D
[Optimus One, P500 Original Android Development] gatX:
Congratulations!!!

it`s a good new and good job!
[Optimus One, P500 Original Android Development] roi14:
what a very good news to start my day! thanks to all you devs especially andy for the hardwork! keep it up! goodluck guys!:)
[Optimus One, P500 Original Android Development] MaKTaiL:
Great! You are making a lot of progress. Keep up the great work and thank you for everything.
[Optimus One, P500 Original Android Development] alfiemenace:
nice! good luck with that! :)
[Optimus One, P500 Original Android Development] DaXmax:
Get a Kit Kat, have a break... ;)

Of this wonderful job, go n get candybar (or drink??) This is so good, im waiting for more news!
[Optimus One, P500 Original Android Development] terratrix:
So, new or old baseband?
[Optimus One, P500 Original Android Development] Jameslepable:
We don't know yet if it works or not.
[Optimus One, P500 Original Android Development] terratrix:
As Andy said, GSM works now
[Optimus One, P500 Original Android Development] kiranbandre:
@andy you r a great dev man

Keep it up with your good work..:-)
[Optimus One, P500 Original Android Development] Jameslepable:
sorry lol, my bad
[Optimus One, P500 Original Android Development] dhk.-:
OMG!!!!! really? hey andy can i buy something to you? beer? you're the best!
[Optimus One, P500 Original Android Development] DaXmax:
Buy him an 6-can beer or an ice cream... ;)
[Optimus One, P500 Original Android Development] :
Ice Cream beer? =P
[Optimus One, P500 Original Android Development] dhk.-:
Ok, but I don't believe that the Chilean beer be better that the German beer... Xd and here don't exist the ice cream sandwich (not Android obviously) u.u

But really... What can I do to give thanks you Andy? I'm searching for donate me button but I don't find it....

Coming back to the thread.. That mean that possibly we can have a downloadable ics ROM soon? An alpha?

Enviado desde mi LG-P500 usando XDA Premium App
[Optimus One, P500 Original Android Development] terratrix:
I'm sure andy is pretty rich from his real life job, so i dont think there is a need to donate to him
[Optimus One, P500 Original Android Development] selphien:
Nice news, love your work :)
[Optimus One, P500 Original Android Development] andy572:
22 thanks from my friends???:eek: wow, thats cool :)

for info about GSM baseband:

currently i use old baseband, the new one isnt tested.

as i've seen in the code, dev's have worked on a version "3" to make it compatible

for older basebands - i dont know what the new baseband needs, there is absolutly

no knowledge about by me. maybe someone can research for that so that we can both

basebands support with a flag in the build.prop file ???
[Optimus One, P500 Original Android Development] SWEATTAIMI:
Hah congratulations Andy :D but before release test i would say touch must work properly the two touch finger is so annoying :( also can you share libs info when this is done :) if you ain't going to make one stock Rom also :D
[Optimus One, P500 Original Android Development] andy572:
No panic, a first alpha release is planned on ... ehhhhhh .... this year - and not, before

at least GSM, 2G/3G, WiFi, Audio, Video and Touchscreen is working :D

I have 1 week holiday before x-mas and i'm @home so i can do some more on Android this time.
[Optimus One, P500 Original Android Development] vimitake:
Keep up the great work. Can't wait to test it out. :-)