yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] pzumk:
Yep, that's right. Tried it with Twidroid and it takes a photo but doesn't actually upload it.

As long as this isnt working you could only go into the gallery then (by pressing the gallery button on the cam) and go to that pic and "share" it via twidroid
[Nexus One Themes and Apps] kiowa79:
Maybe a "NOT 720p recording" should be added into the title of the thread.

Recording in 720p will be the major improvement when porting Desire camera to Nexus one, but only for a "visual" change I do not think this is a outstanding benefit.
[Nexus One Themes and Apps] drake1:
Brilliant! I hope it will save the pics in the right folder too. Better thumbnail pics would be a good bonus!!!

& does it take pics in 720?
[Nexus One Themes and Apps] chronzz:
just pushed it to /system/framework/ thank you for your hand in this mod :)
[Nexus One Themes and Apps] britoso:
Just wanted to point out that if you rename the original camera apk to something else and push it to /system/app, you can have a choice of both cameras (and camcorders) :)
[Nexus One Themes and Apps] Andrewtst:
Can you share out the original one :)
[Nexus One Themes and Apps] jlevy73:
You adb pushed the htc.apk that Enom posted and it worked? That would be nice as all I want is the stand-alone desire camera and not the kernel associated with it.
[Nexus One Themes and Apps] britoso:
I wanted to at first, just realized its not part of gapps...so...enjoy

From the CM 5.0.5.3 ROM.
[Nexus One Themes and Apps] jlevy73:
Very nice, thanks!
[Nexus One Themes and Apps] Andrewtst:
Thanks a lot :)
[Nexus One Themes and Apps] Andrewtst:
Hi, after restart, it said cannot connect to camera.

Any solution?

Anyway to remove it? what the command to remove the push .apk
[Nexus One Themes and Apps] Andrewtst:
Please ignore my above post, already successful remove the file.

Is my mistake, I push to wrong place.

Will try re-push the file. hehe.
[Nexus One Themes and Apps] Andrewtst:
Success push the OriginalCamera.apk to correct path which is \system\app

After restart, the original camera still work with only 3MP but the Desire camera became not working.

For those having same issue and want to remove, just do as below:

adb remount

adb shell rm -r /system/app/OriginalCamera.apk
[Nexus One Themes and Apps] britoso:
Maybe you should provide the install command too ;)

yeah the original camera is limited to 3MP due to the desire changes, but the Desire camera still works fine at 5MP for me.
[Nexus One Themes and Apps] Andrewtst:
I use below command when pushing the OriginalCamera.apk.

adb remount

adb push OriginalCamera.apk /system/app

It is working, but once I restart the phone, it will appear message cannot connect camera.

May I know any part I done wrongly? I do change the name from OriginalCamera.apk to NexusCamera.apk, is this an issue?
[Nexus One Themes and Apps] onehoon:
Seems geo tagging does not work

Waiting fixed one

Thanks
[Nexus One Themes and Apps] faizalmzain:
sometimes it works, sometimes it's not.
[Nexus One Themes and Apps] paulobrien:
Some complications in trying to extricate everything from the framework.jar, but i'm working on it. re: the Camcorder icon linking to the standard camera app, this is due to a problem in the permissions section of the manifest.xml, and should be fixable. :)

P
[Nexus One Themes and Apps] :
I love this camera! It is so much more user friendly than the stock Nexus one app. Thanks for posting this! :)
[Nexus One Themes and Apps] paulobrien:
Testing a new version, uploading coming very soon.

Changes:

No longer requires a patched framework.jar

No longer requires a patched Gallery3D

Now using Enomther's slimmed HTC resources apk (thanks man!)

Camcorder icon is now removed (Camera icon only, until I fix the Camcorder link)

This should make it a lot easier to implement for the ROM of your choice - only 1 small edit is needed to the boot image init.rc. This will stop it breaking things like trackball alert too.

Watch this space! :)

P
[Nexus One Themes and Apps] pzumk:
Thanks for your work Paul! (just remove the camcorder at all, we don't need it)
[Nexus One Themes and Apps] rori~:
Thanx Paul, I am looking forward to the new version *** Thanx!
[Nexus One Themes and Apps] Andrewtst:
Thanks Paul, waiting on it :)

Ya, just completely remove the Camcorder icon, it is redundant and we no need it at all.
[Nexus One Themes and Apps] paulobrien:
Interesting note: I see no evidence of 720P support whatsoever in the Desire camera app...

P
[Nexus One Themes and Apps] onehoon:
Thanks Paul!!!!

can't wait!!
[Nexus One Themes and Apps] paulobrien:
New version online! :)

P

Changelog

r2

No longer requires a patched framework.jar (ROM chefs, include com.htc.framework.jar in your bootclasspath BEFORE framework.jar)

No longer requires a patched Gallery3D

Now using Enomther's slimmed HTC resources apk (thanks!)

Camcorder icon is now removed (now showing Camera icon only, until I fix the Camcorder link)
[Nexus One Themes and Apps] paulobrien:
Important:

If upgrading from a previous Desire Camera release, I STRONGLY RECOMMEND reinstalling your chosen base ROM again, as some previously altered files (e.g. the Gallery APK) are no longer modified.

:)

P
[Nexus One Themes and Apps] www1:
I can simply reinstall rom.

I have CM 5.0.5.3

I have to reinstall all or simply made a nandroid backup and reflash rom (and after reflash kernel)?

Or I have to backup all by titanium and reinstall?

Thanks
[Nexus One Themes and Apps] onehoon:
You mean reinstalling base rom before installing Desire camera app or after installing Desire app?

I think before installing Desire camera app..
[Nexus One Themes and Apps] paulobrien:
Just reinstall your ROM, no need to wipe.

P
[Nexus One Themes and Apps] paulobrien:
Yes, before, of course.

P
[Nexus One Themes and Apps] paulobrien:
Both kitchens now updated. :)

P
[Nexus One Themes and Apps] www1:
Thanks Paul.

I reinstall rom (simply upgrade via recovery)

Install desire camera

Reinstall modded kernel

Reinstall my Mopth.

;)
[Nexus One Themes and Apps] chronzz:
is it saving in media100 or camera folder now?
[Nexus One Themes and Apps] chronzz:
thank you, you are the man :D
[Nexus One Themes and Apps] www1:
Media100

:p

Reflashed Cyanogen.

Now reinstalling morph and kernel.

I found a bug.

When I made aphoto, in preview in Gallery 3D i see old image I have in photo :D

I delete all (thumbs ecc...) and now it's work very well.

:cool:
[Nexus One Themes and Apps] pzumk:
still 100MEDIA if im right

*/ uh, too slow.
[Nexus One Themes and Apps] paulobrien:
Answered in first post.

P
[Nexus One Themes and Apps] chronzz:
cool the only thing i wanted didn't make it in this build. but thank you so much trackball alert is working now
[Nexus One Themes and Apps] Andrewtst:
Anything being fix beside the removal of Camcorder icon?

It seems it still flash boot, is that means for UV/OC user, we still need to reflash this UV/OC kernel?

Is all mention problems being fix?
[Nexus One Themes and Apps] mynameisjon:
found a problem.

When I first flashed the mod, I was asked to choose between "android system" and "htc.com.picker xxx" when choosing Ringtone/notifications.

After re-flashing CM 5.0.5.3 and the new update mod, I get force closes because I chose "htc.com.picker xxx" when it asked the first time and I set it as default.

I'd like to advise everyone to stick to "Android System" and set that as default, for some reason, htc.com.picker isn't on the manage-able application list and you can't clear default settings later on.

Paul maybe you'd like to add this caveat into your first post?
[Nexus One Themes and Apps] paulobrien:
Oddness, will look at that!

P
[Nexus One Themes and Apps] paulobrien:
Read the first post.

P
[Nexus One Themes and Apps] jlevy73:
+1 to that, except I am not getting the FC's. I just pick one as the default than all is good. Thought it was strange to see the two choices.
[Nexus One Themes and Apps] SubyWill:
just to clarify and make sure i don't mess anything up.

i haven't flashed this on yet.

so i just flash it on, then i have to install the oc/uv kernel again (can i install the lib still?), and then re-patch for trackball alert to work?

i just want to make sure :)
[Nexus One Themes and Apps] Aviz71:
dammmm I can not use trackball alert: just downloaded/flashed CM ROM (kitchen version) and reinstalled TA, but get this message "your framework is not cyanogenmod stock!!" when trying to patch...

:(

any idea?
[Nexus One Themes and Apps] lilHermit:
I believe you will need to copy back the stock framework from CM5. Take a look in the .lilHermit directory on the root of your SD card for backups of stock frameworks.

~
[Nexus One Themes and Apps] smoothone:
I'm a little confused. The first Desire camera mod for Enoms rom came bundled with the overclocked kernel but I reinstalled 1.8.1 then flashed the Desire r2 upgrade and now I have no oc options in spare parts. Just wondering if the r2 camera upgrade has the oc kernel included like the first one did for Enoms rom. Thanks
[Nexus One Themes and Apps] mynameisjon:
Lucky you.

I picked htc.com, then somehow after I re-flashed CM and the new camera mod I keep getting FCs. Thankfully I had a nandback up from when i first flashed the camera mod, so now i know what NOT to do.

On a side note the new camera is working flawlessly, though not as if there were kinks for me when i first installed it.
[Nexus One Themes and Apps] erinata:
Installed and worked but it screw up apps that use the stock camera. Can you pls keep the stock camera but adding a HTCCamera?
[Nexus One Themes and Apps] fitsnugly:
Just flash the zImage

and trackball alert does work again! :)
[Nexus One Themes and Apps] Ensane:
The last cm version works great for me... Wats that saying??? If it aint broke dont fix it???

=P
[Nexus One Themes and Apps] Andrewtst:
Hi, in your 1st post, as I know only mention below:

- No framework.jar patch

- No Gallery 3D patch

- Remove Camcorder icon.

- Using slimmed HTC resources apk by Enomther's.

I didn't seen any change log mention about what has been fix and not mention about whether the UV/OC kernel need to re-flash or not.

From above user post, it seeems Apps that needs Stock Camera still FC, I assume example nemoPlayer still having same issue.

and the only issue report fix is the trackball alert by user. I not sure about what issue in 1st R1, as I still can set different trackball color for breath, different color for incoming SMS. (I use handcent and the trackball color setup is working) Or mention here is the extra apps call "trackball alert"?

My suggestion:

- rather than we need to reflash the actual ROM we use, how about re-attached together with original unalterned file in this R2? example the gallery.apk.

- Possible to remain the stock camera as well, then we can have options of two type camera and temp solved the apps that required stock camera. (or maybe it just something not right inside)

- A summary change log what has been fixed.
[Nexus One Themes and Apps] paulobrien:
Apps that need standard Camera *should* work better now...

P
[Nexus One Themes and Apps] Part Four:
This update seems to have switched my services.jar text to black instead of white. I'm using the Kspec Metamorph theme over CM 5.0.5.3. Anything I can do to get my text back to white? I can't even read the clock now. Thanks in advance.
[Nexus One Themes and Apps] Aviz71:
ehm..... I deleted the directory... :(

I wanted to unistall completely the program. stupid me.... :(:(

can you help me?
[Nexus One Themes and Apps] paulobrien:
This update doesn't change the services.jar...?

P
[Nexus One Themes and Apps] paulobrien:
Which apps? With more info I can try and fix them, which would be better.

P
[Nexus One Themes and Apps] Part Four:
Fixed. Never mind.
[Nexus One Themes and Apps] psylink:
redo the services.jar from the kspec metamorph
[Nexus One Themes and Apps] Part Four:
LOL, yeah, I realize that now. My mistake. I'm all good now, thanks.
[Nexus One Themes and Apps] Andrewtst:
Hi, Paul,

Last question before I change to this R2.

Is R2 fix the issue in certain apps after taken the photo it should attached the snap photo inside the app rather than do nothing?

Example apps include:

- Facebook

- Google Buzz

- Default Messaging

- Handcent SMS.
[Nexus One Themes and Apps] britoso:
Pushed the new files from R2 manually and it works fine. Didn't have to change the zimage/kernel :)

Unfortunately the two cameras cannot co-exist now, one replaces the other.
[Nexus One Themes and Apps] Andrewtst:
Desire Camera R2 small summary:

R2 still not solving the issue where after shoot shall attached to the app we open, example google buzz or facebook.

Much more better for apps that require stock camera, example taken photo via nemoPlayer is working but not taken video.

The Gallery3D will FC if you click the camera button due to modified in previous R1 version, beside reinstall back the entire ROM, another options is uninstall the Gallery3D via Titanium Backup, then push back the original Gallery3D taken from original CM 5.0.5.3 ROM to \system\app, install back the Gallery3D via Astro File Manager, and bravo! it work! even after reboot the phone. No more FC when clicking the camera button now at Gallery3D.

The UV/OC kernel must be reflash in order to working back.
[Nexus One Themes and Apps] pzumk:
Is it piossible to change the "latest photos"-button in the cam to go to the latest photos (maybe like on N1 or just the folder) and not to the gallery?
[Nexus One Themes and Apps] codito:
Can anyone post some info and screenshots about exactly what the Desire camera offers? I get my Nexus One tomorrow and am excited to try this.
[Nexus One Themes and Apps] mrnexusone:
its offer a true 5mg pixel in camera shot:D
[Nexus One Themes and Apps] Aviz71:
anyone can help, please? I reinstalled trackball alert several times, but I can not patch CM ROM.

in "cache" directory I have a couple files "framework", but I don't know what to do with them....
[Nexus One Themes and Apps] net.cat:
you could try reintalling everything and making a wipe!
[Nexus One Themes and Apps] Aviz71:
yes, thanks.

but I really don't want to reinstall everything..... I rather not use TA, but it's a pity.

any idea on what to do with framework files?
[Nexus One Themes and Apps] neogenesis:
After I wiped my phone and doing the MCR 2.1 flash then doing this R2 flash, I get this message:

E:failure at line 3:

copy_dir PACKAGE:system SYSTEM:

Installation aborted.

I've done a wipe a few times and still get the message, any idea what I can do about this? I've been able to flash the MCR 2.1 with no problem but as soon as I try to install R2 I get the above message.

Thank you
[Nexus One Themes and Apps] 3Shirts:
Apologies if this is a dumb question but what does the face detection actually do? I have tested it briefly and it seems to draw a box round faces but to what end?
[Nexus One Themes and Apps] Devastatin:
Focus is optimized to the faces and not some random object.
[Nexus One Themes and Apps] vk2bea:
Old pictures return ... new ones disappear

I'm having some weirdness with this mod. Sometimes when I take a picture and then look for it in the gallery. When I look sometimes it is not there (in 100media) .... not only is the new picture not there, but an old picture that I had deleted has been un-deleted!

I'm using ethomer 1.8.1 ROM.

Has anyone else seen this ... is there a fix ?
[Nexus One Themes and Apps] jtn7040:
some times ur phone takes awhile to load the thumbnails depends ont he speed of ur card
[Nexus One Themes and Apps] vk2bea:
No that's not the problem. The picture never shows up in the directory (or gallery) ... but a completely different deleted picture does!
[Nexus One Themes and Apps] jtn7040:
whoa... u got me there, thats' some strait up ghostbusters stuff
[Nexus One Themes and Apps] jblazea50:
yeah that happens to me as well; sometimes the pictures don't show up in the gallery, other times older/deleted pictures show up, and few times it says there's no pictures in the gallery

however, if i close the app, re-open it and snap another picture or go into gallery, the new pics show up

also, the camera app sometimes gives the forced close error
[Nexus One Themes and Apps] fitsnugly:
I have seen this as well...
[Nexus One Themes and Apps] paulobrien:
re: enomther, I forgot to include the OC Spare Parts app, apologies.

P
[Nexus One Themes and Apps] neogenesis:
After flashing the MCR 2.1 then R2, the phone just loops the boot animation. Flashing just the 2.1, it boots fine. I have wiped and redownloaded the R2.

Any suggestions?
[Nexus One Themes and Apps] paulobrien:
Strange, any info from logcat?

P
[Nexus One Themes and Apps] jtn7040:
have u tried deleting all of the old thumbnails in your DCIM folder i did this before flashing and have yet to see this problem
[Nexus One Themes and Apps] mtw4991:
Desire camera + video confirmed working

Not sure what all the problems are from the past

Happy to report that I updated to the Desire camera app from MoDaCo links and it works like a charm, video also!

Did a nandroid (in case), saved zip to sd card, booted to recovery, flashed from zip, reboot, BINGO! Maybe 5 mins...WOW!

Plus, it is storing photos to the stock picture gallery, just labeled 100media instead of camera and they show side-by-side. Video uploaded too as Quick Time Player video though...not sure if it's a + or -. Gonna do some more testing with various apps and will report any bugs.

mtw4991

1 Week Old Noob, but learning REALLY, REALLY FAST!

Phone: Rooted Nexus One

Rom: Cyanogen Mod 5.0.5.3-N1 STABLE

Recovr: Amon_Ra v1.70 Cyan version

Kernel: 2.6.33.1

Build: EPE54B

Radio: 4.03.00.21_2
[Nexus One Themes and Apps] milenko11:
Does r2 cause the trackball notification app to not work? Am I understanding it correctly that r2 does not change the kernel? r1 caused issues for me and I'm hesitant to try r2 but I will if the kernel is untouched.
[Nexus One Themes and Apps] mtw4991:
Not that I can tell, green for emails, blue for others, white for reg. stuff
[Nexus One Themes and Apps] milenko11:
I'm referring to the Trackball Alert app that can let you change the color for your emails and missed calls. The r1 camera changed the kernal and broke that app.
[Nexus One Themes and Apps] mtw4991:
where is the trackball alert app located? i dont see it?
[Nexus One Themes and Apps] milenko11:
It's in the market.
[Nexus One Themes and Apps] vk2bea:
Yes, this was one of the first things I tried ... but no difference.

There may be some trash in the /data/.... directory for the camera and/or gallery but I don't know where to start for that.
[Nexus One Themes and Apps] setzer715:
Works great on Enom's 1.8.1, thanks!
[Nexus One Themes and Apps] niner81:
Look in the Android folder on your sdcard. There should be a folder for cooliris and in it is a cache folder. Clearing the cache fixes the issue for me.
[Nexus One Themes and Apps] vk2bea:
Cool... that did it. Thanks
[Nexus One Themes and Apps] MSigler:
Running CM 5.0.5.3 with the 1.113ghz OC/UV kernel. If I flash just the camera, it works fine, but kills OC of course. If I go back afterward and flash the OC/UV kernel, the camera app FC's every time. Any thoughts?

Edit:

Fixed by flashing camera zip, then flashing this zimage via fastboot USB

http://iq0.org/story/nexus-one-1113mhz-stable
[Nexus One Themes and Apps] johanove:
Works great for me (CM 5.0.5.3)

Thank you so much for your work!:D
[Nexus One Themes and Apps] vegetaleb:
Does it actually enhance photo quality?
[Nexus One Themes and Apps] jtn7040:
I really can't tell its definitely widescreen but now when I take pictures of the white board in class so I don't have to take notes I feel it isn't as clear as camera fx used to be or Eben the old stock camera. Haven't decided if its lighting issues yet. Although even when I take pictures using the negative setting still not as clear I will upload images When I get into class.
[Nexus One Themes and Apps] jblazea50:
will i be able to use the update zip for 5.0.5.3 on Enom's v1.8.1 rom or are you going to make one for that rom separately?
[Nexus One Themes and Apps] seraphimserapis:
Awesome Paul.

Is there any way to get the copy & paste?
[Nexus One Themes and Apps] paulobrien:
CM 5.0.5.3 download added. Enjoy everyone! ;)

P

PS It's a TEST version. :P
[Nexus One Themes and Apps] mrnexusone:
thanks paul, your the best..
[Nexus One Themes and Apps] lightforce:
anyone flash the cyan one yet?
[Nexus One Themes and Apps] pzumk:
Great, thanks Paul! Will it also work with 5.0.5.2? It should, shouldn't it?
[Nexus One Themes and Apps] GuerillaZhou:
i just flashed on top of 5.0.5.2, no problems. works great

touch to focus feature is awesome. thanks paul
[Nexus One Themes and Apps] pzumk:
Thanks man, will flash it now
[Nexus One Themes and Apps] Nemphys:
Weird

Just flashed on top of CM 5.0.5.3 (haven't tested yet, still booting :p )

Why does this update rewrite BOOT?
[Nexus One Themes and Apps] paulk_:
One less thing on my wishlist now.. Thanks fellow Paul! And great work!
[Nexus One Themes and Apps] Breakthecycle2:
Sorry to be a pain, but anyway to get this ported to Enom's 1.8.1?
[Nexus One Themes and Apps] mrnexusone:
thanks paul, your the best..

paul, FC after shot in cm-5.0.5.3
[Nexus One Themes and Apps] teflon252:
so does that mean it will record at 720p?
[Nexus One Themes and Apps] Nemphys:
Why replace the Kernel?

The app is really nice, thank you!

But why did the update rewrite the kernel? I had the latest OC/UV kernel before this, is it safe to reflash it? Or will the camera app stop working?
[Nexus One Themes and Apps] rheza02:
paul can easily work around to make it possible.
[Nexus One Themes and Apps] wschom:
This is awesome! Great work Paul. I am using cm 5.0.5.3 and it works perfectly.
[Nexus One Themes and Apps] Nemphys:
FC

OK, flashed the OC/UV kernel back and the app works, except that I get an FC everytime I take a picture (happens only for stills, not video, and the image is stored properly before the FC). Is this because of the kernel, or does it happen with the supplied kernel, too?
[Nexus One Themes and Apps] 3bs:
What advantages does the Desire Camera app have over the regular N1 Camera besides touch to focus?

* Found out - The UI is way better, snaps pics faster, ability to turn of shutter sound, more options, great zoom, etc.
[Nexus One Themes and Apps] mrnexusone:
i think its not compatible with the latest oc-uv with audio boost. that why i have enc0unter a FC. now its ok after uninstall the latest oc-uv with audio boost:D
[Nexus One Themes and Apps] melterx12:
thanks! please port the desire music app too! :)
[Nexus One Themes and Apps] vk2bea:
If you want better resolution don't shoot in wide screen. All it does is throw away some vertical resolution. (see the difference .. There is same number of horizontal pixels for both wide screen and normal aspect ratio but widescreen has less lines)

The widescreen is 4MPixels verses 5MPixels for the normal aspect ratio
[Nexus One Themes and Apps] stshannon:
From the pics below, i can confirm this.

Img 58 and 59 are in normal mode, and 60 and 61 are in widescreen mode.

58 and 59 are at 2592w x 1952h (5,059,584 pixels)

60 and 61 are at 2592w x 1552h (4,022,784 pixels)

The odd thing is tho, both resolutions, for both Horizontal and vertical are listed at 72dpi. You would think the two sets would have a different vertical resolution?

So it seems that yeah, the better format would be to take your pictures in normal mode vs widescreen.
[Nexus One Themes and Apps] jtn7040:
good to know for class notes, thanks
[Nexus One Themes and Apps] andythefan:
For some reason the images I take with the DesireCam seem like they are worse than with the stock cam. I've tried taking pictures in a variety of places and lighting and it still seems sub par...

It could just be the gallery's poor image compression algorithm.
[Nexus One Themes and Apps] superg81:
camera works well,but photos wont transfer over to laptop or photobucket.wont open.im lost