**** BEGIN LOGGING AT Fri Apr 14 03:00:01 2017 Apr 14 08:00:20 pagurus: could you please fix your connection? :) Apr 14 08:00:30 freemangordon: didn't you reverse devlock/codelock "recently"? Apr 14 08:01:57 ummm, I think so, lemme check Apr 14 08:02:31 bencoh: https://github.com/community-ssu/libdevlock Apr 14 08:03:02 ah, thanks :) Apr 14 08:03:34 bencoh: though, iirc there are more modules, like https://github.com/community-ssu/codelockui Apr 14 08:03:45 I am not sure that one is fully REed Apr 14 08:05:48 I'd like to add an option to disable the "turn off device" dialog when clicking outside the codelock dialog Apr 14 08:06:01 that's probably in codelockui Apr 14 08:06:04 mhm Apr 14 08:06:17 I guess you first have to RE it completely Apr 14 08:06:31 if it is not already done Apr 14 08:07:26 lemme check what's already installed on my device (I haven't added your latest REed bits - afaict0 Apr 14 08:08:26 bencoh: yeah, look at https://github.com/community-ssu/codelockui/blob/master/codelockui.c#L210 Apr 14 08:08:40 bencoh: I can provide my IDA db Apr 14 08:08:59 does IDA work properly in wine? :] Apr 14 08:09:05 actually I'd have to download it as well Apr 14 08:09:15 yes, it is ok in wine Apr 14 08:09:40 what is this reponse_signal supposed to do? Apr 14 08:09:48 NFC :) Apr 14 08:09:55 :-) Apr 14 08:09:57 check the source Apr 14 08:10:18 bencoh: it is jonwil that did most of the REing work, I added just one finction Apr 14 08:10:22 *function Apr 14 08:11:03 ah Apr 14 08:11:42 bencoh: looking at hexrays code, it seems this function make a "secu_ib_lockcodenotchanged" note and actually changes the code in cal Apr 14 08:11:43 hmm, funny, there's already a response_cb which is implemented Apr 14 08:11:54 changes the code? Apr 14 08:11:59 ah, the lock code Apr 14 08:12:13 mhm Apr 14 08:12:24 it is pretty large function, some 100 loc Apr 14 08:12:34 hmm, less Apr 14 08:12:59 also, this is in hexrays, if REed properly it should be about 30-40 loc Apr 14 08:20:32 bencoh: wanna IDA db? Apr 14 08:20:56 sure. IDA doesn't work with wine for some obscure and stupid reason here, though Apr 14 08:21:37 bencoh: what "doesn't work" mean? Apr 14 08:22:09 bencoh: what os and IDA version? Apr 14 08:22:20 s/os/distro Apr 14 08:23:31 (old)macosx, ida free 5.0, and I had to comment out a line in idagui.cfg because for some reason it failed after trying to map an invalid key Apr 14 08:23:41 looks like it works, eventually Apr 14 09:35:32 can anyone ban him temporarily? Apr 14 09:39:53 who? Apr 14 09:41:10 ^ Apr 14 09:42:15 me? Apr 14 09:43:26 bencoh: jonwil joined, you may ask him re naming :) Apr 14 09:43:41 naming of what? Apr 14 09:44:04 naming of the One that shouldnt be named, muahaha Apr 14 09:47:12 jonwil: z prefix in your IDA decompiled functions :) Apr 14 09:47:32 which binary are we talking about? Apr 14 09:47:38 codelockui Apr 14 09:48:51 Ok after checking the IDB I believe the $ functions are the ones that were cloned and the z ones are the ones that weren't fully cloned Apr 14 09:49:02 i.e. baring bugs the $ functions should be done Apr 14 09:49:05 and the z ones are the ones that need cloning still Apr 14 09:49:21 that's how I did it for that particular idb anyway Apr 14 09:50:22 yeah, my understanding as well, but still, it is better for you to confirm it Apr 14 09:50:33 s/for you/you Apr 14 09:51:01 anyway, /me is going afk for a couple of hours, bbl Apr 14 09:51:08 If someone is going to finish cloning codelockui, that's great :) Apr 14 09:51:26 well, bencoh said he wants to implement new functionality Apr 14 09:51:47 for that to happen, he needs to finish RE first Apr 14 09:51:56 yeah Apr 14 09:51:58 however, bye Apr 14 09:52:01 ok Apr 14 09:52:03 cya Apr 14 14:26:36 hmm, seems my device has issues to connect to gps. any good way to debug this? Apr 14 14:26:49 I tried both maps app and cloudgps Apr 14 14:27:21 another app that uses gps also didn't work yesterday Apr 14 14:42:04 dreamer: SUPL server is dead for a month or so Apr 14 14:42:22 just give it a couple of minutes and it will have lock Apr 14 14:48:21 freemangordon: I disabled suppl/network lock in the gps settings. should that improve performance? Apr 14 14:55:07 no Apr 14 15:07:52 :-) will make it worse Apr 14 15:13:19 oh wait? supl dead? Apr 14 15:15:15 seems to be working for me .. with the line '52.22.201.16 supl.nokia.com Apr 14 15:15:22 in /etc/hosts Apr 14 15:59:43 sicelo: what is this ip ? Apr 14 16:01:16 probably what it resolved to before Apr 14 16:01:47 still, there is a high chance that service will go down entirely Apr 14 16:02:21 Organization: Amazon Technologies Inc. (AT-88-Z) Apr 14 16:02:23 hehe Apr 14 16:03:09 distributed services Apr 14 16:03:53 KotCzarny: that's why I'm asking :) Apr 14 16:04:46 who controls it ? and why would it be ok to use it as a replacement for supl.nokia.com ? Apr 14 16:05:51 it is/was supl.nokia.com :) Apr 14 16:06:50 and yes it works. is it safe? well ... how safe is supl.google.com? or any other? :p Apr 14 16:08:47 http://talk.maemo.org/showthread.php?p=1525029#post1525029 Apr 14 16:09:13 but May 15 is precariously close ... Apr 14 16:13:17 sicelo900-2g: thanks for the tmo thread Apr 14 16:19:13 ~gps Apr 14 16:19:13 i heard gps is http://russnelson.com/ipaq/gps/ or qpegps.sf.net or gpsqpe.sf.net Apr 14 16:19:40 ~#maemo gps is http://talk.maemo.org/showthread.php?p=1525029#post1525029 Apr 14 16:19:40 DocScrutinizer05: okay Apr 14 16:19:46 ~gps Apr 14 16:19:46 rumour has it, gps is http://talk.maemo.org/showthread.php?p=1525029#post1525029 Apr 14 16:32:37 Hi all. I'm struggling with xkb, still on Debian. But I think this may be of more general interest, maybe also for Maemo and for Devuan. So I'd ask some things, if any of you may help me. Please let me know whether this be the right place. Apr 14 16:53:11 I'm having difficulties with the type PC_FN_LEVEL2, which is defined in a specific file: /types/nokia. Somewhat, this file is not read by xkb. So I looked into the rules files, and although I can find the nokiarx51 model in many of them, I don't understand where the type file is referred to. Apr 14 17:21:37 why the fuck an ebay seller in Berlin wouldn't want to ship a battery to Bulgaria is beyond what I can grok :( Apr 14 17:22:56 DocScrutinizer05: could you help with that one? http://www.ebay.com/itm/PolarCell-Akku-Nokia-N97-mini-E5-00-E7-00-N8-00-BL-4D-Accu-Batterie-Battery-/370584735149#shpCntId Apr 14 17:24:05 what exactly do you want me to do? Apr 14 17:24:28 buy 4 of those and send them to me? Apr 14 17:24:45 just asking Apr 14 17:25:09 the batteries of my n950 devices died Apr 14 17:25:15 np Apr 14 17:25:32 and I see n950 as a viable test bed for maemo-devuan Apr 14 17:25:59 it is Apr 14 17:26:40 4? Apr 14 17:26:48 DocScrutinizer05: ok, I will have some more thinking on whether to bother you with that, or just to buy original Nokia batteries from the shop next to my place Apr 14 17:26:59 ok Apr 14 17:27:01 well, one to put in the device and one spare x2 Apr 14 17:27:14 ping me when you made up your mind Apr 14 17:27:18 ok, thanks Apr 14 17:27:47 also you could simply make him send them to me instead Apr 14 17:28:08 I'll just apply a new addr sticker and forward the parcel Apr 14 17:28:14 hmm, yeah Apr 14 17:28:51 though, you know there are nasty new regulations about LiIon shipping? Apr 14 17:30:57 there are still ways to ship those. But the nasty thing is that customs/parcel Apr 14 17:31:11 service don't understand them Apr 14 17:32:49 they have sent back to me a N900 with battery separately packed, with the comment "device has battery inserted" - which is clearly *allowed* by the regulations (though not the way it actually was in my parcel) Apr 14 17:33:31 maybe they meant "this is what your parcel does NOT comply with: battery inserted" Apr 14 17:35:40 yep, I heard, but I doubt dhl/ups don't know about them and how to comply Apr 14 17:39:52 they know, but packaging is the customer's job Apr 14 17:42:32 idiocy #1: you may send a phone with battery built in, but you may not regularly send a device with battery in same package. Though you *could* do that when you make sure it complies with obscure requirements which the checks generally assume are met by parcels from Samsung, Nokia and others, but assume are NOT met by parcels from 'nobody' like me and you, even when we explicitly state on outside that they are met Apr 14 17:43:28 it's a huge mess Apr 14 17:48:45 idiocy #2: they have regulations about e.g. percentage of charge for the LiIon cell for shipping (all relevant for airmail delivery) which they can't check at customs Apr 14 17:50:11 isiocy #2a: the customs/checks generally have no faintest clue about the technical details like WattHours of a cell, etc Apr 14 17:51:17 it all boils down to: you can send LiIon when your company name is sufficiently known to the carrier's checker dudes Apr 14 17:52:00 or when you insert he battery into an electronic device so in x-ray it doesn't show up as separate LiIon cell Apr 14 17:55:14 * DocScrutinizer05 considers making PCB with 100um copper layer holding only a text "ITA-4711 compliant security package" and wrap that PCB with LiIon cell into putty Apr 14 17:55:53 so those drones can clearly see it on their x-ray Apr 14 17:58:48 http://www.dhl.ch/de/express/versand/kundenberatung/lithium_batterien.html https://www.ups.com/media/news/de/intl_lithium_battery_regulations.pdf https://www.heise.de/ct/ausgabe/2016-9-Transportvorschriften-fuer-Lithium-Ionen-Akkus-3166865.html Apr 14 17:59:18 sorry, you'll have to find google translate yourself :-) Apr 14 18:01:07 >>In der Folge verweigert die Deutsche Post den Auslandsversand ALLER Akkus. Man kann also streng genommen nicht mal mehr eine Taschenlampe mit AA-Mignon-Akkus verschicken. Klasse, einfach toll.<< Apr 14 18:07:10 https://www.heise.de/ct/zcontent/16/09-hocmsmeta/1461497180961019/contentimages/mue.Packanweisung.mbr_IG.jpg Apr 14 18:49:51 freemangordon: according to http://susepaste.org/74825427 (from https://www.ups.com/media/news/de/intl_lithium_battery_regulations.pdf) they could send up to 8 Polarcell in one package when they add the right stickers to the outside, make sure SOC=30%, and pack them correctly to avoid shortcircuits and damage from drop <= 120cm height Apr 14 18:51:53 but you need to check Bulgaria customs regulations irrespective of IATA stuff Apr 14 18:52:38 any thoughts about this one? https://www.indiegogo.com/projects/gemini-pda-android-linux-keyboard-mobile-device-phone#/ Apr 14 18:53:31 seems pretty sleek, eventually I need to find something to replace the n900 :) Apr 14 18:55:09 looks good Apr 14 18:55:27 yet to see how they solve the cellmo problem Apr 14 18:56:12 you might find in the end that the "linux dual boot option" doesn't support phone functions Apr 14 18:56:31 hmm sailfish/ubuntu OS - smells like libhybris Apr 14 18:56:48 or that this "linux" is as crippled and locked down like e.g. in N9 Apr 14 18:57:33 DocScrutinizer05, I guess that would be a concern... since they're saying they'll support linux I guess they must've given it some thought too Apr 14 18:58:45 don't expect too much thought given by manufacturers. E.G jolla didn't even think about reflashing the device when it been completely nuked by whatever mishap Apr 14 18:58:58 but as long as someone produces a decent device I'm happy, hopefully some other options will be available too Apr 14 18:59:09 doh Apr 14 18:59:16 I'm following this project also Apr 14 18:59:20 I don't know much about jolla myself Apr 14 18:59:55 according to one of the last newsposts it does not like they support calling in linux Apr 14 19:00:06 ravelo: are there any details on that "linux support"? Apr 14 19:00:06 :I Apr 14 19:00:23 freemangordon, I try to look it up Apr 14 19:01:06 tbh I could live fine with a tiny phone-phone and that thing, since my use of n900 currently is 99.9% ssh anyway Apr 14 19:01:21 "The key device drivers that we will need are of course the screen, keyboard, memory management, battery management, WiFi and we have a commitment with our manufacturing partners’ design house to enable us to do this." Apr 14 19:01:34 well, not necessarily fine if I couldn't get network heh Apr 14 19:01:41 but that can be arranged I guess Apr 14 19:02:03 others mentioned that Mediatek is not that open and has old Linux kernels Apr 14 19:02:07 in comments Apr 14 19:02:19 ravelo: not a word about GPU drivers Apr 14 19:02:51 "he plan is to develop as many Linux drivers for the device in the time available to support a variety of distros" Apr 14 19:03:01 which for me sounds not so clear Apr 14 19:03:11 and WTF is "memory management driver"? Apr 14 19:03:14 the reason for developing device drivers is not to support more distros Apr 14 19:04:12 they up to now only had the idea for the keyboard and chose mediatek Apr 14 19:04:23 now they did a trip to china and had some meetings Apr 14 19:04:50 freemangordon: most recent SoC+cellmo share storage and RAM between (linux) APE CPU and modem, so they depend on 'linux' APE securely avoiding users mess with the radio stack in any way Apr 14 19:05:28 it looks like the boss did some successfull projects in the past, but more software than hardware Apr 14 19:05:29 sometimes I feel like buying an old 80s portable with a chunky keyboard, putting rpi with 4g in there and call it a day Apr 14 19:07:01 freemangordon: so "memory management driver" most likely is exactly that: make sure APE has no access to radio stack to avoid hackers messing with e.g. IMEI (to start with) Apr 14 19:08:04 to assure system integrity on that level, they need to employ some shit like AEGIS, or more generally speaking TrustedComputing Apr 14 19:08:13 ~trust Apr 14 19:08:13 it has been said that trust is safe, or http://www.youtube.com/watch?v=0cbS_lDJuJg Apr 14 19:09:14 https://talk.maemo.org/showthread.php?t=99022 -> discussion about gemini pda Apr 14 19:10:27 DocScrutinizer05: I wonder how MM driver and AEGIS-like stuff goes with debian or ubuntu Apr 14 19:10:29 maybe you should also notice that the boss joined a company as director after a crowdfunding of 500.000 EUR and up to now they don't look like they will ever ship a device (zx vega spectrum plus) Apr 14 19:10:55 at least up to now Apr 14 19:12:38 freemangordon: there are aegis like projects in debian already, since ages. Apr 14 19:13:21 along UEFI, secureboot, systemd, whatnot the buzzwords Apr 14 19:13:50 ravelo, hmh, interesting.. Apr 14 19:33:03 joga: maybe wait until first devices ship, then buy for 399,00 Apr 14 19:33:10 if you are interested Apr 14 19:53:49 Hey guys, anybody may help me with the question I asked at half past six? Apr 14 20:03:48 did you follow the steps on wiki verbatim? Apr 14 20:04:39 Let me check. Apr 14 20:07:17 I could not do all the reported steps. For example, setxkbmap did not work (command not found). Apr 14 20:10:57 then you should install it :) Apr 14 20:11:32 i haven't needed to play with my mappings in a long time, but i never had a problem in debian following the wiki Apr 14 20:12:10 Also with systemd running? Apr 14 20:12:31 no. pre-systemd times. Apr 14 20:12:42 i don't see what systemd has to do with this though Apr 14 20:14:23 Ah. As I have read around, systemd has also something to do with locales. But I may be completely wrong. Apr 14 20:17:33 well i admitted that my knowledge is 'old' .. but even systemd should then set correct locale? and you adjust the correct files for your locale? i don't see where problem would be Apr 14 20:20:07 I have a keyboard with two arrows. It works fine, except for the up and down arrows: instead of being fn + left and fn + right, they are shift + left and shift + right. After some investigation, I found out this is caused by xkb being unable to recognise the type "PC_FN_LEVEL2". Apr 14 20:20:37 Also, I need to set up some additional symbols. E.g., ~, |, esc, ... Apr 14 20:26:26 regarding the "linux dualboot" >>we are exploring a number of Linux flavours. We will make a final decision in due course and will let you know. ...<< https://talk.maemo.org/showthread.php?p=1524641 WTF why would I need THEM to decide *which* "Linux flavours" they allow me to install? Apr 14 20:26:52 seems to me they have a pretty flawed indea of what's "Linux" Apr 14 20:30:44 or it just means they provide a TrustedConouting solution for that thing which will turn your linux into something like Harmattan or Android, wher you can't do stuff even when you might manage to gain root access Apr 14 20:31:03 TrustedComputing* Apr 14 20:31:56 not my idea of what I want for a PDA/smartphone Apr 14 20:33:42 any thoughts about this one? https://www.indiegogo.com/projects/gemini-pda-android-linux-keyboard-mobile-device-phone#/ Apr 14 20:33:42 seems pretty sleek, eventually I need to find something to replace the n900 :) Apr 14 20:34:17 if you can afford two extra inches, I would probably advice to look at GPD Pocket Apr 14 20:36:06 it uses Intel Atom SoC, so Linux without libhybris and manufacturer successfully did other devices before Apr 14 20:38:04 seems pretty nice too at first glance Apr 14 20:46:56 freemangordon: so "memory management driver" most likely is exactly that: make sure APE has no access to radio stack to avoid hackers messing with e.g. IMEI (to start with) Apr 14 20:47:14 MediaTek-based devices usually have no problems with changing IMEI to whatever value you like :) Apr 14 20:47:49 My N900 had 180 days uptime Apr 14 20:48:24 Then my gf unplugged it to charge her camera and 3 days later I notice Apr 14 20:49:02 DAMN! Apr 14 20:49:07 :-D Apr 14 20:51:30 yay! 180. i'm at 54 (highest uptime i ever had) Apr 14 20:52:05 uptime, shrooptime Apr 14 20:53:11 indeed Apr 14 20:53:31 t900:~# uptime Apr 14 20:53:33 23:44:42 up 353 days, 19:29, load average: 0.03, 0.01, 0.00 Apr 14 20:53:35 My N900 serves as backup disk space and VPN router these days. uptime is unimpressive in that. Apr 14 20:54:20 mine usually dies because i neglect to charge it when low Apr 14 20:55:19 so usually 5 days Apr 14 20:55:27 sometimes up to 20-30 Apr 14 20:55:50 *cough* Apr 14 20:55:52 t900:~# ls -l /var/log/syslog Apr 14 20:55:54 -rw-r--r-- 1 root root 65675189 Apr 14 23:46 /var/log/syslog Apr 14 20:57:43 http://paste.ubuntu.com/24382909 Apr 14 21:02:44 hmm, swap help welcomes me Apr 14 21:02:49 hell Apr 14 21:04:57 https://pastebin.com/raw/HiM2imcN Apr 14 21:05:09 41M free Apr 14 21:05:12 hue hue Apr 14 21:05:23 http://paste.ubuntu.com/24382959 Apr 14 21:09:20 funny ubifs, when deleting a 66MB file only frees up ~15MB Apr 14 21:10:43 http://paste.ubuntu.com/24382989 Apr 14 21:11:17 -rw-r--r-- 1 root root 206251 Apr 15 00:02 /var/log/syslog Apr 14 21:11:28 F U tracker Apr 14 21:16:21 I forget, does "file /var/log/syslog" display how much physical space the file takes up? Apr 14 21:16:39 prolly not Apr 14 21:16:48 ls neither Apr 14 21:16:54 ;-) Apr 14 21:17:13 I know there was something that showed both Apr 14 21:17:32 umm yep, forgot what it been Apr 14 21:17:37 stat? Apr 14 21:17:44 hm Apr 14 21:24:06 http://stackoverflow.com/questions/31394106/in-which-case-will-the-physical-size-of-a-file-be-smaller-than-the-logical-size Apr 14 21:26:30 or du ? Apr 14 21:28:10 stat doesn't do it Apr 14 21:36:44 hmmph http://paste.ubuntu.com/24383077 Apr 14 21:42:42 t900:~# stat /var/log/syslog Apr 14 21:42:43 File: "/var/log/syslog" Apr 14 21:42:45 Size: 5773 Blocks: 16 IO Block: 4096 regular file Apr 14 21:43:21 F U messybox Apr 14 21:44:29 I read this as virtual size 5773, phy size 16 * 4096 Apr 14 21:47:10 no, IO Block doesn't match  Apr 14 21:47:18 no, IO Block doesn't match %B Apr 14 21:47:43 so virtual size 5773, phy size 16 * 512 Apr 14 21:48:26 prolly allocates 8 blocks at a time though Apr 14 21:48:53 thus with >4k size, it uses 16 blocks aka 8k Apr 14 21:50:13 * DocScrutinizer05 thinks a block always = 512, by definition Apr 14 21:51:10 except in tools like mkfs where you specify blocksize Apr 14 21:53:18 https://linux.die.net/man/8/mkfs.ext3 Apr 14 21:58:58 http://paste.ubuntu.com/24383168 not even stat itself *really* knows ;-P Apr 14 21:59:29 "Block size: 4096 Fundamental block size: 4096" vs %B=512 **** ENDING LOGGING AT Sat Apr 15 03:00:00 2017