Open vermut opened 8 years ago
Please provide more details. The Xposed log from the installer would be good for a start.
Not sure where to find one. data dir has no logs
[root@Jolla opt]# cd ./alien/data/data/de.robv.android.xposed.installer
[root@Jolla de.robv.android.xposed.installer]# find
./lib
./cache
./cache/com.android.renderscript.cache
./cache/repo_cache.db
./cache/repo_cache.db-journal
./cache/repo_dd96f9bdefc717b66d877cc361ffcbc5.xml.gz
./bin
./bin/app_process
./bin/XposedBridge.jar.newversion
./conf
./conf/modules.list
./log
./shared_prefs
./shared_prefs/repo.xml
./shared_prefs/de.robv.android.xposed.installer_preferences.xml
./shared_prefs/download_cache.xml
Attaching logcat entries from installation
Is that after restarting the device? If yes, please try to get a logcat of the early boot. ls -l /system/bin
might be also be helpful to ensure that the files are replaced properly.
[root@Jolla ~]# ls -l /opt/alien/system/bin
total 944
-rwxrwxr-x 1 root root 100456 Nov 13 06:09 adb
-rwxrwxr-x 1 root root 5304 Nov 13 06:09 alien-main
-rwxrwxr-x 1 root root 22652 Nov 13 06:09 alien_init
-rwxrwxr-x 1 root root 5304 Nov 13 06:09 alien_launcher
-rwxrwxr-x 1 root root 9508 Nov 13 06:09 alienlogd
-r-xr-xr-x 1 root root 197 Nov 13 06:09 am
-rwxr-xr-x 1 root shell 21980 Mar 15 16:37 app_process
-rwxr-xr-x 1 root shell 9504 Nov 13 06:09 app_process.orig
-rwxrwxr-x 1 root root 80860 Nov 13 06:09 ash
-r-xr-xr-x 1 root root 199 Nov 13 06:09 bmgr
-rwxrwxr-x 1 root root 21792 Nov 13 06:09 bootanimation
-r-xr-xr-x 1 root root 156 Nov 13 06:09 bu
-rwxrwxr-x 1 root root 5352 Nov 13 06:09 bugreport
lrwxrwxrwx 1 root root 7 Jan 21 01:48 cat -> toolbox
-r-xr-xr-x 1 root root 207 Nov 13 06:09 content
-rwxrwxr-x 1 root root 5352 Nov 13 06:09 dalvikvm
-rwxrwxr-x 1 root root 21736 Nov 13 06:09 debuggerd
-rwxrwxr-x 1 root root 9400 Nov 13 06:09 dexopt
-rwxrwxr-x 1 root root 54560 Nov 13 06:09 drmserver
-rwxrwxr-x 1 root root 9452 Nov 13 06:09 dumpsys
lrwxrwxrwx 1 root root 7 Jan 21 01:48 getprop -> toolbox
-rwxrwxr-x 1 root root 9448 Nov 13 06:09 gzip
-r-xr-xr-x 1 root root 194 Nov 13 06:09 ime
-r-xr-xr-x 1 root root 201 Nov 13 06:09 input
-rwxrwxr-x 1 root root 22012 Nov 13 06:09 installd
-rwxrwxr-x 1 root root 18332 Nov 13 06:09 keystore
-rwxrwxr-x 1 root root 84012 Nov 13 06:09 linker
-rwxrwxr-x 1 root root 13600 Nov 13 06:09 logcat
-rwxrwxr-x 1 root root 5356 Nov 13 06:09 mediaserver
-r-xr-xr-x 1 root root 217 Nov 13 06:09 monkey
-r-xr-xr-x 1 root root 197 Nov 13 06:09 pm
-rwxrwxr-x 1 root root 166812 Nov 13 06:09 racoon
-r-xr-xr-x 1 root root 188 Nov 13 06:09 requestsync
-rwxrwxr-x 1 root root 9524 Nov 13 06:09 rild
-rwxrwxr-x 1 root root 9400 Nov 13 06:09 screencap
-rwxrwxr-x 1 root root 34172 Nov 13 06:09 screenshot
-rwxrwxr-x 1 root root 13600 Nov 13 06:09 sdcard
-rwxrwxr-x 1 root root 5352 Nov 13 06:09 sensorservice
-rwxrwxr-x 1 root root 13548 Nov 13 06:09 service
-rwxrwxr-x 1 root root 9608 Nov 13 06:09 servicemanager
lrwxrwxrwx 1 root root 7 Jan 21 01:48 setprop -> toolbox
lrwxrwxrwx 1 root root 3 Jan 21 01:48 sh -> ash
lrwxrwxrwx 1 root root 37 Mar 11 01:06 su -> /usr/bin/aliendalvik-superuser-binary
-rwxrwxr-x 1 root root 5352 Nov 13 06:09 surfaceflinger
-r-xr-xr-x 1 root root 192 Nov 13 06:09 svc
-rwxrwxr-x 1 root root 13600 Nov 13 06:09 toolbox
-r-xr-xr-x 1 root root 3391 Nov 13 06:09 uiautomator
lrwxrwxrwx 1 root root 7 Jan 21 01:48 vmstat -> toolbox
Is this OS even an Android variant? On Wikipedia, I read: "Sailfish OS can run Android applications through a proprietary compatibility layer."
Xposed can run on ROMs which are slightly modified compared to AOSP, but this sounds more like they have built their own OS with just some parts of Android integrated. The fact that /system is placed in /opt/alien already looks strange.
Is app_process even executed on that ROM? How confident are you that the Dalvik runtime is (mostly) unmodified? It's not open-source, is it?
The OS itself is linux which includes proprietary version of Dalvik called alien-dalvik. So it's not the pure Android. But most of the Android apps run there and some of the hacks work.
But app_process is not executed. I renamed it and it still works fine. As I understand it's completely crucial part of whole framework? Can Xposed be injected somewhere else? What should I look for to find alien-analogue of usual app_process?
Having rooted system I invoke installer. I see it changing app_process and deploying XposedBridge.jar, installer also sees them installed after reboot and reports correct versions but still displays "not installed" message.
Where can I look next?