yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] Arjen:
I agree, I'm not a real dev either, but used google a lot to solve problems, and if I couldn't find it, just tried something and most of the time it worked.

I'm glad Andy solved some things already and we could use them, because why should we reinvent the wheel? :D

I'm learning a lot here and I know Lupohirp is also, but he already knows a bit more because of his work on AOSP Gingerbread.

If you want to learn, stop asking everything and try to search first and think logically. If you are stuck, just ask, but provide usefull information like what you have tried already etc.

It's more fun to try it yourself and make it work ;)
[Optimus One, P500 Original Android Development] andy572:
Ok, as i know you have real developer experience - so just i ask: do you have a idea

how we can solve the sensor problem? we cant use the libsensorservice.so from LG Gingerbread,

this lib is crashing/makes a nice core dump without symbols ... so no chance for us to

debug some code, but without sensors we dont have display rotation, we get the

black screen when display goes off while we make a call etc... as users here know i have disabled

all sensors currently in sensor service, but its not a high end solution :D

any ideas are welcome here :)
[Optimus One, P500 Original Android Development] vienti:
Andy you studied it? In your source codes this editing is? http://r.cyanogenmod.com/#change,10532
[Optimus One, P500 Original Android Development] andy572:
No, i patch all my code from my own ideas and never read other source codes.

and, i dont know where to find useful code :D

anyway, thanks for the hint - maybe other users can use it.
[Optimus One, P500 Original Android Development] Arjen:
Still reading how others are (trying) to solve problems with libsensorservice.so,

as we know we can't use LG **** here... We need to compile our own working one, but how???

I see lot have problems with it (but I guess you have also read it :D)
[Optimus One, P500 Original Android Development] lupohirp:
Andy i have a question.....you patched kernel from the patches that were posted by franciscofranco here??? I'm trying to elaborate a my personal fix but i didn't patched the kernel...also system in your touchscreen fix see the touchscreen like a mouse pointer yet or no?? Thanks :-)
[Optimus One, P500 Original Android Development] andy572:
no, the mouse pointer is gone with kernel patch and touchscreen idc file,

sync my kernel from repo and compile, integrate it to your build and all is fine :)
[Optimus One, P500 Original Android Development] andy572:
yeaaahhhhhhhh ... CAF released their patches for ICS today, now we have todo a lot of work

but to the end we will have a nice firmware - i'm very sure :) :) :)
[Optimus One, P500 Original Android Development] lupohirp:
Oooooh nice info...can you post the link for the sources andy please? :-)
[Optimus One, P500 Original Android Development] andy572:
here you go:

https://www.codeaurora.org/gitweb/quic/la/

btw: not every patch is useful for the P500 device, i recommend to read

carefully the patch comments ;)
[Optimus One, P500 Original Android Development] adfad666:
I was under the impression that the touchscreen wouldn't work properly without it. I'm still waiting for my latest ICS build to complete, hopefully this will be the one that boots, and I was going to add it to that if it does.

PS you have a typo in your sources

# IDC file
PRODUCT_COPY_FILES += \
vendor/lge/thunderg/[B]proprieatry[/B]/touch_mcs6000.idc:system/usr/idc/touch_mcs6000.idc

PPS just add the spammers to your ignore list, then you won't see their useless posts
[Optimus One, P500 Original Android Development] andy572:
As the thread is now cleaned from spam again, this is my really last warning about stupid

questions, spam or off topic posts:

if it dont stop, i really go off here and develop for me and my fun @home!

this warning includes useless posts like "thank you, you're great" or

"i want to learn android" or other ****. go to general topics and open a thread, maybe something can answer.

If you have to say something USEFUL about THIS development (not only pure android/ICS) - and only about THIS development

tree - than you're welcome to post here. Otherwise i please you to post on another place, not here.

Thanks to all who respect our work!
[Optimus One, P500 Original Android Development] DaXmax:
@ All

Your noobie question and answers will be here, but dont ask here, and worst, DONT ASK FOR ETAs!

http://xdaforums.com/showthread.php?t=1369859
[Optimus One, P500 Original Android Development] Garuxa:
Dax, please edit link posted. Is wrong lol

Enviado desde mi LG-P500 usando Tapatalk
[Optimus One, P500 Original Android Development] DaXmax:
Lol, thanks for the remind... Edited link...
[Optimus One, P500 Original Android Development] lupohirp:
kernel compiled and updated vendor files!:) now i'm trying a personal fix for hardware acceleration :) is in compilation now i will report later :)
[Optimus One, P500 Original Android Development] franciscofranco:
Dont use **** from tuna device, tuna is Glaxy Nexus.
[Optimus One, P500 Original Android Development] franciscofranco:
Ok I will try to explain this the easiest way. Nexus S touchscreen patch introduced a third coordinate called z to handle the new multi touch code, and the we need to specify that coordinate z isnt used passing a -1 signal. This is what I understood of the code, hope this helps andy.
[Optimus One, P500 Original Android Development] adfad666:
OK I've got my logcat working and I've got some strange errors, probably my sources are wrong or broken. the logcat is flooded with this message:

E/Adreno200-EGL( 1690): eglLockWindowSurface: invalid memory type for fd=15 offs=0, flags=0
E/Adreno200-EGL( 1690): eglLockWindowSurface: failed to map the memory for fd=15 offs=0
E/Adreno200-EGL( 1690): egliSwapWindowSurface: oglSwapBuffer failed

I'm gonna go back through this thread, maybe I missed some of the changes you lot made (build flags, the attached bootloader etc.), but do you have any tips? it looks like I've enabled the new graphics without enabling something else, time to go through everything again
[Optimus One, P500 Original Android Development] terratrix:
Andy- maybe it helps to write on first post "old baseband only"? and erase the "Currently there is no ROM nor a booting software" - i guess it's booting right?

btw: I see many type of post saying the devs are whatever etc etc - i guess they are too desperate and impatient for ICS.
[Optimus One, P500 Original Android Development] sweetbinodray:
Guys,

I was searching for Hardware Acceleration fix. In HD2 forum Devs have manage to fix it. I thought you guys can have look. If this might help.

Git Hub:- https://github.com/TwistedUmbrella/android_frameworks_base/commit/0ff021ed0d258074ef6d87597e9e74591458bfc3#diff-1
[Optimus One, P500 Original Android Development] andy572:
thanks for the hint, seems useful.

curretly i'm working on the new hwcomposer - our libcopybit doesnt have a switch

to compose things, so we need at first a working hwcomposer. currently i'm implementing

one for the MDP chips - HDMI and overlays arent needed, so it can get simply working

the next hours. if we have a working and stable 2D, we can simply acclerate the HW through

the GPU/CPU :)
[Optimus One, P500 Original Android Development] sweetbinodray:
So in next few hours we can have at least 2D working. Seems cool.

I am not a DEV so can't help with codes. But can search almost everything for you. I am almost like Harry Porter. :D:D:D:D
[Optimus One, P500 Original Android Development] SWEATTAIMI:
Again i will ask will this be your own ics rom or stock aosp rom ?

I know you put effort on your roms and you don't like to release buggy builds but some times listen to the people who wants to test it.

I thought xda forum members were like a family not like i am alone, i do release whenever i want to .

I don't say you must release a rom but as your making progress and its fast also , maybe that's why you don't want to release.

But we don't ask you to release a stable rom we're happy even if we get a beta rom . The point is try to release a rom it doesn't effect anyone if its not fully working. As we asked for it we know it won't be fully working
[Optimus One, P500 Original Android Development] andy572:
as i wrote, there is nothing to release - its unstable, gsm is crashing the GUI and

i'm working on hw accelaeration - i dont have to copy only a lib from samsung or htc

to get the device some stable, what is so difficult to understand that?

i release the first alpha when some things are working, not when its only booting,

currently the rom is useless (as currently) your ics port.
[Optimus One, P500 Original Android Development] sweetbinodray:
Ok, This might Help.

remove copybit, add hwcomposer,stk

@@ -112,7 +112,6 @@ PRODUCT_PACKAGES += \

sensors.bravo \

lights.bravo \

librs_jni \

- copybit.qsd8k \

bravo-keypad.kcm \

gps.bravo \

libOmxCore \

@@ -121,7 +120,10 @@ PRODUCT_PACKAGES += \

audio.a2dp.default \

audio.primary.qsd8k \

audio_policy.qsd8k \

- gralloc.qsd8k

+ gralloc.qsd8k \

+ hwcomposer.default \

+ Stk

+# copybit.qsd8k \

# we have enough storage space to hold precise GC data

PRODUCT_TAGS += dalvik.gc.type-precise
[Optimus One, P500 Original Android Development] lupohirp:
so we need a module that we must call from the OS building for including???but this doesn't should be automatic???

implemented a function that enables ro.disable.hwacceleration=false to try if it work this early afternoon i will try it now i don't have time (modified activitymanager.java :))
[Optimus One, P500 Original Android Development] lupohirp:
thanks i'll include in my sources and see if it works :)
[Optimus One, P500 Original Android Development] andy572:
HW acceleration almost fixed, give me 3-4 hours than i think it works ... currently

i get core dumps from adreno200 proprietary drivers - i hope i can fix that :)

at least, now we have a working boot animation^^ :D
[Optimus One, P500 Original Android Development] lupohirp:
Op

Andy but you're not human ^_^ lool
[Optimus One, P500 Original Android Development] lupohirp:
andy didn't see the thread!:) good!:))))

ciaox you know it??? i'm compiling ICS from 13.00....and he didn't finished(loool andy you beat me :) 4.00h)and i'm on a ****ty dual core!:) in prevoius posts i readed that you want buy a core i7.....definitevely ciaox if you want to work with ICS you need it!:) also me i'm gonna buy a new laptop in the next days :)

---------- Post added at 04:16 PM ---------- Previous post was at 04:13 PM ----------

i don't think google will do this....also GB AOSP Sources didn't have Armv6-dalvik, but after that i imported from CM7 i didn't have any problem with dalvik to compile honestly!!! Howewer andy fixed dalvik so now this is not a problem!:)
[Optimus One, P500 Original Android Development] Cooldevil1989:
grt buddy u guys r awesome......:)
[Optimus One, P500 Original Android Development] DaXmax:
Any way, any ideas what is the kernel can be used?? .35 or .32?

Edit: Oh wait! I forgot it havent booted yet... :o
[Optimus One, P500 Original Android Development] Bytecode:
Yeah,but probably will buy an i5 notebook,not i7 :(

Will make froyo builds in like two minutes :D
[Optimus One, P500 Original Android Development] andy572:
I never port a rom, i'm a real developer with own ideas how to fix things, add things, improve things or remove things :)
[Optimus One, P500 Original Android Development] lupohirp:
in my device folder i'm using .35 zimage kernel....and i think also andy did the same!:)
[Optimus One, P500 Original Android Development] andy572:
So ok for now.

If ciaox, lupohirp and _Arjen_ will work with me on Phoenix-Android, PM me and i give you all

needed informations - its time to do things together instead alone. I've learned from gingerbread android cant be

developed, improved and fixed by one person ;)
[Optimus One, P500 Original Android Development] andy572:
Yes, i dont have .32 sources anymore :D
[Optimus One, P500 Original Android Development] DaXmax:
Wow! My mum is gonna be excited! (As she using it now)

@andy572, do u think u can optimize more battery life?

Minimalistic . Performance . ICS = Power! Everything!
[Optimus One, P500 Original Android Development] RevengeFNF:
Just a question. If you guys do it... Then it will be easy for another Dev to port your Rom to a CM9 rom right?

It's just that i cannot live without the Power Widget in Cyanogen, that permits to change 2g/3g with one click, and to Sync everytime i enable wifi hehe

Good Luck developing the rom ;)
[Optimus One, P500 Original Android Development] DaXmax:
This is Phoenix and i think andy will keep the sources of his secured...
[Optimus One, P500 Original Android Development] RevengeFNF:
Android is an open source project ;)
[Optimus One, P500 Original Android Development] andy572:
all my work can be downloaded, changed, re-used or can be send to the devil in the hell - as the users want.

users who are interested in code can have a look on my git server, its almost actual code there.
[Optimus One, P500 Original Android Development] :
One question? For old or new baseband?
[Optimus One, P500 Original Android Development] andy572:
currently the rom isnt booting, i dont have tested the rom because its not booting

So now, i dont know what baseband is supported by rom. As we can only use the .35 kernel series,

we have to use drivers that can work with this kernels - this means, if gsm not working with old baseband

we need the new one, if the new not working we need the old and is nothing of these working we have

a **** device and problem to solve :D
[Optimus One, P500 Original Android Development] shrewdgeek:
why you don't use 3rd party apps like widgetsoid?
[Optimus One, P500 Original Android Development] RevengeFNF:
Because of this: - 2G/3G (Shortcut to mobile settings)

Its only a Shortcut, not the real thing.
[Optimus One, P500 Original Android Development] andy572:
sometimes i ask me that too ...

for me, CyanogenMod ROM's are most usefull as well, thats true.

but i dont like these OS's that are ultimative pimped and full of software that a user dont want to use more than once

and sometimes its unstable or not compatible in all ways to the hardware.

As example what i mean:

Install a SuSE Linux and a Ubuntu Desktop - the difference is very big (i feel):

SuSE has a lot of software on board, a very big office and a heavy GUI (when use KDE).

Ubuntu has a small footprint, uses Gnome (what is very fast and responsive) installs by default

office too but you can uninstall it later.

On SuSE you cant do that because you have a lot of package dependencies.

When think about android systems, i have to say "Ok, CyanogenMod is most compatible

with every device (or at least in most cases)" but have a lot of things that arent good

for new users or users without knowledge what they are doing. AOSP has a small footprint but

needs some work to let the hardware work. All together taken when compare these systems i think

better use AOSP and modify it something instead use a heavy software.

Thats my mind to that, other meanings are welcome:)
[Optimus One, P500 Original Android Development] Human_dude_007:
Get network app from android market by phillip manglow..it does the job..
[Optimus One, P500 Original Android Development] :
If there was anywhere I could help I'd give it a whirl, I'm short a computer and internet access.....lets hope it works with old baseband...with that being said, what will aosp ics do for our phone? Better performance, a fresh looking UI? Or perhaps long battery life?
[Optimus One, P500 Original Android Development] SWEATTAIMI:
that means soon test rom i guess :D i really like ur fast progress and i wish you all luck :D
[Optimus One, P500 Original Android Development] lupohirp:
tried my fix....got the boot animation(i thin wowwwww it worksss!:)) and then i had this looool
[Optimus One, P500 Original Android Development] Arjen:
What was the fix you tried there?

Looks cool btw ;)

---------- Post added at 02:36 PM ---------- Previous post was at 02:31 PM ----------

Can only agree, while I'm searching with help of Google, XDA etc. he manages to solve some problems from which I think: How can it be done? :D

But hey, he is a (web)developer, so he knows how to work.

Hmm, I'm also... :rolleyes: But atm my php is better as other coding etc.

But hey, at least we will have different ICS-builds, because we all have our own approach.
[Optimus One, P500 Original Android Development] franciscofranco:
Andy did you see my post about the touchscreen or did it get lost in tge spam?
[Optimus One, P500 Original Android Development] lupohirp:
we fix touchscreen franco :)
[Optimus One, P500 Original Android Development] lupohirp:
yes but i'm working on andy's sources and if one mine patch work i will submit to him!:) so there are three ics develop but based from one code :)
[Optimus One, P500 Original Android Development] Arjen:
That's true ;)
[Optimus One, P500 Original Android Development] andy572:
just re-building the complete system to check if it comes from my (undepends) build tests or

adreno, the core dump shows me errors from binary "linker", maybe i have to rebuild

another static .a-lib to let things work together? :D

### EDIT

first post updated: added TODOs.
[Optimus One, P500 Original Android Development] Bytecode:
Really sorry for saying OT here,but I have to tell somebody:

I'z buying new 6GB RAM/Core i7 laptop in one hour! Thanks for the suggestion Lupohirp :)

Hmmm... you had a great idea,you can PM us and we'll work together since your sources are available :)
[Optimus One, P500 Original Android Development] lupohirp:
ehmmmm....ciaox??:)
[Optimus One, P500 Original Android Development] lupohirp:
what are the errors andy??
[Optimus One, P500 Original Android Development] vienti:
http://review.cyanogenmod.com/#change,10576
[Optimus One, P500 Original Android Development] lupohirp:
that's an illegal operation code(ILL_ILLOPC) and sometimes is a permission problem that causes this problem....or i'm wrong?
[Optimus One, P500 Original Android Development] andy572:
idk, the adreno driver was from HTC Ace, because LG Libs doesnt works in ICS with 2D/3D. we have to find other libs from adreno200 GPU's.

if you want to research, download lib*_adreno200_*.so files, libq3dtools_adreno200, libgsl.so and the yamato firmware drivers

for userspace (yamato_pfp.fw, yamato_pm4.fw) - put it in the rom, maybe we have luck if you can see the default android boot animation ;)
[Optimus One, P500 Original Android Development] Bytecode:
Well yeah,writing from my new laptop :) already setting up ICS build environment :) wait for meh!
[Optimus One, P500 Original Android Development] SWEATTAIMI:
wait are you ciaox O____O
[Optimus One, P500 Original Android Development] lupohirp:
ooookkkk the device that have adreno 200?

sony ericcsson xperia x10 mini

htc wildfire s

htc goldfish(the nexus one)

htc desire

sony ericsson xperia x10

acer liquid mini

for now these are the devices that i remember....we can try to take libs from there!what do you think??
[Optimus One, P500 Original Android Development] vienti:
I think: htc wildfire s
[Optimus One, P500 Original Android Development] lupohirp:
andy can i ask you a favour???? can i have your touchscreen patched boot.img???thanks in advice!i will be very glad :)
[Optimus One, P500 Original Android Development] andy572:
i just test some adreno drivers, than i commit my new hwcomposer - i can boot to the GUI

but without 2D/3D so all is crashing after GUI has started ... i think tomorrow (on friday) i

can upload the modification, i provide the code to android general development

so users with MDP devices only can profit from it :)
[Optimus One, P500 Original Android Development] andy572:
no problem, here you go :)
[Optimus One, P500 Original Android Development] Bytecode:
Yess,please don't call me that way :)
[Optimus One, P500 Original Android Development] SWEATTAIMI:
well good luck sir! keep it going! :D
[Optimus One, P500 Original Android Development] Arjen:
Now I see :D

Silently changed his nick :rolleyes:
[Optimus One, P500 Original Android Development] SWEATTAIMI:
why this is moved to dev section ???

i thought u needed a dl link for rom ^^
[Optimus One, P500 Original Android Development] andy572:
****, ****, **** ... in which file is this symbol??? :( :(

gsl_memory_alloc
[Optimus One, P500 Original Android Development] SWEATTAIMI:
Andy can u provice the idc file so i can look into it :D

i tried your boot.img on my port, it booted up, and i changed the name of the idc file and inserted the code for your idc file , touch still not working properly =/ however scrolling speed in ics with 806 Mhz is so smooth!

much better than GB, it does lag when you hasn't overclocked (still less than GB!) so good job with kernel andy, :D!
[Optimus One, P500 Original Android Development] adfad666:
github fines only two files with this symbol in them, and its part of the kernel in a drivers/mxc/amd-gpu/include/api/gsl_libapi.h or drivers/mxc/amd-gpu/include/api/gsl_display.h

that folder is not in your sources (looking for amd-gpu files??) and there are not many references around the net to those files either

edit: searching for just drivers/mxc/amd-gpu led me to http://wiki.meego.com/ARM/MSMQSD#i.MX51_GLES which talks about the drivers in the nexus one, which uses the same gpu as us...

edit2: the old name for the adreno200 is the AMD Z430, hence amd-gpu... http://en.wikipedia.org/wiki/Imageon#Renaming_to_Adreno
[Optimus One, P500 Original Android Development] SWEATTAIMI:
Andy No Hard feelings :cool:

Currently working:

- ARMv6-VFP (enabled and fixed in dalvik, bionic)

- default Audio

- GSM

- WiFi

- Touchscreen

- HW Acceleration (almost)

- ADB Screenshot from device

TODOs

- fix sensors and sensor service (==)

- fix bluetooth / dbus (==)

- fix camera (+1)

- fix video (+1)

- fix audio and add fmVolume (+10)

- fix fm radio (==)

- fix wired headset function (+1)

- fix bluetooth headset function (==)

- fix usb (in vold service and kernel) (+1)

- fix general bugs as posted on CAF and CyanogenMod

By this it mean's this "should" soon be in beta stage (Note that this is nothing to do that it will be any beta, that's Andy and hes team's decision)

still there's still hard work, and we all know that :cool: But i only say, please think on to release a beta or not ;)

We N00BS (Excluding all recognized devs,) want's to try no matter if its alpha beta or RC etc etc,

just think of it andy, you would like make tons of people happy!

(No hard feelings) カンパイ　　ーーー　かんぱい

only thing that should be major to get beta is the audio, :cool:
[Optimus One, P500 Original Android Development] fserve:
Grep all the code or try find it with the magic tool, cscope :)
[Optimus One, P500 Original Android Development] cas0404:
Hi, Also Nexus One
[Optimus One, P500 Original Android Development] DaXmax:
He did say that... Anyway, Is not HTC Goldfish, its passion...
[Optimus One, P500 Original Android Development] sweetbinodray:
This will be help full.
[Optimus One, P500 Original Android Development] andy572:
for the idc file, look on github, there all sources i'm working on.

for a rom release, read the first post again!

if you spam again here, i'll report you to the moderator!
[Optimus One, P500 Original Android Development] DaXmax:
His spam is as advertising his port...
[Optimus One, P500 Original Android Development] andy572:
tested adreno drivers:

- LG Ginger

- LG Froyo

- Nexus 1

- ZTE Blade

- HTC Ace

- HTC Bravo

- HTC Legend

... no driver is working on the **** P500 - all drivers gives me relocation errors

or core dumps but the LG drivers - they give me black screens or EGL errors :(

What now?
[Optimus One, P500 Original Android Development] diazneoones:
Hi Andy....

How about the other LG devices LG GT540...and galaxy ace drivers.....even they use same adreno 200 ...
[Optimus One, P500 Original Android Development] teflontactics:
I'm no Dev or coder, but does this list help?

http://pastebin.com/Ri1UVuK6