yashsingh1/xdaforums huggingface dataset:
[myTouch 4G Android Development] tjizzle:
Could that be firerat from the old dream/sapphire days? Lol
[myTouch 4G Android Development] 3650freak:
Just wanted to thank feby a million times for this awesome rom. The trusty old MyTouch 4G feels almost new again. Quick question though, b/c the camera is not functioning is there anyway to customize the lock screen to have a diff quick link app instead of camera? (using Trebuchet launcher BTW) Thanks again
[myTouch 4G Android Development] VibrantOwnr:
He has camera almost working
[myTouch 4G Android Development] cnote74:
Thats awesome news.
[myTouch 4G Android Development] twe3ky:
Just throwing this out there. If you get the camera working, will we have face unlock in the next build?
[myTouch 4G Android Development] Bangincrazy:
Looks like per cyanogenmod the camera will be working but no camcorder atm
[myTouch 4G Android Development] killerwolf396:
The glacier lives!
[myTouch 4G Android Development] shaikmonster:
Ooh the waiting.... Patience... I gate virtues...
[myTouch 4G Android Development] RusRap:
Maybe or maybe not... This is beta so there's no way of telling for sure until you flash the update when it comes out. I'll be glad if the camera is working and ffc is not upside down. Yet again, only one way to tell.... Wait for the update and flash it.

feby bro I just wanna let you know you're doing an awesome job on this ROM. And thank you to everyone tarts helping with it!!!
[myTouch 4G Android Development] b4d455b345t:
Why is it that only Feb is working on the ICS camera issues on the MyTouch 4g? There's tons of devs on here... I'm not a dev yet, & I know its hard work, but I wish someone would work on the camera, rather than waiting on Feb since he is busy.

Feb you said you were applying final patches on the camera weeks ago :l

And no, no one ***** or lecture at me cuz i want the camera to work -.- I'm eager, like everyone else, to have a fully functional ICS AOSP build. Also, Sense 4.0 will be out, and will later be ported by xda devs. This ROM also helps CM9, the new MIUI, and ICS ROMS other devices are getting.
[myTouch 4G Android Development] donj001:
I don't think you're going to be flamed, but it seems that the casual readers of this thread do not fully appreciate that none of the devs have been holding people at bay over this camera issue, there haven't been any camera HALs, drivers, to make the camera work until now. And no camcorder as yet.

Now I'll go back to being silent :-)

Sent from my "Creamed Glacier"
[myTouch 4G Android Development] Nicgraner:
What are you saying? "fix camera and don't ***** at me for demanding it now"?...I sure hope not, because unless you want to pay his salary so he can do this for us you can sit back and wait like the rest of us. The reason must devs aren't currently working on ics is due to thee fact that it requires a MASSIVE hardware setup that not all devs have. This post was at bare minimum hurtful to all devs here. please don't do it again.
[myTouch 4G Android Development] zipsnet:
just building another rom as we speak !

PS: I'm not a developer I'm just a Unix geek :) !
[myTouch 4G Android Development] alexriio:
Ha nice
[myTouch 4G Android Development] invasion2:
You think Feb is the only one working on it? You are wrong, so very wrong, my friend....
[myTouch 4G Android Development] febycv:
Guys, now i have zipsnet to help me with the build.....If every thing holds good, you can expect the camera fix soon....

But, Please don't ask for ETA.....will update you soon with the outcome.....
[myTouch 4G Android Development] RusRap:
+1
[myTouch 4G Android Development] 0.0:
:D +1. the more people (devs), the lighter the load. cant wait!
[myTouch 4G Android Development] DylanTheVillian:
Thanks Feb! Congrats on the Sensation! My dad has one and, I cant wait for it to be passed down the line! Look forward to seeing some of your development for that phone if you ever get time :)
[myTouch 4G Android Development] marketingmike:
Zips have you been here the whole time?
[myTouch 4G Android Development] saranhai:
congrats for getting RD status feb! :D
[myTouch 4G Android Development] zipsnet:
and still here ;)
[myTouch 4G Android Development] ARey1212:
Zips, can you give us a progress update? ;)

I'm sure I'm not the only one curious lol
[myTouch 4G Android Development] The Archangel:
really? Look at what I quoted
[myTouch 4G Android Development] DylanTheVillian:
+1 I was just about to do the same.... He can speak english... you would think he could read and understand it too! Bah.... Everyone else is waiting patiently Dev's.. Thanks for your work!
[myTouch 4G Android Development] simplyrafa8:
Really man, REALLY?
[myTouch 4G Android Development] b4d455b345t:
I didn't say "fix camera and don't ***** at me for demanding it now", or u wouldve properly quoted me.
[myTouch 4G Android Development] eqjunkie829:
Awesome! Can't wait to see the cam fix Feb. Really appreciate the love shown to glacier even when you have a sensation now.
[myTouch 4G Android Development] The Archangel:
Drop the argument before zelendel (a moderator) decides to pay a visit

If I helped, give thanks, if you please.

........Death before dishonor........

Team inferno

Leader
[myTouch 4G Android Development] ARey1212:
Sheesh guys. Simplyrafa8 and @Mr.Highway it was a innocent curious question.

At most harm, it would only cause a simple ignore. Just asking something like I said in the post. No need to go Robocop on it.

Edit: "DylanVillain" I believe said "I was just about to ask a page back. Don't judge nor chastise me.

Sent from my newly Creamed (PAUSE) Glacier phone

Buyaka!

...Only tryna help...
[myTouch 4G Android Development] The Archangel:
In just trying to keep things clean around here.

If I helped, give thanks, if you please.

........Death before dishonor........

Team inferno

Leader
[myTouch 4G Android Development] Okaham:
and you're doing a good job. keep it up. have you applied to be a mod yet? i think you'd make a great one and get all these trolls away from here.

anyway.. to the rest of the people

DON'T LET TROLLS LIKE HIM GET TO YOU!!
[myTouch 4G Android Development] zipsnet:
Yeah sure here's the progress, im very sleepy and wife is pissed ! ;)

besides that , just finished compiling and uploaded the rom for feb.

my left thumb is numb and im hungry! anything else you guys want to know??? :eek:
[myTouch 4G Android Development] :
Yeah...did you have a b.m today?...lol
[myTouch 4G Android Development] blackwing182:
can the fakes mod shut up and leave every one ask what they want,

i think xda dont want troll moderators around here, lets every one happy whit the camera fix, this like first step on the moon for us!!!
[myTouch 4G Android Development] blackwing182:
love you dude xD

really very apreciated, your work and contribution, :-)
[myTouch 4G Android Development] DylanTheVillian:
Wasn't chastising... Just pointing out the painfully obvious :)

As everyone else does... Please Just Wait?!

If you wait, they will post progress notices and even better they will fix all the things you want fixed!!!

Development for this phone could have ended a long time ago... May I remind you of Feb's signature, it clearly states he has a Sensation... We are lucky he is still spending his time on our phone :)

Thanks Dev's... I am shutting up, I promise!
[myTouch 4G Android Development] The Archangel:
check your pm

If I helped, give thanks, if you please.

........Death before dishonor........

Team inferno

Leader
[myTouch 4G Android Development] cnote74:
can't wait to flash the new update.
[myTouch 4G Android Development] ThreeFourSeven:
Thanks Feb & Zips, keep up the good work.
[myTouch 4G Android Development] TopazUser1:
Thanks febycv and zipsnet you guys are awesome!
[myTouch 4G Android Development] louisc22:
so i guess if the camcorder doesn't work then i wonder if skype video calling would is the front camera going to work as well? Just curiousness i guess ill just have to wait and see.
[myTouch 4G Android Development] alfadog77:
im getting toooo excited for thisss
[myTouch 4G Android Development] mouzon21:
Yeah buddy, feb u r the man. Patience is a virtue and I'm waiting patiently.
[myTouch 4G Android Development] broncosfantx:
The excitement is as thick a butter , anyone got a butter knife ?
[myTouch 4G Android Development] marketingmike:
Awesome, thanks for all your help. You guys rock!
[myTouch 4G Android Development] oak25:
All this excitement for a ROM! :rolleyes::cool::cool::cool::cool:
[myTouch 4G Android Development] :
Not just a rom, the holy grail! The camera itself is a entity of its own.
[myTouch 4G Android Development] twe3ky:
Anyone know the the Camera UI looks like on ICS?
[myTouch 4G Android Development] Nicgraner:
Look on Verizons website
[myTouch 4G Android Development] adulel08:
Is the ICS camera gonna be taking pics at super speed for us? Been waiting since day 1 for this yay! Also I hope we can add Widgets next update.
[myTouch 4G Android Development] foxxx5oh:
The version of Trebuchet in the Ascension ROM doesn't FC when you scroll to the widgets, so here's hoping that they will use the same when the final version is built.
[myTouch 4G Android Development] The Archangel:
How can you even say that?

Feb just announced he's working with zipsnet to get it working directly.

Then zipsnet, said he's doing another build.

Please prove me wrong that this thread is dead, I want viable facts of it.

If I helped, give thanks, if you please.

........Death before dishonor........

Team inferno

Leader
[myTouch 4G Android Development] zipsnet:
Little Update

I went to sleep last night @ 3:00am got up today @ 7:00am, took care of my kids, wife, dogs and cats, now everybody is sleeping and I'm back on the horse :rolleyes:

last night compiles went ok, but camera.glacier.so errors out with some library problems. I'm working on that right now and compiling again to see if that error goes away. Dunno if Feb has had some luck on his side. Let's hope :)

Here's the error just in case!

load: module=/system/lib/hw/camera.msm7x30.so

E/HAL ( 1204): Cannot load library: link_image[2048]: 1204 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1384]: 1204 cannot locate '_ZN7android16CameraParameters7KEY_CAFE'...
[myTouch 4G Android Development] srivers33:
Great to hear that passion,thanks again for the hard work brother, we all appreciate it. Keep it up.
[myTouch 4G Android Development] zipsnet:
Launcher

BTW I'm using this launcher

https://market.android.com/details?id=net.pierrox.lightning_launcher

anyone using it ???

-Z
[myTouch 4G Android Development] fordstang99:
Heh am now...never knew bout it...thanks for the link
[myTouch 4G Android Development] oak25:
never heard of it, will check it out and throw the fat lady out(SENSE)
[myTouch 4G Android Development] febycv:
Who are you to speak something like this about my thread...????

This is the real reason why most of the devs leave the mt4g forum.....

Guys, don't feed these trolls, working on the cam fix....it's not an easy task....so, please give some time to work....
[myTouch 4G Android Development] alfadog77:
so feb did you encounter any errors while compiling? and could you link me to a guide for compiling pleasee
[myTouch 4G Android Development] simplyrafa8:
I always thought that was the reason why everyone was leaving... now I know it really is! Freaking trolls...

Anyways,

You do your thing Feb, we'll keep waiting! Love ya man!!
[myTouch 4G Android Development] Root-Maniac:
Thank you Feb!
[myTouch 4G Android Development] firesnatch:
Guys, I built the new HAL camera wrapper from the gerrit source yesterday, but I'm having trouble getting the library to load. I get this message:

E/HAL ( 1205): load: module=/system/lib/hw/camera.glacier.so
E/HAL ( 1205): Cannot load library: link_image[1936]: 1205 could not load needed library 'libcamera.so' for 'camera.glacier.o' (reloc_library[1285]: 1205 cannot locate '_ZN8SkMatrix10setRotateZEf'...
E/HAL ( 1205): )
E/CameraService( 1205): Could not load camera HAL module

I'm using the libcamera.so, etc... from the CM7 ROM. I ran 'readelf -Ws libcamera.so|grep setRotate' and see:

84: 00000000 0 FUNC GLOBAL DEFAULT UND _ZN8SkMatrix10setRotateZEf

... So the that routine is indeed inside the library. I have libcamera.so in /system/lib, and permissions are 644. Can someone help a brother out?
[myTouch 4G Android Development] 0.0:
dont worry feb, ignore the trolls. even though its hard to ignore...prove 'em wrong! (which you are going to be doing with that camera fix and more :)). thanks again, for working on this
[myTouch 4G Android Development] foxxx5oh:
Do you have the camera.goldfish.so and camera.msm7x30.so files in /system/lib/hw ?
[myTouch 4G Android Development] blackwing182:
do you think camera.goldfish.so is needed?
[myTouch 4G Android Development] foxxx5oh:
It may be because of all of the other *.goldfish.so files in the hw folder are needed afaik
[myTouch 4G Android Development] jimbo11883:
UND means the symbol is referenced in the file, but not defined in the file. All should be

fine if the symbol can be found elsewhere, maybe it's in camera.goldfish.so or camera.msm7x30.so?
[myTouch 4G Android Development] foxxx5oh:
I can't believe I missed that >_< good catch sir.
[myTouch 4G Android Development] firesnatch:
Thanks jimbo! FYI, I renamed camera.msm7x30.so to camera.glacier.so so it would be loaded.

I get it now... the routine is not defined in any of the libs. So I went back and searched all the CM7 libs, and sure enough, there it was, in /system/lib/libskia.so!

Dropping the old libskia.so into /system/lib on CM9 causes the phone not to boot.

I checked the CM9 libskia.so, and it has the following in it:

2023: 000820a8 64 FUNC GLOBAL DEFAULT 7 _ZN8SkMatrix9setRotateEf
2024: 000820e8 80 FUNC GLOBAL DEFAULT 7 _ZN8SkMatrix9setRotateEfff
2599: 000a1608 120 FUNC GLOBAL DEFAULT 7 _ZN10SkMatrix3D10setRotateZEf
2602: 000a16bc 120 FUNC GLOBAL DEFAULT 7 _ZN10SkMatrix3D10setRotateYEf
2605: 000a1770 120 FUNC GLOBAL DEFAULT 7 _ZN10SkMatrix3D10setRotateXEf

So maybe I need to hack libcamera.so to use _ZN10SkMatrix3D10setRotateZEf instead of _ZN8SkMatrix10setRotateZEf? Or something similar?
[myTouch 4G Android Development] foxxx5oh:
Shouldn't you be able to do away with the 3D controls since our camera is only a 2D and doesn't need an X, Y, and Z axis?
[myTouch 4G Android Development] blackwing182:
patching it could work give it a try! i gtalk you
[myTouch 4G Android Development] jimbo11883:
I can't find anything in the Skia documentation about Matrix3D function calls, so they're either undocumented, or, were written by Google and are not part of standard Skia. Either way, I'd say give it a shot.
[myTouch 4G Android Development] firesnatch:
I found the source... it's external/skia/src/utils/SkCamera.cpp

In CM9 the routine is

void SkMatrix3D::setRotateZ(SkScalar degZ) {

I'll have to see what the CM7 source looked like. Any ideas what tool to use to elf hack libcamera.so? Is that the right direction?
[myTouch 4G Android Development] zipsnet:
Are you compiling using the libcamera fro a HTC Sense rom ? error I get diff errors than yours. Mine are the calls are not defined in CameraParameters.h
[myTouch 4G Android Development] firesnatch:
zipsnet, do you know the solution? have you already figured all of this out?

---------- Post added at 11:29 AM ---------- Previous post was at 11:21 AM ----------

No, i'm not using libs from a Sense ROM. I took these from update-cm-7.1.0-glacier-signed.zip, which I believe I downloaded directly from cyanogenmod.com last month. lib sizes are:

03/03/2012 01:33 PM 97,784 libcamera.so
03/03/2012 01:33 PM 559,904 libmmipl.so
03/03/2012 01:33 PM 184,800 libmmjpeg.so
03/03/2012 01:33 PM 851,704 liboemcamera.so

My camera lib is here if anyone wants to lend a hand with this.
[myTouch 4G Android Development] blackwing182:
like motorola zeppelin days! allways a great research!!! your are awsome!! and ziip you have a great talent xD
[myTouch 4G Android Development] zipsnet:
Here's the thing:

msm7x30: Camera HAL for HTC Sense-based devices

The proprietary camera files must be from an HTC Sense build for this

HAL to function properly. These files include:

libcamera.so

libmmipl.so

libmmjpeg.so

liboemcamera.so

This camera HAL was based on GB ported drivers from zbwu86 with FFC by

nico.

msm7x30 device support, inline overlay, reverse FFC, and panorama has

been added, but the camcorder is not yet functioning.

__________________________

When you compile using those files, camera.glacier.so errors out with:

1204 cannot locate '_ZN7android16CameraParameters7KEY_CAFE'...

Now if you look at the code in camera/CameraParameters.h you'll see there's nothing defined as KEY_CAFE, which makes me believe we either have the wrong files or we need to modify the source code.

Either way, I have to apology, today is a very busy day for me, I will be back tomorrow morning hopefully someone got a better idea or understanding.

Thanks.

-Z
[myTouch 4G Android Development] jimbo11883:
KEY_CAF seems to be a CM7 added feature (Continuous Auto Focus). You may need to strip out that feature.
[myTouch 4G Android Development] zipsnet:
Good to know thanks, you save me some research ;) I'll work on that tomorrow.
[myTouch 4G Android Development] osutuba:
I am floored at the work that is being put in on this. I wish I had the dev chops to join in and help knock this mod out of the park.
[myTouch 4G Android Development] oak25:
I know same here, I am taking my first Unix class and it just seems like there is so much knowledge one needs to even know how to read and understand.

Being part of XDA is pretty cool in its own right, as to know that within this very own forum of the MT4G, there is TONS of information written by people who are not paid. Shows the passion and dedication to their hobby or Occupation!

- Anyways thanks for not making me want to shell out $300 for a phone that is not even worth it yet (I don't think there's is anything worth upgrading truly for, yet that is...)
[myTouch 4G Android Development] Root-Maniac:
Good job you guys, wish i could help but my knowledge on developing is very limited.... Thanks for your hard work!!
[myTouch 4G Android Development] TopazUser1:
I noticed the peeps over at the mt4gS section have ics working with sense cameras. Maybe that'll help you guys out?

-Call me a newb but im just trying to help.
[myTouch 4G Android Development] Root-Maniac:
I believe the hardware is completely different.....
[myTouch 4G Android Development] firesnatch:
Update: So I used my camera wrapper with the Sense libs, and now it fully loads. libcamera.so is crashing though after I open the camera application. Here is the logcat:

http://pastebin.com/TEyLZ6Ak
[myTouch 4G Android Development] louisc22:
Did u try other camera apps or just the one?
[myTouch 4G Android Development] 3650freak:
I remember seeing issues with low mic volume resolved by the Dark side kernel but I am still having issues. Any other tips?
[myTouch 4G Android Development] alfadog77:
i think this the first time ive seen on this thread where other people are actually helping feb in his quest to get the camera working for a phone he doesn't even use anymore.

Thank you guys. thank you for helping keep this phone's development last a little longer. I'm trying to learn this stuff. I found a spare harddrive and i already installed it in my computer and im going to install linux on it so i can learn how to compile and stuff. Who knows, we may be able to port Sense 4.0 if we have enough man/girl power. But once i again i thank thee :)
[myTouch 4G Android Development] donj001:
It is

Sent from my "Creamed Glacier"
[myTouch 4G Android Development] jwhood:
Libposteffects.so ,cant be open,i didnt see where libcamera.so wasnt opened ,where at in logcat is it saying libcamera is not loading maybe im missing that ??EDIT: where is libposteffects.so lib from?? ( sense or cm 7,ics??)

That could be the issue because libposteffect.so cant be opened try adding different libposteffect.so file and see if that fixes it,im still learning and been trying to help fix this since it came out,but finally gave up because it was really difficult and something i never done before!!!

sent from the home of the "WIRE"
[myTouch 4G Android Development] firesnatch:
libposteffects.so was completely missing. I added the Sense one just now. The camera library still breaks in the same spot. Here is the new logcat output:

http://pastebin.com/iCGiKJTu

Where the crash appears, the next line in the log is supposed to be something like this:

I/QualcommCameraHardware( 1240): pmem pool /dev/pmem_adsp ioctl(fd = 65, PMEM_GET_SIZE) is 5537792

Where it grabs some memory from the memory pool. Instead it's crashing in libbinder.so.

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

Only tried stock Camera.apk. Android Market wasn't connecting when I tried to look for others.
[myTouch 4G Android Development] jwhood:
__________________

I[/URL]

Something is missing,or needs to be reversed,i just took a quick look at your new logcat,im eating soon as im done im gonna give it a good looking at and see what it could possibly be!!!

EDIT: ok the only thing that i can think of is the certain libs u are using are not the right ones especially the libcamera.so and it just keep erroring out,and which it causes everything else to go haywire,did you use sense 2.2.1 libs from what ive read that twisted has posted that its specific to a stock sense (in our case what phone originally shipped with) EDIT2:(this is an answer i got from twistedumbrella about the ics camera sitution)...... 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

Code: 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

__________________

sent from the home of the "WIRE"
[myTouch 4G Android Development] killerwolf396:
I have a spare stock mytouch 4g I can get those files...
[myTouch 4G Android Development] firesnatch:
Send them to me, and I'll see if they are different than the ones that I'm using. I grabbed my libs from the Virtuous Unity ROM.

twistedumbrella told me about the media_profiles.xml file. It was missing, but adding it did not solve the crash in libbinder.so.

I'm trying all this with the CynogenMod 9.0.0 alpha ROM, which I have no idea if it was compiled with TARGET_LEGACY_CAMERA := true.

Also, I built a CM9 ROM myself, with all the latest source, but it doesn't boot after I flash it. Maybe someone can help me get it working. zipsnet said it might be a permissions issue, but i'm not sure what to check.
[myTouch 4G Android Development] saranhai:
Check the updater-script.

Sent from my Infernalized Glacier!

-Team Inferno
[myTouch 4G Android Development] donj001:
I can't tell you all how awesome I think that all of this spirit of cooperation is...Thank all of you for your participation

Sent from my "Creamed Glacier"
[myTouch 4G Android Development] zipsnet:
I had a drive failure this morning and I lost my dev server, Im re-installing everything all over again!
[myTouch 4G Android Development] blackwing182:
ouch thats bad! hope you can get all your data back!

---------- Post added at 03:14 PM ---------- Previous post was at 03:10 PM ----------

we check it, also we changed the boot.img ust in case re checked drivers and no go, it was late in night wen we did that, and i was drunk,lol, ill ask for it again and see what i can do im experioenced whit ports and everything...

PEOPLE DONT DRINK BEER AND MOD AT THE SAME TIME :)
[myTouch 4G Android Development] zipsnet:
I pulled a couple of directories i wanted.
[myTouch 4G Android Development] blackwing182:
glad to hear that :)