Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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 PMed Tjstyle and got him to push his changes to github. WOOOOOOOOT!!! Looks like we'll get camera soon.
Actually, to quote,I'm sure there is still a lot of work to do to get camera working correctly but it is a great start :thumb:
gannon5197 said: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
tjstyle said:
gannon5197 said:Well thanks a lot! But can you please update your sources for the kernel edits you did?
tjstyle said:Any files that I've edited is there, on fb0 branch.
gannon5197 said: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
tjstyle said:if you have any bug fix or solution, please let me know on this thread:
Login

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
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.
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.
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.




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 
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.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 developersince 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
![]()
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.
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?
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.