We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-09-29 17:29:59 +0200

Unwanted vestiges of Android in the file system

My Jolla has never seen Android*), yet I find references to it all over the file system. How safe is it to delete those? And/or remove aliendalvik from the ssu list?

*) As far as I know anyway - it is a second-hand unit but the previous owner has reset the device before passing it to me, so presumably even if he had used Android, the FS would have been wiped to the factory default, right?

Unwanted vestiges of Android in the file system

My Jolla has never seen Android*), yet I find references to it all over the file system. How safe is it to delete those? And/or remove aliendalvik from the ssu list?

*) As far as I know anyway - it is a second-hand unit but the previous owner has reset the device before passing it to me, so presumably even if he had used Android, the FS would have been wiped to the factory default, right?

EDIT: I did not want to flood the screen with long lists which is why I was originally so terse in my question. I assumed that everyone who understands the question is savvy enough to find the same results by themselves. But, on a popular request, here is what I am talking about:

[nemo@Dinghy ~]$ devel-su find / -iname *android*
Password:
/dev/android_adb
/dev/android_mbim
/etc/usb-moded/dyn-modes/developer_mode-android.ini
/etc/usb-moded/dyn-modes/pc_suite-android.ini
/etc/usb-moded/android-usb-values.ini
/sys/bus/platform/devices/android_usb
/sys/bus/platform/drivers/android_usb
/sys/bus/platform/drivers/android_usb/android_usb
/sys/bus/platform/drivers/android_pmem
/sys/devices/virtual/misc/android_adb
/sys/devices/virtual/misc/android_mbim
/sys/devices/virtual/android_usb
/sys/devices/virtual/android_usb/android0
/sys/devices/platform/android_usb
/sys/class/misc/android_adb
/sys/class/misc/android_mbim
/sys/class/android_usb
/sys/class/android_usb/android0
/sys/kernel/debug/android_usb
/sys/kernel/debug/debuglevel/android_usb_dll
/sys/module/g_android
/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/com_android_browser.png
/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/icon-m-android.png
/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/icon-s-android-label.png
/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/icon-s-android.png
/usr/share/mime/application/vnd.android.package-archive.xml
/usr/share/qt5/mkspecs/features/android
/usr/share/qt5/mkspecs/features/android/android.prf
/usr/share/qt5/mkspecs/features/android/android_deployment_settings.prf
/usr/share/qt5/mkspecs/features/data/android
/usr/share/qt5/mkspecs/features/qt_android_deps.prf
/usr/share/qt5/mkspecs/common/android
/usr/share/qt5/mkspecs/common/linux-android.conf
/usr/share/qt5/mkspecs/unsupported/android-g++
/usr/share/qt5/mkspecs/android-g++
/usr/share/lipstick/androidnotificationpriorities
/usr/share/sailfish-utilities/plugins/RestartAndroid.qml
/usr/share/sailfish-utilities/plugins/StopAndroid.qml
/usr/include/qt5/QtWidgets/5.2.2/QtWidgets/private/qandroidstyle_p.h
/usr/include/droid-sbj/android
/usr/include/droid-sbj/android/android
/usr/lib/qt5/qml/Sailfish/Tutorial/AndroidLauncherPulleyLesson.qml
/usr/lib/qt5/qml/com/jolla/startupwizard/AndroidApplicationDelegate.qml
/usr/lib/qt5/qml/com/jolla/startupwizard/AndroidInstallationDialog.qml
/usr/lib/gcc/armv7hl-meego-linux-gnueabi/4.8.3/plugin/include/config/linux-android.h
/usr/lib/libandroid-properties.so.1
/usr/lib/libandroid-properties.so.1.0.0
/usr/libexec/droid/android-permission-fixup.sh
/lib/udev/rules.d/999-android-system.rules
/system/etc/permissions/android.hardware.camera.flash-autofocus.xml
/system/etc/permissions/android.hardware.camera.front.xml
/system/etc/permissions/android.hardware.location.gps.xml
/system/etc/permissions/android.hardware.nfc.xml
/system/etc/permissions/android.hardware.sensor.gyroscope.xml
/system/etc/permissions/android.hardware.sensor.light.xml
/system/etc/permissions/android.hardware.sensor.proximity.xml
/system/etc/permissions/android.hardware.telephony.gsm.xml
/system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
/system/etc/permissions/android.hardware.usb.accessory.xml
/system/etc/permissions/android.hardware.wifi.direct.xml
/system/etc/permissions/android.hardware.wifi.xml
/system/etc/permissions/android.software.live_wallpaper.xml
/system/etc/permissions/android.software.sip.voip.xml
/system/etc/permissions/com.android.location.provider.xml
/system/lib/egl/eglsubAndroid.so
/system/lib/egl/libGLES_android.so
/system/lib/libandroid.so
/system/lib/libandroid_runtime.so
/system/lib/libandroid_servers.so
/system/lib/libandroidfw.so
[nemo@Dinghy ~]$

(devel-su used to avoid find complaining about folders it cannot access when run as nemo)

[nemo@Dinghy ~]$ devel-su find / -iname *dalvik*
Password:
/etc/pki/rpm-gpg/RPM-GPG-KEY-aliendalvik-1.0.0.5
/var/cache/zypp/solv/aliendalvik
/var/cache/zypp/raw/aliendalvik
/system/bin/dalvikvm
/data/dalvik-cache
[nemo@Dinghy ~]$

Plus, of course, aliendalvik on the ssu list.

Unwanted vestiges of Android in the file system

Question reopened rather than creating a new thread. See my follow-up for details.


My Jolla has never seen Android*), yet I find references to it all over the file system. How safe is it to delete those? And/or remove aliendalvik from the ssu list?

*) As far as I know anyway - it is a second-hand unit but the previous owner has reset the device before passing it to me, so presumably even if he had used Android, the FS would have been wiped to the factory default, right?

EDIT: I did not want to flood the screen with long lists which is why I was originally so terse in my question. I assumed that everyone who understands the question is savvy enough to find the same results by themselves. But, on a popular request, here is what I am talking about:

[nemo@Dinghy ~]$ devel-su find / -iname *android*
Password:
/dev/android_adb
/dev/android_mbim
/etc/usb-moded/dyn-modes/developer_mode-android.ini
/etc/usb-moded/dyn-modes/pc_suite-android.ini
/etc/usb-moded/android-usb-values.ini
/sys/bus/platform/devices/android_usb
/sys/bus/platform/drivers/android_usb
/sys/bus/platform/drivers/android_usb/android_usb
/sys/bus/platform/drivers/android_pmem
/sys/devices/virtual/misc/android_adb
/sys/devices/virtual/misc/android_mbim
/sys/devices/virtual/android_usb
/sys/devices/virtual/android_usb/android0
/sys/devices/platform/android_usb
/sys/class/misc/android_adb
/sys/class/misc/android_mbim
/sys/class/android_usb
/sys/class/android_usb/android0
/sys/kernel/debug/android_usb
/sys/kernel/debug/debuglevel/android_usb_dll
/sys/module/g_android
/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/com_android_browser.png
/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/icon-m-android.png
/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/icon-s-android-label.png
/usr/share/themes/jolla-ambient/meegotouch/z1.0/icons/icon-s-android.png
/usr/share/mime/application/vnd.android.package-archive.xml
/usr/share/qt5/mkspecs/features/android
/usr/share/qt5/mkspecs/features/android/android.prf
/usr/share/qt5/mkspecs/features/android/android_deployment_settings.prf
/usr/share/qt5/mkspecs/features/data/android
/usr/share/qt5/mkspecs/features/qt_android_deps.prf
/usr/share/qt5/mkspecs/common/android
/usr/share/qt5/mkspecs/common/linux-android.conf
/usr/share/qt5/mkspecs/unsupported/android-g++
/usr/share/qt5/mkspecs/android-g++
/usr/share/lipstick/androidnotificationpriorities
/usr/share/sailfish-utilities/plugins/RestartAndroid.qml
/usr/share/sailfish-utilities/plugins/StopAndroid.qml
/usr/include/qt5/QtWidgets/5.2.2/QtWidgets/private/qandroidstyle_p.h
/usr/include/droid-sbj/android
/usr/include/droid-sbj/android/android
/usr/lib/qt5/qml/Sailfish/Tutorial/AndroidLauncherPulleyLesson.qml
/usr/lib/qt5/qml/com/jolla/startupwizard/AndroidApplicationDelegate.qml
/usr/lib/qt5/qml/com/jolla/startupwizard/AndroidInstallationDialog.qml
/usr/lib/gcc/armv7hl-meego-linux-gnueabi/4.8.3/plugin/include/config/linux-android.h
/usr/lib/libandroid-properties.so.1
/usr/lib/libandroid-properties.so.1.0.0
/usr/libexec/droid/android-permission-fixup.sh
/lib/udev/rules.d/999-android-system.rules
/system/etc/permissions/android.hardware.camera.flash-autofocus.xml
/system/etc/permissions/android.hardware.camera.front.xml
/system/etc/permissions/android.hardware.location.gps.xml
/system/etc/permissions/android.hardware.nfc.xml
/system/etc/permissions/android.hardware.sensor.gyroscope.xml
/system/etc/permissions/android.hardware.sensor.light.xml
/system/etc/permissions/android.hardware.sensor.proximity.xml
/system/etc/permissions/android.hardware.telephony.gsm.xml
/system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
/system/etc/permissions/android.hardware.usb.accessory.xml
/system/etc/permissions/android.hardware.wifi.direct.xml
/system/etc/permissions/android.hardware.wifi.xml
/system/etc/permissions/android.software.live_wallpaper.xml
/system/etc/permissions/android.software.sip.voip.xml
/system/etc/permissions/com.android.location.provider.xml
/system/lib/egl/eglsubAndroid.so
/system/lib/egl/libGLES_android.so
/system/lib/libandroid.so
/system/lib/libandroid_runtime.so
/system/lib/libandroid_servers.so
/system/lib/libandroidfw.so
[nemo@Dinghy ~]$

(devel-su used to avoid find complaining about folders it cannot access when run as nemo)

[nemo@Dinghy ~]$ devel-su find / -iname *dalvik*
Password:
/etc/pki/rpm-gpg/RPM-GPG-KEY-aliendalvik-1.0.0.5
/var/cache/zypp/solv/aliendalvik
/var/cache/zypp/raw/aliendalvik
/system/bin/dalvikvm
/data/dalvik-cache
[nemo@Dinghy ~]$

Plus, of course, aliendalvik on the ssu list.