Open alaakaazaam opened 5 years ago
Lollipop installation process : https://www.androidblog.gs/install-android-5-0-lollipop-via-unofficial-cyanogenmod-12-on-sony-xperia-sp-with-locked-bootloader/
Tried with new version today from playstore, imported seedvault, filled password and pressed 'Open wallet'
If i try to build trinity from github sourceCode, i get this trace :
stephane@ste64:/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile$ yarn --warning-mode --verbose --stacktrace all android:dev yarn run v1.16.0 verbose 0.897 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/.npmrc". verbose 0.898 Checking for configuration file "/home/stephane/.npmrc". verbose 0.898 Found configuration file "/home/stephane/.npmrc". verbose 0.899 Checking for configuration file "/usr/etc/npmrc". verbose 0.899 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/.npmrc". verbose 0.899 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/.npmrc". verbose 0.899 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/.npmrc". verbose 0.9 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/.npmrc". verbose 0.9 Checking for configuration file "/media/stephane/Ta/iota/trinity/.npmrc". verbose 0.9 Checking for configuration file "/media/stephane/Ta/iota/.npmrc". verbose 0.9 Checking for configuration file "/media/stephane/Ta/.npmrc". verbose 0.9 Checking for configuration file "/media/stephane/.npmrc". verbose 0.901 Checking for configuration file "/media/.npmrc". verbose 0.91 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/.yarnrc". verbose 0.91 Found configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/.yarnrc". verbose 0.911 Checking for configuration file "/home/stephane/.yarnrc". verbose 0.911 Found configuration file "/home/stephane/.yarnrc". verbose 0.911 Checking for configuration file "/usr/etc/yarnrc". verbose 0.912 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/.yarnrc". verbose 0.912 Found configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/.yarnrc". verbose 0.912 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/.yarnrc". verbose 0.912 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/trinity-wallet/.yarnrc". verbose 0.912 Checking for configuration file "/media/stephane/Ta/iota/trinity/src/.yarnrc". verbose 0.913 Checking for configuration file "/media/stephane/Ta/iota/trinity/.yarnrc". verbose 0.913 Checking for configuration file "/media/stephane/Ta/iota/.yarnrc". verbose 0.913 Checking for configuration file "/media/stephane/Ta/.yarnrc". verbose 0.913 Checking for configuration file "/media/stephane/.yarnrc". verbose 0.913 Checking for configuration file "/media/.yarnrc". verbose 0.921 current time: 2019-07-01T18:22:05.056Z $ ./node_modules/.bin/cross-env NODE_ENV=development ./node_modules/.bin/react-native run-android Starting JS server... Building and installing the app on the device (cd android && ./gradlew installDebug)...
Configure project :app WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variant.getPackageApplication()' is obsolete and has been replaced with 'variant.getPackageApplicationProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getPackageApplication(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variantOutput.getProcessManifest()' is obsolete and has been replaced with 'variantOutput.getProcessManifestProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variantOutput.getProcessManifest(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variantOutput.getAssemble()' is obsolete and has been replaced with 'variant.getAssembleProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variantOutput.getAssemble(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
Configure project :bugsnag-react-native WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :lottie-react-native publishNonDefault is deprecated and has no effect anymore. All variants are now published.
Configure project :nodejs-mobile-react-native WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :randombytes WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-detect-navbar-android WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-device-info WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-document-picker WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-exit-app WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-extra-dimensions-android WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-fingerprint-scanner WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-flag-secure-android WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-haptic-feedback WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-is-device-rooted WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-keep-awake WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-keychain WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-navigation downloadRobolectricDependencies into /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/android/build/robolectric-3.5.1-dependencies
Configure project :react-native-os WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-print WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-qr-generator WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-qr-scanner WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-securerandom WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-svg WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :react-native-view-shot WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configure project :rn-fetch-blob WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Task :lottie-react-native:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/lottie-react-native/src/android/src/main/java/com/airbnb/android/react/lottie/LottieAnimationViewManager.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
Task :nodejs-mobile-react-native:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/nodejs-mobile-react-native/android/src/main/java/com/janeasystems/rn_nodejs_mobile/RNNodeJsMobileModule.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
Task :react-native-camera:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/react-native-camera/android/src/main/java/com/google/android/cameraview/Camera2.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
Task :react-native-device-info:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/react-native-device-info/android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Task :react-native-google-safetynet:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/react-native-google-safetynet/android/src/main/java/com/rajivshah/safetynet/RNGoogleSafetyNetModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Task :react-native-haptic-feedback:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/react-native-haptic-feedback/android/src/main/java/com/mkuczera/RNReactNativeHapticFeedbackModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Task :react-native-modal-translucent:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/react-native-modal-translucent/android/src/main/java/me/listenzz/modal/TranslucentModalHostShadowNode.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Task :react-native-navigation:compileReactNative57DebugJavaWithJavac Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
Task :react-native-print:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/react-native-print/android/src/main/java/com/christopherdro/RNPrint/RNPrintModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Task :react-native-share:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/react-native-share/android/src/main/java/cl/json/ShareFiles.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
Task :react-native-svg:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Task :realm:forwardDebugPort
- daemon not running; starting now at tcp:5037
- daemon started successfully 8083
Task :rn-fetch-blob:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/rn-fetch-blob/android/src/main/java/com/RNFetchBlob/RNFetchBlobUtils.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Task :app:compileDebugJavaWithJavac Note: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/android/app/src/main/java/org/iota/mobile/EntangledAndroid.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Task :nodejs-mobile-react-native:generateJsonModelDebug debug|armeabi-v7a :-- Check for working C compiler: /media/stephane/Ta/logiciels/dev/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang debug|armeabi-v7a :-- Check for working C compiler: /media/stephane/Ta/logiciels/dev/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works debug|armeabi-v7a :-- Detecting C compiler ABI info debug|armeabi-v7a :-- Detecting C compiler ABI info - done debug|armeabi-v7a :-- Detecting C compile features debug|armeabi-v7a :-- Detecting C compile features - done debug|armeabi-v7a :-- Check for working CXX compiler: /media/stephane/Ta/logiciels/dev/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ debug|armeabi-v7a :-- Check for working CXX compiler: /media/stephane/Ta/logiciels/dev/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works debug|armeabi-v7a :-- Detecting CXX compiler ABI info debug|armeabi-v7a :-- Detecting CXX compiler ABI info - done debug|armeabi-v7a :-- Detecting CXX compile features debug|armeabi-v7a :-- Detecting CXX compile features - done debug|armeabi-v7a :-- Configuring done debug|armeabi-v7a :-- Generating done debug|armeabi-v7a :-- Build files have been written to: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/nodejs-mobile-react-native/android/.externalNativeBuild/cmake/debug/armeabi-v7a debug|x86 :-- Check for working C compiler: /media/stephane/Ta/logiciels/dev/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang debug|x86 :-- Check for working C compiler: /media/stephane/Ta/logiciels/dev/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works debug|x86 :-- Detecting C compiler ABI info debug|x86 :-- Detecting C compiler ABI info - done debug|x86 :-- Detecting C compile features debug|x86 :-- Detecting C compile features - done debug|x86 :-- Check for working CXX compiler: /media/stephane/Ta/logiciels/dev/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ debug|x86 :-- Check for working CXX compiler: /media/stephane/Ta/logiciels/dev/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works debug|x86 :-- Detecting CXX compiler ABI info debug|x86 :-- Detecting CXX compiler ABI info - done debug|x86 :-- Detecting CXX compile features debug|x86 :-- Detecting CXX compile features - done debug|x86 :-- Configuring done debug|x86 :-- Generating done debug|x86 :-- Build files have been written to: /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/node_modules/nodejs-mobile-react-native/android/.externalNativeBuild/cmake/debug/x86
Task :nodejs-mobile-react-native:externalNativeBuildDebug Build nodejs-mobile-react-native-native-lib x86 [1/3] Building CXX object CMakeFiles/nodejs-mobile-react-native-native-lib.dir/src/main/cpp/native-lib.cpp.o [2/3] Building CXX object CMakeFiles/nodejs-mobile-react-native-native-lib.dir/src/main/cpp/rn-bridge.cpp.o [3/3] Linking CXX shared library ../../../../build/intermediates/cmake/debug/obj/x86/libnodejs-mobile-react-native-native-lib.so Build nodejs-mobile-react-native-native-lib armeabi-v7a [1/3] Building CXX object CMakeFiles/nodejs-mobile-react-native-native-lib.dir/src/main/cpp/native-lib.cpp.o [2/3] Building CXX object CMakeFiles/nodejs-mobile-react-native-native-lib.dir/src/main/cpp/rn-bridge.cpp.o [3/3] Linking CXX shared library ../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libnodejs-mobile-react-native-native-lib.so
Task :app:transformNativeLibsWithStripDebugSymbolForDebug Unable to strip library '/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/android/app/build/intermediates/transforms/mergeJniLibs/debug/0/lib/armeabi/libicu_common.so' due to missing strip tool for ABI 'ARMEABI'. Packaging it as is. Unable to strip library '/media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/android/app/build/intermediates/transforms/mergeJniLibs/debug/0/lib/armeabi/libconceal.so' due to missing strip tool for ABI 'ARMEABI'. Packaging it as is.
Task :app:installDebug 08:28:37 V/ddms: execute: running am get-config 08:28:38 V/ddms: execute 'am get-config' on 'YT9109SELJ' : EOF hit. Read: -1 08:28:38 V/ddms: execute: returning Installing APK 'app-debug.apk' on 'Xperia SP - 5.0.2' for app:debug 08:28:38 D/app-debug.apk: Uploading app-debug.apk onto device 'YT9109SELJ' 08:28:38 D/Device: Uploading file onto device 'YT9109SELJ' 08:28:38 D/ddms: Reading file permision of /media/stephane/Ta/iota/trinity/src/trinity-wallet/src/mobile/android/app/build/outputs/apk/debug/app-debug.apk as: rw-r--r-- 08:29:15 V/ddms: execute: running pm install -r -t "/data/local/tmp/app-debug.apk" 08:31:01 V/ddms: execute 'pm install -r -t "/data/local/tmp/app-debug.apk"' on 'YT9109SELJ' : EOF hit. Read: -1 08:31:01 V/ddms: execute: returning 08:31:01 V/ddms: execute: running rm "/data/local/tmp/app-debug.apk" 08:31:01 V/ddms: execute 'rm "/data/local/tmp/app-debug.apk"' on 'YT9109SELJ' : EOF hit. Read: -1 08:31:01 V/ddms: execute: returning Installed on 1 device.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 8m 46s 586 actionable tasks: 538 executed, 48 up-to-date Running /media/stephane/Ta/logiciels/dev/android-sdk/platform-tools/adb -s YT9109SELJ reverse tcp:8081 tcp:8081 Starting the app on YT9109SELJ (/media/stephane/Ta/logiciels/dev/android-sdk/platform-tools/adb -s YT9109SELJ shell am start -n com.iota.trinity/com.iota.trinity.MainActivity)... Starting: Intent { cmp=com.iota.trinity/.MainActivity } Done in 541.07s. All seems fine but this appears on the device : see picture below
The stacktrace posted in https://github.com/iotaledger/trinity-wallet/issues/1817#issuecomment-508228242 seems similar to the one in https://github.com/iotaledger/trinity-wallet/issues/1939#issuecomment-508624903
Well, obviously i'm short on RAM :
Bug description
I get this error after opening Trinity and then clicking 'Open the wallet' : "The username or passphrase you entered is not correct."
Environment Specs
Manufacturer: Sony
Model: Xperia sp C5303 lbhuashan
OS version: Cyanogenmod12 - 5.0.2 lollipop
Trinity version: Latest available on playStore : trinity-mobile-0.7.2
Steps To Reproduce
Expected behaviour
My balance should appear with my addresses.
Actual behaviour
Wallet stuck at passphrase prompt with errorLabelMessage (password incorrect)
Errors