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?
 
brotherandyslb
Old
(Last edited by brotherandyslb; 15th February 2013 at 05:16 AM.) Reason: spell check broken
#1  
Member - OP
Thanks Meter 2
Posts: 30
Join Date: Nov 2009
Camera [Q] Port AOSP 4.1 Camera to 4.2 Rom

As the title states, how would one go about porting an 4.1 camera to 4.2? I really need a stable camera I can rely on and none of the current 4.2 Roms fit the bill. However, I really don't want to go back to 4.1.

Any help would be wonderful!
 
x714x
Old
#2  
x714x's Avatar
Senior Member
Thanks Meter 185
Posts: 687
Join Date: Sep 2012
Location: Phoenix
You mean run the touchwiz camera on a AOSP rom? Or run the AOSP 4.1 camera on a 4.2 rom? If you are talking the touchwiz camera then the answer is no. Touchwiz stuff needs touchwiz framework to work properly which obviously AOSP does not. There are a lot of camera apps in the playstore with similar functions as the touchwiz camera that you can run. I personally like Procapture.
Sprint HTC One - ViperRom - ElementalX Kernel

"If you're havin' ginger problems i feel bad for you son
I got 99 problems but a soul ain't one" - JAY-Z
 
brotherandyslb
Old
#3  
Member - OP
Thanks Meter 2
Posts: 30
Join Date: Nov 2009
Quote:
Originally Posted by x714x View Post
You mean run the touchwiz camera on a AOSP rom? Or run the AOSP 4.1 camera on a 4.2 rom? If you are talking the touchwiz camera then the answer is no. Touchwiz stuff needs touchwiz framework to work properly which obviously AOSP does not. There are a lot of camera apps in the playstore with similar functions as the touchwiz camera that you can run. I personally like Procapture.
As stated, I'm talking about the AOSP 4.1 camera on 4.2. Not talking about touchwiz.

The 4.2 camera is extremely buggy at least for me. The 4.1 camera was rock solid.
 
brotherandyslb
Old
#4  
Member - OP
Thanks Meter 2
Posts: 30
Join Date: Nov 2009
Anyone? Or does anyone know what all files the camera needs to operate so I can copy one over myself?
 
brotherandyslb
Old
#5  
Member - OP
Thanks Meter 2
Posts: 30
Join Date: Nov 2009
After several tries, all I have managed to do is soft brick the phone, alot. Does anyone else want to solve this problem?
 
PsiPhiDan
Old
#6  
Senior Member
Thanks Meter 552
Posts: 1,722
Join Date: Oct 2011
Location: Plainfield
Default Re: [Q] Port AOSP 4.1 Camera to 4.2 Rom

I don't think anyone else is having camera issues on 4.2, so you're probably not going to get a lot of support here. What issues are you having? Is never had one yet on 4.2, and I use the camera often, as I have an infant.

Sent from my SCH-I535 using xda app-developers app
 
brotherandyslb
Old
#7  
Member - OP
Thanks Meter 2
Posts: 30
Join Date: Nov 2009
Frequent FCs, sometimes rebooting will fix, other times I have to re-flash the rom. I too have an infant (2 wks old tomorrow) and a 2yr old. I also use the camera quite often for work. I know I am not the only one having the FC issues, I just don't know why it doesn't happen to others as well. When I flash a new rom I always Factory Reset, Wipe Cache/Dalvik, and Wipe System. Then flash, boot to system, wait a few minutes, reboot to recovery, flash gapps, then restore with titanium. The only camera that worked great (aside from TW of course) was the AOSP 4.1 Camera. All 4.2 cameras have failed.
 
mentose457
Old
#8  
mentose457's Avatar
Senior Member
Thanks Meter 291
Posts: 628
Join Date: Dec 2010
Location: Utgard, Harvest, Epsilon Indi System
Quote:
Originally Posted by brotherandyslb View Post
Frequent FCs, sometimes rebooting will fix, other times I have to re-flash the rom. I too have an infant (2 wks old tomorrow) and a 2yr old. I also use the camera quite often for work. I know I am not the only one having the FC issues, I just don't know why it doesn't happen to others as well. When I flash a new rom I always Factory Reset, Wipe Cache/Dalvik, and Wipe System. Then flash, boot to system, wait a few minutes, reboot to recovery, flash gapps, then restore with titanium. The only camera that worked great (aside from TW of course) was the AOSP 4.1 Camera. All 4.2 cameras have failed.
I assume you have tried pulling the gallery app from a 4.1 rom and pushed it to /system/app/ on your phone. If not give that a try. Im not fully confident it will work but you might get lucky.
I'm smart; you're dumb; I'm big, you're little; I'm right, you're wrong, and there's nothing you can do about it.
 
brotherandyslb
Old
#9  
Member - OP
Thanks Meter 2
Posts: 30
Join Date: Nov 2009
Quote:
Originally Posted by mentose457 View Post
I assume you have tried pulling the gallery app from a 4.1 rom and pushed it to /system/app/ on your phone. If not give that a try. Im not fully confident it will work but you might get lucky.

Yes, I have tried just the APK. Doing that results in the camera becoming non functional. Then I expanded removed gmscore.apk and 2 lib files then added gallery.apk from 4.1 along with several files merged in to all folders set permissions, reboot ... soft brick. I'm not 100% sure what files the camera relies on and what files the system relies on. What I'd like to do is pinpoint down every file the camera relies on in both 4.1 and 4.2 then make the proper changes. I'm just not sure of how to do that. I've downloaded several different flashable cameras and it seems that each one has different files.

Tags
4.1, 4.2, aosp, camera, port

XDA PORTAL POSTS

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

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more