yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] tarends:
I have read allot more about the matter today, but im still waiting for some more information that will be send to me. hopefully all that information will help me understand the error i have at the moment, what will bring us one step closer to actual visuals on the sensation
[HTC Sensation] DroidRC1:
http://android.modaco.com/topic/348194-04-nov-icl23d-galaxy-nexus-boot-recovery-system-dump/

Looks like there been a dump! Will this help?
[HTC Sensation] malybru:
Hi,

Yup,

I think they will be happy with that.

:D
[HTC Sensation] tarends:
Noticed that aswell had a fast build with it but no luck. Will work on it next week as i dont have time for it at the moment. But hopefully it will fix the problem we have at the moment. Guysnat sg2 dev seem to have made progression with the file. But thanks for contributing!
[HTC Sensation] DroidRC1:
Thx for all y'all hard work!
[HTC Sensation] DroidRC1:
I don't know if y'all have looked in this thread yet but there's some info here

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

[DEV] Working HTC touchscreen driver fix for ICS, no porting necessary
[HTC Sensation] jassycliq:
Played with the system dump a bit today :)

http://pastebin.com/WuRRVFAh

So basically, it booted... but same thing as before, something is up with the gfx drivers, i used both Sensation and the tablet that @tarends said had same gpu/cpu.

Only difference is that the screen animation doesn't happen and that the capacitive buttons don't work... Yeah, trying to get it to fully boot before worrying about anything else. I'm gonna look at the boot.img see what we are missing from ICS :)
[HTC Sensation] daewond3r:
I'm assuming the apps from the MoDaCo dump won't work on the 2.3.7 device. Is that right?
[HTC Sensation] DroidRC1:
Right we need the framework I think
[HTC Sensation] Noktrnl:
says the new dump is non odexed so that should come in handy ;)
[HTC Sensation] arzbhatia:
Updates? Can't wait.
[HTC Sensation] jassycliq:
Just saying:

were gonna have to start using an AOSP kernel. In order to get touchscreen working later on were gonna need to change the source. Im already downloading faux's kernel and then ill make the changes. Hopefully that will help :)

Ill be gone all day today, but ill still be working on it, if anybody else can build the kernel then that would be cool. Hopefully faux has his kernel up to date if not then ill use p1984 (Yes, ill post my source before i release) and if it works for both CM7 and ICS then ill send either of them a pull request instead
[HTC Sensation] nory82688:
What kernel is currently being used?
[HTC Sensation] DutchDanny:
There is a kernel made by LordClocken in Desire HD Dev forums that works.

On mobile here, so can't get you a link.

Send from my BinDroid Desire HD with Tapatalk
[HTC Sensation] jassycliq:
That's a whole different device, we have our own kernel. And I am aware of the fix inside the kernel to make touchscreen work, it's the least of my problems at the moment. Currently I want to switch to aosp kernel so that we can be fixing the problems that are specific to that kernel.

Thanks though :)
[HTC Sensation] jassycliq:
We're using Sense 3.5 kernel. Well at least I was, I'm not sure about everybody else.
[HTC Sensation] nory82688:
O ok thanks. Yeah I would assume one of the aosp kernels would work the best. Has anyone tried the cm7 kernel by bumblebee?
[HTC Sensation] jassycliq:
When tarends first started i believe he said he was using cm7 kernel which he said debugging was disabled. Either way i want to go with a more current kernel and hack around it :)
[HTC Sensation] nory82688:
True indeed, I wish ya luck buddy
[HTC Sensation] death1246:
The reason the visuals are not working right is because 4.0 runs off hardware acceleration and it doesnt have software acceleration optimization.

So the visuals will be choppy until the drivers are created for the sensation... for that we need HTC.
[HTC Sensation] jassycliq:
we dont have anything at all. No display. nothing, just screen off animation in the sdk port.

The issue is weird, i think i saw that the evo 3D peeps had it booting without touch, but its a mess over there
[HTC Sensation] tarends:
we should not have this problem as we use a honeycomb driver for the graphics that has hw acc in it. We just neednto figure some things out. But i have no time at the moment to work on it. But i hope the guys at the sgs2 forums make progression as they have the same.prob we have and most likely there fix will help us aswell.
[HTC Sensation] Ace42:
http://xdaforums.com/showthread.php?goto=newpost&t=1332605
[HTC Sensation] nory82688:
They're making some good progress in that thread seems like :)
[HTC Sensation] tarends:
Just got the display working and hopefully soon get the touch screen working aswell need more devs to work on this.
[HTC Sensation] Jiggs82:
Woow thats great news :) wish I could help but wish you good luck with this and hopefully we can get this fully working asap
[HTC Sensation] T-Macgnolia:
Hey trends I just got both of your PM's and I sent you one back. As I said in my PM I have a idea of how to get the touch screen to work I just have not found what I am looking for in the logcat yet. Check out this post by XDA Recognized Developer imilka.

We have the same synaptics-rmi-touchscreen.idc I believe but so far I have not seen what the line containing the name in the logcat yet.
[HTC Sensation] jassycliq:
Don't worry I'm gonna work on the kernel for touchscreen and then to find what kb we use there's a shell command... I'll try and find it for you

Also you can do "adb bugreport" it gives you every possible detail of the device. Comes in handy every now and then ;)
[HTC Sensation] malybru:
Hi,

Wow, is imilka working on this ,too?

:D
[HTC Sensation] jassycliq:
I believe most HTC devs are working on this since all HTC devices are plagued by the same issue (the ones willing to work on ICS to be exact lol)
[HTC Sensation] T-Macgnolia:
No imilka is not working on the this port for the Sensation but he is workiong on a port for the HD2. He has also been posting his findings in other port threads to try and help out the other devs that our working on ports for their devices. The quote I posted is from a post of his in the [ROM] [WIP] Nexus One ICS ROM Source SDK thread, but here is a link directly to his post.

---------- Post added at 03:48 PM ---------- Previous post was at 03:41 PM ----------

With the "adb bugreport"command I run it at boot correct? Sorry guys I am still learning here, but I am committed to do what I can to get this port working.
[HTC Sensation] jassycliq:
Anytime actually. It'll look confusing at first but just make sure to read each header.
[HTC Sensation] T-Macgnolia:
Now this seems very strange to me. I downloaded the latest version trends uploaded not long ago. I wanted to see if I could get the touch screen working. I know jassycliq said he was going to work on the kernel to try to get the touchscreen working and to find out what .kb file we need. But I think I can do it so I was going to give it a try.

Anyway I copy three versions of the build to my SD card, one was what I downloaded that trends just uploaded, one was a version with the synaptics-rmi-touchscreen-idc added, and the last was a version with the idc file renamed to pyramid-touchscreen.idc.

Now this is where it gets strange. All three versions flash fine and on boot up the screen shows the white screen with HTC in green then goes black for a second then boots into Clockwork Mod Recovery. Is anyone else getting these results? I also get a message saying a few of the files are broken.

Edit: Also when I extract the files from the original zip I downloaded I get a long list of errors saying that it is a unsupported compression method. I get these if I use Win RAR or 7 Zip to exstract the files.
[HTC Sensation] jassycliq:
The booting into recovery is a mess up in the inits. If you look at the dmsg it says something about that. Forgot the exact error.

As far as the unsupported method, I believe it might be a bad download. I'd try downloading again.
[HTC Sensation] T-Macgnolia:
Ok I am currently re downloading trends last upload. I know that the dmsg is a command for adb so again I must ask you. One does it matter when I run this command, or does it need to be at boot up? Also I downloaded the ADB file that trends uploaded that has the batch files to run logcat, reboot, a couple of other commands with just a double click of the mouse. Should I use the dmsgwith save option from this file or just run dmsg from command prompt as usual?

Edit: Still got the list of errors and broken files. The list of unsupported compression method is too long to list but they are all a .jar file or a .so file. It only shows two files as broken, They are below.

Data error in 'system\fonts\Roboto-itallic.tff'. File is broken.

Data error in "system\lib\libsrec_ini.so'. File is broken
[HTC Sensation] jassycliq:
Use his file and it doesn't matter when you do it, even a logcat will show what happens at boot if you do it mins after (at least in my experience)
[HTC Sensation] nory82688:
You guys seem like you're so close. I just got done playing with the 0.0.3 zip and it booted up to the google setup menu. I got through 2 screens before the FC's rebooted the phone lol but I got to see a little of ICS and that was awesome
[HTC Sensation] jassycliq:
@tarends The one with working screen, is that sdk or SGNexus dump?

also can you send me the info on how to get gfx through twitter or pm? :)
[HTC Sensation] foxehkins:
It's awesome that you guys are making progress with this. Has anyone taken the collected information and posted it in the development forum? Might be able to get more people to help that way.
[HTC Sensation] T-Macgnolia:
Well I really don't know why but i am having trouble with the .zip file of trends. I have yet to get it to boot up to the setup menu. I have down loaded the file four times now. The last time is the first time I did not get the errors when I extracted the files. But when I transferred the zip file I downloaded to my SD card and flash it to my Sensation it just boots up to the white screen with HTC in green. It is really weird that it is doing that when others are posting it gets to the set up screen. I am about to run a logcat on it and take a look. I only had one line in the logcat for the one that was rebooting into recovery, it is below.

- exec '/system/bin/sh' failed: Exec format error (8) -

Other downloads I had would not even flash I would get an error in Clockwork Mod Recovery saying it could not open the update. Like I said I find this weird.

Anyway this is for those of you that have it booting to the setup screen, especially for trends and jassycliq. Go into system\usr\idc and take all the files that are there and trash them. Then take the synaptics-rmi-touchscreen.idc file and place it in system\usr\idc. then rename it to cy8c-touchscreen.idc and see if that will get the touch screen working. I say do this because I found the following in the dmsg.
[HTC Sensation] nory82688:
I'm going to take a stab at this for you. Warning you I am no dev lol
[HTC Sensation] T-Macgnolia:
Cool I got the synaptics-rmi-touchscreen.idc file from the Revolution HD ROM.

Just download the ROM and then extract the files to a location you can find them. Then extract the files from trends build to a location you can find. Next open a window with the Revolution HD files and a window with the files from trends build. Navigate both windows to system\usr\idc and you will see three files in the one for trends build and one file in the revolution HD build. Just delete the three files from trends build. Copy and paste the synaptics-rmi-touchscreen.idc file to the Revolution HD window to trends build window. Finally rename the file to cy8c-touchscreen.idc.

If that does not work try doing it again but do not change the name of the file, just leave it as synaptics-rmi-touchscreen.idc file

Edit: sorry but I forgot to tell you that you will have to re zip the files after you are done so you can flash them. I always use the default zip tool in windows to do this as Win RAR and 7 Zip are not supported by Clockwork Mod Recovery I do not think. At least that is the error message I get when I have used them in the past.
[HTC Sensation] nory82688:
im having trouble finding the synaptics-rmi-touchscreen.idc file, where can i find this?

edit: ok will download rom
[HTC Sensation] jassycliq:
So bad news... My hard drive is corrupt >:/ I'm done with ubuntu. I'm installing Arch as we speak, should be back up in no time. I'll have to redownload the kernel source (2mins max) then set everything up. Hopefully I'll have the kernel by tomorrow night :) got school tomorrow so ill be gone for a couple of hours.

Goodluck with those tests you guys got going ;)

Oh also, even if you make it past the setup the home crashes so it's useless trying that right now. I'm gonna see what we need to fix.
[HTC Sensation] nory82688:
once thats done , what should i do

i got rid of the three file like you said, i copied the ARHD file to where you said to and renamed it . now what to do
[HTC Sensation] T-Macgnolia:
Check the edit I added to my last post i had forgot to include that part my bad man. Also I think you might be mistaken as you said you copied the ARHD file. Once you have the revolution HD ROM downloaded just extract the files from the .zip and then go to system\usr\idc you need the synaptics-rmi-touchscreen.idc file that is there. Not really sure what the ARHD file is?
[HTC Sensation] Avias8:
Yo. Lulz

Ive been following this thread like crazy, even as we speak. As I'm just 13 I can't do much as of the current days, I had a crazy modding spree with my phone recently and can't touch it right now, as I get a " Use your phone like a phone" from my mom. But besides that I want to just check this out. where did you guys learn to dev? I wanna join in on the fun, stress. Aside from that great work
[HTC Sensation] nory82688:
dont worry lol i did it the way you wanted. i just didnt word it correctly. touchscreen n is still sketchy, so im going to try it without renaming the .idc

---------- Post added at 12:46 AM ---------- Previous post was at 12:31 AM ----------

oh shoot, im using 7zip. i have a windows vista machine, what is the program you use called?

i did notice when i booted up, all the forcecloses had to do with the apks.
[HTC Sensation] T-Macgnolia:
All I do is just highlight the three files System, META-INF, and boot. Then I right click them. Go to "Send to" and this will bring up another little window with options in it. You want to choice "Compressed (zip) Folder" It will give it a generic name so you may want to rename it once it is zipped, ad it will creat the zip in the same location of the files you put in the zip.
[HTC Sensation] nory82688:
ok sounds good
[HTC Sensation] T-Macgnolia:
I do not look at myself as a dev by no means. But my best advice to you is to start reading through the threads in the Chef central forums, a lot of useful information is in them. Plus check out the forums for development and hacking for the OS you want to work with. Also you need to start learning some programming languages such as c, c++, Java, HTML, and etc. I personally am still working on learning c and c++ so I can get a good concept of how to read and write programs, and how to compile programs. This is the site I am using right now. But remember like I said I am no dev just trying to answer your question some.
[HTC Sensation] nory82688:
this is what im seeing when i boot up
[HTC Sensation] skipness:
nice port!i will have a try tonight
[HTC Sensation] nory82688:
nothing to try yet lol it doesnt get passed that screen i have in the photos. i got to the third screen in setup just now, but rebooted

---------- Post added at 01:47 AM ---------- Previous post was at 01:44 AM ----------

so whats it mean when all the apks are forceclosing?
[HTC Sensation] T-Macgnolia:
I think I still see the ring in one of your pics there. But I still have to ask does it still have the little ring that you have to use as a pointer to select things are can you use it as a normal touchscreen?

I am not exactly sure but what that means to be honest, I will have do look into that tomorrow some time as I am about to crash for tonight.
[HTC Sensation] nory82688:
yeah there is a ring there still . and a million forcecloses from system apps. (phone, lwp, dspmanager.etc..)
[HTC Sensation] Jiggs82:
Same here. My guessing is that its happening because of the kernel, think we need to find a working one to solve the fc apps etc...just my opinion
[HTC Sensation] T-Macgnolia:
Hmm sounds like we may be missing some essential files for these apps. It could also be a number of other things, but this is all very much something that can be worked out.
[HTC Sensation] unfnknblvbl:
isn't DSP Manager a CM-only thing? As in, it wants a specific audioflinger version to work?

Have you tried just removing it (and LWP) and seeing what happens?
[HTC Sensation] nory82688:
no i havent, but those those arent the only ones forceclosing. most of the system apps seem to FC even the phone apk
[HTC Sensation] jassycliq:
Nothing works. Launcher2 fcs, everything does. It's not the kernel, it's just the libs and other things. Overall id like to see this with the nexus dump. Not have to deal with sdk crap, but it might be more of a pain lol
[HTC Sensation] nory82688:
did you get these apps from the 4.0 system dump?

---------- Post added at 02:15 AM ---------- Previous post was at 02:09 AM ----------

so what needs to be done?
[HTC Sensation] tarends:
This is what we have done so far with the sdk, and tonight i will try to work on the nexus dump and get some graphics from that, most of the errors are there cause the framework does not get loaded. Apps are having reboots cause of cers not being right and there might be sone outdated libs. Anyhow. I hope to have time later on and get the nexus build to do the same as this one. That should result in a more stable build. If anybody has time please give it a try already. All that needs to be done is compare the lib/bin folder for missing files that are device specific copy the egl and hw folder with alk files to the nexus build and edit the build.prob prehabs some small other changes. But i can remember right now as im driving to school.

But its great to see other people are working on this aswell.
[HTC Sensation] alvaradorocks:
It is nice to see a lot of ppl working on this. I want part in it but for now, I'm still fetching the CyanogenMod source and the AOSP will come in a few.

Also, if you use one finger on the screen and keep it there you can move the pointer, then you can use the other to tap and play with the fc on the build.

If you can't reach the next button, just place a finger along the other without tapping, then remove the first finger and scroll with the second, neat.
[HTC Sensation] nory82688:
lol nice , you know the technique . i did this like 10 times , but after a while the phone just reboots, i did get to the third screen once, but again rebooted
[HTC Sensation] klaus27:
You sure are aware of this: http://android.modaco.com/topic/347...o-the-liquid/page__view__findpost__p__1832764

Are you?
[HTC Sensation] alvaradorocks:
yea, I think it's neat that ICS has a very improved mouse function compare to HC and I think this will really get some attention due to it being very low level.

Now to mention that they will hopefully release the source for it unlike HC.

Was the HC source that badly set up that they had to work hand-in-hand with manufactures to build it??

Well, it's late here, but by tomorrow I'll have a box ready to compile some kernels if anyone needs any to test just let me know.

I'll get a hold of the AOSP source tree just in case.
[HTC Sensation] unfnknblvbl:
hrm... anybody else noticed that the soft buttons are just treated as part of the 'mousing area'?

edit: ...and that each time the phone reboots, it seems to get a little further along in the process?
[HTC Sensation] tarends:
I sure do, without that information it would not boot up at all. But there is just to much changed in the current build as i was trying to figure out how to get graphics working and the sdk to fully boot.
[HTC Sensation] tarends:
I have noticed that, it cause i changed some things in the key configuration but i will change it back later. That should bring back the buttons as they where. But have no time and tools to do it right now.
[HTC Sensation] skipness:
can android4 use 2.x system apps?

if yes,how about replace some of the system app temporary for further testing?

(as I'm new to rom porting so if i ask stupid question,tell me and i will shut my mouth up)
[HTC Sensation] tarends:
It should.be able to do that with the improvements being implemented when they start. Anyhow we will try to get the nexus build to boot first as thay will help us out a load more and if that does not work we will try to find a way to get this more stable. Either way we will get some ICS before the source is released. And than we can make everything working hopefully.
[HTC Sensation] zorlin:
I just extracted and tested boot.img - it already has that fix in it. Thanks for the find though.

EDIT: I just downloaded the Galaxy dumps and I'm going to try and hack together the two into something usable per tarends' directions.

Done so far:

- Edited build.prop in the Galaxy dump, changing device name, platform etc but leaving most of the other stuff alone. Included LCD density, *commented out the bit that disabled the sdcard*

- Copied /system/bin files from the SDK dump to the Galaxy dump, not replacing anything that already existed

- Copied files in /system/lib from the SDK dump to the Galaxy dump, not replacing anything that already existed

- Copied all the files in /system/lib/hw, same sort of deal

- Copied all the files in /system/lib/egl, same sort of deal.

Going to try that with the boot.img file from the SDK dump (bad idea, I know) and report results.

EDIT: It appears to boot, but every graphic is a grey square/rectangle :P

EDIT2:

- Copied /system/modules across

- Deprecated old bootanimation.zip and replaced it with the one from the working SDK build

- Copied /system/vendor across

- Copied /system/xbin across, notably bringing busybox across :P

Created a new zip, flashing it and crossing my fingers.

EDIT3: With all the new changes, it still boots but has the same sort of problem... weird redrawing stuff happening, too.
[HTC Sensation] tarends:
Its great to see you working on this aswell, could you report what error you are getting in logcat specific to EGL and what coms behind it.

You could try to download the alpha 0.0.3 and place the egl and hw folders from both of these in the build you have at the moment. hopefully that results in getting graphics. you should edit the build.prob aswell with the Sensation args.
[HTC Sensation] zorlin:
I did place the egl and hw folders, it didn't help just yet. Going to try and build a custom boot.img file though.

How do I get the logcat errors? I've got adb somewhat setup already, I've just never done this sort of thing.

C:\Program Files\Android\android-sdk\platform-tools>adb shell

- exec '/system/bin/sh' failed: Exec format error (8) -

EDIT: I also screwed up build.prop's LCD density apparently, haha
[HTC Sensation] tarends:
To fix this you should just add SH from a cm7 build, that will result in a quick fix. Then if you adb logcat it will give you all the information you need and abd logcat > filename.txt will make a file containing the information given by logcat. that is the best way to get the logcat information as far as i know.

let me know if this helps you out.
[HTC Sensation] zorlin:
Done and fixed lcd density too. Going to try booting now.

EDIT: Density change did nothing. adb is now fixed though!

Here's the output:

http://pastebin.com/GA8hurS7

Quick CTRL+F and scan through revealed nothing interesting about EGL :( I'm getting blank grey for the boot animation, boot seems oddly quick and I get a screen-off animation in slow-mo if I hit power...
[HTC Sensation] GabrielSousa:
what base are you using ?