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)

coderus 2012-12-31 12:29

Re: [Announce] apkenv (N900, N950, N9)
 
because amazing alex using angry birds engine and made by rovio too ;D

farfary 2012-12-31 12:39

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

Originally Posted by amr.fayz (Post 1309395)
Because the game Amazing Alex & Amazing Alex HD works without Any modules I test only Maybe I find the game works

Is it possible to Explained in detail in order to allow the largest number of users to try it how to compiles file.c into .So to make modules i use gcc file.c & g++ file.c in worldofgoo.source But there are mistakes

What is the way to make XXX.apkenv.so


I read this

http://www3.ntu.edu.sg/home/ehchua/p.../gcc_make.html

but I need a A practical example

write your modules *.c and put these in apkenv ( source ) /modules/ dir . and try make apkenv , all .c file in modules dir is compiled

amr.fayz 2013-01-01 09:56

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

Originally Posted by farfary (Post 1309407)
write your modules *.c and put these in apkenv ( source ) /modules/ dir . and try make apkenv , all .c file in modules dir is compiled

Thank you the file is Existing, but got mis Is there a solution

HTML Code:

FREMANTLE=1 make
        CC        apkenv.o
apkenv.c: In function ‘apk_basename’:
apkenv.c:193: warning: return discards qualifiers from pointer target type
        CC        linker/dlfcn.o
        CC        linker/linker.o
        CC        linker/linker_environ.o
        CC        linker/linker_format.o
        CC        linker/rt.o
        CC        linker/strlcpy.o
        CC        compat/gles2_wrappers.o
        CC        compat/gles_wrappers.o
        CC        compat/hooks.o
        CC        compat/libc_wrappers.o
        CC        compat/liblog_wrappers.o
        CC        compat/pthread_wrappers.o
        CC        apklib/apklib.o
        CC        apklib/ioapi.o
        CC        apklib/ioapi_mem.o
        CC        apklib/unzip.o
        CC        jni/jnienv.o
        CC        jni/shlib.o
        LINK        apkenv
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        angrybirds.apkenv.so
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        Apparatus.apkenv.so
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        cuttherope.apkenv.so
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        fruitninja.apkenv.so
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        generic.apkenv.so
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        iStunt2.apkenv.so
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        tapsonic.apkenv.so
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        trg2.apkenv.so
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
        MOD        worldofgoo.apkenv.so
modules/worldofgoo.c: In function ‘worldofgoo_update’:
modules/worldofgoo.c:250: warning: initialization makes pointer from integer without a cast
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/usr/bin/ld: Warning: /usr/lib/gcc/arm-linux-gnueabi/4.2.1/libgcc_s.so: Unknown EABI object attribute 34
/home/user/MyDocs/amr/Games/apkenv-made/apkenv-master/apkenv



For instance i try iStunt2.apk Given black screen and Loaded module For a long time Although I worked file iStunt2.apkenv.so

Is this because of the mis Previous ؟؟


I tried other way Gave another mis

HTML Code:


apkamr /opt/apkenv/bionic/iStunt2.apk

*** glibc detected *** apkamr: munmap_chunk(): invalid pointer: 0x00072058 ***
======= Backtrace: =========
/lib/libc.so.6[0x4024723c]
/lib/libc.so.6[0x40248090]
/lib/libc.so.6(realloc+0x1c4)[0x4024b16c]
[0x41eb1518]
apkamr(tan+0x1e14)[0xddf8]
apkamr(tan+0x193c)[0xd920]
apkamr(fputs+0x204)[0xc3b0]
/lib/libc.so.6(__libc_start_main+0x108)[0x401f3974]
apkamr(ldexp+0x38)[0xc1f0]
======= Memory map: ========
00008000-0001a000 r-xp 00000000 fe:01 61989      /usr/bin/apkamr
00022000-00023000 rw-p 00012000 fe:01 61989      /usr/bin/apkamr
00023000-00073000 rw-p 00023000 00:00 0          [heap]
40000000-4001c000 r-xp 00000000 fe:01 34608      /lib/ld-2.5.so
4001c000-40023000 rw-p 4001c000 00:00 0
40023000-40025000 rw-p 0001b000 fe:01 34608      /lib/ld-2.5.so
40025000-40027000 rw-p 40025000 00:00 0
40027000-40029000 r-xp 00000000 b3:02 295087    /opt/meecolay/lib/libXau.so.6.0.0
40029000-40030000 ---p 00002000 b3:02 295087    /opt/meecolay/lib/libXau.so.6.0.0
40030000-40031000 rw-p 00001000 b3:02 295087    /opt/meecolay/lib/libXau.so.6.0.0
40031000-40032000 rw-p 40031000 00:00 0
40032000-40033000 r--p 01451000 b3:02 9845            /dev/pvrsrvkm
40034000-40037000 r--s 00000000 fe:01 35257      /usr/lib/gconv/gconv-modules.cache
40037000-40039000 r-xp 00000000 fe:01 34605      /lib/libdl-2.5.so
40039000-40040000 ---p 00002000 fe:01 34605      /lib/libdl-2.5.so
40040000-40041000 r--p 00001000 fe:01 34605      /lib/libdl-2.5.so
40041000-40042000 rw-p 00002000 fe:01 34605      /lib/libdl-2.5.so
40042000-40052000 r-xp 00000000 fe:01 12841      /usr/lib/libz.so.1.2.3
40052000-40059000 ---p 00010000 fe:01 12841      /usr/lib/libz.so.1.2.3
40059000-4005a000 rw-p 0000f000 fe:01 12841      /usr/lib/libz.so.1.2.3
4005a000-400bd000 r-xp 00000000 fe:01 38784      /usr/lib/libGLES_CM.so
400bd000-400c4000 ---p 00063000 fe:01 38784      /usr/lib/libGLES_CM.so
400c4000-400c5000 rw-p 00062000 fe:01 38784      /usr/lib/libGLES_CM.so
400c5000-40114000 r-xp 00000000 fe:01 11625      /usr/lib/libSDL-1.2.so.0.11.1
40114000-4011c000 ---p 0004f000 fe:01 11625      /usr/lib/libSDL-1.2.so.0.11.1
4011c000-4011e000 rw-p 0004f000 fe:01 11625      /usr/lib/libSDL-1.2.so.0.11.1
4011e000-40125000 rw-p 4011e000 00:00 0
40125000-4015b000 r-xp 00000000 fe:01 71019      /usr/lib/libSDL_mixer-1.2.so.0.2.4
4015b000-40162000 ---p 00036000 fe:01 71019      /usr/lib/libSDL_mixer-1.2.so.0.2.4
40162000-4016b000 rw-p 00035000 fe:01 71019      /usr/lib/libSDL_mixer-1.2.so.0.2.4
4016b000-4018f000 rw-p 4016b000 00:00 0
4018f000-40191000 r-xp 00000000 b3:02 262174    /opt/maemo/usr/lib/libSDL_gles-1.2.so.0.0.1
40191000-40198000 ---p 00002000 b3:02 262174    /opt/maemo/usr/lib/libSDL_gles-1.2.so.0.0.1
40198000-40199000 rw-p 00001000 b3:02 262174    /opt/maemo/usr/lib/libSDL_gles-1.2.so.0.0.1
40199000-401b6000 r-xp 00000000 fe:01 21429      /lib/libgcc_s.so.1
401b6000-401be000 ---p 0001d000 fe:01 21429      /lib/libgcc_s.so.1
401be000-401bf000 rw-p 0001d000 fe:01 21429      /lib/libgcc_s.so.1
401bf000-401d4000 r-xp 00000000 fe:01 34593      /lib/libpthread-2.5.so
401d4000-401db000 ---p 00015000 fe:01 34593      /lib/libpthread-2.5.so
401db000-401dc000 r--p 00014000 fe:01 34593      /lib/libpthread-2.5.so
401dc000-401dd000 rw-p 00015000 fe:01 34593      /lib/libpthread-2.5.so
401dd000-401df000 rw-p 401dd000 00:00 0
401df000-402f6000 r-xp 00000000 fe:01 34590      /lib/libc-2.5.so
402f6000-402fe000 ---p 00117000 fe:01 34590      /lib/libc-2.5.so
402fe000-402ff000 r--p 00117000 fe:01 34590      /lib/libc-2.5.so
402ff000-40301000 rw-p 00118000 fe:01 34590      /lib/libc-2.5.so
40301000-40304000 rw-p 40301000 00:00 0
40304000-40371000 r-xp 00000000 fe:01 34609      /lib/libm-2.5.so
40371000-40378000 ---p 0006d000 fe:01 34609      /lib/libm-2.5.so
40378000-40379000 r--p 0006c000 fe:01 34609      /lib/libm-2.5.so
40379000-4037a000 rw-p 0006d000 fe:01 34609      /lib/libm-2.5.so
4037a000-40386000 r-xp 00000000 fe:01 47610      /usr/lib/libIMGegl.so
40386000-4038d000 ---p 0000c000 fe:01 47610      /usr/lib/libIMGegl.so
4038d000-4038e000 rw-p 0000b000 fe:01 47610      /usr/lib/libIMGegl.so
4038e000-403a1000 r-xp 00000000 fe:01 47619      /usr/lib/libsrv_um.so
403a1000-403a9000 ---p 00013000 fe:01 47619      /usr/lib/libsrv_um.so
403a9000-403aa000 rw-p 00013000 fe:01 47619      /usr/lib/Aborted


thp 2013-01-05 00:31

Re: [Announce] apkenv (N900, N950, N9)
 
If anybody wants to work on reading metadata from apk files, there's some code in that repository that can decode the manifest and read out the icon filename and application name. This can be useful for creating an icon launcher for an .apk file. Here's the repository:

https://github.com/QKit/apk-manager/...source/Android

coderus 2013-01-05 07:18

Re: [Announce] apkenv (N900, N950, N9)
 
QKit is our russian friend Kirik, he made apkenv-qml app for making apk launchers :D

natko_maniac 2013-01-05 15:08

Re: [Announce] apkenv (N900, N950, N9)
 
can someone upload apkenv.fremantle.2012-10-21 binary for freemantel n900? its not available anymore...

lorenzo 2013-01-05 15:51

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

Originally Posted by natko_maniac (Post 1311149)
can someone upload apkenv.fremantle.2012-10-21 binary for freemantel n900? its not available anymore...

The old binaries are outdated and should not be used anymore. [thp]

edit: upgrade to n9qt 9.5.6 tweak e8

lorenzo 2013-01-06 10:52

Re: [Announce] apkenv (N900, N950, N9)
 
with the new version (from n9qt) ab space (1.3) and season (2.5) doesn't work [lauching from desktop icon]
any suggestion?

edit: they works from terminal

natko_maniac 2013-01-06 11:44

Re: [Announce] apkenv (N900, N950, N9)
 
I dont have an N9. I have an N900... so N9QT wont work for me... how to install the binaries? i have installed apkenvqml app.. help please!:confused:

lorenzo 2013-01-07 20:25

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

Originally Posted by natko_maniac (Post 1311461)
I dont have an N9. I have an N900... so N9QT wont work for me... how to install the binaries? i have installed apkenvqml app.. help please!:confused:

here you have http://talk.maemo.org/showpost.php?p...8&postcount=65
NB cut the rope don't work although there is the library


All times are GMT. The time now is 18:54.

vBulletin® Version 3.8.8