[Solved][Q]How To FIX yourself the laggy deodexed browser.apk - Galaxy S II Q&A, Help & Troubleshooting

How To FIX yourself the laggy deodexed browser.apk :
Credits :
pulser-g2 found this FIX.
He gave us the .smali files to modify.
Here is a link from his original answer : showpost.php?p=15317327&postcount=15
Click to expand...
Click to collapse
1/ Download "smali from browser.apk.zip" at the end of the post
Extract it in a folder, you should have 3 files :
* BitmapWebViewSurface3D.smali
* BitmapWebViewLayout.smali
* BitmapWebView.smali
2/ Download smali-1.2.6.jar and baksmali-1.2.6.jar : HERE
and rename them in smali.jar and baksmali.jar
3/ Create a folder with :
baksmali
smali
your stock deodexed browser.apk (with the Lag bug)
Click to expand...
Click to collapse
4/ With 7-Zip open (without extracting) your stock browser.apk and drag and drop classes.dex in the folder with baksmali
Don't close 7-Zip windows
5/ Open a CMD promt (start > run > cmd) and goto your folder : cd C:\path of your folder\
6/ Then run the command: (don't close CMD)
Code:
java -Xmx512m -jar baksmali.jar classes.dex
An OUT folder is created
7/ Copy the 3 .smali files in \out\com\android\browser and overwrite if prompted
8/ Then run the command :
Code:
java -Xmx512m -jar smali.jar out -o new_classes.dex
A new_classes.dex fils is created
9/ Delete out folder and classes.dex
10/ rename new_classes.dex in classes.dex
11/ In the 7-Zip windows : delete classes.dex and drag and drop the classes.dex you renamed. You can close 7-Zip
not an obligation : (using my how to Extract ...) :
12/ Put your Moded browser.apk in _Kit_Deodexage/app/ then run Deodex_Gingerbread.cmd in order to zipalign
13/ in Deodex_app you have your FIXED deodexed browser.apk
the end
Edit : fixed KF2 browser.apk added (attached)
This fix is not working anymore on 2.3.4 KG1 and KG2

sicopat said:
Hi,
Hope some Devs can help me.
I saw a fix for laggy browser.apk in the Lite'ningROM Thread.
I made a simple deodexed KF1 ROM and i have this trouble :
The scrolling function of the browser is very laggy. I didn't have this trouble with official or customROM.
As you see I am a noob.
Any help will be appreciate ...
SicO
Click to expand...
Click to collapse
Custom ROMs use an older browser.apk usually. I'm going to try work out the slow-down cause some time.

pulser_g2 said:
Custom ROMs use an older browser.apk usually. I'm going to try work out the slow-down cause some time.
Click to expand...
Click to collapse
Thanks Pulser for this fast answer.
If I find an old Browser.apk.
I will have to re sign it ?
Edit : I tried with one from a customROM "Bmarko-Muveszur-KE7".
I have Force close : "com.android.browser" (witch seem to be the cache ?)

sicopat said:
Thanks Pulser for this fast answer.
If I find an old Browser.apk.
I will have to re sign it ?
Click to expand...
Click to collapse
No, it would work fine, provided the signatures in your rom were the same to begin with.

pulser_g2 said:
No, it would work fine, provided the signatures in your rom were the same to begin with.
Click to expand...
Click to collapse
Edit : I take the Laggy Browser fix "Browser.apk" from LitePro (for Lite'ningROM 1.0) :
The apk is starting.
When I touch the screen, to scroll, to choose a favourite, I have some "force close" of com.android.browser.
If I touch any link, no force close, same if I don't touch anything
any idea ?

Any other idea ?
this is the logcat :
D/PowerManagerService( 2803): setLightBrightness : mButtonLight : 69
I/InputDispatcher( 2803): Dropped event because of pending overdue app switch.
I/InputDispatcher( 2803): Dropped event because of pending overdue app switch.
I/InputDispatcher( 2803): Dropped event because of pending overdue app switch.
I/InputDispatcher( 2803): Dropped event because of pending overdue app switch.
I/HomeKeyDoubleClick( 2803): addAction() is called. action = 0 canceled = fals
e
I/HomeKeyDoubleClick( 2803): in addAction(), now add
I/HomeKeyDoubleClick( 2803): in addAction(), down event. now call postCheckRunna
ble().
I/HomeKeyDoubleClick( 2803): postCheckRunnable() is called
I/HomeKeyDoubleClick( 2803): in postCheckRunnable(), now posting.
I/HomeKeyDoubleClick( 2803): in postCheckRunnable(), posting success.
I/HomeKeyDoubleClick( 2803): addAction() is called. action = 1 canceled = fals
e
I/HomeKeyDoubleClick( 2803): in addAction(), now add
W/PowerManagerService( 2803): Timer 0x7->0x3|0x0
I/PowerManagerService( 2803): Ulight 7->3|0
D/PowerManagerService( 2803): setLightBrightness : mButtonLight : 0
E/lights ( 2803): write_int: path /sys/devices/virtual/misc/melfas_touchkey/bri
ghtness, value 2
D/PowerManagerService( 2803): onSensorChanged: light value: 100
D/BatteryService( 2803): update start
E/BatteryService( 2803): TMU status = 0
D/BatteryService( 2803): updateBattery level:64 scale:100 status:2 health:2 pres
ent:true voltage: 3927 temperature: 340 technology: Li-ion AC powered:false USB
powered:true icon:17302229
I/StatusBarPolicy( 2918): BAT. S:2 H:2
I/InputReader( 2803): dispatchTouch::touch event's action is 0
I/InputDispatcher( 2803): Delivering touch to current input target: action: 0, c
hannel '4096ffc8 D├®sol├® ! (server)'
I/PowerManagerService( 2803): Ulight 3->7|0
D/PowerManagerService( 2803): setLightBrightness : mButtonLight : 69
E/lights ( 2803): write_int: path /sys/devices/virtual/misc/melfas_touchkey/bri
ghtness, value 1
I/InputReader( 2803): dispatchTouch::touch event's action is 1
I/InputDispatcher( 2803): Delivering touch to current input target: action: 1, c
hannel '4096ffc8 D├®sol├® ! (server)'
I/Launcher( 3011): onWindowFocusChanged(true)
I/HomeKeyDoubleClick( 2803): run() is called ***********************************
******************
I/HomeKeyDoubleClick( 2803): isSingleClick() is called
I/HomeKeyDoubleClick( 2803): list value = (0) 0 (1) 1
I/HomeKeyDoubleClick( 2803): in isSingleClick() true
I/HomeKeyDoubleClick( 2803): -------------------------------single clicked
I/HomeKeyDoubleClick( 2803): singleClickJob() is called.
I/HomeKeyDoubleClick( 2803): in singleClickJob(), mSentHomeDownToApp is false.
Now call launchHomeFromHotKey()
I/HomeKeyDoubleClick( 2803): launchHomeFromHotKey() is called.
I/HomeKeyDoubleClick( 2803): in launchHomeFromHotKey(), now call startDockOrHo
me(), #2
I/HomeKeyDoubleClick( 2803): reset() is called
I/HomeKeyDoubleClick( 2803): in reset() after reset, mPosted = false mHomeActi
onList.size() = 0
I/ActivityManager( 2803): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.HOME] flg=0x10200000 cmp=com.sec.android.app.twlauncher
/.Launcher } from pid 2803
I/Process ( 6547): Sending signal. PID: 6547 SIG: 9
E/com.samsung.app( 3851): [MSC]>>> WeatherWidgetProvider.java:303 [0:0] onReceiv
e()@@@ sec.android.intent.action.HOME_PAUSE
E/com.samsung.app( 3851): [MSC]>>> WidgetIdManager.java:39 [0:0] AccuWeatherCloc
kWidgetID_Length
E/com.samsung.app( 3851): [MSC]>>> WidgetIdManager.java:40 [0:0] getPrefIDs() :
length = 0
E/com.samsung.app( 3851): [MSC]>>> WeatherWidgetProvider.java:1511 [0:0] disable
handler
D/PhotoAppWidgetProvider( 3807): OnReceive Start
D/PhotoAppWidgetProvider( 3807): PauseSlideShow Start
D/CalendarAppWidgetProviderAgenda( 3353): ACTION_HOME_PAUSE: false
D/CLIPBOARD( 2803): Hide Clipboard dialog inside hideSoftInput() !
I/Launcher( 3011): onResume(). mIsNewIntent : true screenOff: false
E/com.samsung.app( 3851): [MSC]>>> WeatherWidgetProvider.java:303 [0:0] onReceiv
e()@@@ sec.android.intent.action.HOME_RESUME
E/com.samsung.app( 3851): [MSC]>>> WidgetIdManager.java:39 [0:0] AccuWeatherCloc
kWidgetID_Length
E/com.samsung.app( 3851): [MSC]>>> WidgetIdManager.java:40 [0:0] getPrefIDs() :
length = 0
D/PhotoAppWidgetProvider( 3807): OnReceive Start
D/PhotoAppWidgetProvider( 3807): RestartSlideShow Start
D/dalvikvm( 3011): GC_EXTERNAL_ALLOC freed 554K, 53% free 3976K/8327K, external
11760K/11775K, paused 27ms
D/Buddies--------------------------->( 3867): Service:OnReceive ACTION_HOME_RESU
ME called
I/ActivityManager( 2803): Process com.android.browser (pid 6547) has died.
I/WindowManager( 2803): WIN DEATH: Window{40c23fa0 com.android.browser/com.andro
id.browser.BrowserActivity paused=false}
I/WindowManager( 2803): WIN DEATH: Window{4097c530 SurfaceView paused=false}
W/GpsLocationProvider( 2803): Unneeded remove listener for uid 1000
E/lights ( 2803): write_int: path /sys/devices/virtual/misc/melfas_touchkey/bri
ghtness, value 2
W/PowerManagerService( 2803): Timer 0x7->0x3|0x0
I/PowerManagerService( 2803): Ulight 7->3|0
D/PowerManagerService( 2803): setLightBrightness : mButtonLight : 0
C:\ADB\platform-tools>
Click to expand...
Click to collapse

Ok, thanks
Problem solved re signing the Browser.apk from Lite'ningROM.
Thanks to LitePro for this (old ?) version of the browser.apk

I'm also having this issue. Any chance you could upload the apk somewhere?
Cheers

dfube said:
I'm also having this issue. Any chance you could upload the apk somewhere?
Cheers
Click to expand...
Click to collapse
Here is my Browser.apk.
If not working, you could try copying the META_INF folder from your original Browser.apk to mine and re zipallign. Or yust resign my apk with the same signature you used for your rom

Hi
Do you use a script to deodex or do you make all apps manually?

Mackzen said:
Hi
Do you use a script to deodex or do you make all apps manually?
Click to expand...
Click to collapse
I used a script. Give a try to SGS deodex script.

sicopat said:
I used a script. Give a try to SGS deodex script.
Click to expand...
Click to collapse
thanks, will try...

sicopat said:
I used a script. Give a try to SGS deodex script.
Click to expand...
Click to collapse
hi do you mind to share the script with us? does it also zipalign the rom?
the reason is i would like to deodex the rom to apply my own customisations, but most of the roms here are already too heavily modified.

If you pulser_g2 read me
I knwow you found the way to fix deodexed new versions of browser.apk.
I can just replace the META_INF folder from yours with mine in order to use your fix.
But I would be really pleased in fixing myself the browser.apk.
Could you share your experience ?
Thanks

I ported back a couple of the smali files from the KE2 version of the browser (or indeed a working one) into the new version.
The files ported from older version to newer were:
BitmapWebViewSurface3D.smali
BitmapWebViewLayout.smali
BitmapWebView.smali
If done correctly, it gives you a non-lagged up browser on KF2 or whatever you use.
P

pulser_g2 said:
I ported back a couple of the smali files from the KE2 version of the browser (or indeed a working one) into the new version.
The files ported from older version to newer were:
BitmapWebViewSurface3D.smali
BitmapWebViewLayout.smali
BitmapWebView.smali
If done correctly, it gives you a non-lagged up browser on KF2 or whatever you use.
P
Click to expand...
Click to collapse
Many many thanks, once again.
I 'a going to try it too.
I will add this FIX in my thread How TO deodex and add you to credits, once again lol.
I will give the link to your previous post

Edit in first post with my How To for fixing the Lagy Browser using pulser-g2 FIX

"1/ Download "smali from browser.apk.zip" at the end of the post
Extract it in a folder, you should have 3 files :
* BitmapWebViewSurface3D.smali
* BitmapWebViewLayout.smali
* BitmapWebView.smali"
Where's the dowload link?

nitrozk said:
"1/ Download "smali from browser.apk.zip" at the end of the post
Extract it in a folder, you should have 3 files :
* BitmapWebViewSurface3D.smali
* BitmapWebViewLayout.smali
* BitmapWebView.smali"
Where's the dowload link?
Click to expand...
Click to collapse
Is that the link in the point no.2
Edit : Nope . am wrong

nitrozk said:
"1/ Download "smali from browser.apk.zip" at the end of the post
Extract it in a folder, you should have 3 files :
* BitmapWebViewSurface3D.smali
* BitmapWebViewLayout.smali
* BitmapWebView.smali"
Where's the dowload link?
Click to expand...
Click to collapse
Jist added end of first post

Related

[Solved] Compiling Apps Problem

I've been trying to compile AOSP apps individually and that doesn't seem to work. These are the steps I took:
1. Install GCC and Java
2. The repo commands (sync from android git etc)
3. make Gallery3D
4. push Gallery3D.apk /system/app/
So as you can see, compilation went on fine. And pushing to my phone also went fine (CM 5.0.4.1). However, when I try to run Gallery3D, I got FC. Here's my logcat:
I/ActivityManager( 93): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.cooliris.media/.Gallery }
V/RenderScript_jni( 6329): surfaceDestroyed
V/RenderScript( 6329): setSurface 0 0 0x0
D/ViewFlipper( 6329): updateRunning() mVisible=false, mStarted=true, mUserPresent=true, mRunning=false
D/LocationManager( 6198): removeUpdates: listener = [email protected]
D/NetworkLocationProvider( 93): removeListener(): wallpaper
D/NetworkLocationProvider( 93): enableLocationTracking(): false
E/NetworkLocationProvider( 93): releaseCheckLocationLock: wake lock has already been released
D/SensorManager(18699): found sensor: BMA150 3-axis Accelerometer, handle=0
D/SensorManager(18699): found sensor: AK8973 3-axis Magnetic field sensor, handle=1
D/SensorManager(18699): found sensor: AK8973 Orientation sensor, handle=2
D/SensorManager(18699): found sensor: CM3602 Proximity sensor, handle=4
D/SensorManager(18699): found sensor: CM3602 Light sensor, handle=5
W/ResourceType(18699): Failure getting entry for 0x7f02003a (t=1 e=58) in package 0: 0xffffffb5
D/AndroidRuntime(18699): Shutting down VM
W/dalvikvm(18699): threadid=3: thread exiting with uncaught exception (group=0x4001b178)
E/AndroidRuntime(18699): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime(18699): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cooliris.media/com.cooliris.media.Gallery}: android.content.res.Resources$NotFoundException: Resource ID #0x7f02003a
E/AndroidRuntime(18699): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
E/AndroidRuntime(18699): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
E/AndroidRuntime(18699): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/AndroidRuntime(18699): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime(18699): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(18699): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(18699): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(18699): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(18699): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(18699): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(18699): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(18699): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18699): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f02003a
E/AndroidRuntime(18699): at android.content.res.Resources.getValue(Resources.java:891)
E/AndroidRuntime(18699): at android.content.res.Resources.getDrawable(Resources.java:579)
E/AndroidRuntime(18699): at com.cooliris.media.HudLayer.<init>(HudLayer.java:121)
E/AndroidRuntime(18699): at com.cooliris.media.GridLayer.<init>(GridLayer.java:134)
E/AndroidRuntime(18699): at com.cooliris.media.Gallery.onCreate(Gallery.java:78)
E/AndroidRuntime(18699): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime(18699): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
E/AndroidRuntime(18699): ... 11 more
I/Process ( 93): Sending signal. PID: 18699 SIG: 3
I/dalvikvm(18699): threadid=7: reacting to signal 3
I/dalvikvm(18699): Wrote stack trace to '/data/anr/traces.txt'
I/DumpStateReceiver( 93): Added state dump to 1 crashes
Click to expand...
Click to collapse
Besides this, I noticed that my Gallery3D.apk is smaller size(~500kb) than the one which comes with CM (~700kb).
Any help guys? Been trying to figure this out and googling. What did I miss?
arctu said:
I've been trying to compile AOSP apps individually and that doesn't seem to work. These are the steps I took:
1. Install GCC and Java
2. The repo commands (sync from android git etc)
3. make Gallery3D
4. push Gallery3D.apk /system/app/
So as you can see, compilation went on fine. And pushing to my phone also went fine (CM 5.0.4.1). However, when I try to run Gallery3D, I got FC. Here's my logcat:
Besides this, I noticed that my Gallery3D.apk is smaller size(~500kb) than the one which comes with CM (~700kb).
Any help guys? Been trying to figure this out and googling. What did I miss?
Click to expand...
Click to collapse
Q&A section ma man
I believe this is the right section, it's a question on compiling/development. I believe Gallery3D might be lacking mdpi images, and you're compiling for mdpi devices (may be wrong, not able to check now).
What you can do is to do a search for "PRODUCT_LOCALES", within all your files, I think it's in build.mk or product.mk. You will see that the default is mdpi, follow by <something> (can't remember now) += nodpi. Add a <something> += hdpi after the nodpi line, and compile and push again. I had a similar issue and was able to fix it this way, with advice from cyanogen.
Thanks Wysie. That helps!
To those facing the same problem here are the exact steps I took (using terminal and nano):
1. Open/Edit build/core/product_config.mk:
nano build/core/product_config.mk
Click to expand...
Click to collapse
2. Find:
PRODUCT_LOCALES += nodpi
Click to expand...
Click to collapse
3. Add in after that line:
PRODUCT_LOCALES += hdpi
Click to expand...
Click to collapse
4. Save and Exit: Ctrl+X
5. Run make again:
make Gallery3D
Click to expand...
Click to collapse
If you did everything correctly, and have compiled before, the compiler should write this at the beginning:
*** Build configuration changed: "generic-eng-{mdpi,nodpi}" -> "generic-eng-{mdpi,nodpi,hdpi}"
*** Forcing "make installclean"...
*** Done with the cleaning, now starting the real build.
Click to expand...
Click to collapse
It works now. Hope this helps the others.
arctu said:
Thanks Wysie. That helps!
To those facing the same problem here are the exact steps I took (using terminal and nano):
1. Open/Edit build/core/product_config.mk:
2. Find:
3. Add in after that line:
4. Save and Exit: Ctrl+X
5. Run make again:
If you did everything correctly, and have compiled before, the compiler should write this at the beginning:
It works now. Hope this helps the others.
Click to expand...
Click to collapse
cheers, helped me out
after quick grep to confirm I used sed
Code:
sed s/PRODUCT_LOCALES\ \+\=\ nodpi/PRODUCT_LOCALES\ \+\=\ hdpi/ build/core/product_config.mk -i

[Sorta Tutorial] Netflix Stupid Simple Install Explanation-No tutorial needed

The latest version of the Netflix android app (1.2.1) seems to work fine on any 2.3 vibrant roms out of the box, no mods needed!
The previous tutorial is now obsolete, all you need to do is install any 2.3 rom and Netflix should work directly from the market, or you can download it here: http://bit.ly/mA0ar0. Enjoy. Btw, from my personal experience, I have yet to find a 2.2 rom where Netflix actually works, but this shouldn't be a problem if you install a ginger-rom or wait for the official sammy 2.3 update (if it ever happens lmao).
Reserved for OP
And another update uninstalled flash all together and it still works fine.. also i don't think it was a data toggle that helped but more locking the device and really unlocking but i think that's just because I'm running miui! And thanks for the props!!! much appreciated...
Sent from my HTC Vision using XDA Premium App
n1gh7mar3 said:
And another update uninstalled flash all together and it still works fine.. also i don't think it was a data toggle that helped but more locking the device and really unlocking but i think that's just because I'm running miui! And thanks for the props!!! much appreciated...
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
By unlocking the device you mean, actually pressing the lock button on the side of the phone and unlocking it? I know, stupid questions, but I wasn't sure lol. And no problem on the credit or the tutorial, it was the least I could for the guy who discovered how to get netflix running on the Vib!
works!
I did what the tutorial said on my vibrant running simply honey 3.3 update 1. at first i got all the weird color lines on my phone then i toggled data and air plane mode off and on and it worked...i subscribed to netflix, only 7.99$ not too bad. super clear video, im loving it..
gramlights4 said:
I did what the tutorial said on my vibrant running simply honey 3.3 update 1. at first i got all the weird color lines on my phone then i toggled data and air plane mode off and on and it worked...i subscribed to netflix, only 7.99$ not too bad. super clear video, im loving it..
Click to expand...
Click to collapse
awesome good to know.
Build.prop: This isn't the galaxy s your looking for
Netflix: oh okay.
Edit: got it installed, and it isn't telling me wrong device. But when I log in it flashes white the exits out.. updating flash to see if that helps.
Tynen said:
Build.prop: This isn't the galaxy s your looking for
Netflix: oh okay.
Click to expand...
Click to collapse
very nice reference my friend, very nice indeed lmao.
It's not complaining about the device type but once I log in it dumps out of the program. Any ideas?
Tynen said:
It's not complaining about the device type but once I log in it dumps out of the program. Any ideas?
Click to expand...
Click to collapse
Getting the same thing, right when I hit login, it sits and spins for a bit, then dumps me out to home.
LOGCAT from when I hit login, til it dumped me to home
Code:
V/WindowManager( 3469): Dsptch > Window{487610f0 com.netflix.mediaclient/com.netflix.mediaclient.UIWebViewActivity paused=false}
V/InputDevice( 3469): ID[0]=0(0) Dn(0=>1)
V/WindowManager( 3469): Dsptch > Window{487610f0 com.netflix.mediaclient/com.netflix.mediaclient.UIWebViewActivity paused=false}
V/InputDevice( 3469): ID[0]=0(0) Up(1=>0)
D/navcache( 6988): cursorInputFieldAction : Focused node is not an inputfield
E/MAXKTK ( 6988): socket443
D/dalvikvm( 6988): GC_FOR_MALLOC freed 9402 objects / 610496 bytes in 44ms
E/MAXKTK ( 6988): socket443
W/PowerManagerService( 3469): Timer 0x3->0x3|0x3
E/NRDdevice2( 6988): DeviceLib::init Cannot load library /data/data/com.netflix.mediaclient/lib/libnetflix_devicex.so: Cannot load library: link_image[1995]: failed to link libnetflix_device1.so
E/NRDdevice2( 6988):
E/NRDdevice2( 6988): DeviceLib::init Cannot load library /system/lib/libnetflix_devicex.so: Cannot load library: find_library[1188]: 2719 'libnetflix_device1.so' failed to load previously
E/NRDdevice2( 6988): DeviceLib::init Cannot Cannot load symbol createBufferManager: Invalid library handle: find_library[1188]: 2719 'libnetflix_device1.so' failed to load previously
E/NRDdevice2( 6988): DeviceLib::init Cannot Cannot load symbol createPlaybackDevice: Invalid library handle: find_library[1188]: 2719 'libnetflix_device1.so' failed to load previously
D/Zygote ( 2719): Process 6988 terminated by signal (11)
I/ActivityManager( 3469): Process com.netflix.mediaclient (pid 6988) has died.
I/WindowManager( 3469): WIN DEATH: Window{487610f0 com.netflix.mediaclient/com.netflix.mediaclient.UIWebViewActivity paused=false}
I/UsageStats( 3469): Unexpected resume of com.ebproductions.android.launcher while already resumed in com.netflix.mediaclient
V/RenderScript_jni( 4193): surfaceCreated
V/RenderScript_jni( 4193): surfaceChanged
W/InputManagerService( 3469): Got RemoteException sending setActive(false) notification to pid 6988 uid 10207
W/Resources( 3469): Converting to boolean: TypedValue{t=0x3/d=0x1574 "res/anim/accelerate_decelerate_interpolator.xml" a=2 r=0x10a0004}
W/PowerManagerService( 3469): Timer 0x3->0x3|0x0
Tynen said:
It's not complaining about the device type but once I log in it dumps out of the program. Any ideas?
Click to expand...
Click to collapse
I get the same thing with the Bionix-v 1.3.2.
I sure that there will be some work around soon. I am so happy that this app was finally released.
d_bot said:
Getting the same thing, right when I hit login, it sits and spins for a bit, then dumps me out to home.
LOGCAT from when I hit login, til it dumped me to home
Code:
V/WindowManager( 3469): Dsptch > Window{487610f0 com.netflix.mediaclient/com.netflix.mediaclient.UIWebViewActivity paused=false}
V/InputDevice( 3469): ID[0]=0(0) Dn(0=>1)
V/WindowManager( 3469): Dsptch > Window{487610f0 com.netflix.mediaclient/com.netflix.mediaclient.UIWebViewActivity paused=false}
V/InputDevice( 3469): ID[0]=0(0) Up(1=>0)
D/navcache( 6988): cursorInputFieldAction : Focused node is not an inputfield
E/MAXKTK ( 6988): socket443
D/dalvikvm( 6988): GC_FOR_MALLOC freed 9402 objects / 610496 bytes in 44ms
E/MAXKTK ( 6988): socket443
W/PowerManagerService( 3469): Timer 0x3->0x3|0x3
E/NRDdevice2( 6988): DeviceLib::init Cannot load library /data/data/com.netflix.mediaclient/lib/libnetflix_devicex.so: Cannot load library: link_image[1995]: failed to link libnetflix_device1.so
E/NRDdevice2( 6988):
E/NRDdevice2( 6988): DeviceLib::init Cannot load library /system/lib/libnetflix_devicex.so: Cannot load library: find_library[1188]: 2719 'libnetflix_device1.so' failed to load previously
E/NRDdevice2( 6988): DeviceLib::init Cannot Cannot load symbol createBufferManager: Invalid library handle: find_library[1188]: 2719 'libnetflix_device1.so' failed to load previously
E/NRDdevice2( 6988): DeviceLib::init Cannot Cannot load symbol createPlaybackDevice: Invalid library handle: find_library[1188]: 2719 'libnetflix_device1.so' failed to load previously
D/Zygote ( 2719): Process 6988 terminated by signal (11)
I/ActivityManager( 3469): Process com.netflix.mediaclient (pid 6988) has died.
I/WindowManager( 3469): WIN DEATH: Window{487610f0 com.netflix.mediaclient/com.netflix.mediaclient.UIWebViewActivity paused=false}
I/UsageStats( 3469): Unexpected resume of com.ebproductions.android.launcher while already resumed in com.netflix.mediaclient
V/RenderScript_jni( 4193): surfaceCreated
V/RenderScript_jni( 4193): surfaceChanged
W/InputManagerService( 3469): Got RemoteException sending setActive(false) notification to pid 6988 uid 10207
W/Resources( 3469): Converting to boolean: TypedValue{t=0x3/d=0x1574 "res/anim/accelerate_decelerate_interpolator.xml" a=2 r=0x10a0004}
W/PowerManagerService( 3469): Timer 0x3->0x3|0x0
Click to expand...
Click to collapse
forgot to mention you need to flash a gingerbread rom for this to actually work, sorry my bad.
I'm flashing CyanogenMod now to see if it'll work there. I just finished editing the build.prop I'm rebooting after Dalvik cache wipe.. takes a while
Edit:
bobofosho123 said:
forgot to mention you need to flash a gingerbread rom for this to actually work, sorry my bad.
Click to expand...
Click to collapse
Figured as much.
I wonder what the Nexus One (running 2.2) has that Vibrant 2.2 doesn't.... hmmmmm
Didn't Google add a DRM framework into GB?? Makes sense that it wouldn't work without that framework.
Tynen said:
I'm flashing CyanogenMod now to see if it'll work there. I just finished editing the build.prop I'm rebooting after Dalvik cache wipe.. takes a while
Edit:
Figured as much.
I wonder what the Nexus One (running 2.2) has that Vibrant 2.2 doesn't.... hmmmmm
Click to expand...
Click to collapse
it's made by htc. the hardware and software on the nexus s 2.3 is the only similar one.
Yeah i definately think a 2.3 rom needs to be the base!
Sent from my HTC Vision using XDA Premium App
i flashed Simply Galaxy RC3.3 and all i did was install netflix and it worked!!!!
works gorgeously on miui 1.5.6b edited reboot cleared, rebooted play. no data toggling, locking etc.
Got it working on CM7.
Sent from my SGH-T959 using XDA Premium App
Hmmm so I either get GPS or Netflix...... I think I use my GPS much more than I will Netflix
Sent from my HTC Vision using XDA App
I amgetting a boot loop with bonixV 1.2.1, I let it sit for awhile then restore my nandroid backup.
Ahhh it booted up.

[Guide] How to provide a LOGCAT

Here's how to use logcat..There are two main ways to do a logcat, within android, and through adb. Logcat within android can be done one of two ways, through a Logcat app..Here are two good examples are either aLogcat or CatLog I prefer catlog, because in my opinion it has a little bit nicer UI. Both of these programs can dump their logs to a txt file, which is very useful for debugging. Or, you can do it in terminal emulator (same rules as running through adb.
On the other hand, using adb to run logcat, in my opinion is much more useful, because you can start using it when android boots (i.e. once the boot animation appears.)
The code for logcat to output to a file is
Code:
adb logcat > name of problem.txt
you can also do
Code:
adb logcat -f name of problem.txt
how I prefer to do it is this way:
Code:
adb logcat -v long > name of problem.txt
with the -v flag & the long argument, it changes output to long style, which means every line of logcat will be on its own line (makes it a little neater, imo)
Note: When outputting to a file, you will see a newline, but nothing printed, this is normal. To stop logcat from writting to a file, you need to press ctrl+c.
Here's where using logcat (via adb makes life really easy)
Lets say you find a problem you're having after looking at a logcat.
For example:
When I was trying to use a different ramdisk, wifi wouldn't work so I got a logcat that's almost 1300 lines long (a lot of stuff happens in the background)
So if you are searching for an error in the logcat file (it's always e/ for error, f/ for fatal. Those are the two main things that will break a system.)
Code:
D/dalvikvm( 871): GC_CONCURRENT freed 472K, 6% free 10224K/10823K, paused 1ms+6ms
V/AmazonAppstore.DiskInspectorServiceImpl( 871): Available blocks: 21981, Block size: 4096, Free: 90034176, Threshold: 5242880, withinThreshold? true
D/AmazonAppstore.UpdateService( 871): Received action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
W/AmazonAppstore.UpdateService( 871): Confused about why I'm running with this intent action: null from intent: Intent { cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
D/dalvikvm( 890): GC_CONCURRENT freed 175K, 4% free 9375K/9671K, paused 2ms+3ms
V/AmazonAppstore.ReferenceCounter( 871): Reference (MASLoggerDB) count has gone to 0. Closing referenced object.
E/WifiStateMachine( 203): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
V/AmazonAppstore.UpdateService( 871): runUpdateCommand doInBackground started.
V/AmazonAppstore.UpdateService( 871): Running UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateCommand( 871): Not updating key: digitalLocker from: 1334228488057
V/AmazonAppstore.UpdateService( 871): Finished UpdateCommand: digitalLocker
V/AmazonAppstore.UpdateService( 871): Running UpdateCommand: serviceConfig
V/AmazonAppstore.MASLoggerDB( 871): performLogMetric: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
V/AmazonAppstore.MASLoggerDB( 871): onBackgroundTaskSucceeded: Metric logged: ResponseTimeMetric [fullName=com.amazon.venezia.VeneziaApplication_onCreate, build=release-2.3, date=Wed Apr 11 13:10:55 CDT 2012, count=1, value=1601.0]
W/CommandListener( 118): Failed to retrieve HW addr for eth0 (No such device)
D/CommandListener( 118): Setting iface cfg
D/NetworkManagementService( 203): rsp
D/NetworkManagementService( 203): flags
E/WifiStateMachine( 203): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg eth0 0.0.0.0 0 [down]} failed with code 400 : {Failed to set address (No such device)}
W/PackageParser( 203): Unknown element under : supports-screen at /mnt/asec/com.android.aldiko-1/pkg.apk Binary XML file line #16
D/wpa_supplicant( 930): wpa_supplicant v0.8.x
D/wpa_supplicant( 930): random: Trying to read entropy from /dev/random
D/wpa_supplicant( 930): Initializing interface 'eth0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 930): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 930): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 930): ctrl_interface='eth0'
D/wpa_supplicant( 930): update_config=1
D/wpa_supplicant( 930): Line: 4 - start of a new network block
D/wpa_supplicant( 930): key_mgmt: 0x4
(mind you, that's 29 lines out of 1300ish, just for example)
I then could do the following with logcat:
Code:
adb logcat WifiStateMachine:E *:S -v long > name of problem.txt
and this will only print out any errors associated with WifiStateMachine, and anything which is fatal, which makes it about a million times easier to figure out what's going on!
In WifiStateMachine:E, the :E = to look for Errors, the full list of options is as follows:
V — Verbose (lowest priority)
D — Debug
I — Info (default priority)
W — Warning
E — Error
F — Fatal
S — Silent (highest priority, on which nothing is ever printed)
You can replace the :E with any other letter from above to get more info.
In order to filter out anything other than what you are looking for (in this case, WifiStateMachine) you must put a *:S after your last command (i.e. WifiStateMachine:E ThemeChoose:V ... ... AndroidRuntime:E *:S)
Sources: http://developer.android.com/tools/help/logcat.html
http://developer.android.com/tools/help/adb.html
Please do NOTE: : I am just sharing. Original post is Here.
Don't be a noob. Be a newbie..!!
Details here.
Great guide! I am glad that I can help you by logcat. Thanks.
Sent from my E10i using xda app-developers app
How long take the. Logcat?
Sent from my E10i using xda premium
ruben21 said:
How long take the. Logcat?
Sent from my E10i using xda premium
Click to expand...
Click to collapse
Whatever you want.
Sent from my E10i using xda app-developers app
Well and how I finish the logcat because I leave them all the night and still run
Sent from my E10i using xda premium
ruben21 said:
Well and how I finish the logcat because I leave them all the night and still run
Sent from my E10i using xda premium
Click to expand...
Click to collapse
Just press CTRL + C
Thanks bro.
☜ Sent from my X10 MP U20i ☞

[Q] i9300 USB Error on BT3900U

Hi,
Internation Pardus v15 image on rooted i9300, works very well except for this really odd USB connection error when connecting it to my Sony BT3900u car stereo, it was previously connecting without issue on the v15 Pardus build but for unknown reasons to myself now always presents an error.
Does anyone have any ideas as to what might be causing this issue? Any help would be greatly appreciated.
After getting this issue the first time, I ran through a full rebuild, wiped phone/cache/dalvick and error still persisted post rebuild.
Model:
GT-i9300
Android Version:
4.2.2
Baseband
I9300XXEMA5
Kernel version:
3.0.31-702147
Build Number:
Pardus HD Rom XV XXUDME7
Logcat:
E/MTPRx ( 8982): Read Error Came false
E/ ( 8982): read error [0] [Success]
E/MTPRx ( 8982): state from USB_STATE eventDISCONNECTED
E/MTPRx ( 8982): /data/data/com.samsung.android.MtpApplication/gadgetDisconnectAndConnect.txt: open failed: ENOENT (No such file or directory)
E/MTPRx ( 8982): stop observing and calling usbRemoved
E/MTPRx ( 8982): In usbRemoved Status bar enabled
E/MTPRx ( 8982): Sending Broadcast
E/MtpService( 8982): onDestroy.
E/MtpService( 8982): Unregister Mtp disable Receiver
E/MtpService( 8982): Receiver not registered: [email protected]
E/MtpService( 8982): unregistering mtpMediaReceiver in UnregisterAllIntent
E/MtpService( 8982): Receiver not registered: [email protected]
E/MTPJNIInterface( 8982): noti = 3
E/ ( 8982): ****** [mtp_usb_mtp_finalize] mtp_close_fd Calling
E/ ( 8982): [mtp_close_fd] fd = 50...
E/ ( 8982): [mtp_close_fd] USB endpoint [50] closed...
E/ ( 8982): ****** [mtp_usb_mtp_finalize] Updating the gInitializeFlag Flag to FALSE
E/ ( 8982): ****** [mtp_usb_mtp_finalize] Calling mtp_stop_io
E/SEC PowerHAL( 2447): sysfs_write : Error opening /sys/class/input/input1/enabled: No such file or directory
E/SEC PowerHAL( 2447): sysfs_write : Error opening /sys/class/input/input8/enabled: No such file or directory
E/videowall-TranscodeReceiver(10572): broadcastMSG : android.intent.action.ACTION_POWER_DISCONNECTED
E/MTPRx (10600): In MtpReceiverandroid.hardware.usb.action.USB_STATE
E/MTPRx (10600): check value of boot_completed is1
E/MTPRx (10600): check booting is completed_sys.boot_completed
E/MTPRx (10600): Sd-Card path/storage/extSdCard
E/MTPRx (10600): Status for mount/Unmount :mounted
E/MTPRx (10600): SDcard is available
E/MTPRx (10600): The value of first_boot is 1
E/MTPRx (10600): [ 662] The value of first_boot is 1NORMAL SEQUENCE
E/MTPRx (10600): Received USB_STATE with sdCardLaunch = 0
E/MTPRx (10600): configured is false
I'm guessing this is the correct part of the log that pretains to the MTP/USB part. If not I have attached a full log.
Try typing this in a terminal window or adb shell on your phone:
Code:
touch /data/data/com.samsung.android.MtpApplication/gadgetDisconnectAndConnect.txt
Or, make a txt file called gadgetDisconnectAndConnect and place it in /data/data/com.samsung.android.MtpApplication folder.
xpmode said:
Try typing this in a terminal window or adb shell on your phone:
Code:
touch /data/data/com.samsung.android.MtpApplication/gadgetDisconnectAndConnect.txt
Or, make a txt file called gadgetDisconnectAndConnect and place it in /data/data/com.samsung.android.MtpApplication folder.
Click to expand...
Click to collapse
Hi, thanks for the reply.
I did that as quoted, nothing seems to have changed, What should I be looking for?
Thanks!

com.android.systemui keeps crashing when charging level at 100%

Hello,
recently I get my Teclast X89 tablet, but unfortunately it appeares to have a problem. When the battery charging level comes to 100% (at 99% everything is OK) tablet becomes totally unusable. When the screen is switched off it cannot be waken up and when I use the tablet a window pops up telling that "Process com.android.systemui has stopped", like here:
imgur.com/hjWI1lP
After restart everything is OK, but it really grinds my gears. Maybe someone know how to fix this problem?
Please halp!
Bogusz
Go to developer settings and enable android debugging. Now connect to computer set up adb drivers and post a logcat at the time of crash
MasterAwesome said:
Go to developer settings and enable android debugging. Now connect to computer set up adb drivers and post a logcat at the time of crash
Click to expand...
Click to collapse
Hello again,
I've made logcat, here is an interesting part, I think:
I/SecurityManagerService( 671): SMS received security event: App[START/com.android.keyguard]
I/WindowState( 556): WIN DEATH: Window{26a85ad0 u0 Keyguard}
I/ActivityManager( 556): Process com.android.systemui (pid 622) has died.
W/ActivityManager( 556): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms
W/ActivityManager( 556): Scheduling restart of crashed service com.android.keyguard/.KeyguardService in 0ms
D/InputMethodManagerService( 556): --- calledFromForegroundUserOrSystemProcess ? calling uid = 1000 system uid = 1000 calling userId = 0, foreground user id = 0, calling pid = 556dalvik.system.NativeStart.run(Native Method)
W/ActivityManager( 556): Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 0ms
I/StatusBarManagerService( 556): binder died for pkg=com.android.keyguard
I/WindowState( 556): WIN DEATH: Window{269b48a8 u0 NavigationBar}
W/InputDispatcher( 556): Attempted to unregister already unregistered input channel '268ba8e8 StatusBar (server)'
D/dalvikvm( 3948): Try to disable coredump for pid 3948
D/dalvikvm( 3948): Process 3948 nice name: com.android.systemui
D/dalvikvm( 3948): Extra Options: not specified
Click to expand...
Click to collapse
I discovered also that when the battery level drops to 99% process starts to work properly.
I include also whole log file compressed to .zip.
Still need help!
I have the same problem, even after a factory reset.
me too having the same issue. Is it hardware failure or just android?
I found a solution in an other tread :
http://forum.xda-developers.com/android/general/review-teclast-x89-baytrail-tablet-dual-t3039961

Categories

Resources