Reply
Thread Tools
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#191
Originally Posted by nrdnandan View Post
I got boolean true and what is the next step in detail please
what device do you have?
after you get boolean it must install app and that app should be visible in app drawer. you can install android apps from file manager too.
 

The Following User Says Thank You to matemana For This Useful Post:
Posts: 7 | Thanked: 7 times | Joined on Mar 2017
#192
Originally Posted by matemana View Post
what device do you have?
after you get boolean it must install app and that app should be visible in app drawer. you can install android apps from file manager too.
I'm working with @nrdnandan . The device is Xiaomi Redmi 2 (MSM8916)

we aren't getting anything on the app drawer
Here's journalctl | grep apkd after installing apk
Code:
[root@Sailfish system]# journalctl -l | grep apkd
Mar 03 23:16:23 Sailfish systemd[1]: Starting apkd path watcher.
Mar 03 23:16:23 Sailfish systemd[1]: Started apkd path watcher.
Mar 06 21:08:32 Sailfish alien_setup_chroot.sh[6276]: apkd-mount /opt/alien
Mar 06 21:34:25 Sailfish dbus[694]: [system] Activating via systemd: service name='com.jolla.apkd' unit='dbus-com.jolla.apkd.service'
Mar 06 21:34:25 Sailfish apkd[12458]: Using /data for apps + data directly
Mar 06 21:34:25 Sailfish apkd[12458]: Removing old incoming file: /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:34:25 Sailfish dbus[694]: [system] Successfully activated service 'com.jolla.apkd'
Mar 06 21:34:26 Sailfish apkd[12458]: Asking ACL to install (inside chroot): /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:40:00 Sailfish apkd[12458]: File already exists in incoming folder: /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:40:00 Sailfish apkd[12458]: Asking ACL to install (inside chroot): /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:54:11 Sailfish apkd[12458]: File already exists in incoming folder: /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:54:11 Sailfish apkd[12458]: Asking ACL to install (inside chroot): /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:55:19 Sailfish apkd[12458]: File already exists in incoming folder: /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:55:19 Sailfish apkd[12458]: Asking ACL to install (inside chroot): /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:57:15 Sailfish apkd[12458]: File already exists in incoming folder: /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 21:57:15 Sailfish apkd[12458]: Asking ACL to install (inside chroot): /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 22:10:27 Sailfish apkd[12458]: Asking ACL to install (inside chroot): /data/app//incoming/com.nema.batterycalibration.apk
Mar 06 22:11:11 Sailfish apkd[12458]: File already exists in incoming folder: /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 22:11:11 Sailfish apkd[12458]: Asking ACL to install (inside chroot): /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 22:12:08 Sailfish apkd[14317]: Using /data for apps + data directly
Mar 06 22:12:08 Sailfish apkd[14317]: Removing old incoming file: /data/app//incoming/com.nema.batterycalibration.apk
Mar 06 22:12:08 Sailfish apkd[14317]: Removing old incoming file: /data/app//incoming/org.fdroid.fdroid.apk
Mar 06 22:12:08 Sailfish apkd[14317]: Cannot register D-Bus service at com.jolla.apkd
Mar 06 22:12:13 Sailfish apkd[14321]: Using /data for apps + data directly
Mar 06 22:12:13 Sailfish apkd[14321]: Cannot register D-Bus service at com.jolla.apkd
Mar 06 22:20:00 Sailfish apkd[12458]: Asking ACL to install (inside chroot): /data/app//incoming/org.fdroid.fdroid.apk
 
Posts: 20 | Thanked: 12 times | Joined on Oct 2016
#193
Originally Posted by matemana View Post
I can confirm aliendalvik works with changes i made in it on nexus 5 running 1.1.9.28 CM11 base.
Now i'll try installing google play store and google play services.
try this version in oneplus one maybe it give chance to aviod the problems like freeze and minimize screen app backgroubd and hang.
 
Posts: 2 | Thanked: 2 times | Joined on Mar 2017
#194
Originally Posted by matemana View Post
what device do you have?
after you get boolean it must install app and that app should be visible in app drawer. you can install android apps from file manager too.
chroot /opt/alien/ /system/bin/logcat returns Unable to open log device '/dev/alog/main': No such file or directory
Device : Xiaomi Redmi 2 (wt88047)
BASE=CM12.1
SFOS=2.0.5.6
Also, I copied apk file in /opt/alien/data/app/incoming to /opt/alien/data/app/ and app is available in app drawer. But it doesn't open, it crashes.
And journalctl is full of this message Sailfish start_alien.sh[16086]: [0] handle_fuse_requests: errno=19
apkd-mount /opt/alien
ln: accessing `/data/misc/camera': Too many levels of symbolic links
/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
/home/nemo/android_storage exists already
/storage/sdcard0 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=/storage/sdcard0
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar
LD_LIBRARY_PATH=/system/vendor/lib:/system/lib:/vendor/lib:/system_jolla/lib:
ANDROID_LOG_TAGS=*:e
USER_APP=
-------------------------------------------
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_gps_server
================================================== ==========
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_media_control
================================================== ==========
================================================== ==========
gexe.sh Execute: /system/genv/bin/aliensensorserver
================================================== ==========
================================================== ==========
================================================== ==========
================================================== ==========
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_keyboard_server
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_audio_server
gexe.sh Execute: /system/genv/bin/alien_timezone_monitor
================================================== ==========
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_resource_mgr
================================================== ==========
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_bridge_server co
================================================== ==========
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_bridge_server ms fo
================================================== ==========
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_bridge_server wi ri
================================================== ==========
================================================== ==========
gexe.sh Execute: /system/genv/bin/alien_bridge_server ap no li po nc vi pm
================================================== ==========
mainvolume: initVolumeConnection
mainvolume: Got PulseAudio DBus address: unixath=/run/user/100000/pulse/dbus-socket
mainvolume: retry_connect
mainvolume: Retry connecting to PulseAudio

mainvolume: listen for signal com.Meego.MainVolume2.StepsUpdated
mainvolume: listen for signal com.Meego.MainVolume2.NotifyListeningTime
mainvolume: listen for signal com.Meego.MainVolume2.NotifyHighVolume
mainvolume: listen for signal com.Meego.MainVolume2.CallStatus
mainvolume: query currently active values
mainvolume: current StepCount: 12
mainvolume: current CurrentStep: 3
mainvolume: current HighVolumeStep: 0
The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
mainvolume: getSystemVolume got currentStep = 3, stepCount = 12
In mgmain JNI_OnLoad
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
..........(lots of repeated messages of the same kind)
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
[0] handle_fuse_requests: errno=19
/opt/alien/system/script/alien.sh: line 17: 23421 Aborted chroot $ROOT /system/script/alien_settings_server.sh
/opt/alien/system/script/alien.sh: line 19: kill: (23421) - No such process

Last edited by nrdnandan; 2017-03-07 at 13:51.
 

The Following User Says Thank You to nrdnandan For This Useful Post:
Posts: 20 | Thanked: 12 times | Joined on Oct 2016
#195
| SailfishOS 2.0.4.13 (Fiskarsinjoki) (armv7hl)
'---
[nemo@Sailfish ~]$ devel-su
Password:
i try install apk using command the result:
method return time=1488919385.531420 sender=:1.122 -> destination=:1.172 serial=8 reply_serial=2
boolean true

how to install the rpm package :
devel-su
pkcon refresh
pkcon install-local aliendalvik-1.0.46-1.armv7hl.rpm
mv platform_extraenvsetup.sh /opt/alien/system/script/"
/opt/alien/system/script/
chmod +x platform_extraenvsetup.sh
systemctl start aliendalvik
reboot >

after restart alien dalvik start and back to stop automatically
i can't run any apk >>>>

Last edited by baddea; 2017-03-08 at 08:59. Reason: grammer
 
Posts: 20 | Thanked: 12 times | Joined on Oct 2016
#196
SailfishOS 2.0.4.13 (Fiskarsinjoki) (armv7hl)

i try to install Alien Dalvik with zypper no error message through install porcess in terminal

the service not start for alien dalvik :

[root@Sailfish nemo]# systemctl status aliendalvik.service
aliendalvik.service - Myriad Alien Dalvik
Loaded: loaded (/lib/systemd/system/aliendalvik.service; enabled)
Active: failed (Result: start-limit) since Wed 2017-03-15 21:24:13 AST; 22s ago
Process: 5550 ExecStopPost=/system/script/alien_ui_pid_reporter.sh stop (code=exited, status=0/SUCCESS)
Process: 5539 ExecStopPost=/system/script/alien_notification_cleaner.sh (code=exited, status=0/SUCCESS)
Process: 5045 ExecStartPost=/system/script/alien_ui_pid_reporter.sh start (code=exited, status=0/SUCCESS)
Process: 5044 ExecStart=/system/script/start_alien.sh (code=exited, status=0/SUCCESS)
Process: 5041 ExecStartPre=/system/script/alien_start_guard.sh (code=exited, status=0/SUCCESS)
Main PID: 5044 (code=exited, status=0/SUCCESS)

Mar 15 21:24:13 Sailfish systemd[1]: aliendalvik.service holdoff time over,...t.
Mar 15 21:24:13 Sailfish systemd[1]: aliendalvik.service start request repe...t.
Mar 15 21:24:13 Sailfish systemd[1]: Unit aliendalvik.service entered faile...e.
Hint: Some lines were ellipsized, use -l to show in full.


is there another way to make it working in these version
SailfishOS 2.0.4.13 maybe i miss something ?!
 
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#197
I installed SFOS 2.0.2.51 base CM12.1 on Nexus 4 and aliendalvik has the same issues as in Nexus 5 with base CM12.1. Youtube does not work, video playback does not work, Google chrome does not work, google assistant does not work. But Camera does work! That's nice, but without video playback it's useless. Firefox crashes. It seems when it needs GPU acceleration it crashes.

So we are screwed if we change base for Nexus 4. We no longer will be able to use aliendalvik until it's rebase. I can't do that
 

The Following 3 Users Say Thank You to matemana For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#198
How can I launch an Android program from terminal?

I've played with apkd-launcher, but I don't understand what to do.

"Usage: apkd-launcher <apkfile> <package>/<activity>"

How can I find which activity to request?

The program I'm trying to run is XServer-XSDL, installed from Google Play.
The .apk file appears to be located at /opt/alien/data/app/x.org.server-1.apk
__________________
Leap before you look.
 
mp107's Avatar
Posts: 166 | Thanked: 454 times | Joined on Apr 2015 @ Poland
#199
Try:
Code:
apkd-launcher /opt/alien/data/app/x.org.server-1.apk x.org.server/x.org.server.MainActivity
As I can see f.e. the VirusTotal lists app's activities:
https://virustotal.com/pl/file/69e01...48e2/analysis/
 

The Following User Says Thank You to mp107 For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#200
It worked! Thank you!
__________________
Leap before you look.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:59.