Active Topics

 


Reply
Thread Tools
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#41
Originally Posted by BluesLee View Post
I am pretty sure that it will not run with CM12 base.
I was wrong Same magic does the job on Nexus 5 running CM12 with Sailfishos 2.0.5.6.

Here my modified script based on the above one:

Code:
#!/bin/bash
# Copyright 2013-2016 Myriad Group AG. All Rights Reserved.

####### 3D needs #########
EXTRA_FILES_3D="
  vendor/lib/egl/egl.cfg
  vendor/lib/egl/eglsubAndroid.so
  vendor/lib/egl/libEGL_adreno.so
  vendor/lib/egl/libGLESv1_CM_adreno.so
  vendor/lib/egl/libGLESv2_adreno.so
  vendor/lib/egl/libplayback_adreno.so
  vendor/lib/egl/libq3dtools_adreno.so
  lib/hw/gralloc.msm8974.so
  vendor/lib/libadreno_utils.so
  vendor/lib/libgsl.so
  lib/libmemalloc.so
  lib/libqdutils.so
  "

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

####### HW CODECS needs #########
EXTRA_FILES_HWCODEC="
  etc/media_codecs.xml
  etc/media_profiles.xml
  etc/media_codecs_google_audio.xml
  etc/media_codecs_google_telephony.xml
  etc/media_codecs_google_video.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/.msm8974./.default.}
  ln -sf $target $link
done

ln -sf /system_jolla/lib/hw/camera.hammerhead.so /system/lib/hw/camera.default.so

# For camera socket
mkdir -p /data/misc
ln -s /data_jolla/misc/camera /data/misc/camera
with missing egl.cnf

Code:
0 0 android
0 1 adreno

Last edited by BluesLee; 2017-02-07 at 21:14.
 

The Following 11 Users Say Thank You to BluesLee For This Useful Post:
chenliangchen's Avatar
Posts: 1,478 | Thanked: 9,871 times | Joined on Dec 2008 @ Shanghai / London
#42
Nice! Will that be working on FP2 using the same method? Anyone willing to give a try?
 

The Following 2 Users Say Thank You to chenliangchen For This Useful Post:
Posts: 118 | Thanked: 55 times | Joined on Jul 2013
#43
Originally Posted by chenliangchen View Post
Nice! Will that be working on FP2 using the same method? Anyone willing to give a try?
as long as we are being somewhat OT, how about opx?
 

The Following 2 Users Say Thank You to lfc22 For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#44
Originally Posted by BluesLee View Post
I was wrong Same magic does the job on Nexus 5 running CM12 with Sailfishos 2.0.5.6.

Here my modified script based on the above one:

with missing egl.cnf

Code:
0 0 android
0 1 adreno
Wow nice. I did not thought about searching that libs. nice to see that it works there too.

Last edited by matemana; 2017-02-07 at 22:53.
 

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
#45
Originally Posted by matemana View Post
Wow nice. I did not thought about searching that libs. nice to see that it works there too.
I had a typo in the name of the egl file but it did not matter with regards to starting apps. Sound works but video not. Whats your experience with video on alien + CM11 base?

Last edited by BluesLee; 2017-02-08 at 07:05.
 

The Following 2 Users Say Thank You to BluesLee For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#46
Originally Posted by BluesLee View Post
I was wrong Same magic does the job on Nexus 5 running CM12 with Sailfishos 2.0.5.6.

Here my modified script based on the above one:

Code:
#!/bin/bash
# Copyright 2013-2016 Myriad Group AG. All Rights Reserved.

####### 3D needs #########
EXTRA_FILES_3D="
  vendor/lib/egl/egl.cfg
  vendor/lib/egl/eglsubAndroid.so
  vendor/lib/egl/libEGL_adreno.so
  vendor/lib/egl/libGLESv1_CM_adreno.so
  vendor/lib/egl/libGLESv2_adreno.so
  vendor/lib/egl/libplayback_adreno.so
  vendor/lib/egl/libq3dtools_adreno.so
  lib/hw/gralloc.msm8974.so
  vendor/lib/libadreno_utils.so
  vendor/lib/libgsl.so
  lib/libmemalloc.so
  lib/libqdutils.so
  "

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

####### HW CODECS needs #########
EXTRA_FILES_HWCODEC="
  etc/media_codecs.xml
  etc/media_profiles.xml
  etc/media_codecs_google_audio.xml
  etc/media_codecs_google_telephony.xml
  etc/media_codecs_google_video.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/.msm8974./.default.}
  ln -sf $target $link
done

ln -sf /system_jolla/lib/hw/camera.hammerhead.so /system/lib/hw/camera.default.so

# For camera socket
mkdir -p /data/misc
ln -s /data_jolla/misc/camera /data/misc/camera
with missing egl.cnf

Code:
0 0 android
0 1 adreno
I have 2.0.4.13 version installed and it does not install aliendalvik.
It freezes on Installing packages.
I tried updating to 2.0.5.6 on a fresh install whole night it was doing update but in the morning it was frozen on 82 %. I force rebooted and it did not even boot. ****ING REFLESH AGAIN. WTF is wrong with update? How did you update to 2.0.5.6 can you post commands?

For now aliendalvik does work on my 2.0.4.13 but i tried google play services and aliendalvik does not start after just coping needed files in /opt/alien/ folder. But i did same with my nexus 4 and it works great.

P.S. Camera does not work for me.

Last edited by matemana; 2017-02-08 at 07:00.
 

The Following 2 Users Say Thank You to matemana For This Useful Post:
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#47
Originally Posted by matemana View Post
I have 2.0.4.13 version installed and it does not install aliendalvik.
It freezes on Installing packages.
I tried updating to 2.0.5.6 on a fresh install whole night it was doing update but in the morning it was frozen on 82 %. I force rebooted and it did not even boot. ****ING REFLESH AGAIN. WTF is wrong with update? How did you update to 2.0.5.6 can you post commands?

For now aliendalvik does work on my 2.0.4.13 but i tried google play services and aliendalvik does not start after just coping needed files in /opt/alien/ folder. But i did same with my nexus 4 and it works great.

P.S. Camera does not work for me.
Please refer to the Nexus 5 thread regarding upgrade issues, most of us are struggling with OTA.

Can you play video files?
 

The Following User Says Thank You to BluesLee For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#48
Nice! I will install another Sailfish with multirom, update it to the latest version and try it
BluesLee, could you tell us what commands did you run? It would be very useful a complete guide.

edit: could you please try if gps works for android applications? I would use it for Here Maps...

Last edited by claustn; 2017-02-08 at 09:02.
 

The Following 2 Users Say Thank You to claustn For This Useful Post:
Posts: 43 | Thanked: 32 times | Joined on Jan 2015
#49
Originally Posted by claustn View Post
Nice! I will install another Sailfish with multirom, update it to the latest version and try it
BluesLee, could you tell us what commands did you run? It would be very useful a complete guide.
+1
Also please guide us on how to find the specific config file (in my case it's opx with cm12.1 base)
 

The Following User Says Thank You to karan5chaos For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#50
Originally Posted by karan5chaos View Post
+1
Also please guide us on how to find the specific config file (in my case it's opx with cm12.1 base)
You should search for this same libs as in the sh file. For example egl.cfg is in /system/lib/egl folder in CM11 but as you see it's in /vendor/lib/egl/ folder in CM12. It should be in the same place if you use CM12.

P.S.
I am now modifying aliendalvik.rpm to include this sh file in it. also editing build.prop for screen density. Nexus 4 and nexus 5 have different dencity and everything is smaller with this aliendalvik on nexus 5. Of course you can edit it after installation but i like simple things. I will generate aliendalvik.rpm for nexus 4 & nexus 5. If you want give me sh file for your device and i'll generate that too. Because it's easier to install just one rpm then after installation stop service copy file change mods on that file and start service
 

The Following 5 Users Say Thank You to matemana For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:29.