**** BEGIN LOGGING AT Thu Jul 22 02:59:56 2010 Jul 22 07:16:53 Morning. Jul 22 07:18:51 hi guys Jul 22 07:18:56 I have a problem Jul 22 07:19:07 I'm running one of Serdar's dailys master Jul 22 07:19:24 and I copied the aof git source and compiled it Jul 22 07:19:35 according to google wiki Jul 22 07:20:00 and I don't seem to be able to run binaries generated in that tree Jul 22 07:20:03 for example: Jul 22 07:20:14 / # /sdcard/alsa_aplay Jul 22 07:20:14 reloc_library[1283]: 2381 cannot locate 'snd_pcm_hw_params_set_channels'...CANNOT LINK EXECUTABLE Jul 22 07:20:26 it's alsa_aplay copied from out/target/product/freerunner/system/bin/alsa_aplay Jul 22 07:20:34 what's the problem? Jul 22 07:21:06 /system/library/libasound.so is present Jul 22 07:21:14 also the binary works in cupcake daily Jul 22 07:45:47 is snd_pcm_hw_params_set_channels in libasound.so? Jul 22 07:45:56 should be Jul 22 07:46:05 I think I need to redownload the source Jul 22 07:46:09 I think I have cupcake source Jul 22 07:47:14 that might have changed Jul 22 07:47:26 wouldn't nm libasound.so show it? Jul 22 07:47:32 nm on android? Jul 22 07:47:45 oh... Jul 22 07:47:45 :D Jul 22 07:47:50 I'm not sure that's available Jul 22 11:54:07 Serdar, ping Jul 22 11:54:21 yes? Jul 22 11:54:26 i believe you are the one with the nightly builds? Jul 22 11:54:54 i want to modify the content of system.img Jul 22 11:55:05 managed to extract the content under linux Jul 22 11:56:00 want to modify and build another system.img of it Jul 22 11:56:04 will it work that way? Jul 22 11:56:18 mkfs.jffs2 --pad=0x700000 -o rootfs.jffs2 -e 0x20000 -n -d/tmp/jffsroot/ # for GTA02 Jul 22 11:56:25 is that the correct command to rebuild system.img? Jul 22 11:57:12 no idea, you could ask at #openmoko or #openmoko-cdevel this kind of questions. Jul 22 11:57:32 :/ how do you build those android builds? Jul 22 11:57:42 how is that system.img created? Jul 22 11:57:42 the buildsystem is doing this kind of stuff for us Jul 22 11:57:51 Makefile Jul 22 11:58:08 can i take a look at it? Jul 22 11:58:16 yes Jul 22 11:58:21 feel free to change it Jul 22 11:58:22 interested in the part making system.img Jul 22 11:58:38 any offense if i send you a pm? Jul 22 11:59:01 it is linked on our google page and also at the topic of this channel Jul 22 11:59:12 git: http://gitorious.org/android-on-freerunner Jul 22 13:03:24 Serdar, it works "partially" Jul 22 13:03:44 has anyone actually tried to add the google apps to freerunner android port? Jul 22 13:09:00 s0u][ight: it won't work Jul 22 13:09:16 Gabrys, why? Jul 22 13:09:24 they link to proprietary libs Jul 22 13:09:35 that are only present on official Google-branded devices Jul 22 13:09:54 well, i got a dev phone restore image with those files Jul 22 13:09:56 and there, they are compiled for armv5, so no chance to hack it around Jul 22 13:10:22 unless you steal source from Google, which you won't Jul 22 13:11:00 what cpu does freerunner have? Jul 22 13:11:47 armv4 Jul 22 13:12:13 Gabrys, afaik, .apk files are not cpu related, all the same Jul 22 13:12:16 s0u][ight: http://wiki.telefoninux.org/doku.php?id=guida:mettere_market_e_sync_su_android explains something like what you want Jul 22 13:12:22 it's in italian though, but pretty easy to follow Jul 22 13:12:30 it's not supported though Jul 22 13:12:50 s0u][ight: Google .apks rely on system libs that are not present in open source Android Jul 22 13:13:06 there are plenty of apks CPU dependend Jul 22 13:13:12 take any GPS navigation app Jul 22 13:13:49 so, i need the libs for armv4? Jul 22 13:14:09 yes Jul 22 13:14:24 and the libs are only available in binary form for armv5 devices Jul 22 13:14:25 which files are those? Jul 22 13:14:28 + it's illegal Jul 22 13:14:34 I can't tell Jul 22 13:15:21 I don't recall if there was clear message Jul 22 13:15:33 damn Jul 22 13:15:42 I have the same error as yesterday Jul 22 13:15:49 just compiled brand new android tree Jul 22 13:15:52 master Jul 22 13:16:12 and I can't run my app build in the three on the phone Jul 22 13:16:26 / # /sdcard/gta02-gsm-bt-fix Jul 22 13:16:26 reloc_library[1283]: 1117 cannot locate 'snd_strerror'...CANNOT LINK EXECUTABLE Jul 22 13:16:26 / # Jul 22 13:16:57 now what, the build is too old? Jul 22 13:27:26 I hate debugging problems on Android Jul 22 13:28:07 Gabrys, sorry for bothering again, but guys at iphonelinux made their own build of android (pure based on opensource android) and market works on that port Jul 22 13:28:10 with no additional libs Jul 22 13:28:34 s0u][ight: that's interesting Jul 22 13:28:57 on a chat with them aswell atm Jul 22 13:29:24 cool Jul 22 13:29:30 Gabrys, only needs 2 frameworks Jul 22 13:29:32 I wonder how they've managed the marketplace access Jul 22 13:29:44 and I wonder if they can sync with google calendar etc as well Jul 22 13:30:01 gtalkservice.xml and maps.xml Jul 22 13:30:10 com.google.android.* Jul 22 13:30:27 these are platform independant frameworks guys Jul 22 13:30:35 porting market i believe IS possible Jul 22 13:30:54 i know which files i need Jul 22 13:31:31 just need to add them in system/{etc/permissions,app,framework} Jul 22 13:31:48 you can try :-) Jul 22 13:32:01 I doubt it'll work though :-) Jul 22 13:32:16 Gabrys, well, i need a way to modify the content of system.img or any other file i can use to modify the system Jul 22 13:32:22 it does work Jul 22 13:32:31 read the url that i pasted a while ago Jul 22 13:32:43 mvzaanen, i'm not italian :P Jul 22 13:32:48 Serdar: those APKs for sure contain native code so they won't work on neo Jul 22 13:32:49 neither am I Jul 22 13:32:58 s0u][ight: those APKs for sure contain native code so they won't work on neo Jul 22 13:32:58 it's pretty easy to read though Jul 22 13:33:09 Serdar: you asked if latest froyo build works Jul 22 13:33:25 if you mean 0721 nightly build it won't start Jul 22 13:33:40 Gabrys, isn't it worth a try? Jul 22 13:33:45 you'll never know Jul 22 13:33:55 I tried installing those apps Jul 22 13:34:02 once Jul 22 13:34:04 just for checking Jul 22 13:34:21 Gabrys, it is not only "installing" them Jul 22 13:34:38 s0u][ight: try and share :-) Jul 22 13:35:09 well, my question, which file needs modifications (meaning contains the system folder) Jul 22 13:35:16 Serdar: the flashing ANDROID text blinks forever Jul 22 13:35:48 s0u][ight: I though it's mentioned at those italian site? Jul 22 13:36:01 need to read italian :( Jul 22 13:36:50 and i don't have adb installed Jul 22 13:38:38 mvzaanen, did you try that method? Jul 22 13:38:55 the method from the url? Jul 22 13:38:56 yes, that works Jul 22 13:39:06 I don't have marketplace access Jul 22 13:39:12 well, I have access but can't install anything Jul 22 13:39:18 why? Jul 22 13:39:32 I'm using an older release, but someone, I can't remember who helped me Jul 22 13:39:34 did have it working Jul 22 13:39:46 Hi . Try to find cupcakefull.tar.gz from issue7 http://code.google.com/p/android-on-freerunner/issues/detail?id=7&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary%20BuildVersion%20AndroidVersion%20Component Jul 22 13:40:19 Gabrys, when pushing pulling files, from which file does it get them? Jul 22 13:40:26 It has googe staff inserted Jul 22 13:41:00 s0u][ight: I'm not sure what you're asking for Jul 22 13:41:31 Gabrys, the files to install android on freerunner, one of those files has the system folder right? Jul 22 13:41:43 with the app folder, frameworks, etc... Jul 22 13:42:33 system.img Jul 22 13:42:43 :/ the hard file Jul 22 13:42:51 modifying that one is hard Jul 22 13:43:32 ok, what i already was able to do: read content from it under linux Jul 22 13:43:57 but you can't just modify the content, complains about size Jul 22 13:44:34 with mkfs.jffs2 you can create a new system.img file, but that needs more testing (from my part) Jul 22 13:48:10 what, the system.img file is first mounted rw and then ro (in init.rc) file Jul 22 13:49:23 you can build system.img from scratch Jul 22 13:49:26 I mean from sources Jul 22 13:49:29 it's not that hard Jul 22 13:49:41 and then you can add stuff to it while it builds Jul 22 13:49:58 0.o sounds interesting Jul 22 13:50:13 Gabrys, can you tell me what command is used to create that system.img? Jul 22 13:50:19 the exact command to create the image Jul 22 13:50:29 nope Jul 22 13:50:36 I do it with make Jul 22 13:51:00 I tried to find out but never found the exact command/options to mkjffs2 Jul 22 13:51:16 not in the Makefile? Jul 22 13:51:54 Android has Makefiles screwed up Jul 22 13:52:18 I don't like the whole developer/debugging part of Android Jul 22 13:52:27 somewhere it has to call for a script or whatever Jul 22 13:53:16 Gabrys, can i find those files in the git or main android source? Jul 22 13:53:39 android-on-freerunner's git Jul 22 13:53:49 i'm gonna give it a try Jul 22 13:54:13 I'm not sure you're going to succeed with master though Jul 22 13:54:22 it doesn't boot properly Jul 22 13:55:47 i have to git clone and look in the files on my own computer right? Jul 22 13:56:04 it's repo init or something like this Jul 22 13:56:14 I would suggest to work with cupcake Jul 22 13:56:21 i'm going to do so Jul 22 13:56:37 follow this: http://code.google.com/p/android-on-freerunner/wiki/BuildIt Jul 22 13:56:45 mvzaanen, maybe you should try marketupdater.ap Jul 22 13:56:47 apk Jul 22 14:00:35 Gabrys, what is the exact comment to get the cupcake tree? Jul 22 14:00:52 don't know, read the docs Jul 22 14:02:32 O Jul 22 14:02:34 I'll see Jul 22 14:02:43 I probably have to get a new image at some point anyway Jul 22 14:02:51 it woudl just be great if I could sync calendar Jul 22 14:03:24 Gabrys, i don't have much experiance with git Jul 22 14:03:36 repo init -u git://gitorious.org/android-on-freerunner/freerunner_platform_manifest.git -b cupcake doesn't do the trick for me Jul 22 14:03:46 have you read the related link? Jul 22 14:04:10 "In general the setup necessary to build Android-on-Freerunner is the same as for the main Android project. See the Get Android Source page" [...] Jul 22 14:04:21 One important difference: $ repo init -u git://gitorious.org/android-on-freerunner/freerunner_platform_manifest.git -b master Jul 22 14:04:32 you need to read the "Get Android Source page" Jul 22 14:04:32 yes that command is what i used Jul 22 14:04:37 aah :| Jul 22 14:04:38 and apply the difference to that document Jul 22 14:05:33 is someone willing to share his local source with me? Jul 22 14:06:18 i'm not interested in getting full source code of android Jul 22 14:08:13 Gabrys, gonna try something else Jul 22 14:14:02 Gabrys, i think i can directly read/write the system.img file :) Jul 22 16:26:38 Gabrys, froyo build from 21st does not work, right? Jul 22 16:27:16 ~serdar/daily master from 21st -- not sure if it's froyo -- doesn't work Jul 22 16:27:27 it is froyo Jul 22 16:27:30 hangs on flashing ANDROID logo Jul 22 16:27:36 in fact now hangs Jul 22 16:27:40 but stays there forever Jul 22 16:27:44 hmm Jul 22 16:27:55 with blanking to black from time to time Jul 22 16:28:00 and then flashing again Jul 22 16:28:28 hmm sounds familiar **** ENDING LOGGING AT Fri Jul 23 02:59:56 2010