**** BEGIN LOGGING AT Thu Aug 30 03:00:01 2012 Aug 30 10:41:06 GNUtoo, I know how to get src now, but how to compile it ,I have download android's prebuit binary Aug 30 10:41:30 make Aug 30 10:41:33 hi Aug 30 10:49:31 ayaka, basically run the commands I told you to run yesterday and it should compile Aug 30 10:49:43 there were the following comands: Aug 30 10:49:51 . build/envsetup.sh Aug 30 10:49:55 GNUtoo, yes I do it, wait, I paste log Aug 30 10:49:58 lunch .... Aug 30 10:50:27 make recoverysomething Aug 30 10:50:33 I don't remember for the last command Aug 30 10:50:36 let me grep Aug 30 10:51:08 make recoveryimage Aug 30 10:55:18 SHR: 03Martin.Jansa 07shr-chroot * r68d60a01a2c4 10/ (321 files in 37 dirs): system upgrade Aug 30 10:57:26 http://paste.debian.net/186576/ Aug 30 10:58:24 btw, can you give me a new guide about making cross toolchain, kernel 2.4 time is much different from now Aug 30 11:01:41 ? Aug 30 11:01:51 where do you have a 2.4 kernel? Aug 30 11:02:12 ayaka, you lack dependencies Aug 30 11:02:24 look in cyanogenmod building pages or replicant building pages Aug 30 11:02:47 http://redmine.replicant.us/projects/replicant/wiki/BuildDependencies Aug 30 11:02:56 basically you're on 64bit Aug 30 11:03:04 and you lack the 32bit libraries Aug 30 11:03:15 like ia32libs etc... Aug 30 11:03:29 GNUtoo, no, I need 3.x guide Aug 30 11:03:39 ? Aug 30 11:03:40 but all guide I got is for 2.4 Aug 30 11:06:18 ayaka, you wanna build the toolchain? Aug 30 11:06:40 paulk-desktop, yep Aug 30 11:06:56 do you also want android to produce 64b binaries? Aug 30 11:07:09 (the host binaries like adb, fastboot, emulator, etc) Aug 30 11:07:15 paulk-desktop, no need, android is just pass by Aug 30 11:07:19 okay Aug 30 11:07:25 so I did all that for Android 2.2 once Aug 30 11:07:31 paulk-desktop, he just need to build recovery Aug 30 11:07:42 the guide for building new gcc ,glibc , I only know how to in 2.4 time Aug 30 11:07:49 ayaka, frankly, it's much easier to go with the prebuilt Aug 30 11:07:52 so I've no idea why he wants to build the toolchain Aug 30 11:07:54 and install 32b compat libs Aug 30 11:07:58 because there is prebuilt stuff Aug 30 11:08:22 ayaka, if you _really_ want to do it, I could help Aug 30 11:08:38 I am still using the Sourcery G++ lite 4.4, and I need to learn Aug 30 11:09:05 paulk-desktop, thank you very much, I have built binutils , but stop in boot-gcc Aug 30 11:10:37 now I am building recoveryimage Aug 30 11:10:52 heyho everybody Aug 30 11:10:58 hi morphis Aug 30 11:11:01 I've pushed the fix Aug 30 11:11:02 I would advise you to use the prebuilt and to investigate aside how to rebuild the toolchain Aug 30 11:11:03 paulk-desktop: you did once ago a modem reset via libsamsung-ipc? Aug 30 11:11:06 GNUtoo: great Aug 30 11:11:11 but I need to fix scenarios Aug 30 11:11:19 I've also a fix for ln -s herring crespo Aug 30 11:11:33 paulk-desktop, we don't have and need linux kernel header's asm-arm anymore in 3.x time? Aug 30 11:11:34 I need to test it tough Aug 30 11:11:34 morphis, what do you mean exactly? Aug 30 11:11:54 ayaka, I dunno but I don't think so Aug 30 11:12:04 paulk-desktop: I mean an modem reset via the IPC protocol not via power off/on+bootstrap Aug 30 11:12:30 ayaka, though the Android open source project has guides on how to rebuild the toolchain, also look at the Android NDK source Aug 30 11:12:31 paulk-desktop, but I don't find it in kernel src Aug 30 11:12:46 paulk-desktop: as there is a IPC_PWR_PHONE_RESET message type Aug 30 11:12:56 morphis, no I didn't ever do that IMO Aug 30 11:13:00 ok Aug 30 11:14:55 oh my godness, it is building the kernel Aug 30 11:32:39 GNUtoo, it done, but shall I use my kernel or just use its whole image Aug 30 11:32:57 wait for the whole recovery image Aug 30 11:33:10 GNUtoo, yes it done Aug 30 11:33:33 then do that: Aug 30 11:33:36 the whole recovery image has an kernel itself Aug 30 11:33:41 fastboot recovery.img Aug 30 11:33:43 yes Aug 30 11:36:04 morphis, for crespo we need to play a sound for changing the settings in alsamixer Aug 30 11:36:07 or to record.... Aug 30 11:36:13 how do we handle that? Aug 30 11:36:22 it seems that it doesn't work Aug 30 11:36:36 ayaka, what did you do exactly? Aug 30 11:37:13 GNUtoo: we had this once ago Aug 30 11:37:26 and I fixed the kernel and added a plugin to fsodeviced for this Aug 30 11:37:28 yes we have it again Aug 30 11:37:31 ok Aug 30 11:37:41 the plugin is not activated then Aug 30 11:37:44 I'll look Aug 30 11:38:02 what I mean is the following: Aug 30 11:38:05 all controls are off Aug 30 11:38:08 and when they're off Aug 30 11:38:11 they can't be moved Aug 30 11:38:16 unless you play something Aug 30 11:38:24 GNUtoo: there is the "Codec Lock" switch Aug 30 11:38:34 look at this here: http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=fsodeviced/src/plugins/herring_quirks/alsa.vala;h=7c9dbd41aa0515797785b043e5b7c3d6ec996d71;hb=HEAD Aug 30 11:38:35 which can be activated only if stuff is on Aug 30 11:38:59 how do I actiavte it? Aug 30 11:39:19 look at the plugin source Aug 30 11:39:26 it gets activated automatically by fsousaged Aug 30 11:39:29 GNUtoo, just fastboot boot it Aug 30 11:39:37 default policy is FreeSmartphone.UsageResourcePolicy.ENABLED Aug 30 11:39:46 ayaka, ok Aug 30 11:39:54 ayaka, exact command? Aug 30 11:40:07 ./fastboot recovery.img Aug 30 11:40:12 ./fastboot boot recovery.img Aug 30 11:40:42 ayaka, second command should work normally Aug 30 11:41:03 yes, the first is just typing wrongly Aug 30 11:41:19 but it seems adbd startd Aug 30 11:42:04 ok Aug 30 11:42:30 when I cat /dev/urandom > /dev/graphics/fb0, the screen seems turn off Aug 30 11:43:03 "echo 255 > /sys/class/leds/lcd-backlight/brightness" doesn't work Aug 30 11:43:59 I think that is why cymod doesn't support shooteru Aug 30 11:48:31 official doesn't support it but the fork you're using does Aug 30 11:49:17 are you sure about it? maybe I shall talk with the developer Aug 30 11:49:39 do you have device/*/shooter* Aug 30 11:49:42 but I hope that my english won't cause a problem Aug 30 11:50:08 android_bootable_recovery/device/htc/shooteru Aug 30 11:50:21 see it's supported by the fork.... Aug 30 11:51:04 yes, but has anyone tried it or it still in developing Aug 30 11:52:01 GNUtoo: if you have any pending kernel patches for gitorious or fso repos then please wait for my email Aug 30 11:52:09 ok Aug 30 11:52:13 I don't right now Aug 30 11:56:06 morphis, do we increase the space available on .ext2 on crespo? Aug 30 11:56:37 morphis, I'd like to do that: Aug 30 11:56:37 not yet Aug 30 11:56:38 -IMAGE_ROOTFS_EXTRA_SPACE = "200000" Aug 30 11:56:38 +IMAGE_ROOTFS_EXTRA_SPACE = "500000" Aug 30 11:56:44 why so much? Aug 30 11:57:12 because it get out of space right after configuring all the packages Aug 30 11:57:25 with which image? Aug 30 11:57:28 shr-image Aug 30 11:57:33 hm Aug 30 11:57:40 then all images are that big Aug 30 11:57:49 what with 250M? Aug 30 11:57:52 yes Aug 30 11:58:04 it get filled too easily Aug 30 11:58:07 I see no need to double the size Aug 30 11:58:07 let me df -h Aug 30 11:58:27 /dev/loop2 813.2M 790.8M 0 100% / Aug 30 11:58:29 what do you put in it to get it filled up? Aug 30 11:58:31 that's the problem Aug 30 11:58:36 nothing Aug 30 11:58:39 that's the point Aug 30 11:58:46 I installed no package Aug 30 11:58:48 ok Aug 30 11:58:57 then put it 250M and try if it is enough Aug 30 11:59:17 ah maybe there is an issue Aug 30 11:59:26 look at the line I just pasted Aug 30 11:59:31 something's filling the image maybe Aug 30 12:00:30 root@crespo:/var/log# du -h Aug 30 12:00:37 549.5M . Aug 30 12:00:42 so it's the logs Aug 30 12:00:44 let's see Aug 30 12:01:00 -rw-r--r-- 1 root root 542.8M Aug 30 13:40 fsoaudiod.log Aug 30 12:01:01 ahhh Aug 30 12:01:06 let's remove it from the config Aug 30 12:03:33 :) Aug 30 12:05:54 GNUtoo, but one thing, the recovery show a different vender id Aug 30 12:06:14 ayaka, hmmm Aug 30 12:06:44 it is 18d1:d001 Aug 30 12:07:25 but it should be 0bb4:0ff0 Aug 30 12:08:26 in recovery in rom . it is 0bb4:0ccf Aug 30 12:12:38 morphis, I did a mistake while pushing Aug 30 12:12:48 please delete the branch named commit Aug 30 12:12:54 in cornucopia Aug 30 12:13:21 (I didn't sleep well again, I was waken up at 5h30 AM ) Aug 30 12:23:28 GNUtoo: ok Aug 30 12:51:00 GNUtoo, then what shall I do then? Aug 30 12:51:40 maybe the bootloader cause the problem? I s-off by bootloader Aug 30 12:52:00 ah I heard about that in an add-blocker Aug 30 12:52:08 *add-blocker for android Aug 30 12:52:21 or it is not concerned about bootloader, it is kernel do the inittal about fb Aug 30 12:52:31 basically it prevent modifying /system Aug 30 12:53:46 yes, htc follow office unlock bootloader, but still s-on , you can't flash boot partition in recovery must in fastboot, with s-off, you can flash boot partition in recovery Aug 30 12:54:24 but what is the add-blocker you heared, the nand lock? Aug 30 12:55:10 sorry, s/office/official/ Aug 30 13:02:24 ayaka, the add blocker said it worked only with s-off Aug 30 13:02:31 because it replaced /etc/hosts Aug 30 13:02:41 *worked out of the box Aug 30 13:02:54 /etc/hosts is on system of course Aug 30 13:04:30 but in my mobile. s-off( will show on bootloader, do you need a photo) doesn't means the ability to modify /system, it only means what I have said Aug 30 13:08:32 and this doesn't have any use http://forum.xda-developers.com/showthread.php?t=1836040 Aug 30 13:11:54 ok Aug 30 13:12:23 so boot in fastboot Aug 30 13:12:28 and fastboot boot the recovery Aug 30 13:12:37 if you have a different machine id, change it Aug 30 13:14:21 what shall I change, I think the machine id caused by kernel Aug 30 13:14:42 and I am _really_ boot it in recovery Aug 30 13:17:23 about this https://paste.debian.net/186603/ , althogut it boots and just graphic can't work but --base 0x48000000 maybe cause the problem Aug 30 13:18:48 GNUtoo: can you check your commit in fso kernel tree git show -1 dc2ff991a816e51847cc5edd0bbbf19d1600ad49 Aug 30 13:19:07 GNUtoo: it doesn't make much sense with that commit message, so please confirm I can drop it Aug 30 13:19:23 ayaka, ah you're booting on recovery Aug 30 13:19:34 JaMa, let me look Aug 30 13:19:38 it's in remotes/fso/devtmpfs (only difference against remotes/fso/palmpre/devtmpfs) Aug 30 13:19:43 ? Aug 30 13:21:17 JaMa, I remember that patch Aug 30 13:21:25 basically without that it didn't boot Aug 30 13:21:29 because of alignement issues Aug 30 13:21:34 with newer toolchains Aug 30 13:23:49 what do you mean? Aug 30 13:24:50 but it seems lk_bootloader works Aug 30 13:26:04 GNUtoo: so it should be merged to remotes/fso/palmpre/devtmpfs ? Aug 30 13:26:07 but I don't know how to use it at all, it looks like a recovery Aug 30 13:26:14 JaMa, palmpre is dropped Aug 30 13:26:35 I know, but I'm migrating all branches Aug 30 13:26:38 ok Aug 30 13:26:41 so I would like to keep it with history Aug 30 13:26:41 them I think so Aug 30 13:26:46 ok Aug 30 13:33:32 GNUtoo, I thought lk bootloader works, but actually not, it show htc logo, then screen turn off, it boots the recovery! and recovery without graphic Aug 30 13:33:43 ah ok Aug 30 13:33:44 strange Aug 30 13:33:50 do you have a recovery that works Aug 30 13:33:51 maybe it is really the bootloader cause the problem Aug 30 13:33:59 I don't know, it's possible Aug 30 13:34:07 let me look at your paste Aug 30 13:34:28 "do you have a recovery that works" work like what? Aug 30 13:34:35 adb shell Aug 30 13:34:48 boot recovery and do that ^^^ Aug 30 13:34:51 yes, I find it in adb shell Aug 30 13:34:55 like with graphics Aug 30 13:35:00 because you could strace it Aug 30 13:35:04 I already straced mine Aug 30 13:35:39 SHR: 03morphis 07meta-smartphone * r6d99d4585483 10/meta-samsung/recipes-graphics/libgles-omap4/libgles-omap4_1.7.10.0.1.21.bb: meta-samsung: libgles-omap4: make libdrm a build time dependency rather than a runtime one Aug 30 13:35:39 SHR: 03morphis 07meta-smartphone * rde7de57e42c3 10/meta-samsung/recipes-bsp/firmware/samsung-tuna-firmware_1.0.bb: meta-samsung: samsung-tuna-firmware: copy NVRAM data file for wireless too Aug 30 13:35:39 SHR: 03morphis 07meta-smartphone * r7d2213ef37da 10/meta-samsung/recipes-kernel/linux/linux-samsung-tuna_git.bb: meta-samsung: linux-samsung-tuna: bump kernel SRCREV Aug 30 13:35:40 SHR: 03morphis 07meta-smartphone * r1d89533887f8 10/meta-samsung/ (2 files in 2 dirs): meta-samsung: linux-samsung-tuna: change firmware path in defconfig for wifi Aug 30 13:35:46 boot a recovery and do what? do we need the recovery work with graphic? Aug 30 13:36:14 sorry, it graphics Aug 30 13:37:07 and I think there is no the strace binary in recovery Aug 30 15:44:28 Alex[sp3dev]: have you met this, lk doesn't work properly and then find the recovery is booted Aug 30 16:11:39 morphis, hi Aug 30 16:12:02 what do you think is better for gta04 modem: select or blocking read? I'm not sure select will report SIGHUP properly Aug 30 16:12:36 thank you all the same Aug 30 16:12:58 what? Aug 30 16:16:04 paulk-desktop: we're using the g_io_channel for this which uses select/poll afaik Aug 30 16:16:23 and it works reliable Aug 30 16:16:52 so select should return -1 when SIGHUP appears? Aug 30 16:17:06 maybe poll works better for this Aug 30 16:17:08 no Aug 30 16:17:13 select will not return SIGHUP Aug 30 16:17:21 you will just read zero bytes Aug 30 16:17:33 so select tells you there is something to read Aug 30 16:17:35 but it will interrupt at least? Aug 30 16:17:48 s/interrupt/return/ Aug 30 16:17:49 paulk-desktop meant: but it will return at least? Aug 30 16:17:52 yes Aug 30 16:18:00 ok good Aug 30 16:18:03 thanks! Aug 30 16:18:07 no problem Aug 30 16:28:40 SHR: 03shr-devel 07buildhistory * r55f96af41041 10/ (386 files in 386 dirs): packages: Build 201208301651 of shr 20120830 for machine om-gta02 on opmbuild Aug 30 18:02:22 SHR: 03shr-devel 07buildhistory * r619ff07174fa 10/packages/ (371 files in 371 dirs): packages: Build 201208301837 of shr 20120830 for machine nokia900 on opmbuild Aug 30 18:26:37 SHR: 03shr-devel 07buildhistory * r67addd3289a1 10/packages/om_gta04-oe-linux-gnueabi/shr-version/ (latest shr-version/latest): packages: Build 201208302012 of shr 20120830 for machine om-gta04 on opmbuild Aug 30 18:29:35 lindi-: ot question: would you mind sharing the name of your ipv6-enabled paste service? Aug 30 18:49:38 SHR: 03shr-devel 07buildhistory * r297262727087 10/packages/crespo-oe-linux-gnueabi/shr-version/ (latest shr-version/latest): packages: Build 201208302035 of shr 20120830 for machine crespo on opmbuild Aug 30 19:30:43 PaulFertser: dyndns.org does not do ipv6 unfortunately Aug 30 19:32:20 lindi-: i know Aug 30 19:32:30 lindi-: he dns does though. Aug 30 19:32:49 lindi-: i can add paste.paulfertser.info if you'd like too Aug 30 20:22:53 SHR: 03shr-devel 07buildhistory * rb0146c04b127 10/images/tuna/eglibc/chroot-image/ (6 files): images: Build 201208302058 of shr 20120830 for machine tuna on opmbuild Aug 30 20:22:53 SHR: 03shr-devel 07buildhistory * rb422b8d8e876 10/packages/tuna-oe-linux-gnueabi/ (19 files in 18 dirs): packages: Build 201208302058 of shr 20120830 for machine tuna on opmbuild Aug 30 22:20:21 SHR: 03shr-devel 07buildhistory * r5d688934111c 10/images/crespo/eglibc/chroot-image/ (6 files): images: Build 201208310014 of shr 20120830 for machine crespo on opmbuild Aug 30 22:20:22 SHR: 03shr-devel 07buildhistory * r33cd2d600843 10/metadata-revs: No changes: Build 201208302356 of shr 20120830 for machine om-gta02 on opmbuild Aug 30 22:27:01 SHR: 03shr-devel 07buildhistory * rf0d991ee7489 10/images/tuna/eglibc/chroot-image/ (build-id files-in-image.txt image-info.txt): images: Build 201208310021 of shr 20120830 for machine tuna on opmbuild **** ENDING LOGGING AT Fri Aug 31 02:59:59 2012