maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] apkenv (N900, N950, N9) (https://talk.maemo.org/showthread.php?t=87496)

izrzdor 2015-01-11 19:09

Re: [Announce] apkenv (N900, N950, N9)
 
someone have the deb file for fremantle?

princefakhan 2015-01-11 21:21

Re: [Announce] apkenv (N900, N950, N9)
 
whoohoo! Finally! Finally, I made it work. Thanks to that Harmattan guide, this time I knew what command to run as root. :) Now, I only need the modules to run my games.

princefakhan 2015-01-12 07:08

Re: [Announce] apkenv (N900, N950, N9)
 
Guys! Follow this simple method to run Apkenv 42.4.0 on N900 (Fremantle). I am thankful to @Halftux, @xes and @Schturman. Without these guys, I would not have been able to run this on my device.

1. Download the archive from this post: http://talk.maemo.org/showpost.php?p...postcount=1169

2. Extract it to MyDocs. You will now have a folder, "apkenv".

3. The folder "apkenv" will have three subfolders, "bin" "bionic" & "modules". You have to copy all the files from these three folders to "apkenv" folder. You may then delete those three folders.

4. Now, open the Terminal and run this.
Code:

sudo gainroot
cp -R /home/user/MyDocs/apkenv /home/user
chmod 775 /home/user/apkenv/apkenv

5. Make sure you have these installed.
Code:

apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1

How to run an apk?
Lets say that you have the apk in MyDocs. Then,
Open the terminal and run this. Remember that these have to be run as user, not as root.
Code:

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


princefakhan 2015-01-25 14:24

Re: [Announce] apkenv (N900, N950, N9)
 
I am trying to run a game called Bike Rivals by Miniclip but it returns with some error.

Code:

~ $ cd /home/user/apkenv
~/apkenv $ ./apkenv /home/user/MyDocs/BikeRivals.apk
apkenv 42.4.0 - http://thp.io/2012/apkenv/
Copyright (c) 2012, 2013 Thomas Perl <m@thp.io>

current path: fail
Illegal instruction
~/apkenv $

Any idea what this means?
It may need a module. Can someone build that?
Does someone have the latest build (I think it is 42.7.0) for N900? Please upload it. :)

Thanks

dy1ng 2015-05-01 19:39

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
Hey, now what? :D

liar 2015-06-10 09:44

Re: [Announce] apkenv (N900, N950, N9)
 
apkenv works now on sailfish :) (at least one game, petals redux)

EDIT: Fruit ninja, plants vs zombies and probably more games work now!

Thaodan 2015-06-10 11:38

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by liar (Post 1473148)
apkenv works now on sailfish :) (at least one game, petals redux)

is there a pkg for this?

liar 2015-06-11 09:07

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by Thaodan (Post 1473154)
is there a pkg for this?

not yet, there are still some issues we want to fix, but i am sure thp will make a package once it works as expected

BlazingBird 2015-06-22 12:40

Re: [Announce] apkenv (N900, N950, N9)
 
when i try to install it in my N900 i get this error. what am i missing??

linker/linker.c:1382| ERROR: 0 cannot locate 'zlibVersion'...

linker/linker.c:2057| ERROR: failed to link libcurl.so
linker/linker.c:1382| ERROR: 0 cannot locate 'curl_global_init'...

linker/linker.c:2057| ERROR: failed to link libccl.so
linker/linker.c:1155| ERROR: Library 'libOpenSLES.so' not found
linker/linker.c:1267| ERROR: 0 'libcurl.so' failed to load previously
linker/linker.c:1382| ERROR: 0 cannot locate 'curl_version_info'...

linker/linker.c:2057| ERROR: failed to link libtransport.so
linker/linker.c:1267| ERROR: 0 'libcurl.so' failed to load previously
linker/linker.c:1382| ERROR: 0 cannot locate '_ZN3CCL3CCL19IsCorpLiableEnabledEv'...

linker/linker.c:2057| ERROR: failed to link libbbmcore.so
Missing library dependencies

BlazingBird 2015-06-22 13:03

Re: [Announce] apkenv (N900, N950, N9)
 
this is what i get when i try to install libsdl-gles1.2-dev

/home/user # apt-get install libsdl-gles1.2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libsdl-gles1.2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up libgl1-mesa-glx (7.0.3-maemo4) ...
Optifying usr/share/doc/libgl1-mesa-glx -> /opt/maemo/usr/share/doc/libgl1-mesa-glx
mv: can't rename '/usr/share/doc/libgl1-mesa-glx': No such file or directory
dpkg: error processing libgl1-mesa-glx (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libglew1.5:
libglew1.5 depends on libgl1-mesa-glx | libgl1 | libgl1-mesa-swx11; however:
Package libgl1-mesa-glx is not configured yet.
Package libgl1 is not installed.
Package libgl1-mesa-glx which provides libgl1 is not configured yet.
Package libgl1-mesa-swx11 is not installed.
libglew1.5 depends on libglu1-mesa | libgl1; however:
Package libglu1-mesa is not installed.
Package libgl1 is not installed.
Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libglew1.5 (--configure):
dependency problems - leaving unconfigured
Setting up libsdl-gfx1.2-4 (2.0.22-0maemo1) ...
Optifying usr/share/doc/libsdl-gfx1.2-4 -> /opt/maemo/usr/share/doc/libsdl-gfx1.2-4
mv: can't rename '/usr/share/doc/libsdl-gfx1.2-4': No such file or directory
dpkg: error processing libsdl-gfx1.2-4 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libgl1-mesa-glx
libglew1.5
libsdl-gfx1.2-4
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #


All times are GMT. The time now is 16:39.

vBulletin® Version 3.8.8