maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Run AlienDalvik on Nexus 4 (https://talk.maemo.org/showthread.php?t=98800)

eekkelund 2017-01-24 17:42

Run AlienDalvik on Nexus 4
 
I haven't myself tried(I don't have Nexus4) but what I have heard it works? :)

Link: http://4pda.ru/forum/index.php?showt...#entry57516932

Google Translated:
Quote:

Originally Posted by BIBICHEKO
Installing Aliendalvik. Run Android apps
At one's own risk! For firmware based CM11
1. First, we need a very Aliendalvik and special package. a replacement script
Download( https://drive.google.com/file/d/0B82...9naVVCTFE/view )
Download( https://drive.google.com/file/d/0B82...o5WlBxN0k/view )

2. After downloading all of the components, we need to set Aliendalvik package.
This you can do via the terminal / SSH, connect to the device
Code:

devel-su
  zypper in aliendalvik-1.0.46-1.armv7hl.rpm

Or just install .rpm package through the file manager. It can be found in Jolla Store

3. Thereafter, the script must be replaced in the system directory.
This you can do via the terminal / SSH, connect to the device
Code:

devel-su
  systemctl stop aliendalvik
  cp platform_extraenvsetup.sh /opt/alien/system/script/platform_extraenvsetup.sh
  chmod + x /opt/alien/system/script/platform_extraenvsetup.sh
  systemctl start aliendalvik

Now you can install APK application!
---

Removing Aliendalvik. If suddenly you do not like something
These steps must!
1. First, we need to disable the aliendalvik
Code:

devel-su
  systemctl disable aliendalvik

2. Reboot your device
3. Remove the package
Otherwise, when you delete a package is possible to remove system and user data from the use of "bind mounts"

---
If you have problems with the link owners will be deleted. If something does not like, knock to the PM. Thank you


BluesLee 2017-01-24 19:09

Re: Run AlienDalvik on Nexus 4
 
Russians ..:-) Is it restricted to Nexus 4? Let's try it.

kuba77 2017-01-24 20:12

Re: Run AlienDalvik on Nexus 4
 
I tried it, it works :) but when you run some android app, the process com.android.phone often stop and show the warning.

mrsellout 2017-01-25 12:36

Re: Run AlienDalvik on Nexus 4
 
Quote:

Originally Posted by kuba77 (Post 1522411)
I tried it, it works :) but when you run some android app, the process com.android.phone often stop and show the warning.

Which device did you try it with?

nieldk 2017-01-25 13:46

Re: Run AlienDalvik on Nexus 4
 
Quote:

Originally Posted by mrsellout (Post 1522424)
Which device did you try it with?

Jolla 1 :p
Seriously ? the 'trick' is for Nexus 4

velox 2017-01-25 14:09

Re: Run AlienDalvik on Nexus 4
 
Quote:

Originally Posted by nieldk (Post 1522427)
Seriously ? the 'trick' is for Nexus 4

Well, kuba77 could have reponded to "Is it restricted to Nexus 4? Let's try it." even if it's a unlikely. :)

nieldk 2017-01-25 14:12

Re: Run AlienDalvik on Nexus 4
 
Quote:

Originally Posted by velox (Post 1522428)
Well, kuba77 could have reponded to "Is it restricted to Nexus 4? Let's try it." even if it's a unlikely. :)

Yes, not unlikely that it may work on other devices, but the scripts needs to be modified for sure.

mrsellout 2017-01-25 15:43

Re: Run AlienDalvik on Nexus 4
 
Quote:

Originally Posted by nieldk (Post 1522429)
Yes, not unlikely that it may work on other devices, but the scripts needs to be modified for sure.

Yeah, if it would install, I'd have thought that standard apps might work on other devices, but would start to fail with any that need to interact with any hardware.

nieldk 2017-01-25 16:03

Re: Run AlienDalvik on Nexus 4
 
Quote:

Originally Posted by mrsellout (Post 1522431)
Yeah, if it would install, I'd have thought that standard apps might work on other devices, but would start to fail with any that need to interact with any hardware.

well, on OneplusX it installs, but doesnt immediately work.

tvicol 2017-01-25 16:58

Re: Run AlienDalvik on Nexus 4
 
For oneplusx you may need some xxxxxx.MSM8974.so blobs.

On my Jolla 1 platform_extraenvsetup.sh script points to msm8909.so files.

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

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

####### CAMERA needs #########
EXTRA_FILES_CAMERA="
lib/hw/camera.msm8909.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/.msm8909./.default.}
ln -sf $target $link
done

# For camera socket
mkdir -p /data/misc
ln -s /data_jolla/misc/camera /data/misc/camera


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

vBulletin® Version 3.8.8