Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Run AlienDalvik on Nexus 4

    Reply
    Page 14 of 24 | Prev | 4   12     13   14   15     16   | Next | Last
    lfc22 | # 131 | 2017-02-11, 07:48 | Report

    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

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

     
    mp107 | # 132 | 2017-02-11, 11:34 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    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:
    klinglerware

     
    matemana | # 133 | 2017-02-11, 17:29 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to matemana For This Useful Post:
    BluesLee, pepa77, preflex, velox

     
    BluesLee | # 134 | 2017-02-11, 20:04 | Report

    @matemana: can you check sound/video for the apps i mentioned here http://talk.maemo.org/showpost.php?p...&postcount=128

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cvp | # 135 | 2017-02-11, 20:14 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to cvp For This Useful Post:
    klinglerware, matemana, taixzo

     
    matemana | # 136 | 2017-02-11, 23:01 | Report

    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.

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

     
    BluesLee | # 137 | 2017-02-12, 06:46 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    matemana | # 138 | 2017-02-12, 07:17 | Report

    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.

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

     
    matemana | # 139 | 2017-02-12, 09:41 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BluesLee | # 140 | 2017-02-12, 10:01 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 14 of 24 | Prev | 4   12     13   14   15     16   | Next | Last
vBulletin® Version 3.8.8
Normal Logout