Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Run AlienDalvik on Nexus 4

    Reply
    Page 5 of 24 | Prev |   3     4   5   6     7   15 | Next | Last
    BluesLee | # 41 | 2017-02-07, 21:07 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by BluesLee; 2017-02-07 at 21:14.
    The Following 11 Users Say Thank You to BluesLee For This Useful Post:
    chenliangchen, claustn, elastic, juiceme, klinglerware, Koiruus, lfc22, matemana, mrsellout, pepa77, preflex

     
    chenliangchen | # 42 | 2017-02-07, 21:10 | Report

    Nice! Will that be working on FP2 using the same method? Anyone willing to give a try?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to chenliangchen For This Useful Post:
    BluesLee, juiceme

     
    lfc22 | # 43 | 2017-02-07, 21:29 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to lfc22 For This Useful Post:
    juiceme, taixzo

     
    matemana | # 44 | 2017-02-07, 22:42 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by matemana; 2017-02-07 at 22:53.
    The Following 4 Users Say Thank You to matemana For This Useful Post:
    BluesLee, claustn, juiceme, MJ m

     
    BluesLee | # 45 | 2017-02-08, 06:20 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by BluesLee; 2017-02-08 at 07:05.
    The Following 2 Users Say Thank You to BluesLee For This Useful Post:
    claustn, juiceme

     
    matemana | # 46 | 2017-02-08, 06:33 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by matemana; 2017-02-08 at 07:00.
    The Following 2 Users Say Thank You to matemana For This Useful Post:
    juiceme, MJ m

     
    BluesLee | # 47 | 2017-02-08, 07:09 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to BluesLee For This Useful Post:
    juiceme

     
    claustn | # 48 | 2017-02-08, 08:49 | Report

    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...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by claustn; 2017-02-08 at 09:02.
    The Following 2 Users Say Thank You to claustn For This Useful Post:
    BluesLee, juiceme

     
    karan5chaos | # 49 | 2017-02-08, 08:55 | Report

    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)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to karan5chaos For This Useful Post:
    juiceme

     
    matemana | # 50 | 2017-02-08, 11:35 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to matemana For This Useful Post:
    claustn, juiceme, meloferz, MJ m, pepa77

     
    Page 5 of 24 | Prev |   3     4   5   6     7   15 | Next | Last
vBulletin® Version 3.8.8
Normal Logout