New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
bittermormon
Old
#1  
Senior Member - OP
Thanks Meter 33
Posts: 678
Join Date: Jul 2006
Location: SL,UT
Default install default camera instead of HTC one?

I love the speed of Cyan's Rom, but I hate the HTC camera. Video is always choppy. I don't think I had this problem with the default camera.

Is it possible to swap the cameras?
 
lukekirstein
Old
#2  
lukekirstein's Avatar
Senior Member
Thanks Meter 2
Posts: 386
Join Date: Apr 2009
Location: Chandler, Arizona
Quote:
Originally Posted by bittermormon View Post
I love the speed of Cyan's Rom, but I hate the HTC camera. Video is always choppy. I don't think I had this problem with the default camera.

Is it possible to swap the cameras?
ADB commands to switch out the .apk's of the camera and camcorder with the "default" camera from another build (most likely JF's because that's all Google)
The man who smiles when things go wrong has thought of someone to blame it on. - Robert Bloch
 
bittermormon
Old
#3  
Senior Member - OP
Thanks Meter 33
Posts: 678
Join Date: Jul 2006
Location: SL,UT
Quote:
Originally Posted by lukekirstein View Post
ADB commands to switch out the .apk's of the camera and camcorder with the "default" camera from another build (most likely JF's because that's all Google)
ummm, thanks for the reply, but did you mean to list the ADB commands? have playd a little with this in the past but haven't had any luck, so any help would be appreciated. As for now I think I am going to reformat to ext2 and play with Haykuro's Ion r1 for a day or 2.
 
bmfc187
Old
#4  
bmfc187's Avatar
Senior Member
Thanks Meter 2
Posts: 406
Join Date: Feb 2009
Location: Austin, TX
if you ALREADY HAVE the camera.apk you want to install...then good. IF NOT, go download JF1.51 and pretty sure it will have the Google version camera.apk...MAKE A NANDROID BACKUP BEFORE YOU BEGIN!! I AM NOT RESPONSIBLE FOR ACCIDENTS! This is a simple procedure, so please pay attention and do this carefully, Its not my fault if your phone gets bricked. That being said, i have done this more than once and never bricked my phone. THAT being said, I CANNOT GUARANTEE YOU THE SAME RESULTS, SO PLEASE! PLEASE! BACKUP YOUR DEVICE AND YOUR DATA BEFORE ATTEMPTING THIS!

First go into terminal on your device and type:

Code:
su
mount -o rw,remount -t yaffs2, /dev/block/mtdblock3 /system
rm /system/app/camera.apk
rm /system/app/HTCAlbum.apk
this removes the HTC versions from your phone. Then just go ahead and push the google version camera.apk. The adb commands are:

Code:
adb push /exact/path/to/your/camera.apk /system/app
remember, DO NOT type "/exact/path/to..." replace this line with the path on your computer where you have the camera.apk, for example,

/Desktop/Android/camera.apk is where mine would be...

then thats it. FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY. once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!

-BMFC
 
bittermormon
Old
#5  
Senior Member - OP
Thanks Meter 33
Posts: 678
Join Date: Jul 2006
Location: SL,UT
Quote:
Originally Posted by bmfc187 View Post
MAKE A NANDROID BACKUP BEFORE YOU BEGIN!!
Where's the fun in that??


Quote:
Originally Posted by bmfc187 View Post
FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY.
I think that's what threw me off in the first place. Thanks for the help, I think I'll give it a shot after I get sick of Ion.
 
alritewhadeva
Old
#6  
Senior Member
Thanks Meter 0
Posts: 1,365
Join Date: Mar 2009
Quote:
Originally Posted by bittermormon View Post
Where's the fun in that??
If you mess up sometimes you're screwed
T-Mobile G1
Super D
Clockwork Mod Recovery
**A Big thanks goes out to all the Developers**
Need help? Ask for it! PM me or contact me on Gtalk - alritewhadeva@gmail.com

Follow me on Twitter!
 
bittermormon
Old
#7  
Senior Member - OP
Thanks Meter 33
Posts: 678
Join Date: Jul 2006
Location: SL,UT
Quote:
Originally Posted by bmfc187 View Post
once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!

-BMFC
Ok so here's the problem I have had in the past, and am still having. I backed up and remover the HTC CAmera and HTCAlbum, but even after I push Camera.apk from JF's ROM, it doesn't show up. No Camera and no Gallery.
 
igashu
Old
#8  
igashu's Avatar
Member
Thanks Meter 1
Posts: 40
Join Date: Mar 2009
Having the same problems. I'd also like to restore the stock camera application, but after replacing the apk and so files from the JF1.51 build (and rebooting), neither Camera nor Gallery appears in the app drawer.

Any thoughts?
 
silvrhat7
Old
#9  
Member
Thanks Meter 0
Posts: 63
Join Date: Jul 2009
Default rogers dream

hi!

does anyone know if this procedure will work fine on a Rogers Dream? Should replacing the apk files work okay?

Thanks!
silvrhat
 
alritewhadeva
Old
#10  
Senior Member
Thanks Meter 0
Posts: 1,365
Join Date: Mar 2009
Quote:
Originally Posted by silvrhat7 View Post
hi!

does anyone know if this procedure will work fine on a Rogers Dream? Should replacing the apk files work okay?

Thanks!
silvrhat
Nandroid Backup, do it and if it fails just restore backup. There's no reason it shouldn't.
T-Mobile G1
Super D
Clockwork Mod Recovery
**A Big thanks goes out to all the Developers**
Need help? Ask for it! PM me or contact me on Gtalk - alritewhadeva@gmail.com

Follow me on Twitter!


XDA PORTAL POSTS

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more