![]() |
Re: ApkEnv support module development
Yes, my apk is pvz-test.apk
I tried the following pathes for data placement, none of them worked (all of them wrote "late-initializing errorcheck mutex" three times before "Segmentation fault") /home/user/.apkenv/pvz-test.apk/com.popcap.pvz_na/files/ /home/user/.apkenv/pvz-test.apk/com.popcap.pvz/files/ /home/user/.apkenv/pvz-test.apk/files/ /home/user/.apkenv/pvz-test.apk/ after the last / all the folders contained: music, userdata, video, AssetInfo.indicate, Downloaded.indicate, Downloaded2.indicate, PvZ.dz. Am I doing something wrong? EDIT: We can just dump the whole thing if I got too annoying :) |
Re: ApkEnv support module development
Quote:
you might need to unpack PvZ.dz |
Re: ApkEnv support module development
Quote:
you can always donate on my N64 thread, but i cannot guarantee that this'll ever be usable... i've made some progress though, i've hooked a few methods in the dalvikvm to be more flexible, i've even been able to use the android package parser to get information out of an apk file, and i've been able initiate the launch process of an activity (ActivityThread, performActivityLaunch...) the next thing i need to fiddle with is surfaceflinger to get a window which the activity can render into EDIT: binder is very annoying, don't know what i should do with that. i found some android sources: https://android.googlesource.com/ker...taging/android EDIT: does anyone know where i can find the exact sources nitroid alpha 4 for n9 is based on? |
Re: ApkEnv support module development
this just happened (java code trying to load a library):
Trying to load lib /home/user/apkenv/libdstfree.so 0x3b99b718 linker/linker.c:716| WARNING: `/home/user/apkenv/libdstfree.so` is not a prelinked library 0 mapped library 'libdstfree.so' to 40d15000 via kernel allocator. Added shared lib /home/user/apkenv/libdstfree.so 0x3b99b718 but it's still crashing shortly afterwards ;), but there is at least a little bit of hope :) |
Re: ApkEnv support module development
liar, NITDroid is based on patched-AOSP sources i think. Maybe you may ask e-yes aka drunkdebugger here, in NITDroid forums or via twitter for tecnical information.
|
Re: ApkEnv support module development
i fear for now there is no way around binder. so either we have to stick with openmode or inception to get this going until we have some sort of userspace replacement for binder.
i've been able to "insmod" an adapted version of binder and it seems like it might work but i am still experimenting |
Re: ApkEnv support module development
Quote:
|
Re: ApkEnv support module development
Quote:
with that it should be possible to launch zygote & system server and ultimatively launch activities without too much effort i think EDIT: the kernel module seems to be working fine. but i couldn't figure out why system-server is crashing |
Re: ApkEnv support module development
Quote:
The only other problem I see is that Android accesses /dev/fbX directly (similar for input events, etc..), whereas if we run it inside Harmattan, we probably want to redirect everything into a window. There's some work in this direction in the ParallelDroid project, maybe some things can be re-used from there. |
Re: ApkEnv support module development
Quote:
http://pastebin.com/y3v3cwkP http://pastebin.com/UjAa6jF1 http://pastebin.com/8hDzTJFL EDIT: i've been able to patch up surfaceflinger such that instead of accessing the hardware a X11 window is created and it uses that together with egl to draw to the screen but the binder module fails, so i'm probably gonna try the nitdroid kernel next |
All times are GMT. The time now is 16:15. |
vBulletin® Version 3.8.8