Apkenv

(N9/N950)
(N9/N950)
 
(24 intermediate revisions not shown)
Line 6: Line 6:
 +
== apkenv Downtime News ==
 +
 +
 +
'''2012-11-03'''
 +
The old binaries are outdated and should not be used anymore. A new release is in the works and will be released when it's done. As always, please don't publish / upload old versions of apkenv. Use common sense and caution when downloading / running random binaries from the web.
== Installation/Usage Instructions ==
== Installation/Usage Instructions ==
Line 11: Line 16:
=== N9/N950 ===
=== N9/N950 ===
-
1. Download the latest apkenv.harmattan binary from http://thp.io/2012/apkenv/
+
1. Download the latest apkenv.harmattan binary from http://thp.io/2012/apkenv/ (currently not available use link below)
-
Current version direct [http://thp.io/2012/apkenv/apkenv.harmattan.2012-10-21b link]
+
Current version for Harmattan [http://talk.maemo.org/showpost.php?p=1350915&postcount=1071 link] (note that zip includes Bionic binaries mentioned below, skip step 4 if you use this file)
-
[http://talk.maemo.org/showpost.php?p=1284909&postcount=326 Mirror link]
+
-
2. Save the downloaded binary to /home/user/MyDocs
+
2. With the zip file above, extract it to MyDocs (default view when phone in Mass storage-mode).
-
 
+
3. In terminal do:
3. In terminal do:
  mkdir -p /home/user/apkenv
  mkdir -p /home/user/apkenv
-
  cp -R /home/user/MyDocs/apkenv.harmattan.VERSION_DATE /home/user/apkenv/apkenv
+
  cp -R /home/user/MyDocs/apkenv/* /home/user/apkenv/
  chmod 775 /home/user/apkenv/apkenv
  chmod 775 /home/user/apkenv/apkenv
 +
devel-su
 +
(default pasword: rootme)
  apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img
  apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img
 +
4. Download the Bionic binaries from http://thp.io/2012/apkenv/ and place them in /home/user/apkenv/ or '''copy them from /home/nitdroid/system/lib only if you are running NiTDroid Alpha 4!'''  
4. Download the Bionic binaries from http://thp.io/2012/apkenv/ and place them in /home/user/apkenv/ or '''copy them from /home/nitdroid/system/lib only if you are running NiTDroid Alpha 4!'''  
-
5. Incase of extreme laziness to read nitdroid forum, download nitdroid binary (http://downloads.nitdroid.com/e-yes/n9/nitdroid_n9_ics_alpha4.tar.bz2), extract it and go to /system/lib path.
 
-
6. If you don't want to download a big file, head over to this attachment on the maemo forums over [http://talk.maemo.org/showpost.php?p=1284909&postcount=326 here]
+
4-1. Incase of extreme laziness to read nitdroid forum, download nitdroid binary (http://downloads.nitdroid.com/e-yes/n9/nitdroid_n9_ics_alpha4.tar.bz2), extract it and go to /system/lib path.
The libraries required:
The libraries required:
Line 43: Line 48:
  cd /home/user/apkenv/
  cd /home/user/apkenv/
  ./apkenv /home/user/MyDocs/APK_NAME
  ./apkenv /home/user/MyDocs/APK_NAME
 +
 +
=== N900 ===
 +
 +
1. Download the latest apkenv.fremantle binary from http://thp.io/2012/apkenv/ (not currently available)
 +
 +
 +
2. Save the downloaded binary to /home/user/MyDocs
 +
 +
 +
3. In terminal do:
 +
mkdir -p /home/user/apkenv
 +
cp -R /home/user/MyDocs/apkenv.fremantle.VERSION_DATE /home/user/apkenv/apkenv
 +
chmod 775 /home/user/apkenv/apkenv
 +
apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1
 +
 +
 +
4. Download the Bionic binaries from http://thp.io/2012/apkenv/ and place them in /home/user/apkenv/
 +
 +
 +
The libraries required:
 +
libc.so
 +
liblog.so
 +
libm.so
 +
libstdc++.so
 +
libz.so
 +
 +
 +
5. If you have a .apk file in /home/user/MyDocs/, run it as follows in terminal:
 +
cd /home/user/apkenv/
 +
./apkenv /home/user/MyDocs/APK_NAME.apk
== Frequently asked questions ==
== Frequently asked questions ==
'''1. Do I need NITdroid?'''
'''1. Do I need NITdroid?'''
-
Nope. But you may need Bİonic libraries, download them from thp.io and place them on the same folder you placed apkenv.
+
Nope. But you may need Bİonic libraries, download them from thp.io or [http://talk.maemo.org/showpost.php?p=1284909&postcount=326 here]
 +
and place them on the same folder you placed apkenv.
Line 54: Line 90:
Run this: "chmod +x apkenv", then ./apkenv, It should work now.
Run this: "chmod +x apkenv", then ./apkenv, It should work now.
 +
Also if you used some app as root you might need to run this:
 +
chmod 777 /home/user/.apkenv
 +
 +
 +
'''3. Im getting "/home/user/ is not ours" error.
 +
 +
That's because of you ran it as root, you should run the binary as user
 +
 +
 +
'''4. Im getting "./apkenv not found" error.
 +
 +
Make sure you have changed to the binary directory using "cd" command
== Android Games Compatibility ==
== Android Games Compatibility ==
Line 67: Line 115:
* [http://talk.maemo.org/showthread.php?p=1283353 Apkenv thread on Maemo Talk]
* [http://talk.maemo.org/showthread.php?p=1283353 Apkenv thread on Maemo Talk]
* [http://www.youtube.com/watch?v=ahsDNPrPSDU First look Youtube video]
* [http://www.youtube.com/watch?v=ahsDNPrPSDU First look Youtube video]
 +
* [http://www.youtube.com/watch?v=djUMaoGDAz8 Angry Birds Space on N9 with Apkenv Youtube video]
 +
[[Category:Software]]
 +
[[Category:N900]]
 +
[[Category:N9]]
 +
[[Category:N950]]

Latest revision as of 05:09, 24 June 2013

Apkenv is a compatibility layer for applications packaged as ".apk", runs on Harmattan (N9) and Fremantle (N900).

"This project is a proof-of-concept on how applications targetting one platform can be made compatible with not so much effort as initially thought."

Official apkenv page (Details and download)


Contents

[edit] apkenv Downtime News

2012-11-03

The old binaries are outdated and should not be used anymore. A new release is in the works and will be released when it's done. As always, please don't publish / upload old versions of apkenv. Use common sense and caution when downloading / running random binaries from the web.

[edit] Installation/Usage Instructions

[edit] N9/N950

1. Download the latest apkenv.harmattan binary from http://thp.io/2012/apkenv/ (currently not available use link below)

Current version for Harmattan link (note that zip includes Bionic binaries mentioned below, skip step 4 if you use this file)


2. With the zip file above, extract it to MyDocs (default view when phone in Mass storage-mode).

3. In terminal do:

mkdir -p /home/user/apkenv
cp -R /home/user/MyDocs/apkenv/* /home/user/apkenv/
chmod 775 /home/user/apkenv/apkenv
devel-su
(default pasword: rootme)
apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img


4. Download the Bionic binaries from http://thp.io/2012/apkenv/ and place them in /home/user/apkenv/ or copy them from /home/nitdroid/system/lib only if you are running NiTDroid Alpha 4!


4-1. Incase of extreme laziness to read nitdroid forum, download nitdroid binary (http://downloads.nitdroid.com/e-yes/n9/nitdroid_n9_ics_alpha4.tar.bz2), extract it and go to /system/lib path.

The libraries required:

libc.so
liblog.so
libm.so
libstdc++.so
libz.so


5. If you have a .apk file in /home/user/MyDocs/, run it as follows in terminal:

cd /home/user/apkenv/
./apkenv /home/user/MyDocs/APK_NAME

[edit] N900

1. Download the latest apkenv.fremantle binary from http://thp.io/2012/apkenv/ (not currently available)


2. Save the downloaded binary to /home/user/MyDocs


3. In terminal do:

mkdir -p /home/user/apkenv
cp -R /home/user/MyDocs/apkenv.fremantle.VERSION_DATE /home/user/apkenv/apkenv
chmod 775 /home/user/apkenv/apkenv
apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1


4. Download the Bionic binaries from http://thp.io/2012/apkenv/ and place them in /home/user/apkenv/


The libraries required:

libc.so
liblog.so
libm.so
libstdc++.so
libz.so


5. If you have a .apk file in /home/user/MyDocs/, run it as follows in terminal:

cd /home/user/apkenv/
./apkenv /home/user/MyDocs/APK_NAME.apk

[edit] Frequently asked questions

1. Do I need NITdroid?

Nope. But you may need Bİonic libraries, download them from thp.io or here and place them on the same folder you placed apkenv.


2. "Permission denied" message

Run this: "chmod +x apkenv", then ./apkenv, It should work now.

Also if you used some app as root you might need to run this: chmod 777 /home/user/.apkenv


3. Im getting "/home/user/ is not ours" error.

That's because of you ran it as root, you should run the binary as user


4. Im getting "./apkenv not found" error.

Make sure you have changed to the binary directory using "cd" command

[edit] Android Games Compatibility

Kindly update the Games Compatibility wiki with your results when running an .apk regardless of success rate!


[edit] Links