markqvist / Sideband

LXMF client for Android, Linux and macOS allowing you to communicate with people or LXMF-compatible systems over Reticulum networks using LoRa, Packet Radio, WiFi, I2P, or anything else Reticulum supports.
Other
388 stars 27 forks source link

"please wait substantiating reticulum", stuck on launch page #23

Closed pizzadoglover911 closed 10 months ago

pizzadoglover911 commented 1 year ago

I hope I am correct in starting a new thread. I read over the other open issues but could not acertain a resolution. Upon launch, sideband will not proceed past the launch/landing, as quoted in the title.

I have left it installed and cleared app data, no change. Uninstalled and re installed, allowed unrestricted battery use/optimization.

Device is a pixel 3 xl, OEM android build version 12. I did successfully install and open the software on an inexpensive "U318AA" running android 10. So this issue seems specific to my device, whether that be the Pixel model, or my personal device.

Let me know if there is any specific logs I can pull to help! I am a novice, but this project seems very important, and I can't wait to get into it myself!

Thank you

markqvist commented 1 year ago

Thanks for reporting this. If you have access to pull an adb logcat dump from the device while the program is starting, it would be very helpful!

pizzadoglover911 commented 1 year ago

below is the log pulled while the app was launching, I narrowed down using the term "sideband", hopefully that doesnt remove any important data. I can run again if needed.

  <summary>logcat pull from android studio while launching</summary>

  ### Log
--------- beginning of main
--------- beginning of system
2023-02-26 20:31:56.706  1882-3603  ActivityTaskManager     system_server                        I  START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.unsigned.sideband/org.kivy.android.PythonActivity bnds=[1152,1816][1440,2228]} from uid 10389
2023-02-26 20:31:56.731  1882-2015  ActivityManager         system_server                        I  Start proc 19771:io.unsigned.sideband/u0a388 for pre-top-activity {io.unsigned.sideband/org.kivy.android.PythonActivity}
2023-02-26 20:31:56.757 19771-19771 nativeloader            pid-19771                            D  Configuring classloader-namespace for other apk /data/app/~~uB2wweVqOjYJbWK6oyrW0w==/io.unsigned.sideband-UE-SrHF_9msJD6gql0vemQ==/base.apk. target_sdk_version=30, uses_libraries=, library_path=/data/app/~~uB2wweVqOjYJbWK6oyrW0w==/io.unsigned.sideband-UE-SrHF_9msJD6gql0vemQ==/lib/arm64:/data/app/~~uB2wweVqOjYJbWK6oyrW0w==/io.unsigned.sideband-UE-SrHF_9msJD6gql0vemQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/io.unsigned.sideband
2023-02-26 20:31:56.765 19771-19771 GraphicsEnvironment     pid-19771                            V  ANGLE Developer option for 'io.unsigned.sideband' set to: 'default'
2023-02-26 20:31:56.791 19771-19791 pythonutil              pid-19771                            V  Unpacking /data/app/~~uB2wweVqOjYJbWK6oyrW0w==/io.unsigned.sideband-UE-SrHF_9msJD6gql0vemQ==/lib/arm64/libpybundle app
2023-02-26 20:31:56.862 19771-19793 SDL                     pid-19771                            V  Running main function SDL_main from library /data/app/~~uB2wweVqOjYJbWK6oyrW0w==/io.unsigned.sideband-UE-SrHF_9msJD6gql0vemQ==/lib/arm64/libmain.so
2023-02-26 20:31:56.863 19771-19793 python                  pid-19771                            I  /data/user/0/io.unsigned.sideband/files/app
2023-02-26 20:31:56.865 19771-19793 python                  pid-19771                            I  /data/user/0/io.unsigned.sideband/files/app/_python_bundle/stdlib.zip:/data/user/0/io.unsigned.sideband/files/app/_python_bundle/modules
2023-02-26 20:31:56.897  1882-1998  ActivityTaskManager     system_server                        I  Displayed io.unsigned.sideband/org.kivy.android.PythonActivity: +187ms
2023-02-26 20:31:56.892 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1070): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/zlib.cpython-39.so" dev="dm-8" ino=394228 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:56.904  1882-3603  InputManager-JNI        system_server                        W  Input channel object '95de22b Splash Screen io.unsigned.sideband (client)' was disposed without first being removed with the input manager!
2023-02-26 20:31:56.914  3464-3464  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onStartInput():1930 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=io.unsigned.sideband fieldId=-1 fieldName=null extras=null}, false)
2023-02-26 20:31:56.925 19771-19793 python                  pid-19771                            I  Android path ['.', '/data/user/0/io.unsigned.sideband/files/app/_python_bundle/stdlib.zip', '/data/user/0/io.unsigned.sideband/files/app/_python_bundle/modules', '/data/user/0/io.unsigned.sideband/files/app/_python_bundle/site-packages']
2023-02-26 20:31:56.925 19771-19793 python                  pid-19771                            I  os.environ is environ({'PATH': '/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_ART_ROOT': '/apex/com.android.art', 'ANDROID_I18N_ROOT': '/apex/com.android.i18n', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'DOWNLOAD_CACHE': '/data/cache', 'BOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar', 'STANDALONE_SYSTEMSERVER_JARS': '/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.wifi/javalib/service-wifi.jar', 'ANDROID_SOCKET_zygote': '17', 'ANDROID_SOCKET_usap_pool_primary': '20', 'ANDROID_ENTRYPOINT': 'main.pyc', 'ANDROID_ARGUMENT': '/data/user/0/io.unsigned.sideband/files/app', 'ANDROID_APP_PATH': '/data/user/0/io.unsigned.sideband/files/app', 'ANDROID_PRIVATE': '/data/user/0/io.unsigned.sideband/files', 'ANDROID_UNPACK': '/data/user/0/io.unsigned.sideband/files/app', 'PYTHONHOME': '/data/user/0/io.unsigned.sideband/files/app', 'PYTHONPATH': '/data/user/0/io.unsigned.sideband/files/app:/data/user/0/io.unsigned.sideband/files/app/lib', 'PYTHONOPTIMIZE': '2', 'P4A_BOOTSTRAP': 'SDL2', 'PYTHON_NAME': 'python', 'P4A_IS_WINDOWED': 'True', 'P4A_ORIENTATION': 'portrait', 'P4A_NUMERIC_VERSION': '20230204', 'P4A_MINSDK': '24', 'LC_CTYPE': 'C.UTF-8'})
2023-02-26 20:31:56.946 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1071): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_heapq.cpython-39.so" dev="dm-8" ino=394116 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:56.969 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1072): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_bz2.cpython-39.so" dev="dm-8" ino=394076 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:56.979 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1073): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/math.cpython-39.so" dev="dm-8" ino=394208 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:56.982 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1074): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_bisect.cpython-39.so" dev="dm-8" ino=394070 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:56.982 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1075): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_random.cpython-39.so" dev="dm-8" ino=394146 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:56.982 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1076): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_sha512.cpython-39.so" dev="dm-8" ino=394152 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:56.992 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1077): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_socket.cpython-39.so" dev="dm-8" ino=394159 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:56.999 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1078): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/select.cpython-39.so" dev="dm-8" ino=394220 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:57.271 19771-19793 python                  pid-19771                            I  [INFO   ] [Logger      ] Record log in /data/user/0/io.unsigned.sideband/files/app/.kivy/logs/kivy_23-02-26_2.txt
2023-02-26 20:31:57.271 19771-19793 python                  pid-19771                            I  [INFO   ] [Kivy        ] Installed at "/data/user/0/io.unsigned.sideband/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
2023-02-26 20:31:58.022 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1124): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_decimal.cpython-39.so" dev="dm-8" ino=394044 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:58.032 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1125): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/site-packages/kivy/core/window/_window_sdl2.so" dev="dm-8" ino=354320 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:58.049 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1126): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/site-packages/kivy/graphics/cgl_backend/cgl_glew.so" dev="dm-8" ino=237359 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:58.052 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1127): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/site-packages/kivy/graphics/cgl_backend/cgl_gl.so" dev="dm-8" ino=80830 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:31:58.056 19771-19771 SDLThread               pid-19771                            W  type=1400 audit(0.0:1128): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/site-packages/kivy/graphics/cgl_backend/cgl_sdl2.so" dev="dm-8" ino=318204 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:32:04.299  1882-2015  ActivityManager         system_server                        I  Start proc 19806:io.unsigned.sideband:service_sidebandservice/u0a388 for service {io.unsigned.sideband/io.unsigned.sideband.ServiceSidebandservice}
2023-02-26 20:32:04.325 19806-19806 sidebandservic          pid-19806                            E  Not starting debugger since process cannot load the jdwp agent.
2023-02-26 20:32:04.344 19806-19806 nativeloader            pid-19806                            D  Configuring classloader-namespace for other apk /data/app/~~uB2wweVqOjYJbWK6oyrW0w==/io.unsigned.sideband-UE-SrHF_9msJD6gql0vemQ==/base.apk. target_sdk_version=30, uses_libraries=, library_path=/data/app/~~uB2wweVqOjYJbWK6oyrW0w==/io.unsigned.sideband-UE-SrHF_9msJD6gql0vemQ==/lib/arm64:/data/app/~~uB2wweVqOjYJbWK6oyrW0w==/io.unsigned.sideband-UE-SrHF_9msJD6gql0vemQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/io.unsigned.sideband
2023-02-26 20:32:04.350 19806-19806 GraphicsEnvironment     pid-19806                            V  ANGLE Developer option for 'io.unsigned.sideband' set to: 'default'
2023-02-26 20:32:04.379  1882-2014  ActivityManager         system_server                        I  Deferring FGS notification in legacy app io.unsigned.sideband/u0a388 : Notification(channel=io.unsigned.sideband.reticulum shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x40 color=0x00000000 vis=PRIVATE)
2023-02-26 20:32:04.391 19806-19822 python                  pid-19806                            I  /data/user/0/io.unsigned.sideband/files/app
2023-02-26 20:32:04.391 19806-19822 python                  pid-19806                            I  /data/user/0/io.unsigned.sideband/files/app/_python_bundle/stdlib.zip:/data/user/0/io.unsigned.sideband/files/app/_python_bundle/modules
2023-02-26 20:32:04.406 19806-19806 Thread-2                pid-19806                            W  type=1400 audit(0.0:1134): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/zlib.cpython-39.so" dev="dm-8" ino=394228 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:32:04.422 19806-19822 sidebandservice         pid-19806                            I  testing python print redirection
2023-02-26 20:32:04.423 19806-19822 sidebandservice         pid-19806                            I  Android path ['.', '/data/user/0/io.unsigned.sideband/files/app/_python_bundle/stdlib.zip', '/data/user/0/io.unsigned.sideband/files/app/_python_bundle/modules', '/data/user/0/io.unsigned.sideband/files/app/_python_bundle/site-packages']
2023-02-26 20:32:04.423 19806-19822 sidebandservice         pid-19806                            I  os.environ is environ({'PATH': '/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_ART_ROOT': '/apex/com.android.art', 'ANDROID_I18N_ROOT': '/apex/com.android.i18n', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'DOWNLOAD_CACHE': '/data/cache', 'BOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar', 'STANDALONE_SYSTEMSERVER_JARS': '/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.wifi/javalib/service-wifi.jar', 'ANDROID_SOCKET_zygote': '17', 'ANDROID_SOCKET_usap_pool_primary': '20', 'ANDROID_PRIVATE': '/data/user/0/io.unsigned.sideband/files', 'ANDROID_ARGUMENT': '/data/user/0/io.unsigned.sideband/files/app', 'ANDROID_APP_PATH': '/data/user/0/io.unsigned.sideband/files/app', 'ANDROID_ENTRYPOINT': 'services/sidebandservice.py', 'PYTHONOPTIMIZE': '2', 'PYTHON_NAME': 'sidebandservice', 'PYTHONHOME': '/data/user/0/io.unsigned.sideband/files/app', 'PYTHONPATH': '/data/user/0/io.unsigned.sideband/files/app:/data/user/0/io.unsigned.sideband/files/app/lib', 'PYTHON_SERVICE_ARGUMENT': '/data/user/0', 'P4A_BOOTSTRAP': 'SDL2', 'ANDROID_UNPACK': '/data/user/0/io.unsigned.sideband/files/app', 'P4A_IS_WINDOWED': 'True', 'P4A_ORIENTATION': 'portrait', 'P4A_NUMERIC_VERSION': '20230204', 'P4A_MINSDK': '24', 'LC_CTYPE': 'C.UTF-8'})
2023-02-26 20:32:04.423 19806-19822 sidebandservice         pid-19806                            I  Android kivy bootstrap done. __name__ is __main__
2023-02-26 20:32:04.436 19806-19806 Thread-2                pid-19806                            W  type=1400 audit(0.0:1135): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_heapq.cpython-39.so" dev="dm-8" ino=394116 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:32:04.446 19806-19806 Thread-2                pid-19806                            W  type=1400 audit(0.0:1136): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/math.cpython-39.so" dev="dm-8" ino=394208 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:32:04.446 19806-19806 Thread-2                pid-19806                            W  type=1400 audit(0.0:1137): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_bisect.cpython-39.so" dev="dm-8" ino=394070 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:32:04.446 19806-19806 Thread-2                pid-19806                            W  type=1400 audit(0.0:1138): avc: granted { execute } for path="/data/data/io.unsigned.sideband/files/app/_python_bundle/modules/_random.cpython-39.so" dev="dm-8" ino=394146 scontext=u:r:untrusted_app:s0:c132,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c132,c257,c512,c768 tclass=file app=io.unsigned.sideband
2023-02-26 20:32:04.646 19806-19822 sidebandservice         pid-19806                            I  [INFO   ] [Logger      ] Record log in /data/user/0/io.unsigned.sideband/files/app/.kivy/logs/kivy_23-02-26_3.txt
2023-02-26 20:32:04.646 19806-19822 sidebandservice         pid-19806                            I  [INFO   ] [Kivy        ] v2.1.0
2023-02-26 20:32:04.646 19806-19822 sidebandservice         pid-19806                            I  [INFO   ] [Kivy        ] Installed at "/data/user/0/io.unsigned.sideband/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
2023-02-26 20:32:04.646 19806-19822 sidebandservice         pid-19806                            I  [INFO   ] [Python      ] v3.9.5 (default, Feb  4 2023, 20:38:28) 
2023-02-26 20:32:04.646 19806-19822 sidebandservice         pid-19806                            I  [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d
2023-02-26 20:32:04.646 19806-19822 sidebandservice         pid-19806                            I  [INFO   ] [Python      ] Interpreter at ""
2023-02-26 20:32:04.647 19806-19822 sidebandservice         pid-19806                            I  [INFO   ] [Logger      ] Purge log fired. Processing...
2023-02-26 20:32:04.647 19806-19822 sidebandservice         pid-19806                            I  [INFO   ] [Logger      ] Purge finished!
2023-02-26 20:32:05.419  1882-3603  ActivityManager         system_server                        I  Process io.unsigned.sideband:service_sidebandservice (pid 19806) has died: prcp FGS 
2023-02-26 20:33:55.419  3464-3464  GoogleInpu...hodService com...gle.android.inputmethod.latin  I  GoogleInputMethodService.onStartInput():1930 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=io.unsigned.sideband fieldId=-1 fieldName=null extras=null}, false)
markqvist commented 1 year ago

Ok, so it is the background service that is dying. There's probably some permission violation or similar. Thanks for providing the info, this should make it easier to find a solution!

pizzadoglover911 commented 1 year ago

I assume you aren't talking about the permissions that can be adjusted in the user settings of Android, though I allowed all I could with no change.

In my phone graveyard I managed to get Sideband running on a pixel 2 xl, running android 11. No issues there.

I'm starting to think it is some app I've got installed or a specific setting on my phone.

Edit: battery optimization disabled, no change from that. I did notice I can hit the back button while on that landing screen and get into the main app. Just the functionality appears limited since the launch failed.

markqvist commented 1 year ago

Thanks for the feedback. It's a bit weird, since I know it has previously been working on Pixel phones with Android 12. It could be that something has changed though, that broke it. If I provide you with a debug build, with full debug output logging, would you be able to do an adb logcat from that?

pizzadoglover911 commented 1 year ago

Yes I could get that done. Is narrowing down the log by search term 'sideband' effective? My concern was if that log showed any identifying info about the phone. I am equally concerned that the lack of info could cause the log to be less useful to you.

I have functionality on other devices at the moment which is awesome. I am still a little unsure of how sideband is connecting to my Rnodes, and if that connection is effectively transmitting data, but that is outside the scope of this issue and I may find the answer as I dig further through your documentation.

markqvist commented 1 year ago

This should get you almost all the output from Sideband and the background service, and practically nothing else:

adb logcat | grep "python\|sidebandservice"

I'll prepare a debug build.

markqvist commented 1 year ago

Here's the debug APK. Just for good measure, uninstall the old one before installing this. Just to make sure there's not any messed up configs or caches from the old one.

https://unsigned.io/dl/sideband-0.5.2-arm64-v8a_armeabi-v7a-debug.apk

pizzadoglover911 commented 1 year ago

The two outputs are attached. I ran once without grep 'python' and once with. Both logs were performed on a fresh install of your above package.

adb_logcat_grep_python_sidebandservice.txt adb_logcat_grep_sideband.txt

Let me know how you make out!

edit: re uploaded txt files, they were blank

markqvist commented 10 months ago

Assuming this is fixed by the earlier restructuring to the permissions and Android API calls. If not, feel free to reopen.