yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] superkid:
nope, gralloc is not in kernel...gralloc.msmXXXX.so is in system/lib/hw

That one when compiled it asks for libQcomUI.so and that lib when compiled request eglGetRenderBufferANDROID

Edit: to be more specific

https://github.com/CyanogenMod/android_hardware_qcom_display/blob/ics/libqcomui/Android.mk

libqcomui asks for libegl.so

when libegl have

https://github.com/android/platform...ca312c162e262298d/opengl/include/EGL/eglext.h

eglGetRenderBufferANDROID(EGLDisplay dpy, EGLSurface draw);

interesting if using

libutils \

libcutils \

libEGL \

libskia

from ics would fix it, but my guess, it will break it more :P
[HTC Sensation] T-Macgnolia:
Dude a HUGE thank you for that info that actually helps me understand what is going on with that problem. I will look into what you mean by using those libs you listed. Also if you are interested in looking at what I have put together right now i am uploading it right now for another member to look at. I can send you a link to it when it is done. I mean I don't care who gets this or another port booting just as long as a port is got to the point it can boot cuase I know if it is a booting port put together more devs will start warking on it and the higher the chanc of getting a fully functioning ROM going. I am about community...:)
[HTC Sensation] superkid:
I tried with that libs, as expected, i dont get even a logcat after that :P

I am porting for another device, but we have the same issue, thats why i trying to help :)

With my version, and the g2 version, i get same results... as no egl... and no gralloc ( all default ) get no luncher running, still not sure how he got lockscreen, i dont :P
[HTC Sensation] Sensation-al!:
this may be a stupid question but are we seeing progress? from my point of view it sounds like only good things but then again i don't understand a lot of what you guys are saying... :p there isn't anything i can do to help is there?
[HTC Sensation] blackwing182:
re build the .so file with that configuration :) , if that psoble?
[HTC Sensation] T-Macgnolia:
I was actually thinking about doing that problem is it that means I have to take a crash course in coding.
[HTC Sensation] Jonny:
Ah f*ck, I was hoping it wouldnt come to building new libs from source, my linux pc is slow as hell :/

Ive been working on the build pm'ed to me for two hours today but other than cleaning and fixing stuff in the ramdisk, nothing that will help get past gralloc and egl lib errors
[HTC Sensation] Freshly_Snipes:
I'm really confused as to why no devs or chefs are in this thread... It shouldn't be just folks with little experience doing this when we are a community.

I'm not being a bung-hole but where's Shnizlon and Team PKMN and BaadNewz and NRGZ? Like seriously. It's for the betterment of the entire Sensation forums that we progress together. Unless they don't know how to do this stuff and they're waiting for the real release just to mod that. In that case I understand. But seeing these nice people attempting to do this port and it appears no "chef" here is offering help is disturbing to me and I'm sure I'm not alone.

Maybe it's something I don't understand. I've been with the modding community since 2008 and haven't seen this type of division until the Sensation dropped.

Can someone explain this so I can understand? Again I'm not bashing nor meaning to disrespect anyone's work so shame on you if you read this in anything but an intelligent contextual manner.

Sent from my HTC Sensation 4G using PKMN ROM using Sense 4.0
[HTC Sensation] Sensation-al!:
while there are no "devs" per se, the guys here Do have experience, and they definitely know what they are doing... i see your point though
[HTC Sensation] Jonny:
Baadnwz doesnt have a sensation to test/dev on so he has more or less moved over to one x forum. I havent seen NRGZ around here for a while either and LeeDroid is having a break from deving for personal reasons. On sensation forum we do have a lot of rom makers but because htc roms are closed source it makes the most of the people who dev sense roms zip modders unless they actually delve into the smali hacking and edits side of things, so they dont know how to port stuff. I dont think this is true of shnizlon or m0narx though and I'm honestly really suprised they havent posted/helped in here. I'm probably going to get alot of abuse for this post by certain fanboys, but I reckon its close to the truth.

P.s InfinityFTW has offered to help :)
[HTC Sensation] BurnRubber90:
Can't wait to flash a working build. Keep up the great work. I would help, but I'm not a coder at all :/ (at least for Android hiacking)
[HTC Sensation] Freshly_Snipes:
Thank you. That makes total sense... So in theory we've lost all our devs. Smmfh

Well I know Tmac got this. Cross my fingers. Thanks for everything gentlemen and God bless your hands and eyes. You'll need them for this Jelly bean beast.

Sent from my HTC Sensation 4G using PKMN ROM using Sense 4.0
[HTC Sensation] dmcb123:
Also Vorbeth! He did amazing things for cm9/aosp for ics maybe he can help with jellybean?
[HTC Sensation] Alienator9191:
maybe mike still hangs around with shinzonel (sorry if i write iit wrong :P)+ we just got a new dev team called team venom if they might help :D
[HTC Sensation] Freshly_Snipes:
Those guys see this thread just like we do. If we haven't seen them in here they won't be coming.

Oh well. I discovered that besides the voice talkin back and visual cards, our ICS voice actions do the same thing as Google Now. So I'm in no rush now that I realized that.

Sent from my HTC Sensation 4G using PKMN ROM using Sense 4.0
[HTC Sensation] T-Macgnolia:
Finally got my SDK re installed an got a proper logcat to work with and guess what? I still have essentially the same problem.

[ 07-03 00:21:14.561 112: 187 E/HAL ]

load: module=/system/lib/hw/hwcomposer.msm8660.so

Cannot load library: link_image[1891]: 112 could not load needed library 'libQcomUI.so' for 'hwcomposer.msm8660.so' (reloc_library[1306]: 112 cannot locate 'eglGetRenderBufferANDROID'...

)
[HTC Sensation] blackwing182:
send me that logcat please
[HTC Sensation] pyramid:
I know people trying to port jellybean to sensation are not getting support from chefs, but at the same time devs here are trying to get things done by helping each other. So big thanks to all guys here.
[HTC Sensation] firesnatch:
eglGetRenderBufferANDROID is defined in libEGL.so in CM9. Did you try copying that lib over? BTW, you can use 'readelf -s blah.so' to see what symbols are defined in a .so file.
[HTC Sensation] andyln3:
Why would devs waste time trying to get an SDK port working when source is going to be released in weeks? Cmon guys.
[HTC Sensation] big gulps huh?:
Because they want to contribute to the community in the mean time. Why comment? (sorry for off topic....)
[HTC Sensation] superkid:
Ouch, i am not a dev i guess :P

I tried already to get the dependens libs

0x00000001 (NEEDED) Shared library: [liblog.so]

0x00000001 (NEEDED) Shared library: [libcutils.so]

0x00000001 (NEEDED) Shared library: [libutils.so]

0x00000001 (NEEDED) Shared library: [libGLESv2_dbg.so]

0x00000001 (NEEDED) Shared library: [libdl.so]

0x00000001 (NEEDED) Shared library: [libc.so]

0x00000001 (NEEDED) Shared library: [libstdc++.so]

0x00000001 (NEEDED) Shared library: [libm.so]

0x0000000e (SONAME) Library soname: [libEGL.so]

Doesnt really help, as you cant just change any of that libs..

and blackwing182... why you not on irc XD

also, cant really compile anything atm with my pc :P
[HTC Sensation] T-Macgnolia:
Again thanks for the suggestion, I don't think it is really a difference in that or the other lib files in question from device to device. But I will take a look at that lib and the other dependent and shared libs to see if I do need to replace them with the ones from the CM9 ROM.

Edit: I was wrong there is a difference in the lib files, I am going finish comparing some more lib files and swap them out if they are different.

I can not speak for everyone else but I am not working with the SDK anymore.

Thanks for helping out, I agree with you, either a modified lib or a magic mystery lib file is needed here, maybe more than one.
[HTC Sensation] Jonny:
I think you know I wasnt including you in that :p
[HTC Sensation] mtothearkus:
Thank you for stating this. Why do that bunch of (unnecessary) work when the source is gonna be released?

Gesendet von meinem HTC Sensation Z710e mit Tapatalk 2
[HTC Sensation] superkid:
Waiting for your release when source gets out! :P

We want to give some jb to people before source gets out, something bad about it?
[HTC Sensation] Jonny:
We are not working from the SDK anymore but from other ports like One X port etc.

Also why are we being told off for doing this as a hobby in our spare time. It's our time afterall not yours so we can do with it what we like.
[HTC Sensation] blackwing182:
why you jerks are flaming this thread?, dont like it i have a solution for you and your buddy, dont come to this thread :) simple whe are here to learn from the comunity and give what we learn to the comunity, i bet my sensation that when this boot, you will be the first to complaint about "camera is not working on the sdk port of jelly bean".

does moderators take cares of people like this, that coments w/o purpose? i mean if my coment is a pile of trashm look at theirs first.
[HTC Sensation] pyramid:
If mods cnt stop them we can just ignore such people.
[HTC Sensation] blackwing182:
yep agree with you, this is a development thread, for now on ill encourage to ignore such kind of un purpose coments and continue with this awsome port :)
[HTC Sensation] febycv:
Google Now

Guys, got the google now to work....Here is your proof....

So find some queries to ask....a thread will be put up soon.....
[HTC Sensation] Mohanned85:
Any link just for voice search by any chance
[HTC Sensation] blackcell1:
sooon :P
[HTC Sensation] pyramid:
Big hug for u:)
[HTC Sensation] taffypride:
damn I've been reading through this thread and my mouth is just watering at the prospect of potentially having JellyBean on the Sensation....especially as I just got my Sensation repaired
[HTC Sensation] bonesy:
I must admit it looks better then stock ics,preferred the look of donut to ics
[HTC Sensation] Masterloki666:
Thank you devoted chefs and ppl working on this....

My ? is why would anyone not want us all to be working on this even though it isnt turning out to be the easiest project specially with out the source code and libs apparently but none the less its getting done thanks to the ppl are taking time out of their lives assuming they all have one :P j/k;)
[HTC Sensation] blackcell1:
google now has been posted here

http://xdaforums.com/showthread.php?t=1749045
[HTC Sensation] blackwing182:
you know that i love you!!!! (in the friendly dev way xD)
[HTC Sensation] Freshly_Snipes:
Yeah only works with AOSP. So if your running Sense do not flash this. You will be stuck in a continuous boot loop.

Sent from my HTC Sensation 4G
[HTC Sensation] Nekromantik:
hopefully someone will port to Sense!
[HTC Sensation] blackwing182:
no it uses aops framework so it will be super had to port
[HTC Sensation] Sensation-al!:
*anti-thank*

Sent from 3000 years in the future from my extremely outdated, but still extremely awesome HTC Sensation Z710e
[HTC Sensation] Alienator9191:
http://xdaforums.com/showthread.php?t=1737736

any porter, try something with thisone, should be fine :)
[HTC Sensation] blackwing182:
thats the one used here lol
[HTC Sensation] T-Macgnolia:
What blackwing182 means is the port that we are working with is from that ONE X ROM.
[HTC Sensation] Alienator9191:
anyone make much progress, like i can test to see what works and doesnt, I ONLY TEST IF BRICK IS EXCLUDED
[HTC Sensation] Jiggs82:
There's NOTHING to even test yet lol no booting jb rom yet
[HTC Sensation] The Archangel:
The Glacier guys got it booting :/
[HTC Sensation] T-Macgnolia:
Thanks for the info Mr.Highway. The thread for that port has some real info in it, infact it looks like they were having the same troubles with the gralloc module and got it fixed I have not finished reading it yet but the reason for that problem is posted in that thread. I have not finished reading the thread yet but I will be doing that as soon as i finish this post.
[HTC Sensation] Sensation-al!:
Maybe we'll get somewhere now? :D you're doing great work

Sent from 3000 years in the future from my extremely outdated, but still extremely awesome HTC Sensation Z710e
[HTC Sensation] The Archangel:
I try to help where ever possible :)
[HTC Sensation] blackwing182:
id not post something cuz im gettin the same logcat errors as t mac, :(
[HTC Sensation] T-Macgnolia:
Man I have added all the modified libs from the update that has been released. I know it is all of them to cause I took and noted every lib that had a .p at the end of them in the OTA that was posted then copied those libs from the updated ROM that was posted. I am going to look at all the libs in the nexus 7 dump to see if I might see a lib that we could use from it to help make this boot. Also if you have not tried it yet please download the build posted by SiRyuA. I ran a logcat on it today and and I was very suprised, here it is in pastebin

Edit: I took a look at the ramdisk of that build and I am not sure what all I should chang in my build or the ramdisck for that build as they are both quit different. I did note that in his build he did not change the BOOTCLASSPATH and he did not include the following at the beginning of the ramdisk.

import /init.${ro.hardware}.rc
import /init.usb.rc
import /init.trace.rc
[HTC Sensation] superkid:
Get the rom to the situation that it asks for the gralloc.msm7x30 and errors, then go to the hw folder and delete all msm7x30 files... gralloc, hwcomposer....

and then get me a logcat
[HTC Sensation] T-Macgnolia:
First thank you so much for coming in and offering to help.

Ok I will try to do that, also don't I have to delete mm8660 files cause isn't the msm7x30 for the Glacier? No disrespect to you I just want to be positive of what you are asking me to do. Also do you mean all the files with mssm8660 correct? To be specific you are talking about the following files.

audio.primary.msm8600.so

copybit.msm8660.so

gralloc.msm8660.so

gralloc.default.so

hwcomposermsm8660.so

Also in your opinion do you think switching over to a CM9 ROM with the bricked kernel and the the extras it has. I am specifically talking about the init.qcom.post_boot.sh, the modded init.d, and the msm-buspm-dev.ko. I looked in the init.qcom.post_boot.sh and it has the following in it.

#!/system/bin/sh
#
# post_boot modified by show-p1984
#

target=`getprop ro.board.platform`
#
#This is handled by the kernel, no need for the binary
#@ROMDEVS: disable this **** in your ramdisks too! :p

#
#case "$target" in
# "msm8660" | "msm8660_csfb" | "msm8960")
# start mpdecision
# ;;
#esac

#
#This is handled by the kernel, no need for the binary
#@ROMDEVS: disable this **** in your ramdisks too! :p
#
#case "$target" in
# "msm8660" | "msm8660_csfb")
# start thermald
# ;;
#esac

I already have a ROM.zip file I created from a backup I made after freshly flashing the CM9 and the bricked kernel.
[HTC Sensation] Jonny:
some files in system/etc are mssing for audio - need to diff the files with a sense ROM and copy/edit over any differences

---------- Post added at 09:09 AM ---------- Previous post was at 09:08 AM ----------

are you using the Bricked AOSP kernel?
[HTC Sensation] T-Macgnolia:
Not right now but I am thinking about switching over that ia why I asked if it might be a good idea. I made a fresh flash of the CM9 nightly and then flashed the bricked kernel and booted the device. then rebooted to recovery and made a back up then used the backup to make a .zip to put into the kitchen.

Edit: Here is a theory why we are having troubles with the libs. Original Post
[HTC Sensation] T-Macgnolia:
I have been trying to get it to the point superkid asked but no real luck. But I have looked over the logcat for the build that I posted that SiRyuA put together. And the below error is the main error I see that is not allowing it to boot.

E/Adreno200-GSL( 123): os_tls_alloc, key 8, tid 29170744

E/Adreno200-GSL( 123): os_tls_alloc, key 9, tid 29170744

I posted those two together as they are together in the logcat, but there are more of thess exact errors if you look they just have a different key number, the rest of the error is exactly the same as you can see with the two I posted. Know as I said I am no real dev but the Adreno200-GSL looks like something pretty important. I really believe that if a dev that knows what they are doing worked with it, they could get it to fully boot. But that is just my opinion. Anyway I watched the sun come up yet again today, so it is sleep time for me.
[HTC Sensation] superkid:
If you want just boot with fcs.. put in egl.cfg 0 1 android.... that will make it not use adreno egl files...
[HTC Sensation] blackwing182:
it will never boot, decompile cm9 framework.jar and decompile de HOX JB port framework.jar, and compare them with beyond compare , and you will get the answers you are ben searching for :)

trust me thats how i port miui v4 from nexus s and some times from GNEX
[HTC Sensation] superkid:
blackwing182, thats how we rock ;) but this time it have not much to do, as its not missing native stuff , or at least doesnt say so:P
[HTC Sensation] Jonny:
Can someone mirror the SiRyuA build to either a server that doesnt flag up as filesharing or to a dropbox or something plz as im working on this from school (im bored!) but the filter system wont let me download it from the given link :/

---------- Post added 5th July 2012 at 12:00 AM ---------- Previous post was 4th July 2012 at 11:57 PM ----------

So is it framework.jar thats halting the boot? lol i thought it was something in the ramdisk so thats all ive been working on, oops :p

P.s if we are going to use a custom kernel in this we may as well use bricked aosp one - the init.qcom.post_boot.sh is from that anyway
[HTC Sensation] blackwing182:
can be it, framework.jar cantrolls almost of whats loaded and whats not and services.jar can also did the trick
[HTC Sensation] T-Macgnolia:
I am uploading SiRyuA's build to my Dev Host right now. I will post back here when it is done with a download link.

For anyone that wants to work with SiRyuA's build, be advice you need to add the init.trace.rc and the init.usb.rc to the ramdisk as they are not there in the build you can download.

I sent a PM to our mutual friend GROGG88 and he has taken a look at the logcat for SiRyuA's build and he thinks the "/system/framwork/filterfw.jar is what is causing the fatal error and forcing the build to loop at boot.

Also it looks like my thoughts of switching over to the brick kernel may just have been a good idea. I took and compared my build with SiRyuA's build last night and opened the bricked kernel .zip package to compare with both. I found that just about all of what in in the bricked kernel install package is in SiRyuA's build. Most importantly the init.qcom.post_boot.sh is in there and I fully beleive that is why his build can boot to the bootanimation without removing the gralloc.msm8660.so and editing the egl.cfg. I am going to put a build together using the bricked kernel and all the extra's it has to test my theory tonight. It also looks like I will have to boot up my Ubuntu tonight too.
[HTC Sensation] blackwing182:
sweet send the link of the build to my gmail if you can :) or PM it to me xD

GROGG is one of the best edditing stuff! :)
[HTC Sensation] T-Macgnolia:
Ok here is a download link for SiRyuA's build from my Dev Host.

I opened SiRyuA's build and realized that it was not a filterfw.jar in the build so I copied the file to the build. I run a logcat on it and the problem was still there. So I removed "'/system/framework/filterfw.jar'" from the BOOTCLASSPATH in the init.rc. It did not get rid of the error either, for both things all it did logcat wise is removed the following line.

D/dalvikvm( 409): Unable to stat classpath element '/system/framework/filterfw.jar'
[HTC Sensation] superkid:
If it helps you, here is my build http://goo.im/devs/Super/JBAlphaSuperKid.rar its a saga build, so change build.prop
[HTC Sensation] dskrilz:
Are the booting issues you guys having something that will relevant or easily resolved once the source code is released?
[HTC Sensation] T-Macgnolia:
I have not dealt with source code, but if my understanding of it is correct I would say it probably will be resolved easier because any changes to any lib files, .jar files, or modules will be present in the source or easily added to the source before compiling. But wait for a answer from a more qualified person, and don't just take my word for it.
[HTC Sensation] blackcell1:
hows it going with SiRyuA's build ?
[HTC Sensation] Evolutionmods:
Hey all , Im doing the same port for the Evo LTE, I can get to the boot anim using the oneX JB And the system dump.

I am also having a problem with gralloc.

If i figure it out on my end ill post here if anyone is interested.

Here is a logcat

E/HAL ( 420): load: module=/system/lib/hw/gralloc.msm8960.so
E/HAL ( 420): Cannot load library: link_image[1891]: 420 could not load needed library 'libQcomUI.so' for 'gralloc.msm8960.so' (reloc_library[1306]: 420 cannot locate 'eglGetRenderBufferANDROID'...
E/HAL ( 420): )
E/FramebufferNativeWindow( 420): Couldn't get gralloc module
E/SurfaceFlinger( 420): Display subsystem failed to initialize. check logs. exiting...
[HTC Sensation] Jonny:
Pretty much the same error we were getting with HOX build but not with new build, try using that as well
[HTC Sensation] Evolutionmods:
Did you modify the the updater script or did you just use the updater script from the base rom? the updater from OneX has calls for gralloc_tegra
[HTC Sensation] T-Macgnolia:
No the updater script is from the CM9 ROM I used as a base. It seems that pretty much every port of JB that I have been keeping up with has had this same error. and they all got around it by just removing the gralloc.msm????.so and it allows it to boot to the bootanimation or further. The problem with that though is each device needs this file as it has specific hardware info in it, So in the long run even if you get it booted with out it it causes problems that really can not be easily fixed. No with SiRyuA's build we are working with it does not have that error, now I have went over his build and I am not 100% positive why his does not have that error. I have PM'ed him asking for info on what he used to make his build and more info, but I have not got a response from him yet.

Now just to let everyone else know I have been contacted by a couple of real developers via PM and they are pitching in to see if we can not get this thing booting. I will not give out their names as I assume they have reasons for not posting in the thread here. Oneof them agree with me thought that from the logcat SiRyuA's build is not far from booting it is just a matter of tracing down the problems and finding a fix for them

I also want to take a moment to thank every dev and every other member that has posted in this thread with advice, help, or just support. You all have no idea of how much it means to me. I am trying to do this for the community, and I have really learned a lot from this and I imagine I will learn even more. So I send out a HUGE THANK YOU to the XDA community you all have given me so much.
[HTC Incredible S] B3rz3rk3r:
So the title says it all really... Only CM7.X series actually works correctly on my device. All other ROMs that I have tried either cause the phone to reboot itself after an undetermined time, or lock up the device and I have to pull the battery.

Sense ROMs are the worst for reliability I've found. They will reboot randomly with seemingly no reason. I've been playing with IceColdSandwich 8.0+8.1 recently and can reproduce a reboot consistently by opening maps and scrolling it.

I would be quite happy to stick with CM if the INC-S was getting CM9/10 in the future, but this doesn't seem to be happening.

So how can I stop the rebooting/freezing in all these other ROMs?