Fruit Ninja and other THD games having FC problems - Xoom Themes and Apps

Hey all,
Upon no search results, this thread was created. I'm on team tiamat 1.1 and I cannot use any of my THD games like galaxy on fire and fruit ninja. I am wondering if the kernal broke this, but I do not know.
If this thread is in the wrong place, than please move it.
I did a log at and copied everything relating to fruit ninja fc here:
07-23 11:48:01.080 E/InputDispatcher( 152): channel '4108aa58 com.halfbrick.fruitninjathd/com.halfbrick.fruitninja.FruitNinjaActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
07-23 11:48:01.080 E/InputDispatcher( 152): channel '4108aa58 com.halfbrick.fruitninjathd/com.halfbrick.fruitninja.FruitNinjaActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
07-23 11:48:01.080 I/ActivityManager( 152): Process com.halfbrick.fruitninjathd (pid 28934) has died.
07-23 11:48:01.080 I/WindowManager( 152): WIN DEATH: Window{41b60f30 SurfaceView paused=false}
07-23 11:48:01.080 I/WindowManager( 152): WIN DEATH: Window{4108aa58 com.halfbrick.fruitninjathd/com.halfbrick.fruitninja.FruitNinjaActivity paused=false}
07-23 11:48:01.090 I/WindowManager( 152): WINDOW DIED Window{4108aa58 com.halfbrick.fruitninjathd/com.halfbrick.fruitninja.FruitNinjaActivity paused=false}
Thanx all!
-craby1925
Sent from my Xoom using Tapatalk

Related

Blank video, bad mencoder script?

Has anyone had issues playing videos in recent CM roms? Somewhere between android 1.5 and 1.6 files I've encoded with below broke. While sound plays, the video output is blank:
Code:
mencoder "$2" -o "$2.tmp.mp4" -vf dsize=480:352:2,scale=-8:-8,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts bframes=0:bitrate=512:threads=auto:global_header
ffmpeg -i "$2.tmp.mp4" -vcodec copy -acodec copy "$2.and.mp4"
I've checked and it's not the ramhack patch, and it's been tried on multiple players. Oddly a short video ripped from youtube works. I think it's an android 1.5 -> 1.6 change that requires new encoder lines. Can someone post mencoder/ffmpeg/etc commands that produce videos playable in a recent rom?
Logcat output from a failed attempt.
Code:
11-30 08:10:16.625 I/ActivityManager( 331): Start proc com.android.camera for activity com.android.camera/.MovieView: pid=1202 uid=10021 gids={1006, 1015, 2001, 3003}
11-30 08:10:21.515 I/ActivityManager( 331): Displayed activity com.android.camera/.MovieView: 5089 ms (total 5089 ms)
11-30 08:10:21.905 W/QCvdec ( 315): vdec: Creating H264 Decoder [0x9fae0]
11-30 08:10:21.905 W/QCvdec ( 315): vdec: NAL lenght [0]
11-30 08:10:21.905 W/QCvdec ( 315): vdec: START CODE....
11-30 08:10:21.975 W/ADSP_RTOS_SVC( 315): VDL_QDSP_rtos_event_cb
11-30 08:10:21.975 W/ADSP_RTOS_SVC( 315): VDL_QDSP_rtos_event_cb
11-30 08:10:23.066 W/AudioFlinger( 315): write blocked for 83 msecs
11-30 08:10:32.765 W/WindowManager( 331): Key dispatching timed out sending to com.android.camera/com.android.camera.MovieView
11-30 08:10:32.765 W/WindowManager( 331): Dispatch state: {{KeyEvent{action=1 code=66 repeat=0 meta=0 scancode=28 mFlags=8} to Window{43baf640 org.connectbot/org.connectbot.ConsoleActivity paused=false} @ 1259568605596 lw=Window{43baf640 org.connectbot/org.connectbot.ConsoleActivity paused=false} [email protected] fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false}}}
11-30 08:10:32.775 W/WindowManager( 331): Current state: {{null to Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false} @ 1259568632775 lw=Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false} [email protected] fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false}}}
11-30 08:10:34.255 I/ActivityManager( 331): ANR in process: com.android.camera (last in com.android.camera)
11-30 08:10:34.255 I/ActivityManager( 331): Annotation: keyDispatchingTimedOut
11-30 08:10:34.255 I/ActivityManager( 331): CPU usage:
11-30 08:10:34.255 I/ActivityManager( 331): Load: 4.83 / 4.41 / 3.88
11-30 08:10:34.255 I/ActivityManager( 331): CPU usage from 17087ms to 3261ms ago:
11-30 08:10:34.255 I/ActivityManager( 331): mediaserver: 58% = 39% user + 19% kernel / faults: 1703 minor 61 major
[snip: nothing useful]
11-30 08:10:34.835 I/Process ( 331): Sending signal. PID: 1202 SIG: 3
11-30 08:10:34.865 I/dalvikvm( 1202): threadid=7: reacting to signal 3
11-30 08:10:35.035 I/Process ( 331): Sending signal. PID: 331 SIG: 3
11-30 08:10:35.035 I/dalvikvm( 331): threadid=7: reacting to signal 3
[snip:more of the last line]
11-30 08:10:38.965 W/WindowManager( 331): Continuing to wait for key to be dispatched
11-30 08:10:44.245 W/WindowManager( 331): Key dispatching timed out sending to com.android.camera/com.android.camera.MovieView
11-30 08:10:44.255 W/WindowManager( 331): Dispatch state: {{KeyEvent{action=1 code=66 repeat=0 meta=0 scancode=28 mFlags=8} to Window{43baf640 org.connectbot/org.connectbot.ConsoleActivity paused=false} @ 1259568605596 lw=Window{43baf640 org.connectbot/org.connectbot.ConsoleActivity paused=false} [email protected] fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{43b0c3b8 Panel:com.android.camera/com.android.camera.MovieView paused=false}}}
11-30 08:10:44.255 W/WindowManager( 331): Current state: {{null to Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false} @ 1259568644259 lw=Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false} [email protected] fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{43b0c3b8 Panel:com.android.camera/com.android.camera.MovieView paused=false}}}
11-30 08:10:45.485 I/WindowManager( 331): WIN DEATH: Window{43adbe58 com.android.browser/com.android.browser.BrowserActivity paused=false}
11-30 08:10:50.045 I/ActivityManager( 331): Start proc com.android.bugreport for broadcast com.android.bugreport/.BugReportReceiver: pid=1213 uid=10034 gids={1007, 1015}
11-30 08:10:50.275 I/ActivityManager( 331): Process com.android.browser (pid 673) has died.
11-30 08:10:50.675 W/WindowManager( 331): Continuing to wait for key to be dispatched
11-30 08:10:50.675 W/WindowManager( 331): No window to dispatch pointer action 1
11-30 08:10:52.125 I/ActivityManager( 331): Killing process com.android.camera (pid=1202) at user's request
You sure that that *ever* worked? I think I tried something like that once and got the same result as you. And this would have been an older version of android, probably 1.0 or 1.1. As far as I can tell, the only limitation is the decoder chip itself -- the android version shouldn't make any difference.
Anyway, this should work: (notice the -x264encopts...)
Code:
mencoder "$2" -o "$2.tmp.mp4" -vf dsize=480:352:2,scale=-8:-8,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=512:global_header:threads=auto:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh
lbcoder said:
You sure that that *ever* worked? I think I tried something like that once and got the same result as you. And this would have been an older version of android, probably 1.0 or 1.1. As far as I can tell, the only limitation is the decoder chip itself -- the android version shouldn't make any difference.
Anyway, this should work: (notice the -x264encopts...)
Code:
mencoder "$2" -o "$2.tmp.mp4" -vf dsize=480:352:2,scale=-8:-8,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts nocabac:level_idc=30:bframes=0:bitrate=512:global_header:threads=auto:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh
Click to expand...
Click to collapse
No dice, the video is still black. Which rom / device have you used this with? If CM, did you merge in the HTC recovery?
Fyi I've tried videos encoded and sucessfully played in earlier roms, still black...so either something broke in the decoder chip driver, the chip itself is kaput or there's a setting somewhere causing this.
Fnorder said:
No dice, the video is still black. Which rom / device have you used this with? If CM, did you merge in the HTC recovery?
Fyi I've tried videos encoded and sucessfully played in earlier roms, still black...so either something broke in the decoder chip driver, the chip itself is kaput or there's a setting somewhere causing this.
Click to expand...
Click to collapse
I wouldn't go near a CM-mod. Too slow/unstable/unreliable/broken. Try a stock ADP1 image. That line I gave you will *definitely* give you a compatible video.

TV Watching Issue

I've problem watching TV :
Video starts, works , stops, start again .. many times and at the end i get a b lack screen
logcat just before last stop :
E/QCvdec ( 151): Flush VDL_stats_q: stats_ptr 0xcfb50
E/QCOmxcore( 151): OMXCORE API : Free Handle ccc6c
E/QCOmxcore( 151): Unloading the dynamic library for OMX.qcom.video.decoder.avc
E/MediaPlayer( 535): internal/external state mismatch corrected
Note : i get this problem with all 2.1 ROM i tried , but it works with Modaco 3.2
Tkx for help
A+
Jpq

[Q] Gueste2x v3.6 Appdrawer lag --> please close the thread

I "solved" the problem. I updated to a newer version.
Hi,
maybe someone can help. I am using Gueste2x Hybrid Revolution v3.6 Rom.
This ROM is really great and works pretty smooth.
...But, sometimes the appdrawer lags terribly.
I don't know if the an app is causing the lag.
I only got the lag within the appdrawer.
I got the following log messages:
E/GraphicsJNI( 2195): VM won't let us allocate 69120 bytes
D/dalvikvm( 2195): GC_FOR_MALLOC freed <1K, 53% free 4775K/9991K, external 39117K/40895K, paused 28ms
D/dalvikvm( 2195): GC_EXTERNAL_ALLOC freed <1K, 53% free 4775K/9991K, external 39117K/40895K, paused 34ms
E/dalvikvm-heap( 2195): 69120-byte external allocation too large for this process.
I am using BB/RIL 0725. I have also attached the log file.
Thanks for your help.

Fixing video streaming

Alright. So I'm sure that at least some of you people out there can't watch Netflix twitch.tv etc. And what makes me unsure is that there hasn't been a thread on this so here we go.
I've been trying to fix video streaming on cm10, miui, aokp etc. But i haven't found anything that works as of yet. In hoping that someone here knows how to fix this or can collaborate with me in finding a way to fix this!
Thanks for reading, and any help would be greatly appreciated
Sparky
Sent from my HTC Desire C using xda app-developers app
It could be down to something like gralloc? That's what renders onscreen, isn't the Desire C source code hacked to make this even remotely work? Have you looked at a logcat when it tries to play bro?
if you can attach one to your next post, so I can take a look, as I'm away from my Desire C as of now.
Yah, I'll give logcat soon, you will have to figure it out though as I don't really know what to look for in a logcat...
Sent from my GT-P3100 using xda app-developers app
Was a fix found for video streaming?
It needs to be fixed. Streams not watchable on our phones.
It will be great if you guys fix the bug.
I know this is older but I'd also like to see it fixed. It seems the decoder is incompatible.
Code:
I/ESQueue ( 119): found AAC codec config (48000 Hz, 2 channels)
I/avc_utils( 119): found AVC codec config (1280 x 720, Baseline-profile level 3.1)
E/OMXNodeInstance( 119): OMX_GetExtensionIndex failed
E/ACodec ( 119): [OMX.qcom.video.decoder.avc] configureCodec returning error -1010
E/NuPlayer( 119): Received error from video decoder, aborting playback.
E/NuPlayer( 119): video track encountered an error (-2147483648)
E/MediaPlayer(22126): error (1, -2147483648)
E/MediaPlayer(22126): Error (1,-2147483648)
D/Twitch (22126): Error during playback: 1, -2147483648
I believe that's an issue with the twitch app.
Edit: Another logcat error which seems related:
Code:
W/WVMExtractor( 119): Failed to open libwvm.so

"Android Package" not loaded for any app in oreo.

"Android Package" is loaded for all the app in Android M but not for Android O. I am trying to hook a method when the "Android Package" is loaded for an app. But it is never loaded for any app. It is loading for any active xposed module though.
Code:
public class Bypass implements IXposedHookLoadPackage {
@Override
public void handleLoadPackage(final XC_LoadPackage.LoadPackageParam lpparam) throws Throwable {
// I am trying hook a method on PackageParser class called parseActivity.
final Class<?> packageParserClass = XposedHelpers.findClass(
"android.content.pm.PackageParser", lpparam.classLoader);
final Class<?> packageClass = XposedHelpers.findClass(
"android.content.pm.PackageParser.Package", lpparam.classLoader);
Method parseActivity = (Util.isOreoOrGreater())
? XposedHelpers.findMethodBestMatch(packageParserClass, "parseActivity", packageClass, Resources.class,
: XposedHelpers.findMethodBestMatch(packageParserClass, "parseActivity", packageClass, Resources.class, XmlPullParser.class, AttributeSet.class, Integer.class, String[].class, boolean.class, Boolean.class);
// This method gets hooked only if "Android package" is loaded for any app because parseActivity is method of "PackageParser" which has package "android.content.pm";
XposedBridge.hookMethod(parseActivity, new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
XposedBridge.log("lpparam packagename: "+ lpparam.packageName + ", app packageName: " + packageName);
}
}
}
Here's what I get in the log file inside Xposed App.
On Android M
lpparam packagename: android, app packageName: com.android.providers.calendar
lpparam packagename: android, app packageName: com.android.contacts
lpparam packagename: android, app packageName: com.android.providers.contacts
lpparam packagename: android, app packageName: com.android.dialer
lpparam packagename: android, app packageName: com.android.providers.downloads
lpparam packagename: android, app packageName: com.google.android.gsf.login
lpparam packagename: android, app packageName: com.google.android.gsf
lpparam packagename: android, app packageName: com.android.launcher3
lpparam packagename: android, app packageName: com.android.managedprovisioning
lpparam packagename: android, app packageName: com.android.providers.media
lpparam packagename: android, app packageName: com.android.packageinstaller
lpparam packagename: android, app packageName: com.google.android.gms
lpparam packagename: android, app packageName: com.android.settings
lpparam packagename: android, app packageName: com.sample.myxposedmodule
On Android O
lpparam packagename: android, app packageName: com.sample.myxposedmodule
Any Idea whats happening?
Xposed APK used - XposedInstaller_3.1.5.apk
Oreo Version - 8.0
Xposed sdk - xposed-v90-sdk26-x86

Categories

Resources