yashsingh1/xdaforums huggingface dataset:
[HTC Sensation XL] royest:
Re: [ROM][BT][WIFI][FULLYWORKING]Unofficial Cyanogenmod 9_UPDATED!

Battery life is veryy short .. v1.3 battery was far better! And another bug .. when i turn fm radio on (spirit fm app ) the bluetooth turn on ! And if i turn off the bluetooth the radio will have issues
[HTC Sensation XL] onejay09:
its not a bug, that's how spirit fm works, as for the battery its an issue im working on right now, the phone isn't deep sleeping!
[HTC Sensation XL] anders3408:
Re: [ROM][BT][WIFI][FULLYWORKING]Unofficial Cyanogenmod 9_UPDATED!

Sorry to say mate, but that is not how spirit FM works. It should not enable Bluetooth when using spirit FM. Tried it in cfx and aokp and that is not how it does in my roms :)
[HTC Sensation XL] onejay09:
strange but true ive looked at hundreds of threads regarding spirit fm and they say its the same with ics all over xda, as for jellybean the spiritfm app in your rom wont work in ics so perhaps theres a newer method for the jellybean version ?

heres some threads regarding bluetooth and spiritfm

reference 1

reference 2
[HTC Sensation XL] fshami:
Mods for this ROM

Alrite guyz, fun has begun for this ROM.. by that i mean MODS!!

Progress so far

1. Transparent Status Bar

2. Custom background for Notification Menu / Settings / Dialer

3. 6x4 App drawer

Any one willing to do a final test before release.. PM me & i'll share
[HTC Sensation XL] onejay09:
Helooo! Echooo! Oh btw wifi tether works, I forgot to test it! :)
[HTC Sensation XL] nipsadinio:
Are these issues solved in the new update? (1.62) Thanks
[HTC Sensation XL] onejay09:
well 3rd party apps work fine with camera, the issue is kernel related, egl buffers wont assign to the camera
[HTC Sensation XL] jim828282:
i can't see sdcard folder in root explorer & es file explorer
[HTC Sensation XL] onejay09:
Hi jim its in mnt/sdcard mate
[HTC Sensation XL] darkpride:
So far everything is working great. except for the camera force close :good::good::good:
[HTC Sensation XL] fshami:
WP7 styled recent apps..
[HTC Sensation XL] Zasuk:
Looks nice :)
[HTC Sensation XL] anders3408:
Can anyone check if wired headset is working in incoming and outgoing call
[HTC Sensation XL] darkpride:
It works. but after your remove them and use the headset it lags for awhile and works or didnt work at all
[HTC Sensation XL] anders3408:
So if wired headset is in and you make a call, you have no issue with mic at all?
[HTC Sensation XL] darkpride:
Yeah it have no issue.. but after u take out the wired headset it cant be heard when not using headset.
[HTC Sensation XL] anders3408:
Okay thanks for info , then it is not usefull for jb:)
[HTC Sensation XL] onejay09:
Did you take the headset out during call? Or make a new call after?
[HTC Sensation XL] onejay09:
If you take it out during call it will mess up but in each use case in/out per call it works fine?, I'd say that's better than it is now, but the fact that it doesn't re route if you take the headset out during call relies on other parts of the source to operate, headset detection is not part of routing but works together, but believe me I've tried making changes to the source using cm9, it wasn't succesfull, but maybe because if you change 1 thing you have to change the rest to suit! Its extremely difficult to get this working considering :)
[HTC Sensation XL] anders3408:
i was not thinking to use cm9 sources , but cm9 compiled files as a prebuilt. but then the audio will have same issues as in cm9, and when cm9 is also not fully working then we will have the same issues in jb , and we cant fix that unles it is being fixed in cm9.

my guess is our mic incall issue is related to the prebuilts in /system/etc and the fact that we dont use IOTable.txt even that we should be able to use it. And when we use IOTable.txt, we have no mic at all, and that i think is kernel related.

IOTable.txt is what our kernel and rom usually use, like other devices using AIC3254.....csv files , so that must be related. we just have to figurer out why it does not work with IOTable.txt from our own device.
[HTC Sensation XL] onejay09:
I've tried the libs it didn't work, there's a new hal 2.0 for 4.22 and 4.1 uses ICS hal api, 4.22 source for legacy audio is pretty lame and cm10.1 doesn't really support 7x30 audio very well, cm10.1 audio7x30 is based on 7x27 for some stupid reason,
[HTC Sensation XL] onejay09:
There's a trick you might have missed though DICS_AUDIO_BLOB

Is in lib hardware legacy/audio hardware hal.cpp but not mentioned in the .mk
[HTC Sensation XL] onejay09:
Our device is one of a kind do you think that relates to a lack of support for a certain feature in open source, HTC express uses the same mic GPiO stuff, do you remember when we disabled dual mic in kernel, the ROM started using a different aic3254 file no longer using the aic3254dual mic.csv, I learnt it let the intern mic work instead, the sound was **** because of the different .csv
[HTC Sensation XL] onejay09:
Also I think tether works but the new bcmdhd drivers have an overflow issue, which there's a fix for
[HTC Sensation XL] anders3408:
Have not tried it out and i dont want to , when cm9 dont work fully, then we just have a new bug :) but it is possible i think, i have seen that on other devices before, also on 4.2.2

that needed to be set when using cm9 blobs ICS_AUDIO_BLOB := true

Back then i did not test without dual mic , as you told me that audio was more ****ty. im doing comparing on kangbang kernel for msm7x30 and our kernel, The audio part.
[HTC Sensation XL] koloko12:
Is it just me or sometimes the phone just freeze?
[HTC Sensation XL] funkychapz:
Same here!

Also it annoys me because most of the apps versions at Play store are not compatible with this Rom
[HTC Sensation XL] onejay09:
so if anybody is still using this rom please post your interest in a new update, as ive been busy with cm10.1, but maybe i can make an update

for you guys just for the sake of it :)

maybe it will be cm 9.1
[HTC Sensation XL] darkpride:
Discovered a big bug. When phone is used until no battery, next reboot goes into an endless screen of bootup animation. It will never end ( left it there for half a day ) Using TWRP 2.5.0.0 and on Hboot 25. It just stuck at the animation and no go. despite fixing permission and all the wipe, had no choice but to full wipe it. encountered it twice.
[HTC Sensation XL] loony_tuna:
Can anyone post a fresh link? The old one seems to be dead.
[HTC Sensation XL] gorunf:
This all i have:

https://1drv.ms/f/s!Ajm3eYs5NdPrgtJvtYcloqRvuNAIjw
[HTC Sensation XL] onejay09:
V/CameraHolder( 1110): open camera 0

D/CameraService( 107): CameraService::connect E (pid 1110, id 0)

progress yay me!
[HTC Sensation XL] john2296:
keep the god work going :)
[HTC Sensation XL] anders3408:
Sv: [ROM] Unofficial CM9 for Sensation xl

Does it open it fully or does it hang on audio after that?

Also if you can write down how you managed to get camera running in detail, it will be much easy for us other to get camera running in cfx :)

Great work man :)
[HTC Sensation XL] onejay09:
hi andrers,

hey anders, thanks

first off you might want to take at the links

http://review.cyanogenmod.org/#/c/13285/9

this is a commit from twisted, it makes a wrapper for htcs camera lib, you dont need that camera.default.so

you have in your build it will be deprecated by camera.msm7x30.so (the wrapper)

the change can be found in this framework base (link below

https://github.com/onejay09/android_frameworks_base/tree/aokp/libs/ui

then also you'll want to change your msm-7x30-common to icecold sandwich, they have the camerahal patches for htc sense libs

https://github.com/IceColdSandwich/android_device_htc_msm7x30-common

do not use the msm7x30-common/include/linux folder from this repo though! it messed me up and had to revert to original linux folder

keep your include/linux folder from your current msm7x30common folder,

also it seems that maybe these patches will work better with gingerbread libs, eg:

libcamera.so: < cant be found in ics rom youll need it including these

liboemcamera.so

libmmipl .so

libcameraservice.so

this is what my vendor blobs look like so far im still experimenting with shared library targets eg: libcamera.so:eek:BJ/lib

vendor/htc/saga/proprietary/liboemcamera.so:/system/lib/liboemcamera.so \

vendor/htc/saga/proprietary/liboemcamera.so:obj/lib/liboemcamera.so \

vendor/htc/saga/proprietary/libcamera.so:/system/lib/libcamera.so \

vendor/htc/saga/proprietary/libcameraservice.so:/system/lib/libcameraservice.so \

vendor/htc/saga/proprietary/libcameraservice.so:obj/lib/libcameraservice.so \

vendor/htc/saga/proprietary/libcameraface.so:/system/lib/libcameraface.so \

vendor/htc/saga/proprietary/libcamerapp.so:/system/lib/libcamerapp.so \

vendor/htc/saga/proprietary/libOlaEngine.so:system/lib/libOlaEngine.so \

vendor/htc/saga/proprietary/libmllite.so:/system/lib/libmllite.so \

vendor/htc/saga/proprietary/libposteffect.so:/system/lib/libposteffect.so \

vendor/htc/saga/proprietary/libmmjpeg.so:/system/lib/libmmjpeg.so \

vendor/htc/saga/proprietary/libmmipl.so:/system/lib/libmmipl.so \

vendor/htc/saga/proprietary/libmmcamera_rawchipproc.so:/system/lib/libmmcamera_rawchipproc.so \

vendor/htc/saga/proprietary/libgemini.so:/system/lib/libgemini.so \

vendor/htc/saga/proprietary/libchromatix_s5k4e5yx_default_video.so:/system/lib/libchromatix_s5k4e5yx_default_video.so \

vendor/htc/saga/proprietary/libchromatix_s5k4e5yx_hfr.so:/system/lib/libchromatix_s5k4e5yx_hfr.so \

vendor/htc/saga/proprietary/libchromatix_s5k4e5yx_preview.so:/system/lib/libchromatix_s5k4e5yx_preview.so \

vendor/htc/saga/proprietary/libmmparser.so:/system/lib/libmmparser.so \

vendor/htc/saga/proprietary/libmmparser_lite.so:/system/lib/libmmparser_lite.so \

more links+info

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

:victory:
[HTC Sensation XL] anders3408:
Sv: [ROM] Unofficial CM9 for Sensation xl

Thanks for great info. Are your github account up to date? Also in a couple of days I will get a sensation xl again then perhaps we can discuss this over at irc? :)

Does camera work in your cm9 now? ;):p:D
[HTC Sensation XL] onejay09:
V/CameraHolder( 894): open camera 0

I/CameraService( 107): Opening camera 0

I/QualcommCameraHardware( 107): openCameraHardware: call createInstance

D/QualcommCameraHardware( 107): createInstance: E

D/QualcommCameraHardware( 107): Storing the current target type as 2

D/QualcommCameraHardware( 107): constructor EX

D/QualcommCameraHardware( 107): startCamera E

D/QualcommCameraHardware( 107): loading liboemcamera at 0xb000f168

I/QualcommCameraHardware( 107): Set main cam

I/mm-camera( 107): set sensor selection :0

I/QualcommCameraHardware( 107): Open Device node : /dev/msm_camera/control0

I/mm-camera( 107): Open Device node : /dev/msm_camera/config0

I/mm-camera( 107): [AWB Calibration] from kernel: fuse_id: 0x0, 0x0, 0x1, 0x89ab8f

I/mm-camera( 107): sensor_load_chromatix: Sensor model no: s5k3h2yx

D/mm-camera( 107): sensor_load_chromatix: Sensor name: s5k3h2yx cnt=3

I/mm-camera( 107): sensor_load_chromatix: chromatixType=0

D/mm-camera( 107): sensor_load_chromatix:1718:chromatix library Name = libchromatix_s5k3h2yx_preview.so

E/mm-camera( 107): Failed to dlopen libchromatix_s5k3h2yx_preview.so: Cannot load library: load_library[1120]: Library 'libchromatix_s5k3h2yx_preview.so' not found

E/mm-camera( 107): sensor_get_info:1288:Error:Failed to load chromatix file

E/mm-camera( 107): config_init_ctrl: cam_conf_get_sensor_info failed!

F/libc ( 107): Fatal signal 11 (SIGSEGV) at 0x000007bd (code=1)

woot!!
[HTC Sensation XL] stona175:
Odp: [ROM] Unofficial CM9 for Sensation xl

The camera should be 1 no 0 for first ;)
[HTC Sensation XL] anders3408:
Sv: [ROM] Unofficial CM9 for Sensation xl

Signal 11 usually is because of incompatible files, you cant as I know, mix camera files from different devices.

Did you add all libchromatix from same device as camera libs?
[HTC Sensation XL] onejay09:
camera libs

yes all my files are from sensation xl, the libs i added from the dhd are in this zip

they are incompatible, but its good news to say we can get this camera working

the errors we have had are garbled c++ because their proprietary files from htc,

the libs in the zip have been recompiled properly so it get much further than the usual libs do

well ill let you know if they work mate
[HTC Sensation XL] anders3408:
why not just push everything to github ?
[HTC Sensation XL] Argomasta:
AW: [ROM] Unofficial CM9 for Sensation xl

Hi there,

I got a problem with my calls:

The other person just gets an echo of his own voice and he cannot hear me (only a Sound like "brrrrrrrrr" )

Is there any solution?
[HTC Sensation XL] anders3408:
look here :

working:

sound -glitchy temp fix

not working:

mic intermitent (echo)

it is listed in first post that audio is working BUT still have bugs
[HTC Sensation XL] Argomasta:
AW: [ROM] Unofficial CM9 for Sensation xl

Oh im Sorry, just jumped over this while reading. Thank u so far...
[HTC Sensation XL] Lexmazter:
onejay, i want to tell you that we got Camera working on Evervolv 4.2.1, no video recording yet, but capturing pictures works.

You could take a look at Zasuk's device repo and compare and see what you can use.

Also, we used the ICS libs.
[HTC Sensation XL] anders3408:
Just a little correction :) it is Evervolv 4.2.2 :)
[HTC Sensation XL] onejay09:
Re: [ROM] Unofficial CM9 for Sensation xl

Good work guys!!, I've been off the PC for a couple of days, its valentines day so she expects some attention lol,

Are all changes needed to get it working, in Andre's repo?. I'll be on irc tomorrow
[HTC Sensation XL] anders3408:
Sv: [ROM] Unofficial CM9 for Sensation xl

Ever time one off us fixes something we push it to RunnyCM at github
[HTC Sensation XL] onejay09:
ive just noticed some files i need from evervolv framework/base/camera

they are also in ice cold sandwich repo on git, ive just merged the changes with my build and we'll see if it works

the new issue with the likes of these errors

android::MediaSource::getNumberOfVideoBuffers()

are included in the link library with the cameraparameters.cpp

these have been added now and well see the outcome for the camera??
[HTC Sensation XL] anders3408:
Sv: [ROM] Unofficial CM9 for Sensation xl

Camera works in evervolv now. Sort of :)
[HTC Sensation XL] onejay09:
Hi guys. Development on this from isn't dead, I am hard at work trying to get everything working. I'm doing this on my own no one is helping with this project, lexmazter is busy with cfx jellybean, Anders was plain rude to me and threatened to kick ban me from irc for helping them with their project, so please be patient with this project it will get done eventually, there's only so much I can do by myself
[HTC Sensation XL] arnoslag:
Re: [ROM] Unofficial CM9 for Sensation xl

I you need someone to test pm me
[HTC Sensation XL] anders3408:
deletede
[HTC Sensation XL] Lexmazter:
Re: [ROM] Unofficial CM9 for Sensation xl

Um, we don't have rules on irc as it's just irc, i didn't knew of this incident, but anders has a point, using a pastebin is always welcomed and indicated, but that is not a reason to kick or ban... Onejay, i'm currently working on kernel only as my hardware si pretty poor, so you can pretty much find me on irc from time to time, i would gladly help you if i can...
[HTC Sensation XL] anders3408:
no it was not rules that only is on our irc but some rules freenode has , and we are using freenode as server :)

lexmazter, try go to onev-dev and paste 20 lines and see what happens :)

edit:

after reading the link again , i see that the rules was only ment to be for the freenodes chat room not there server :) So i will revert everything i had written and giving you an apologies and yes lex has right, there is not made any rules for our irc chat by us, i just readed that link as rules for using freenodes server.

to explain my action that day, you did paste alot of text into the irc chat directly and that is very unreadable and i did ask you to use pastebin instead of just past all in. and i did not wanted to kick you only to avoid pasting much text in at same time :)
[HTC Sensation XL] onejay09:
i usually use pastebin

ok lads, forgive and forget, i usually do use pastebin so please forgive me the one time i didnt lol :laugh:
[HTC Sensation XL] anders3408:
Sv: [ROM] Unofficial CM9 for Sensation xl

Everything was just irritating me that day, compiler error after nothing was changed and it took several hours to get it working again, so was in a bad mood that day. So use the chat so we can all work together. We also have found a nice link for posting logcats that is written in the first line in the chat. Very useful :)
[HTC Sensation XL] onejay09:
got hardware acceleration working now with new libs, smooth as!! camera is close, (removiing dbinder compat) was only for use with gb libs, still getting could not map preview buffers,

trying to fix the mic still, strange how it works in vertigos port but not in a proper build!! grr
[HTC Sensation XL] onejay09:
CAMERA WORKS!! FINALLY! JEES! preview is green but takes photos, i havnt tried other camera apps yet, ill be uploading a new build today or tomorow :)
[HTC Sensation XL] onejay09:
Re: [ROM] Unofficial CM9 for Sensation xl

Im Pleased so far!
[HTC Sensation XL] onejay09:
Re: [ROM] Unofficial CM9 for Sensation xl

First pic!
[HTC Sensation XL] Lucas0511:
Just to be sure, does the mic intermitent (echo) bug have an effect on in-call quality? That would be the only thing now keeping me from giving this a try. Thanks for sharing.
[HTC Sensation XL] arnoslag:
new beta release

can you share a new beta release maybe ?

maybe a can help you with some stuff.
[HTC Sensation XL] onejay09:
Re: [ROM] Unofficial CM9 for Sensation xl

Microphone is completley broken, I'll be working on it tonight. I would only sudgest flashing this once the mic is fixed . But if you want to try it its OK to flash, I'll upload a build later today if I get the time
[HTC Sensation XL] Zasuk:
the mic is working on Evervolv, look at my vendor repo in github....

btw, the ioctable file will broke the mic ;)
[HTC Sensation XL] onejay09:
FML Lost all my work on the camera, ive still got the camera fixed in vertigos rom for now though, i changed a few libs in my source and now it wont work for me, not given up yet, gunna see if i can get back on track today, back at home now, missed my internet connection!! ill upload vertigos port with my cam fix today, this has working mic
[HTC Sensation XL] anders3408:
Re: [ROM] Unofficial CM9 for Sensation xl

Please post a link in my cm9 thread also if it is vertigos cm9 you have fixed it in.
[HTC Sensation XL] onejay09:
camera

hi guys ill share what i can with you, first the default.camera.so in your source wont work, its from the primo, im using the one from the sense rom, ill upload the working overlays tonight:good:
[HTC Sensation XL] anders3408:
Re: [ROM] Unofficial CM9 for Sensation xl

My device tree and vendors can be found at github.com/runnycm and the camera.default.so I am using in codefirex is from stock ics Rom for runnymede. Now it loads the file but when opening camera I get some errors on buffer and so on. Have you seen that before?
[HTC Sensation XL] onejay09:
camera

no the camera.default.so is the issue, im usingthe one from xl 6.0, it works fine when i added the missing keys to cameraperameters.cpp
[HTC Sensation XL] onejay09:
wrong camera.default.so

your using the wrong camer.default.so, use the one from the zip ive emailed to you, you wont get that error,

the errors we recieve from the camera hal eg: (cannot locate '_ZN7android16CameraParameters24CAPTURE_MODE_CONTI_BURSTE'...)

can be circumvented by using the hardware abstraction layer overlays, think of it as a key file sitting inbetween the hardware and the software

the files we should consider are located in /frameworks/base/libs/camera/ and /frameworks/base/include/camera these files are revelant to eachother,

the links in the cameraparameters.cpp & cameraparameters.h tell cyanogens libs what the htc libs are trying to say,

if theres no key in the cameraparameters.cpp & cameraparameters.h and the htc lib needs it, then the camera hal will fail to load,

this project is about trying to source all of the required keys so the camerahal will load succesfully

our particular camera.default.so seems to have a few more needed keys than other htc devices,

so far i have identified these below keys

cannot locate '_ZN7android16CameraParameters24CAPTURE_MODE_CONTI_BURSTE'...)

notice the garbled look in the text found in logcat, this is because it is garbled c++,

it can be degarbled online to simplify it a bit

http://slush.warosu.org/c++filtjs/

this is what it looks like after

android::CameraParameters::CAPTURE_MODE_CONTI_BURST

so ignore the "android::" part add [ ]= to the end this is what it should look like

so we add it like this:

const char CameraParameters::CAPTURE_MODE_CONTI_BURST[ ] = "contiburst";

"contiburst"; this part is like a meaning conversion for android to understand what the camerahal needs

we will have to find these calls, maybe found in other source elsewhere maybe from another device or github

also use the framework base libs camera files i sent you via email this fixes all these errors:

eg: cannot locate '_ZN7android16CameraParameters24CAPTURE_MODE_CONTI_BURSTE'...)

edit:

the camera just works after this,

ps ive just fixed the preview issue
[HTC Sensation XL] anders3408:
Re: [ROM] Unofficial CM9 for Sensation xl

Send the camera.default.so again. It is not in the zip file

Found it
[HTC Sensation XL] onejay09:
ok ive fixed my source again, kind of. the default camera app tries to open the front camera first and crashes, i need to find a fix for that, other camera apps seem to work ok though

preview now works too
[HTC Sensation XL] anders3408:
cant use fix from cm9 in jb , everything in jb is diffrent, but i can paste a log so all can debug it :

Logcat

Last_kmsg

Bugreport

everyone that can give an advice will be great. The main issue for camera not working for me is :

3718: E/memalloc( 107): /dev/pmem: Failed to map buffer size:4300800 offset:3072000 fd:53 Error: Invalid argument

3719: E/gralloc ( 107): Could not mmap handle 0x2a0c1d30, fd=53 (Invalid argument)

3720: E/gralloc ( 107): gralloc_register_buffer: gralloc_map failed
[HTC Sensation XL] onejay09:
Ok first of all, libcameraservervice.so and libcamera-client.so are made from source, take a look in, framework/base/libs/camera and framework/base/services/libcamera service/ take a look at both android.mk files and see what board configs you need, these will be the only ones you will need for the camera ;)
[HTC Sensation XL] onejay09:
Also I'm sure your using the wrong camera.default.so,I was getting these same errors with the camera.default.so in your repo. It's not from Runnymede it's from vertiginous port, believe me when I say just use the one I sent you, it works when you use the the other framework files I sent, just zip your old ones up and put them somewhere safe
[HTC Sensation XL] anders3408:
Tested it , does not work in JB.

download official RUU with ICS for runnymede and took the camera.defualt.so from that , so trust me it is the correct one :)
[HTC Sensation XL] onejay09:
What works for ics would work in jb, you will struggle if you keep using that lib mate, there's no fix for it using that lib, its not from Runnymede, its from vertigo rom and fails on mapping to memory, using the one I sent you will work when you add the framework files I sent you
[HTC Sensation XL] onejay09:
Its not a race and I'm in no rush to do this, so whoever thinks they can mess with me is seriously mistaken ;) ™
[HTC Sensation XL] anders3408:
Re: [ROM] Unofficial CM9 for Sensation xl

I did as you told me without luck. Jb sources and ics sources are very different . And by the way , the camera.default.so from my edition of cm9 based on vertigos port is also from stock ics. The cm9 device tree on my own git account was outdated and not used. All I uses is on runnycm. And the all camera libs and .so is the same as it is in evervolv and evervolv have working camera :)