[cm7/cm9]Tv-out[Port] - Galaxy S Plus I9001 Android Development

HI,as you know on aosp there isnt a normal tvout opption so I think we must mod the frameworkbase like this!
This is only for testing and you could brick your phone!
Use only at your own risk!
HDMI: changes to notify audio on hdmi connect.
- When DVI monitor is connected, audio service should not be notified
- remove the redundant changes to check HDCP during boot up
- On connect, check for HDCP/DVI mode and handle audio accordingly
Change-Id: I2af352570eddd4820a9d5ee232f4e2f351c0c524
CRs-fixed: 324931
Update HDMI Notification mechanism and minor cleanup
-- Update HDMI notification mechanism to be based on switch
node, /devices/virtual/switch/hdmi
-- Remove unused SurfaceComposerClient object.
-- Use path /sys/devices/virtual/graphics instead of symlink
/sys/class/graphics
-- Remove support for intents HDMI_CABLE_CONNECTED,
HDMI_CABLE_DISCONNECTED, HDMI_CONNECTED, HDMI_DISCONNECTED.
-- Add support in AudioPolicyManager to handle non HDMI modes.
CRs-fixed: 325697
(cherry picked from commit dd1ef209a42794415b1a06ff947028b26f028fa9)
Change-Id: I07dc58c700b8a2f4c7e086c688e277ce66b3e4c3
HDMIService: Minor fixes in the HDMI Service
- When the cable is connected, set the best mode for HDMI,
no need to store the current best mode, as this can cause
issues when a different TV is connected.
- start the HDMIDaemon from the Service, this will help ensure
HDMI Mirroring works after framework reboot
CRs-fixed: 333941 333497
(cherry picked from commit eb4ade6e6908c49a2e624a71ff1265e14c0b4ec7)
Conflicts:
services/java/com/android/server/HDMIService.java
Change-Id: Ic87d1703065a284878e7e9c8adac3afb6def56ec
HDMIService: getModeOrder to return order based on resolution
- getModeOrder function used to return order based on the resolution,
modified that to be based on the best resolution
This fixes the problem where the HDMI TV used to support [email protected]
but still it was picking [email protected]
- mCurrentMode stores the current display mode on HDMI, reset it when
the cable is disconnected
(cherry picked from commit 91cb5160ca2b4aaee7cc8c01f6d7162e9c55d67a)
Change-Id: I3efbe385603560330600eab3adeb0da1f1e102aa
FOUND:http://review.cyanogenmod.com/#/c/16945/
We maybe could at files from kqb to cm7?
Would be great if texten or someone could help

nice work will try ..

You trying to port this suggest that TV-out worked for you guys before? : O
Me and a couple of my friends who also have SGS+ tried, and it doesn't work on any of our devices with any type of cable.

Mikolak28 said:
You trying to port this suggest that TV-out worked for you guys before? : O
Me and a couple of my friends who also have SGS+ tried, and it doesn't work on any of our devices with any type of cable.
Click to expand...
Click to collapse
Thats because our device isn´t right build! you need a headset adapter because you need to change +/- Poles! You need a nokia c-75u cable+ this headsetadapter and than its working
Now we are trying to port this to cm7!
tvout on stock is working!

here is a tvout hack for android 4 on samsung devices.
https://github.com/Onecosmic/Android-4.0.3-device-files/tree/master/tvouthack
good luck.

Rom_Tester said:
Thats because our device isn´t right build! you need a headset adapter because you need to change +/- Poles! You need a nokia c-75u cable+ this headsetadapter and than its working
Now we are trying to port this to cm7!
tvout on stock is working!
Click to expand...
Click to collapse
Exactly, and I can confirm it works that way on Samsung stock ROMs.
I also use the Nokia CA-75U 3.5mm to composite cable with a TRRS adapter that changes the pin order. The adapter is necessary to change the pin order of the TRRS headphone jack:
L -> L
R -> R
GND -> MIC
MIC -> GND
Here's a store selling such an adapter, you will have to find a local one: http://www.meelec.com/MEE_TRRS_Adapter_for_P_Version_Headphones_p/adptr-trrs-35.htm
+
(click to enlarge)
The way it works:
1. In system settings, enable TV out and set TV type (NTSC or PAL)
2. Connect headphone adapter to headphone jack and to video adapter
3. Connect video adapter to headphone adapter and to composite plugs in TV (video, audio left, audio right).
The important thing is that unlike the Galaxy S2 which has HDMI out through the miniUSB plug, we have just regular analogue TV out through the headphone jack in low resolution and quality. This is why I don't think any code related to HDMI will help.
We should probably look closer at Galaxy S solutions, I think they also only have TV out through the headphone jack.

Ok I see..

I have wrote to the galaxy s ics slim devs
Maybe they can show us the solution

texten said:
here is a tvout hack for android 4 on samsung devices.
https://github.com/Onecosmic/Android-4.0.3-device-files/tree/master/tvouthack
good luck.
Click to expand...
Click to collapse
I took a look at that and also used the KQB stock ROM files you posted here: http://forum.xda-developers.com/showthread.php?p=26896293#post26896293
Unfortunately where it fails is with the KQB libtvout.so, which has an unresolved symbol:
Code:
[email protected]:/ # tvoutserver
link_image[1965]: 8532 could not load needed library 'libtvoutservice.so' for 'tvoutserver'
(link_image[1965]: 8532 could not load needed library 'libtvout.so' for 'libtvoutservice.so'
(reloc_library[1314]: 8532 [B]cannot locate '_ZN8SkCanvas15setBitmapDeviceERK8SkBitmap'[/B]...))
CANNOT LINK EXECUTABLE
tvoutserver and libtvout.so, libtvoutservice.so etc. are all Samsung binaries we don't have the source for so I don't know how to fix that.
I compiled the tvouthack executable and AriesParts.apk app in your link. tvouthack runs but seems to be waiting for the tvoutserver. AriesParts.apk adds an option under system settings called "Advanced" and when you click it this happens:
Code:
W/dalvikvm( 8362): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Landroid/hardware/TvOut;
D/AndroidRuntime( 8362): Shutting down VM
W/dalvikvm( 8362): threadid=1: thread exiting with uncaught exception (group=0x40a3f1f8)
E/AndroidRuntime( 8362): FATAL EXCEPTION: main
E/AndroidRuntime( 8362): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 8362): at com.cyanogenmod.settings.device.DeviceSettings.onCreate(DeviceSettings.java:78)
E/AndroidRuntime( 8362): at android.app.Activity.performCreate(Activity.java)
E/AndroidRuntime( 8362): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)
E/AndroidRuntime( 8362): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
E/AndroidRuntime( 8362): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
E/AndroidRuntime( 8362): at android.app.ActivityThread.access$600(ActivityThread.java)
E/AndroidRuntime( 8362): at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
E/AndroidRuntime( 8362): at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime( 8362): at android.os.Looper.loop(Looper.java)
E/AndroidRuntime( 8362): at android.app.ActivityThread.main(ActivityThread.java)
E/AndroidRuntime( 8362): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8362): at java.lang.reflect.Method.invoke(Method.java)
E/AndroidRuntime( 8362): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime( 8362): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
E/AndroidRuntime( 8362): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8362): Caused by: java.lang.UnsatisfiedLinkError:
Cannot load library: link_image[1965]: 141 could not load needed library
'libtvout.so' for 'libtvout_jni.so' (reloc_library[1314]: 141 [B]cannot locate
'_ZN8SkCanvas15setBitmapDeviceERK8SkBitmap'...[/B]
E/AndroidRuntime( 8362): )
E/AndroidRuntime( 8362): at java.lang.Runtime.loadLibrary(Runtime.java)
E/AndroidRuntime( 8362): at java.lang.System.loadLibrary(System.java)
E/AndroidRuntime( 8362): at android.hardware.TvOut.<clinit>(TvOut.java:53)
E/AndroidRuntime( 8362): ... 15 more
W/ActivityManager( 850): Force finishing activity com.cyanogenmod.settings.device/.DeviceSettings
Again, it's the missing symbol in libtvout.so.
I've attached all the files i used below.
EDIT: The missing symbol seems to be related to /system/lib/libskia.so.
It has _ZN8SkCanvas15setBitmapDeviceERK8SkBitmapb
but not _ZN8SkCanvas15setBitmapDeviceERK8SkBitmap
texten, can you provide the libskia.so from the kqb ROM please? Although I'm fairly sure changing it will just break everything...

Update: Tested under mazen's CM7 and it's looking better there.
tvoutserver and libraries are already included and they run without error. tvouthack also runs. I don't get a picture on the TV though.
The missing component atm is AriesParts.apk - I don't have a CM7 repository handy to compile it against.
Maybe mazen can help?

dbx4 said:
[..]
texten, can you provide the libskia.so from the kqb ROM please? Although I'm fairly sure changing it will just break everything...
Click to expand...
Click to collapse
i have already uploaded the whole kqb system folder
click to download

mazen912 kindly built an AriesParts.apk for CM7 for me to try out, thanks mazen912!
On CM7 AriesParts adds an entry "Device settings" in the settings menu but when you choose it crashes with:
Code:
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._setHdmiCableConnected:(I)V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHdmiEnabled:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHdmiSuspended:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHdmiCableConnected:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._SetTvoutHdmiStatus:(I)Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutHdmiSuspend:(Ljava/lang/String;)V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutEnableHDMISubtitleOn:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutPostHDMISubtitle:(Ljava/lang/String;)V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHDMISubtitleOn:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutDisableHDMISubtitleOn:()V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._TvOutPostHDMIBitmap:(Landroid/graphics/Bitmap;)V
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._isHdmiDualEnabled:()Z
W/dalvikvm( 1007): ERROR: Unable to find decl for native Landroid/hardware/TvOut;._SetTvoutHdmiDualStatus:(I)V
E/JNIHelp ( 1007): RegisterNatives failed for 'android/hardware/TvOut'
E/TvOut-JNI( 1007): ERROR: TvOut native registration failed
W/dalvikvm( 1007): JNI_OnLoad returned bad version (-1) in /system/lib/libtvout_jni.so 0x405140b8
W/dalvikvm( 1007): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Landroid/hardware/TvOut;
D/AndroidRuntime( 1007): Shutting down VM
W/dalvikvm( 1007): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 1007): FATAL EXCEPTION: main
E/AndroidRuntime( 1007): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 1007): at com.cyanogenmod.AriesParts.AriesParts.onCreate(AriesParts.java:55)
E/AndroidRuntime( 1007): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 1007): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
E/AndroidRuntime( 1007): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
E/AndroidRuntime( 1007): at android.app.ActivityThread.access$1500(ActivityThread.java:123)
E/AndroidRuntime( 1007): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
E/AndroidRuntime( 1007): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1007): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1007): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 1007): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1007): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1007): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime( 1007): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/AndroidRuntime( 1007): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1007): Caused by: java.lang.UnsatisfiedLinkError: unknown failure
E/AndroidRuntime( 1007): at java.lang.Runtime.loadLibrary(Runtime.java:434)
E/AndroidRuntime( 1007): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 1007): at android.hardware.TvOut.<clinit>(TvOut.java:53)
E/AndroidRuntime( 1007): ... 14 more
W/ActivityManager( 269): Force finishing activity com.cyanogenmod.AriesParts/.AriesParts
I'm assuming all those declarations in the first error lines need to be added to AriesParts/src/android/hardware/TvOut.java

Use at your risk

dbx4 said:
mazen912 kindly built an AriesParts.apk for CM7 for me to try out, thanks mazen912!
[..]
I'm assuming all those declarations in the first error lines need to be added to AriesParts/src/android/hardware/TvOut.java
Click to expand...
Click to collapse
cm7 by mazen > github , ariesparts.apk > https://github.com/code2k/android_device_samsung_ariesve/tree/master/AriesParts

https://github.com/code2k/android_d.../com/cyanogenmod/AriesParts/TvOutService.java
Can someone build this, because i am in ukraina and watch EM 2012

I added the missing declarations to AriesParts/src/android/hardware/TvOut.java:
Code:
public native void _setHdmiCableConnected(int paramInt);
public native boolean _isHdmiEnabled();
public native boolean _isHdmiSuspended();
public native boolean _isHdmiCableConnected();
public native boolean _SetTvoutHdmiStatus(int paramInt);
public native void _TvOutHdmiSuspend(String paramString);
public native boolean _TvOutEnableHDMISubtitleOn();
public native void _TvOutPostHDMISubtitle(String paramString);
public native boolean _isHDMISubtitleOn();
public native void _TvOutDisableHDMISubtitleOn();
public native void _TvOutPostHDMIBitmap(Bitmap paramBitmap);
public native boolean _isHdmiDualEnabled();
public native void _SetTvoutHdmiDualStatus(int paramInt);
Now AriesParts.apk starts up and you can turn on TV out - but nothing happens
Since there are no errors of any kind in the logcat and no picture on the TV, I'm giving up.
Maybe someone else wants to try his luck, I've attached the relevant files:
- AriesParts.apk goes into /system/app
- tvouthack goes into /system/bin
- tvoutserver needs to be running when you try to open Settings -> Device Settings. If the init.qcom.rc didn't start it properly, start it manually in Terminal

dbx4 said:
I added the missing declarations to AriesParts/src/android/hardware/TvOut.java:
Code:
public native void _setHdmiCableConnected(int paramInt);
public native boolean _isHdmiEnabled();
public native boolean _isHdmiSuspended();
public native boolean _isHdmiCableConnected();
public native boolean _SetTvoutHdmiStatus(int paramInt);
public native void _TvOutHdmiSuspend(String paramString);
public native boolean _TvOutEnableHDMISubtitleOn();
public native void _TvOutPostHDMISubtitle(String paramString);
public native boolean _isHDMISubtitleOn();
public native void _TvOutDisableHDMISubtitleOn();
public native void _TvOutPostHDMIBitmap(Bitmap paramBitmap);
public native boolean _isHdmiDualEnabled();
public native void _SetTvoutHdmiDualStatus(int paramInt);
Now AriesParts.apk starts up and you can turn on TV out - but nothing happens
Since there are no errors of any kind in the logcat and no picture on the TV, I'm giving up.
Maybe someone else wants to try his luck, I've attached the relevant files:
- AriesParts.apk goes into /system/app
- tvouthack goes into /system/bin
- init.qcom.rc and ueventd.gt-i9001.rc go into /
- tvoutserver needs to be running when you try to open Settings -> Device Settings. If the init.qcom.rc didn't start it properly, start it manually in Terminal
Click to expand...
Click to collapse
Whats about TvOut.java
and where to place init.qcom.rc and ueventd.gt-i9001.rc
there you forgot to at direction for pasting

Rom_Tester said:
Whats about TvOut.java
and where to place init.qcom.rc and ueventd.gt-i9001.rc
there you forgot to at direction for pasting
Click to expand...
Click to collapse
Yeah I just realized that the init.rc and ueventd.rc stuff must be packed into the kernel ramdisk.
I changed the mazen Cm7_Fixed2.1 boot.img accordingly and attached the new boot.img here. You will have to either replace the boot.img inside Cm7_Fixed2.1.zip before flashing it or if you're already running cm7 flash the new boot.img kernel with broodplank's quickflasher.
I'm done with this for now, maybe someone else can take a crack at it in the future...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

maybe there are also some codecs missing, i've found these files in many ics roms. these files are missing in ics-roms for our device.
Code:
[B][COLOR="Red"]from kqb[/COLOR][/B]
[B]/system/bin[/B]
tvoutserver
[B]/system/etc[/B]
vold.conf
[B]/system/lib[/B]
lib_tvoutengine.so
libtvout.so
libtvout_jni.so
libtvoutservice.so
[B][COLOR="Red"]from android 4[/COLOR][/B]
[B]/system/lib[/B]
libOMX.SEC.AVC.Decoder.aries.so
libOMX.SEC.AVC.Encoder.aries.so
libOMX.SEC.M4V.Decoder.aries.so
libOMX.SEC.M4V.Encoder.aries.so
libSEC_OMX_Core.aries.so

But we are talking at cm7 at the moment..

Related

[BUG ALERT!!] Missing Method Breaking ROMs: android.view.ScaleGestureDetector.onTouch

UPDATE: htcclay has a fix that works included in FastClean v1.2. Yay! I'm looking forward to seeing it filter back into FastTest.
**********************************************************************************************************
There is minor issue remaining. The maps in Wifi Tracker and My Tracks do not draw completely. This bug also exists in SuperD, but you do not see it in Cyanogen Mod v4.2.14.1, so it isn't the apps. You also do not see it in GMaps 4.0 on any of these ROMs, All maps are good. So it probably isn't the 10MB RAM hack either.
The same chunk in both remains "grid". Details and screenshots in this thread. Post #157.
***********************************************************************************************************
I've renamed the thread as Cal-El put it to me quite reasonably that the title I was using (which included the words "infecting like a virus") would frighten some people. I accept I was wrong in using words that could be misunderstood. Particularly as some here do not have English as their first language.
I'm sorry I caused some people confusion. I hope the new title is a better fit.
The Bug Details
This missing method bug is infecting more and more ROMs, perhaps as dev's copy each other's code.
ROMs known (by me) to be affected so far are:
FastTest (v2.4 to 2.6.1 - have not tested prior) - Verified personally and notified the dev providing logcat.
Complete Eclair v1.1 - Verified personally and notified the dev providing logcat.
Open Eclair v1.1.5 (Issue 147 New and still open) UPDATE: The bug is NOT seen in OE v1.2.1.
KingKlick AOSP2.1 v1.6.1 (post #2678)
SYMPTOM: The missing method is: android.view.ScaleGestureDetector.onTouchEvent
Can we please fix it and stop it spreading? It break apps like My Track, Wifi Tracker and CoPilot has also begun crashing but I haven't verified that one personally.
This is the error - same in all instances. It looks like Android's gesture support has been partially broken, though may just be a symptom of some other problem.
I/dalvikvm( 517): Could not find method
android.view.ScaleGestureDetector.onTouchEvent, referenced from method
com.google.android.maps.MapView.onTouchEvent
W/dalvikvm( 517): VFY: unable to resolve virtual method 231:
Landroid/view/ScaleGestureDetector;.onTouchEvent (Landroid/view/MotionEventZ
D/dalvikvm( 517): VFY: replacing opcode 0x6e at 0x001e
D/dalvikvm( 517): Making a copy of
Lcom/google/android/maps/MapView;.onTouchEvent code (96 bytes)
E/dalvikvm( 517): Could not find class
'android.view.ScaleGestureDetector', referenced from method
com.google.android.maps.MapView.setup
W/dalvikvm( 517): VFY: unable to resolve new-instance 84
(Landroid/view/ScaleGestureDetector in Lcom/google/android/maps/MapView;
D/dalvikvm( 517): VFY: replacing opcode 0x22 at 0x0065
D/dalvikvm( 517): Making a copy of Lcom/google/android/maps/MapView;.setup
code (272 bytes)
D/AndroidRuntime( 517): Shutting down VM
i can verify this is an issue on King's 1.6.1
here's the logcat when launching MyMaps Editor
HTML:
I/ActivityManager( 2730): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.androi
d.apps.mymaps/.MyMapsMain bnds=[3,338][77,417] }
I/ActivityManager( 2730): Start proc com.google.android.apps.mymaps for activity
com.google.android.apps.mymaps/.MyMapsMain: pid=3700 uid=10085 gids={3003, 1015
}
I/ActivityManager( 2730): Process com.android.settings (pid 3683) has died.
D/dalvikvm( 2714): GC freed 308 objects / 11736 bytes in 194ms
V/RenderScript_jni( 2855): surfaceDestroyed
V/RenderScript( 2855): setSurface 0 0 0x0
D/dalvikvm( 2714): GC freed 57 objects / 2624 bytes in 477ms
D/dalvikvm( 2714): GC freed 2 objects / 48 bytes in 229ms
I/dalvikvm( 3700): Could not find method android.view.ScaleGestureDetector.onTou
chEvent, referenced from method com.google.android.maps.MapView.onTouchEvent
W/dalvikvm( 3700): VFY: unable to resolve virtual method 231: Landroid/view/Scal
eGestureDetector;.onTouchEvent (Landroid/view/MotionEvent;)Z
D/dalvikvm( 3700): VFY: replacing opcode 0x6e at 0x001e
D/dalvikvm( 3700): Making a copy of Lcom/google/android/maps/MapView;.onTouchEve
nt code (96 bytes)
E/dalvikvm( 3700): Could not find class 'android.view.ScaleGestureDetector', ref
erenced from method com.google.android.maps.MapView.setup
W/dalvikvm( 3700): VFY: unable to resolve new-instance 84 (Landroid/view/ScaleGe
stureDetector;) in Lcom/google/android/maps/MapView;
D/dalvikvm( 3700): VFY: replacing opcode 0x22 at 0x0065
D/dalvikvm( 3700): Making a copy of Lcom/google/android/maps/MapView;.setup code
(272 bytes)
D/dalvikvm( 3700): GC freed 7520 objects / 432488 bytes in 99ms
D/AndroidRuntime( 3700): Shutting down VM
W/dalvikvm( 3700): threadid=3: thread exiting with uncaught exception (group=0x4
001e180)
E/AndroidRuntime( 3700): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 3700): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.google.android.apps.mymaps/com.google.android.apps.mymaps.MyMaps
Main}: android.view.InflateException: Binary XML file line #8: Error inflating c
lass com.google.android.maps.MapView
E/AndroidRuntime( 3700): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2496)
E/AndroidRuntime( 3700): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2512)
E/AndroidRuntime( 3700): at android.app.ActivityThread.access$2200(Activi
tyThread.java:119)
E/AndroidRuntime( 3700): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1863)
E/AndroidRuntime( 3700): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 3700): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 3700): at android.app.ActivityThread.main(ActivityThrea
d.java:4363)
E/AndroidRuntime( 3700): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 3700): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 3700): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 3700): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:618)
E/AndroidRuntime( 3700): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3700): Caused by: android.view.InflateException: Binary XML fi
le line #8: Error inflating class com.google.android.maps.MapView
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createView(Layout
Inflater.java:513)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createViewFromTag
(LayoutInflater.java:565)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.rInflate(LayoutIn
flater.java:618)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:407)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:320)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:276)
E/AndroidRuntime( 3700): at com.android.internal.policy.impl.PhoneWindow.
setContentView(PhoneWindow.java:198)
E/AndroidRuntime( 3700): at android.app.Activity.setContentView(Activity.
java:1622)
E/AndroidRuntime( 3700): at com.google.android.apps.mymaps.MyMapsMain.onC
reate(MyMapsMain.java:124)
E/AndroidRuntime( 3700): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1047)
E/AndroidRuntime( 3700): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2459)
E/AndroidRuntime( 3700): ... 11 more
E/AndroidRuntime( 3700): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:238)
E/AndroidRuntime( 3700): at java.lang.reflect.Constructor.constructNative
(Native Method)
E/AndroidRuntime( 3700): at java.lang.reflect.Constructor.newInstance(Con
structor.java:446)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createView(Layout
Inflater.java:500)
E/AndroidRuntime( 3700): ... 21 more
E/AndroidRuntime( 3700): Caused by: java.lang.NoClassDefFoundError: android.view
.ScaleGestureDetector
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.setup(MapView
.java:368)
E/AndroidRuntime( 3700): at com.google.android.maps.MapActivity.setupMapV
iew(MapActivity.java:187)
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:280)
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:255)
E/AndroidRuntime( 3700): ... 25 more
I/Process ( 2730): Sending signal. PID: 3700 SIG: 3
I/dalvikvm( 3700): threadid=7: reacting to signal 3
I/dalvikvm( 3700): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 2730): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 2730): Activity idle timeout for HistoryRecord{4403e008 com.g
oogle.android.apps.mymaps/.MyMapsMain}
ya know I noticed something with CoPilot on Sunday Morning, just plain old wouldnt work! i was kinda pissed. I think i was using OpenEclair sunday morning
How bad is this?? Is this something that can be fixed, or our we screwed?
nicknowsky said:
ya know I noticed something with CoPilot on Sunday Morning, just plain old wouldnt work! i was kinda pissed. I think i was using OpenEclair sunday morning
How bad is this?? Is this something that can be fixed, or our we screwed?
Click to expand...
Click to collapse
If this is that bad then someone should warn the developers about this.
Although i dont use any of the Forementioned apps =/
Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.
If they really were "developers". Whats the point in copying someone else's BAD code. If they have done it, why do you need to do it as well and clutter this world with irrelevant ****.
Bavilo said:
If they really were "developers". Whats the point in copying someone else's BAD code. If they have done it, why do you need to do it as well and clutter this world with irrelevant ****.
Click to expand...
Click to collapse
Just let them be, it will be moved or locked as usual if a mod thinks this is also irrelevant. When I heard virus I thought they meant a real virus was in the ROMs.
oh man i dont want a virus on my g1.....does norton make a antivirus for it? lol.
hope this code thing gets looked at tho
surely the "like a virus" bit should have made it apparent that it wasnt actually a virus...but it was spreading through 'direct contact' so to speak...
The dude should really change that so as to not scare anyone lol
Chahk said:
Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.
Click to expand...
Click to collapse
thanks for this. i can verify that pushing this jar file fixed MyMaps Editor.
edit: also fixed My Tracks and OpenTable. Thanks again.
Macrophage001 said:
The dude should really change that so as to not scare anyone lol
Click to expand...
Click to collapse
Someone in another thread actually was scared. He was asking if it could infect other system processes.
Macrophage001 said:
The dude should really change that so as to not scare anyone lol
Click to expand...
Click to collapse
i mean really! we already have the whole " does video work on this 2.1" rage and now we'll have "is that virus in this ROM" rage
kathi17 said:
Someone in another thread actually was scared. He was asking if it could infect other system processes.
Click to expand...
Click to collapse
lol see what i mean
thanks for the find. the king 1.6.1 is lagging the crap out of my fone ..
kathi17 said:
Someone in another thread actually was scared. He was asking if it could infect other system processes.
Click to expand...
Click to collapse
LOL! not to infect!... more likely to "affect"
How were you guys never concerned about viruses before?
I always scan the files before I put them on my phone anyway.
Chahk said:
Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.
Click to expand...
Click to collapse
Well, this actually worked for me as well... thank you!
josevtome said:
Well, this actually worked for me as well... thank you!
Click to expand...
Click to collapse
Thank Shafty, not me
Chahk said:
Thank Shafty, not me
Click to expand...
Click to collapse
hehehe right!... well you got the credit for the reference!

[APP REQUEST] IM.apk for FROYO

figured I would ask to get the work started on getting a working IM apk for froyo version such that it works over 3g as well as wifi....
heres a link to the eclair version of the im.apk that works perfectly
http://forum.xda-developers.com/showthread.php?t=577825&page=6
why not just use the eclair version?
The IM.apk out there force closes on Froyo thats why the eclair one cant be used.
I'm surprised a new version has not been made. Everyone said we would have to wait for the 2.2 source before anything can be done.
Well we have the source and not a peep anywhere on whether or not anyone is working on it.
Hummmm strange
I hope something comes out soon. All i need is trackball wake and the IM.apk an I will feel complete.
Redeye said:
I'm surprised a new version has not been made. Everyone said we would have to wait for the 2.2 source before anything can be done.
Well we have the source and not a peep anywhere on whether or not anyone is working on it.
Hummmm strange
I hope something comes out soon. All i need is trackball wake and the IM.apk an I will feel complete.
Click to expand...
Click to collapse
Out of honest curiosity, what is so great about the stock tmo IM app that people want it so bad?
gIMpSTa said:
Out of honest curiosity, what is so great about the stock tmo IM app that people want it so bad?
Click to expand...
Click to collapse
I thinkthe IM.apk uses push instead of a constant connection (meebo/fring/etc). As well as not having a "middle man" with your sign in details.
Like gtalk.
JCopernicus said:
I thinkthe IM.apk uses push instead of a constant connection (meebo/fring/etc). As well as not having a "middle man" with your sign in details.
Like gtalk.
Click to expand...
Click to collapse
Ahhh that makes sense. Well, the push connection at least does. As far as having a "middle man" have my sign in details... Meh. To each his own on that I guess.
i think the im.apk works better than anything ive found on the market.would love to see it on froyo
I would love to have it in my N1 2.2 too!!
JCopernicus said:
I thinkthe IM.apk uses push instead of a constant connection (meebo/fring/etc). As well as not having a "middle man" with your sign in details.
Like gtalk.
Click to expand...
Click to collapse
It uses messaging instead of data, which means low power consumption and it doesn't sign you out when switching from wifi. And, it just works well.
carnegie0107 said:
It uses messaging instead of data, which means low power consumption and it doesn't sign you out when switching from wifi. And, it just works well.
Click to expand...
Click to collapse
The original one does use sms, the modified one posted here used data.
so still no port?
i'd love this as well
alvinleephd said:
i'd love this as well
Click to expand...
Click to collapse
As would I. I'm finding other clients lacking. Google Talk with transports is okay, but not as reliable as I'd hoped for.
any hope for this?
enomthers rom supposedly has the android im app included... anybody try it out?
http://forum.xda-developers.com/showthread.php?t=614427
i just downloaded the enomother rom like sugested but im not seeing the android im apk in the app folder.... :-/
Someone try the one i posted in this thread and let me know.
Install it like a regular app, make sure u uninstall if u have one installed.
Force closes when you try to sign in, then the screen just sits on "signing in" with the wheel spinning.
Necro'd a dead thread
I too would like this, and to that end I've done a logcat of when the program opens and while it's logging in.
I/ActivityThread( 7947): Publishing provider com.google.android.voicesearch.VoiceSearchResultProvider: com.google.android.voicesearch.VoiceSearchResultProvider
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.getState, referenced from method com.android.im.service.RemoteImService.isNetworkAvailable
W/dalvikvm( 7941): VFY: unable to resolve virtual method 288: Landroid/net/NetworkConnectivityListener;.getState ()Landroid/net/NetworkConnectivityListener$State;
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x0002
D/dalvikvm( 7941): VFY: dead code 0x0005-000d in Lcom/android/im/service/RemoteImService;.isNetworkAvailable ()Z
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.getNetworkInfo, referenced from method com.android.im.service.RemoteImService.loadProviderSettings
W/dalvikvm( 7941): VFY: unable to resolve virtual method 287: Landroid/net/NetworkConnectivityListener;.getNetworkInfo ()Landroid/net/NetworkInfo;
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x000a
D/dalvikvm( 7941): VFY: dead code 0x000d-00e0 in Lcom/android/im/service/RemoteImService;.loadProviderSettings (J)Ljava/util/Map;
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.getNetworkInfo, referenced from method com.android.im.service.RemoteImService.networkStateChanged
W/dalvikvm( 7941): VFY: unable to resolve virtual method 287: Landroid/net/NetworkConnectivityListener;.getNetworkInfo ()Landroid/net/NetworkInfo;
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x0007
D/dalvikvm( 7941): VFY: dead code 0x000a-0073 in Lcom/android/im/service/RemoteImService;.networkStateChanged ()V
E/dalvikvm( 7941): Could not find class 'android.net.NetworkConnectivityListener', referenced from method com.android.im.service.RemoteImService.onCreate
W/dalvikvm( 7941): VFY: unable to resolve new-instance 65 (Landroid/net/NetworkConnectivityListener in Lcom/android/im/service/RemoteImService;
D/dalvikvm( 7941): VFY: replacing opcode 0x22 at 0x0015
D/dalvikvm( 7941): VFY: dead code 0x0017-0079 in Lcom/android/im/service/RemoteImService;.onCreate ()V
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.unregisterHandler, referenced from method com.android.im.service.RemoteImService.onDestroy
W/dalvikvm( 7941): VFY: unable to resolve virtual method 292: Landroid/net/NetworkConnectivityListener;.unregisterHandler (Landroid/os/HandlerV
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x0028
D/dalvikvm( 7941): VFY: dead code 0x002b-0038 in Lcom/android/im/service/RemoteImService;.onDestroy ()V
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.getState, referenced from method com.android.im.service.RemoteImService.onStartCommand
W/dalvikvm( 7941): VFY: unable to resolve virtual method 288: Landroid/net/NetworkConnectivityListener;.getState ()Landroid/net/NetworkConnectivityListener$State;
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x002b
D/dalvikvm( 7941): VFY: dead code 0x002e-0037 in Lcom/android/im/service/RemoteImService;.onStartCommand (Landroid/content/Intent;II)I
D/ImService( 7941): ImService started
D/AndroidRuntime( 7941): Shutting down VM
W/dalvikvm( 7941): threadid=1: thread exiting with uncaught exception (group=0x400207e0)
E/AndroidRuntime( 7941): FATAL EXCEPTION: main
E/AndroidRuntime( 7941): java.lang.NoClassDefFoundError: android.net.NetworkConnectivityListener
E/AndroidRuntime( 7941): at com.android.im.service.RemoteImService.onCreate(RemoteImService.java:116)
E/AndroidRuntime( 7941): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime( 7941): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime( 7941): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime( 7941): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7941): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7941): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 7941): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7941): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7941): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 7941): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 7941): at dalvik.system.NativeStart.main(Native Method)
I/ActivityManager( 112): Process android.process.acore (pid 7880) has died.
I/WindowManager( 112): WIN DEATH: Window{43ed5ed0 com.android.launcher/com.android.launcher.Launcher paused=false}
I/Process ( 7941): Sending signal. PID: 7941 SIG: 9
I/ActivityManager( 112): Process android.process.im (pid 7941) has died.
W/ActivityManager( 112): Scheduling restart of crashed service com.android.im/.service.RemoteImService in 9038ms
W/InputManagerService( 112): Window already focused, ignoring focus gain of: [email protected]

Spare parts app force closes.

All of a sudden, spare parts force closes! How can I get it working again?
-------------------------------------
Sent via the XDA Tapatalk App
Have you tried uninstall and reinstall?
I did. I might try uninstall and reboot before reinstall.
EDIT: no good. Sigh...
-------------------------------------
Sent via the XDA Tapatalk App
Punnisher_42 said:
I did. I might try uninstall and reboot before reinstall.
EDIT: no good. Sigh...
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Maybe the best way is to post a copy of the logcat when this happens. This happened to me as well and I tried uninstall/reinstall, but then it stopped happening so I cannot reproduce it anymore.
For logcat you will have to install the Android SDK and run ddms.bat with the phone connected to the PC via USB. Make sure that the phone as USB Debugging enabled (Settings->Applications->Development->USB Debugging), the use Device->Run Logcat on the ddms main window.
Another way that I found to inspect the logcat is via Android System Info app (free from Android Market).
j4mm3r said:
Maybe the best way is to post a copy of the logcat when this happens. This happened to me as well and I tried uninstall/reinstall, but then it stopped happening so I cannot reproduce it anymore.
For logcat you will have to install the Android SDK and run ddms.bat with the phone connected to the PC via USB. Make sure that the phone as USB Debugging enabled (Settings->Applications->Development->USB Debugging), the use Device->Run Logcat on the ddms main window.
Another way that I found to inspect the logcat is via Android System Info app (free from Android Market).
Click to expand...
Click to collapse
logcat comes up with the following when i click on spare parts:
I/WindowManager( 960): onOrientationChanged, rotation changed to 0
E/dun_service( 1776): Unable to open external port /dev/ttyHSUSB0 : No such device
W/InputManagerService( 960): Window already focused, ignoring focus gain of: [email protected]
E/dun_service( 1779): Unable to open external port /dev/ttyHSUSB0 : No such device
E/dun_service( 1781): Unable to open external port /dev/ttyHSUSB0 : No such device
I/ActivityManager( 960): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.androidapps.spare_parts/.SpareParts }
I/ActivityManager( 960): Start proc com.androidapps.spare_parts for activity com.androidapps.spare_parts/.SpareParts: pid=1784 uid=10100 gids={3003, 1015}
D/ddm-heap( 1784): Got feature list request
W/System.err( 1784): android.provider.Settings$SettingNotFoundException: always_finish_activities
W/System.err( 1784): at android.provider.Settings$System.getInt(Settings.java:631)
W/System.err( 1784): at com.androidapps.spare_parts.SpareParts.readAlwaysFinishesPreference(SpareParts.java:354)
W/System.err( 1784): at com.androidapps.spare_parts.SpareParts.onResume(SpareParts.java:451)
W/System.err( 1784): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1225)
W/System.err( 1784): at android.app.Activity.performResume(Activity.java:3560)
W/System.err( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2838)
W/System.err( 1784): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2866)
W/System.err( 1784): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
W/System.err( 1784): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
W/System.err( 1784): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
W/System.err( 1784): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1784): at android.os.Looper.loop(Looper.java:123)
W/System.err( 1784): at android.app.ActivityThread.main(ActivityThread.java:4203)
W/System.err( 1784): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1784): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 1784): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
W/System.err( 1784): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
W/System.err( 1784): at dalvik.system.NativeStart.main(Native Method)
W/dalvikvm( 1784): threadid=3: thread exiting with uncaught exception (group=0x2aadda10)
E/AndroidRuntime( 1784): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1784): java.lang.RuntimeException: Unable to resume activity {com.androidapps.spare_parts/com.androidapps.spare_parts.SpareParts}: java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2851)
E/AndroidRuntime( 1784): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2866)
E/AndroidRuntime( 1784): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
E/AndroidRuntime( 1784): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
E/AndroidRuntime( 1784): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 1784): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1784): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1784): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 1784): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1784): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1784): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1784): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E/AndroidRuntime( 1784): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1784): Caused by: java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime( 1784): at android.preference.ListPreference.setValueIndex(ListPreference.java:136)
E/AndroidRuntime( 1784): at com.androidapps.spare_parts.SpareParts.readWifiSleepPolicyPreference(SpareParts.java:344)
E/AndroidRuntime( 1784): at com.androidapps.spare_parts.SpareParts.onResume(SpareParts.java:453)
E/AndroidRuntime( 1784): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1225)
E/AndroidRuntime( 1784): at android.app.Activity.performResume(Activity.java:3560)
E/AndroidRuntime( 1784): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2838)
E/AndroidRuntime( 1784): ... 12 more
E/http ( 1784): Cannot get NetworkInfo, act as Wifi.
Click to expand...
Click to collapse
Punnisher_42 said:
logcat comes up with the following when i click on spare parts:
Click to expand...
Click to collapse
Hmm, clearly looks like the application craps out when initializing its settings. Usually an uninstall/reinstall should clear out any corrupted settings and let the app start again with defaults, but clearly this is not the case.
By the way, try this:
Uninstall spare parts and use Any Cut or something similar to create a short cut to the activity called Battery History (Settings - BatteryHistory), launch it and you will find that it gives you access to the same Battery History information as you would have got from Spare Parts (Spare Parts probably uses the same thing). After that reinstall Spare Parts and see if it can start.
I'm also trying to figure out some kind of manual way of clearing out application data on the internal storage. Maybe some of the devs can help and give some hints?
/j4mm3r
No joy j4mm3r. But at least I now can access the battery history which was basically the only reason I needed spate parts.
-------------------------------------
Sent via the XDA Tapatalk App

Google now

Just wondering if anyone has gotten google now to work on cm 9 yet?
Yes, but I heard voice search fails with Now.
xpmode said:
Yes, but I heard voice search fails with Now.
Click to expand...
Click to collapse
is this with the online only or offline google now.
Im using this slimmed down version of g apps in order thyo make space on / system http://search.4shared.com/q/1/gapps-ics-small+02_06-20120429
ok so i installed now and when it trys to run im getting the message "unfortunately google search has stopped"
did a logcat to see what was causing this, so far as i can make out its this bit
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
full logcat below.
Anyone have any idea what is happening and how i might begin to fix this.
nager( 267): Lock screen displayed!
D/AccelerometerListener( 460): enable(false)
D/SurfaceFlinger( 205): Screen about to return, flinger = 0x99918
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 35
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info BACK HOME recent* CLOCK >
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info back* home* recent clock* >
W/InputManagerService( 267): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity} from pid 471
I/ActivityManager( 267): Displayed android/com.android.internal.app.ResolverActivity: +158ms (total +58s450ms)
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 36
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x13000000 cmp=com.google.android.googlequicksearchbox/.SearchActivity} from pid 267
I/ActivityManager( 267): Start proc com.google.android.googlequicksearchbox for activity com.google.android.googlequicksearchbox/.SearchActivity: pid=2009 uid=10017 gids={3003, 1007, 3002, 1015}
D/OpenGLRenderer( 471): Flushing caches (mode 1)
D/OpenGLRenderer( 471): Flushing caches (mode 0)
D/dalvikvm( 267): GC_CONCURRENT freed 1308K, 28% free 7866K/10887K, paused 7ms+30ms
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
W/dalvikvm( 2009): threadid=1: thread exiting with uncaught exception (group=0x40a651f8)
E/AndroidRuntime( 2009): FATAL EXCEPTION: main
E/AndroidRuntime( 2009): java.lang.RuntimeException: Unable to instantiate application com.google.android.velvet.VelvetApplication: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:482)
E/AndroidRuntime( 2009): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4089)
E/AndroidRuntime( 2009): at android.app.ActivityThread.access$1300(ActivityThread.java:132)
E/AndroidRuntime( 2009): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime( 2009): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2009): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2009): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 2009): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2009): Caused by: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 2009): at android.app.Instrumentation.newApplication(Instrumentation.java:942)
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:477)
E/AndroidRuntime( 2009): ... 11 more
W/ActivityManager( 267): Force finishing activity com.google.android.googlequicksearchbox/.SearchActivity
I/Process ( 267): Sending signal. PID: 2009 SIG: 3
I/dalvikvm( 2009): threadid=3: reacting to signal 3
I/dalvikvm( 2009): Wrote stack traces to '/data/anr/traces.txt'
Click to expand...
Click to collapse
Try Google now in new build
http://forum.xda-developers.com/showthread.php?p=31218293
Hit thanks if helped

I need help to solve this game bug

Hi everyone,
I need help to solve a bug with the old gameloft games on android ICS and higher
the problem appear when i making a multitouch action while I run the game, then the game gives me force close. I noticed in the logcat and this is the error:
HTML:
01-03 16:48:15.726 E/AndroidRuntime( 4860): FATAL EXCEPTION: main
01-03 16:48:15.726 E/AndroidRuntime( 4860): java.lang.IllegalArgumentException: pointerIndex out of range
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.MotionEvent.nativeGetAxisValue(Native Method)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.MotionEvent.getX(MotionEvent.java:197 4)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at com.gameloft.android.TBFV.GloftGMHP.ML.GameGLSurfa ceView.onTouchEvent(GameGLSurfaceView.java:285)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.View.dispatchTouchEvent(View.java:554 1).
it is clear that this bug does not happen to me when I run the game in android 2.3 or lower
I would like to know if someone knows the way to fix this either modifying the app or modifying the android system.
thanks for your attention and I hope answers

Categories

Resources