yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] LorD ClockaN:
Video is reported working with some aftermarket camera app

Sent from my Desire HD with BlackIce ROM and ICS crouching in restore option
[Desire HD Android Development] arcance:
Mayby works another devices ... Desire z too :)

Anybody test other
[Desire HD Android Development] jilingshu:
His solution is a generic way to allow old camera driver work for the ICS. As for me, this is just a workaround, the regression of ICS source code is unacceptable, there may be more compatibility problems occurred.

However, this may be the easiest way to make some devices which only have property drivers, like camera, work on ICS.
[Desire HD Android Development] :
absolutely same opinion..
[Desire HD Android Development] ghostofcain:
Whilst I accept your premise this may be the only way to get the camera working until HTC post an official rom, and for many of us ICS is no go without some degree of working camera.

Sent from my Desire HD
[Desire HD Android Development] twistedumbrella:
Sorry, I seem to have misplaced the link to your github. Better yet, I will provide the actual ICS camera source and you can just make a patch for it.

https://github.com/TwistedUmbrella/android_hardware_qcom_camera/tree/aurora

Your point is one that should only be made if/when you actually do something or to explain not working on it yourself, but not to degrade someone else's release.
[Desire HD Android Development] jilingshu:
I'm very sorry making you think I am degrading his release.

First of all, I don't wanna offense anyone.

Like I said before, his solution is the *easiest one* at this time, I believe it is useful and I will take it if there is no other way can fix the camera problem.

Also, I said it is not the best choice , coz his solution is just a workaround - which is the fact. I never said it is useless, and I don't wanna do that.

Again, I don't wanna offense anyone or degrade anyone's solution, I just point the fact - it is a workaround which may contribute other compatibility problems.

Modifying current code to fit a out-dated property driver would never become a best choice. If we have to use the old driver, maybe a wrapper would do it better - just a suggestion.
[Desire HD Android Development] noodles2k:
Any chance of some pre-compiled stuff? my linux machine is in the shop (read: in little pieces on my workbench)

Let's be fair though, you guys are leap years ahead of US/UK in terms of technological know how.
[Desire HD Android Development] itzsnookums:
thats why Google and Apple are American brands???? granted the Chinese are really really smart but i wouldn't say leap years, everyone learns and works different......it all comes down to the motivation, determination and skill....=-).....i only wish to be a 1/4 as good as all the devs on here...one day i hope to be a dev,but right now i know nothing of coding and c++, java, linux,etc....

P.S.=If anyone wants to try and teach me or throw some schools that are good for such things that would be totally cool.....thank u =-)
[Desire HD Android Development] Ciprilik:
sorry wrong thread..
[Desire HD Android Development] sagarda7:
zbwu 86, you are my hero. But I can not forget those developers who port ICS in our device.
[Desire HD Android Development] noodles2k:
Well yeah, technology in the US was miles ahead of communist countries for a long time due to it being richer and not being cut off from the rest of the world.

I've seen Russian, Chinese and German people do things with computers at school and university that most US/UK programmers, hackers, etc (including myself) still can't do a decade on.

Download a linux distro like OpenSuse. If you get a livecd you don't need to install it (and you can then use unetbootin to put it on a usb stick) it's probably the best way to get a feel for simple C/C++ programming - as long as you stick with it. :)

Also for Java try BlueJ and start with something simple like Hello World.
[Desire HD Android Development] oluwaponmile:
Can anyone advise me on how to install this or what files to copy and to where?

Would this solution be needed when using "Virtuous Quattro RC1" rom?

Thanks
[Desire HD Android Development] noodles2k:
I think the only way atm is to get the source, apply the patches, add the lib and then build the rom.
[Desire HD Android Development] zbwu86:
The real China was poverty and backwardness. The lack of democratic social system. I feel very frustrated
[Desire HD Android Development] shiningarmor:
i suggest mods come in and keep the thread clean before somebody starts a flame war between chinese and non chinese. stuff like this can happen, we dont know.

anyway, great job op. u made a change today =)
[Desire HD Android Development] zbwu86:
I have tried your suggestion at last weekend, but it seems that can not be achieved
[Desire HD Android Development] zbwu86:
Very much agree with your suggestions
[Desire HD Android Development] itzsnookums:
i wasn't meaning anything by my post, sorry if i offended anyone....
[Desire HD Android Development] suku_patel_22:
This has been integrated in virtuous quattro rc1,

Swyped from my Desire S
[Desire HD Android Development] boot_sectorz:
Camera working on my HTC Desire Z, thanks to you. Good work!!!
[Desire HD Android Development] :
According to what I've seen, we would be really lucky to have the OP's rom
[Desire HD Android Development] knipp21:
thanks 2 you our dinc2 now has a cam :)
[Desire HD Android Development] gffmac:
+1 please share a full build
[Desire HD Android Development] dannych:
yeah your build will be great!
[Desire HD Android Development] yeeuyz@foxmail.com:
好显眼，中国移不动。。。
[Desire HD Android Development] trh1341:
Dude! English please!!!
[Desire HD Android Development] live2die:
proud of you as a Chinese here!
[Desire HD Android Development] jilingshu:
hmmm, that's a chinese joke :-)
[Desire HD Android Development] jnl1211:
I rove you man.
[Desire HD Android Development] DeGozaru:
Just come from the IncS forums - wanted to say a huge thanks for your breakthrough with the ICS camera.

Good work buddy. You've saved a lot of noobs asking a lot of the same question.
[Desire HD Android Development] w3bhax:
Super job! Will log on to my computer just to hit the thanks button :-)
[Desire HD Android Development] sagarda7:
But we see huge devlopment and progress...............I used to think that you chinese are very lucky...but...any way you are super..........world needs you.........
[Desire HD Android Development] twistedumbrella:
It is hard when the people in charge put on a show for those on the outside because they have kept enough going on and a lot behind the scenes. At least projects like this help to escape it for a little while. A lot of us do it to escape reality for a bit.
[Desire HD Android Development] live2die:
guys, no politics please, dont make xda another GFW victim!
[Desire HD Android Development] twistedumbrella:
Read the post, then take off your homemade moderator badge and sit down.

Taking a break from your normal life isn't really a break if its to come get bossed around and censored. Didn't I have to sign a petition against that to open this site back up this morning?
[Desire HD Android Development] casper_600:
please im a new in dezire hd

dose i extract libcamera.zip in system\lib??? to fix cam
[Desire HD Android Development] sagarda7:
Super answer. Thanks
[Desire HD Android Development] mwilky:
No, use either Lord clockans, twisted umbrellas or virtuous teams build, has it included.
[Desire HD Android Development] abusaaad:
:D

With

htc sensation

Working without a problem

thanks
[Desire HD Android Development] Black1982:
I think you're being a bit a harsh on the guy, politics is very off topic and also a subject that can cause lots of conflict.

Also forum rule:

2.4 Personal attacks, racial, political and/or religious discussions: XDA is a discussion forum about certain mobile phones. Mobile phones are not racial, political, religious or personally offensive, therefore none of these types of discussions are permitted on XDA.
[Desire HD Android Development] eben80:
Hi guys. Great work. Someone mentioned that this can't be used on Adreno 130 devices. Could the OP or someone else please confirm this or have a suggestion? Would dearly like to get it working on HTC Hero :D
[Desire HD Android Development] anit77:
The way this thread has headed may be why the OP doesn't post here much. While I love following Twisted's work his response was a bit harsh and could lead to more flaming back and forth. Which in turn could turn the OP off more to this site. Based on what Shaky has said that would be quite a shame because the guy has some real talent and would be a good contributor here.
[Desire HD Android Development] twistedumbrella:
The way this forum has headed, saying you understand wanting to get away from the day to day life must be a political statement. That really chases people away. It couldn't be the "get back to work, stay on topic, post nothing but your work" attitude...

I edited the post so it doesn't say the word government. Maybe now you guys can relax a little now that you'll get through the entire post.
[Desire HD Android Development] CYRAXDroid:
Not sure if this has been posted but this works for the HTC Inspire.?
[Desire HD Android Development] existz:
Yes, its used in lords builds and in mine (aospX).. both work on dhd and inspire
[Desire HD Android Development] Sully6789:
Ace=Inspire/DHD

So yes. Lords rom, Quattro, Existz, and MIUI v4 all work for the Inspire.

Sent from LC ICS loaded Inspire 4G
[Desire HD Android Development] CYRAXDroid:
Cool just double checking.. thanks cause the stock camera lags and I have to take a pic to actually get the camera to turn on so hope this works seems like it is though.
[Desire HD Android Development] CYRAXDroid:
So just flash the zip?
[Desire HD Android Development] existz:
If ur talking about zip in OP, no, this is just a dev thread...the zip in the OP is just source code for the camera, you need to flash a rom with this fix added in it... either Lords builds, mine, VC..etc

But stock camera app seems to work the worst, try using a 3rd party app like Ucam or something, there's still some glitches but its somewhat better
[Desire HD Android Development] CYRAXDroid:
I see I'll look into a 3rd party app. Thanks though
[Desire HD Android Development] twistedumbrella:
So is anyone still working on this? Or was being able to take some pictures with an occasional artifact good enough to call it a day?

By the way, it is now expanded to cover any and all msm7x30 devices.

https://github.com/TwistedUmbrella/android_hardware_qcom_camera
[Desire HD Android Development] jwhood:
what files would i have to swap out to get this to work on mt4g since you said it has been expanded to work on all msm7x30 phones thanks twisted are the libs and hal on your github and can i just swap them out with my libs and fix perms in terminal emu before i run cam app and also what wouldbthe cmd lines be so the swapped out file i just put into my phone work,u know like chmod 666 /msm_7x30/dev/control0 etc etc im not sure of cmd after swap id b grateful if you could tell me those so we over at mt4g can finally have a camera thanks again im still learning so dont flame me if im asking assanine questions!!! : )

sent from "WORLD 8-4" BOWSER'S CASTLE"
[Desire HD Android Development] :
+1. I'm curious too but I'm no dev.
[Desire HD Android Development] twistedumbrella:
You need the Sense version of the libs for sense phones, or stock for phones without sense. You also need to make sure you have a stock media_profiles.xml with only the minimal edits you may have needed to get it to boot in ICS.

Nothing really needs to be changed from a generic build except to add the flag

TARGET_LEGACY_CAMERA := true

to either a BoardConfig or CommonBoardConfig somewhere.

The libs on my GitHub will NOT work for other phones. They vary. The ones for Thunderbolt are from a Sense 605.9 build from the Thunderbolt forum, the ones for Desire HD were from one of their stock builds.

The list of files you need is:

libcamera.so

libmmipl.so

libmmjpeg.so

liboemcamera.so
[Desire HD Android Development] jwhood:
thanks twist for the info,also how to access boardconfig.mk file or commonboardconfig.mk file,do i have to be in a build enviroment to see or access those files or can i access them through windows and make changes thanks again i even went in on file explorer to see if i could find the boardconfig files but no luck and what specific name for the media profile.xml i have several diffrent ones on my phone!"!

sent from "WORLD 8-4" BOWSER'S CASTLE"
[Desire HD Android Development] ghostofcain:
No, this is the reason lord, existz and twisted builds have a working camera at all. The lagginess and glitches can be reduced using a third party camera app as discussed in lords ics thread

Sent from my Desire HD
[Desire HD Android Development] twistedumbrella:
The boardconfig is part of the source device folder and its media_profiles.xml which ends up in system/etc/
[Desire HD Android Development] jwhood:
so can i edit it through windows or do i have to build to edit boardconfig.mk,ok i founf the xml file just dont understand where to put target legacy camera= true

sent from "WORLD 8-4" BOWSER'S CASTLE"
[Desire HD Android Development] M..N:
You need to edit the boardconfig.mk then build it afaik.
[Desire HD Android Development] jwhood:
bro im still learning,so how the hell do i edit it if i cant see it,ive look all over in system and can not find boardconfig.mk is there a certain spot where its at,please be patient with me im trying to grasp everything

sent from "WORLD 8-4" BOWSER'S CASTLE"
[Desire HD Android Development] M..N:
Where are you looking exactly? You tried looking at the source code for the rom?
[Desire HD Android Development] jwhood:
not yet just looked in rom its self

sent from "WORLD 8-4" BOWSER'S CASTLE"
[Desire HD Android Development] neandertaler19:
You won't find it there. Check out the source code.
[Desire HD Android Development] M..N:
Boardconfig.mk is located in the source code, so just check there
[Desire HD Android Development] jwhood:
thanks m.n for the help im gonna check it out now,then after i edit go rebuild

sent from "WORLD 8-4" BOWSER'S CASTLE"
[Desire HD Android Development] gzdx0615:
:D thank you boy.
[Desire HD Android Development] youngd24:
I found that Samsung Galaxy I9000 have a fully working camera and was wondering if that could be used to get DHD camera fixed?
[Desire HD Android Development] lukesky:
no it wont
[Desire HD Android Development] dodge3003:
Idiot. Its his language...You learn it you Luddite!!!!!!
[Desire HD Android Development] twistedumbrella:
I'm assuming you know English, or at least took a pretty accurate guess at grammar, but since that was the only thought that went into your post, let me clear this up:

4。使用英語。 據我們了解，與所有不同民族，不是 每個人都講英語，但請嘗試。如果你真的無法用英語 發布使用在線翻譯，你自由，包括您的原始郵件，在您 自己的語言，下面的英文翻譯。

4.Shǐyòng yīngyǔ. Jù wǒmen liǎojiě, yǔ suǒyǒu bùtóng mínzú, bùshì měi gèrén dōu jiǎng yīngyǔ, dàn qǐng chángshì.Rúguǒ nǐ zhēn de wúfǎ yòng yīngyǔ fābù shǐyòng zàixiàn fānyì, nǐ zìyóu, bāokuò nín de yuánshǐ yóujiàn, zài nín zìjǐ de yǔyán, xiàmiàn de yīngwén fānyì.

http://translate.google.com/m/translate
[Desire HD Android Development] fishykipper:
Luddite!?? What? Where's the fear?
[Desire HD Android Development] knoobie:
I understand both Chinese and English. I see that forcing people to just post in google translated English seems to make things more complicating and at times misled things. I believe we all don't want that to happen.
[Desire HD Android Development] twistedumbrella:
That was not a personal preference, or something being forced on anyone. It was a direct quote from the rules that was also translated to fit the situation (in a way that demonstrates how it works)

This site is hosted in the good 'ol USA, and you would be asking the moderators and users to have to go and translate your message to understand, let alone moderate, what you said on a forum that is primarily English-speaking users.

There is nothing in there that said posting in another language is forbidden. It clearly states the original text can follow a quick English translation. It is one of the rules I have to agree with because if you took the time to read an entire thread in English, it shouldn't be that much extra to respond in that language.
[Desire HD Android Development] dijonemon:
OK, so its been a few weeks since this fix was found - is anyone working on a better solution? As great as it is that we can use the camera on ICS, the artifacts are a real problem for people who use their camera regularly - and a lack of true videocamera support is also annoying.

Just wondering if anyone has anything going at the moment - or are we just waiting for a miracle / official ICS release from HTC for the DHD.
[Desire HD Android Development] twistedumbrella:
Check over the last page or two, you will find what you need.
[Desire HD Android Development] arknailed7754:
does the creator of this open know how to get the video working lol
[Desire HD Android Development] elicor:
sorry

I have a motorola defy I'd like to use your solution but I don't understand how can I use the file.

It is possible have a pack to install?

regards

Ely
[Desire HD Android Development] ghostofcain:
Yeah I'd be sorry too. Short answer no, this is a temporary hack to allow the older camera libs to work with ICS, as such it won't help you.

Sent from my HTC Desire HD
[Desire HD Android Development] twistedumbrella:
Not necessarily. There are other variations that may work. I'm using the version by rapmv for droid which is not that far off. This specific one is just htc only.
[Desire HD Android Development] chrisi100:
@twistedumbrella

I've seen you pushed your camera stuff to cyanogenmod (thanks for that).

Do you mean without the distortion like the zbwu86 version at the top of the pictures?
[Desire HD Android Development] twistedumbrella:
That depends on the sense libraries. I don't get that on tbolt. Still looking into a fix.
[Desire HD Android Development] ErwinP:
Hello y'all

I'm trying to see how this can be used to make the CM9 camera of the HTC Wildfire working, but I'm having REAL difficulties to understand what should be done. Can someone please give a bit of explanation on how the OP's post made your camera working? It doesn't have to be a step-by-step explanation, just a little guideline so I know where to start.

Thank you very much in advance,

Erwin
[Desire HD Android Development] twistedumbrella:
http://review.cyanogenmod.com/#change,12793
[Desire HD Android Development] ErwinP:
my board is msm7225, do I have to change it everywhere or will it be applied as such when building?
[Desire HD Android Development] twistedumbrella:
Change the 7x30s to match your TARGET_BOARD_PLATFORM <- in the device BoardConfig.mk

May work, may not. Hasn't been tested.
[Desire HD Android Development] ErwinP:
Alright, thank you for that!

On last question and then I stop spamming: I don't see where I can get libmmipl.so and libmmjpeg.so, it isn't pulled off the ROM with the GB copy-files.sh script either. Are they stricktly needed?
[Desire HD Android Development] monsterr:
What is the best 3rd party camera to use ?
[Desire HD Android Development] twistedumbrella:
They are part of the sense camera package for 7x30. If they weren't there to begin with then I doubt they are needed for yours. Our libcamera needed them not the source for the wrapper.
[Desire HD Android Development] lagloose:
Hey folks,

i know this is not Galaxy Ace Thread but meanwhile i'm a little frustrated and have no idea how to go on, so i decided to ask here if someone has an idea what i can do or try. I have camera working on Galaxy ACE with no preview. Camera seems to be initialized correctly. I can shoot pictures with stock camera but no preview...

IMO preview can't be shown because of this SIGFPE in libc which is obviously thrown through calling 'initDefaultParameters'

...

V/QualcommCameraHardware( 145): startCamera picture_sizes 0xa7758430 PICTURE_SIZE_COUNT 7

V/QualcommCameraHardware( 145): startCamera preview_sizes 0xa7758468 previewSizeCount 5

V/QualcommCameraHardware( 145): startCamera X

I/QualcommCameraHardware( 145): initDefaultParameters E

F/libc ( 145): Fatal signal 8 (SIGFPE) at 0x00000091 (code=0)

I/Process ( 309): Sending signal. PID: 1421 SIG: 3

I/dalvikvm( 1421): threadid=3: reacting to signal 3

I/dalvikvm( 1421): Wrote stack traces to '/data/anr/traces.txt'

I/Process ( 309): Sending signal. PID: 1421 SIG: 3

I/dalvikvm( 1421): threadid=3: reacting to signal 3

...

This gives followup errors so that preview is not shown. Due to the fact that i've used proprietary libcamera.so from a stock ROM i've only limited possibilities to debug... I've attached a complete logcat from starting camera app through shooting a picture and ending camera app.

Anyone who can help ? if the answer is not of general interest, reply via PM to avoid flooding this thread.
[Desire HD Android Development] inspiredbyhtc:
@ lagloose

I don't have any idea about the permanent solution, but while inside the camera app you can try to lock and unlock your phone for a momentary solution. That was a temporary solution on the Desire Hd before the devs got it working.
[Desire HD Android Development] twistedumbrella:
The solution was in the camera app itself. It's on review.cyanogenmod.com

Sent from my Jailbroken iPad 3
[Desire HD Android Development] lagloose:
Thanx for reply...

Did you mean this one: http://review.cyanogenmod.com/#/c/13564/ ?

Already tried this today, but no preview yet...
[Desire HD Android Development] BLOODY_STONE:
yaaaaaay ! looks like all roms will have a working cam soon :-D
[Desire HD Android Development] killersloth:
This thread is rather old actually. Lol
[Android Q&A, Help & Troubleshooting] stamp331:
I need an handwriting and keyboard writing app for android for math and other classes that can draw graft & other.

like this:

http://www.youtube.com/watch?v=rif92ESkQ3I Thank you.
[Android Q&A, Help & Troubleshooting] Ianis G. Vasilev:
There are many similar apps - Catch notes, Note Everything, Evernote... but I think the best one is Evernote because of the synchronization possibilities (It can synchronize bidirectionally between Android and Windows, Windows Mobile, Windows Phone, iOS, MacOS X)...
[Android Q&A, Help & Troubleshooting] jobumaru:
Try super note

http://xdaforums.com/showthread.php?t=1319447
[HTC Rezound] GreenXSniper:
Does anyone know where I can get just the dock from the ICS leak so that i can use it with ADW EX or GOlauncher? or can someone point me in the right direction to get it for myself? I thnk it would be cool to have as a theme while the Devs work on making ICS stable.

Thanks :D
[HTC Rezound] couchmonkey:
adw has a great ics theme.
[HTC Rezound] MrSmith317:
You couldn't use the true ICS dock anyway since it's compiled for a higher OS. Try using a themed screen as suggested above.
[HTC Rezound] andybones:
It would be awesome if we could port the ICS dock since it's since sense 3.5.

but i doubt it lol or else it would have been done.
[HTC Rezound] con247:
I hope we can up-port rosie from GB to ICS. I HATE that new bottom bar. The 3 button sense bar is my favorite thing about sense.
[HTC Rezound] andybones:
yea that would def be cool, i like sense 3.0 dock better honestly.
[HTC Rezound] MrSmith317:
I'm sure it will happen. I personally dislike that part of Sense, but to each their own right..??
[HTC Rezound] awenthol:
Agreed...only reason I am hesitant about ICS...
[HTC Rezound] GreenXSniper:
What I meant was just take the stock ICS

Sense

dock bar as an image file, and use it in other launchers, does this explain it better...?
[HTC Rezound] YamiYaiba:
Agreed. I reply want to see it ported up. That new one is....terrible.
[HTC Rezound] jackjensen84:
i personally like it now that i have seen it for the past day. lol
[HTC Rezound] awenthol:
...and after loading up Clean ICS, I now see how it will be mandatory for ICS. How else would one get the folders that ICS allows in the taskbar?
[HTC Rezound] GreenXSniper:
I ended up flashing a ICS ROM and I actually like the new dock, Give it a try befroe anyone says they dont like it :D