OK, so I have just used the v13 version of Doomlords Rooting Toolkit t root my SP311 on a ...370 firmware.
It all went through relatively smooth, however I am now experiencing problems with a lot of sudden reboots. I am just trying to tackle this, bear with me...
- when I installed AdAway first thing after rooting it asked for root privileges alright, then downloaded the hosts files, but when it came to writing / updating the systems own hosts file the device rebooted, no bells and whistles or errors, just click and gone. this also happened the 2nd time around
- after that I wanted to have a closer look and ran ES File Explorers root functions, telling it to mount / R/W. Seconds after performing this action the tablet cycled again.
I then checked the still open doomlord output and found it had 2 problems during execution. One was related to the RIC layer and I disregard this as I assume it is some kind of radio-related thing (which would naturally not be present on a WIFI-only device).
Code:
--- Remounting rootfs
--- Killing RIC service (specific for new Xperia devices)
Unable to chmod /system/bin/ric: No such file or directory
--- Installing busybox
The next one is superuser related:
Code:
--- Remounting /system
--- copying busybox to /system/xbin/
1666+1 records in
1666+1 records out
853044 bytes transferred in 0.047 secs (18149872 bytes/sec)
--- correcting ownership
--- correcting permissions
--- installing busybox
--- pushing SU binary
rm failed for /system/xbin/su, No such file or directory
188+1 records in
188+1 records out
96260 bytes transferred in 0.006 secs (16043333 bytes/sec)
--- correcting ownership
--- correcting permissions
--- correcting symlinks
rm failed for /system/bin/su, No such file or directory
--- pushing Superuser app
So, could this be the source of my problems? From what I gather it failed to replace the native su binary with the supplied 3rd party version? How would I go about manually changing / adding it and replacing the links to the bin and xbin paths?
Or is there any other suggestion on what to try?
I did an attempt at logging what happens right before the power cycle, here is the log. Not sure if anyone can make head or tails of it, and not even sure if the actual problem is even recorded. It might just b0rk so fast that catlog can't write the log buffer to flash anymore...
Code:
06-23 22:16:28.140 E/ANDR-PERF-MPCTL( 569): MPCTL client send 2
06-23 22:16:28.140 E/ANDR-PERF-MPCTL( 1235): Received len=92, m=1297100099, v=2, c=569, s=10, m=1555130400 (0x5cb16820) d=5
06-23 22:16:28.140 I/ActivityManager( 569): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.estrongs.android.pop cmp=com.estrongs.android.pop/.view.FileExplorerActivity bnds=[487,613][637,763] u=0} from pid 928
06-23 22:16:28.150 E/ANDR-PERF-MPCTL( 1235): CPU0 min freq set to 1512000
06-23 22:16:28.150 E/ANDR-PERF-MPCTL( 1235): CPU1 min freq set to 1512000
06-23 22:16:28.150 E/ANDR-PERF-MPCTL( 1235): CPU1 min freq set to 1512000
06-23 22:16:28.150 E/ANDR-PERF-MPCTL( 1235): CPU1 min freq set to 1512000
06-23 22:16:28.160 D/PowerManagerService( 569): acquireWakeLock flags=0x1 tag=ActivityManager-Launch
06-23 22:16:28.191 I/ActivityManager( 569): Start proc com.estrongs.android.pop for activity com.estrongs.android.pop/.view.FileExplorerActivity: pid=3352 uid=10196 gids={3003, 3002, 3001, 1015, 1028}
06-23 22:16:28.221 E/Trace ( 3352): error opening trace file: No such file or directory (2)
06-23 22:16:28.221 D/ActivityThread( 3352): setTargetHeapUtilization:0.25
06-23 22:16:28.221 D/ActivityThread( 3352): setTargetHeapIdealFree:8388608
06-23 22:16:28.221 D/ActivityThread( 3352): setTargetHeapConcurrentStart:2097152
06-23 22:16:28.271 I/Adreno200-C2D( 928): <c2d_driver_deinit:77>: C2D2 De-Init A3xx version
06-23 22:16:28.271 I/Adreno200-C2D( 928): <c2d_cmd_res_deinit:157>: GPU DeAllocated Address 0x68803000 0x1009a000
06-23 22:16:28.291 E/hwcomposer( 282): void qhwc::QueuedBufferStore::unlockBuffer(private_handle_t*) Invalid Handle
06-23 22:16:28.321 I/ActivityThread( 3352): Pub com.estrongs.files: com.estrongs.android.pop.app.FileContentProvider
06-23 22:16:28.341 W/System.err( 3352): java.lang.NoSuchMethodException: setCompatibilityInfo [class android.content.res.CompatibilityInfo$1]
06-23 22:16:28.341 W/System.err( 3352): at java.lang.Class.getConstructorOrMethod(Class.java:460)
06-23 22:16:28.341 W/System.err( 3352): at java.lang.Class.getMethod(Class.java:915)
06-23 22:16:28.341 W/System.err( 3352): at com.estrongs.android.util.ae.a(Unknown Source)
06-23 22:16:28.341 W/System.err( 3352): at com.estrongs.android.util.ae.a(Unknown Source)
06-23 22:16:28.341 W/System.err( 3352): at com.estrongs.android.pop.esclasses.h.<init>(Unknown Source)
06-23 22:16:28.341 W/System.err( 3352): at com.estrongs.android.pop.esclasses.h.a(Unknown Source)
06-23 22:16:28.341 W/System.err( 3352): at com.estrongs.android.pop.FexApplication.getResources(Unknown Source)
06-23 22:16:28.341 W/System.err( 3352): at com.estrongs.android.ui.b.a.a(Unknown Source)
06-23 22:16:28.341 W/System.err( 3352): at com.estrongs.android.pop.FexApplication.onCreate(Unknown Source)
06-23 22:16:28.341 W/System.err( 3352): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:999)
06-23 22:16:28.341 W/System.err( 3352): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4197)
06-23 22:16:28.341 W/System.err( 3352): at android.app.ActivityThread.access$1300(ActivityThread.java:137)
06-23 22:16:28.341 W/System.err( 3352): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1266)
06-23 22:16:28.341 W/System.err( 3352): at android.os.Handler.dispatchMessage(Handler.java:99)
06-23 22:16:28.341 W/System.err( 3352): at android.os.Looper.loop(Looper.java:213)
06-23 22:16:28.341 W/System.err( 3352): at android.app.ActivityThread.main(ActivityThread.java:4791)
06-23 22:16:28.341 W/System.err( 3352): at java.lang.reflect.Method.invokeNative(Native Method)
06-23 22:16:28.341 W/System.err( 3352): at java.lang.reflect.Method.invoke(Method.java:511)
06-23 22:16:28.341 W/System.err( 3352): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
06-23 22:16:28.341 W/System.err( 3352): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
06-23 22:16:28.341 W/System.err( 3352): at dalvik.system.NativeStart.main(Native Method)
06-23 22:16:28.351 E/ObjectHelper( 3352): Can't find method:setCompatibilityInfo
06-23 22:16:28.431 D/j ( 3352): OEC Config file not found
06-23 22:16:28.441 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.441 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.451 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.451 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.451 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.451 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.481 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.611 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.611 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.621 D/StateMachine( 569): handleMessage: E msg.what=131155
06-23 22:16:28.621 D/StateMachine( 569): processMsg: ConnectedState
06-23 22:16:28.621 D/WifiStateMachine( 569): ConnectedState{ what=131155 when=-2ms arg1=3 }
06-23 22:16:28.621 D/StateMachine( 569): processMsg: L2ConnectedState
06-23 22:16:28.621 D/WifiStateMachine( 569): L2ConnectedState{ what=131155 when=-2ms arg1=3 }
06-23 22:16:28.621 W/ResourceType( 3352): No package identifier when getting value for resource number 0x00000000
06-23 22:16:28.621 D/StateMachine( 569): handleMessage: X
06-23 22:16:28.881 I/Adreno200-EGL( 3352): <qeglDrvAPI_eglInitialize:269>: EGL 1.4 QUALCOMM build: (CL3050818)
06-23 22:16:28.881 I/Adreno200-EGL( 3352): Build Date: 01/18/13 Fri
06-23 22:16:28.881 I/Adreno200-EGL( 3352): Local Branch: final_sony_post_CS7
06-23 22:16:28.881 I/Adreno200-EGL( 3352): Remote Branch:
06-23 22:16:28.881 I/Adreno200-EGL( 3352): Local Patches:
Disregard, I figured out where my reasoning went wrong (i.e. the RIC process) and am now using this workaround: http://forum.xda-developers.com/showthread.php?t=2329771 as a temporary solution, with a Tasker script running on boot to disable RIC after reboots.
Related
Viber itself seems to work fine, however there is a background process it tries to run which keeps crashing. Relevent log info:
Code:
I/ActivityManager( 449): Start proc com.viber.voip for service com.viber.voip/co
m.viber.service.VoipConnectorService: pid=9613 uid=10072 gids={50072, 3003, 1015,
3002, 3001, 1006, 1028}
D/dalvikvm( 813): GC_EXPLICIT freed <1K, 70% free 2318K/7588K, paused 3ms+2ms, t
otal 56ms
I/ViberApplication( 9613): ViberApplication, initialization STARTED
I/ViberApplication( 9613): ViberApplication initialization STOPPED
W/GAV2 ( 9613): Thread[ThreadManager::idleTasksHandler,5,main]: Connection to
service failed 1
W/ActivityManager( 449): Unable to start service Intent { act=com.google.android
.gms.analytics.service.START (has extras) } U=0: not found
D/dalvikvm( 9613): Trying to load lib /data/app-lib/com.viber.voip-1/libvassert.s
o 0x40f309e8
D/dalvikvm( 9613): Added shared lib /data/app-lib/com.viber.voip-1/libvassert.so
0x40f309e8
D/dalvikvm( 9613): No JNI_OnLoad found in /data/app-lib/com.viber.voip-1/libvasse
rt.so 0x40f309e8, skipping init
D/dalvikvm( 9613): Trying to load lib /data/app-lib/com.viber.voip-1/libVoipEngin
eNative.so 0x40f309e8
W/GAV2 ( 9613): Thread[ThreadManager::idleTasksHandler,5,main]: Need to call i
nitialize() and be in fallback mode to start dispatch.
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
D/Logger ( 9613): creating log dir /storage/sdcard0/viber/.logs/trace/
D/Logger ( 9613): oldFilesNames :[]
D/Logger ( 9613): Console_4.clg deleted=false
D/Logger ( 9613): Console_3.clg renamedTo=false Console_4.clg
D/Logger ( 9613): Console_2.clg renamedTo=false Console_3.clg
D/Logger ( 9613): Console_1.clg renamedTo=false Console_2.clg
D/Logger ( 9613): Console.clg renamedTo=false Console_1.clg
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
D/dalvikvm( 9613): Added shared lib /data/app-lib/com.viber.voip-1/libVoipEngineN
ative.so 0x40f309e8
E/dalvikvm( 9613): ERROR: couldn't find native method
E/dalvikvm( 9613): Requested: Lcom/viber/voip/sound/AbstractSoundService;.peerCap
abilities:(J)I
W/System.err( 9613): javax.crypto.BadPaddingException: pad block corrupted
W/System.err( 9613): at com.android.org.bouncycastle.jcajce.provider.symmetric
.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err( 9613): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err( 9613): at com.viber.voip.registration.UserInfo.getKeyChain(UserI
nfo.java:244)
W/System.err( 9613): at com.viber.voip.registration.ActivationController.getKe
yChainDeviceKey(ActivationController.java:391)
W/System.err( 9613): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(
ViberApplication.java:1477)
W/System.err( 9613): at com.viber.voip.ViberApplication.initApplication(ViberA
pplication.java:390)
W/System.err( 9613): at com.viber.voip.ViberApplication.access$2(ViberApplicat
ion.java:278)
W/System.err( 9613): at com.viber.voip.ViberApplication$2.run(ViberApplication
.java:271)
W/System.err( 9613): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err( 9613): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err( 9613): at android.os.Looper.loop(Looper.java:137)
W/System.err( 9613): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err( 9613): at com.viber.voip.ThreadManager$HandlerThreadEx.run(Threa
dManager.java:78)
W/System.err( 9613): javax.crypto.BadPaddingException: pad block corrupted
W/System.err( 9613): at com.android.org.bouncycastle.jcajce.provider.symmetric
.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err( 9613): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err( 9613): at com.viber.voip.registration.UserInfo.getKeyChain(UserI
nfo.java:244)
W/System.err( 9613): at com.viber.voip.registration.ActivationController.getKe
yChainUDID(ActivationController.java:395)
W/System.err( 9613): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(
ViberApplication.java:1487)
W/System.err( 9613): at com.viber.voip.ViberApplication.initApplication(ViberA
pplication.java:390)
W/System.err( 9613): at com.viber.voip.ViberApplication.access$2(ViberApplicat
ion.java:278)
W/System.err( 9613): at com.viber.voip.ViberApplication$2.run(ViberApplication
.java:271)
W/System.err( 9613): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err( 9613): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err( 9613): at android.os.Looper.loop(Looper.java:137)
W/System.err( 9613): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err( 9613): at com.viber.voip.ThreadManager$HandlerThreadEx.run(Threa
dManager.java:78)
W/System.err( 9613): javax.crypto.BadPaddingException: pad block corrupted
W/System.err( 9613): at com.android.org.bouncycastle.jcajce.provider.symmetric
.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err( 9613): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err( 9613): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err( 9613): at com.viber.voip.registration.UserInfo.getKeyChain(UserI
nfo.java:244)
W/System.err( 9613): at com.viber.voip.registration.ActivationController.getKe
yChainHardwareKey(ActivationController.java:403)
W/System.err( 9613): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(
ViberApplication.java:1497)
W/System.err( 9613): at com.viber.voip.ViberApplication.initApplication(ViberA
pplication.java:390)
W/System.err( 9613): at com.viber.voip.ViberApplication.access$2(ViberApplicat
ion.java:278)
W/System.err( 9613): at com.viber.voip.ViberApplication$2.run(ViberApplication
.java:271)
W/System.err( 9613): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err( 9613): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err( 9613): at android.os.Looper.loop(Looper.java:137)
W/System.err( 9613): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err( 9613): at com.viber.voip.ThreadManager$HandlerThreadEx.run(Threa
dManager.java:78)
D/BluetoothManagerService( 449): Message: 20
D/BluetoothManagerService( 449): Added callback: android.bluetooth.IBluetoothMan
[email protected]:true
D/BluetoothManagerService( 449): Message: 30
I/ActivityManager( 449): Start proc android.process.acore for content provider c
om.android.providers.contacts/.ContactsProvider2: pid=9647 uid=10001 gids={50001,
3003, 1015, 1028}
V/AudioHardware(24088): AudioStreamInALSA::set(1, 16, 44100)
V/AudioHardware(24088): AudioHardware::openInputStream()0x4145e330
D/AudioHardware(24088): AudioStreamInALSA::setParameters() input_source=1;routing
=262144
V/AudioHardware(24088): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware(24088): setInputSource_l(1)
V/AudioHardware(24088): closeMixer_l() mMixerOpenCnt: 1
D/AudioHardware(24088): AudioHardware pcm capture is exiting standby.
V/AudioHardware(24088): AudioStreamInALSA exit standby mNeedEchoReference 0 mEcho
Reference 0x0
V/AudioHardware(24088): open pcm_in driver
V/AudioHardware(24088): openMixer_l() mMixerOpenCnt: 0
V/AudioHardware(24088): read() wakeup setting route Main Mic
D/AudioHardware(24088): AudioHardware pcm capture is going to standby.
V/AudioHardware(24088): closeMixer_l() mMixerOpenCnt: 1
V/AudioHardware(24088): AudioHardware::closeInputStream()0x4145e330
W/AudioFlinger(24088): createEffect_l() effect Automatic Gain Control (flags 0000
0203) created on wrong thread type 0
E/AudioEffect( 9613): set(): AudioFlinger could not create effect, status: -22
W/AudioFlinger(24088): createEffect_l() effect Acoustic Echo Canceler (flags 0000
0203) created on wrong thread type 0
E/AudioEffect( 9613): set(): AudioFlinger could not create effect, status: -22
W/AudioFlinger(24088): createEffect_l() effect Noise Suppression (flags 00000203)
created on wrong thread type 0
E/AudioEffect( 9613): set(): AudioFlinger could not create effect, status: -22
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
W/libc ( 9613): WARNING: generic atexit() called from legacy shared library
E/ServiceLocator( 9613): ServiceLocator$VoipServiceConnection.onServiceConnected
loc:[email protected]
I/ ( 9613): STATEINFO ; (20:41:30:735 | 0) UTILITY: -1;
9737; Thread with name:Trace started
I/GAV2 ( 9613): Thread[GAThread,5,main]: No campaign data found.
W/GAV2 ( 9613): Thread[Service Reconnect,5,main]: Connection to service failed
1
Everytime it crashes it causes lots of lags and also audio pops. I'm using Cyanogenmod 10.1RC2 with the Galaxy S I9000. Does anyone else have the same issue?
Hi there,
This is Viber's rep.
Unfortunately Viber only partially supports custom Roms.. :/
Which Viber version do you have? Did you try to uninstall>reinstall?
Viber Team said:
Hi there,
This is Viber's rep.
Unfortunately Viber only partially supports custom Roms.. :/
Which Viber version do you have? Did you try to uninstall>reinstall?
Click to expand...
Click to collapse
Hey there, I'm experiencing the same issue, I'll paste the logcat info below. I'm running the Viber 3.0.1, will try to reinstall completely and report. I'm running IceColdJelly (AOKP based rom, android version: 4.2.2).
Code:
I/ActivityManager( 583): Start proc com.viber.voip for activity com.viber.voip/.WelcomeActivity: pid=10642 uid=10084 gids={50084, 3003, 1015, 3002, 3001, 1006, 1028}
I/ActivityManager( 583): No longer want com.texty.sms (pid 10379): empty #11
I/ActivityManager( 583): No longer want com.oasisfeng.greenify:service (pid 10396): empty #12
I/ActivityManager( 583): No longer want com.dropbox.android (pid 10334): empty #13
I/ActivityManager( 583): No longer want com.bel.android.dspmanager (pid 10359): empty #14
W/ActivityManager( 583): Scheduling restart of crashed service com.bel.android.dspmanager/.service.HeadsetService in 5000ms
W/ActivityManager( 583): Scheduling restart of crashed service com.oasisfeng.greenify/.CleanerService in 14991ms
W/ActivityManager( 583): Scheduling restart of crashed service com.texty.sms/.SyncService in 24987ms
I/ViberApplication(10642): ViberApplication, initialization STARTED
I/ViberApplication(10642): ViberApplication initialization STOPPED
W/ActivityManager( 583): Unable to start service Intent { act=com.google.android.gms.analytics.service.START (has extras) } U=0: not found
W/GAV2 (10642): Thread[ThreadManager::idleTasksHandler,5,main]: Connection to service failed 1
W/GAV2 (10642): Thread[ThreadManager::idleTasksHandler,5,main]: Need to call initialize() and be in fallback mode to start dispatch.
D/Logger (10642): creating log dir /storage/sdcard0/viber/.logs/trace/
D/Logger (10642): oldFilesNames :[]
D/Logger (10642): Console_4.clg deleted=false
D/Logger (10642): Console_3.clg renamedTo=false Console_4.clg
D/Logger (10642): Console_2.clg renamedTo=false Console_3.clg
D/Logger (10642): Console_1.clg renamedTo=false Console_2.clg
D/Logger (10642): Console.clg renamedTo=false Console_1.clg
W/System.err(10642): javax.crypto.BadPaddingException: pad block corrupted
W/System.err(10642): at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err(10642): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err(10642): at com.viber.voip.registration.UserInfo.getKeyChain(UserInfo.java:244)
W/System.err(10642): at com.viber.voip.registration.ActivationController.getKeyChainDeviceKey(ActivationController.java:391)
W/System.err(10642): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(ViberApplication.java:1477)
W/System.err(10642): at com.viber.voip.ViberApplication.initApplication(ViberApplication.java:390)
W/System.err(10642): at com.viber.voip.ViberApplication.access$2(ViberApplication.java:278)
W/System.err(10642): at com.viber.voip.ViberApplication$2.run(ViberApplication.java:271)
W/System.err(10642): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err(10642): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err(10642): at android.os.Looper.loop(Looper.java:137)
W/System.err(10642): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err(10642): at com.viber.voip.ThreadManager$HandlerThreadEx.run(ThreadManager.java:78)
W/System.err(10642): javax.crypto.BadPaddingException: pad block corrupted
W/System.err(10642): at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err(10642): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err(10642): at com.viber.voip.registration.UserInfo.getKeyChain(UserInfo.java:244)
W/System.err(10642): at com.viber.voip.registration.ActivationController.getKeyChainUDID(ActivationController.java:395)
W/System.err(10642): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(ViberApplication.java:1487)
W/System.err(10642): at com.viber.voip.ViberApplication.initApplication(ViberApplication.java:390)
W/System.err(10642): at com.viber.voip.ViberApplication.access$2(ViberApplication.java:278)
W/System.err(10642): at com.viber.voip.ViberApplication$2.run(ViberApplication.java:271)
W/System.err(10642): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err(10642): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err(10642): at android.os.Looper.loop(Looper.java:137)
W/System.err(10642): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err(10642): at com.viber.voip.ThreadManager$HandlerThreadEx.run(ThreadManager.java:78)
W/System.err(10642): javax.crypto.BadPaddingException: pad block corrupted
W/System.err(10642): at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:709)
W/System.err(10642): at javax.crypto.Cipher.doFinal(Cipher.java:1111)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:135)
W/System.err(10642): at com.viber.voip.util.Convert.decrypt(Convert.java:99)
W/System.err(10642): at com.viber.voip.registration.UserInfo.getKeyChain(UserInfo.java:244)
W/System.err(10642): at com.viber.voip.registration.ActivationController.getKeyChainHardwareKey(ActivationController.java:403)
W/System.err(10642): at com.viber.voip.ViberApplication.checkKeyChainWasSaved(ViberApplication.java:1497)
W/System.err(10642): at com.viber.voip.ViberApplication.initApplication(ViberApplication.java:390)
W/System.err(10642): at com.viber.voip.ViberApplication.access$2(ViberApplication.java:278)
W/System.err(10642): at com.viber.voip.ViberApplication$2.run(ViberApplication.java:271)
W/System.err(10642): at android.os.Handler.handleCallback(Handler.java:725)
W/System.err(10642): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err(10642): at android.os.Looper.loop(Looper.java:137)
W/System.err(10642): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err(10642): at com.viber.voip.ThreadManager$HandlerThreadEx.run(ThreadManager.java:78)
D/dalvikvm(10642): Trying to load lib /data/app-lib/com.viber.voip-1/libvassert.so 0x4120a8b8
D/dalvikvm(10642): Added shared lib /data/app-lib/com.viber.voip-1/libvassert.so 0x4120a8b8
D/dalvikvm(10642): No JNI_OnLoad found in /data/app-lib/com.viber.voip-1/libvassert.so 0x4120a8b8, skipping init
D/dalvikvm(10642): Trying to load lib /data/app-lib/com.viber.voip-1/libVoipEngineNative.so 0x4120a8b8
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
D/dalvikvm(10642): Added shared lib /data/app-lib/com.viber.voip-1/libVoipEngineNative.so 0x4120a8b8
E/dalvikvm(10642): ERROR: couldn't find native method
E/dalvikvm(10642): Requested: Lcom/viber/voip/sound/AbstractSoundService;.peerCapabilities:(J)I
D/BluetoothManagerService( 583): Message: 20
D/BluetoothManagerService( 583): Added callback: [email protected]:true
D/BluetoothManagerService( 583): Message: 30
W/AudioFlinger( 163): findSuitableHwDev_l() loading well know audio hw modules
W/AudioFlinger( 163): loadHwModule() module primary already loaded
W/AudioFlinger( 163): loadHwModule() module a2dp already loaded
E/AudioFlinger( 163): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.usb (No such file or directory)
I/AudioFlinger( 163): loadHwModule() error -2 loading module usb
I/NvAudioALSA( 163): NvAudioALSADevOpen: CAPTURE hDev = 0x400ee678 : devices 0x4000000 in mode 0, streamtype 1, isVoiceCallDevice=F
I/NvAudioALSA( 163): Initialized ALSA CAPTURE alsaDevName= music , hDev->alsaDevName= music
I/NvAudioALSA( 163): NvAudioALSADevClose: CAPTURE hDev = 0x400ee678 : curDev 0x0, curMode 0, streamtype 1, isVoiceCallDevice=F hDev->alsaDevName=music, Ori_up=-1, Ori_down=9
I/NvAudioALSA( 163): Here is still playing, don't path off any thing!
W/ActivityManager( 583): Scheduling restart of crashed service com.dropbox.android/.service.CameraUploadService in 34350ms
I/NvAudioALSA( 163): NvAudioALSADevRoute : hDev=0x400ee678 curDev=0x0, devices=0x4000000, curMode=0, mode=0, curDsp=22, Ori_up=-1, Ori_down=9
D/HTC_Acoustic( 163): get_dsp_image_index : HTC_CODEC_DSP_ENDPOINT[22].index = 12
D/HTC_Acoustic( 163): get_dsp_image_name : HTC_CODEC_DSP_ENDPOINT[22].name = Record_Default
I/NvAudioALSA( 163): Config AIC3008 DSP : 12 (Record_Default)
I/NvAudioALSA( 163): Pcm Playback Route : 44
I/NvAudioALSA( 163): Pcm Capture Route : 13
I/NvAudioALSA( 163): NvAudioALSADevOpen: CAPTURE hDev = 0x400ee678 : devices 0x4000000 in mode 0, streamtype 1, isVoiceCallDevice=F
I/NvAudioALSA( 163): Initialized ALSA CAPTURE alsaDevName= music , hDev->alsaDevName= music
W/System.err(10642): com.viber.service.ServiceNotBindedException
W/System.err(10642): at com.viber.service.ServiceProxy.getVoipService(ServiceProxy.java:737)
W/System.err(10642): at com.viber.service.ServiceProxy.getServiceState(ServiceProxy.java:852)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl.isServiceConnected(MessageControllerManagerImpl.java:932)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl.isNetworkConnectionOk(MessageControllerManagerImpl.java:762)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl.access$15(MessageControllerManagerImpl.java:757)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl$12.onQuery(MessageControllerManagerImpl.java:729)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerManagerImpl$12.onQuery(MessageControllerManagerImpl.java:1)
W/System.err(10642): at com.viber.voip.messages.controller.manager.impl.MessageControllerHelper$24.onDataReady(MessageControllerHelper.java:1195)
W/System.err(10642): at com.viber.voip.messages.orm.manager.AsyncEntityManager.broadcastDataChanged(AsyncEntityManager.java:245)
W/System.err(10642): at com.viber.voip.messages.orm.manager.AsyncEntityManager.onQueryComplete(AsyncEntityManager.java:226)
W/System.err(10642): at com.viber.voip.util.ManagedQueryHandler.processMessage(ManagedQueryHandler.java:810)
W/System.err(10642): at com.viber.voip.util.ManagedQueryHandler.handleMessage(ManagedQueryHandler.java:881)
W/System.err(10642): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(10642): at android.os.Looper.loop(Looper.java:137)
W/System.err(10642): at android.os.HandlerThread.run(HandlerThread.java:60)
W/System.err(10642): at com.viber.voip.ThreadManager$HandlerThreadEx.run(ThreadManager.java:78)
I/NvAudioALSA( 163): NvAudioALSADevClose: CAPTURE hDev = 0x400ee678 : curDev 0x4000000, curMode 0, streamtype 1, isVoiceCallDevice=F hDev->alsaDevName=music, Ori_up=13, Ori_down=9
I/NvAudioALSA( 163): Here is still playing, don't path off any thing!
W/AudioFlinger( 163): createEffect_l() effect Automatic Gain Control (flags 00000203) created on wrong thread type 0
E/AudioEffect(10642): set(): AudioFlinger could not create effect, status: -22
W/AudioFlinger( 163): createEffect_l() effect Acoustic Echo Canceler (flags 00000203) created on wrong thread type 0
E/AudioEffect(10642): set(): AudioFlinger could not create effect, status: -22
W/AudioFlinger( 163): createEffect_l() effect Noise Suppression (flags 00000203) created on wrong thread type 0
E/AudioEffect(10642): set(): AudioFlinger could not create effect, status: -22
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
W/libc (10642): WARNING: generic atexit() called from legacy shared library
I/Choreographer(10642): Skipped 38 frames! The application may be doing too much work on its main thread.
D/libEGL (10642): loaded /system/lib/egl/libEGL_tegra.so
E/ (10642): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
I/ (10642): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
I/ (10642): Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl
D/libEGL (10642): loaded /system/lib/egl/libGLESv1_CM_tegra.so
D/libEGL (10642): loaded /system/lib/egl/libGLESv2_tegra.so
I/ (10642): Loading GLESv2 implementation /system/lib//egl/libGLESv2_tegra_impl
D/OpenGLRenderer(10642): Enabling debug mode 0
I/NvAudioALSAPolicyManager( 163): setForceUse() usage 0, config 0, mPhoneState 0
I/NvAudioALSAPolicyManager( 163): setForceUse() usage 2, config 0, mPhoneState 0
I/ (10642): STATEINFO ; (17: 9:48:308 | 0) UTILITY: -1; 10759; Thread with name:Trace started
I/ActivityManager( 583): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.viber.voip/.HomeActivity bnds=[360,615][360,615]} from pid 10642
W/GAV2 (10533): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store.
W/ActivityManager( 583): Unable to start service Intent { act=com.google.android.gms.analytics.service.START (has extras) } U=0: not found
E/ServiceLocator(10642): ServiceLocator$VoipServiceConnection.onServiceConnected loc:[email protected]
I/ActivityManager( 583): Displayed com.viber.voip/.WelcomeActivity: +1s268ms
W/GAV2 (10533): Thread[GAThread,5,main]: Exception sending hit: SSLPeerUnverifiedException
W/GAV2 (10533): Thread[GAThread,5,main]: No peer certificate
D/UserData(10642): isNavigateUserData retValue = false
rendering orsasha
ok, so even after reinstalling viber I keep getting the same issue.. :/
Hi guys,
Thanks for the info and the logs.
As we said, this could well be a result of the Custom ROM that's running on your devices. Have you tested and checked if this issue persists on Stock ROM?
hi everybody
i need help with this logcat.
i really need help right now
main problem is here
Code:
I/Netd ( 2153): Netd 1.0 starting
W/InterfaceController( 2153): Warning (Cannot load library: load_library(linker.
cpp:771): library "/system/lib/libnetcmdiface.so" not found) while opening the n
et interface command library
D/libEGL ( 2151): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 2151): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 2151): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL( 2151): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build:
AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
I/Adreno200-EGL( 2151): Build Date: 07/31/12 Tue
I/Adreno200-EGL( 2151): Local Branch:
I/Adreno200-EGL( 2151): Remote Branch: quic/master
I/Adreno200-EGL( 2151): Local Patches: NONE
I/Adreno200-EGL( 2151): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036
+ NOTHING
E/Trace ( 2151): error opening trace file: No such file or directory (2)
D/memalloc( 2143): init_pmem_area: Initializing pmem area
D/memalloc( 2143): init_pmem_area_locked: Opening master pmem FD
D/memalloc( 2143): init_pmem_area_locked: Total pmem size: 18874368
E/Netd ( 2153): exec() res=65280 for /system/bin/iptables -t filter -N oem_ou
t
E/Netd ( 2153): exec() res=65280 for /system/bin/ip6tables -t filter -N oem_o
ut
F/libc ( 2225): Fatal signal 7 (SIGBUS) at 0x400c32d0 (code=2), thread 2225 (
iptables)
I/Netd ( 2229): Netd 1.0 starting
W/InterfaceController( 2229): Warning (Cannot load library: load_library(linker.
cpp:771): library "/system/lib/libnetcmdiface.so" not found) while opening the n
et interface command library
D/MDnsDS ( 2229): MDnsSdListener::Hander starting up
D/MDnsDS ( 2229): MDnsSdListener starting to monitor
D/MDnsDS ( 2229): Going to poll with pollCount 1
D/libc ( 1667): pt_debug : pthread_create->start_routine= 0xf4dd, tls=0x406f
9f00, arg=0xed5680
D/libc ( 1667): pt_debug : __thread_entry->func= 0xf4dd
D/libc ( 1667): , tls=0x406f9f00, arg=0xed5680
I/Netd ( 2443): Netd 1.0 starting
W/InterfaceController( 2443): Warning (Cannot load library: load_library(linker.
cpp:771): library "/system/lib/libnetcmdiface.so" not found) while opening the n
et interface command library
I/DEBUG ( 1505): timed out waiting for tid=2151 to die
I/DEBUG ( 1505): ptrace detach from 2151 failed: No such process
I/DEBUG ( 1505): debuggerd committing suicide to free the zombie!
I/DEBUG ( 2503): debuggerd: Jul 3 2013 11:35:05
D/MDnsDS ( 2443): MDnsSdListener::Hander starting up
D/MDnsDS ( 2443): MDnsSdListener starting to monitor
D/MDnsDS ( 2443): Going to poll with pollCount 1
I have problems with Google Play services after I made couple of small
logging source code changes to Android frameworks files. I have tried
with various GApps packages from BasketBuild.
I have rebuilt CyanogenMod12 20150318 build for hammerhead (Nexus5)
and installed also Google Apps. Everything works fine with unmodified
code. Next I tried to study and debug control flow of Android activities and
process creation by adding log output messages to a couple of class
methods in frameworks/base and recompiled again. Basically everything
still works fine but there is a nasty side effect as Google Play
services start to fail. There is a popup message:
"Unfortunately, Google Play services has stopped"
Obviously my changes are causing these problems but I do not
understand what is happening and why only Google Play services
seem to fail. Seems like modifications to final Java classes like
ActivityRecord, ActivityManagerService, ActivityStackSupervisor are
triggering these problems. I did not add or modify class function
APIs or data members. I just added couple of log prints and tests for
intents. These problems are already present during system setup.
I have to delay network configuration as otherwise this Google Play
error is causing the whole configuration phase to stuck.
Attached logcat log contains many suspicous messages:
1. Two jar files do not exist or contain no resources
The jar files actually are in /system/framework directory but for some
reason the files cannot be used.
2. Insert disabled by gate 'gms:security:enable_conscrypt_in_gms_application'
Google search found couple of postings with this message and there
were hints that this could be a signing key problem. However, I did
not detect any Cyanogenmod instructions and my initial unmodified
build worked with GApps and Google services.
3. Parcel errors when unmarshalling
Class com.google.android.gms.auth.firstparty.shared.AppDescription
not found. This is causing android.os.BadParcelableException
exception.
Any ideas what could cause these problems. Here is extract from log output:
I/ActivityManager( 772): Start proc com.google.android.gms.ui for activity com.google.android.gms/.games.ui.signin.SignInActivity: pid=7978 uid=10022 gids={50022, 9997, 2001, 3003, 1007, 3006, 3007, 3002, 3001, 1028, 1015, 1005} abi=armeabi-v7a
E/Zygote ( 7978): ForkAndSpecializeCommon - name=com.google.android.gms.ui info=release
I/Timeline( 7945): Timeline: Activity_idle id: [email protected] time:7502907
W/ResourcesManager( 7978): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager( 7978): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
I/MultiDex( 7978): VM with version 2.1.0 has multidex support
I/MultiDex( 7978): install
I/MultiDex( 7978): VM has multidex support, MultiDex support library is disabled.
I/ProviderInstaller( 7978): Insert disabled by gate 'gms:security:enable_conscrypt_in_gms_application'
D/GCM ( 2484): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
D/AuthorizationBluetoothService( 2484): Received GmsCore event: Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.auth.be.proximity.authorization.bt.AuthorizationBluetoothService$AutoStarter }.
D/c ( 2484): Getting all permits...
D/a ( 2484): Opening database...
D/LocationInitializer( 2680): Restart initialization of location
D/a ( 2484): Opening database auth.proximity.permit_store...
D/a ( 2484): Closing database...
D/OpenGLRenderer( 7978): Render dirty regions requested: true
D/Atlas ( 7978): Validating map...
I/Adreno-EGL( 7978): <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/24/14, 167c270, I68fa98814b
I/OpenGLRenderer( 7978): Initialized EGL, version 1.4
D/OpenGLRenderer( 7978): Enabling debug mode 0
I/ActivityManager( 772): START u0 {act=com.google.android.gms.common.account.CHOOSE_ACCOUNT flg=0x20000000 pkg=com.google.android.gms cmp=com.google.android.gms/.common.account.AccountPickerActivity (has extras)} from uid 10022 on display 0
I/Timeline( 772): Timeline: Activity_windows_visible id: ActivityRecord{3cfb3e37 u0 com.google.android.gms/.games.ui.signin.SignInActivity t13} time:7503232
W/GLSActivity( 2484): [LegacyAuthenticator] The app AppDescription<com.google.android.gms, 10022> is invoking addAccount
W/GLSActivity( 2484): [LegacyAuthenticator] Returning intent launch AccountIntroActivity.
I/Timeline( 7978): Timeline: Activity_launch_request id:com.google.android.gms time:7503308
I/ActivityManager( 772): START u0 {flg=0x80000 cmp=com.google.android.gms/.auth.gsf.AccountIntroActivity (has extras)} from uid 10022 on display 0
I/GLSActivity( 7978): [AccountIntroActivity] Provisioning with name/email. Edu: false
I/GLSActivity( 7978): [AccountIntroActivity] Setup a Google account using GmsCore managed workflow.
I/Timeline( 7978): Timeline: Activity_launch_request id:com.google.android.gms time:7503474
E/Parcel ( 772): Class not found when unmarshalling: com.google.android.gms.auth.firstparty.shared.AppDescription
E/Parcel ( 772): java.lang.ClassNotFoundException: com.google.android.gms.auth.firstparty.shared.AppDescription
E/Parcel ( 772): at java.lang.Class.classForName(Native Method)
E/Parcel ( 772): at java.lang.Class.forName(Class.java:308)
E/Parcel ( 772): at java.lang.Class.forName(Class.java:272)
E/Parcel ( 772): at android.os.Parcel.readParcelableCreator(Parcel.java:2275)
E/Parcel ( 772): at android.os.Parcel.readParcelable(Parcel.java:2239)
E/Parcel ( 772): at android.os.Parcel.readValue(Parcel.java:2146)
E/Parcel ( 772): at android.os.Parcel.readArrayMapInternal(Parcel.java:2479)
E/Parcel ( 772): at android.os.BaseBundle.unparcel(BaseBundle.java:221)
E/Parcel ( 772): at android.os.BaseBundle.containsKey(BaseBundle.java:269)
E/Parcel ( 772): at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:1314)
E/Parcel ( 772): at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:950)
E/Parcel ( 772): at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3654)
E/Parcel ( 772): at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:3641)
E/Parcel ( 772): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:141)
E/Parcel ( 772): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2476)
E/Parcel ( 772): at android.os.Binder.execTransact(Binder.java:446)
E/Parcel ( 772): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.auth.firstparty.shared.AppDescription" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/Parcel ( 772): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/Parcel ( 772): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/Parcel ( 772): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/Parcel ( 772): ... 16 more
E/Parcel ( 772): Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.auth.firstparty.shared.AppDescription
E/Parcel ( 772): at java.lang.Class.classForName(Native Method)
E/Parcel ( 772): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/Parcel ( 772): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/Parcel ( 772): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/Parcel ( 772): ... 17 more
E/Parcel ( 772): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
F/ActivityManager( 772): Activity Manager Crash
F/ActivityManager( 772): android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.google.android.gms.auth.firstparty.shared.AppDescription
F/ActivityManager( 772): at android.os.Parcel.readParcelableCreator(Parcel.java:2289)
F/ActivityManager( 772): at android.os.Parcel.readParcelable(Parcel.java:2239)
F/ActivityManager( 772): at android.os.Parcel.readValue(Parcel.java:2146)
F/ActivityManager( 772): at android.os.Parcel.readArrayMapInternal(Parcel.java:2479)
F/ActivityManager( 772): at android.os.BaseBundle.unparcel(BaseBundle.java:221)
F/ActivityManager( 772): at android.os.BaseBundle.containsKey(BaseBundle.java:269)
F/ActivityManager( 772): at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:1314)
F/ActivityManager( 772): at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:950)
F/ActivityManager( 772): at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3654)
F/ActivityManager( 772): at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:3641)
F/ActivityManager( 772): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:141)
F/ActivityManager( 772): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2476)
F/ActivityManager( 772): at android.os.Binder.execTransact(Binder.java:446)
D/AndroidRuntime( 7978): Shutting down VM
--------- beginning of crash
E/AndroidRuntime( 7978): FATAL EXCEPTION: main
E/AndroidRuntime( 7978): Process: com.google.android.gms.ui, PID: 7978
E/AndroidRuntime( 7978): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.gms/com.google.android.gms.auth.gsf.AccountIntroActivity}: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.google.android.gms.auth.firstparty.shared.AppDescription
E/AndroidRuntime( 7978): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2329)
E/AndroidRuntime( 7978): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)
E/AndroidRuntime( 7978): at android.app.ActivityThread.access$900(ActivityThread.java:147)
E/AndroidRuntime( 7978): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)
E/AndroidRuntime( 7978): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 7978): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 7978): at android.app.ActivityThread.main(ActivityThread.java:5256)
E/AndroidRuntime( 7978): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 7978): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 7978): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
E/AndroidRuntime( 7978): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
E/AndroidRuntime( 7978): Caused by: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.google.android.gms.auth.firstparty.shared.AppDescription
E/AndroidRuntime( 7978): at android.os.Parcel.readException(Parcel.java:1542)
E/AndroidRuntime( 7978): at android.os.Parcel.readException(Parcel.java:1493)
E/AndroidRuntime( 7978): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2414)
E/AndroidRuntime( 7978): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1480)
E/AndroidRuntime( 7978): at android.app.Activity.startActivityForResult(Activity.java:3736)
E/AndroidRuntime( 7978): at android.app.Activity.startActivityForResult(Activity.java:3697)
E/AndroidRuntime( 7978): at android.support.v4.app.q.startActivityForResult(SourceFile:817)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.b.startActivityForResult(SourceFile:660)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.b.a(SourceFile:513)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.AccountIntroActivity.i(SourceFile:358)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.AccountIntroActivity.d(SourceFile:213)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.AccountIntroActivity.onCreate(SourceFile:188)
E/AndroidRuntime( 7978): at android.app.Activity.performCreate(Activity.java:5933)
E/AndroidRuntime( 7978): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 7978): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282)
E/AndroidRuntime( 7978): ... 10 more
W/ActivityManager( 772): Force finishing activity com.google.android.gms/.auth.gsf.AccountIntroActivity
W/ActivityManager( 772): Force finishing activity com.google.android.gms/.common.account.AccountPickerActivity
W/DropBoxManagerService( 772): Dropping: system_server_wtf (1497 > 0 bytes)
W/DropBoxManagerService( 772): Dropping: system_app_crash (2410 > 0 bytes)
Hi amazexperts !
Do you think that it is feasible to add the Mi Home app to the International firmware version ?
Best regards,
raboliot said:
Hi amazexperts !
Do you think that it is feasible to add the Mi Home app to the International firmware version ?
Best regards,
Click to expand...
Click to collapse
I got this error : C:\adb>adb install WearSmartHome.apk
6478 KB/s (624773 bytes in 0.094s)
pkg: /data/local/tmp/WearSmartHome.apk
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]
It seems that you have only the .apk file, but in /system folder of Pace/Stratos normally the apps are odexed so you have a /mips folder with the correspondent .odex file. I have attached the full folder from stock Pace 2.6.1.0 firmware. Probably it's a better idea to push it back to /system instead of trying to deodex and install as normal APK. Have fun.
lfom said:
It seems that you have only the .apk file, but in /system folder of Pace/Stratos normally the apps are odexed so you have a /mips folder with the correspondent .odex file. I have attached the full folder from stock Pace 2.6.1.0 firmware. Probably it's a better idea to push it back to /system instead of trying to deodex and install as normal APK. Have fun.
Click to expand...
Click to collapse
Thank you ! I am testing uploading the files. I will let you informed.
Best regards,
Best regards.
raboliot said:
Thank you ! I am testing uploading the files. I will let you informed.
Best regards,
Best regards.
Click to expand...
Click to collapse
Some errors, if you have ideas....
I/art ( 413): DexFile_isDexOptNeeded file /system/app/WearSmartHome/mips/WearSmartHome.odex is out of date for /system/app/WearSmartHome/WearSmartHome.apk
I/PackageManager( 413): Running dexopt on: /system/app/WearSmartHome/WearSmartHome.apk pkg=com.huami.smarthome isa=mips vmSafeMode=false
I/PackageManager( 413): No secure containers found
W/PackageManager( 413): Unknown permission android.permission.LOCAL_MAC_ADDRESS in package com.huami.smarthome
...
I/dex2oat ( 453): /system/bin/dex2oat --zip-fd=5 --zip-location=/system/app/WearSmartHome/WearSmartHome.apk --oat-fd=6 --oat-location=/data/dalvik-cache/mips/[email protected]@[email protected]@classes.dex --instruction-set=mips --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=7
E/dex2oat ( 453): Failed to open dex from file descriptor for zip file '/system/app/WearSmartHome/WearSmartHome.apk': Entry not found
E/installd( 91): DexInv: --- END '/system/app/WearSmartHome/WearSmartHome.apk' --- status=0x0100, process failed
..
I/LogUtils( 545): com.huami.watch.train.ui.activity.launch.TraintLauncherView-------onBindHost is null ?:false-------
W/System.err( 545): java.lang.ClassNotFoundException: com.huami.smarthome.widget.SmartHomeLauncherWidget
W/System.err( 545): at java.lang.Class.classForName(Native Method)
W/System.err( 545): at java.lang.Class.forName(Class.java:309)
W/System.err( 545): at com.huami.watch.launcher.springboard.PassagerCreator.prepare(PassagerCreator.java:68)
W/System.err( 545): at com.huami.watch.launcher.springboard.PassagerManager$1.onExecute(PassagerManager.java:125)
W/System.err( 545): at clc.utils.taskmanager.TaskManager.executeTask(TaskManager.java:641)
W/System.err( 545): at clc.utils.taskmanager.TaskManager.doInBackground(TaskManager.java:570)
W/System.err( 545): at clc.utils.taskmanager.TaskManager.access$3(TaskManager.java:551)
W/System.err( 545): at clc.utils.taskmanager.TaskManager$2.run(TaskManager.java:295)
W/System.err( 545): at android.os.Handler.handleCallback(Handler.java:739)
W/System.err( 545): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 545): at android.os.Looper.loop(Looper.java:135)
W/System.err( 545): at clc.utils.taskmanager.ThreadWorker.run(ThreadWorker.java:93)
W/System.err( 545): at java.lang.Thread.run(Thread.java:818)
W/System.err( 545): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.huami.smarthome.widget.SmartHomeLauncherWidget" on path: DexPathList[[zip file "/system/app/WearSmartHome/WearSmartHome.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
W/System.err( 545): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
W/System.err( 545): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
W/System.err( 545): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
W/System.err( 545): ... 13 more
W/System.err( 545): Suppressed: java.io.IOException: Zip archive '/system/app/WearSmartHome/WearSmartHome.apk' doesn't contain classes.dex (error msg: Entry not found)
W/System.err( 545): at dalvik.system.DexFile.openDexFileNative(Native Method)
W/System.err( 545): at dalvik.system.DexFile.openDexFile(DexFile.java:295)
W/System.err( 545): at dalvik.system.DexFile.<init>(DexFile.java:80)
W/System.err( 545): at dalvik.system.DexFile.<init>(DexFile.java:59)
W/System.err( 545): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)
W/System.err( 545): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231)
W/System.err( 545): at dalvik.system.DexPathList.<init>(DexPathList.java:109)
W/System.err( 545): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
W/System.err( 545): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
W/System.err( 545): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
W/System.err( 545): at android.app.LoadedApk.getClassLoader(LoadedApk.java:361)
W/System.err( 545): at android.app.ContextImpl.getClassLoader(ContextImpl.java:851)
W/System.err( 545): at com.huami.watch.launcher.springboard.PassagerCreator.prepare(PassagerCreator.java:53)
W/System.err( 545): ... 10 more
W/System.err( 545): Caused by: java.io.IOException: Failed to open oat file from dex location '/system/app/WearSmartHome/WearSmartHome.apk'
W/System.err( 545): ... 23 more
W/System.err( 545): Caused by: java.io.IOException: Failed to open oat file from /system/app/WearSmartHome/mips/WearSmartHome.odex (error ) (no dalvik_cache availible) and relocation failed.
W/System.err( 545): ... 23 more
W/System.err( 545): Caused by: java.io.IOException:
W/System.err( 545): ... 23 more
W/System.err( 545): Suppressed: java.lang.ClassNotFoundException: com.huami.smarthome.widget.SmartHomeLauncherWidget
W/System.err( 545): at java.lang.Class.classForName(Native Method)
W/System.err( 545): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
W/System.err( 545): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
W/System.err( 545): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
W/System.err( 545): ... 14 more
W/System.err( 545): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
Did you use a PC with Windows to unpack the files before pushing it to the watch? If yes, it will lose its permissions, and some errors seem to be related to this kind of problems. If you don't have macOS/Linux, them push the file to watch first, then decompress it on /cache or another etx4 directory with space before moving them to /system.
Last error using Linux :
W/System.err( 581): java.lang.ClassNotFoundException: com.huami.smarthome.widget.SmartHomeLauncherWidget
W/System.err( 581): at java.lang.Class.classForName(Native Method)
W/System.err( 581): at java.lang.Class.forName(Class.java:309)
W/System.err( 581): at com.huami.watch.launcher.springboard.PassagerCreator.prepare(PassagerCreator.java:68)
W/System.err( 581): at com.huami.watch.launcher.springboard.PassagerManager$1.onExecute(PassagerManager.java:125)
W/System.err( 581): at clc.utils.taskmanager.TaskManager.executeTask(TaskManager.java:641)
W/System.err( 581): at clc.utils.taskmanager.TaskManager.doInBackground(TaskManager.java:570)
W/System.err( 581): at clc.utils.taskmanager.TaskManager.access$3(TaskManager.java:551)
W/System.err( 581): at clc.utils.taskmanager.TaskManager$2.run(TaskManager.java:295)
W/System.err( 581): at android.os.Handler.handleCallback(Handler.java:739)
W/System.err( 581): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 581): at android.os.Looper.loop(Looper.java:135)
W/System.err( 581): at clc.utils.taskmanager.ThreadWorker.run(ThreadWorker.java:93)
W/System.err( 581): at java.lang.Thread.run(Thread.java:818)
W/System.err( 581): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.huami.smarthome.widget.SmartHomeLauncherWidget" on path: DexPathList[[zip file "/system/app/WearSmartHome/WearSmartHome.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
W/System.err( 581): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
W/System.err( 581): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
W/System.err( 581): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
W/System.err( 581): ... 13 more
W/System.err( 581): Suppressed: java.io.IOException: Zip archive '/system/app/WearSmartHome/WearSmartHome.apk' doesn't contain classes.dex (error msg: Entry not found)
W/System.err( 581): at dalvik.system.DexFile.openDexFileNative(Native Method)
W/System.err( 581): at dalvik.system.DexFile.openDexFile(DexFile.java:295)
W/System.err( 581): at dalvik.system.DexFile.<init>(DexFile.java:80)
W/System.err( 581): at dalvik.system.DexFile.<init>(DexFile.java:59)
W/System.err( 581): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)
W/System.err( 581): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231)
W/System.err( 581): at dalvik.system.DexPathList.<init>(DexPathList.java:109)
W/System.err( 581): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
W/System.err( 581): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
W/System.err( 581): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
W/System.err( 581): at android.app.LoadedApk.getClassLoader(LoadedApk.java:361)
W/System.err( 581): at android.app.ContextImpl.getClassLoader(ContextImpl.java:851)
W/System.err( 581): at com.huami.watch.launcher.springboard.PassagerCreator.prepare(PassagerCreator.java:53)
W/System.err( 581): ... 10 more
W/System.err( 581): Caused by: java.io.IOException: Failed to open oat file from dex location '/system/app/WearSmartHome/WearSmartHome.apk'
W/System.err( 581): ... 23 more
W/System.err( 581): Caused by: java.io.IOException: Failed to open oat file from /system/app/WearSmartHome/mips/WearSmartHome.odex (error ) (no dalvik_cache availible) and relocation failed.
W/System.err( 581): ... 23 more
W/System.err( 581): Caused by: java.io.IOException:
W/System.err( 581): ... 23 more
W/System.err( 581): Suppressed: java.lang.ClassNotFoundException: com.huami.smarthome.widget.SmartHomeLauncherWidget
W/System.err( 581): at java.lang.Class.classForName(Native Method)
W/System.err( 581): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
W/System.err( 581): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
W/System.err( 581): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
W/System.err( 581): ... 14 more
W/System.err( 581): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
Looks like it relies on some other system libraries, so it's not a stand alone app. Probably it will work only with the CN version of the firmware, which already includes it. If you do want it, probably it's easier to unlock bootloader (it voids watch's warranty) and flash CN-based firmware.
Hi I have the international Stratos too and I would like to use the smart home app... If I change to a Chinese firm would I be able to use it. And could be a Chinese firm translate to English or Spanish? Thank for any info
ysotha said:
Hi I have the international Stratos too and I would like to use the smart home app... If I change to a Chinese firm would I be able to use it. And could be a Chinese firm translate to English or Spanish? Thank for any info
Click to expand...
Click to collapse
Hi,
I use Stratosfield firmware. CN base with translations.
raboliot said:
Hi,
I use Stratosfield firmware. CN base with translations.
Click to expand...
Click to collapse
HI and thanks. Does it have the smart home app? And works with the smart home ecosystem of xiaomi without problems? I have had the watch only for a few days and still a newbie...
Thanks again.
The Mi home apps gave me access only to Mi plug Mini and Xiaomi Color Bulb.
I have 3 other devices, that i can't control via Watch. So i turn back to stock rom
Hello guys!
I found that one Russian guy released a video showing that Amazfit Stratos works with Mi app home on a stock ROM.
I used his instructions and wow it's works!!!
If you need some translations I will help you!
Kindly ask you not to copy direct link here to the modified App so he will get necessary viewings on his page.
---------- Post added at 10:36 AM ---------- Previous post was at 10:16 AM ----------
Some short instructions
This modified apk could be installed directly from PC to your Amazfit Stratos.
1. What you will need is just install software for PC and app itself.
2. Install drivers if you need.
3. Then use your cable to connect the phone
4. Install apk on your phone using this software
5. Restart the watch
6. Be sure that your Amazfit is not in airplane mode and connected to the phone.
7. Open Mi home app at your Amazfit Stratos watch
8. In your phone Mi home app press add new device and find Amazfit Pace even if you have Amazfit Stratos
9. Phone app will try to configure the app on the watch and you will be able to use it
10. First time you need to configure on Phones Mi home app what Measurements will be shown on your watch and what devices you will need to configure
10. After you will need to press sync button to send the settings to phone
11. The whatch Mi home app needs phone to be connected in order to control your home devices
12. Every first 5-10 minutes after each phone-watxh reconnection it workes with some lags as watch receiving the info from devices.
Hi, could you post the link once again or the link to the APK? For me the link to YouTube does not work. Thanks
amb777 said:
..
9. Phone app will try to configure the app on the watch and you will be able to use it
10. First time you need to configure on Phones Mi home app what Measurements will be shown on your watch and what devices you will need to configure
10. After you will need to press sync button to send the settings to phone
11. The whatch Mi home app needs phone to be connected in order to control your home devices
12. Every first 5-10 minutes after each phone-watxh reconnection it workes with some lags as watch receiving the info from devices.
Click to expand...
Click to collapse
Thanks for sharing the steps, indeed the youtube video is down, it would be nice if you could share the apk. From you explanation it sounds like he controls the Mi home devices via the phone, which is a workaround....
The original app from the CN firmware controls the devices via Wifi directly, right? (I'm asking because I've only used the Stock OS)
behrma said:
Hi, could you post the link once again or the link to the APK? For me the link to YouTube does not work. Thanks
Click to expand...
Click to collapse
I think this is the youtube video: https://www.youtube.com/watch?v=4hM9A9KRPd0
And the apk is from here: https://drive.google.com/file/d/11Me4xOSaoozU3uJRaHYlS1Hmvj1CdV98/view
Yes, this is right app.
No, the app works via your phone. So it should be connected. But I'm not sure if it works via WiFi, my opinion that it works only via Bluetooth.
How to install the Mi Home app on the amazfit stratos internacional version
Hello All
I just have found a way to install the mi home app on the amazfit stratos international version please see the video and the video description to access all the information and files needed to perform this
https://youtu.be/nHy2ao5N3u8
Best regards
Stratos
Doesn't work. Too me app not open. Mi home app on the phone, can't see the smartwach. What version of firmware do you have on Stratos? I have 2.3.7.0.
CRISSTIB75 said:
Doesn't work. Too me app not open. Mi home app on the phone, can't see the smartwach. What version of firmware do you have on Stratos? I have 2.3.7.0.
Click to expand...
Click to collapse
at mi home app on phone change region to mainland china..it will works
---------- Post added at 10:59 AM ---------- Previous post was at 10:57 AM ----------
mine works after change to mainland china region
I have a 7.85" DJI Crystal Sky which runs android 5.1.1. I'm trying to get DroneDeploy running on it. DroneDeploy does not support the device because the stock firmware is missing a lot of android/google services. I rooted it and flashed gapps and sideloaded the APK. With the pico gapps the app would start, show the welcome screen, I'd tap next and then it would go to a white screen and nothing. So i flashed the full gapps and now it just crashes right away. Here's the info form logcat:
Code:
E/AndroidRuntime(10282): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dronedeploy.beta/com.dronedeploy.beta.ui.MainActivity}: java.lang.RuntimeException: Failed to create webview.
E/AndroidRuntime(10282): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2347)
E/AndroidRuntime(10282): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2409)
E/AndroidRuntime(10282): at android.app.ActivityThread.access$800(ActivityThread.java:151)
E/AndroidRuntime(10282): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
E/AndroidRuntime(10282): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(10282): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(10282): at android.app.ActivityThread.main(ActivityThread.java:5282)
E/AndroidRuntime(10282): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(10282): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(10282): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:966)
E/AndroidRuntime(10282): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:761)
E/AndroidRuntime(10282): Caused by: java.lang.RuntimeException: Failed to create webview.
E/AndroidRuntime(10282): at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:102)
E/AndroidRuntime(10282): at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:197)
E/AndroidRuntime(10282): at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:193)
E/AndroidRuntime(10282): at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:142)
E/AndroidRuntime(10282): at com.dronedeploy.beta.ui.MainActivity.init(MainActivity.java:176)
E/AndroidRuntime(10282): at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:215)
E/AndroidRuntime(10282): at com.dronedeploy.beta.ui.MainActivity.onCreate(MainActivity.java:129)
E/AndroidRuntime(10282): at android.app.Activity.performCreate(Activity.java:6222)
E/AndroidRuntime(10282): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
E/AndroidRuntime(10282): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2297)
E/AndroidRuntime(10282): ... 10 more
E/AndroidRuntime(10282): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime(10282): at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime(10282): at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
E/AndroidRuntime(10282): at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:100)
E/AndroidRuntime(10282): ... 19 more
E/AndroidRuntime(10282): Caused by: android.util.AndroidRuntimeException: android.content.pm.PackageManager$NameNotFoundException: com.android.webview
E/AndroidRuntime(10282): at android.webkit.WebViewFactory.getFactoryClass(WebViewFactory.java:187)
E/AndroidRuntime(10282): at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:122)
E/AndroidRuntime(10282): at android.webkit.WebView.getFactory(WebView.java:2194)
E/AndroidRuntime(10282): at android.webkit.WebView.ensureProviderCreated(WebView.java:2189)
E/AndroidRuntime(10282): at android.webkit.WebView.setOverScrollMode(WebView.java:2248)
E/AndroidRuntime(10282): at android.view.View.<init>(View.java:3617)
E/AndroidRuntime(10282): at android.view.View.<init>(View.java:3711)
E/AndroidRuntime(10282): at android.view.ViewGroup.<init>(ViewGroup.java:497)
E/AndroidRuntime(10282): at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
E/AndroidRuntime(10282): at android.webkit.WebView.<init>(WebView.java:544)
E/AndroidRuntime(10282): at android.webkit.WebView.<init>(WebView.java:489)
E/AndroidRuntime(10282): at android.webkit.WebView.<init>(WebView.java:472)
E/AndroidRuntime(10282): at android.webkit.WebView.<init>(WebView.java:459)
E/AndroidRuntime(10282): at org.apache.cordova.engine.SystemWebView.<init>(SystemWebView.java:47)
E/AndroidRuntime(10282): at org.apache.cordova.engine.SystemWebView.<init>(SystemWebView.java:43)
E/AndroidRuntime(10282): at org.apache.cordova.engine.SystemWebViewEngine.<init>(SystemWebViewEngine.java:75)
E/AndroidRuntime(10282): ... 22 more
E/AndroidRuntime(10282): Caused by: android.content.pm.PackageManager$NameNotFoundException: com.android.webview
E/AndroidRuntime(10282): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:115)
E/AndroidRuntime(10282): at android.webkit.WebViewFactory.getFactoryClass(WebViewFactory.java:159)
E/AndroidRuntime(10282): ... 37 more
From my limited knowledge it's got something to do with webview. I googled it and found a post saying that error is due to the ACCESS_WIFI_STATE permission not being granted. Here's the dumpsys and it shows it has all permissions granted:
Code:
Activity Resolver Table:
Schemes:
com.dronedeploy.beta:
29789616 com.dronedeploy.beta/.ui.MainActivity (2 filters)
dd:
29789616 com.dronedeploy.beta/.ui.MainActivity
dronedeploy:
29789616 com.dronedeploy.beta/.ui.MainActivity
Non-Data Actions:
android.intent.action.MAIN:
29789616 com.dronedeploy.beta/.ui.MainActivity
android.hardware.usb.action.USB_ACCESSORY_ATTACHED:
1116cb97 com.dronedeploy.beta/dji.sdk.sdkmanager.DJIAoaControllerActivity
Receiver Resolver Table:
Non-Data Actions:
dji.go3.STARTUP:
686e184 com.dronedeploy.beta/dji.logic.receiver.DJIPilotStartupReceiver
com.facebook.sdk.ACTION_CURRENT_ACCESS_TOKEN_CHANGED:
103c6d6d com.dronedeploy.beta/com.facebook.CurrentAccessTokenExpirationBroadcastReceiver
com.android.vending.INSTALL_REFERRER:
225ffda2 com.dronedeploy.beta/io.branch.referral.InstallListener
2f728a33 com.dronedeploy.beta/com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver
com.google.android.c2dm.intent.RECEIVE:
b3f7369 com.dronedeploy.beta/com.google.firebase.iid.FirebaseInstanceIdReceiver
305291f0 com.dronedeploy.beta/com.google.android.gms.gcm.GcmReceiver
dji.go4.STARTUP:
686e184 com.dronedeploy.beta/dji.logic.receiver.DJIPilotStartupReceiver
com.google.android.c2dm.intent.REGISTRATION:
305291f0 com.dronedeploy.beta/com.google.android.gms.gcm.GcmReceiver
Service Resolver Table:
Non-Data Actions:
com.google.firebase.INSTANCE_ID_EVENT:
b6451ee com.dronedeploy.beta/com.google.firebase.iid.FirebaseInstanceIdService
com.google.android.c2dm.intent.RECEIVE:
36c1968f com.dronedeploy.beta/.gcm.DdGcmListenerService
com.google.android.gms.iid.InstanceID:
de6dd1c com.dronedeploy.beta/.gcm.DdInstanceIDListenerService
Permissions:
Permission [com.dronedeploy.beta.permission.C2D_MESSAGE] (2252dd25):
sourcePackage=com.dronedeploy.beta
uid=10097 gids=[] type=0 prot=signature
packageSetting=PackageSetting{c479efa com.dronedeploy.beta/10097}
perm=Permission{3c4b0cab com.dronedeploy.beta.permission.C2D_MESSAGE}
Registered ContentProviders:
com.dronedeploy.beta/com.facebook.marketing.internal.MarketingInitProvider:
Provider{112af08 com.dronedeploy.beta/com.facebook.marketing.internal.MarketingInitProvider}
com.dronedeploy.beta/com.google.firebase.provider.FirebaseInitProvider:
Provider{e7926a1 com.dronedeploy.beta/com.google.firebase.provider.FirebaseInitProvider}
com.dronedeploy.beta/com.facebook.internal.FacebookInitProvider:
Provider{14e0b0c6 com.dronedeploy.beta/com.facebook.internal.FacebookInitProvider}
ContentProvider Authorities:
[com.dronedeploy.beta.MarketingInitProvider]:
Provider{112af08 com.dronedeploy.beta/com.facebook.marketing.internal.MarketingInitProvider}
applicationInfo=ApplicationInfo{18abc887 com.dronedeploy.beta}
[com.dronedeploy.beta.firebaseinitprovider]:
Provider{e7926a1 com.dronedeploy.beta/com.google.firebase.provider.FirebaseInitProvider}
applicationInfo=ApplicationInfo{18abc887 com.dronedeploy.beta}
[com.dronedeploy.beta.FacebookInitProvider]:
Provider{14e0b0c6 com.dronedeploy.beta/com.facebook.internal.FacebookInitProvider}
applicationInfo=ApplicationInfo{18abc887 com.dronedeploy.beta}
Key Set Manager:
[com.dronedeploy.beta]
Signing KeySets: 110
Packages:
Package [com.dronedeploy.beta] (c479efa):
userId=10097 gids=[3002, 3001, 3003, 1028, 1015]
pkg=Package{37a7b3b4 com.dronedeploy.beta}
codePath=/data/app/com.dronedeploy.beta-1
resourcePath=/data/app/com.dronedeploy.beta-1
legacyNativeLibraryDir=/data/app/com.dronedeploy.beta-1/lib
primaryCpuAbi=armeabi-v7a
secondaryCpuAbi=null
versionCode=107177 targetSdk=24
versionName=2.76.0
splits=[base]
applicationInfo=ApplicationInfo{18abc887 com.dronedeploy.beta}
flags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ]
dataDir=/data/data/com.dronedeploy.beta
supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
usesLibraries:
com.android.future.usb.accessory
android.test.runner
usesLibraryFiles:
/system/framework/android.test.runner.jar
/system/framework/com.android.future.usb.accessory.jar
timeStamp=2020-04-20 03:13:14
firstInstallTime=2020-04-20 03:13:18
lastUpdateTime=2020-04-20 03:13:18
signatures=PackageSignatures{3c608bdd [29a71352]}
permissionsFixed=true haveGids=true installStatus=1
pkgFlags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ]
User 0: installed=true hidden=false stopped=false notLaunched=false enabled=0
grantedPermissions:
android.permission.WRITE_SETTINGS
com.google.android.c2dm.permission.RECEIVE
android.permission.ACCESS_FINE_LOCATION
android.permission.USE_CREDENTIALS
com.google.android.providers.gsf.permission.READ_GSERVICES
android.permission.MANAGE_ACCOUNTS
android.permission.SYSTEM_ALERT_WINDOW
android.permission.CHANGE_NETWORK_STATE
android.permission.RECEIVE_BOOT_COMPLETED
android.permission.BLUETOOTH
android.permission.GET_TASKS
android.permission.INTERNET
android.permission.BLUETOOTH_ADMIN
android.permission.READ_EXTERNAL_STORAGE
android.permission.ACCESS_COARSE_LOCATION
android.permission.READ_PHONE_STATE
android.permission.BROADCAST_STICKY
android.permission.CHANGE_WIFI_STATE
android.permission.ACCESS_NETWORK_STATE
com.dronedeploy.beta.permission.C2D_MESSAGE
android.permission.CAMERA
android.permission.KILL_BACKGROUND_PROCESSES
android.permission.WRITE_USER_DICTIONARY
android.permission.GET_ACCOUNTS
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.VIBRATE
android.permission.ACCESS_WIFI_STATE
android.permission.RECORD_AUDIO
android.permission.WAKE_LOCK
Any help would be much appreciated.
Thank you.
DroneDeploy requires Android 6.0 and up, so also the Android 6.0+ conformant system app WebView, IMO.