yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] MaKTaiL:
Someone actually managed to boot ICS on P500 already.

He posted a flashable zip on general section today:

http://xdaforums.com/showpost.php?p=19639532&postcount=259
[Optimus One, P500 Original Android Development] terratrix:
As andy said the post on that link you gave is a binary port. here we are talking about a real AOSP port from source
[Optimus One, P500 Original Android Development] andy572:
The systemfile (our final rom build from kitchen) is actually 89MB in size

when only add googlepartnersetup and market:)

### EDIT: a small step forward: our device doesnt support page flipping

--> patched gralloc:

http://gitorious.org/0xdroid/hardware_libhardware/commit/118b5d7961a4abc29c8bd592956007f40ad4fc6d
[Optimus One, P500 Original Android Development] lupohirp:
Ok andy i'll add to my makefile :-) btw have yoy added USE_OPENGL_RENDERER := true to boardconfig.mk???seems that msm7227 need the gpu render (if i remember correctly UI of ics is accelerated via gpu)
[Optimus One, P500 Original Android Development] andy572:
with the last patch for gralloc the surfaceflinger is starting nice, now i stuck on

this error for dnsproxy: Protocol not supported. may be a kernel header problem,

i thought we have to remove kernel 3.0 headers and replace with 2.6.35, but seems

this isnt the solution... later i check if we can use kernel 3.0 headers instead.

@lupohirp:

No, i dont know about this option - do we really need this?
[Optimus One, P500 Original Android Development] lupohirp:
Seems yes andy also mikegapinsky also added this option to fix some boot issues :-)
[Optimus One, P500 Original Android Development] rikipy:
w00t, cant wait for this proyect :))
[Optimus One, P500 Original Android Development] dongimin2:
oh my gawd, do you have any more info to spoil for us?
[Optimus One, P500 Original Android Development] andy572:
now building with kernel-headers from v3.0 ... i hope this fixes the network errors
[Optimus One, P500 Original Android Development] vlt96:
You made this work?
[Optimus One, P500 Original Android Development] andy572:
yes, i was on my RL job, just coming home and ... now i have a kernel 3.0 :D

no, android ICS is shipping with kernel-headers from 3.0 - useless as kernel

but required to build android.
[Optimus One, P500 Original Android Development] SWEATTAIMI:
what is the time for building on your pc?

is it 4-5 hour's more or less?
[Optimus One, P500 Original Android Development] vlt96:
LOT MORE, look at the reqs
[Optimus One, P500 Original Android Development] SWEATTAIMI:
i dont care about the bloody requirements .____.
[Optimus One, P500 Original Android Development] andy572:
No, the requirements provided by google is a joke - i need almost 4 hours for a complete

build, rebuilding a single project only some minutes. depends on what was changed before,

currently i have to rebuild all libs and bin's because i've changed basic system files, this requires

at least 1 hour or two.
[Optimus One, P500 Original Android Development] SWEATTAIMI:
go andy ill be waiting for sucess, and also, can u do stock AOSP and Pheonix ICS AOSP =)

// Regards
[Optimus One, P500 Original Android Development] andy572:
no stock rom, if you want a stock rom wait until a user releases a stock rom - i develop

phoenix-android only because most users want this and me too.
[Optimus One, P500 Original Android Development] DaXmax:
Users for the Optimus One only lol, i wonder what will DHD receiving?
[Optimus One, P500 Original Android Development] franciscofranco:
First the device must boot. Then **** needs to be fixed then AFTER everything has been fixed at least: gsm, wifi, bt, data, sensors and camera should be fixed before thinking of theming, or tweaking or any of that ****.

Usually a port or a compile from sources rom roadmap is something like this (andy can correct me if I'm wrong):

1 - Get the device to boot. Usually nothing works besides the touchscreen.

2 - Fix GSM/data

3 - Fix wifi/bt

4 - Fix Audio

4 - Fix sensors

5 - Fix camera

6 - Fix UMS

7 - Fix GPS

Only after the rom is 90% functional and users don't complain that basic functions don't work, only then tweaking can be added, and only then theming can be thought of. This is why 95% of this forum ideas never work because people start with ****ing theming first before doing anything else. A project has several phases and it needs a linear roadmap. If that roadmap isn't met, the project sucks and it's not mature. Learn something as I don't live forever.
[Optimus One, P500 Original Android Development] andy572:
this is what i was doing wrong with my gingerbread rom - a never ending project,

a lot of nice ideas and so on.

@phoenix-android for DHD:

this is feature music and today not relevant.
[Optimus One, P500 Original Android Development] Human_dude_007:
I occasionaly look throught the threads for just knowing how far development is progressing..

Good go andy n luphiorp..good luck..

Sorry andy,but cant tolerate such posts anymore ..

Wtf do you always keep speakn ot?

This is a dev thread and most importantly LG p500 thread..

You either talk bout your nexus or some other shyt..
[Optimus One, P500 Original Android Development] andy572:
Hehe, the Nexus 1 is old hardware as the P500 too - for me and my mind, the P500 is a nice toy,

good for testing **** ... so why not develop for this phone, make some users happy and

later port the rom/sources to a better phone? i think its a good idea to provide a

(hopefully useful and working) rom for more than one user group.
[Optimus One, P500 Original Android Development] jfernandogg:
I have been following this thread for some time, thanks to all developers that are doing this port. I wish I could help with my small knowledge of android and java development, any way I'll quietly studying what is need to do this.

Good luck with that ICS port!!
[Optimus One, P500 Original Android Development] SWEATTAIMI:
do you know where the "list" of what libs are related to what, i kind of lost that one,

or do you andy know ??? i would really like to help with AOSP, but as i cant setup everything correctly (may caused by dualboot with mac, or it just something else)
[Optimus One, P500 Original Android Development] franciscofranco:
No, I'm not a rom developer, I know the theory, not the actual action just because it doesn't amaze me.

But enough off-topic here.

Andy do you need help? Keep posting here and I can help with something or at least sharing ideas like we use to, but this way it will be visible for everyone :)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
maybe you can start thinking of an ics kernel ;)
[Optimus One, P500 Original Android Development] andy572:
why you ask this? you know for sure franco dont have the P500 anymore and he dont have time to develop on a device to let test other users.

be happy with that what we have - the kernel is working well on gingerbread

so on ics too. we dont need a 6.0 kernel for the P500 device because we dont have

all the needed hardware. that it is for questions about a hell kernel or a hell rom.

@franco:

thank you for all what you share to me/us my friend :)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
can you or anyone else provide link for what lib's are related to what, i know Mik posted this, but i dont find it O___o
[Optimus One, P500 Original Android Development] andy572:
Hint:

we need to add this small thing to /init.rc to get access to dnsproxy socket:

http://review.cyanogenmod.com/#patch,sidebyside,7966,1,init.aries.rc,

now, system hangs on sensors again, but less errors in logcat,

kernel log seems good ... but, have to use LG kernel, in francos kernel

is something missing, dunno what because kernel log messages arent enabled

in kernel :(
[Optimus One, P500 Original Android Development] SWEATTAIMI:
I tried to port aosp from blade gave me black screen lol, i don't know what wasn't loaded or anything. Just know that it does boot for them try make a ics boot.img and see if it boots
[Optimus One, P500 Original Android Development] franciscofranco:
Ahah sorry man, I disabled printk xD LG kernel is better for debugging because I disabled every debug **** I could find.
[Optimus One, P500 Original Android Development] DaXmax:
Oh, always on stock... ;)

Lol, hard working code... Anyway, bsst of luck! I hope the rom is booting soon... (Before January as Cyanogen Team are doing something fishy not updating all the device's nightlies)

@androidusero1p500

Im just asking, i didnt tell about this nexus one, yes, n1 its an old hardware, and it has the same graphics card, Aderno 200, im always checking here, looking how does Andy fix the HW Accerelation and also Sensors... And i would be shock if andy ported 3.0 kernel while LG doesnt ****ing care about releasing a new source code....

End of OT
[Optimus One, P500 Original Android Development] dongimin2:
He didn't 'waste' a thread just to say a non-OT1 question, therefore he has no reason to be whipped, calm down dude

also he is the OP, why not
[Optimus One, P500 Original Android Development] sakurasyaoran:
Nice one.. good to know that. Ill be witing for this one.
[Optimus One, P500 Original Android Development] lupohirp:
Andy when i return to home i'll pass you goldfish sensor libraries built from ics and see if your build boot...i cannot try if it work on my own 'cause my laptop still doesn't finished compilation yet!!! I return to home at 2 pm ;-)
[Optimus One, P500 Original Android Development] umvarmma:
Hi Friend!

Why do you read andy's threads and complain?

Mohan.
[Optimus One, P500 Original Android Development] andy572:
i understand users who expect a perfect rom, for me it is a hobby to develop on android

not my real job. if mik's rom is better - ok, it'll so. but, who cares?

and, @my new friend: where is your god's "mik_os" work on ICS? i think, he forgot you and your CM folks:D

@all

This user is showing us how dumb some users really are - doesnt matter on xda or something other places^^

To see how dumb this user is, look on his/her posted questions history in profile overview,

almost every post is a cry to mama and about how things arent working but on CM7 from mik all is better:D
[Optimus One, P500 Original Android Development] ert69:
Yup.. mik abandoned O1 and moved on to Nexus S :P
[Optimus One, P500 Original Android Development] Bec de Xorbin:
Why mock mik_os? Seems unneccessary to me.
[Optimus One, P500 Original Android Development] andy572:
its not meant sad to mik (he have all my respect, really!) - its meant sad to users

who see in mik "the god of CM7", it was a joke from me ;)
[Optimus One, P500 Original Android Development] lupohirp:
andy here the sensor.goldfish libraries compiled from ics....try if with that your rom boots up!:)
[Optimus One, P500 Original Android Development] Arjen:
Gonna try them also :D
[Optimus One, P500 Original Android Development] Bytecode:
@Andy: You can ask help to me for bugs like gsm,but I'm sure you won't need it :D
[Optimus One, P500 Original Android Development] metalboy94:
Can't wait! I'm also available for some light testing (it's my main phone after all, can't afford not being able to use it as a phone :p ).
[Optimus One, P500 Original Android Development] Human_dude_007:
According to me you are the KING OF P500!what an intelligence and dedication in satisfying the o1 users though you have a much better andro already..

Please do not get depressed on seeing stupid comments !

A donkey never knows or wwill know the value of diamonds ..

D guy who posted that comment is definitely goin to be shot in his head :pfor such comments on d greatest dev!
[Optimus One, P500 Original Android Development] terratrix:
Wait....how did you get this info? I know boykioy is going Nexus S
[Optimus One, P500 Original Android Development] ert69:
Saw him post in some thread a couple of days ago
[Optimus One, P500 Original Android Development] DaXmax:
Lol, first thing

Franco, mik? And boykioy and me and few others have move to nexus s, reason (maybe student offer, ics thingy, performance gaming, ne X us )

Second thing

Can we stop the offtopic, we here talking about Andy porting ICS to Optimus One, not about an idiot try to claim that mik is god...

Third Thing

Do respect other people's work, they work so hard to make it work! U know that, some of them never slept for days u know just to get you happy with phoenix...

Fourth thing

I have reported a moderator to clean this thread...
[Optimus One, P500 Original Android Development] Arjen:
What **** do you link to?

Virus? But anyway, it has nothing to do with this thread...

You've been reported...
[Optimus One, P500 Original Android Development] andy572:
hm, i think my sensorservice is a virus too ... its crashing the system, so we can install this ****ty file to until nothing is working on the phone :D

ok, enough off topic now - thanks for lupohirp & _Arjen_, i have test sensors.goldfish.so allready

and the libsensorservice is still crashing or cry about "Help me, i dont find a sensor" :/

seems as we have to implement a working sensor module before we can boot to the gui

... but its no problem, i have a free weekend to do some **** :)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
ill try this on my booted rom :D
[Optimus One, P500 Original Android Development] lupohirp:
count on me andy :) tomorrow afternoon i'll buy a new laptop (a core i7 so i can finally help you REALLY!:))...remember.....more brains are better than one!:)
[Optimus One, P500 Original Android Development] RevengeFNF:
Guys just a thing, ZTE Blade is almost the same as our P500. Same CPU, same amount of Ram etc etc

They have already compiled ICS for it and its booting.

Do you think you could get some help with their sources?
[Optimus One, P500 Original Android Development] vlt96:
They already booted that on O1
[Optimus One, P500 Original Android Development] Bytecode:
Woot! Congrats. What laptop? XPS or what?
[Optimus One, P500 Original Android Development] SWEATTAIMI:
Their using different libs in most stuffs however we can look on it. But the AOSP port did not boot so, i think its some similar log that Andy got as it were on black screen after LG logo . And with bootanimation in media folder
[Optimus One, P500 Original Android Development] vlt96:
The one that DID work, was usable, I mean not GSM and ****, I mean touch, was it like the ZTE Blade, google the video, or smooth, like they say it is on gt540?
[Optimus One, P500 Original Android Development] SWEATTAIMI:
the touch is like a peace of crap atm, and on zte blade it didn't even work, so we were lucky to have it working on our port,
[Optimus One, P500 Original Android Development] franciscofranco:
Thats because the kernel needs to be patched for new touch implementation.
[Optimus One, P500 Original Android Development] Bytecode:
Yeah,we need msmtouchscreen.idc kernel touchscreen driver to make it work properly.
[Optimus One, P500 Original Android Development] vlt96:
The gt540 **** works like a charm, and that's a **** phone, look on youtube, and xda, maybe you make THAT ONE work;)
[Optimus One, P500 Original Android Development] andy572:
are you sure? what needs to be done in kernel for that?

as i've read there is only this thing with the useless pointer and users have

to tap twice the screen to do things. i'm not used ICS , so i can only say what i was reading about.
[Optimus One, P500 Original Android Development] vlt96:
Just try gt540, that has no pointer;)
[Optimus One, P500 Original Android Development] server3249:
I think you did not even understand my post. Anyway, I am not at all surprised with the way you have replied.
[Optimus One, P500 Original Android Development] SWEATTAIMI:
u got LG O1, then try XD
[Optimus One, P500 Original Android Development] franciscofranco:
Please don't talk if you don't know what you're saying.

I'll link you my Nexus kernel patch and you can see for yourself. We don't have to tap twice on the screen, ever, because that's fixed in the touchscreen driver source.

This: https://github.com/CyanogenMod/samsung-kernel-crespo/commit/4d9cfabc6e4b7e4f41fd75315a28d3cd78381237 is what I'm using. This for DHD and Inspire for example: https://github.com/LorDClockaN/LorDmodUE/commit/e9f567b53e5d3af3398a08a780d9cdb9ca8c0e72
[Optimus One, P500 Original Android Development] lupohirp:
seems that we must rework touchscreen driver in kernel.....:((( but for do that we need a booting rom to see what's wrong in logcat!:( or i'm wrong??
[Optimus One, P500 Original Android Development] franciscofranco:
Not sure, this ****ing device has a very old touchscreen panel, I really don't know what's the best thing to do, even harder because I don't have the phone with me all the time.
[Optimus One, P500 Original Android Development] Jaani:
ohh franco its still GREAT that u r with us & we will NEVER EVER want u to go..:)
[Optimus One, P500 Original Android Development] franciscofranco:
This was the first phone I've developed for and met some nice people, it's normal that I like to come here sometimes :)

By the way andy patch this attatchment to the LG kernel, vienti sent me this .rar, might help you somehow =D
[Optimus One, P500 Original Android Development] Jaani:
No u have to b with us as a guide as a bro alwayzzz remember that ok..:p

btw can i ever stop myself from OT..:rolleyes:
[Optimus One, P500 Original Android Development] Bytecode:
As I can see msmtouchscreen.idc is missing here,but doesn't matter: Just try :) mikegapinski told me this.
[Optimus One, P500 Original Android Development] andy572:
just worked on libsensorservice and found something out:

the service has a big problem to communicate with the (real) sensor, i've debugged some

code in SensorService.cpp and SensorDevice.cpp ... there is something missing, dunno what because the code breaks on

magic places where it shouldnt produce core dumps...

i'll see again to workaround this temporary ;)

BTW:

with my disabled sensor when something is crashing i can boot until the missing light sensor,

so its nearest the GUI ... launcher is dieing because of missing light (system gets a timeout for the initial boot activity) :) :) :)
[Optimus One, P500 Original Android Development] franciscofranco:
Why can't you disable all those sensor ****s? They could be fixed in the longer run? We need to have this **** to boot, thats the priority. If that means to disable some crucial parts, I think that should be sacrificed.
[Optimus One, P500 Original Android Development] andy572:
No, no ... the code flow is as follows:

the service constructor creates a list of all possible sensor types, in a loop it checks

for a valid sensor. if the sensor is in the list and answer from a sensor interface instance,

the service is trying to enable it. i have to find out, what sensor type is causing the

crash and where, then i can disable it. the core dump gives me some hints, but not a direct

function. the last function called before the crash is a initial function with a lot of code lines,

curently i debug that **** so we can boot. disabling all sensors in code gives us the boot timeout.
[Optimus One, P500 Original Android Development] franciscofranco:
I learned something now. Can you post here the error you're getting?
[Optimus One, P500 Original Android Development] Oathkeeper1212:
Hey andy and whom ever may be helping him on this project ,Good luck porting! And thank you for your time and devotion into this project, looking foward to this! :)
[Optimus One, P500 Original Android Development] terratrix:
I don't think this is for the P505, only for P500, P503, P504 and P509 i think
[Optimus One, P500 Original Android Development] DaXmax:
@ andy, none still works? Anyway did u managed to get the HW Acceralation working?? How??
[Optimus One, P500 Original Android Development] RockR172:
GENERAL SECTION?? WTF??
[Optimus One, P500 Original Android Development] Arjen:
Guess because you guys have posted to much off-topic non-dev related stuff in here. I've got to search through all posts to find something usefull about changes, progress, patches etc. so we can go further on development.

All these nonsense make it much harder to develop for you guys :rolleyes:
[Optimus One, P500 Original Android Development] DaXmax:
Someone has reported this to move it to general, it must be the idiot...*sigh...

End of OT
[Optimus One, P500 Original Android Development] andy572:
doesnt matter, idiots are overall^^

now we can talk about what to do on weekend and who has the best mama all over the world :D

### edit

first post and topic changed, please read^^
[Optimus One, P500 Original Android Development] RockR172:
i feel, once this boots, theres gonna be heavy color banding... :(

any suggestions for that??

Edit:

i did some research,

found something useful and interesting...

do have a look at it..

http://android.nakatome.net/2010/04/bitmap-basics.html

http://stuffthathappens.com/blog/2010/06/04/android-color-banding/
[Optimus One, P500 Original Android Development] andy572:
i 've read that this year, but its useless for us. The P500 display is a 16bit LCD display, not a LED or HD display - so there is no way to workaround the color bandings.
[Optimus One, P500 Original Android Development] SWEATTAIMI:
thats a custom rom with both odex and deodexed apps,

and its a custom ics rom that uses syndican apps ics launcher, .....

great fail to not get the rom to boot, when its CM7 based rom :cool:
[Optimus One, P500 Original Android Development] RockR172:
Damn... if you have seen the ICS that already boots up on our p500, i swear you will hate ICS just for that reason... maybe thats cuz its meant for ZTE Blade and not LG P500... but still i cant bear with it...hope your rom will have some less amount of banding... :)
[Optimus One, P500 Original Android Development] Jaani:
do the stock rom have this problem??i guess no(cant remember just used it 3days :D)..:confused:
[Optimus One, P500 Original Android Development] terratrix:
It's already been said that color bandings are the same with every rom. A pure AOSP is much much better than a port from another device.
[Optimus One, P500 Original Android Development] RockR172:
If you are talking about LG firmware, i dunno... i dont use it.. :P

But roms developed from source usually seem to have it... :(
[Optimus One, P500 Original Android Development] RockR172:
I know that buddy... :)

Since the roms built from source are specifically configured for our hardware.. :)
[Optimus One, P500 Original Android Development] franciscofranco:
This clearly knows how much people know about Android in this forum. This **** isn't just add apks here, remove apks there. There is a lot more: http://en.wikipedia.org/wiki/File:System-architecture.jpg. Reading a bit helps, not throwing **** out of the blue randomly.
[Optimus One, P500 Original Android Development] andy572:
a fc in go launcher has nothing todo with a rooted phone or your uncle that eats tomatoes every day :D

FC's are coming the most time from unclean/**** coded apps or **** installed tweak scripts that damages the system

or make it at least unstable. we (franco and me) cant count anymore our written posts about that **** ;)

So, now some offtopic - its a general thread :D

today i slept until 9 O'clock, after breakfeast some researching for android bug fixes and then was out with my little dog^^

and, i prepared my windows (no, not that M$ ****^^) for x-mas :)

To do some more off topic here let me know what users was doing today :D
[Optimus One, P500 Original Android Development] shubhamjain001:
Working:

SD card

Screen

Bluetooth, WiFi, GSM and 3G (APN manually add the settings)

.32 The core

sound

Hard button

GPS

2D acceleration

for Internet Distribution usb

Not Working:

3D (The problem libah)

on-screen keyboard, is solved by setting the other (soon to be corrected)

Turning the screen

calibrate

camera
[Optimus One, P500 Original Android Development] danmerezeanu:
Great news! Good luck with the work! Waiting to test the new ROM....
[Optimus One, P500 Original Android Development] andy572:
loool, its for GT540, not P500 ... you cant install nor use it on P500 :D