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)

thp 2012-10-21 11:00

[Announce] apkenv (N900, N950, N9)
 
Potentially hours of fun.
And yes, it *does* work if you have the right .apk files.
No, I can't help you with this segfault.
No clue where to get these .apk files you are talking about.
Have fun figuring this one out!

http://thp.io/2012/apkenv/

anthonie 2012-10-21 11:47

Re: [Announce] apkenv (N900, N950, N9)
 
One word; Wow. Oh, a second one; Thanks!

Aranel 2012-10-21 11:52

Re: [Announce] apkenv (N900, N950, N9)
 
O_o Downloading right now, It's going to be fun!

PS: How about making a shared Compatibility list? Just like the good ol' days of preenv :)

Crogge 2012-10-21 12:01

Re: [Announce] apkenv (N900, N950, N9)
 
I think this deserves a Wiki entry with a compatibility list like we have for Preenv :)

Aranel 2012-10-21 12:03

Re: [Announce] apkenv (N900, N950, N9)
 
I wonder what could be realistically expected from apkenv :) Could it make Cordy or Jetpack Joyride a possibility on Harmattan, or should I aim for easier/lighter targets :)

edit: Answered my own question: nope. At least not that easy by just running ./apkenv cordy.apk

farfary 2012-10-21 12:04

Re: [Announce] apkenv (N900, N950, N9)
 
can you say some app Worked , for example

som3a 2012-10-21 12:09

Re: [Announce] apkenv (N900, N950, N9)
 
wait a min ....
this is not like what am seeing here right ??

do i have to install NITDroid first ??

CarM14 2012-10-21 12:22

Re: [Announce] apkenv (N900, N950, N9)
 
How to use? I dont understand... Do i need nitdroid? I've download the dependencies, but the apkenv is a deb file? I'm doing all of this directly from my N9, and when I type the codes for run the layer it says “Permission denied” my phone is incepted with a few tweaks... Thanks, and excelent work, mate :)

Aranel 2012-10-21 12:28

Re: [Announce] apkenv (N900, N950, N9)
 
To answer most common questions: (I may be wrong, I'm just another guy)

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.

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

Here's a quick wiki page: http://wiki.maemo.org/Apkenv

Kozzi 2012-10-21 12:55

Re: [Announce] apkenv (N900, N950, N9)
 
Tested:
- Samsung SmartView 3.2.0
*apkenv: apkenv.c:64: main: Assertion `global.jni_library != ((void *)0)' failed.
Aborted

- Tapatalk 2.4
* apkenv: apkenv.c:45: main: Assertion `shlib != ((void *)0)' failed.
Aborted

Anyone succeeded in getting an apk to run?

thedead1440 2012-10-21 12:58

Re: [Announce] apkenv (N900, N950, N9)
 
I got same errors as Kozzi for Fruit Ninja & Angry Birds Space...

Putting this out there so that its useful for someone else who attempts these 2 apps...


Edit: Added this to the compatibility page...I urge others to do the same too ;)

Aranel 2012-10-21 12:59

Re: [Announce] apkenv (N900, N950, N9)
 
Tested JetPack Joyride (1.3.5), Bejeweled 2 (2.0.11), Zombie Cafe and Cordy Sky (v11943). First three of them encountered that global.jni_library error, last one failed with shlib error.

Here's Game Compatibility wiki-page: http://wiki.maemo.org/Apkenv/Game_Compatibility

CarM14 2012-10-21 13:08

Re: [Announce] apkenv (N900, N950, N9)
 
hey, i get the same error, somebody could install something?

Usage: apkenv <file.apk>
~ # apkenv /home/user/MyDocs/Tab.apk
apkenv: apkenv.c:45: main: Assertion `shlib !=((void *)0)' failed.
Aborted

~ #

dannejanne 2012-10-21 13:08

Re: [Announce] apkenv (N900, N950, N9)
 
Too bad tapatalk doesn't work. It's the app I miss the most from Android.

qwazix 2012-10-21 13:34

Re: [Announce] apkenv (N900, N950, N9)
 
My take is that you should try fullscreen opengl games, not Dalvik apps.

CarM14 2012-10-21 13:47

Re: [Announce] apkenv (N900, N950, N9)
 
neither doodle jump... Shlib error..

thp 2012-10-21 14:11

Re: [Announce] apkenv (N900, N950, N9)
 
Updated harmattan binary (apkenv.harmattan.2012-10-21b). Should fix an issue on Harmattan devices without open mode. Also displays more useful error messages.

thedead1440 2012-10-21 14:26

Re: [Announce] apkenv (N900, N950, N9)
 
With the new version the global.jni error seems to have been replaced by Missing library dependencies error and the shlib error is replaced by Not a native .apk error...

tanrax 2012-10-21 14:27

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

EDGE
Osmos
Anomaly
World of goo

that works?

lkravovicz 2012-10-21 14:29

Re: [Announce] apkenv (N900, N950, N9)
 
Anyone feeling like trying EverNote?

Aranel 2012-10-21 14:33

Re: [Announce] apkenv (N900, N950, N9)
 
Maybe in a future version it'd be better to print which libraries are missing, it looks like every single game on Android depends on some libraries which I don't have it installed.

PS: I think it may be futile to try running APK apps, since those weren't supported by Preenv either, if apkenv works the similar way as preenv, opengl games are more likely.

thedead1440 2012-10-21 14:34

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

Originally Posted by tanrax (Post 1283396)
Not supported:

EDGE
Osmos
Anomaly
World of goo

Please update in wiki instead...

Thanks!


http://wiki.maemo.org/Apkenv/Apps_Compatibility
http://wiki.maemo.org/Apkenv/Game_Compatibility

SolarisSixth 2012-10-21 14:34

Re: [Announce] apkenv (N900, N950, N9)
 
I can't get it to run cause I'm an idiot.

When trying to install it, it gives me errors. dpkg-i says it's not a debian archive, and compilation failed in require.

Am I missing a very basic step here?

thp 2012-10-21 14:35

Re: [Announce] apkenv (N900, N950, N9)
 
Error message explanation:

Not a native .apk - This is a Dalvik-only .apk, and is not supported via this method (and never will be).
Missing library dependencies - Some required symbols were not found. Make sure you have the Bionic libraries downloaded, and placed in the same folder from where you run apkenv. If it still does not work, try a different (older/newer) version of the .apk you are trying to run.
Not supported yet - apkenv does not know how to run this .apk, but it has native support, and all symbols could be resolved. It might be possible that support for this .apk could be added in the future.

Like preenv, expect this to only run games, not apps.

Sniper_swe 2012-10-21 14:37

Re: [Announce] apkenv (N900, N950, N9)
 
i'm getting ./apkenv not found or premession denied.
What should the file ending be for apkenv? Mine looks like this apkenv.harmattan.2012-10-21b

ibrakalifa 2012-10-21 14:39

Re: [Announce] apkenv (N900, N950, N9)
 
its opened for a while and then closed, lol, but its cool!!! Awesome

http://i.imgur.com/Hko34.png

Aranel 2012-10-21 14:41

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

Originally Posted by SolarisSixth (Post 1283402)
I can't get it to run cause I'm an idiot.

When trying to install it, it gives me errors. dpkg-i says it's not a debian archive, and compilation failed in require.

Am I missing a very basic step here?

That's because it's not a debian archive and it's already compiled.

Installation steps:
  • Transfer the binary file and Bionic libraries to your N9. (/home/user/apkenv would be okay) Make sure libraries and binary are in the same folder.
  • Run chmod +x apkenv.harmattan.versiongoeshere
  • Run ./apkenv.harmattan.versiongoeshere <apk filename>

thedead1440 2012-10-21 14:42

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

Originally Posted by SolarisSixth (Post 1283402)
I can't get it to run cause I'm an idiot.

When trying to install it, it gives me errors. dpkg-i says it's not a debian archive, and compilation failed in require.

Am I missing a very basic step here?

It isn't a DEB!

Download it and in terminal do [assuming you saved it to MyDocs]:

Code:

cp -R /home/user/MyDocs/apkenv.harmattan ./apkenv
chmod 775 ./apkenv


Also copy the bionic libraries as stated in thp's support page to ./


Edit: Beaten to it :D

Kozzi 2012-10-21 14:42

Re: [Announce] apkenv (N900, N950, N9)
 
With new version:
Spirits 1.1.0
- Quick flash (my heart stopped for 2s)
- Missing library dependencies
Zombie panic in wonderland 1.2
- Missing library dependencies
Plants vs Zombies
- Not supported yet

ibrakalifa 2012-10-21 15:08

Re: [Announce] apkenv (N900, N950, N9)
 
Its only for games? I tried friendcaster and failed, lol

Aranel 2012-10-21 15:10

Re: [Announce] apkenv (N900, N950, N9)
 
I think it may be possible to run Fruit Ninja Free since it complains about a missing MIDI device. If we could insert a sound sequencer (snd-seq-oss?) module to kernel, it would create that device and Fruit Ninja wouldn't complain i guess.

Anybody up to try? :)

tanrax 2012-10-21 15:18

Re: [Announce] apkenv (N900, N950, N9)
 
After seeing http://wiki.maemo.org/Apkenv/Game_Compatibility, someone has managed to run a game? XD

ibrakalifa 2012-10-21 15:20

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

Originally Posted by Aranel (Post 1283421)
I think it may be possible to run Fruit Ninja Free since it complains about a missing MIDI device. If we could insert a sound sequencer (snd-seq-oss?) module to kernel, it would create that device and Fruit Ninja wouldn't complain i guess.

Anybody up to try? :)

tell me how to then, :D

SolarisSixth 2012-10-21 15:27

Re: [Announce] apkenv (N900, N950, N9)
 
Alright, so I got it set up properly... I think... I haven't been able to actually run anything. But at least the correct error messages come up. That's an improvement.

Aranel 2012-10-21 15:32

Re: [Announce] apkenv (N900, N950, N9)
 
Do anybody know where the Fruit Ninja on Android stores it's savegames?

Aranel 2012-10-21 15:50

Re: [Announce] apkenv (N900, N950, N9)
 
Here's a little surprise(=a watermelon) for the community:
http://s15.postimage.org/cwimfanu1/20121021183904.png

Interested? Check Game Compatibility page :)

thedead1440 2012-10-21 15:56

Re: [Announce] apkenv (N900, N950, N9)
 
I got Seg fault for Fruit Ninja v1.5.4 :(

Not giving up though :p

myname24 2012-10-21 16:13

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

Originally Posted by Aranel (Post 1283439)
Here's a little surprise(=a watermelon) for the community:
http://s15.postimage.org/cwimfanu1/20121021183904.png

Interested? Check Game Compatibility page :)

how did you do it ?
There is nothing beside playable on the wiki page :p

Aranel 2012-10-21 16:24

Re: [Announce] apkenv (N900, N950, N9)
 
^ Look at the Version string, 1.5.4 works okay :)

seanmcken 2012-10-21 16:26

Re: [Announce] apkenv (N900, N950, N9)
 
/home/user/MyDocs # ./apkenv freesms.apk
apkenv: apkenv.c:45: main: Assertion `shlib != ((void *)0)' failed.
Aborted
/home/user/MyDocs #

wat does it mean?


All times are GMT. The time now is 02:48.

vBulletin® Version 3.8.8