**** BEGIN LOGGING AT Sat Nov 16 02:59:59 2013 Nov 16 14:15:05 hi DocScrutinizer51 Nov 16 14:15:14 or DocScrutinizer05 Nov 16 14:15:35 I heard that the neo900 will have the possibility to have a free GSM modem... Nov 16 14:15:51 is there any details on that? Nov 16 14:15:58 GNUtoo-T60: Hello. I want to know too Nov 16 14:16:09 well, you can build your own modem based on calypso and have it mounted Nov 16 14:16:10 and about free wifi :> Nov 16 14:16:33 or wait for this russian guy to do that Nov 16 14:16:44 is he russian? Nov 16 14:16:56 yes, is it the same person that threatened you before? Nov 16 14:17:01 calypso-communist guy ;-) Nov 16 14:17:07 yes Nov 16 14:17:08 yes Nov 16 14:17:19 I know in what country he lives... Nov 16 14:17:30 (he's not that carfull) Nov 16 14:18:14 sure, why should he. He doesn't care Nov 16 14:18:28 well, he's in USA Nov 16 14:18:49 anyway Nov 16 14:18:57 spacefalcon was the pseudo I think Nov 16 14:19:01 yes Nov 16 14:19:09 anyway, here's my todo list: Nov 16 14:19:20 we're most likely using cinterion mosules Nov 16 14:19:33 1) make upstream-coreboot accept my last patches about fallback, gpu, and microcode Nov 16 14:19:44 which have nice almost-open UM and TRM Nov 16 14:19:47 2) but then I'll have to choose what to work on next Nov 16 14:20:00 we failled big time with the gta04 replicant kernel... Nov 16 14:20:13 :-/ Nov 16 14:20:13 I didn't have enough time to work on it, Nov 16 14:20:20 and paulk wasn't that good in kernel Nov 16 14:20:32 (he's really good at the rest though) Nov 16 14:20:53 " which have nice almost-open UM and TRM" Nov 16 14:21:01 you mean that there is some datasheets? Nov 16 14:21:11 which parts are not in the datasheets then? Nov 16 14:21:48 err PHS8-P_PHS8-K_Hardware_Interface_Description_V02.003a_05.07.2012.pdf 114 pages, and PHS8-P_AT_Command_Set_V02.003_06.07.2012.pdf 450 pages Nov 16 14:22:18 ok, sounds small.... Nov 16 14:22:36 I guess it covers the modem protocol... Nov 16 14:22:37 you need to register on gemalto site and they send you a mail with download links in 15 minutes Nov 16 14:22:42 How to build my own modem? > 21:16 < DocScrutinizer05> well, you can build your own modem Nov 16 14:22:45 I was rather talking about osmocombb-like software Nov 16 14:23:22 osmocombb-like software (the baseband part) only runs on calypso Nov 16 14:23:38 all other modem chips nowadays are tivoized Nov 16 14:24:01 really all other chips? Nov 16 14:24:14 I don't know of any that isn't Nov 16 14:24:20 GNUtoo-T60, hello, long time no see Nov 16 14:24:21 I was rather thinking that it was some "documentation" issue. Nov 16 14:24:30 becasue the work needed to free the new chips is too huge Nov 16 14:24:33 hi ayaka Nov 16 14:24:51 DocScrutinizer05, is the sgs2 chip tivoized? Nov 16 14:24:57 if so how? Nov 16 14:25:01 same for the gta04 Nov 16 14:25:11 and for the htcdream Nov 16 14:25:41 GNUtoo-T60: you can't flash non-signed firmware Nov 16 14:25:48 yes, I'm aware of that Nov 16 14:25:52 but why flashing them? Nov 16 14:25:57 just load them from disk... Nov 16 14:26:07 even calypso had all the needed hw stuff to do tivoization, but for some strange reason they didn't use it. Wait and now I recall there is a 2G modem module very popular in Russia that also has hackable firmware it seems Nov 16 14:26:08 *from a file Nov 16 14:26:10 that's tivoization Nov 16 14:26:13 GNUtoo-T60: the same Nov 16 14:26:24 well, it's ineffective tivoization Nov 16 14:26:39 in other words Nov 16 14:26:49 you can't *RUN* non-signed firmware Nov 16 14:26:49 easy try: Nov 16 14:27:01 1) keep the gsm firmware in its nand partition Nov 16 14:27:12 2) install Replicant or something with libsamsung-ipc Nov 16 14:27:33 3) nanddump the modem firmware Nov 16 14:27:38 4) modify it Nov 16 14:27:56 5) modify libsamsung-ipc or samsung-ril to load the modified file not from nand Nov 16 14:27:59 6) try it out Nov 16 14:28:14 and watch how modem rejects it due to lack of proper signature Nov 16 14:28:14 the tricky part is 4) Nov 16 14:28:17 ok Nov 16 14:28:19 so you tried it Nov 16 14:28:24 where's the check done then? Nov 16 14:28:28 GNUtoo-T60: you completely failed the point Nov 16 14:28:29 in the modem's bootrom? Nov 16 14:28:37 RIL doesn't ever touch the modem firmware Nov 16 14:28:50 libsamsung-ipc does then Nov 16 14:29:10 yes, in modem's bootrom Nov 16 14:29:21 I think there are some callbacks in the C files in the directory that holds device specific code and function pointers Nov 16 14:29:33 ah ok Nov 16 14:29:41 modem has own CPU, own NAND, own RAM, own BOOTROM Nov 16 14:29:46 GNUtoo-T60: you know that even OMAP processors have this kind of signature checking code? Nov 16 14:29:47 if it's in the modem bootrom, then it would be really hard to get arround that Nov 16 14:30:11 though I heard that in the sgs2 case, the program that they wrote for enabling the secure mode in the bootrom failed Nov 16 14:30:29 like they ran it, and it did nothing, and the phones went into the commerce Nov 16 14:30:35 but I've no idea if it's true or not Nov 16 14:30:57 about the GTA04, the strategy would be different Nov 16 14:31:02 never heard about it, and honestly I'm not very much interested in that Nov 16 14:31:05 ok, Nov 16 14:31:13 about the gta04, it speaks a qualcomm protocol Nov 16 14:31:24 that protocol is implemented in a library that modem manager uses Nov 16 14:31:30 that library has some test programs too Nov 16 14:31:36 modem in gta04 speaks AT protocol via USB Nov 16 14:31:45 except for absolutely hackish things like osmocomBB there's really no use in hacking baseband firmware Nov 16 14:31:46 that protocol has peek/poke commands Nov 16 14:31:54 dos1, yes, but not only Nov 16 14:32:03 there's nothing a normal user ever would want to change in it Nov 16 14:32:08 dos1, there are 5 serial ports or something like that Nov 16 14:32:18 dos1, one of them is for the debug protocol Nov 16 14:32:40 DocScrutinizer05, well, osmocombb is so nice Nov 16 14:32:48 there are some good uses cases Nov 16 14:33:02 dos1: omg does it have an usb modem? :D Nov 16 14:33:07 for engineers maybe Nov 16 14:33:19 1) we lack some database of cellid<->location Nov 16 14:33:25 and fonestly nothing a CMU200 couldn't do Nov 16 14:33:40 with osmocombb you can get GSM towers range quite fast and easily Nov 16 14:33:52 and illegally :D Nov 16 14:33:54 or that microBTS Harald had 150 of them, for 100EUR per device Nov 16 14:33:55 2) security stuff Nov 16 14:33:59 dos1, why? Nov 16 14:34:21 you cannot operate such device without certification Nov 16 14:34:32 and flashing osmocombb voids the certification Nov 16 14:34:33 because you're operating a RF TX that's not licenced Nov 16 14:34:41 dos1, you cannot sell such device with uncertified software inside Nov 16 14:34:49 which is different Nov 16 14:34:53 you cannot operate it on public networks as well Nov 16 14:35:02 dos1, what law said that? Nov 16 14:35:20 no, you are in for doing time in jail when *operating* a TX without according licence Nov 16 14:35:21 according to harald welte, germany laws only dictates selling Nov 16 14:35:35 ^^^ Nov 16 14:35:47 so you should not interfere with or disturb the GSM network, Nov 16 14:36:02 but I'm not sure about mere usage of uncertified software on a cell phone modem Nov 16 14:36:08 you can get such licence to use with your own lab network Nov 16 14:36:12 it's generally forbidden to emit *any* RF without a proper general cert or a individual licence - see HAM radio Nov 16 14:36:13 yes Nov 16 14:36:18 in France, that is possible indeed Nov 16 14:36:32 but without it, it's illegal to emit anything on those bands Nov 16 14:36:50 to ANY band Nov 16 14:36:52 dos1, ok, then only 1) applies then Nov 16 14:36:54 device with certification comes with such "licence" Nov 16 14:37:01 ok Nov 16 14:37:02 almost any Nov 16 14:37:23 yes, IR is free Nov 16 14:37:31 and <50kHz is free Nov 16 14:37:41 so wifi can be modified because it's on an unregulated band? Nov 16 14:37:47 no Nov 16 14:37:49 *wifi software Nov 16 14:38:16 operating a WiFi chipset with modified firmware makes it an illegal RF TX Nov 16 14:38:24 really? Nov 16 14:38:26 yes Nov 16 14:38:37 lawyers have different opinions Nov 16 14:38:42 no Nov 16 14:39:11 adding an antenna with 6dB gain makes your WLAN illegal Nov 16 14:39:22 well, that's another issue Nov 16 14:39:25 no Nov 16 14:39:28 it's not mere modifications... Nov 16 14:39:30 it's exactly the same Nov 16 14:39:33 like if you do a bugfix Nov 16 14:39:42 that doesn't change the output level Nov 16 14:39:57 it still can change other properties of the device Nov 16 14:40:14 let me find the lawyer stuff Nov 16 14:40:36 generally you are operating an illegal RF device when you do *any* changes to it after it got certified Nov 16 14:42:07 and I'm not interested in lawyer stuff, I know the laws and lawyers rad them this way today and different way tomorrow. You can bet on some lawyer suing you when you propagate you're going to install 100 WLAN hotspots with modified firmware Nov 16 14:43:00 or even some district attorney or the police will want to have a talk with you Nov 16 14:43:16 in france it's even worse Nov 16 14:43:34 you mustn't operate WLAN with 100mW outdoors Nov 16 14:43:50 you have to reduce it to 10mW Nov 16 14:44:18 even failing to throw that "switch" already makes operation of WLAN illegal in France Nov 16 14:44:43 (or was it indoors? I dunno) Nov 16 14:45:38 worst case police confiscates your hardware and state attorney prosecutes you and you get sentenced to pay a fine Nov 16 14:46:40 https://www.softwarefreedom.org/resources/2007/fcc-sdr-whitepaper.html Nov 16 14:46:44 and that's *no* different anywhere on this planet. All nations agreed to regulate operation of RF transmitters in a similar way, long ago. They meet once or twice a year to update their regulations for new stuff Nov 16 14:47:00 irrelevant Nov 16 14:47:05 because then running a computer with an ath9k would be illegal, right? Nov 16 14:47:15 nonsense Nov 16 14:47:50 " you mustn't operate WLAN with 100mW outdoors", if you modify the wireless driver to do mesh and don't touch to the output power, is it illegal then (according to your understanding) ? Nov 16 14:48:22 I understood it as two different issues Nov 16 14:48:24 you heard about ISO OSI layers? Nov 16 14:48:28 yes Nov 16 14:48:34 here is a dts for my exynos 4412 board http://paste.debian.net/66146/ Nov 16 14:48:37 so which layer is governed by theses laws? Nov 16 14:48:44 you mustn't change layer 1 and parts of layer 2 Nov 16 14:48:44 the MAC layer? Nov 16 14:48:51 ok, so what about softmac drivers? Nov 16 14:48:59 but it doesn't work at all, without any output to uart and led seems doesn't work Nov 16 14:49:01 (most of the desktop cards have softMAC) Nov 16 14:49:10 led heartbeat Nov 16 14:49:15 (and some cards like ath9k don't even require anything like proprietary) Nov 16 14:49:31 ayaka, does your bootloader work? Nov 16 14:49:32 I use cat zImage and dtb to a new zimage to combine them Nov 16 14:49:45 ayaka, make the kenrel use the bootloader serial port... Nov 16 14:50:03 GNUtoo-T60, yes, the u-boot is from board manufacturer Nov 16 14:50:11 (I meant that the kernel wound't touch the settings etc...and re-use them) Nov 16 14:50:20 ayaka, there are many tricks for that Nov 16 14:50:23 GNUtoo-T60, how to? Nov 16 14:50:39 one is to grep for __log_buf in System.map Nov 16 14:50:50 GNUtoo-T60: I'm not interested in continuing a discussion if changing stuff in a softmac void certification of the hardware Nov 16 14:50:51 and to get the content of that location in uboot, after a reset Nov 16 14:51:07 but if you lack a reset button, the kenrel itself has some stuff to re-use the bootloader's serial settings Nov 16 14:51:12 like earlyprintk= Nov 16 14:51:22 or even asciiprint or stuff like that Nov 16 14:51:39 DocScrutinizer05, ok Nov 16 14:51:51 since that#s up to the particular case and will get decided by lawyers and guys of FCC or your equivalent local authority looking into it Nov 16 14:52:06 yes, as usual Nov 16 14:52:17 like the law is not ok vs not-ok Nov 16 14:52:18 GNUtoo-T60, I have a reset button, but where is System.map? in the source code of u-boot Nov 16 14:52:25 it's rather risk assesment Nov 16 14:52:32 as long as you don't become visible, nobody cares. But it's not like it's legal to do whatever you like Nov 16 14:52:40 GNUtoo-T60, do you received my mail, there is some about doc of exynos 4412 Nov 16 14:52:55 ayaka, maybe, but I've more than 3000 mails to read Nov 16 14:52:58 maybe 10000 Nov 16 14:53:52 I meant that there is a whole scale between ok and not-ok Nov 16 14:54:22 like if you're into a court, you could loose even if you're really close to 100% ok, and the opposite applies too Nov 16 14:54:33 GNUtoo-T60, sorry, may you search it and read it once Nov 16 14:54:42 let me look, Nov 16 14:55:11 I use the mail address lxr1234 to send it Nov 16 14:55:12 I had the dual core one: Nov 16 14:55:13 http://www.coreboot.org/Exynos5 Nov 16 14:55:19 ok Nov 16 14:56:00 hmmm, Nov 16 14:56:06 the issue is the metadata Nov 16 14:56:35 it could have some watermark or something like that Nov 16 14:57:50 GNUtoo-T60, yes, there is watermark Nov 16 14:58:04 ah ok Nov 16 14:59:00 GNUtoo-T60, would you like to me to send those documents but please don't release them before your crack those documents **** ENDING LOGGING AT Sun Nov 17 02:59:59 2013