yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] zooster:
Today google realesed the final and complete jb sdk!
[HTC Sensation] Jonny:
Sorry, but AFAIK that doesnt help, they stopped using the SDK dump when google released source code
[HTC Sensation] Masterloki666:
yeah a damn good step in the right direction as soon as we can get her up an booting then we can go from there and work out all the rest of the bugs:fingers-crossed: good job :good:
[HTC Sensation] pyramid:
This thread might be useful.

http://xdaforums.com/showthread.php?t=1737849
[HTC Sensation] T-Macgnolia:
Well I switch my base ROM to the T-Mobile stock ICS ROM and it is booting but like blackwing182 it does not get past the where the bootanimation would be but i do not have a bootanimation in the the ROM so it is just a black screen. I did however get the adb working and now have a logcat to work with so I made a little progress.
[HTC Sensation] Gtj94:
Did you edit the ramdisk?
[HTC Sensation] T-Macgnolia:
Yeah, but I only edited some of the init.rc no other file. I will have to make a comparison again to see exactly what i did change because i did not record my changes.
[HTC Sensation] Terepin:
Porting SDK has nothing to do with porting a ROM.
[HTC Sensation] GazaIan:
Whoever gets this working gets a free hooker.

Not really, but I really want this.
[HTC Sensation] T-Macgnolia:
I was wrong, I thought I had edited the ramdisk but for some reason my edits were not saved even though I had clicked on save. When I re extracted my ramdisk to make the comparisons again I realized the init,rc was exactly the same. :eek: I am going to edit it again and then recompile my boot.img and see what I got.
[HTC Sensation] Lizard85:
What can I do with this dump? Can I install the apps in the system folder?

Can anyone give me an instruction what to do with this?
[HTC Sensation] The Archangel:
It's for Devs an experienced users
[HTC Sensation] Jiggs82:
You can't do nothing really, just let the devs and experienced users to play around.with it and MAYBE give us a booting rom. The apps are mostly the same as ics or what we have now, and some apps will only be compatible with jellybean so it would be a waste of time if.you ask me
[HTC Sensation] blackwing182:
the damn api level changed,now it uses 16s a and its a pain in the ass lol
[HTC Sensation] T-Macgnolia:
Hey blackwing, any progress on your end? I think II am going to give it up for right now and work some more on it tomorrow.
[HTC Sensation] Gtj94:
I have it as far as adb working nothing more. :(
[HTC Sensation] blackwing182:
nop. keeps bootlooping, im going to ask for help to some one that ported it to an htc device, i think the one x have it booted, i cant do anything cuz adb is broken -_- in the rom
[HTC Sensation] pyramid:
Nothing much. But if u are in adventure mood, extract few apk from system folder from zip file and install on your phone but do it at your own risk.
[HTC Sensation] T-Macgnolia:
I can upload what I got for you if you want, the adb is working on it. Also another member has a port that is at the same stage as yours and mine uploadeded here. It has adb working too and is showing the bootanimation where mine is not. Plus the logcat I ran on it did not show a lot of errors, it may just need some more symlinks as the files the logcat says it can not find is in the ROM,
[HTC Sensation] blackwing182:
soon will figure out, prob ill look in to services.jar :)
[HTC Sensation] GazaIan:
That might not even work if the API levels are different.
[HTC Sensation] blackcell1:
Good luck to you all.
[HTC Sensation] blackwing182:
not working by any matter, :( we need a more talented dev here :( my skills are not so bright!!
[HTC Sensation] T-Macgnolia:
Yeah I think I don't even have the skills that you have, lol. Do we need to use the fstab.tuna in the ramdisk with our device? And if so where can I find the partition layouts for our device so I can edit it for our device?
[HTC Sensation] Jiggs82:
I guess just wait for the source code to be released because it makes no sense to stress ourselves with the sdk if the source will be easier and just around the corner:)
[HTC Sensation] blackwing182:
check this :) http://xdaforums.com/showpost.php?p=28020178&postcount=36

dont know if this was posted here but it is super usefull
[HTC Sensation] siulmagic:
there is no need to edit frameworks at all, i got a jb port booting to botanimation, but an error with netdconnector wont let it boot, you need to edit the ramdisk thats the main thing to do for jb to get to bootanimation, make sure to ad the init.trace.rc, edit the init.rc with jbs bootclasspath, you also need the import commands at the begining of the init.rc, and add the write cpunt1 lines, also add 2 missing services , i cant make jb reach bootanimaiton, without forcing software rendering, not sure how it will work out for the sensation.

device im porting to is the htc vision, aka the tmobile g2.

i tried porting it to my rezound but, we dont have cm9 and the ics leak we have is a very old ics leaked kernel, software rendering docent work on it.

---------- Post added at 09:54 PM ---------- Previous post was at 09:27 PM ----------

i got jb booted on my g2, need a few changes to get past the netd error.
[HTC Sensation] blackwing182:
i was reading about that in the link i provided above, ill shuld boot ubuntu latter to decompile the boot.img, thanx for the info :)
[HTC Sensation] cyanogendroid:
Great to see this attitude! Love it when there isn't off topic crap in threads :)
[HTC Sensation] Tinchoska:
take a look on this guys

http://www.youtube.com/watch?v=U05NhYhRf0g
[HTC Sensation] Masterloki666:
It's not difficult to change boot anim and background what we are trying to accomplish is something that google won't do and would probably take em longer to do lol
[HTC Sensation] T-Macgnolia:
What does he mean "Just the Splash and boot animation..." if that is real it booted to the home screen and he opened the app tray. But personally I do not think it is real. What I think is he either just changed the bootanimation and the wallpaper to look like Jelly Bean. Or he had two Sensations and set the first one down and then picked up one running ICS with a JB wallpaper. Just watch the video closely, pay attention when he takes the phone out of view of the camersa and then back in view of the camera. Also look at the home screen and apps on the device. I have gotten it to boot to the bootanimation but it does not even play the bootanimation smoothly like it does in the video. In fact I have yet to see the bootanimation play part 2 likw in this video. Plus the comments are disabled on the video, wtf???????:confused:
[HTC Sensation] Masterloki666:
If you listen closely you can hear the first sensation boot loop at the very end lol
[HTC Sensation] irrelephant:
He just added the splash screen and boots animation on an ics rom... Read the title and description.
[HTC Sensation] GazaIan:
Oh ****, now I've been inspired to actually try to do this again.

Time to reinstall Linux.
[HTC Sensation] T-Macgnolia:
This is what I am working with now, just sent a PM to the dev of that port plus I have been poring over the Nexus 7 system dump as well.
[HTC Sensation] Jonny:
I can help but as I think I mentioned in a different thread I need a logcat to help me out because my sensation is in for repair (screen broke)
[HTC Sensation] Philips9:
For developers who are interested in doing the porting of Android 4.1 (Jelly Bean) was just released the complete firmware of Nexus 7 ("nakasi"):

https://dl.google.com/dl/android/aos...y-8b0bd791.tgz

MD5 Checksum: 1e3fe6634f5b5cabdc43dd4a5ac5a66a

SHA-1 Checksum: 8b0bd791be424c994fd63096d8570f4323c15d43
[HTC Sensation] Masterloki666:
Bad link http://xdaforums.com/showthread.php?p=28088377
[HTC Sensation] T-Macgnolia:
If you would have paid attention to my last post, this page, and page 5 of this thread you would have seen we already know that.....:rolleyes:
[HTC Sensation] Philips9:
excuse, but with my low English(:() I sensed that you needed to work on porting the nexus 7 and I did not realize that you already had the firmware.

PS: because in Italy, the release of the firmware of the nexus 7 is a notice of 4-5 hours ago.

sorry again and good job!:good:
[HTC Sensation] T-Macgnolia:
It is ok man, I apologize too, U know you are just trying to help, but I am a little on edge because I have been working on this for like three days now with very little progress. So I am starting to get irritated.

---------- Post added at 04:03 AM ---------- Previous post was at 03:49 AM ----------

Ok guys I am reaching out for some help here. I need some advice here, the below is my problem and is what is stopping my latest build from the HTC ONE X that I have put together, oh and by the way the ONE X build is based off the Nexus 7 dump.

I/SurfaceFlinger( 813): SurfaceFlinger is starting
I/SurfaceFlinger( 813): SurfaceFlinger's main thread ready to run. Initializing
graphics H/W...
E/HAL ( 813): load: module=/system/lib/hw/gralloc.msm8660.so
E/HAL ( 813): Cannot load library: link_image[1891]: 813 could not load n
eeded library 'libQcomUI.so' for 'gralloc.msm8660.so' (reloc_library[1306]: 81
3 cannot locate 'eglGetRenderBufferANDROID'...
E/HAL ( 813): )
E/FramebufferNativeWindow( 813): Couldn't get gralloc module
E/SurfaceFlinger( 813): Display subsystem failed to initialize. check logs. exi
[HTC Sensation] blackwing182:
did you copied libs form ICS ( CM9 ) rom to the JB port, sounds like a services.jar error or something else
[HTC Sensation] Gtj94:
Yep, looks like problems with the libs
[HTC Sensation] siulmagic:
that logcat is saying your missing a lib from the gralloc module, libqcomui.so, iv gotten this error, but even if you add the missing lib it will still complain it is not present. but hey if you manage to get past it do tell, btw see if you can boot it in sw mode, open your egl.cfg and delete everything then add this

0 1 android

then close it and save, and then boot rom, that should force it to render in software mode and ignore the egl error's
[HTC Sensation] T-Macgnolia:
Thanks a bunch guys, I just now woke up, I have been up all night for the past three nights. So I had to get some sleep. I will try all of your suggestions here shortly, got to get more awake first lol. Belooking for a report back from me here sometime with in the next hour or two.

Oh and yes it does already have that libQcomUI.so in the in it that is why I asked for help.
[HTC Sensation] blackwing182:
can you upload your build so i can download and have the same build to debug?
[HTC Sensation] T-Macgnolia:
Yeah I will upload it, but it will probably take a hour or more to get it uploaded. I will send you and any one else that wants to work on debugging of a PM with the link.

Here is a little info on it, I used the lastest CM9 nightly build as my base ROM and the HTC ONE X ROM as the ROM I ported. I followed the advice of tgascoigne, the ROM dev for the HTC ONE X ROM, and I did not edit the init.rc. of the ramdisk. I just pulled both the init.rc and the init.trace.rc as they were from the SDK ramdisk to the ramdisk of the CM9 nightly and then put the boot.img back together. I then added all the missing lib files, folders and files in the folders from /system/lib. I have put all the the missing files in /system/etc and removed the ones for the ONE X, but it might be a few things for the ONE X still in /system/etc not sure. I have also removed the ONE X files from /system/usr and replaced them with the pyramid files.
[HTC Sensation] Freshly_Snipes:
That's my video dude. Did you read my title or description? It says NOPE! LOL.... Then clearly in the description it says it's just the Jelly bean boot animation and splash screen on an ICS CM9 ROM... I was showing how SIMILAR and click cool they look. That's it. I think everyone else got that from it.

With youtube it's about titles to get searches and views. However, trolling is not okay. Hence the description under the video.

Apologies for any confusion.

Sent from my HTC Sensation 4G using PKMN ROM using Sense 4.0
[HTC Sensation] siulmagic:
you cant replace the init.rc completely that will never work, just add init.trace.rc, and edit your init.rc accordingly. and i would refrain from using the nexxus 7 base as it is tegra based, you will have a very hard time porting that, i recommend using the gnex jb dumps.
[HTC Sensation] T-Macgnolia:
I had edited the init.rc of this build first and flashed it to my Sensation but it had all kinds of errors going on, So I contacted tgascoigne and asked what he/she what they had edited in the init.rc. But when tgascoigne PM'ed me back, he/she told me that they just pulled the whole init.rc and init.trace.rc to the ramdisk and used it as id. So I did the same and judging from the logcats from both attempts, it looked like the one without any edits got a lot further than the one with the edits.

I am still willing to try editing the init,rc though. Could you share the edits you made to yours to get it to boot on your G2? I also will try to do a build using the GNEX today and see how it goes. But I think I pretty much removed all the tegra stuff from the build I put together using the ONE X. I changed /system/etc/firmware to the the one from the CM9 nightly for the Sensation and removed a lot of files that I know where tegra related and replaced them with the adreno files for the Sensation.

Thanks for the help though man, please stick around as you could be of some real help, I sure as heck don't want to run you off.

Also I have the build from the ONE X uploaded if you are anyone else would like to work with it to see if you can debug it, just send me a PM. But to all non devs this is not a booting ROM it only shows the splash screen and when it hits the problem in the section of the logcat I posted it starts a continuous loop of trying to but only to keep hitting the same problem.
[HTC Sensation] Jonny:
Can you PM me a link to the port-in-progress please and maybe one to a logcat.txt file as well, I have 6 hours to kill on monday and another 6 on tuesday so I might as well help out ;)

Also maybe those interested in helping with the port should create/join something like a fb group, makes it easier to share information than via PM and also info can be stored in docs within the group? just an idea ;)
[HTC Sensation] blackwing182:
an IRC chat or a google plus hang out would be perfect to
[HTC Sensation] Jonny:
I dont think IRC can store info though so if one dev is offline when something happens they wont know about it, google hangout would work though
[HTC Sensation] siulmagic:
sure heres my init rc, il attach it to my post.

i also have a irc channel, on @freenode, #android-maisters, you guys are more than welcome to join, il help as much as i can.
[HTC Sensation] T-Macgnolia:
Thanks for that man.

Here is a Google Hang Out I started.

Edit: removed link because the hang out ids shut down, if need be I will start another one.
[HTC Sensation] pyramid:
I'm first one to join :thumbup:
[HTC Sensation] Sensation-al!:
To they guys working on this idk if it is helpful but they have a booting ROM on the Galaxy S 2, I just thought it might lead to some answers perhaps:

http://xdaforums.com/showthread.php?t=1739763

Sent from 3000 years in the future from my extremely outdated, but still extremely awesome HTC Sensation Z710e
[HTC Sensation] siulmagic:
this is my g2 jb port from the gnex jb rom, feel free to use as base, http://xdaforums.com/showthread.php?t=1744359
[HTC Sensation] blackwing182:
this is better cuz its on an HTC device,this is like porting miui, if tou have a samsung then port from samsung, if you have a HTC then use HTC rom for base

i see if i can boot this on an HTC glacier
[HTC Sensation] T-Macgnolia:
Good luck man, I got a build from the GNEX put together and no USB on it for logcat :( It will try to boot for a little while and then drop out and reboot. But maybe I can use siulmagic's G2 port and do some more comparisons. and get some stuff working on this one seeing he based his from the the GNEX. Although it is a chance that he used the other GNEX ROM from ...AWESOM... and Team Inferno. Yes two ROMS for the GNEX, WHA, WHAT:eek:......

If nothinng else I can fall back to the ONE X build and brain rake over it, I do get a logcat with that build....:rolleyes:
[HTC Sensation] blackwing182:
i have your build in my pc and suilmagic build 2, im going to sleep its 5:03 and i dont want to see the sun rising lol :)

2 morrow is moding day for mee xD
[HTC Sensation] Nekromantik:
do you guys think the new voice search app can be extracted and installed on a ICS Rom?
[HTC Sensation] Alienator9191:
Anyone wanna try to port this, almost same speqs between the phones..

http://xdaforums.com/showthread.php?t=1739763&highlight=jelly+bean
[HTC Sensation] T-Macgnolia:
It was tried in another port thread but was unsuccessful. Said it would just force close. So if it is possible, some one will have to decompile the apk and figure out how to make it work on ICS.
[HTC Sensation] Nekromantik:
Ah damn it!

Just have to wait for source code so devs can get working on a AKOP version.
[HTC Sensation] T-Macgnolia:
Progress

Ok I did some major research to understand my problem. From what the logcat was telling me " Couldn't get gralloc module" it was missing something to get the graphics hardware up and going. So I figured I would add all the files from /system/lib/modules in the ONE X ROM to /system/lib/modules of my build, I also removed the gralloc.msm8660.so. And guess what it worked,:D the ONE X port now boots to the bootanimation and does not give that error anymore. But the bootanimation is not displayed correctly, see image below, but it is there you can see it and the animation is playing all the way through but just looping because it still can not finish booting. I have run a new log cat an have a butt load of errors and fails now. I am not sure which one it is that fixed it or if I might just need to re add gralloc.msm8660.so. So I am going to put a couple of different test packages together to see. Plus I had done a lot of stuff to the build last night like some more edits in init.rc and and various other things so I may need to put the original package back together with just the added modules. Ether way it looks like I have a night of work ahead of me.

Edit: Ok I know what the fix was now, it was me removing the gralloc.msm8660.so from /system/lib/hw that got me past the error. Now if I can fix some more of them.

​
[HTC Sensation] Jiggs82:
Wish u lots of luck man! I swear if u get a booting rom working that would be the best bday gift ever haha :D
[HTC Sensation] pyramid:
From github - https://github.com/drewis/android_kernel_grouper

May be of some use.
[HTC Sensation] blackwing182:
but if you move the gralloc.msm8660.so the rom will never boot ether lol :P

i did not havent the time to play with this, im working on my miui rom to get some bugs killed.

ether way you are doing a great job, hats off to you man!
[HTC Sensation] T-Macgnolia:
Yeah it is is giving me messages about unknown gralloc now. It is also giving me messages on unknown permissions for the following. They are not in the ROM and I do not know where to get them.

com.google.android.calender

com.google.android.marvin.talkback

com.google.android.videotalkback

com.google.android.gms

com.google.android.apps.books

com.google.android.apps.current

Also I am having to use the forced rendering in software mode like siulmagic posted for it to show the animation. If I do not I only get a black screen after the splash screen falls out.
[HTC Sensation] blackwing182:
sendme that logcat
[HTC Sensation] T-Macgnolia:
Ok here is a download for what little bit of logcat I managed to get from it. I am currently uninstalling my SDK because it is throwing fits for some reason. When I get the SDK fully re installed I will run a full logcat on it. Sorry the one that had the unknown gralloc messages in it I forgot to save it, like I said my ADB was acting up so I could not do a auto save. I will be dead in the water until I can get the SDK re installed.
[HTC Sensation] superkid:
So what you got is running withought gralloc,meaning,using the "no hardware mode", i using the msm7x30 instead and get same issue "cannot locate 'eglGetRenderBufferANDROID'"

I think its on libEGL.so but the device get stuck if i change that lib with a ics one

using no gralloc and 0 1 android on egl, will get you boot, but luncher wont start cause no eglconfig
[HTC Sensation] Sensation-al!:
You deserve a WORLD of thanks for how hard you are working to get this booting! Thank you and all the other devs you are working with so much!

Sent from 3000 years in the future from my extremely outdated, but still extremely awesome HTC Sensation Z710e
[HTC Sensation] galaxys:
+1 great work on this!
[HTC Sensation] alireza_simkesh:
Thanks for the great work!

the fact that the animation is not showing properly (to scale) could be because ur using the graphic hardware module from ONE X right? cuz sensation and HOX have different graphic modules, as well as different screen sizes....
[HTC Sensation] dmcb123:
Just a quick question but did anyone try to port it using the porting tools in dsixda's kitchen? if not ill try it now.
[HTC Sensation] T-Macgnolia:
No I replaced all the modules in /system/lib/modules. The ONE X Port has several module files there. But I took all of them out and put bcm4329.ko which is the only module that is in the CM9 nightly I am using. I may put kineto_gan.ko in as well and see if that helps. Right now I am still letting my computer download and install all the stuff for the SDK. I had to do a complete re install so I am installing everything again not just the tools, it sucks.
[HTC Sensation] GazaIan:
That's the worst way to port a ROM. It won't work.

---------- Post added at 01:18 PM ---------- Previous post was at 01:16 PM ----------

Aren't those two modules associated with WiFi? How exactly does that help? Correct me if I'm wrong. I haven't even looked at any of those logcats, it's been months.
[HTC Sensation] usaff22:
Instead of using the SDK dump to make a ROM, wouldn't it be easier to start with the GNex's OTA?
[HTC Sensation] Nekromantik:
Does it not boot with CM9 Senny libs?
[HTC Sensation] rasfos:
Not sure if it will help but Google released the stock rom for the nexus 7.

https://developers.google.com/android/nexus/images#nakasi
[HTC Sensation] T-Macgnolia:
Thanks for the info man, I will be straight with you. I am doing this for something to do man. I am having to do research on it as I am going so I learning as I go. So I have no idea if that is what those files do, heck it took me all day yesterday of reading to understand what gralloc.h is LOL...:o Also I edited one of the file names in my last post cause I was looking at the wrong thing when I posted that post. I will definitely be doing some looking into what the module file I have is and what the few other module files I have found are. I really want to get a sold full logcat first to find my main starting point. I got a butt load of guides and info on logcats pulled up reading it so I can learn just how to utilize this debugging tool.

The port I am currently working with is from the HTC ONE X port because I aatually get a logcat from it where as I can bother one from the port from the GNEX :(

I have added all the missing libs from the Sensation CM ROM that I am using. Like I said above this is a learning process and something to do....;)

---------- Post added at 01:21 PM ---------- Previous post was at 01:10 PM ----------

Didn't mean to over look you earlier, just forgot to press multi quote on your post. Thanks for the info, the launcher does not work on suilmagic's port for the G2. So that makes total sense. Also I have tried replacing the libQcomUI.so, but it made no difference.
[HTC Sensation] superkid:
Nah, that lib is needed for our gralloc to work properly, so, we need a way to can use libegl.so from ics in the jb... or make that gralloc will not ask for that function
[HTC Sensation] T-Macgnolia:
Exactly what I think, now from what I was reading yesterday, please correct me if I am wrong. The gralloc module is in the kernel correct? If I am right that means to make it not ask for that function from libQcomUI.so it will have to done in the kernel.