[1.1.6.27] Android support unfixable broken [answered]
After solving https://together.jolla.com/question/97856/11627-everything-just-freaks-out-phone-unusable/ I happily started playing my game again till suddendly the app crashed. After the crash all android icons disappeared. Rebooting didn't help. Reinstalling Android Support (uninstall -> reboot -> install -> reboot) didn't help, too (already tried 3x).
Looked at the output of mount
: None of the android directories is mounted!
So I searched the filesystem a bit and found /etc/xdg/autostart/aliendalvik.desktop
which starts /opt/alien/system/script/start_alien.sh
. Tried to start it manually:
# /opt/alien/system/script/start_alien.sh /data exists already /data/dalvik-cache exists already /data/app-private exists already /data/app exists already /data/data exists already /data/misc exists already /data/property exists already /run/user/1000/alien/socket exists already /run/user/1000/alien/ashmem exists already /data/media exists already /cache exists already /data/keystore exists already ------------------------------------------- ANDROID_ROOT=/system ANDROID_DATA=/data DOWNLOAD_CACHE=/cache ANDROID_ASHMEM_DIR=/run/user/1000/alien/ashmem EXTERNAL_STORAGE=/home/nemo/android_storage BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework_ext.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar LD_LIBRARY_PATH=/system/vendor/lib:/system/lib:/vendor/lib:/system_jolla/lib: ANDROID_LOG_TAGS=*:e USER_APP= ------------------------------------------- Alien fuse sdcard update: start! Alien fuse sdcard update: done! rm failed for -f, No such file or directory /opt/alien/system/script/start_alien.sh: line 87: /system/bin/alien_init: No such file or directory /opt/alien/system/script/start_alien.sh: line 87: exec: /system/bin/alien_init: cannot execute: No such file or directory
/system/bin/alien_init doesn't exist:
# ls /system/bin ATFWD-daemon gsiff_daemon mm-venc-omx-test720p schedtest ExSDWRTest gzip mm-video-driver-test schedtop StoreKeybox hci_qcomm_init mm-video-encdrv-test screencap adb hciattach monkey screenshot am hd mount sdcard app_process hostapd mpdecision sdptool applypatch hostapd_cli mtpd sendevent atrace id mv sensord battery_monitor ifconfig n_smux sensors_calib_set battery_shutdown iftop nandread sensorservice bluetoothd ime ndc service bmgr input netcfg servicemanager bootanimation insmod netd setconsole bridgemgrd ioctl netmgrd setprop btnvtool ionice netstat setup_fs bu ip newfs_msdos sh bugreport ip6tables nl_listener sleep cat iptables nohup smd chmod isdbtmmtest notify speed_test_random chown keystore oemwvtest ssr_diag cmp kill pand stagefright cnd ks ping start content lfinit pm stop curl lftool port-bridge subsystem_ramdump dalvikvm linker pppd surfaceflinger date ln printenv svc dbus-daemon location-mq ps sync dd log ptt_socket_app system_server debuggerd logcat qcks tc dexopt logwrapper qmiproxy test_gemini df ls qmuxd thermald dhcpcd lsmod qosmgr time_daemon diag_dci_client lsof qrngd tlcWrapperApp diag_socket_log make_ext4fs qrngtest toolbox diag_uart_log mcDriverDaemonQC qseecom_sample_client top dmesg md5 qseecom_security_test touch dnsmasq mdm_helper qseecomd uiautomator drmdiagapp mdnsd quipc_igsn umount drmserver mediaserver quipc_main uptime ds_fmc_appd mkdir racoon v4l2-qcamera-app dumpstate mksh radish vdc dumpsys mm-jpeg-dec-test reboot vmstat dun-server mm-jpeg-dec-test-client renice vold e2fsck mm-jpeg-enc-test requestsync watchprops efsks mm-jpeg-enc-test-client reset_delay wdsdaemon fm_qsoc_patches mm-jps-enc-test reset_log wipe fmconfig mm-mpo-dec-test rild wiperiface fsck_msdos mm-mpo-enc-test rm wiperiface_v02 fsstress mm-pp-daemon rm_folder wpa_cli ftd mm-qcamera-app rmdir wpa_supplicant ftmdaemon mm-qcamera-daemon rmmod xtwifi-client getevent mm-qcamera-test rmt_storage xtwifi-inet-agent getprop mm-qcamera-testsuite-client route gpsone_daemon mm-vdec-omx-test sapd
As reinstalling Android Support didn't help I guess this file isn't shipped with it but with the plain firmware? Why? And how could it vanish?
Could someone please check if I'm missing more files in that folder and maybe send me the file(s) ?
V10lator ( 2015-07-01 14:46:26 +0200 )editIt is a chroot, the folder you need to look into is
chemist ( 2015-07-01 15:05:40 +0200 )edit/opt/alien/system/bin/
not/system/bin/
- missing files you can find in recovery snapshots (mount RO only!!!) but I doubt they are missing, something is off with mounting the chroot properly I guess so /opt/alien is not fully populated for some reason (check logsjournalctl -b
)Don't have time for that right now but maybe someone has a example of a successfull mount of the android dirs from the logs?
V10lator ( 2015-07-01 16:34:48 +0200 )editI've got a very similar problem (see https://together.jolla.com/question/125495/broken-android-support/) What could be done to mount the chroot properly? what should I look for in journalctl?
roland684 ( 2015-12-30 22:52:56 +0200 )edit