yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] NielDK:
Wiped dalvik cache, format system, cache, data, installed zip. Works allright, getting past initial screens etc.

Touchscreen somewhat working, using circle pointer. Seems quite off, which I think is because (from log posted) screen resolution expected is 1012*940. Perhaps a quick and dirty DPI change will help this, temporarily, Till proper config file is found.
[HTC Sensation] speedysilwady:
T-Mac I think the best way to find out what the idc file should be named is to compare it to the one in CM7 for sensation since its an AOSP rom that's running on our sensation. Again just brainstorming ideas.
[HTC Sensation] Dano79:
Lol far from a daily but not that far
[HTC Sensation] DroidRC1:
I have a working honeycomb sdk port for the mt3g (im not the dev of it) Idk if that would help n anyway...(just trying to help in anyway I can)
[HTC Sensation] T-Macgnolia:
If I had not been working on this I would have agreed with you. But non of the AOSP ROMs for the Sensation that I have looked even have system\usr\idc. Which that is where the idc file has to be placed, therfor none of those ROMs have a idc file to swipe and give a try. I know confusing right......:confused:

Now NieDK, sorry forgot to hit the multi quote button, you may just be on to something there. I had not noticed that before. I wonder sense the resolution is not set right is the reason the system seems to crash after the first touch. I have also noticed that when I have the mxt224_ts_input.idc or the synaptics-rmi-touchscreen.idc file present in system\usr\idc the touch aspect of the ring seems for the most part more responsive then without either one of the files bein.g there.
[HTC Sensation] Billyvnilly:
A lot of disrespect to you for not reading the thread.
[HTC Sensation] zorlin:
I'd bet damn near anything that it isn't going to work, but just for fun I'm going to flash the CM7-alpha10 boot.img and see what happens. I just noticed it's way bigger.
[HTC Sensation] nory82688:
lol so howd that work out for you?
[HTC Sensation] sparkienl:
idc file

Take a look in "1.73.401.2_stock_rooted_signed.zip" here you find the file synaptics-rmi-touchscreen.idc:D
[HTC Sensation] zorlin:
As far as I know, stock != AOSP. AOSP means "Android Open Source Project" and means stock *ANDROID*, not the stock firmware that comes with the Sensation. But thanks for the suggestion :)

---------- Post added at 02:05 PM ---------- Previous post was at 02:00 PM ----------

Doing it right now. Distracted by girlfriends. ;/

Black screen for bootanimation. Boots up and seems a lot smoother, though I'm 40% sure that's placebo. It also seems to solve the System UI has stopped errors for me. Woo!

EDIT: I read somewhere that you can fix the weird redraw problem by setting a live wallpaper. A little bit of fiddling later, I found that...

Setting the maps live wallpaper fixes the weird redraw problems!
[HTC Sensation] T-Macgnolia:
Thanks for the suggestion, but I already have a ROM that has that file in it. Plus it sort of seems like only Sense or stock based ROMs have the idc folder. Any AOSP ROM I have looked at does not. I am in the process right now of trying to decompile a stock system.img so I can have a look around in it.

To be honest with you though I am about ready to give up on it as I am in way over my head. And this crash course I have been taking by trying to help out here has just about gotten the best of me.
[HTC Sensation] sparkienl:
lines in the idc file

this are the lines in the file:

# Touch Size

touchSize.calibration = pressure

# Tool Size

touch.toolSize.calibration = linear

touch.toolSize.linearScale = 10

touch.toolSize.linearBias = 160

touch.toolSize.isSummed = 1

# Pressure

touch.pressure.calibration = amplitude

touch.pressure.source = default

touch.pressure.scale = 0.01

# Size

touch.size.calibration = normalized

# Orientation

touch.orientation.calibration = none

suc6:D
[HTC Sensation] zorlin:
I think setting maps helps because the wallpaper app currently isn't drawing wallpapers, and we're now in a composited environment. The tron effect is a hall-of-mirrors bug resulting from the background having no texture.

But yeah. Set your live wallpaper to maps to fix the redraw problems in the launcher.

Here's a logcat with some stuff about WiFi: http://pastebin.com/DncULRir

I think order of priority right now should be as follows:

- Touchscreen

- Radio

- Wifi

- Hardware accel
[HTC Sensation] Knucklessg1:
I saw this in the General thread, I wonder if this Touchscreen fix applies to our Sensation? http://xdaforums.com/showthread.php?t=1332605
[HTC Sensation] zorlin:
As far as I know: NO. This has been posted like four times now. Thanks anyways.
[HTC Sensation] pr0x2:
Better wait for the source code from Google. The cm team will cook up something after that. I am sure.

--------------------------------

Send via the XDA app
[HTC Sensation] T-Macgnolia:
Ok I have researched and researched, I know the Sensation uses a Atmel driver for the touchscreen. What I don't know is the exact Atmel driver the Sensation uses as I can not find the name of the exact driver. I have seen the mxt224e driver mentioned and the atmel.c driver mentioned, as well as another atmel driver that I can not remember the name of as I am not at home and my note book with all my research in there.

I know that what ever touchscreen driver the Sensation uses will pretty much tell me what idc file is needed. I am almost 100% sure that the idc file will have to be named cy8c-touchscreen.idc. But I first have to know what idc file to rename and place in system:\usr\idc. I have searched by the name the idc needs to be and that does not help. So to just be honest I am tired of searching. So I am requesting this information from anyone that can tell me proof positive what the exact driver is for the touchscreen on the Sensation.

Now I had to leave my house unexpectedly and was not able to finish working with the stock system.img that I extracted from a stock T-Mobile ROM. In fact I want to go through more than just the system.IMG bit it will take time. I will try to work on it some more when I get home shortly, But I start my new job tommorw so I have to get into bed at early so no staying up all night tonight.
[HTC Sensation] ianoob:
As much as I respect the CM devs, I would like to see development of this ROM continue. Always good to have choices and build new devs. Source code will help tho...
[HTC Sensation] frostyroot:
Just curious; when this all does work out the way it's supposed to work, will this have HDMI out like it would for the Galaxy Nexus?
[HTC Sensation] zorlin:
Going to try changing the RIL to the one used in the CM7 sensation build to try and get radio working.

So far:

Added this to build.prop

Copied /system/lib/librilswitch.so from CM7

Copied /system/lib/libganril.so from CM7
[HTC Sensation] Tone503773:
This is cool, something that I found out is that it registers 4 fingers unlike Honeycomb which registers all 10 fingers. It makes sense for the phone form-factor but not for the tablet. Maybe it registers more touches as the screen size increases.
[HTC Sensation] zorlin:
I don't think our touchscreen supports more than 4 point multitouch.
[HTC Sensation] Behold_this:
You're welcome for that thanks I just have you...it was 100% unintentional
[HTC Sensation] Billyvnilly:
atmel-touchscreen.idc

?
[HTC Sensation] Tone503773:
Our devices as in the Sensation, right?
[HTC Sensation] T-Macgnolia:
I think you are heading in the right direction there as the first set of lines you added,

Do more than likely need to be added, I have not had much time to look and see what other lines would probably need to be added if any more to the build.prop. But it looks lime you have. I think you can take the line.
[HTC Sensation] Tone503773:
I'm getting ahead of the devs working on this, but is the Developer Options in this rom for the Galaxy Nexus or is it for the emulator? I was asking because there are some dev settings like Pointer Location (screen overlay showing current touch data), Show Touches (Show visual feedback for touches), Show CPU usage, and Force GPU rendering. I would think that would be for the emulator but its in the actual rom so that is what made me ask if these will be on the Nexus.
[HTC Sensation] T-Macgnolia:
As far as I know these settings should be the same no matter what device they are on as these are dev settings for the Android OS.
[HTC Sensation] zorlin:
These are likely debug options... I'm not sure how many of them will remain in the retail/shipped ROM, but I think they're all fairly likely. The Nexus line is supposed to be considered a developer device (though this often and rightly takes a backseat to being a consumer device).

Yes :)

The changes I made do seem to help a LOT... you can now search for networks, though that doesn't seem to go anywhere, and it'll occasionally flash No service at you. Wi-fi is still broken.

EDIT: I replaced libril.so, cleared cache and dalvik cache and all of a sudden I'm seeing this:

Android is upgrading

Optimizing applications 58 of 77.

It completed successfully and nothing really seemed to change. O_o

Now I'm going to try and change a few identifiers in the build.prop and see if that helps anything. (make them match CM7, since we're trying to get AOSP-compatibility here)

EDIT2: Didn't seem to help. Still no hardware accel or touch. :(
[HTC Sensation] zorlin:
Wait, don't you mean told.libpath=/system/lib/libhtc_ril.so?
[HTC Sensation] T-Macgnolia:
Yeah I meant rild.libpath=/system/lib/libhtc_ril.so I posted that with my Sensation. You know how that is some times. :p
[HTC Sensation] jwhood:
can anyone help me get this going on mt4g??edit:i know this aint my form but ive tryed and no luck,still learning how to do things

sent frm the home of "THE WIRE"
[HTC Sensation] zorlin:
It's already in there as like the second line :)
[HTC Sensation] twistedumbrella:
I think it might just be time to throw in the towel...
[HTC Sensation] nory82688:
Lol. are his questions in all different forums?i saw him say something about the incredible...
[HTC Sensation] jwhood:
Yeah i think ur right,i knew i should've paid more attention in school!!! :/edit:do i have to change the build.prop file info to match my device info,im new at this so thats why im askin,and do i also have to switch all other files frm mt4g(htc glacier) into ur base??edit: yeah thats me,im really trying to get this to work cause ,no ones put nuthin out on are forms not even a (wip),i just need sum help gettin it going thats all,everyone had to start some where!!!

sent frm the home of "THE WIRE"
[HTC Sensation] nory82688:
i know you want ICS on your phone, we all do. but we dont have a mytouch 4g , so it would be kind of hard to help you out because the hardware is completely different. but i dont know , im not a dev, i just help with things that i can do here.

what you may want to do is download a ICSport build for another htc device with similar specs and see what you can do with it, mixing and matching,replacing files, etc.. thats what we've been doing since day one. i wish ya luck
[HTC Sensation] zorlin:
Posting in a dozen different places won't help you. Make a post in the MyTouch 4G General forum asking for help starting a port if you want help; you're just cluttering up this thread :(
[HTC Sensation] jwhood:
Alright,good luck,im done posting questions,thanks for the info!!!

sent frm the home of "THE WIRE"
[HTC Sensation] :
glad to see all of you guys working together to put this together. im gonna hold off on flashing this until it becomes workable but from the progress i see, it shouldnt be too far from being stable. keep up the good work guys, wish i could contribute to this
[HTC Sensation] zorlin:
I think hope I'm onto something with the touchscreen.

From the last logcat:

From a bit of googling, should theoretically be ?uimode ?night finger.
[HTC Sensation] twistedumbrella:
I just took a look at http://xdaforums.com/showthread.php?t=1330487 and it looks like he is trying to get it running on mt4g. I think that is your best bet.
[HTC Sensation] NielDK:
I do believe that what we need is not Atmel driver, but Synaptics.

A guy seems to have some modified sourcecode for that, now, can this be compiled to work in this experiment ?

https://github.com/LorDClockaN/LorD...4a78/drivers/input/touchscreen/synaptics_3k.c
[HTC Sensation] tarends:
Thanks for this info,at first ill try and see if quick fix works within the kernel. Comment out 4 lines, but have to do some research in how to cook a kernel. And get linux installed on my pc.

Anyhow am real busy with school at the moment so i have no idea when i find time to get this done.

Have read aswell that the source will be out soon. The 17th november. But we have to wait for that.

I hope the others will find a way to get touchscreen working before i have time to work on it. Anyhow its great you guys have more stability in this one and as soon as i find time i will work on it a bit more and get touch working and then ill try and make it more stable.

Why graphics are not working is cause the hw modullea are not made fore ICS and as i can remember at this moment, they give an error during boot that one class cannot be loaded bit i will look into it later, and see if there is a fix for that.

Just a tip for the the other devs, try and remove all the apk files that give errors. With that it should become more stable and- workable.
[HTC Sensation] zorlin:
Don't even need to do this - none of them seem to crash once you're running CM7.1 SKA10's kernel + running maps as the live wallpaper.
[HTC Sensation] tarends:
How sad is thad, i had less time as the dev to test things out than you guys. And its amazing to see all of you guys helping out!
[HTC Sensation] zorlin:
Haha. No problem - now get radio/touchscreen working and I'll be happy. ;P

For full disclosure: Talk crashes a bit, but it's rare and not really a problem.

Still need: hardware acceleration, radio, wifi, touchscreen...
[HTC Sensation] tarends:
It will be there,i just need a bit of time to get it all sorted out.
[HTC Sensation] NielDK:
I dont have a complete development environment setup just now. But in case anyone wants to try and compile these, with the ICS 4 source, here is a link for (GPL) part of the SDK source tree.

https://groups.google.com/group/android-building/browse_thread/thread/ade6fcd847fbb3fb?pli=1

You will need to add (replace) the GPL source to the exisiting HTC source

http://htcdev.com/devcenter/downloads
[HTC Sensation] KeeperOfThePizza:
Couldn't help but say i had a dream that i got it working on my phone last night, in other terms I hope we see this working soon!
[HTC Sensation] DroidRC1:
Could u release what u have so far on a flashable zip?
[HTC Sensation] tarends:
As soon as i have time for it ill implement the changes he made and upload it. But if you like to do it yourself just pick any kernel update zip and replace the z image with the current cm7 zimage and also swap the corresponding module to the system folder within that zip file.
[HTC Sensation] DroidRC1:
K thanks I just wanted it now since I wont b n front of a computer till tonight
[HTC Sensation] twistedumbrella:
If you guys still have the black bootanimation, all you need is an animation in system/media. I know detecting loops gets tricky when you dont have one and aren't necessarily plugged in.
[HTC Sensation] tarends:
Understood, but you should not see this as an useable build
[HTC Sensation] DroidRC1:
O I understand its not stable yet..I just have some ideas to test
[HTC Sensation] zorlin:
Just to let you guys know, I'm stealing this and using it as a base for a HP TouchPad/Tenderloin ICS port. Credit will be given, naturally. Just a fun project until the source code drops.
[HTC Sensation] patrick256:
Good luck ! Hope it works soon
[HTC Sensation] bduvel:
https://groups.google.com/forum/#!topic/android-building/T4XZJCZnqF8

hope u can do something with that ;D
[HTC Sensation] Gillion:
ICS source code dropped !
[HTC Sensation] zorlin:
Oh god yes. I'll try and set up a buildenv and compile it when I get to work.
[HTC Sensation] DroidRC1:
Think its still being uploaded but hopefully soon we can play with it

Well looks like its done lets sync!
[HTC Sensation] zorlin:
I'm syncing right now - apparently it's a hell of a beast to build. I may set one up to run overnight and pull it down later.
[HTC Sensation] twistedumbrella:
It has already failed once on me. It's flooded.
[HTC Sensation] zorlin:
I managed to pull it down to completion. I'm on a pretty nice connection here - any pointers to get me started? I want to build it overnight, SSH in and pull it down.
[HTC Sensation] daman215:
i hope you can, let me test that badboy out pm me if you need testers
[HTC Sensation] SuperSwaggtastic:
I want to be a tester as well.

[Rom: Alpha 10][Kernel: Faux 0.2.4b2]
[HTC Sensation] d.brown:
+ 1 on CM7.1 with faux kernel

Hi my name is DloBrown and Im A nightly addict who've been sober for too long!!!
[HTC Sensation] dancecore92:
If u need a tester - PM me too. :)
[HTC Sensation] twistedumbrella:
If you have a decent computer -j32 lol
[HTC Sensation] zorlin:
Not ideal, but 8GB RAM and an i3-2100 @ 3.10GHz (4 cores + HT) should do it, right? I need to install Ubuntu 64-bit first though. Current plan is to hack together a build profile by combining Cyanogenmod's CM7.1 profile for the HTC Incredible with files from my Sensation + the leaked Puccini build.
[HTC Sensation] motaman76:
ICS source code released

http://m.bgr.com/2011/11/14/google-releases-android-4-0-ice-cream-sandwich-source-code/
[HTC Sensation] zorlin:
...That's what the last 10 posts have been discussing. Please *read the thread*.

I need to build specifically for the Sensation, right? I can't build an emulator build, 'cause that'd be just as useless to us.
[HTC Sensation] -juanito-:
so..we will see ICS in htc sensation today ??
[HTC Sensation] NielDK:
Yes. You can get the. Config from device.

Hint: http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
[HTC Sensation] nory82688:
no lol .
[HTC Sensation] -juanito-:
thx for the answer..but when ??
[HTC Sensation] DroidRC1:
Best answer is we don't know but soon
[HTC Sensation] twistedumbrella:
Give it about a week then ask if there are any estimates on progress.
[HTC Sensation] NielDK:
May get an early alpha soon

But still work to do, getting the propriatary stuff to work. Since this source more than likely doesn't include drivers for eg. Camera, Bluetooth, radio, wifi.
[HTC Sensation] twistedumbrella:
It's just source for the build that was being ported. More or less the instruction manual to a previously obtained bird house. Can't build a sailboat with it, but it makes building a different bird house a little less confusing.

In English: Pretty much...
[HTC Sensation] T-Macgnolia:
Ha ha ha ha I like that analogy, but yes it is just the source for the version of Android 4.0.1 that is on the Galaxy Nexus. so it will still essentially be a port just a little easier as it contains more information to work with. So this might help this port and it might not.
[HTC Sensation] KeeperOfThePizza:
I know this is a SDK port. But is it anymore since Source was released? Maybe delete or rename? I hope a lot of developers collaborate on this and work together.. it would be nice.
[HTC Sensation] mrg02d:
Kinda low, don't you think?

matt
[HTC Sensation] quahog_convo:
I love this description so much.
[HTC Sensation] Knucklessg1:
Sorry if this was repeated, but here is the source for ICS. http://source.android.com/source/downloading.html
[HTC Sensation] DroidRC1:
Serious! Please read!
[HTC Sensation] jassycliq:
Lol building ICS for nexus... Checking if I run into any errors.

Give me a couple of days though, I'm building with an AMD Sempron 3400+ with 1.5gb ram... Lol I'm almost an hour into the building :)
[HTC Sensation] zorlin:
Supposedly 2 (much slower) quad cores led to 25 minutes of walltime, so theoretically I should be able to build in 45. I'm going to build the emulator and see.
[HTC Sensation] twistedumbrella:
My i7 using -j32 seems to be pommeling through it...
[HTC Sensation] zorlin:
I *think* mine succeeded (test build of emulator) - it took like 35 minutes total. How do I package what I have in order to put it into the emulator?
[HTC Sensation] unfnknblvbl:
Damn you all to hell! Now I have to boot into Linux. Not that there's anything wrong with that, but I wish there was a way to do it from Windows without cygwin.

Sigh.
[HTC Sensation] player4lifeov:
I wish i knew how to develop :'(
[HTC Sensation] twistedumbrella:
Emulate an Android Device

The emulator is added to your path automatically by the build process. To run the emulator, type

$ emulator
[HTC Sensation] unfnknblvbl:
OMG. What the hell have they DONE to Ubuntu?

I don't know either. I'm downloading the ICS source now to see what I can do with it. Regular ROM porting starts off easy with a bunch of poking around in prop files and reading the logcat output to see what's going on. Once you're comfortable doing that, you can move on to more involved stuff like what it seems like everybody is doing now - building Android from source.
[HTC Sensation] nory82688:
Are you also having issues with Ubuntu? Because I am lol
[HTC Sensation] jassycliq:
Ever since 11.04 they messed everything up :/ unity + screw ups = unstable

I was digging Arch but it's too "up to date" to build Android with.

I'm trying mint 12 to build but I ran into an error :/ gonna have to finish tomorrow... Wait today but I need sleep first lol
[HTC Sensation] :
I'm still using 11.04, gnome FTW!

In 11.11 they have completely scrapped gnome for unity although unity seems quite mobilish in the UI but its got so many bugs and is so un user friendly I can't get used to it so I'll stick with 11.04.

You guys are lucky though I only have mobile internet atm so I don't get to download the source :-(
[HTC Sensation] klaus27:
What's so wrong with this? http://wiki.ubuntuusers.de/Downloads/Maverick_Meerkat
[HTC Sensation] tarends:
Good morning, afternoon and evening everybody,

While i had my nightly sleep source dropped what is amazing! Anyhow i am not a great developper but i can read most of the languages used in coding. And understand what it does.

Soon ill download the source and see whats in it, but i dont have the skills to build android from source. So i will just be using it as a book to read more detailed and up to date information about all files. From that work on this untill someone else brings out a more stable and useable version of ICS. Prehabs in a year or so i will give it a try but untill then i hope other devs work on their own or work with me to bring ICS to the people.

But people please dont use this thread to get info about ubunto, even tho this is a development forum i would like to keep this readable for the people that follow this thread or help with development on this project.

Thanks.
[HTC Sensation] johi69:
you guys should try Linux Mint
[HTC Sensation] vegetaleb:
CM7 team (soon to be CM9) should know how to deal with the AOSP :rolleyes:
[HTC Sensation] bruce2728:
When I did a cm7 port for a winmo device I had to downgrade to Ubuntu 10 to compile the source. Worked fine after that.
[HTC Sensation] :
I hope you lot have got some good specs on your computers as this is what's recommended to compile:

6GB of download.

25GB disk space to do a single build.

80GB disk space to build all AOSP configs at the same time.

16GB RAM recommended, more preferred, anything less will measurably

benefit from using an SSD.

5+ hours of CPU time for a single build, 25+ minutes of wall time, as

measured on my workstation (dual-E5620 i.e. 2x quad-core 2.4GHz HT,

with 24GB of RAM, no SSD)
[HTC Sensation] unfnknblvbl:
also, after several attempts and system lockups, I've just discovered that it probably doesn't work with Ubuntu installed via Wubi.

...sigh.
[HTC Sensation] :
Try using an older version of ubuntu like maverick meerkat (10.10) I know that worked when compiling GB.

Are you just using the SDK emulator or actually compiling it?

If you are having trouble take a quick look here.