[Q] SystemOrSignature permission denied - Android Q&A, Help & Troubleshooting

I am trying to build a very small broadcast receiver only application, that will be in /system/app so it will have access for the permissions i need, and i can broadcast a few intents from my main application (not in /system) to perform a few activities.
I had never programmed using system permissions, so it took me a while to understand why even copying the apk in /system i was still getting permission denied; So i found out that i have to manually run "pm grant PACKAGE PERMISSION" to the manually copied apk and it worked. At least for WRITE_SECURE_SETTINGS permission. The problem is i am trying now to use the android.permission.CHANGE_COMPONENT_ENABLED_STATE, which should also be System|Signature , but i can not make it work.
If i try pm grant PACKAGE android.permission.CHANGE_COMPONENT_ENABLED_STATE, i get:
Operation not allowed: java.lang.SecurityException: Permission android.permission.CHANGE_COMPONENT_ENABLED_STATE is not a changeable permission type
And the error when i try to disable a component from another app is:
W/System.err( 4631): java.lang.SecurityException: Permission Denial: attempt to change component state from pid=4631, uid=10069, package uid=10038
W/System.err( 4631): at android.os.Parcel.readException(Parcel.java:1465)
W/System.err( 4631): at android.os.Parcel.readException(Parcel.java:1419)
W/System.err( 4631): at android.content.pm.IPackageManager$Stub$Proxy.setComponentEnabledSetting(IPackageManager.java:2943)
W/System.err( 4631): at android.app.ApplicationPackageManager.setComponentEnabledSetting(ApplicationPackageManager.java:1296)
W/System.err( 4631): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2439)
W/System.err( 4631): at android.app.ActivityThread.access$1700(ActivityThread.java:145)
W/System.err( 4631): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282)
W/System.err( 4631): at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err( 4631): at android.os.Looper.loop(Looper.java:136)
W/System.err( 4631): at android.app.ActivityThread.main(ActivityThread.java:5081)
W/System.err( 4631): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 4631): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 4631): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
W/System.err( 4631): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
W/System.err( 4631): at dalvik.system.NativeStart.main(Native Method)
Any ideas how can i get this permission ?
My apk is already in /system/app
Thanks !

If you're using Android 4.4 it should be in /system/priv-app

Related

[Q] [Help] Adding Su to build

I'm in the process of learning to build android from source. I've got my AOKP rom booting and am working on adding superuser to it, and am running into troubles. After much googling here is what I've done
Cloned Superuser source code
Code:
git clone git://github.com/ChainsDD/Superuser.git packages/apps/Superuser
Copied the su binary from my current rom (/system/xbin/su) to my device tree
Edited device.mk
Code:
# Build superuser
PRODUCT_PACKAGES := \
Superuser
# copy su binary
PRODUCT_COPY_FILES += \
device/lge/E973/su:system/xbin/su
Everything built fine and Superuser is in my app drawer when rom boots. If i try to open Superuser it force closes. Root checker shows that i am rooted, and typing 'su' in terminal emulator gets root access. Neither will give me a dialog asking to deny or grant.
If i install SuperSuperuser from the market, it will present all the normal dialogs and everything seems as it should.
I'm wondering what it is I'm doing wrong, and how I can correct it.
Here is a logcat of the failed attempt to open superuser
Code:
D/dalvikvm( 2157): Late-enabling CheckJNI
I/ActivityManager( 530): Start proc com.noshufou.android.su for activity com.noshufou.android.su/.Su: pid=2157 uid=10040 gids={50040, 3003, 1015, 1028}
I/dalvikvm( 2157): Turning on JNI app bug workarounds for target SDK version 11...
D/overlay ( 161): FROM_STATE = OV_BYPASS_3_LAYER TO_STATE = OV_CLOSED
I/ActivityThread( 2157): Pub com.noshufou.android.su.provider: com.noshufou.android.su.provider.PermissionsProvider
D/Su.HomeActivity( 2157): onCreate()
D/AndroidRuntime( 2157): Shutting down VM
W/dalvikvm( 2157): threadid=1: thread exiting with uncaught exception (group=0x40dd7930)
E/AndroidRuntime( 2157): FATAL EXCEPTION: main
E/AndroidRuntime( 2157): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.noshufou.android.su/com.noshufou.android.su.HomeActivity}: java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306)
E/AndroidRuntime( 2157): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2356)
E/AndroidRuntime( 2157): at android.app.ActivityThread.access$600(ActivityThread.java:150)
E/AndroidRuntime( 2157): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244)
E/AndroidRuntime( 2157): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2157): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2157): at android.app.ActivityThread.main(ActivityThread.java:5193)
E/AndroidRuntime( 2157): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2157): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2157): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 2157): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 2157): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2157): Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at com.actionbarsherlock.ActionBarSherlock.wrap(ActionBarSherlock.java:232)
E/AndroidRuntime( 2157): at com.actionbarsherlock.app.SherlockFragmentActivity.getSherlock(SherlockFragmentActivity.java:32)
E/AndroidRuntime( 2157): at com.actionbarsherlock.app.SherlockFragmentActivity.requestWindowFeature(SherlockFragmentActivity.java:265)
E/AndroidRuntime( 2157): at com.noshufou.android.su.HomeActivity.onCreate(HomeActivity.java:59)
E/AndroidRuntime( 2157): at android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 2157): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 2157): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2260)
E/AndroidRuntime( 2157): ... 11 more
E/AndroidRuntime( 2157): Caused by: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at java.lang.Class.getConstructorOrMethod(Class.java:460)
E/AndroidRuntime( 2157): at java.lang.Class.getConstructor(Class.java:431)
E/AndroidRuntime( 2157): at com.actionbarsherlock.ActionBarSherlock.wrap(ActionBarSherlock.java:229)
E/AndroidRuntime( 2157): ... 17 more
W/ActivityManager( 530): Force finishing activity com.noshufou.android.su/.Su
D/dalvikvm( 2157): GC_CONCURRENT freed 219K, 15% free 2489K/2912K, paused 2ms+1ms, total 21ms
I/dalvikvm( 530): Jit: resizing JitTable from 8192 to 16384
W/ActivityManager( 530): Activity pause timeout for ActivityRecord{41681370 u0 com.noshufou.android.su/.Su}
I/Process ( 2157): Sending signal. PID: 2157 SIG: 9
I/ActivityManager( 530): Process com.noshufou.android.su (pid 2157) has died.
W/InputMethodManagerService( 530): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
D/dalvikvm( 530): GC_CONCURRENT freed 7964K, 44% free 13574K/23868K, paused 2ms+6ms, total 57ms
D/overlay ( 161): FROM_STATE = OV_CLOSED TO_STATE = OV_BYPASS_3_LAYER
just a lilttle bump, if anyone can just point me in the dirrection of where i'm going wrong here I would be very appreciative.

[Q] Porting PAC rom - some problems

Hello everyone,
I have some problems with porting PAC to HTC Sensation:
1. getVolumeState(/mnt/usbdisk): Unknown volume - beacuse of that I have f/c on settings/storage and can't mount SD card. Workaround - pull and push sd card than can it read it. Here is full logcat:
Code:
W/MountService( 436): getVolumeState(/mnt/usbdisk): Unknown volume
D/AndroidRuntime(13478): Shutting down VM
W/dalvikvm(13478): threadid=1: thread exiting with uncaught exception (group=0x40af5930)
E/AndroidRuntime(13478): FATAL EXCEPTION: main
E/AndroidRuntime(13478): java.lang.IllegalArgumentException
E/AndroidRuntime(13478): at android.os.Parcel.readException(Parcel.java:1429)
E/AndroidRuntime(13478): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime(13478): at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
E/AndroidRuntime(13478): at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updatePreferencesFromState(StorageVolumePreferenceCategory.java:241)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updateApproximate(StorageVolumePreferenceCategory.java:335)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory$1.handleMessage(StorageVolumePreferenceCategory.java:91)
E/AndroidRuntime(13478): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(13478): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(13478): at android.app.ActivityThread.main(ActivityThread.java:5237)
E/AndroidRuntime(13478): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(13478): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(13478): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime(13478): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime(13478): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 436): Force finishing activity com.android.settings/.Settings
W/ActivityManager( 436): Activity pause timeout for ActivityRecord{40f15f58 u0 com.android.settings/.Settings}
W/ThrottleService( 436): unable to find stats for iface rmnet0
2. Menu settings doesn't work. After touching softkey or the key on the screen it doesn't show program settings. I don't know how to fix it...
Thanks for any help!
You can PM or answer this thread.
Regards,
Hellmanor.
bump.
bump again.
More logcat:
Code:
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
W/StorageMeasurement( 1919): Problem in container service
W/StorageMeasurement( 1919): java.lang.IllegalStateException: libcore.io.ErrnoException: statfs failed: ENOENT (No such file or directory)
W/StorageMeasurement( 1919): at android.os.Parcel.readException(Parcel.java:1433)
W/StorageMeasurement( 1919): at android.os.Parcel.readException(Parcel.java:1379)
W/StorageMeasurement( 1919): at com.android.internal.app.IMediaContainerService$Stub$Proxy.getFileSystemStats(IMediaContainerService.java:464)
W/StorageMeasurement( 1919): at com.android.settings.deviceinfo.StorageMeasurement$MeasurementHandler.measureApproximateStorage(StorageMeasurement.java:384)
W/StorageMeasurement( 1919): at com.android.settings.deviceinfo.StorageMeasurement$MeasurementHandler.handleMessage(StorageMeasurement.java:350)
W/StorageMeasurement( 1919): at android.os.Handler.dispatchMessage(Handler.java:99)
W/StorageMeasurement( 1919): at android.os.Looper.loop(Looper.java:137)
W/StorageMeasurement( 1919): at android.os.HandlerThread.run(HandlerThread.java:60)
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Android) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Podcasts) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/DCIM) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Ringtones) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Movies) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Alarms) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Music) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Notifications) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Pictures) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Download) returned 0
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
D/AndroidRuntime( 1919): Shutting down VM
W/dalvikvm( 1919): threadid=1: thread exiting with uncaught exception (group=0x40b09930)
W/MountService( 434): getVolumeState(/mnt/usbdisk): Unknown volume
E/AndroidRuntime( 1919): FATAL EXCEPTION: main
E/AndroidRuntime( 1919): java.lang.IllegalArgumentException
E/AndroidRuntime( 1919): at android.os.Parcel.readException(Parcel.java:1429)
E/AndroidRuntime( 1919): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 1919): at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
E/AndroidRuntime( 1919): at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updatePreferencesFromState(StorageVolumePreferenceCategory.java:241)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updateApproximate(StorageVolumePreferenceCategory.java:335)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory$1.handleMessage(StorageVolumePreferenceCategory.java:91)
E/AndroidRuntime( 1919): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1919): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1919): at android.app.ActivityThread.main(ActivityThread.java:5237)
E/AndroidRuntime( 1919): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1919): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1919): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1919): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 1919): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 434): Force finishing activity com.android.settings/.Settings

[Q] Viber background process keeps crashing

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?

[Q] Google Play services and Android modifications

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)

Stratos internationl : add Mi Home app

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

Categories

Resources