Active Topics

 


Reply
Thread Tools
Posts: 118 | Thanked: 55 times | Joined on Jul 2013
#131
Originally Posted by cvp View Post
with logcat

chroot /opt/alien /system/bin/logcat
If anyone is interested, opx logcat output posted here https://files.fm/down.php?i=hhm7ja9e&n=logcat.1.txt
 

The Following User Says Thank You to lfc22 For This Useful Post:
mp107's Avatar
Posts: 166 | Thanked: 454 times | Joined on Apr 2015 @ Poland
#132
Sony Ericsson Xperia Mini Pro (Xperia 2011 line):

Alien Dalvik starts after some script tweaks but the device lacks RAM (512MB, 438MB available, 109,7MB zRAM, ~200MB RAM free after start up). Even with SWAP. Device dies down during the startup of AD.
It has started once (per few dozens of trials, with 512MB SWAP on /sdcard partition) and only was able to show the prompt about installing new app via
Code:
apkd-install app.apk
and install the app. It hanged after starting the application.

Scripts:

platform_envsetup.sh (changed one line):
Code:
EXTERNAL_STORAGE=/sdcard
platform_extraenvsetup.sh:
Code:
#!/bin/bash
# Copyright 2013-2016 Myriad Group AG. All Rights Reserved.

####### 3D needs #########
EXTRA_FILES_3D="
  lib/hw/gralloc.msm7x30.so
  "

####### CAMERA needs #########
EXTRA_FILES_CAMERA="
  lib/hw/camera.semc.so
  "

####### HW CODECS needs #########
EXTRA_FILES_HWCODEC="
  etc/media_codecs.xml
  etc/media_profiles.xml
  "

####### LINKING LOOP #########
NEEDED_EXTRA_FILES="
  $EXTRA_FILES_3D
  $EXTRA_FILES_CAMERA
  $EXTRA_FILES_HWCODEC
  "

for x in $NEEDED_EXTRA_FILES; do
  target=/system_jolla/$x
  link=$ANDROID_ROOT/${x/.msm7x30./.default.}
  ln -sf $target $link
done

# For camera socket
mkdir -p /data/misc
ln -s /data_jolla/misc/camera /data/misc/camera
Most probably needs also tweaking the /opt/alien/system/build.prop to set DPI, etc.

Last edited by mp107; 2017-02-11 at 16:46. Reason: more detailed explanation
 

The Following User Says Thank You to mp107 For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#133
At last, i finished rpms for Nexus 4.
Now here are just 2 rpms. You must install aliendalvik first, gapps second.
does not need reboot. After installing aliendalvik just stop aliendalvik service from settings -> android support and install gapps
aliendalvik - https://mega.nz/#!1V0RWBwK!jvyid9IWQ...gt-ZOQEm6kI0pk
gapps - https://mega.nz/#!tY8UEL6T!lx7H0TKCB...CczfF9H7lsSi08

After all installed just restart aliendalvik once. That's it. Tried on my second Nexus 4 with CM 11 SFOS 2.0.5.6 everything worked like a charm on fresh install. On fresh install just run devel-su pkcon update.

Now i'm trying to make google play work on Nexus 5 too.
 

The Following 4 Users Say Thank You to matemana For This Useful Post:
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#134
@matemana: can you check sound/video for the apps i mentioned here http://talk.maemo.org/showpost.php?p...&postcount=128
 
Posts: 738 | Thanked: 819 times | Joined on Jan 2012 @ Berlin
#135
Partial success start aliendalvik on opx, but it does not work properly. Unfortunately you can not install apk jet.

1) Install aliendalvik
2) Termina: mv /etc/media_profile.xml media_profile.xml.bck
3) Termina: /opt/alien/system/script/alien.sh // wait some seconds
4) go to Settings > Android > and push the Start button

maybe someone can something do with it
__________________
www.sailfishmods.de
 

The Following 3 Users Say Thank You to cvp For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#136
Originally Posted by BluesLee View Post
@matemana: can you check sound/video for the apps i mentioned here http://talk.maemo.org/showpost.php?p...&postcount=128
no your programs does not have sound. strabge thing is i installed NFS most wanted and it does have sound and works very well. i cant see difference between this and real android device gaming with nfs most wanted.i managed to install play store and voice assistant on nexus 5 too but it is not as good as in nexus 4. do not know why. chrome does not work. sound does not work in some apps. camera does not work in android apps.i have 0 problems with nexus 4.
 

The Following User Says Thank You to matemana For This Useful Post:
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#137
Originally Posted by matemana View Post
no your programs does not have sound. strabge thing is i installed NFS most wanted and it does have sound and works very well. i cant see difference between this and real android device gaming with nfs most wanted.i managed to install play store and voice assistant on nexus 5 too but it is not as good as in nexus 4. do not know why. chrome does not work. sound does not work in some apps. camera does not work in android apps.i have 0 problems with nexus 4.
Interesting. Do you have the same behavior with Nexus 5, CM11? Can you do me a favor: On your Nexus 4 do a backup of your working platform_extraenvsetup.sh and use a complete reduced one like the one mp107 posted for OPX, and check the not well working apps again? Thank you
 
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#138
Originally Posted by BluesLee View Post
Interesting. Do you have the same behavior with Nexus 5, CM11? Can you do me a favor: On your Nexus 4 do a backup of your working platform_extraenvsetup.sh and use a complete reduced one like the one mp107 posted for OPX, and check the not well working apps again? Thank you
Do not know about CM11 base Nexus 5. I had installed it but did not try apps. I was stuck at SFOS 1.1.9.28. i quickly reinstalled it. It was so old. I saw how far SFOS has gono from that.
mp107 has posted reduced version for xperia 2011 line. I do not think it will make any change because as you saw on previuos pages i do not had that /vendor folder so it gave me same no such file warning although aliendalvik did work.
I WILL try what you want and report back.
 

The Following User Says Thank You to matemana For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#139
Originally Posted by BluesLee View Post
Interesting. Do you have the same behavior with Nexus 5, CM11? Can you do me a favor: On your Nexus 4 do a backup of your working platform_extraenvsetup.sh and use a complete reduced one like the one mp107 posted for OPX, and check the not well working apps again? Thank you
Well now i am lost.
I used this sh script in my nexus 4 and tux rider worked and had sound, google chrome worked, opened youtube in google chrome and it played video without problem, also had sound.
Google camera works too. takes pictures, takes video without problems.
HTML Code:
#!/bin/bash
# Copyright 2013-2016 Myriad Group AG. All Rights Reserved.

####### 3D needs #########
EXTRA_FILES_3D="
  lib/hw/gralloc.msm8960.so
  "

####### CAMERA needs #########
EXTRA_FILES_CAMERA="
  lib/hw/camera.mako.so
  "

####### HW CODECS needs #########
EXTRA_FILES_HWCODEC="
  etc/media_codecs.xml
  etc/media_profiles.xml
  "

####### LINKING LOOP #########
NEEDED_EXTRA_FILES="
  $EXTRA_FILES_3D
  $EXTRA_FILES_CAMERA
  $EXTRA_FILES_HWCODEC
  "

for x in $NEEDED_EXTRA_FILES; do
  target=/system_jolla/$x
  link=$ANDROID_ROOT/${x/.msm8960./.default.}
  ln -sf $target $link
done

# For camera socket
mkdir -p /data/misc
ln -s /data_jolla/misc/camera /data/misc/camera
 
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#140
Originally Posted by matemana View Post
Well now i am lost.
I used this sh script in my nexus 4 and tux rider worked and had sound, google chrome worked, opened youtube in google chrome and it played video without problem, also had sound.
Google camera works too. takes pictures, takes video without problems.
HTML Code:
#!/bin/bash
# Copyright 2013-2016 Myriad Group AG. All Rights Reserved.

####### 3D needs #########
EXTRA_FILES_3D="
  lib/hw/gralloc.msm8960.so
  "


####### CAMERA needs #########

EXTRA_FILES_CAMERA="
  lib/hw/camera.mako.so
  "

####### HW CODECS needs #########
EXTRA_FILES_HWCODEC="
  etc/media_codecs.xml
  etc/media_profiles.xml
  "

####### LINKING LOOP #########
NEEDED_EXTRA_FILES="
  $EXTRA_FILES_3D
  $EXTRA_FILES_CAMERA
  $EXTRA_FILES_HWCODEC
  "

for x in $NEEDED_EXTRA_FILES; do
  target=/system_jolla/$x
  link=$ANDROID_ROOT/${x/.msm8960./.default.}
  ln -sf $target $link
done

# For camera socket
mkdir -p /data/misc
ln -s /data_jolla/misc/camera /data/misc/camera
I expected something like that from the very beginning as i had a typo in my own script and it had no impact at all. Thank you.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:06.