Re: Run AlienDalvik on Nexus 4
Quote:
Here my modified script based on the above one: Code:
#!/bin/bash Code:
0 0 android |
Re: Run AlienDalvik on Nexus 4
Nice! Will that be working on FP2 using the same method? Anyone willing to give a try? :D
|
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
Quote:
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. |
Re: Run AlienDalvik on Nexus 4
Quote:
Can you play video files? |
Re: Run AlienDalvik on Nexus 4
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... |
Re: Run AlienDalvik on Nexus 4
Quote:
Also please guide us on how to find the specific config file (in my case it's opx with cm12.1 base) |
Re: Run AlienDalvik on Nexus 4
Quote:
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 :) |
Re: Run AlienDalvik on Nexus 4
Quote:
These changes, however, does not work as-is Code:
#!/bin/bash |
Re: Run AlienDalvik on Nexus 4
i just modified the sh file :)
here it is - Code:
#!/bin/bash oh and btw i get an error when i run chmod-x command it says no directory |
Re: Run AlienDalvik on Nexus 4
how do you create the egl.cnf file under /vendor/lib/egl ? with root it tells me that i cant save it becaus read-only-filesystem
|
Re: Run AlienDalvik on Nexus 4
Quote:
Mount system RW: mount -o rw,remount,rw /system Mount system RO: mount -o ro,remount,ro /system |
Re: Run AlienDalvik on Nexus 4
Quote:
Code:
chmod +x /opt/alien/system/script/platform_extraenvsetup.sh |
Re: Run AlienDalvik on Nexus 4
Quote:
there is no camera.onyx.so and there is no libplayback_adreno.so |
Re: Run AlienDalvik on Nexus 4
Quote:
I mean i cannot see them in the cm zip. looks like they are all packed under .dat file. any suggestions for this ? i found and verified rest of the files though. |
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
nieldk+mo107
thanks a lot, i forget it ^^ Quote:
|
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
A journal reveals some errors
Feb 08 12:57:29 Sailfish systemd[1]: Starting Myriad Alien Dalvik... Feb 08 12:57:29 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/system/vendor/lib/egl/egl.cfg': No such file or directory Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/system/vendor/lib/egl/eglsubAndroid.so': No such file or directory Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/system/vendor/lib/egl/libEGL_adreno.so': No such file or directory Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/system/vendor/lib/egl/libGLESv1_CM_adreno.so': No such file or directory Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/system/vendor/lib/egl/libGLESv2_adreno.so': No such file or directory Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/system/vendor/lib/egl/libq3dtools_adreno.so': No such file or directory Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/system/vendor/lib/libadreno_utils.so': No such file or directory Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/system/vendor/lib/libgsl.so': No such file or directory Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ln: creating symbolic link `/data/misc/camera/camera': File exists Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /data exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /data/dalvik-cache exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /data/app-private exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /data/app exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /data/data exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /data/misc exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /data/property exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /run/user/1000/alien/socket exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /run/user/1000/alien/ashmem exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /home/nemo/android_storage exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /storage/sdcard0 exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /cache exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: /data/keystore exists already Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ------------------------------------------- Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ANDROID_ROOT=/system Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ANDROID_DATA=/data Feb 08 12:57:30 Sailfish start_alien.sh[21522]: DOWNLOAD_CACHE=/cache Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ANDROID_ASHMEM_DIR=/run/user/1000/alien/ashmem Feb 08 12:57:30 Sailfish start_alien.sh[21522]: EXTERNAL_STORAGE=/storage/sdcard0 Feb 08 12:57:30 Sailfish start_alien.sh[21522]: 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 Feb 08 12:57:30 Sailfish start_alien.sh[21522]: LD_LIBRARY_PATH=/system/vendor/lib:/system/lib:/vendor/lib:/system_jolla/lib: Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ANDROID_LOG_TAGS=*:e Feb 08 12:57:30 Sailfish start_alien.sh[21522]: USER_APP= Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ------------------------------------------- Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_audio_server Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_gps_server Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_keyboard_server Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_resource_mgr Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/aliensensorserver Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_media_control Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_bridge_server ap no li po nc vi pm Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_timezone_monitor Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_bridge_server wi ri Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_bridge_server ms fo Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish start_alien.sh[21522]: gexe.sh Execute: /system/genv/bin/alien_bridge_server co Feb 08 12:57:30 Sailfish start_alien.sh[21522]: ================================================== ========== Feb 08 12:57:30 Sailfish alien_bridge_server[21579]: The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged() Feb 08 12:57:59 Sailfish systemd[1]: aliendalvik.service operation timed out. Stopping. Feb 08 12:58:00 Sailfish systemd[1]: Failed to start Myriad Alien Dalvik. Feb 08 12:58:00 Sailfish systemd[1]: Unit aliendalvik.service entered failed state. Feb 08 12:58:01 Sailfish systemd[1]: aliendalvik.service holdoff time over, scheduling restart. Feb 08 12:58:01 Sailfish systemd[1]: aliendalvik.service start request repeated too quickly, refusing to start. Feb 08 12:58:01 Sailfish systemd[1]: Unit aliendalvik.service entered failed state. |
Re: Run AlienDalvik on Nexus 4
Quote:
I'll make aliendalvik package for your device too, i do not have onyx so i'll use your sh file (i can't check if it works or not). Please tell me if /vendor/lib/egl/egl.cfg exists on your device, because if it does not i'll create it from rpm, so you will not have to make anything after installing aliendalvik. |
Re: Run AlienDalvik on Nexus 4
Quote:
it's /vendor/lib/egl/egl.cfg upper errors are because of this. |
Re: Run AlienDalvik on Nexus 4
Quote:
And, my script doesnt work either - so far. No use in packaging yet |
Re: Run AlienDalvik on Nexus 4
no its not present.
And thank u so much for your efforts :) I figured out the camera.so location but i cannot see audioplayback.so file. |
Re: Run AlienDalvik on Nexus 4
1 Attachment(s)
Quote:
The install script uses a 'base', not direct, full path (The full path IS /system/vendor/lib/egl FYI) |
Re: Run AlienDalvik on Nexus 4
nieldk,
libplayback_adreno.so lib/libmemalloc.so lib/libqdutils.so for me (opx) is this thee files missing. I dont know if its really needing. On Turing Phone doesnt existing the three files and i cant find egl.cfg on turing phone |
Re: Run AlienDalvik on Nexus 4
Quote:
The two other libs are in lib/libmemalloc.so lib/libqdutils.so However, the full path if you want to 'see' them on the filesystem is /system/lib/libmemalloc.so /system/lib/libqdutils.so It is relative paths in the script, starting by /system folder |
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
well i did all the things but dalvik fails to start
here's the log - Code:
-- Logs begin at Sun 2016-12-18 02:15:58 IST, end at Sun 2016-12-18 02:47:35 IST. |
Re: Run AlienDalvik on Nexus 4
Quote:
hello. did u get dalvik to run ? |
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
Quote:
every commands is successful but it still won't start dalvik... hope someone figures out the problem :) |
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
Quote:
I made this based on nieldks post about modified sh script for OPX. I do not have that device so i do not know if this will work, but i can confirm that what i changed does work on nexus 5 though. So if that sh script is correct for OPX this rpm should just work. http://bin.ge/dl/247945/aliendalvik-...mv7hl.rpm.html |
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
@matemana, can you upload the missing file in oneplus x from nexus cm12.1 ?
|
Re: Run AlienDalvik on Nexus 4
Quote:
|
Re: Run AlienDalvik on Nexus 4
Quote:
EDIT : i get this error while installing the RPM - Code:
Loading repository data... |
All times are GMT. The time now is 23:51. |
vBulletin® Version 3.8.8