yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] bruce2728:
THREAD UNDER CONSTRUCTION

This is an early build of CyanogenMod 10.1 Android 4.2.1 for the HTC Sensation

Working

SD card

Display

Radio

WiFi

Not Working

Camera

Bluetooth

Audio

I have'nt tested anything else but will update list as I find bugs.

ROM Download HERE

Gapps HERE

Screenshots

Kernel source @ github.com/bruce2728
[HTC Sensation] bruce2728:
Change log.........
[HTC Sensation] Jiggs82:
I was just about to ask you when will you make a thread for it:) great work Brucie b:) can't wait to everything is working, good luck.
[HTC Sensation] tsokaris:
This version it's the same with the one you upload earlier Bruce?

Στάλθηκε από το HTC Sensation μου χρησιμοποιώντας Tapatalk 2
[HTC Sensation] slacker1979:
Guess its time to go back to an alpha :) really looking forward to seeing 4.2 on this old sensation but I have to say that if the drivers were outdated for 4.1 I think we may be in trouble with this.
[HTC Sensation] Mesaman2012:
Hey theres 2 downloads for this ROM on the too.for the 27th and 28th why?

Bruce's 4.1.2 j.b. rom
[HTC Sensation] Jiggs82:
Yeah hopefully he fixed something that wasn't working..go check :p

Edit: flashed 28 alpha build and looks like the same things are not working from 27
[HTC Sensation] slacker1979:
Doesn't the Nex4 have adreno320 and sensation has adreno220 ? And its not gonna make anyone jump off of a bridge being realistic. Bruce has done an amazing job with the sensation and I was one of the first to use kang even before the radio worked but be honest HTC and co aren't making it easy for him. Hell CM hasn't even released a CMX alpha because of the headache with drivers. Plus I don't think my opinion will influence anyone as I'm a nobody here lmao .
[HTC Sensation] slacker1979:
I'm wondering why we can't use the sgs3 or HTC Onex adreno220 drivers since they have official jellybean which should include updated drivers. I'm not a developer so I can't answer that but it seems more likely and sensible . waiting for someone to blow my mind and explain how adreno320 drivers can work .
[HTC Sensation] The Archangel:
Just because a device shares our gpu that does fully mean it will work on out phone too. Gotta keep in mind the cpu with it also, the phones you listed are snapdragon 4 processors, we are S3. Those too different processors don't share much in common maybe a driver are two here or there but not enough. What HTC should do is released an update for a phone that runs S3 processors like ours, then it will be more feasible to rework. Of course that's pure speculation an is depended on that dev's knowledge of how to do it. I'm not dev, but I know my way around the block ;)
[HTC Sensation] Lionhardt:
What are the benefits of 4.2 vs 4.1.2 if you include the 4.2 launcher etc that is widely available?
[HTC Sensation] The Archangel:
http://bit.ly/Qp9mTh
[HTC Sensation] ptlsajan:
ok now some more things from myside

i installed 28th nov cm10.1 build and here are couple of things that works and not

what works

wifi(poor range then 4.1.2)

radio(worst range............{for me it is only 1 bar})

i played temple run and angrybirds starwars(both were smooth)

Notification led(charging and notification)

all apps works great

incoming and outgoing calls(but with no sound)

my quadrant score was (3450) with the default kernel

lockscreen works great

daydream works fine

auto brightness works

capactive light also works

vibration works

mobile data works

send recieve sms works(confirmed by 2sovereign)

what does not work

bluetooth

sound(neither on speaker nor in headphones)

sd card

camera(error can't connect to camera)

Torch app gives fc(confirmed by Jiggs82)

youtube playback using browser is not working

and as per 4.2 the default web browser should be CHROME but its not there............
[HTC Sensation] 2sovereign:
mobile data works

send recieve sms works
[HTC Sensation] Jiggs82:
Torch/led flashlight doesn't work either

Looks like he's uploading another build on goo im 28 build 2
[HTC Sensation] stroobach:
What if.. you flash the 4.2 transformation pack for swipe and camera?
[HTC Sensation] ptlsajan:
original swype worked after flashing gapps from op.....without flashing gapps swype wont work
[HTC Sensation] bruce2728:
Fixed sdcard :)

Just restored my apps with titanium
[HTC Sensation] ptlsajan:
give us the fix bro.........also noticed tht the live wallpapers takes forever to load and hence unable to set live wallpaper

please check your PM
[HTC Sensation] troedi:
hi bruce,

great work!!

i rellay want to know why things like camera cause issues again and again with every new android version. don't get me wrong - i really don't want to blame you. i'm really interested in the development of roms. what's the difference in android's source code, that causes hardware to fail from one version to another? i'm wondering about that since I got my first android smartphone running android 2.1 :)
[HTC Sensation] Bastaerd:
This is the Sensation forum, so no.
[HTC Sensation] xxthe:
Totally irrelevant but I was googling some things about MSM8660 support for 4.2. http://www.androidpolice.com/tags/msm8660/ suspicious much?
[HTC Sensation] Catnap:
How is that suspicious...?

---------- Post added at 11:35 AM ---------- Previous post was at 11:34 AM ----------

Depends. Can you install Windows on a toaster?
[HTC Sensation] Inerthia:
HTC is lazy to release/update the camera drivers i believe.
[HTC Sensation] krugm0f0:
Is in-call audio not working, or just external sounds? Can I still make calls?
[HTC Sensation] ptlsajan:
ya sure you can make the calls and calls are connected very well but there is no output and input of sound and mic.............so cant hear or cant say.....
[HTC Sensation] krugm0f0:
So then you -can't- make calls.. :P
[HTC Sensation] mobilarz85:
Screenshots anyone? :D
[HTC Sensation] Catnap:
Don't forget they may be unable to, due to licensing restrictions. I know we like to bash on HTC here but there may well be other factors that they can't talk about.

/Devil's advocate
[HTC Sensation] bruce2728:
First post in a minute
[HTC Sensation] troedi:
actually i wanted to know what's different in android 4.2 compared to 4.1.2 so that the drivers don't work anymore. when i upgrade my notebook from windows 7 to windows 8 i can install nearly every win7 drivers...

so what does google change in every android version that causes drivers of camera, sd-card reader,... to fail? the hardware itself can't change... the drivers we have can't change... it must be the operating system itself :)
[HTC Sensation] glaeb:
I think that they are trying to improve performance in the android system.
[HTC Sensation] Bluewall:
It's pretty much simple.

To have, for example, the camera working, you need the driver. This driver, if needed, have to be updated to match the OS. The fact that you can easily upgrade from Windows 7 to Windows 8 is because, for example again, nVidia provide the driver for your graphic card updated to Windows 8. Closed source but released.

In the Android world, if the manufacturer, like HTC, doesn't update the Sensation to JB, no need to have the camera driver for JB, they obviously don't give a **** about us.

What would be great, if HTC doesn't update the Sensation to JB, is that they just release the JB kernel to us, so we will have all the driver. Well, almost, there's another problem!

For example, again :D, the bluetooth driver from HTC doesn't work as it is on AOSP cause it doesn't use the same interface, HTC use a stupid one anyway. So even with the driver, if it's not a Sense ROM, we may have to tweak it to have it working with AOSP ROM.

As you can see, it's always a big deal sadly.

The current JB ROM 4.1.2, correct me if i'm wrong, doesn't use "proper" JB driver for most the of things, it's ICS driver tweaked to work on JB.

Anyway, i'm not sure about everything I said here, but i guess i'm pretty close of the reality :p
[HTC Sensation] pyramid:
Nicely explained.
[HTC Sensation] DugyC:
Thanks for a very clear explanation, makes a lot of sense... and gives good reason for me not to buy another HTC handset in future.
[HTC Sensation] Bluewall:
Always great to share knowledge and to learn new things :)

But to be honnest, i made it a little bit easier. But the real truth is even more complicated.

It depends for each device/manufacturer, but for our Sensation, some drivers are made by HTC and some are made by Qualcomm (since they are used for the motherboad, made by qcomm), so you have to blame HTC and qualcomm :P
[HTC Sensation] troedi:
thx for this info.... so in fact we mean the kernel when we're talking about the drivers? Anyway - I can't understand why a new Android version has to be that different, that "simple" things l like a camera don't work anymore. i really want to know the reason for changing the hardware interface completely from release to release... :confused:
[HTC Sensation] Skipjacks:
Because they are trying to improve it. Either with better UI, to make it less resource intensive, to have better battery life, etc etc etc.

If they didn't need to be changed for improvement, they wouldn't be. If there's a change, it's because it's an attempted improvement. Sometimes changes end up being abysmal failures (See Windows Vista for a shining example) but they are all attempts to improve performance, battery life, interface, or something else.

In order to make major changes like that to give us better performance, software usually has to interact with hardware differently than it did before.

Without those changes we'd still be using old operating systems for our computer products like this....

Remember those days of the A: prompt era, even before hard drives gave us the mind blowing C:\> prompt? When computing was all green text? (I still remember when they came out with Amber colored screens....still seems a little flashy an ostentascious to me...)

I mean sure, MS DOS 1.25 worked. Worked pretty well in fact for what it was intended to do. But it wasn't efficient code and it required hardware that while extremely slow, would burn through a modern cell phone battery in about 12 seconds. So in order to make the software more robust, it had to constantly evolve in a symbiotic relationship with hardware.

The current status of that evolution is your Smartphone, which is nothing more than a computer that fits nicely in your pocket, but with about a million times more computing power than the Apollo Moon missions had. (And I don't mean just the computers on the lunar module. I mean the combined computing power of the entire 1960's space program.)

And it's all because software designers made major changes to the software and hardware designed made major changes to hardware. All in attempts to make everything smaller, faster, more reliable, etc etc etc
[HTC Sensation] Bluewall:
And since we only have proper ICS drivers, we have to hack/tweak them to make them work with new version, that's why it's complicated :)

The kernel is not equal to drivers, the drivers are in the kernel but it's more than just that :p
[HTC Sensation] jotha:
Thread cleaned

C'mon guys, from 72 posts I had to delete 36, exactly half for being either off-topic, or meaningless.

This is a development thread, no kindergarden. If you don't have anything to say concerning the development of this rom, don't say anything at all.

Thanks for your understanding
[HTC Sensation] Hedi86:
Hey Bruce.

JB 4.2.1 is Out with bugfix, you Know ?

greez ;)
[HTC Sensation] bruce2728:
Yes in aosp but not cm yet and it won't fix anything for us, we need to port the 4.1 audio source to 4.2 as 4.2 only has native support for msm8960 and not our chipset
[HTC Sensation] topgeardave:
Bad news from the xperia s 4.2 source from sony: "internally we also have audio and the modem running. However, these functions require proprietary binaries that we cannot publish at the time being"

They might release it one day! But for now we have to focus on porting everything forward to 4.2.
[HTC Sensation] Goes1967:
Bruce , I have been using your 4.1.12 CM ROM for a while now and since Android police released their modified version of the 4.2 camera app and gallery, I have been flashing their zip on top of your ROM and it is working fine. This could help you in getting the camera working on this one too.
[HTC Sensation] Moh Kohn:
A wise man knows when to keep his silence.

JB 4.1.2
[HTC Sensation] volarchico:
Bruce, you also have a Nexus 4 which has the 4.2 camera working. This might help you, too! :silly:

Sorry "Goes1967", just poking a little fun. Unfortunately, if you read some of the previous posts describing the upgrade/drivers issues, you'll understand it's not nearly that simple.
[HTC Sensation] Goes1967:
Thank you for the advice and it goes for you too, instead of mocking people for their ideas, you could add anything constructive, any little idea, in your eyes, could be of a help for the developer.

---------- Post added at 09:57 PM ---------- Previous post was at 09:47 PM ----------

I have read every post on this topic and I am aware of the drivers issue, but how many times the solution was so easy and right in front of our eyes to the degree that we didn't see it, I was just pointing something that could be a step towards the solution so tiny that could have slipped Bruce's mind.

I did not imply that I know the solution, I just suggested that something similar could be the solution.
[HTC Sensation] Mesaman2012:
No audio meaning you can't make calls correct.no in or outgoing voice calls? Thanks!!!
[HTC Sensation] ninjabadger:
Epic progress made Bruce! Only a couple of days ago this wouldn't even boot.

Sent from my HTC Sensation
[HTC Sensation] seki750:
How about to get OTA working? I think it would be better, if you making 2-3 updates per week. It's getting really boring. :(
[HTC Sensation] Bastaerd:
Correct.

Why add bloat? Just check thread title to see if a new update is available?
[HTC Sensation] ninjabadger:
Boring! Really?

Mate just install factory Rom and I promise you won't be bored of updates

Sent from my HTC Sensation
[HTC Sensation] Moh Kohn:
I am sure everyone knows this but......

To enable developer mode tap build number, settings-about phone, seven times.

;)

JB 4.1.2
[HTC Sensation] sy224048:
NIIIIIIIIIIIIIIICE

I will probably flash permanently in a few weeks when everything is fully working, especially the front facing camera since I use that alot.

I'm willing to test though!
[HTC Sensation] Hardcore69er:
really looking forward to this, it isnt specified in the bug list so how is data, battery drain, MMS, and by no audio output do you mean literally and absolutely no noise comes out of the phone such as a ringtone?

I heard somebody is having problems with signal strength with WiFi and Network, is it this way for everyone or just one of those rare cases?

apologize for all the questions, I want to use this as a daily even though it isnt fully ready yet
[HTC Sensation] Jiggs82:
Well right now this is definitely not a daily driver, the bugs I see are no audio/sound, mic not working so can't make or receive calls, can't use Google now(voice search), camera not working(rear/front), Bluetooth, torch, video playback, and maybe some other minor bugs as well. Other than that its smooth and touch responsive is good and data is not as strong but it works. WiFi and SD card works good to.
[HTC Sensation] Static251:
What's up with the lockscreen clock? Isn't it supposed to look like the one in the clock app? Current one seems to be the one that was in the pre-release's.

Not that I'm complaining, I personally like this one much better :D
[HTC Sensation] Hardcore69er:
after using it over night, battery is actually pretty good to still be in beta. sleeps very well as far as i can see.

Reception is a bit odd, can't say Ive seen that haha either the phone is displaying a very weak signal or it is actually receiving a very weak signal, I normally get 4-5. It stays on 1

WiFi range is average, no complaints.

This is a CM10.1 ROM so I expected the updated MMS apk but it isnt there so I had to do a manual install.

Bruce you are doing an absolute awesome job. seriously, we all appreciate your hard work and sacrifice
[HTC Sensation] slacker1979:
I just got around to flashing this to preview it and first thing I noticed is the sdcard didn't work and even clicking storage in settings fc. I know the first couple of builds had it broke but its supposed to be working now per the OP.

I really like the quick settings even if they are kind of pointless considering we've had toggles forever. I hope this ends up being stable or at least as stable as we can get without the proper drivers. Keep it up Bruce ,good job.
[HTC Sensation] Hardcore69er:
SDCard storage is definitely working. wipe and flash again
[HTC Sensation] almostthere:
Gave it a quickspin last night and was impressed with it.

Quick question: Since the camera is disabled at the moment, how to remove that panel from the rotatiing lockscreen?
[HTC Sensation] Mystik:
I'm really happy to see Bruce working on this. he's done such a great job on the CM10 preview (4.1). I'm going to hold out on flashing 4.2 till things are more capable... maybe a little more stable... month maybe more? definitely need audio/calls/data to be working before I even consider flashing.

till then, I'm keeping up on 4.1! (also a great ROM)
[HTC Sensation] karthik_316:
Any updates Bruce............just asking ...take your own time....
[HTC Sensation] emanon:
You should never ask for eta, it doesn't matter how you ask that question.

\Regards
[HTC Sensation] noooooo:
I don't think the worst problem is the camera, but the signal...

Inviato con Tapatalk 2
[HTC Sensation] Hardcore69er:
After running the build for a little longer I am back to share some updates..

Ok, so I realized that (with the phone screen off) when receiving a text -> pressing lock button -> sliding notification bar down [and/or] -> pressing the lock button again

phone goes through a fast boot or a soft boot (whichever you prefer)

I am not too sure EXACTLY how it is happening as it happened to me several times earlier going through the scenario I posted above ^^^

Also, with the signal bars.. you are receiving moderate to normal signal strength.

Data might not be coming in and out at normal speeds (can't really test that) but the signal is there.

Phone just is not displaying the signal correctly, hence the fact that you are ALWAYS on one bar.

So, the signal IS there. Just not shown.
[HTC Sensation] almostthere:
If that's the case, I think bruce would appreciate a logcat of the error if you could output and for the signal, you can check on the ASU signal strength under "About Phone > Status"
[HTC Sensation] slacker1979:
In downloads there is os without a date,os2, os3 and then another os without a date at the bottom. Which is the newest because I flashed the bottom one. No sense in flashing again until I verify I have the right zip .
[HTC Sensation] Hardcore69er:
You want the one that says 1128 build3
[HTC Sensation] slacker1979:
That explains it then. The bottom one under build 3 should be renamed something else or moved above the latest.
[HTC Sensation] tobitege:
If unsure, also look at the timestamp listed on the Goo page. Usually the date or time gives it away. :)
[HTC Sensation] almostthere:
Or if using the Goo app, the top most listed would be the most recent IINM
[HTC Sensation] StuartTheFish:
Gonna try this once there's sound for calls and a working camera. Thanks for your efforts Bruce. :)
[HTC Sensation] tobitege:
Not yet. Just bookmark the download page.
[HTC Sensation] Hardcore69er:
I am sure if there was it would be stated in the OP and thread title.
[HTC Sensation] slacker1979:
Its fixed now but I just went back to goo and figured out what you were talking about. I had to zoom out to see it . Evidently my browser is set to automatically zoom in when the page loads so I had never seen it lol. Thanks for pointing that out.

---------- Post added at 11:28 AM ---------- Previous post was at 11:25 AM ----------
[HTC Sensation] MrSoulSOng:
Ugh. Bruce had his CM10 Kang pretty darn solid when he was asked to take over the OS2 ROM... being the nice guy, and great Dev that he is, he took it on board. What better Dev to do so?

Lol, its always one thing or another. If he didn't start work on 4.2, no doubt there would be people complaining about that! Why wouldn't he want to start implementing it, especially now its actually released?

Why can't you just be happy that you have the choice of 3 potentially great ROMS, from a very hardworking and talented Dev? I know I am, along with many many others.
[HTC Sensation] sy224048:
The desire HD has a working camera on 4.2.1, and I think the senny and the dhd have the same camera
[HTC Sensation] Jiggs82:
You mean this? http://xdaforums.com/showthread.php?t=2003273
[HTC Sensation] jotha:
Thread cleaned

I did a little cleaning here. This is a development thread. Repeated questions about status, ETA and updates is not contributing to development and is considered spamming.

Thanks for your understanding
[HTC Sensation] sy224048:
Yes, that's exactly it. If I recall correctly, phones like the Evo 4g, Htc Sensation, and desire HD have the exact same camera hardware. That should make it somewhat easier i think.

EDIT: HERE IT IS MY FRIENDS!!!!!!!

http://www.xda-developers.com/android/htc-8mp-cameras-by-omnivision-use-universal-drivers/
[HTC Sensation] rojovilla:
Sounds promising! :D
[HTC Sensation] The Archangel:
Thanks my brother
[HTC Sensation] gjunky:
My phone automatically picked up the 12/03 version yesterday but I am surprised I don't see a download on Goo or any mention of it here.

It gave me a popup message that there was a new version and clicked to download it. The new ROM downloaded to SD and I ran an install through ROM Manager. Seems to work ok. Anyone else pick up an update?

udpate: Oops, meant to post this in the Opensensation thread. Sorry. I see there is plenty of mention in there of the 12/3 build.:)
[HTC Sensation] ptlsajan:
I guess nobody..... is it 4.2.1
[HTC Sensation] Antimus:
Hopefully he didn't get the OpenSensation2 update as that's 12/03
[HTC Sensation] blahbl4hblah:
I highly doubt it to be that because there's no update for it as of yet. If it was 4.2.1 then it will say cm10.1
[HTC Sensation] bruce2728:
I think our camera is made by Samsung not omnivision, I looked at this when I was working with the first jb ROM.

My main priority is the audio but there is currently no source code for 8660 on cm github and the new frameworks won't load old audio libs even using a hack to allow it to, the problems at the moment are libaudioflinger and libmedia which won't load any of our old jb or ICS libs.

I've done a few more builds since posting, there have been lots of features added since the last release but functionality is still at the same stage so haven't bothered uploading.
[HTC Sensation] sy224048:
Ah Ok. Yeah audio is definitely more of a priority than camera. Weird though. Do you know if it's the front camera or the back camera that's made by samsung?
[HTC Sensation] ivicask:
I spent an hour playing with libs and framework, and i came to same conclusion, audio and camera problems are related to libmedia* and/or its related libs/framework

I tried swapping all libmedia* libstage* libaudioflinger libs + /framework/media parts and got no boot, in logcat no media errors just NETD bin stuck in bootloop.

:/
[HTC Sensation] flash5000:
Congratulations to bruce,

You made it to the XDA portal with this ROM!

:thumbup: ;)
[HTC Sensation] AgEnT x19:
Great Job Bruce

You seem to be really committed to the Sensation although you got the Nexus 4.

Thanks for the great ROM :)
[HTC Sensation] MrSoulSOng:
[URLhttp://www.xda-developers.com/android/htc-sensation-gets-unofficial-alpha-cm10-1/[/URL]

Congrats Bruce! :)