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)

Kozzi 2013-07-12 17:38

@kukuh7

I don't think the install process went well, WoG should have default icon image. I rather see screenshots of the terminal when you used the command instead.
In Terminal
rm .local/share/applications/wofgoo.apk.desktop
To remove the icon and then type the install command I posted above, take screenshot and post here.

kukuh7 2013-07-13 09:15

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

I've typed rm /home/user/.local/share/applications/wofgoo.apk.desktop, after that I typed apkenv --install /home/user/MyDocs/Apkenv/wofgoo.apk. but on the desktop remains the same picture appears as my post above. what steps am I doing wrong?

Garp 2013-07-13 10:37

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

Originally Posted by kukuh7 (Post 1358595)
@Kozzi

I've typed rm /home/user/.local/share/applications/wofgoo.apk.desktop, after that I typed apkenv --install /home/user/MyDocs/Apkenv/wofgoo.apk. but on the desktop remains the same picture appears as my post above. what steps am I doing wrong?

Maybe this can help, it did to me at least:
1) removed apkenv-qml 0.2.1
2) using coderus repo installing apkenv (42.3.15)
3) downloaded android games to /home/user/MyDocs/apkenv and changed their names due to
http://talk.maemo.org/showthread.php?t=80600 Full Explanation E
(OBS! only ab seasons 2.5.0 worked for me)
4) N9QTweak E7/ install all games
5) all games seems to work and with sound (will be full scale tested by my grandchildren next weekend!;)) fullscale tested and worked!:)

kukuh7 2013-07-13 13:19

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

Originally Posted by Garp (Post 1358612)
Maybe this can help, it did to me at least:
1) removed apkenv-qml 0.2.1
2) using coderus repo installing apkenv (42.3.15)
3) downloaded android games to /home/user/MyDocs/apkenv and changed their names due to
http://talk.maemo.org/showthread.php?t=80600 Full Explanation E
(OBS! only ab seasons 2.5.0 worked for me)
4) N9QTweak E7/ install all games
5) all games seems to work and with sound (will be full scale tested by my grandchildren next weekend!;))

I have followed your tutorial, but world of goo can't work.

Kozzi 2013-07-13 17:22

@kukuh
Screenshot of the terminal after you inserted the command please. Does the game work if you launch it using Terminal?
apkenv /path/to/game.apk

@Garp is the one in coderus repo the latest?

kukuh7 2013-07-14 15:35

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

Originally Posted by Kozzi (Post 1358682)
@kukuh
Screenshot of the terminal after you inserted the command please. Does the game work if you launch it using Terminal?
apkenv /path/to/game.apk

@Garp is the one in coderus repo the latest?

This is a screenshot of my terminal after I type apkenv /home/user/MyDocs/Apkenv/wofgoo.apk

http://img4.imageshack.us/img4/2263/svr.png

and in a screenshot from my multitasking, that the game works very well. But when I type apkenv --install /home/user/MyDocs/Apkenv/wofgoo.apk, games can be installed. however, the icon on the desktop still green, as I share the previous screenshot.

http://img221.imageshack.us/img221/8430/7bj.png

Kozzi 2013-07-14 16:26

@kukuh7
Do you use root access by any chance to create icons and play games?

Garp 2013-07-14 18:04

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

Originally Posted by Kozzi (Post 1358682)
@kukuh


@Garp is the one in coderus repo the latest?

As mentioned I use version 42.3.15, and I don't know if that's the latest? :)

@kukuh7 why is your icons green, it shouldn't be!

kukuh7 2013-07-15 09:43

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

yes, i'm using root access

Kozzi 2013-07-15 09:55

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

Originally Posted by kukuh7 (Post 1359078)
@Kozzi

yes, i'm using root access

@kukuh7
If I understand correctly "apkenv --install" uses the /home/user/.local/share/applications/ folder to put game icons and this is owned by user. If your apkenv requires root access then launching those icons would just result in missing permission (or such) because tapping on an icon means launching it as an user. You could try to backup save files (ie. renaming .apkenv folder to .apkenv_backup) and then without root access , launch and install games, copy saves files inside .apkenv_backup back once you succeed to play/launch games. Btw you could also use this version compiled by myname24 here.

kukuh7 2013-07-15 11:43

Re: [Announce] apkenv (N900, N950, N9)
 
now, I've successfully installed world of goo using qtweaks. and now I want to ask again, how to run plants vs zombies in N9?

Alecsandru 2013-07-18 15:33

Re: [Announce] apkenv (N900, N950, N9)
 
what about copying all libs from nitdroid? someone tried that already?

thewall 2013-07-19 15:44

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

I have tried like around 20apk files, the same versions which all of you tried and succeeded...i still get the "not a native .apk" error.
any help on this??

Alecsandru 2013-07-19 17:17

Re: [Announce] apkenv (N900, N950, N9)
 
copy files inside bionic and modules folder in the same folder with your .apk files .and apkenv binari to usr/bin

tanrax 2013-07-23 23:15

Re: [Announce] apkenv (N900, N950, N9)
 
Has anyone tried Line?

nice_2000 2013-07-26 09:20

Re: [Announce] apkenv (N900, N950, N9)
 
I can't compile this: :confused:
Code:

FREMANTLE=1 DEBUG=0 CC=gcc make
I've added "-Llibs" to LDFLAGS.
Output:
Code:

Using built-in specs.
COLLECT_GCC=gcc
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.1-maemo6' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.6.1 (Debian 4.6.1-maemo6)
COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabi/4.6.1/:/usr/lib/gcc/arm-linux-gnueabi/4.6.1/:/usr/lib/gcc/arm-linux-gnueabi/:/usr/lib/gcc/arm-linux-gnueabi/4.6.1/:/usr/lib/gcc/arm-linux-gnueabi/
LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabi/4.6.1/:/usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../://lib/://usr/lib/
COLLECT_GCC_OPTIONS='-Wl' '-v' '-fPIC' '-Llibs' '-pthread' '-o' 'apkenv'
 ld --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -dynamic-linker /lib/ld-linux.so.3 -X --hash-style=both -m armelf_linux_eabi -o apkenv //usr/lib/crt1.o //usr/lib/crti.o /usr/lib/gcc/arm-linux-gnueabi/4.6.1/crtbegin.o -Llibs -L/usr/lib/gcc/arm-linux-gnueabi/4.6.1 -L/usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../.. -L//lib -L//usr/lib -ldl -lz -lSDL -lSDL_mixer -lpng -ljpeg -lGLES_CM -lGLESv2 -lEGL -lSDL_gles apkenv.o linker/dlfcn.o linker/linker.o linker/linker_environ.o linker/rt.o linker/strlcpy.o compat/egl_wrappers.o compat/gles2_wrappers.o compat/gles_wrappers.o compat/hooks.o compat/libc_wrappers.o compat/liblog_wrappers.o compat/pthread_wrappers.o apklib/apklib.o apklib/ioapi.o apklib/ioapi_mem.o apklib/unzip.o jni/jnienv.o jni/shlib.o imagelib/loadjpeg.o imagelib/loadpng.o debug/debug.o n9xx/platform.o -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabi/4.6.1/crtend.o //usr/lib/crtn.o
libs/libc.so: warning: the use of `pthread_attr_setstackaddr' is deprecated, use `pthread_attr_setstack'
libs/libc.so: warning: the use of `pthread_attr_getstackaddr' is deprecated, use `pthread_attr_getstack'
ld: compat/libc_wrappers.o: undefined reference to symbol '_IO_putc@@GLIBC_2.4'
ld: note: '_IO_putc@@GLIBC_2.4' is defined in DSO /lib/libc.so.6 so try adding it to the linker command line
/lib/libc.so.6: could not read symbols: Invalid operation
make: *** [apkenv] Error 1


Kozzi 2013-07-26 09:29

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

Originally Posted by kukuh7 (Post 1359098)
now, I've successfully installed world of goo using qtweaks. and now I want to ask again, how to run plants vs zombies in N9?

You need the latest version, try the one by myname24

Quote:

Originally Posted by Alecsandru (Post 1359877)
what about copying all libs from nitdroid? someone tried that already?

No help, a module (for each game) is needed to be created for apkenv to understand how to use those libs.

Quote:

Originally Posted by thewall (Post 1360145)
Hi all,

I have tried like around 20apk files, the same versions which all of you tried and succeeded...i still get the "not a native .apk" error.
any help on this??

The version of your apkenv? downloaded where,when?

Quote:

Originally Posted by tanrax (Post 1361549)
Has anyone tried Line?

This is explained before but once again, no apps work.

Quote:

Originally Posted by nice_2000 (Post 1362219)
I can't compile this: :confused:
...

Try this thread: http://talk.maemo.org/showthread.php?t=88250

Addoozz 2013-08-04 10:05

A game called shadowarc is ported to android, can apkenv run it?

coderus 2013-08-04 11:01

Re: [Announce] apkenv (N900, N950, N9)
 
@Addoozz hello! I see you new to this thread. Please start getting knowledge about apkenv from reading, not asking.

Sohil876 2013-08-07 19:08

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

Originally Posted by amr.fayz (Post 1353205)
version for N900

http://www.mediafire.com/download/c6...ayz%282%29.rar

Super Hexagon Working And all the previous games but

Sonic4.apk give

HTML Code:

linker/linker.c:1155| ERROR: Library 'libhgl.so' not found
signal 11 (Segmentation fault), address is (nil) from 0x41971860


i put libhgl.so and loading it


HTML Code:

LD_PRELOAD=/apkenv/bionic/libhgl.so apkenv Sonic4.apk
and give

HTML Code:

apkenv: error while loading shared libraries: libcutils.so: cannot open shared object file: No such file or directory

add libcutils.so and try again and give

HTML Code:

undefined symbol: dl_unwind_find_exidx

Angry Birds Friends give

HTML Code:

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

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


i put libAngryBirdsFriends.so and run

HTML Code:

LD_PRELOAD=/apkenv/bionic/libAngryBirdsFriends.so apkenv /apkenv/App/AngryBirdsFriends.apk

give the same

HTML Code:

undefined symbol: dl_unwind_find_exidx

What is the solution to this problem is it from sdl or libc.so ?


.........


http://forums.libsdl.org/viewtopic.p...1302b98cca6a53


http://warpedtimes.wordpress.com/cat...id-technology/

Thanks for the n900 version, but can you also please specify which file and folder goes where, where should i put your binary/modules/bionic libs, which folder i need to create and chmod... Sorry but this thread has become too big to read all pages and the wiki seems outdated so i thought why not ask someone who got it right :)

EDIT:- Okay i got it working after trying it for sometime, so now the question is can i put this binary to/usr/bin/ without copying modules and bionics to that folder?

Gizamkd 2013-08-11 02:47

Re: [Announce] apkenv (N900, N950, N9)
 
Can be ported Temple run ?

Arsenalter 2013-08-29 12:07

Re: [Announce] apkenv (N900, N950, N9)
 
still no updates?

Just486 2013-08-30 22:26

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

Originally Posted by Arsenalter (Post 1370381)
still no updates?

There were some in the past few days, including: 'unlink libraries on exit' + a version bump to 42.3.17 and "Fixed input to use correct action numbers" for the module named marmalade which is for PvZ & Sonic. (maybe kinetic scrolling now works in pvz? - no idea)

Pysyren 2013-09-09 02:05

Re: [Announce] apkenv (N900, N950, N9)
 
How to install game.apk for N900,http://www.mediafire.com/download/c6...ayz%282%29.rar
I download file in link,extract but i dont know how to use it help I , thank you

amr.fayz 2013-09-09 14:33

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

Originally Posted by Pysyren (Post 1373017)
How to install game.apk for N900,http://www.mediafire.com/download/c6...ayz%282%29.rar
I download file in link,extract but i dont know how to use it help I , thank you


you unrar the file and put apkenv on opt and copy apkenv on apkenv/bin to usr/bin


That's all and When you want to run games like Plants.Vs.Zombies For example Just put Plants.Vs.Zombies.apk on App Where App on /opt/apkenv/App/

then you unrar Plants.Vs.Zombies date file and copy the file in com.popcap.pvz_na\files to home/user/.apkenv/Plants.Vs.Zombies.apk/

then run the game by make icon or by code like this

HTML Code:

Apkenv /opt/apkenv/App/Plants.Vs.Zombies.apk

Pysyren 2013-09-09 15:07

Re: [Announce] apkenv (N900, N950, N9)
 
I dont find folder .apkenv,and run code fail
apkenv permission denied

amr.fayz 2013-09-09 15:34

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

Originally Posted by Pysyren (Post 1373136)
I dont find folder .apkenv,and run code fail
apkenv permission denied



ok run this

HTML Code:

root
chmod +x /usr/bin/apkenv
chmod 775 /usr/bin/apkenv


and .apkenv on home/user/ it will Generation When you run the program

szymeczek34 2013-09-09 16:07

Re: [Announce] apkenv (N900, N950, N9)
 
Is there any way to run sygic via apkenv?

Pysyren 2013-09-09 16:36

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

Originally Posted by amr.fayz (Post 1373143)
ok run this

HTML Code:

root
chmod +x /usr/bin/apkenv
chmod 775 /usr/bin/apkenv


and .apkenv on home/user/ it will Generation When you run the program

I run it but Screen is black,i run game plane and zombie
link apk : http://www.data-apk.com/goes/togo.ph...9maWxlLmh0bWw=
link data : http://www.data-apk.com/goes/togo.ph...ZpbGUuaHRtbA==

amr.fayz 2013-09-09 16:45

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

Originally Posted by szymeczek34 (Post 1373149)
Is there any way to run sygic via apkenv?

sygic run on maemo to run sygic via apkenv i think no

amr.fayz 2013-09-09 16:47

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

Originally Posted by Pysyren (Post 1373159)
I run it but Screen is black,i run game plane and zombie
link apk : http://www.data-apk.com/goes/togo.ph...9maWxlLmh0bWw=
link data : http://www.data-apk.com/goes/togo.ph...ZpbGUuaHRtbA==





Let's make sure that the program works try That Rabbit Game 2

http://thp.io/2011/trg2/


then put apk file on /opt/apkenv/App/ and run


HTML Code:

Apkenv /opt/apkenv/App/io.thp.trg2.android-1.apk

Pysyren 2013-09-10 04:06

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

Originally Posted by amr.fayz (Post 1373163)
Let's make sure that the program works try That Rabbit Game 2

http://thp.io/2011/trg2/


then put apk file on /opt/apkenv/App/ and run


HTML Code:

Apkenv /opt/apkenv/App/io.thp.trg2.android-1.apk

ok i run game PVZ but i cant save and I cant create desktop icon for game

Pysyren 2013-09-14 05:24

Re: [Announce] apkenv (N900, N950, N9)
 
I cant create icon game in desktop,amr.fayz ,can you help me ?

Alexxxl 2013-09-20 00:06

Re: [Announce] apkenv (N900, N950, N9)
 
How to install Plants.Vs.Zombies.apk for N9?

Just486 2013-09-20 19:08

Re: [Announce] apkenv (N900, N950, N9)
 
1, rename/move generic.apkenv.so in /opt/apkenv/modules
2, copy "files" folder from downloaded pvz data folder into home/user/.apkenv/pvzapkname.apk folder.
3, treat the apk as usual.
4, launch from terminal or feel free to create a desktop icon.

Alexxxl 2013-09-20 22:51

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

Originally Posted by Just486 (Post 1375712)
1, rename/move generic.apkenv.so in /opt/apkenv/modules
2, copy "files" folder from downloaded pvz data folder into home/user/.apkenv/pvzapkname.apk folder.
3, treat the apk as usual.
4, launch from terminal or feel free to create a desktop icon.

Thank you! works!

Alexxxl 2013-09-22 10:29

Re: [Announce] apkenv (N900, N950, N9)
 
Friends, what about saves for PvsZ?

Ta76eem 2013-09-28 16:25

Re: [Announce] apkenv (N900, N950, N9)
 
so what happened to this project , died ? ... killed ? ... stopped ?

Akkumaru 2013-09-28 23:12

we're waiting for liar to finish his exams :p unless someone else helps and steps in?

Ta76eem 2013-09-30 12:40

Re: [Announce] apkenv (N900, N950, N9)
 
what about thp ???


All times are GMT. The time now is 23:28.

vBulletin® Version 3.8.8