Go Back   Android Forums > Android Phones > Motorola Triumph > Triumph - All Things Root

New Forums: Nexus Player | Nexus 9
Like Tree16Likes

test: Reply
 
LinkBack Thread Tools
Old June 5th, 2012, 05:49 PM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Jun 2011
Location: California
Posts: 120
 
Device(s): Motorola Tiumph (MIUI 2.4.20)
Carrier: Not Provided

Thanks: 44
Thanked 27 Times in 20 Posts
Default ICS Camera Ideas

Is it possible to maybe replace all the files from GingerBread to ICS that have to do with the camera so we at least have a GB camera on ICS? maybe this is dumb lol. But i just thought it wouldn't hurt to ask.
guiitardude likes this.

Advertisements
amzer81 is offline  
Reply With Quote
The Following User Says Thank You to amzer81 For This Useful Post:
guiitardude (June 5th, 2012)
sponsored links
Old June 5th, 2012, 07:20 PM   #2 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

No. ICS rewrote the whole camera drivers so it's so confusing and you're going to have to rewrite the code yourself.

Some possible fixes..
[!!Camera Works!!][ICS][CM9][Development]Camera - xda-developers
Ace ICS camera solution (more photos and source) - xda-developers
rukin5197 is offline  
Reply With Quote
Old June 5th, 2012, 08:27 PM   #3 (permalink)
Member
 
StaticMaal's Avatar
 
Join Date: Nov 2010
Location: Raleigh,NC
Posts: 315
 
Device(s): Sprint SGS3 HTC EVO 4G (JellyBean), Motorola Triumph (ICS), LG Optimus V, Motorola Backflip
Carrier: Not Provided

Thanks: 173
Thanked 154 Times in 43 Posts
xxavierx96@gmail.com
Default

Quote:
Originally Posted by gannon5197 View Post
No. ICS rewrote the whole camera drivers so it's so confusing and you're going to have to rewrite the code yourself.

Some possible fixes..
[!!Camera Works!!][ICS][CM9][Development]Camera - xda-developers
Ace ICS camera solution (more photos and source) - xda-developers
I bet you already tired that haven't you? Also is AOKP fixed?
StaticMaal is offline  
Reply With Quote
Old June 5th, 2012, 08:58 PM   #4 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

I PMed Tjstyle and got him to push his changes to github. WOOOOOOOOT!!! Looks like we'll get camera soon.
amzer81 and calitrippin like this.
rukin5197 is offline  
Reply With Quote
The Following 14 Users Say Thank You to rukin5197 For This Useful Post:
amzer81 (June 5th, 2012), calitrippin (June 5th, 2012), eas014 (June 6th, 2012), guiitardude (June 6th, 2012), haro138 (June 5th, 2012), JTAKER (June 5th, 2012), Just Infectiou (June 6th, 2012), keisukehonda (June 6th, 2012), PieFromTheSky (June 5th, 2012), retromind (June 6th, 2012), skarni (June 6th, 2012), terrestrialfx (June 5th, 2012), tgpraveen (June 5th, 2012), XAL2 (June 7th, 2012)
Old June 5th, 2012, 09:49 PM   #5 (permalink)
Member
 
Join Date: Sep 2011
Posts: 179
 
Device(s):
Carrier: Not Provided

Thanks: 25
Thanked 28 Times in 24 Posts
Default

Wait so upcoming ICS builds will have camera support awesome!
haro138 is offline  
Reply With Quote
The Following User Says Thank You to haro138 For This Useful Post:
guiitardude (June 6th, 2012)
Old June 5th, 2012, 11:38 PM   #6 (permalink)
Junior Member
 
Join Date: Feb 2012
Posts: 26
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by gannon5197 View Post
I PMed Tjstyle and got him to push his changes to github. WOOOOOOOOT!!! Looks like we'll get camera soon.
Yessssssssssssssssssss, the camera was the only thing holding me back from ICS ;D .
pancakewagon is offline  
Reply With Quote
Old June 5th, 2012, 11:41 PM   #7 (permalink)
Member
Thread Author (OP)
 
Join Date: Jun 2011
Location: California
Posts: 120
 
Device(s): Motorola Tiumph (MIUI 2.4.20)
Carrier: Not Provided

Thanks: 44
Thanked 27 Times in 20 Posts
Default

F*****ck yeah !!!!!!!! ;d
amzer81 is offline  
Reply With Quote
The Following User Says Thank You to amzer81 For This Useful Post:
guiitardude (June 6th, 2012)
Old June 5th, 2012, 11:44 PM   #8 (permalink)
Member
 
MediocreBadGuy's Avatar
 
Join Date: Dec 2011
Location: Texas
Gender: Male
Posts: 468
 
Device(s): Nexus4 16GB, Nexus7 16GB
Carrier: T-Mobile USA

Thanks: 132
Thanked 157 Times in 130 Posts
Default

I'm sure there is still a lot of work to do to get camera working correctly but it is a great start
amzer81 likes this.
MediocreBadGuy is offline  
Reply With Quote
Old June 5th, 2012, 11:57 PM   #9 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

Quote:
Originally Posted by MediocreBadGuy View Post
I'm sure there is still a lot of work to do to get camera working correctly but it is a great start
Actually, to quote,

Quote:
Originally Posted by gannon5197
Hey tjstyle, so us at the Triumph forums are in desperate need of you to update your sources on Github with the camera fixes for ICS. If you could please do this, it would help a LOT of us out.

Thanks a lot,

Gannon
Quote:
Originally Posted by tjstyle
Quote:
Originally Posted by gannon5197
Well thanks a lot! But can you please update your sources for the kernel edits you did?
Quote:
Originally Posted by tjstyle
Any files that I've edited is there, on fb0 branch.
Quote:
Originally Posted by gannon5197
Oh wow so no kernel edits. Thanks so so so so so much. Like you have no idea how much this benefits us. I'll be sure to give you credit in my thread and to all of AF
Quote:
Originally Posted by tjstyle
if you have any bug fix or solution, please let me know on this thread:
Login
amzer81 likes this.
rukin5197 is offline  
Reply With Quote
The Following 2 Users Say Thank You to rukin5197 For This Useful Post:
amzer81 (June 6th, 2012), rsevans64 (June 13th, 2012)
Old June 6th, 2012, 12:03 AM   #10 (permalink)
Member
Thread Author (OP)
 
Join Date: Jun 2011
Location: California
Posts: 120
 
Device(s): Motorola Tiumph (MIUI 2.4.20)
Carrier: Not Provided

Thanks: 44
Thanked 27 Times in 20 Posts
Default

F******CKKK YEAHHHHHH ! lol
amzer81 is offline  
Reply With Quote
sponsored links
Old June 6th, 2012, 12:46 AM   #11 (permalink)
Member
 
JokaLo's Avatar
 
Join Date: Jan 2011
Posts: 245
 
Device(s):
Carrier: Not Provided

Thanks: 11
Thanked 24 Times in 10 Posts
Default

This just made me smile profusely and then smile once more when I noticed nobody seen me in nerd mode. HELL YEA
amzer81 and buzzcon like this.
JokaLo is offline  
Reply With Quote
Old June 6th, 2012, 07:57 AM   #12 (permalink)
ROM Developer
 
g60madman's Avatar
 
Join Date: Oct 2011
Location: New Mexico, USA
Gender: Male
Posts: 1,816
 
Device(s): I have worked on: Galaxy Nexus, HTC Evo V 4g, Motorola Triumph, Samsung S3, S4 and Victory
Carrier: Verizon

Thanks: 844
Thanked 2,814 Times in 772 Posts
Default

Funny enough I woke up this AM and had the same thing in my email

You have just been sent a personal message by tj_style on Andro-ID Forum - Indonesian Android Community.

IMPORTANT: Remember, this is just a notification. Please do not reply to this email.

The message they sent you was:

Here you go: https://github.com/tjstyle/hardware_qcom_camera

Going to build it here in a sec to see if it actually works. I will report back.

edit:
Looks like Mantera maybe updating some stuff on the repo as it failed to build

Code:
target Java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/classes)
packages/apps/Phone/src/com/android/phone/CallNotifier.java:1342: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
        boolean notifOption = Settings.System.getInt(mApplication.getPhone().getContext().getContentResolver(), Settings.System.ENABLE_MWI_NOTIFICATION, 0) == 1;
                                                                                                                               ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:439: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
                    Settings.System.ENABLE_MWI_NOTIFICATION, mwi_notification);
                                   ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:485: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
                    Settings.System.ENABLE_MWI_NOTIFICATION, mwi_notification);
                                   ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:1573: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
            int mwi_notification = Settings.System.getInt(getContentResolver(), Settings.System.ENABLE_MWI_NOTIFICATION, 0);
                                                                                               ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: *** [out/target/common/obj/APPS/Phone_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/providers/TelephonyProvider/src/com/android/providers/telephony/SmsProvider.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
DroidDoc took 22 sec. to write docs to out/target/common/docs/api-stubs
makosinski likes this.
g60madman is offline  
Last edited by g60madman; June 6th, 2012 at 08:42 AM.
Reply With Quote
The Following 2 Users Say Thank You to g60madman For This Useful Post:
guiitardude (June 6th, 2012), makosinski (June 6th, 2012)
Old June 6th, 2012, 09:59 AM   #13 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

My repo built successfully. I'm about to test it after I have it ssh'd over.

EDIT: Well sure enough, my build did the same thing it usually does and doesn't build camera.msm7x30.so. I'm going to have to find out why.
rukin5197 is offline  
Last edited by rukin5197; June 6th, 2012 at 10:12 AM.
Reply With Quote
Old June 6th, 2012, 10:06 AM   #14 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

Quote:
Originally Posted by g60madman View Post
edit:
Looks like Mantera maybe updating some stuff on the repo as it failed to build

Code:
target Java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/classes)
packages/apps/Phone/src/com/android/phone/CallNotifier.java:1342: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
        boolean notifOption = Settings.System.getInt(mApplication.getPhone().getContext().getContentResolver(), Settings.System.ENABLE_MWI_NOTIFICATION, 0) == 1;
                                                                                                                               ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:439: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
                    Settings.System.ENABLE_MWI_NOTIFICATION, mwi_notification);
                                   ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:485: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
                    Settings.System.ENABLE_MWI_NOTIFICATION, mwi_notification);
                                   ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:1573: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
            int mwi_notification = Settings.System.getInt(getContentResolver(), Settings.System.ENABLE_MWI_NOTIFICATION, 0);
                                                                                               ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: *** [out/target/common/obj/APPS/Phone_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/providers/TelephonyProvider/src/com/android/providers/telephony/SmsProvider.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
DroidDoc took 22 sec. to write docs to out/target/common/docs/api-stubs
Hmm.. that's really weird seeing how mantera hasn't even messed with the packages_apps_phone repo. I would try repo syncing as it maybe a problem on CMs side.
rukin5197 is offline  
Reply With Quote
Old June 6th, 2012, 10:18 AM   #15 (permalink)
ROM Developer
 
g60madman's Avatar
 
Join Date: Oct 2011
Location: New Mexico, USA
Gender: Male
Posts: 1,816
 
Device(s): I have worked on: Galaxy Nexus, HTC Evo V 4g, Motorola Triumph, Samsung S3, S4 and Victory
Carrier: Verizon

Thanks: 844
Thanked 2,814 Times in 772 Posts
Default

Quote:
Originally Posted by gannon5197 View Post
Hmm.. that's really weird seeing how mantera hasn't even messed with the packages_apps_phone repo. I would try repo syncing as it maybe a problem on CMs side.
Yeah I always delete everything in the directory and do a fresh repo sync each time.
g60madman is offline  
Reply With Quote
Old June 6th, 2012, 10:25 AM   #16 (permalink)
Senior Member
 
Join Date: May 2011
Posts: 1,319
 
Device(s):
Carrier: Not Provided

Thanks: 59
Thanked 1,586 Times in 442 Posts
Default

Quote:
Originally Posted by g60madman View Post
Funny enough I woke up this AM and had the same thing in my email

You have just been sent a personal message by tj_style on Andro-ID Forum - Indonesian Android Community.

IMPORTANT: Remember, this is just a notification. Please do not reply to this email.

The message they sent you was:

Here you go: https://github.com/tjstyle/hardware_qcom_camera

Going to build it here in a sec to see if it actually works. I will report back.

edit:
Looks like Mantera maybe updating some stuff on the repo as it failed to build

Code:
target Java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/classes)
packages/apps/Phone/src/com/android/phone/CallNotifier.java:1342: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
        boolean notifOption = Settings.System.getInt(mApplication.getPhone().getContext().getContentResolver(), Settings.System.ENABLE_MWI_NOTIFICATION, 0) == 1;
                                                                                                                               ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:439: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
                    Settings.System.ENABLE_MWI_NOTIFICATION, mwi_notification);
                                   ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:485: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
                    Settings.System.ENABLE_MWI_NOTIFICATION, mwi_notification);
                                   ^
packages/apps/Phone/src/com/android/phone/CallFeaturesSetting.java:1573: cannot find symbol
symbol  : variable ENABLE_MWI_NOTIFICATION
location: class android.provider.Settings.System
            int mwi_notification = Settings.System.getInt(getContentResolver(), Settings.System.ENABLE_MWI_NOTIFICATION, 0);
                                                                                               ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: *** [out/target/common/obj/APPS/Phone_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/providers/TelephonyProvider/src/com/android/providers/telephony/SmsProvider.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
DroidDoc took 22 sec. to write docs to out/target/common/docs/api-stubs
Yeah, I definitely haven't changed anything in phone.apk. If you just did a repo sync and it's doing that, it's possible that upstream CM pushed changes to framework/base or packages/apps/settings that is not reflected in my github yet though. You may need to manually sync to cm upstream in those repos.

Also, if there are no kernel edits needed, then possibly my newest kernel v1.2.2 in 0.6.15.0/1 may work with no further changes. In that kernel, I updated the camera headers and files to the ics chocolate 3.0.x versions so all of the variables defined in tj_style's changes looks like they should be referenced correctly in the latest kernel version.

I'll try a build tonight when I get home from work.
calitrippin likes this.
mantera is offline  
Reply With Quote
The Following 2 Users Say Thank You to mantera For This Useful Post:
calitrippin (June 6th, 2012), guiitardude (June 6th, 2012)
Old June 6th, 2012, 10:27 AM   #17 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

Quote:
Originally Posted by mantera View Post
Yeah, I definitely haven't changed anything in phone.apk. If you just did a repo sync and it's doing that, it's possible that upstream CM pushed changes to framework/base or packages/apps/settings that is not reflected in my github yet though. You may need to manually sync to cm upstream in those repos.

Also, if there are no kernel edits needed, then possibly my newest kernel v1.2.2 in 0.6.15.0/1 may work with no further changes. In that kernel, I updated the camera headers and files to the ics chocolate 3.0.x versions so all of the variables defined in tj_style's changes looks like they should be referenced correctly in the latest kernel version.

I'll try a build tonight when I get home from work.
Hey mantera, any reason why my setup isn't building camera.msm7x30.so? I've got it defined to build it in my device_triumph.mk?
rukin5197 is offline  
Reply With Quote
Old June 6th, 2012, 10:51 AM   #18 (permalink)
ROM Developer
 
g60madman's Avatar
 
Join Date: Oct 2011
Location: New Mexico, USA
Gender: Male
Posts: 1,816
 
Device(s): I have worked on: Galaxy Nexus, HTC Evo V 4g, Motorola Triumph, Samsung S3, S4 and Victory
Carrier: Verizon

Thanks: 844
Thanked 2,814 Times in 772 Posts
Default

Quote:
Originally Posted by mantera View Post
Yeah, I definitely haven't changed anything in phone.apk. If you just did a repo sync and it's doing that, it's possible that upstream CM pushed changes to framework/base or packages/apps/settings that is not reflected in my github yet though. You may need to manually sync to cm upstream in those repos.

Also, if there are no kernel edits needed, then possibly my newest kernel v1.2.2 in 0.6.15.0/1 may work with no further changes. In that kernel, I updated the camera headers and files to the ics chocolate 3.0.x versions so all of the variables defined in tj_style's changes looks like they should be referenced correctly in the latest kernel version.

I'll try a build tonight when I get home from work.
I am sure that's all it is. I have remote access from work to home so I just merged the upstream with frameworks/base

44 files changed. 1044 insertions(+), 235 deletions(-)

Going to build again and see what happens.
Izzard likes this.
g60madman is offline  
Reply With Quote
Old June 6th, 2012, 12:10 PM   #19 (permalink)
ROM Developer
 
g60madman's Avatar
 
Join Date: Oct 2011
Location: New Mexico, USA
Gender: Male
Posts: 1,816
 
Device(s): I have worked on: Galaxy Nexus, HTC Evo V 4g, Motorola Triumph, Samsung S3, S4 and Victory
Carrier: Verizon

Thanks: 844
Thanked 2,814 Times in 772 Posts
Default

Just like a visa commercial

Get excited and download new Camera code
repo sync with Cyanogenmod (4 minutes)
Merge android_frameworks_base with Cyanogenmod (2 minutes)
Build source code with updated Camera HAL (43 minutes)
upload zip to a remote site (7 minutes)
Download .zip, then wipe and install (10 minutes)

Reboot and stay stuck on Cyanogen splash screen....(7 minutes with two reboot tries)

PRICELESS!!!

Ah the life of a developer since I don't have ADB local with me I can't look at the issue, but my guess is the new Camera code is not playing nice with our device. Time to reload phone and get everything set back up :P
g60madman is offline  
Reply With Quote
The Following User Says Thank You to g60madman For This Useful Post:
guiitardude (June 6th, 2012)
Old June 6th, 2012, 12:20 PM   #20 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

Quote:
Originally Posted by g60madman View Post
Just like a visa commercial

Get excited and download new Camera code
repo sync with Cyanogenmod (4 minutes)
Merge android_frameworks_base with Cyanogenmod (2 minutes)
Build source code with updated Camera HAL (43 minutes)
upload zip to a remote site (7 minutes)
Download .zip, then wipe and install (10 minutes)

Reboot and stay stuck on Cyanogen splash screen....(7 minutes with two reboot tries)

PRICELESS!!!

Ah the life of a developer since I don't have ADB local with me I can't look at the issue, but my guess is the new Camera code is not playing nice with our device. Time to reload phone and get everything set back up :P
Yeah when I pulled in dzo's camera code it gave me a bootloop. Well, kinda. I got to where it said "starting applications" and it just stayed there. Was giving me error codes on camera. Looks like we'll need to edit these to our liking.
rukin5197 is offline  
Reply With Quote
sponsored links
Old June 6th, 2012, 12:29 PM   #21 (permalink)
ROM Developer
 
g60madman's Avatar
 
Join Date: Oct 2011
Location: New Mexico, USA
Gender: Male
Posts: 1,816
 
Device(s): I have worked on: Galaxy Nexus, HTC Evo V 4g, Motorola Triumph, Samsung S3, S4 and Victory
Carrier: Verizon

Thanks: 844
Thanked 2,814 Times in 772 Posts
Default

Quote:
Originally Posted by gannon5197 View Post
Yeah when I pulled in dzo's camera code it gave me a bootloop. Well, kinda. I got to where it said "starting applications" and it just stayed there. Was giving me error codes on camera. Looks like we'll need to edit these to our liking.
Yeah I wonder if it's still not something to do with kernel. I wonder if we used tj's kernel if it wouldn't work.
g60madman is offline  
Reply With Quote
Old June 6th, 2012, 12:54 PM   #22 (permalink)
Member
 
Join Date: May 2012
Posts: 153
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 7 Times in 6 Posts
Default

This may be the wrong place to ask...but I read that ice cream had the face recognition to unlock. Does that work on our phones with these roms? Do these roms have all the features they a phone that comes with ice cream has? Minus the hdmi and stuff...but who needs that?
corance is offline  
Reply With Quote
Old June 6th, 2012, 01:03 PM   #23 (permalink)
Member
 
Join Date: Mar 2012
Location: Philadelphia Pa.
Posts: 131
 
Device(s): Motorola Atrix HD, Motorola Triumph(MTDEV-CM7/Thunderprop), Intercept (CM7), Motorola Xoom (Rooted)
Carrier: Not Provided

Thanks: 9
Thanked 21 Times in 19 Posts
Default

Quote:
Originally Posted by corance View Post
This may be the wrong place to ask...but I read that ice cream had the face recognition to unlock. Does that work on our phones with these roms? Do these roms have all the features they a phone that comes with ice cream has? Minus the hdmi and stuff...but who needs that?
to be honest features is least of their worries, they're trying to get the camera up and running first. you can download face recognition app if you really want it i used it on cm7. none of them are truly accurate.
buzzcon likes this.
marcusi23 is offline  
Reply With Quote
Old June 6th, 2012, 01:43 PM   #24 (permalink)
Member
 
Join Date: May 2012
Posts: 153
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 7 Times in 6 Posts
Default

I'm saying does an ics ROM do everything stock ics does? All the features...the camera is a feature of the phone. It's not an ics feature.
corance is offline  
Reply With Quote
Old June 6th, 2012, 02:06 PM   #25 (permalink)
Senior Member
 
Join Date: May 2011
Posts: 1,319
 
Device(s):
Carrier: Not Provided

Thanks: 59
Thanked 1,586 Times in 442 Posts
Default

Quote:
Originally Posted by corance View Post
I'm saying does an ics ROM do everything stock ics does? All the features...the camera is a feature of the phone. It's not an ics feature.
If the cameras worked (specifically the front camera), then the face unlock should work. I've seen it in the code. However, whether or not that will work without tweaking, we don't know yet until the cameras works and it can be tested.
mantera is offline  
Reply With Quote
Old June 6th, 2012, 02:06 PM   #26 (permalink)
Junior Member
 
Join Date: Oct 2011
Posts: 41
 
Device(s):
Carrier: Not Provided

Thanks: 3
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by corance View Post
I'm saying does an ics ROM do everything stock ics does? All the features...the camera is a feature of the phone. It's not an ics feature.
Of course they do everything stock ICS does, except the bugged stuff.

So once they get the camera working it's possible the built-in face-unlock feature will work.
StudioZio is offline  
Reply With Quote
Old June 6th, 2012, 02:35 PM   #27 (permalink)
Senior Member
 
Join Date: May 2011
Posts: 1,319
 
Device(s):
Carrier: Not Provided

Thanks: 59
Thanked 1,586 Times in 442 Posts
Default

Quote:
Originally Posted by gannon5197 View Post
Hey mantera, any reason why my setup isn't building camera.msm7x30.so? I've got it defined to build it in my device_triumph.mk?
If you have it set in device_triumph.mk to build, then the only other reason that I can think of offhand is if you don't have it set to build in one of the Android.mk files in the actual repo. Perhaps you don't have a condition set properly to build in the Android.mk file.
mantera is offline  
Reply With Quote
Old June 8th, 2012, 01:10 PM   #28 (permalink)
Junior Member
 
garrmack's Avatar
 
Join Date: Dec 2011
Posts: 66
 
Device(s): Moto Triumph TG Reloaded 03-01 WhyKernel 02-02
Carrier: Not Provided

Thanks: 8
Thanked 14 Times in 9 Posts
Default

So did tjstyle's code help?
garrmack is offline  
Reply With Quote
The Following 3 Users Say Thank You to garrmack For This Useful Post:
guiitardude (June 9th, 2012), keisukehonda (June 8th, 2012), PatrickD88 (June 8th, 2012)
Old June 8th, 2012, 02:02 PM   #29 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

Quote:
Originally Posted by garrmack View Post
So did tjstyle's code help?
Looks like it's going to need some edits for our devices, but until we can get it to boot there's no telling for sure.
guiitardude likes this.
rukin5197 is offline  
Reply With Quote
The Following 3 Users Say Thank You to rukin5197 For This Useful Post:
clintkev251 (June 8th, 2012), guiitardude (June 8th, 2012), keisukehonda (June 8th, 2012)
Old June 9th, 2012, 05:16 PM   #30 (permalink)
Junior Member
 
Join Date: Jul 2011
Posts: 16
 
Device(s): CSL MI410
Carrier: Not Provided

Thanks: 5
Thanked 6 Times in 2 Posts
Default

Guys... TJ_style use 2.6.35.x kernel for ICS with this camera on our fb0 device while i read you guys using 2.6.32.x on your triumph, is that could be the problem?
cacingkalung is offline  
Reply With Quote
sponsored links
Old June 9th, 2012, 05:24 PM   #31 (permalink)
Senior Member
 
Join Date: May 2011
Posts: 1,319
 
Device(s):
Carrier: Not Provided

Thanks: 59
Thanked 1,586 Times in 442 Posts
Default

Quote:
Originally Posted by cacingkalung View Post
Guys... TJ_style use 2.6.35.x kernel for ICS with this camera on our fb0 device while i read you guys using 2.6.32.x on your triumph, is that could be the problem?
No. Our camera is slightly different than the FB0 devices. And I also tried with the 2.6.35.7 kernel and it still doesn't boot up.
mantera is offline  
Reply With Quote
Old June 9th, 2012, 06:13 PM   #32 (permalink)
Junior Member
 
Join Date: Jul 2011
Posts: 16
 
Device(s): CSL MI410
Carrier: Not Provided

Thanks: 5
Thanked 6 Times in 2 Posts
Default

Quote:
Originally Posted by mantera View Post
No. Our camera is slightly different than the FB0 devices. And I also tried with the 2.6.35.7 kernel and it still doesn't boot up.
owh... months ago our roms are just very similar just different by RIL and very easy to port vice versa, and then different by touchscreen and has to changed kernel when porting, and now by camera .
cacingkalung is offline  
Reply With Quote
Old June 12th, 2012, 02:30 AM   #33 (permalink)
Senior Member
 
rukin5197's Avatar
 
Join Date: Sep 2011
Location: Kentucky
Posts: 623
 
Device(s): OV- MIUIgb with Suave HD theme, MT- AOKP with my own theme
Carrier: Not Provided

Thanks: 102
Thanked 508 Times in 186 Posts
gannon050197@gmail.com
Default

Don't know if you guys already have, but I've gotten the new camera libs to boot on the Triumph with little modification to tjstyle's code. Camera is still borked, but I'm trying to figure out why it's still not building the camera.msm7x30.so
rukin5197 is offline  
Reply With Quote
The Following 3 Users Say Thank You to rukin5197 For This Useful Post:
AtticTRON (June 12th, 2012), guiitardude (June 12th, 2012), PieFromTheSky (June 12th, 2012)
Old June 12th, 2012, 10:32 PM   #34 (permalink)
Senior Member
 
Join Date: May 2011
Posts: 1,319
 
Device(s):
Carrier: Not Provided

Thanks: 59
Thanked 1,586 Times in 442 Posts
Default

Quote:
Originally Posted by gannon5197 View Post
Don't know if you guys already have, but I've gotten the new camera libs to boot on the Triumph with little modification to tjstyle's code. Camera is still borked, but I'm trying to figure out why it's still not building the camera.msm7x30.so
What new camera libs? Also, it's the camera.msm7x30.so that is causing the boot loops. So if you're not building it, then you won't boot loop.

Also, if you haven't made this change or something similar, then it won't build:

https://github.com/mantera/hardware_qcom_camera/commit/ad4bd01035ceda5015ea968b20f85f38ea240ecd
mantera is offline  
Reply With Quote
The Following 2 Users Say Thank You to mantera For This Useful Post:
guiitardude (June 13th, 2012), markzombie82 (June 12th, 2012)
Old June 12th, 2012, 11:34 PM   #35 (permalink)
Member
 
markzombie82's Avatar
 
Join Date: Feb 2012
Posts: 350
 
Device(s):
Carrier: Not Provided

Thanks: 106
Thanked 28 Times in 25 Posts
Default

Quote:
Originally Posted by mantera View Post
What new camera libs? Also, it's the camera.msm7x30.so that is causing the boot loops. So if you're not building it, then you won't boot loop.

Also, if you haven't made this change or something similar, then it won't build:

https://github.com/mantera/hardware_qcom_camera/commit/ad4bd01035ceda5015ea968b20f85f38ea240ecd
Thanks for still being around
markzombie82 is offline  
Reply With Quote
The Following User Says Thank You to markzombie82 For This Useful Post:
guiitardude (June 13th, 2012)
Old June 15th, 2012, 05:43 AM   #36 (permalink)
Junior Member
 
Join Date: May 2012
Location: Baltimore
Posts: 87
 
Device(s): HTC EVO V, Motorola Triumph (Mp3 Player but willing to sell for 135)
Carrier: Not Provided

Thanks: 4
Thanked 2 Times in 2 Posts
Default

So does this mean ICS camera coming soon? and i wouldn't mind testing things out before you release the camera out into the wild especially if it can speed things up
KyngTech is offline  
Reply With Quote
The Following User Says Thank You to KyngTech For This Useful Post:
guiitardude (June 15th, 2012)
Old June 15th, 2012, 01:33 PM   #37 (permalink)
Senior Member
 
Tokens210's Avatar
 
Join Date: Apr 2012
Location: Clifton Heights, PA (Just Outside Philadelphia)
Gender: Male
Posts: 847
 
Device(s): Moto Triumph MTDEV-CM7-20130303(Retired), Samsung Galaxy S3 Running CM11-20140812
Carrier: Virgin Mobile

Thanks: 104
Thanked 181 Times in 157 Posts
Default

Quote:
Originally Posted by KyngTech View Post
So does this mean ICS camera coming soon? and i wouldn't mind testing things out before you release the camera out into the wild especially if it can speed things up

if mantera, gannon and g60 continue trying i would give it a maybe, but just to be sure i also wouldnt raise hopes to high, just in case lol

as far as ive been able to tell, recently like the beginning of this thread, some new camera info came down from tj, who from what ive read so far has been able to get our devices camera to atleast turn on, on an ICS rom

so first the devs here were going thru trying to find what changes if any he had that they didnt that were causing their cameras to not function

i believe, altho im not 100%, that they have made it passed that portion and are now attempting to test the changes they have made, except from what ive been reading, the camera is now giving issues while its building which is causing it to not work again
KyngTech likes this.
Tokens210 is offline  
Reply With Quote
Old June 15th, 2012, 01:35 PM   #38 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 19 Times in 8 Posts
Default

Quote:
Originally Posted by KyngTech View Post
So does this mean ICS camera coming soon? and i wouldn't mind testing things out before you release the camera out into the wild especially if it can speed things up

My understanding of the issue, and I'm very new to development, so please correct me if I'm wrong, is that we are having trouble implementing the new code from tjstyle to our device. This trouble is that their device uses a proprietary library camera.fb0.so while our uses camera.msm7x30.so(not sure why we use a different one, I'm still learning) These libraries are closed, meaning we can't see the code or modify it. Basically we have to poke it with a stick and see what falls out and try to reverse engineer the program calls. Then we can modify tjstyle's code with the correct calls and test from there. Right now the device won't boot with the camera code, so it is hard to troubleshoot the issue. I did find another device that uses camera.msm7x30.so, and they only have very limited camera function.

I'm sure all the devs would love to have testers, but right now there is nothing to test. We don't have a working rom with any camera support.
rivs is offline  
Last edited by rivs; June 15th, 2012 at 01:36 PM. Reason: spelling
Reply With Quote
The Following User Says Thank You to rivs For This Useful Post:
guiitardude (June 15th, 2012)
Old June 16th, 2012, 11:29 AM   #39 (permalink)
Junior Member
 
Join Date: May 2012
Location: Baltimore
Posts: 87
 
Device(s): HTC EVO V, Motorola Triumph (Mp3 Player but willing to sell for 135)
Carrier: Not Provided

Thanks: 4
Thanked 2 Times in 2 Posts
Cool

Quote:
Originally Posted by rivs View Post
My understanding of the issue, and I'm very new to development, so please correct me if I'm wrong, is that we are having trouble implementing the new code from tjstyle to our device. This trouble is that their device uses a proprietary library camera.fb0.so while our uses camera.msm7x30.so(not sure why we use a different one, I'm still learning) These libraries are closed, meaning we can't see the code or modify it. Basically we have to poke it with a stick and see what falls out and try to reverse engineer the program calls. Then we can modify tjstyle's code with the correct calls and test from there. Right now the device won't boot with the camera code, so it is hard to troubleshoot the issue. I did find another device that uses camera.msm7x30.so, and they only have very limited camera function.

I'm sure all the devs would love to have testers, but right now there is nothing to test. We don't have a working rom with any camera support.
Hmm ok so if what you said is correct couldn't we like find some type of way to get that section that's keeping the camera from working look at a library that has camera.msm7x30 or something similar and try to reproduce that proprietary library but with the needs of the Triumph then tweak it so the original proprietary library camera.fb0 that tj gave us can work with the tweaks that we put in there for our Triumph thus turning it into our own needs of the proprietary library camera.msm7x30 ...
KyngTech is offline  
Last edited by KyngTech; June 16th, 2012 at 11:33 AM.
Reply With Quote
The Following User Says Thank You to KyngTech For This Useful Post:
guiitardude (June 16th, 2012)
Old June 16th, 2012, 11:51 AM   #40 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 19 Times in 8 Posts
Default

Quote:
Originally Posted by KyngTech View Post
Hmm ok so if what you said is correct couldn't we like find some type of way to get that section that's keeping the camera from working look at a library that has camera.msm7x30 or something similar and try to reproduce that proprietary library but with the needs of the Triumph then tweak it so the original proprietary library camera.fb0 that tj gave us can work with the tweaks that we put in there for our Triumph thus turning it into our own needs of the proprietary library camera.msm7x30 ...
Kinda, we can't modify anything in the camera.msm7x30 file. I can't even open it to see what calls it supports. I've been working on getting the camera working over the last few days. I've had to teach myself everything(with some help from g60), so it was a slow start. I now have a better understanding of the issue. The camera.msm7x30 is the driver. We are asking it things like how many cameras it has, right now it's not returning a number. I am trying to get that to work(so we can move to the next step) and one possible fix it to manually tell it there are 2 cameras. But that may cause other issues. I don't believe the fb0 file works at all on our device.(I could be wrong, and I might try that down the road). I did find a typo in tj's code, but after correcting it, it still won't boot.

This will be a slow process as every change and update requires a complete rebuild of the code, that even with a fast computer(4Ghz quadcore with 12GB ram) takes over an hour! So I make a change, try it, log the results, compare, make a new change, wait for rebuild, and repeat. So I can only get 3-4 updates a day I'm sure I will eventually get the camera working, it will just take some time
rivs is offline  
Reply With Quote
The Following 2 Users Say Thank You to rivs For This Useful Post:
keisukehonda (June 16th, 2012), TrueJournals (June 16th, 2012)
sponsored links
Old June 16th, 2012, 12:17 PM   #41 (permalink)
Junior Member
 
Join Date: May 2012
Location: Baltimore
Posts: 87
 
Device(s): HTC EVO V, Motorola Triumph (Mp3 Player but willing to sell for 135)
Carrier: Not Provided

Thanks: 4
Thanked 2 Times in 2 Posts
Default

O.ok i see, the more Intel you have on it the better job you can do at the task, But i wish i could help more with this task but being that i don't know anything at all about this i might not be that much help. And i don't think it works on our phone either. Seeing as though if we flash a FB0 nandroid it could give you a boot loop or possible brick. That's why i was thinking that if we can modify the fb0 file and turn it into the file we need (msm) their is possibly more hope than what we had from the beginning. Ya know?
KyngTech is offline  
Reply With Quote
Old June 16th, 2012, 12:35 PM   #42 (permalink)
ROM Developer
 
BSydz's Avatar
 
Join Date: Mar 2012
Location: The Mitten
Posts: 951
 
Device(s): Motorola Triumph Sharpened, Samsung Intercept
Carrier: Not Provided

Thanks: 863
Thanked 939 Times in 365 Posts
Default

Quote:
Originally Posted by rivs View Post
Kinda, we can't modify anything in the camera.msm7x30 file. I can't even open it to see what calls it supports. I've been working on getting the camera working over the last few days. I've had to teach myself everything(with some help from g60), so it was a slow start. I now have a better understanding of the issue. The camera.msm7x30 is the driver. We are asking it things like how many cameras it has, right now it's not returning a number. I am trying to get that to work(so we can move to the next step) and one possible fix it to manually tell it there are 2 cameras. But that may cause other issues. I don't believe the fb0 file works at all on our device.(I could be wrong, and I might try that down the road). I did find a typo in tj's code, but after correcting it, it still won't boot.

This will be a slow process as every change and update requires a complete rebuild of the code, that even with a fast computer(4Ghz quadcore with 12GB ram) takes over an hour! So I make a change, try it, log the results, compare, make a new change, wait for rebuild, and repeat. So I can only get 3-4 updates a day I'm sure I will eventually get the camera working, it will just take some time
You can use EditPlus 3 or Beyond Compare 3 to see what is in the .so files. Which just gave me an idea for the Sharp ROM.

EDIT: you may need to install plugins for Beyond Compare.
__________________
"If somethings in your way, you gotta move it or use it." - Me

If you would like to thank me, beyond just saying thanks, you can donate to my coffee fund to keep my eyes open.
Donate
BSydz is offline  
Last edited by BSydz; June 16th, 2012 at 12:38 PM.
Reply With Quote
The Following User Says Thank You to BSydz For This Useful Post:
rivs (June 16th, 2012)
Old June 16th, 2012, 12:39 PM   #43 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 19 Times in 8 Posts
Default

Quote:
Originally Posted by KyngTech View Post
O.ok i see, the more Intel you have on it the better job you can do at the task, But i wish i could help more with this task but being that i don't know anything at all about this i might not be that much help. And i don't think it works on our phone either. Seeing as though if we flash a FB0 nandroid it could give you a boot loop or possible brick. That's why i was thinking that if we can modify the fb0 file and turn it into the file we need (msm) their is possibly more hope than what we had from the beginning. Ya know?
I hear ya. I wish it was that easy! I only stepped up to becoming a dev because I saw all the devs leaving and I wanted ICS with a working camera. And with no one working on it, it was going to be up to me to get it done. I already know java and C++ and I know how to use linux so it wasn't a big deal to make a move. I just didn't realize how much of a pain it is to wait for a rebuild of the code. It's light waiting at a red light when you are running late for work!
rivs is offline  
Reply With Quote
The Following User Says Thank You to rivs For This Useful Post:
TheDarkside13 (June 16th, 2012)
Old June 16th, 2012, 12:41 PM   #44 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 19 Times in 8 Posts
Default

Quote:
Originally Posted by BSydz View Post
You can use EditPlus 3 or Beyond Compare 3 to see what is in the .so files. Which just gave me an idea for the Sharp ROM.

EDIT: you may need to install plugins for Beyond Compare.
Thanks man! This should help if I can compare the fb0 file to ours and see the difference.
rivs is offline  
Reply With Quote
Old June 16th, 2012, 12:49 PM   #45 (permalink)
ROM Developer
 
BSydz's Avatar
 
Join Date: Mar 2012
Location: The Mitten
Posts: 951
 
Device(s): Motorola Triumph Sharpened, Samsung Intercept
Carrier: Not Provided

Thanks: 863
Thanked 939 Times in 365 Posts
Default

Quote:
Originally Posted by rivs View Post
Thanks man! This should help if I can compare the fb0 file to ours and see the difference.
Also, If I were you I would look into the Xperia play ICS beta source, as the phones are built on the same platform.
BSydz is offline  
Reply With Quote
Old June 16th, 2012, 01:06 PM   #46 (permalink)
Senior Member
 
Tokens210's Avatar
 
Join Date: Apr 2012
Location: Clifton Heights, PA (Just Outside Philadelphia)
Gender: Male
Posts: 847
 
Device(s): Moto Triumph MTDEV-CM7-20130303(Retired), Samsung Galaxy S3 Running CM11-20140812
Carrier: Virgin Mobile

Thanks: 104
Thanked 181 Times in 157 Posts
Default

Quote:
Originally Posted by rivs View Post
I hear ya. I wish it was that easy! I only stepped up to becoming a dev because I saw all the devs leaving and I wanted ICS with a working camera. And with no one working on it, it was going to be up to me to get it done. I already know java and C++ and I know how to use linux so it wasn't a big deal to make a move. I just didn't realize how much of a pain it is to wait for a rebuild of the code. It's light waiting at a red light when you are running late for work!

not trying to take this thread off topic or turn you away from working on it, i like that someones working on it , but your above quote is why alot of the devs said they didnt like working on the CM projects, cause after all the work they do to make all the fixes, then the rom runs beautifully, then when the CM master source gets and update and they pull it down it breaks all the fixes they had created so they'd have to either reenter ones that still worked, or completely start over with ones that didnt
Tokens210 is offline  
Reply With Quote
Old June 16th, 2012, 01:22 PM   #47 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 25
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 19 Times in 8 Posts
Default

Quote:
Originally Posted by Tokens210 View Post
not trying to take this thread off topic or turn you away from working on it, i like that someones working on it , but your above quote is why alot of the devs said they didnt like working on the CM projects, cause after all the work they do to make all the fixes, then the rom runs beautifully, then when the CM master source gets and update and they pull it down it breaks all the fixes they had created so they'd have to either reenter ones that still worked, or completely start over with ones that didnt

I totally understand. As a web developer I have build many websites based on Drupal or WP. At first i just hacked them together to make it look right and function the way I wanted. Then an update would come out and I would have to redo the whole thing completely.

The work I'm doing on the camera is low level. I'm just trying to get it to open and load. I'm sure there will be other issues in the camera app that will need correcting. It's those edits that could be undone with an update. However, if you write your code using the supported calls, and make wrappers or bridges for edits that can't conform. It should reduce the possibility for undoing your fixes.

This takes a lot of work, and most have decided it wasn't worth the effort. We just want it to work. I may come to the same conclusion, but I have yet to have the frustration of my fixes being undo, so for now I am staying positive
rivs is offline  
Reply With Quote
The Following User Says Thank You to rivs For This Useful Post:
Volkrik (July 15th, 2012)
Old June 16th, 2012, 01:27 PM   #48 (permalink)
Senior Member
 
Tokens210's Avatar
 
Join Date: Apr 2012
Location: Clifton Heights, PA (Just Outside Philadelphia)
Gender: Male
Posts: 847
 
Device(s): Moto Triumph MTDEV-CM7-20130303(Retired), Samsung Galaxy S3 Running CM11-20140812
Carrier: Virgin Mobile

Thanks: 104
Thanked 181 Times in 157 Posts
Default

Quote:
Originally Posted by rivs View Post
I totally understand. As a web developer I have build many websites based on Drupal or WP. At first i just hacked them together to make it look right and function the way I wanted. Then an update would come out and I would have to redo the whole thing completely.

The work I'm doing on the camera is low level. I'm just trying to get it to open and load. I'm sure there will be other issues in the camera app that will need correcting. It's those edits that could be undone with an update. However, if you write your code using the supported calls, and make wrappers or bridges for edits that can't conform. It should reduce the possibility for undoing your fixes.

This takes a lot of work, and most have decided it wasn't worth the effort. We just want it to work. I may come to the same conclusion, but I have yet to have the frustration of my fixes being undo, so for now I am staying positive

oh i want you to stay positive lol, i was like i said in no way trying to turn you away or anything, ive just seen devs say it and i understand a lil about coding so i know it lol

was just putting it out there lol, but again as i said i like that people here are atleast trying to figure things out, and continue the projects
Tokens210 is offline  
Reply With Quote
Old June 16th, 2012, 06:10 PM   #49 (permalink)
Junior Member
 
Join Date: May 2012
Location: Baltimore
Posts: 87
 
Device(s): HTC EVO V, Motorola Triumph (Mp3 Player but willing to sell for 135)
Carrier: Not Provided

Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by rivs View Post
I hear ya. I wish it was that easy! I only stepped up to becoming a dev because I saw all the devs leaving and I wanted ICS with a working camera. And with no one working on it, it was going to be up to me to get it done. I already know java and C++ and I know how to use linux so it wasn't a big deal to make a move. I just didn't realize how much of a pain it is to wait for a rebuild of the code. It's light waiting at a red light when you are running late for work!
Yea i understand what you are saying. I watched almost all the Devs leave and we may just have a few left but i'm sure they all had apprentices lol. And even though i am switching over to the EVO V or possibly going to sprint i stick my head in from time to time just to see whats happening in the MT forum just to see the progress and i may try to help from time to time ya know?
KyngTech is offline  
Reply With Quote
Old June 16th, 2012, 08:50 PM   #50 (permalink)
Junior Member
 
freakboykevin's Avatar
 
Join Date: Jan 2012
Posts: 28
 
Device(s):
Carrier: Not Provided

Thanks: 36
Thanked 4 Times in 2 Posts
Default

Quote:
Originally Posted by rivs View Post
Kinda, we can't modify anything in the camera.msm7x30 file. I can't even open it to see what calls it supports. I've been working on getting the camera working over the last few days. I've had to teach myself everything(with some help from g60), so it was a slow start. I now have a better understanding of the issue. The camera.msm7x30 is the driver. We are asking it things like how many cameras it has, right now it's not returning a number. I am trying to get that to work(so we can move to the next step) and one possible fix it to manually tell it there are 2 cameras. But that may cause other issues. I don't believe the fb0 file works at all on our device.(I could be wrong, and I might try that down the road). I did find a typo in tj's code, but after correcting it, it still won't boot.

This will be a slow process as every change and update requires a complete rebuild of the code, that even with a fast computer(4Ghz quadcore with 12GB ram) takes over an hour! So I make a change, try it, log the results, compare, make a new change, wait for rebuild, and repeat. So I can only get 3-4 updates a day I'm sure I will eventually get the camera working, it will just take some time
What computer do you have?
freakboykevin is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Motorola Triumph > Triumph - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:11 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.