[Theme] JetBlack-Sapphire 4.5 port needs confirmation!! - myTouch 3G, Magic Themes and Wallpapers

Let me know if this works I ported everything to the sapphire counterparts and think I was able to change the text to white in the sapphire services.jar and framework-res.apk but I dont have a sapphire so I am not sure.Just thought you guys could use some more themes so if it works let me know and I will start porting my themes.
Screenshots and info Here
Link removed need to get confirmation
Let me know if you find any problems and I will resolve them as fast as possible.
Any member of this forum may port,copy,cut anything I have made.
Thanks to Cyanogen, The Dude,Stericson,Ei8htohms,Tehseano,Moonspoon,Manup,Beags...Everyone who has been involved in making Android the sickest mobile platform available!!​
Edit: Link removed until I make sure I am not bricking phones,it has had 19 downloads and not 1 reply which makes me think it works cause people usually post when something goes wrong but I want confirmation.If you downloaded and used this please give your input good or bad thanks.
If anyone wants to pm me for the link feel free.

The update makes my magic crash during boot:
Code:
07-17 16:13:09.704: WARN/dalvikvm(121): ERROR: Unable to find decl for native Lcom/android/server/HardwareService;.init_native ()I
07-17 16:13:09.704: ERROR/JNIHelp(121): RegisterNatives failed for 'com/android/server/HardwareService'
07-17 16:13:09.724: ERROR/dalvikvm(121): Could not find method com.android.internal.app.IBatteryStats.setOnBattery, referenced from method com.android.server.BatteryService.sendIntent
07-17 16:13:09.724: WARN/dalvikvm(121): VFY: unable to resolve interface method 1103: Lcom/android/internal/app/IBatteryStats;.setOnBattery (Z)V
07-17 16:13:09.724: WARN/dalvikvm(121): VFY: rejecting opcode 0x72 at 0x0013
07-17 16:13:09.724: WARN/dalvikvm(121): VFY: rejected Lcom/android/server/BatteryService;.sendIntent ()V
07-17 16:13:09.724: WARN/dalvikvm(121): Verifier rejected class Lcom/android/server/BatteryService;
07-17 16:13:09.724: WARN/dalvikvm(121): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:09.724: WARN/dalvikvm(121): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:09.734: WARN/dalvikvm(121): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:09.734: WARN/dalvikvm(121): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:09.734: WARN/dalvikvm(121): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:09.734: WARN/dalvikvm(121): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:09.734: WARN/dalvikvm(121): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:09.734: WARN/dalvikvm(121): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:09.734: ERROR/dalvikvm(121): Class lookup Landroid/os/BatteryManager; attemped while exception Ljava/lang/VerifyError; pending
07-17 16:13:09.754: ERROR/dalvikvm(121): VM aborting
07-17 16:13:21.864: WARN/dalvikvm(129): ERROR: Unable to find decl for native Lcom/android/server/HardwareService;.init_native ()I
07-17 16:13:21.864: ERROR/JNIHelp(129): RegisterNatives failed for 'com/android/server/HardwareService'
07-17 16:13:21.884: ERROR/dalvikvm(129): Could not find method com.android.internal.app.IBatteryStats.setOnBattery, referenced from method com.android.server.BatteryService.sendIntent
07-17 16:13:21.884: WARN/dalvikvm(129): VFY: unable to resolve interface method 1103: Lcom/android/internal/app/IBatteryStats;.setOnBattery (Z)V
07-17 16:13:21.884: WARN/dalvikvm(129): VFY: rejecting opcode 0x72 at 0x0013
07-17 16:13:21.884: WARN/dalvikvm(129): VFY: rejected Lcom/android/server/BatteryService;.sendIntent ()V
07-17 16:13:21.884: WARN/dalvikvm(129): Verifier rejected class Lcom/android/server/BatteryService;
07-17 16:13:21.884: WARN/dalvikvm(129): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:21.894: WARN/dalvikvm(129): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:21.894: WARN/dalvikvm(129): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:21.894: WARN/dalvikvm(129): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:21.894: WARN/dalvikvm(129): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:21.894: WARN/dalvikvm(129): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:21.894: WARN/dalvikvm(129): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:21.894: WARN/dalvikvm(129): Exception thrown (Ljava/lang/VerifyError;) while throwing internal exception (Ljava/lang/VerifyError;)
07-17 16:13:21.894: ERROR/dalvikvm(129): Class lookup Landroid/os/BatteryManager; attemped while exception Ljava/lang/VerifyError; pending
07-17 16:13:21.914: ERROR/dalvikvm(129): VM aborting

BTW you've put framework-res.apk.zip in the archive (instead of framework-res.apk) I guess this could be the source of the problem.

CyranoB said:
BTW you've put framework-res.apk.zip in the archive (instead of framework-res.apk) I guess this could be the source of the problem.
Click to expand...
Click to collapse
That Probably was the problem very sorry about that I fixed the framework-res.apk and the link I hope this works and do not see why it wouldn't.I used the sapphire services.jar,framework-res.apk,and android.policy.jar so all should be good but again I dont have a sapphire so I am not positive,just tryin to help you guys with sapphires get more themes.

So does this work for people or no it has been downloaded a few times I would love some input to know if I should even bother with these sapphire themes.I cant and wont be able to test anything for the sapphire as I dont have one and am not getting one(sorry but the fact that it lacks a physical keyboard kills it for me.)so your input is needed to know if I should try to improve this,or remove the link and ask the mods to close the thread.

Related

[APP/PROJECT] Porting Xperia Arc Music App to SGS / Idea stage / Need skills !!

Hi all, i start a little project, trying to port xperia arc's Music Player to our SGS, i'm not a dev, just a "bidouilleur".
Apk's installation is fine, but app FC.
So, here is log of FC :
Code:
I/ActivityManager( 3260): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sonyericsson.music/.PlayerActivity }
W/WindowManager( 3260): HistoryRecord{48d2b2d8 com.sonyericsson.music/.PlayerActivity} failed creating starting window
W/WindowManager( 3260): android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
W/WindowManager( 3260): at android.view.LayoutInflater.createView(LayoutInflater.java:513)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
W/WindowManager( 3260): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:385)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2217)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2272)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1459)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:1042)
W/WindowManager( 3260): at com.android.server.WindowManagerService$H.handleMessage(WindowManagerService.java:9144)
W/WindowManager( 3260): at android.os.Handler.dispatchMessage(Handler.java:99)
W/WindowManager( 3260): at android.os.Looper.loop(Looper.java:123)
W/WindowManager( 3260): at com.android.server.WindowManagerService$WMThread.run(WindowManagerService.java:583)
W/WindowManager( 3260): Caused by: java.lang.reflect.InvocationTargetException
W/WindowManager( 3260): at android.widget.FrameLayout.<init>(FrameLayout.java:79)
W/WindowManager( 3260): at java.lang.reflect.Constructor.constructNative(Native Method)
W/WindowManager( 3260): at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
W/WindowManager( 3260): at android.view.LayoutInflater.createView(LayoutInflater.java:500)
W/WindowManager( 3260): ... 13 more
W/WindowManager( 3260): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x1010059 a=-1}
W/WindowManager( 3260): at android.content.res.Resources.loadDrawable(Resources.java:1681)
W/WindowManager( 3260): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
W/WindowManager( 3260): at android.widget.FrameLayout.<init>(FrameLayout.java:91)
W/WindowManager( 3260): ... 17 more
I/ActivityManager( 3260): Start proc com.sonyericsson.music for activity com.sonyericsson.music/.PlayerActivity: pid=10147 uid=10090 gids={3003, 1015, 3002}
I/Zygote (10147): Zygote: pid 10147 has INTERNET permission, then set capability for CAP_NET_RAW
I/ActivityThread(10147): Publishing provider com.sonyericsson.provider.youtube: com.sonyericsson.music.artistbook.youtube.YouTubePluginProvider
W/ResourceType(10147): Entry identifier 0x120 is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 254 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300fe (t=2 e=254) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xfe is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 244 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300f4 (t=2 e=244) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xf4 is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 253 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300fd (t=2 e=253) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xfd is larger than entry count 0xa3
E/dalvikvm(10147): Could not find class 'android.drm.DrmManagerClient', referenced from method com.sonyericsson.music.common.DrmUtils.<init>
W/dalvikvm(10147): VFY: unable to resolve new-instance 52 (Landroid/drm/DrmManagerClient;) in Lcom/sonyericsson/music/common/DrmUtils;
D/dalvikvm(10147): VFY: replacing opcode 0x22 at 0x0005
D/dalvikvm(10147): VFY: dead code 0x0007-0013 in Lcom/sonyericsson/music/common/DrmUtils;.<init> (Landroid/content/Context;)V
I/dalvikvm(10147): Could not find method android.drm.DrmManagerClient.unloadPlugIns, referenced from method com.sonyericsson.music.common.DrmUtils.close
W/dalvikvm(10147): VFY: unable to resolve virtual method 215: Landroid/drm/DrmManagerClient;.unloadPlugIns ()V
D/dalvikvm(10147): VFY: replacing opcode 0x6e at 0x0002
D/dalvikvm(10147): VFY: dead code 0x0005-0005 in Lcom/sonyericsson/music/common/DrmUtils;.close ()V
I[B]/dalvikvm(10147): Could not find method android.drm.DrmManagerClient.canHandle, referenced from method com.sonyericsson.music.common.DrmUtils.hasValidRights
W/dalvikvm(10147): VFY: unable to resolve virtual method 212: Landroid/drm/DrmManagerClient;.canHandle (Ljava/lang/String;Ljava/lang/String;)Z
D/dalvikvm(10147): VFY: replacing opcode 0x6e at 0x0006
D/dalvikvm(10147): VFY: dead code 0x0009-0014 in Lcom/sonyericsson/music/common/DrmUtils;.hasValidRights (Ljava/lang/String;)Z
D/AndroidRuntime(10147): Shutting down VM
W/dalvikvm(10147): threadid=1: thread exiting with uncaught exception (group=0x4001d7d0)
E/AndroidRuntime(10147): FATAL EXCEPTION: main
E/AndroidRuntime(10147): java.lang.NoClassDefFoundError: android.drm.DrmManagerClient
E/AndroidRuntime(10147): at com.sonyericsson.music.common.DrmUtils.<init>(DrmUtils.java:49)[/B]
E/AndroidRuntime(10147): at com.sonyericsson.music.PlayerActivity.onCreate(PlayerActivity.java:349)
E/AndroidRuntime(10147): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime(10147): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime(10147): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime(10147): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime(10147): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime(10147): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(10147): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(10147): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(10147): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(10147): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(10147): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(10147): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(10147): at dalvik.system.NativeStart.main(Native Method)
Seems to miss a "method" about DRMs... Any IDEAS ?
Sorry i guess i read this thread too late yet i will reply...
check values folder within that styles.xml
your app must be referencing to a theme from SEMCUxpres.apk so the error...
quite intresting....
so...any new news about this thread?
copy the drm class from sony framework into the app.
Then you still have to fix the ressource error.

[Q] Can a DEV explain dead code show me how to read logcat?

Im helping merge samsung RIL to htc RIL, can someone explain what the parts of logcat means?
D/dalvikvm( 270): VFY: replacing opcode 0x78 at 0x01e5
D/dalvikvm( 270): VFY: dead code 0x0106-0106 in Lcom/android/internal/policy/impl/PhoneWindowManager;.interceptKeyBeforeQueueing (JIIIIIZ)I
D/dalvikvm( 270): VFY: dead code 0x01d7-01db in Lcom/android/internal/policy/impl/PhoneWindowManager;.interceptKeyBeforeQueueing (JIIIIIZ)I
D/dalvikvm( 270): VFY: dead code 0x01e8-01e8 in Lcom/android/internal/policy/impl/PhoneWindowManager;.interceptKeyBeforeQueueing (JIIIIIZ)I
D/dalvikvm( 270): VFY: dead code 0x0216-021e in Lcom/android/internal/policy/impl/PhoneWindowManager;.interceptKeyBeforeQueueing (JIIIIIZ)I
I/dalvikvm( 270): Could not find method com.android.server.PowerManagerService.setVirtualKeyPolicy, referenced from method com.android.server.WindowManagerService$H.handleMessage
W/dalvikvm( 270): VFY: unable to resolve virtual method 4153: Lcom/android/server/PowerManagerService;.setVirtualKeyPolicy (Lcom/android/server/InputManager$VirtualKeyPolicyV

[Q] SGS3 Camera APK on SGS2 [WIP]

I have been trying to get the camera apk from the Samsung Galaxy s3 to work on my S2, so far i have modified my framework.jar to get past the following problems;
***FIXED PROBLEMS***
W/dalvikvm( 5364): VFY: unable to resolve virtual method 1002: Lcom/sec/android/app/IWSpeechRecognizer/BargeInRecognizer;.startBargeIn (I)V
W/dalvikvm( 5364): Link of class 'Lcom/sec/android/app/camera/Camera$VoiceRecognizer;' failed
W/dalvikvm( 5364): VFY: unable to resolve static method 6283: Lcom/sec/android/hardware/SecHardwareInterface;.setmDNIeOutDoor (Z)Z
W/dalvikvm( 5364): VFY: unable to resolve static method 6282: Lcom/sec/android/hardware/SecHardwareInterface;.setAmoledVideoGamma (Z)Z
AND a bunch of CscFeature errors.
***********
The error list is much shorter than it was before, but i have never tried this before (modding an apk) but, i have figured out all the, odex, deodex, smali, classes.dex, resigning, blah blah blah, stuff on my own (with your help XDA and Google) but now have, what seems to be one final obstacle, and i was hoping someone here could help me.
Here are the important bits of the logcat...
******EXISTING PROBLEMS*******
E/AndroidRuntime(27527): FATAL EXCEPTION: main
E/AndroidRuntime(27527): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sec.android.app.camera/com.sec.android.app.camera.Camera}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030003
E/AndroidRuntime(27527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1968)
E/AndroidRuntime(27527): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1993)
E/AndroidRuntime(27527): at android.app.ActivityThread.access$600(ActivityThread.java:127)
E/AndroidRuntime(27527): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1159)
E/AndroidRuntime(27527): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(27527): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(27527): at android.app.ActivityThread.main(ActivityThread.java:4512)
E/AndroidRuntime(27527): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(27527): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(27527): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
E/AndroidRuntime(27527): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:561)
E/AndroidRuntime(27527): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(27527): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030003
E/AndroidRuntime(27527): at android.content.res.Resources.getValue(Resources.java:1019)
E/AndroidRuntime(27527): at android.content.res.Resources.loadXmlResourceParser(Resources.java:2107)
E/AndroidRuntime(27527): at android.content.res.Resources.getLayout(Resources.java:858)
E/AndroidRuntime(27527): at android.view.LayoutInflater.inflate(LayoutInflater.java:394)
E/AndroidRuntime(27527): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime(27527): at com.sec.android.app.camera.AbstractCameraActivity.showEditableShortcutHelpTextDialog(AbstractCameraActivity.java:1906)
E/AndroidRuntime(27527): at com.sec.android.app.camera.AbstractCameraActivity.onCreate(AbstractCameraActivity.java:1028)
E/AndroidRuntime(27527): at com.sec.android.app.camera.Camera.onCreate(Camera.java:712)
E/AndroidRuntime(27527): at android.app.Activity.performCreate(Activity.java:4481)
E/AndroidRuntime(27527): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1052)
E/AndroidRuntime(27527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1932)
**********************************************************************************
2 files in the apk reference Resource ID #0x7f030003
1. AbstractCameraActivity.smali
.line 1906
.local v3, inflater:Landroid/view/LayoutInflater;
const v6, 0x7f030003
2. R$layout.smali
.field public static final editable_shortcut_helptext_dialog:I = 0x7f030003
I feel like this may help too, this is a section of AbstractCameraActivity.smali leading up to the above referenced line.
.line 1898
iget-object v6, p0, Lcom/sec/android/app/camera/AbstractCameraActivity;->mEditableShortcutHelpTextDialog:Landroid/app/AlertDialog;
if-eqz v6, :cond_6
.line 1934
:cond_5
:goto_5
return-void
.line 1901
:cond_6
const-string v6, "AbstractCameraActivity"
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
const-string v8, "create showEditableShortcutHelpTextDialog - "
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/StringLjava/lang/StringBuilder;
move-result-object v7
invoke-virtual {p0}, Lcom/sec/android/app/camera/AbstractCameraActivity;->getCameraSettings()Lcom/sec/android/app/camera/CameraSettings;
move-result-object v8
invoke-virtual {v8}, Lcom/sec/android/app/camera/CameraSettings;->getEditableShortcutHelpTextDialog()I
move-result v8
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v7
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
invoke-static {v6, v7}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/StringI
.line 1902
invoke-virtual {p0}, Lcom/sec/android/app/camera/AbstractCameraActivity;->getCameraSettings()Lcom/sec/android/app/camera/CameraSettings;
move-result-object v6
invoke-virtual {v6}, Lcom/sec/android/app/camera/CameraSettings;->getEditableShortcutHelpTextDialog()I
move-result v6
if-eq v6, v9, :cond_5
.line 1903
new-instance v1, Landroid/app/AlertDialog$Builder;
invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/ContextV
.line 1904
.local v1, dialog:Landroid/app/AlertDialog$Builder;
invoke-virtual {p0}, Lcom/sec/android/app/camera/AbstractCameraActivity;->getLayoutInflater()Landroid/view/LayoutInflater;
move-result-object v3
.line 1906
.local v3, inflater:Landroid/view/LayoutInflater;
const v6, 0x7f030003
This explains why I was stuck in boot loop. I took a much different route than you are. Yours is better. I just took the .apk and what I thought to be the lib files for the camera and moved them into their correct locations and changed the permissions accordingly. I am on a skyrocket but that shouldnt matter, same hardware. Same hardware as the SGS3 as well. Its gotta be in the framework.
Yes, you are right, i originally tried that way, and ended up with boot loops as well. Looking through the FW files, i feel that changing the framework files on our phone to work with this apk would do more harm that good, so i began ripping files out, and redirecting them, hopefully this will be working soon.
basically i began taking files out of the framework.jar, and placing them in the apk under com/sec/android/portapp.
then changing the referenced location in all .smali files from "Lcom/sec/android/app/...." to "Lcom/sec/android/portapp/...." for the files i have replaced.
However i am now getting classnotfound exceptions for com/sec/android/app/camera/camera. but we have moved past the csc, and hardware errors.
this is probably redundant information for you, but take a look at this and see if it helps to sort some of the code out or possibly gives you an idea for how you can get the hardware to find the software.
Doesn't this app do the same function?
https://play.google.com/store/apps/details?id=com.spritefish.fastburstcamera&hl=en
because it is there
LoopDoGG79 said:
Doesn't this app do the same function?
https://play.google.com/store/apps/details?id=com.spritefish.fastburstcamera&hl=en
Click to expand...
Click to collapse
In part, yes, but the burst is not the only feature i am interested in. Fast Burst Camera is a GREAT app, and definitely delivers what it promises, i actually use it myself, and have been for quite a while. It is more about getting it ported than anything else.
why hack the s3 camera? because it is there.
check this post, i have been posting here along with some other people who have been going at this apk.
http://forum.xda-developers.com/showthread.php?p=27966792#post27966792
Decepticaons said:
this is probably redundant information for you, but take a look at this and see if it helps to sort some of the code out or possibly gives you an idea for how you can get the hardware to find the software.
Click to expand...
Click to collapse
take a look at what? am i missing something?
FuzzyMeep Two said:
take a look at what? am i missing something?
Click to expand...
Click to collapse
Yup, the link that i attached but must have accidentally deleted lol. .NM tho you are far more advanced than the info i posted
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
i have also a problem if i wanna start modified samsungcamera:
PHP:
18:52:15.344 Error dalvikvm 4973 Could not find class 'com.sec.android.app.IWSpeechRecognizer.BargeInRecognizer', referenced from method com.sec.android.app.camera.Camera.onCreate
18:52:15.345 Warning dalvikvm 4973 VFY: unable to resolve new-instance 235 (Lcom/sec/android/app/IWSpeechRecognizer/BargeInRecognizer;) in Lcom/sec/android/app/camera/Camera;
18:52:15.345 Debug dalvikvm 4973 VFY: replacing opcode 0x22 at 0x0109
18:52:15.346 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.Camera.onResume
18:52:15.347 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.347 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x002d
18:52:15.348 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.Camera.playCameraSound
18:52:15.348 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.349 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x002d
18:52:15.349 Info dalvikvm 4973 Could not find method com.sec.android.app.IWSpeechRecognizer.BargeInRecognizer.startBargeIn, referenced from method com.sec.android.app.camera.Camera.startVoiceRecognizer
18:52:15.350 Warning dalvikvm 4973 VFY: unable to resolve virtual method 1022: Lcom/sec/android/app/IWSpeechRecognizer/BargeInRecognizer;.startBargeIn (I)V
18:52:15.350 Debug dalvikvm 4973 VFY: replacing opcode 0x6e at 0x000e
18:52:15.351 Debug dalvikvm 4973 DexOpt: unable to opt direct call 0x03fb at 0x10b in Lcom/sec/android/app/camera/Camera;.onCreate
18:52:15.351 Info dalvikvm 4973 Failed resolving Lcom/sec/android/app/camera/Camera$VoiceRecognizer; interface 236 'Lcom/sec/android/app/IWSpeechRecognizer/IWSpeechRecognizerListener;'
18:52:15.352 Warning dalvikvm 4973 Link of class 'Lcom/sec/android/app/camera/Camera$VoiceRecognizer;' failed
18:52:15.352 Debug dalvikvm 4973 DexOpt: unable to opt direct call 0x073c at 0x115 in Lcom/sec/android/app/camera/Camera;.onCreate
18:52:15.353 Info dalvikvm 4973 Could not find method android.os.IVoIPInterface$Stub.asInterface, referenced from method com.sec.android.app.camera.AbstractCameraActivity.checkCameraStartCondition_VoIPCall
18:52:15.354 Warning dalvikvm 4973 VFY: unable to resolve static method 413: Landroid/os/IVoIPInterface$Stub;.asInterface (Landroid/os/IBinder;)Landroid/os/IVoIPInterface;
18:52:15.354 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0009
18:52:15.355 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onCreate
18:52:15.355 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.356 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0052
18:52:15.356 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onCreate
18:52:15.357 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.357 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0066
18:52:15.358 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onCreateDialog
18:52:15.359 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.359 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0076
18:52:15.360 Info dalvikvm 4973 Could not find method android.os.PowerManager.setAutoBrightnessLimit, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onPause
18:52:15.360 Warning dalvikvm 4973 VFY: unable to resolve virtual method 446: Landroid/os/PowerManager;.setAutoBrightnessLimit (II)V
18:52:15.361 Debug dalvikvm 4973 VFY: replacing opcode 0x6e at 0x0070
18:52:15.361 Info dalvikvm 4973 Could not find method android.os.PowerManager.setAutoBrightnessLimit, referenced from method com.sec.android.app.camera.AbstractCameraActivity.onResume
18:52:15.362 Warning dalvikvm 4973 VFY: unable to resolve virtual method 446: Landroid/os/PowerManager;.setAutoBrightnessLimit (II)V
18:52:15.362 Debug dalvikvm 4973 VFY: replacing opcode 0x6e at 0x0084
18:52:15.363 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.MenuDimController.refreshButtonDim
18:52:15.363 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.364 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x05b0
18:52:15.364 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.MenuDimController.refreshButtonDim
18:52:15.365 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.366 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x05ee
18:52:15.479 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.MenuDimController.setSettingDefault
18:52:15.480 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.480 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0068
18:52:15.481 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.resetCamcorderLocalSettings
18:52:15.481 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.482 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x006d
18:52:15.483 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.resetCameraGlobalSettings
18:52:15.483 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.484 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x000f
18:52:15.484 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.resetCameraLocalSettings
18:52:15.485 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.485 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0070
18:52:15.486 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.resetCommonGlobalSettings
18:52:15.486 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.487 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0004
18:52:15.487 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.getAntiBanding
18:52:15.488 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.488 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0018
18:52:15.489 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.getCamcorderVideoDurationInMS
18:52:15.490 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.490 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x000b
18:52:15.491 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.getMaxRecordingSize
18:52:15.491 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.492 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0008
18:52:15.492 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.getRequestedRecordingSize
18:52:15.493 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.493 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0013
18:52:15.494 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.setDefaultCamcorderEditableShortcutOrder
18:52:15.495 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.495 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0002
18:52:15.496 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.setDefaultCamcorderSideMenuOrder
18:52:15.496 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.497 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0003
18:52:15.497 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.setDefaultCameraEditableShortcutOrder
18:52:15.498 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.498 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0002
18:52:15.499 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.CameraSettings.setDefaultCameraSideMenuOrder
18:52:15.500 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.500 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x0003
18:52:15.501 Info dalvikvm 4973 Could not find method com.sec.android.app.CscFeature.getInstance, referenced from method com.sec.android.app.camera.Camera$2.onReceive
18:52:15.501 Warning dalvikvm 4973 VFY: unable to resolve static method 1016: Lcom/sec/android/app/CscFeature;.getInstance ()Lcom/sec/android/app/CscFeature;
18:52:15.502 Debug dalvikvm 4973 VFY: replacing opcode 0x71 at 0x00a9
18:52:15.502 Verbose AbstractCameraActivity 4973 onCreate
18:52:15.503 Debug AndroidRuntime 4973 Shutting down VM
18:52:15.503 Warning dalvikvm 4973 threadid=1: thread exiting with uncaught exception (group=0x40a4d1f8)
18:52:15.504 Error AndroidRuntime 4973 FATAL EXCEPTION: main
18:52:15.504 Error AndroidRuntime 4973 java.lang.NoClassDefFoundError: com.sec.android.app.CscFeature
18:52:15.505 Error AndroidRuntime 4973 at com.sec.android.app.camera.AbstractCameraActivity.onCreate(AbstractCameraActivity.java:1025)
18:52:15.506 Error AndroidRuntime 4973 at com.sec.android.app.camera.Camera.onCreate(Camera.java:712)
18:52:15.506 Error AndroidRuntime 4973 at android.app.Activity.performCreate(Activity.java:4465)
18:52:15.507 Error AndroidRuntime 4973 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
18:52:15.508 Error AndroidRuntime 4973 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2033)
18:52:15.508 Error AndroidRuntime 4973 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
18:52:15.509 Error AndroidRuntime 4973 at android.app.ActivityThread.access$600(ActivityThread.java:132)
18:52:15.509 Error AndroidRuntime 4973 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
18:52:15.510 Error AndroidRuntime 4973 at android.os.Handler.dispatchMessage(Handler.java:99)
18:52:15.510 Error AndroidRuntime 4973 at android.os.Looper.loop(Looper.java:137)
18:52:15.511 Error AndroidRuntime 4973 at android.app.ActivityThread.main(ActivityThread.java:4575)
18:52:15.511 Error AndroidRuntime 4973 at java.lang.reflect.Method.invokeNative(Native Method)
18:52:15.512 Error AndroidRuntime 4973 at java.lang.reflect.Method.invoke(Method.java:511)
18:52:15.512 Error AndroidRuntime 4973 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
18:52:15.513 Error AndroidRuntime 4973 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
18:52:15.514 Error AndroidRuntime 4973 at dalvik.system.NativeStart.main(Native Method)
18:52:15.514 Warning ActivityManager 2055 Force finishing activity com.sec.android.app.camera/.Camera
18:52:15.631 Info Process 2055 Sending signal. PID: 4973 SIG: 3
18:52:15.631 Info dalvikvm 4973 threadid=3: reacting to signal 3
any solution? or need more infos? thx in advance
Kiray1982 said:
i have also a problem if i wanna start modified samsungcamera:
Click to expand...
Click to collapse
Tjis is a Java CLASS NOT FOUND error... lets fix it.
So, i am assuming by modified, you mean you have added the smali files to the apk from the framework files.
At this point, to bypass this error,do the following
1. open your project in eclipse.
2. select your project and open the AndroidManifest.xml in Eclipse.
3. click on the application tab (near the bottom of the manifest window that just opened.
4.collapse "application Toggles" and "Application Attributes" sections
5. you will see a list of items each preceded with either an "R" or an "A"
6. click the first of these items.
7.to the right of the item, you will see the word "name" in blue, followed by the name of the node you selected. You should notice a small red "X" before the name.
8. Click the word "name"
9. a windows will pop up to create a new java class, press finish. (you can close and save the file it creates.)
10. Repeat for each item. (note not needed for "uses library" items.)
thx, this works great, some other java-errors are shown...
but after starting the app, it fc's
Code:
20:51:56.900 Info ActivityManager 2060 START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sec.android.app.camera/.Camera bnds=[291,871][428,1005]} from pid 2363
20:51:57.025 Debug dalvikvm 3756 Late-enabling CheckJNI
20:51:57.025 Info ActivityManager 2060 Start proc com.sec.android.app.camera for activity com.sec.android.app.camera/.Camera: pid=3756 uid=10110 gids={1006, 1015, 3003}
20:51:57.025 Info InputReader 2060 Reconfiguring input devices. changes=0x00000004
20:51:57.025 Info InputReader 2060 Device reconfigured: id=11, name='sec_touchscreen', surface size is now 720x1280, mode is 1
20:51:57.025 Debug dalvikvm 1912 GC_EXPLICIT freed 39K, 83% free 2184K/12288K, paused 7ms+8ms
20:51:57.129 Info ActivityManager 2060 Config changed: {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w640dp h335dp nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null}
20:51:57.130 Debug OpenGLRenderer 2168 Flushing caches (mode 0)
20:51:57.131 Debug dalvikvm 1912 GC_EXPLICIT freed <1K, 83% free 2184K/12288K, paused 1ms+10ms
20:51:57.131 Debug OpenGLRenderer 2363 Flushing caches (mode 0)
20:51:57.132 Debug OpenGLRenderer 2363 Flushing caches (mode 0)
20:51:57.132 Debug dalvikvm 1912 GC_EXPLICIT freed <1K, 83% free 2184K/12288K, paused 1ms+2ms
20:51:57.133 Debug UpdateService 2600 rotation (new config = {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w640dp h335dp nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null})
20:51:57.134 Debug OpenGLRenderer 2363 Flushing caches (mode 1)
20:51:57.134 Debug AndroidRuntime 3756 Shutting down VM
20:51:57.255 Warning dalvikvm 3756 threadid=1: thread exiting with uncaught exception (group=0x40a501f8)
20:51:57.255 Error AndroidRuntime 3756 FATAL EXCEPTION: main
20:51:57.256 Error AndroidRuntime 3756 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sec.android.app.camera/com.sec.android.app.camera.Camera}: java.lang.ClassNotFoundException: com.sec.android.app.camera.Camera
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1993)
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.access$600(ActivityThread.java:132)
20:51:57.257 Error AndroidRuntime 3756 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
20:51:57.257 Error AndroidRuntime 3756 at android.os.Handler.dispatchMessage(Handler.java:99)
20:51:57.257 Error AndroidRuntime 3756 at android.os.Looper.loop(Looper.java:137)
20:51:57.257 Error AndroidRuntime 3756 at android.app.ActivityThread.main(ActivityThread.java:4575)
20:51:57.258 Error AndroidRuntime 3756 at java.lang.reflect.Method.invokeNative(Native Method)
20:51:57.258 Error AndroidRuntime 3756 at java.lang.reflect.Method.invoke(Method.java:511)
20:51:57.258 Error AndroidRuntime 3756 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
20:51:57.258 Error AndroidRuntime 3756 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
20:51:57.259 Error AndroidRuntime 3756 at dalvik.system.NativeStart.main(Native Method)
20:51:57.259 Error AndroidRuntime 3756 Caused by: java.lang.ClassNotFoundException: com.sec.android.app.camera.Camera
20:51:57.259 Error AndroidRuntime 3756 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
20:51:57.260 Error AndroidRuntime 3756 at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
20:51:57.260 Error AndroidRuntime 3756 at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
20:51:57.260 Error AndroidRuntime 3756 at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
20:51:57.260 Error AndroidRuntime 3756 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1984)
20:51:57.261 Error AndroidRuntime 3756 ... 11 more
20:51:57.261 Warning ActivityManager 2060 Force finishing activity com.sec.android.app.camera/.Camera
20:51:57.261 Error TouchTypeSoftKeyboard 2315 Could not check for split layout
20:51:57.363 Info PowerWidget 2168 Clearing any old widget stuffs
20:51:57.364 Info PowerWidget 2168 Setting up widget
20:51:57.365 Info PowerWidget 2168 Button list: toggleWifi|toggleMobileData|toggleNetworkMode|toggleSound|toggleFlashlight|toggleAutoRotate
20:51:57.365 Info PowerWidget 2168 Setting up button: toggleWifi
20:51:57.366 Info PowerWidget 2168 Setting up button: toggleMobileData
20:51:57.367 Info PowerWidget 2168 Setting up button: toggleNetworkMode
20:51:57.367 Info PowerWidget 2168 Setting up button: toggleSound
20:51:57.368 Info PowerWidget 2168 Setting up button: toggleFlashlight
20:51:57.368 Info PowerWidget 2168 Setting up button: toggleAutoRotate
20:51:57.489 Info InputReader 2060 Reconfiguring input devices. changes=0x00000004
20:51:57.490 Info InputReader 2060 Device reconfigured: id=11, name='sec_touchscreen', surface size is now 720x1280, mode is 1
20:51:57.613 Info ActivityManager 2060 Config changed: {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.15 themeResource=null}
20:51:57.614 Debug OpenGLRenderer 2168 Flushing caches (mode 0)
20:51:57.615 Info Process 2060 Sending signal. PID: 3756 SIG: 3
20:51:57.616 Info dalvikvm 3756 threadid=3: reacting to signal 3
20:51:57.616 Info dalvikvm 3756 Wrote stack traces to '/data/anr/traces.txt'
20:51:57.617 Debug UpdateService 2600 rotation (new config = {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.15 themeResource=null})
20:51:57.617 Info PowerWidget 2168 Clearing any old widget stuffs
20:51:57.618 Info PowerWidget 2168 Setting up widget
20:51:57.619 Info PowerWidget 2168 Button list: toggleWifi|toggleMobileData|toggleNetworkMode|toggleSound|toggleFlashlight|toggleAutoRotate
20:51:57.619 Info PowerWidget 2168 Setting up button: toggleWifi
20:51:57.620 Info PowerWidget 2168 Setting up button: toggleMobileData
20:51:57.621 Info PowerWidget 2168 Setting up button: toggleNetworkMode
20:51:57.621 Info PowerWidget 2168 Setting up button: toggleSound
20:51:57.622 Error TouchTypeSoftKeyboard 2315 Could not check for split layout
20:51:57.623 Info PowerWidget 2168 Setting up button: toggleFlashlight
20:51:57.623 Info PowerWidget 2168 Setting up button: toggleAutoRotate
20:51:57.737 Warning ActivityManager 2060 Activity pause timeout for ActivityRecord{413094a8 com.sec.android.app.camera/.Camera}
20:51:57.738 Info Process 2060 Sending signal. PID: 3756 SIG: 3
20:51:57.739 Info dalvikvm 3756 threadid=3: reacting to signal 3
20:51:57.739 Info dalvikvm 3756 Wrote stack traces to '/data/anr/traces.txt'
20:51:58.626 Info Process 3756 Sending signal. PID: 3756 SIG: 9
20:51:58.627 Info ActivityManager 2060 Process com.sec.android.app.camera (pid 3756) has died.
Awesome work guys! Its all meaningless code stuff to me but keep up the good work were pullin for ya! (Also bump for interest!)
Ditto. Hope you guys can get it to work..
Sent from my SGH-T989 using xda app-developers app
Kiray1982 said:
thx, this works great, some other java-errors are shown...
but after starting the app, it fc's
Code:
20:51:56.900 Info ActivityManager 2060 START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sec.android.app.camera/.Camera bnds=[291,871][428,1005]} from pid 2363
20:51:57.025 Debug dalvikvm 3756 Late-enabling CheckJNI
20:51:57.025 Info ActivityManager 2060 Start proc com.sec.android.app.camera for activity com.sec.android.app.camera/.Camera: pid=3756 uid=10110 gids={1006, 1015, 3003}
20:51:57.025 Info InputReader 2060 Reconfiguring input devices. changes=0x00000004
20:51:57.025 Info InputReader 2060 Device reconfigured: id=11, name='sec_touchscreen', surface size is now 720x1280, mode is 1
20:51:57.025 Debug dalvikvm 1912 GC_EXPLICIT freed 39K, 83% free 2184K/12288K, paused 7ms+8ms
20:51:57.129 Info ActivityManager 2060 Config changed: {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w640dp h335dp nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null}
20:51:57.130 Debug OpenGLRenderer 2168 Flushing caches (mode 0)
20:51:57.131 Debug dalvikvm 1912 GC_EXPLICIT freed <1K, 83% free 2184K/12288K, paused 1ms+10ms
20:51:57.131 Debug OpenGLRenderer 2363 Flushing caches (mode 0)
20:51:57.132 Debug OpenGLRenderer 2363 Flushing caches (mode 0)
20:51:57.132 Debug dalvikvm 1912 GC_EXPLICIT freed <1K, 83% free 2184K/12288K, paused 1ms+2ms
20:51:57.133 Debug UpdateService 2600 rotation (new config = {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w640dp h335dp nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null})
20:51:57.134 Debug OpenGLRenderer 2363 Flushing caches (mode 1)
20:51:57.134 Debug AndroidRuntime 3756 Shutting down VM
20:51:57.255 Warning dalvikvm 3756 threadid=1: thread exiting with uncaught exception (group=0x40a501f8)
20:51:57.255 Error AndroidRuntime 3756 FATAL EXCEPTION: main
20:51:57.256 Error AndroidRuntime 3756 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sec.android.app.camera/com.sec.android.app.camera.Camera}: java.lang.ClassNotFoundException: com.sec.android.app.camera.Camera
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1993)
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104)
20:51:57.256 Error AndroidRuntime 3756 at android.app.ActivityThread.access$600(ActivityThread.java:132)
20:51:57.257 Error AndroidRuntime 3756 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1157)
20:51:57.257 Error AndroidRuntime 3756 at android.os.Handler.dispatchMessage(Handler.java:99)
20:51:57.257 Error AndroidRuntime 3756 at android.os.Looper.loop(Looper.java:137)
20:51:57.257 Error AndroidRuntime 3756 at android.app.ActivityThread.main(ActivityThread.java:4575)
20:51:57.258 Error AndroidRuntime 3756 at java.lang.reflect.Method.invokeNative(Native Method)
20:51:57.258 Error AndroidRuntime 3756 at java.lang.reflect.Method.invoke(Method.java:511)
20:51:57.258 Error AndroidRuntime 3756 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
20:51:57.258 Error AndroidRuntime 3756 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
20:51:57.259 Error AndroidRuntime 3756 at dalvik.system.NativeStart.main(Native Method)
20:51:57.259 Error AndroidRuntime 3756 Caused by: java.lang.ClassNotFoundException: com.sec.android.app.camera.Camera
20:51:57.259 Error AndroidRuntime 3756 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
20:51:57.260 Error AndroidRuntime 3756 at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
20:51:57.260 Error AndroidRuntime 3756 at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
20:51:57.260 Error AndroidRuntime 3756 at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
20:51:57.260 Error AndroidRuntime 3756 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1984)
20:51:57.261 Error AndroidRuntime 3756 ... 11 more
20:51:57.261 Warning ActivityManager 2060 Force finishing activity com.sec.android.app.camera/.Camera
20:51:57.261 Error TouchTypeSoftKeyboard 2315 Could not check for split layout
20:51:57.363 Info PowerWidget 2168 Clearing any old widget stuffs
20:51:57.364 Info PowerWidget 2168 Setting up widget
20:51:57.365 Info PowerWidget 2168 Button list: toggleWifi|toggleMobileData|toggleNetworkMode|toggleSound|toggleFlashlight|toggleAutoRotate
20:51:57.365 Info PowerWidget 2168 Setting up button: toggleWifi
20:51:57.366 Info PowerWidget 2168 Setting up button: toggleMobileData
20:51:57.367 Info PowerWidget 2168 Setting up button: toggleNetworkMode
20:51:57.367 Info PowerWidget 2168 Setting up button: toggleSound
20:51:57.368 Info PowerWidget 2168 Setting up button: toggleFlashlight
20:51:57.368 Info PowerWidget 2168 Setting up button: toggleAutoRotate
20:51:57.489 Info InputReader 2060 Reconfiguring input devices. changes=0x00000004
20:51:57.490 Info InputReader 2060 Device reconfigured: id=11, name='sec_touchscreen', surface size is now 720x1280, mode is 1
20:51:57.613 Info ActivityManager 2060 Config changed: {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.15 themeResource=null}
20:51:57.614 Debug OpenGLRenderer 2168 Flushing caches (mode 0)
20:51:57.615 Info Process 2060 Sending signal. PID: 3756 SIG: 3
20:51:57.616 Info dalvikvm 3756 threadid=3: reacting to signal 3
20:51:57.616 Info dalvikvm 3756 Wrote stack traces to '/data/anr/traces.txt'
20:51:57.617 Debug UpdateService 2600 rotation (new config = {1.0 262mcc7mnc de_DE layoutdir=0 sw360dp w360dp h615dp nrml long port finger -keyb/v/h -nav/h s.15 themeResource=null})
20:51:57.617 Info PowerWidget 2168 Clearing any old widget stuffs
20:51:57.618 Info PowerWidget 2168 Setting up widget
20:51:57.619 Info PowerWidget 2168 Button list: toggleWifi|toggleMobileData|toggleNetworkMode|toggleSound|toggleFlashlight|toggleAutoRotate
20:51:57.619 Info PowerWidget 2168 Setting up button: toggleWifi
20:51:57.620 Info PowerWidget 2168 Setting up button: toggleMobileData
20:51:57.621 Info PowerWidget 2168 Setting up button: toggleNetworkMode
20:51:57.621 Info PowerWidget 2168 Setting up button: toggleSound
20:51:57.622 Error TouchTypeSoftKeyboard 2315 Could not check for split layout
20:51:57.623 Info PowerWidget 2168 Setting up button: toggleFlashlight
20:51:57.623 Info PowerWidget 2168 Setting up button: toggleAutoRotate
20:51:57.737 Warning ActivityManager 2060 Activity pause timeout for ActivityRecord{413094a8 com.sec.android.app.camera/.Camera}
20:51:57.738 Info Process 2060 Sending signal. PID: 3756 SIG: 3
20:51:57.739 Info dalvikvm 3756 threadid=3: reacting to signal 3
20:51:57.739 Info dalvikvm 3756 Wrote stack traces to '/data/anr/traces.txt'
20:51:58.626 Info Process 3756 Sending signal. PID: 3756 SIG: 9
20:51:58.627 Info ActivityManager 2060 Process com.sec.android.app.camera (pid 3756) has died.
Click to expand...
Click to collapse
Are you still working on a port to the sgs2 ?
Another question: on which android version did you try to run the app ?

[Q] Installing Stock camera on CM10

Hello,
This is my first post, I usually search through the forum as an unregistered user and find answers to my questions. This is how I've unlocked the bootloader, flashed new recovery (cwm-6.0.1.5 by Lloir) and kernel (SuperSick-01_03_13) and then flashed a new rom (CM 10.1).
All is great, except by the camera. After extensive search, I have not found any instructions on how to install the stock camera on CM10-based ROMs,. So, I've decided to do it by my own. So far I am stuck at a point.
I have managed to find the Camera.akp and Camera.odex file in my backup of the stock rom, to deodex the latter, to include the .dex file back in the Camera.apk package and finally to sign the package for installation.
Install was fine after removing data/data/com.android.camera directory. But now, when trying to run the app I get an exception because some methods/resources were not found. I am an Android noob, so I have no clue on how to determine the nature and localization of these resources on the original ROM. Any help would be appreciated. Here is the relevant part of my logcat:
Code:
I/ActivityManager( 1738): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.CameraEntry u=0} from pid 1919
I/ActivityManager( 1738): Start proc com.android.camera for activity com.android.camera/.CameraEntry: pid=3889 uid=10077 gids={1006, 3003, 1015, 1028}
E/Trace ( 3889): error opening trace file: No such file or directory (2)
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
I/dalvikvm( 3889): Could not find method com.htc.wrap.dalvik.system.HtcWrapVMRuntime.disableGcForExternalAlloc, referenced from method com.android.camera.HTCCamera.<init>
W/dalvikvm( 3889): VFY: unable to resolve static method 8067: Lcom/htc/wrap/dalvik/system/HtcWrapVMRuntime;.disableGcForExternalAlloc (Z)V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x00cd
I/dalvikvm( 3889): Could not find method com.htc.wrap.android.app.HtcWrapActivity.overrideRotateAnimation, referenced from method com.android.camera.HTCCamera.overrideSystemRotateAnimation
W/dalvikvm( 3889): VFY: unable to resolve static method 8045: Lcom/htc/wrap/android/app/HtcWrapActivity;.overrideRotateAnimation (Landroid/app/Activity;I)V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x0018
I/dalvikvm( 3889): Could not find method com.htc.wrap.dalvik.system.HtcWrapVMRuntime.disableGcForExternalAlloc, referenced from method com.android.camera.HTCCamera.performActionsOnPreviewSurfaceCreated
W/dalvikvm( 3889): VFY: unable to resolve static method 8067: Lcom/htc/wrap/dalvik/system/HtcWrapVMRuntime;.disableGcForExternalAlloc (Z)V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x0020
E/dalvikvm( 3889): Could not find class 'com.htc.service.WirelessDisplayManager', referenced from method com.android.camera.HTCCamera.setFingerGestureEnable
W/dalvikvm( 3889): VFY: unable to resolve check-cast 1394 (Lcom/htc/service/WirelessDisplayManager;) in Lcom/android/camera/HTCCamera;
D/dalvikvm( 3889): VFY: replacing opcode 0x1f at 0x0006
E/dalvikvm( 3889): Could not find class 'com.htc.service.WirelessDisplayManager', referenced from method com.android.camera.HTCCamera.isInMirrorMode
W/dalvikvm( 3889): VFY: unable to resolve check-cast 1394 (Lcom/htc/service/WirelessDisplayManager;) in Lcom/android/camera/HTCCamera;
D/dalvikvm( 3889): VFY: replacing opcode 0x1f at 0x000e
I/dalvikvm( 3889): Could not find method com.htc.wrap.android.view.HtcWrapSurface.setRemoteScreenOrientation, referenced from method com.android.camera.HTCCamera.onCreate
W/dalvikvm( 3889): VFY: unable to resolve static method 8063: Lcom/htc/wrap/android/view/HtcWrapSurface;.setRemoteScreenOrientation (I)V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x0022
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
E/dalvikvm( 3889): Could not find class 'com.android.camera.HTCCamera$TVDisplayListener', referenced from method com.android.camera.HTCCamera.onCreate
W/dalvikvm( 3889): VFY: unable to resolve new-instance 323 (Lcom/android/camera/HTCCamera$TVDisplayListener;) in Lcom/android/camera/HTCCamera;
D/dalvikvm( 3889): VFY: replacing opcode 0x22 at 0x0025
I/dalvikvm( 3889): Could not find method com.htc.dlnasharedmodule.HtcTVDisplayHelper.release, referenced from method com.android.camera.HTCCamera.onDestroy
W/dalvikvm( 3889): VFY: unable to resolve virtual method 7948: Lcom/htc/dlnasharedmodule/HtcTVDisplayHelper;.release ()V
D/dalvikvm( 3889): VFY: replacing opcode 0x6e at 0x0034
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
W/dalvikvm( 3889): VFY: unable to resolve static field 6333 (Htc_PROJECT_flag) in Lcom/htc/htcjavaflag/HtcBuildFlag;
D/dalvikvm( 3889): VFY: replacing opcode 0x66 at 0x000a
I/dalvikvm( 3889): Could not find method com.htc.wrap.android.view.HtcWrapSurface.resetRemoteScreenOrientation, referenced from method com.android.camera.HTCCamera.onStop
W/dalvikvm( 3889): VFY: unable to resolve static method 8062: Lcom/htc/wrap/android/view/HtcWrapSurface;.resetRemoteScreenOrientation ()V
D/dalvikvm( 3889): VFY: replacing opcode 0x71 at 0x0031
W/dalvikvm( 3889): Unable to resolve superclass of Lcom/android/camera/HTCCamera$TVDisplayListener; (1389)
W/dalvikvm( 3889): Link of class 'Lcom/android/camera/HTCCamera$TVDisplayListener;' failed
D/dalvikvm( 3889): DexOpt: unable to opt direct call 0x060c at 0x27 in Lcom/android/camera/HTCCamera;.onCreate
D/dalvikvm( 3889): DexOpt: unable to opt direct call 0x1f0b at 0x34 in Lcom/android/camera/HTCCamera;.onCreate
W/HTCCamera( 3889): Constructor() - start
W/HTCCamera( 3889): Disable GC
D/AndroidRuntime( 3889): Shutting down VM
W/dalvikvm( 3889): threadid=1: thread exiting with uncaught exception (group=0x40c77300)
E/AndroidRuntime( 3889): FATAL EXCEPTION: main
E/AndroidRuntime( 3889): java.lang.NoClassDefFoundError: com.htc.wrap.dalvik.system.HtcWrapVMRuntime
E/AndroidRuntime( 3889): at com.android.camera.HTCCamera.<init>(HTCCamera.java:895)
E/AndroidRuntime( 3889): at com.android.camera.CameraEntry.<init>(CameraEntry.java:3)
E/AndroidRuntime( 3889): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 3889): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 3889): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
E/AndroidRuntime( 3889): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2091)
E/AndroidRuntime( 3889): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2211)
E/AndroidRuntime( 3889): at android.app.ActivityThread.access$600(ActivityThread.java:143)
E/AndroidRuntime( 3889): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)
E/AndroidRuntime( 3889): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3889): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3889): at android.app.ActivityThread.main(ActivityThread.java:4965)
E/AndroidRuntime( 3889): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3889): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3889): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 3889): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
E/AndroidRuntime( 3889): at dalvik.system.NativeStart.main(Native Method)
W/ResourceType( 1738): No known package when getting value for resource number 0x0204027c
W/PackageManager( 1738): Failure retrieving text 0x204027c in package com.android.camera
W/PackageManager( 1738): android.content.res.Resources$NotFoundException: String resource ID #0x204027c
W/PackageManager( 1738): at android.content.res.Resources.getText(Resources.java:229)
W/PackageManager( 1738): at android.app.ApplicationPackageManager.getText(ApplicationPackageManager.java:927)
W/PackageManager( 1738): at android.content.pm.PackageItemInfo.loadLabel(PackageItemInfo.java:115)
W/PackageManager( 1738): at android.app.ApplicationPackageManager.getApplicationLabel(ApplicationPackageManager.java:971)
W/PackageManager( 1738): at com.android.server.am.AppErrorDialog.<init>(AppErrorDialog.java:50)
W/PackageManager( 1738): at com.android.server.am.ActivityManagerService$2.handleMessage(ActivityManagerService.java:912)
W/PackageManager( 1738): at android.os.Handler.dispatchMessage(Handler.java:99)
W/PackageManager( 1738): at android.os.Looper.loop(Looper.java:137)
W/PackageManager( 1738): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1434)
W/ActivityManager( 1738): Force finishing activity com.android.camera/.CameraEntry
W/ActivityManager( 1738): Activity pause timeout for ActivityRecord{416a3ee0 com.android.camera/.CameraEntry}
W/ActivityManager( 1738): Activity destroy timeout for ActivityRecord{416a3ee0 com.android.camera/.CameraEntry}
I/Process ( 3889): Sending signal. PID: 3889 SIG: 9
W/InputMethodManagerService( 1738): Window already focused, ignoring focus gain of: com.android.i[email protected] attribute=null
I/ActivityManager( 1738): Process com.android.camera (pid 3889) has died.
Sorry if this is not the best place for posting this question, but I have no access to the devs forum.
oops Try camera apps on play...
Sent from my HTC One V using Tapatalk 2
bahubali67 said:
oops Try camera apps on play...
Sent from my HTC One V using Tapatalk 2
Click to expand...
Click to collapse
Is the stock HTC On V camera on the market? No other will use ImageSense chip. That's what I want.
The only way to get the stock camera is a sense based ROM. Either stock or custom sense ROM.
Sent from my HTC One V using xda premium
jaredl45600 said:
The only way to get the stock camera is a sense based ROM. Either stock or custom sense ROM.
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
You mean the only _current_ way. If I could track back the errors in the trace, perhaps this could change.
Anyone can help me to interpret those traces? Where are the missing classes and how can I make them available to the app? I am pretty sure that some kind of LD_LIBRARY_PRELOAD trick is possible.
eshneto said:
You mean the only _current_ way. If I could track back the errors in the trace, perhaps this could change.
Anyone can help me to interpret those traces? Where are the missing classes and how can I make them available to the app? I am pretty sure that some kind of LD_LIBRARY_PRELOAD trick is possible.
Click to expand...
Click to collapse
I'm just curious... did you or anyone else ever figure out any way to get the stock camera on CM? Or is that simply not possible?
I'm very grateful to the guys who made such a sweet ROM (in CM10), but I'm thinking about switching back to a stock-based one just because the camera was one of the main reasons I got the One V (it's amazing compared to its peers' cameras in my opinion), but without being able to utilize the ImageSense chip or whatever, quality really suffers.
EDIT: If the above question is stupid, then could someone give me an opinion on which ROM I should use if I'm looking to take full advantage of the camera? Preferably, I'd like to have JB, but I'm guessing that's probably not possible. Anyway, thanks in advance.
tmacfan532 said:
I'm just curious... did you or anyone else ever figure out any way to get the stock camera on CM? Or is that simply not possible?
I'm very grateful to the guys who made such a sweet ROM (in CM10), but I'm thinking about switching back to a stock-based one just because the camera was one of the main reasons I got the One V (it's amazing compared to its peers' cameras in my opinion), but without being able to utilize the ImageSense chip or whatever, quality really suffers.
EDIT: If the above question is stupid, then could someone give me an opinion on which ROM I should use if I'm looking to take full advantage of the camera? Preferably, I'd like to have JB, but I'm guessing that's probably not possible. Anyway, thanks in advance.
Click to expand...
Click to collapse
I am back to stock rom and I don't know about a JB rom with the stock camera. Sorry.
I hope some day I will be able to do it myself. I just don't have the time to spend right now.
nope the stock camera(sense) only worx with sense frameworks i.e on sense ROMS ONLY....cannot work on CM10 etc...

Flixster not working

Hi
Recently bought an Ouya and initially installed some apps from the DISCOVER section, at this time Flixster was working ok. I then rooted, installed mod collection for ouya, google app store, busy box, nova launcher plus side loaded quite other few apps.
All is working perfectly and I couldn't be happier BUT... Flixster has stopped working! It fails to run at all... I've re-installed from Ouya, from the App store and old version apk... cleared data, cache etc. but still no joy.
here's the log:
Is anyone having similar issues... any tips on how to troubleshoot further?
2013-11-28 20:13:20.806 E 5141/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.flixster.android/com.flixster.android.activity.gtv.Main}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030048
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030048
at android.content.res.Resources.getValue(Resources.java:1013)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2098)
at android.content.res.XResources.loadXmlResourceParser(XResources.java:525)
at android.content.res.Resources.getLayout(Resources.java:852)
at android.view.LayoutInflater.inflate(LayoutInflater.java:394)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:256)
at android.app.Activity.setContentView(Activity.java:1869)
at com.flixster.android.activity.gtv.Main.onCreate(Main.java:47)
at android.app.Activity.performCreate(Activity.java:5032)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
... 12 more
2013-11-28 20:13:23.596 E 5182/ActivityThread: Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
2013-11-28 20:13:23.776 E 5182/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.flixster.android/com.flixster.android.activity.gtv.Main}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030048
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030048
at android.content.res.Resources.getValue(Resources.java:1013)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2098)
at android.content.res.XResources.loadXmlResourceParser(XResources.java:525)
at android.content.res.Resources.getLayout(Resources.java:852)
at android.view.LayoutInflater.inflate(LayoutInflater.java:394)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:256)
at android.app.Activity.setContentView(Activity.java:1869)
at com.flixster.android.activity.gtv.Main.onCreate(Main.java:47)
at android.app.Activity.performCreate(Activity.java:5032)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
... 12 more
2013-11-28 20:13:33.326 E 5349/ActivityThread: Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
2013-11-28 20:13:33.536 E 5349/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.flixster.android/com.flixster.android.activity.gtv.Main}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030048
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030048
at android.content.res.Resources.getValue(Resources.java:1013)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2098)
at android.content.res.XResources.loadXmlResourceParser(XResources.java:525)
at android.content.res.Resources.getLayout(Resources.java:852)
at android.view.LayoutInflater.inflate(LayoutInflater.java:394)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:256)
at android.app.Activity.setContentView(Activity.java:1869)
at com.flixster.android.activity.gtv.Main.onCreate(Main.java:47)
at android.app.Activity.performCreate(Activity.java:5032)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
... 12 more
2013-11-28 20:13:35.796 E 5431/ActivityThread: Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
2013-11-28 20:13:36.016 E 5431/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.flixster.android/com.flixster.android.activity.gtv.Main}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030048
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030048
at android.content.res.Resources.getValue(Resources.java:1013)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2098)
at android.content.res.XResources.loadXmlResourceParser(XResources.java:525)
at android.content.res.Resources.getLayout(Resources.java:852)
at android.view.LayoutInflater.inflate(LayoutInflater.java:394)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:256)
at android.app.Activity.setContentView(Activity.java:1869)
at com.flixster.android.activity.gtv.Main.onCreate(Main.java:47)
at android.app.Activity.performCreate(Activity.java:5032)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
... 12 more
2013-11-28 20:57:59.216 D 13330/dalvikvm: DexOpt: 'Landroid/annotation/SuppressLint;' has an earlier definition; blocking out
2013-11-28 20:57:59.216 D 13330/dalvikvm: DexOpt: 'Landroid/annotation/TargetApi;' has an earlier definition; blocking out
2013-11-28 20:57:59.306 D 13330/dalvikvm: DexOpt: not verifying/optimizing 'Landroid/annotation/SuppressLint;': multiple definitions
2013-11-28 20:57:59.306 D 13330/dalvikvm: DexOpt: not verifying/optimizing 'Landroid/annotation/TargetApi;': multiple definitions
2013-11-28 20:57:59.536 D 13330/dalvikvm: DexOpt: load 93ms, verify+opt 231ms, 1179836 bytes
2013-11-28 20:58:03.056 D 13530/OuyaEnvironment: Setting application to: yuku.logviewer
2013-11-28 20:58:03.056 D 13530/OuyaEnvironment: Found app directory: /data/app/yuku.logviewer-1.apk
2013-11-28 20:58:03.196 D 13530/libEGL: loaded /system/lib/egl/libEGL_tegra.so
2013-11-28 20:58:03.196 E 13530/: file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
2013-11-28 20:58:03.196 I 13530/: Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
2013-11-28 20:58:03.196 I 13530/: Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl
2013-11-28 20:58:03.196 D 13530/libEGL: loaded /system/lib/egl/libGLESv1_CM_tegra.so
2013-11-28 20:58:03.196 D 13530/libEGL: loaded /system/lib/egl/libGLESv2_tegra.so
2013-11-28 20:58:03.246 I 13530/: Loading GLESv2 implementation /system/lib//egl/libGLESv2_tegra_impl
2013-11-28 20:58:03.246 D 13530/OpenGLRenderer: Enabling debug mode 0
Fixed
Seems to be that at times after sleeping and waking the Ouya Flixster will not run. Workaround is to sleep and wake again

Categories

Resources