IRC log of #maemo for Wednesday, 2017-03-22

*** Enrico_Menotti has quit IRC00:17
*** Pali has quit IRC00:25
*** Pali has joined #maemo00:26
*** florian has joined #maemo00:33
*** Pali has quit IRC00:37
*** dafox has quit IRC00:44
*** N-Mi has joined #maemo01:19
*** N-Mi has joined #maemo01:19
*** xy2_ has quit IRC01:22
*** infobot has quit IRC02:18
*** xes has quit IRC02:20
*** script has quit IRC02:21
*** xes has joined #maemo02:22
*** florian has quit IRC02:22
*** xes has quit IRC02:31
*** N-Mi has quit IRC02:32
*** script has joined #maemo02:58
*** spiiroin has quit IRC03:21
*** hurrian has quit IRC03:32
*** hurrian_ has joined #maemo03:32
*** spiiroin has joined #maemo03:35
*** Kabouik has quit IRC03:45
*** xes has joined #maemo03:54
*** xes_ has joined #maemo04:09
*** xes has quit IRC04:10
*** drrz has quit IRC04:24
*** hurrian has joined #maemo04:55
*** hurrian_ has quit IRC04:55
*** infobot has joined #maemo04:56
*** povbot has joined #maemo06:33
*** sunshavi has quit IRC06:41
*** pagurus` has joined #maemo07:19
*** pagurus has quit IRC07:21
*** DocScrutinizer05 has quit IRC07:55
*** DocScrutinizer05 has joined #maemo07:55
*** Mek has quit IRC08:09
*** Mek has joined #maemo08:22
*** Gadgetoid has quit IRC08:23
*** Gadgetoid has joined #maemo08:27
*** arcean has joined #maemo08:40
*** spiiroin has quit IRC08:53
*** dafox has joined #maemo08:59
*** hurrian_ has joined #maemo09:11
*** hurrian has quit IRC09:11
*** dafox has quit IRC09:26
*** spiiroin has joined #maemo09:32
*** dmth|intevation has joined #maemo09:36
*** hurrian has joined #maemo09:43
*** hurrian_ has quit IRC09:43
*** mike727 has joined #maemo09:45
*** hurrian has quit IRC09:54
*** hurrian has joined #maemo09:54
*** dafox has joined #maemo10:15
*** geaaru has joined #maemo10:24
*** florian has joined #maemo10:24
*** MetalGearSolid has quit IRC10:26
*** MetalGearSolid has joined #maemo10:28
*** Kabouik has joined #maemo10:35
*** xes_ is now known as xes10:38
*** shentey has joined #maemo10:57
*** shentey has quit IRC11:13
*** ssvb has quit IRC11:15
*** jskarvad has joined #maemo11:29
*** Maxdaman1us has joined #maemo11:37
*** Maxdamantus has quit IRC11:40
*** N-Mi has joined #maemo11:56
*** N-Mi has joined #maemo11:56
*** capitanocrunch has joined #maemo12:24
*** capitanocrunch has left #maemo12:24
*** eMHa has quit IRC12:27
*** shentey has joined #maemo13:22
*** freemangordon has quit IRC13:29
*** shentey has quit IRC13:33
*** arcean has quit IRC14:20
*** arcean has joined #maemo14:25
*** sunshavi has joined #maemo14:49
*** frals has quit IRC14:53
*** frals has joined #maemo14:55
*** frals has joined #maemo14:55
*** ravelo_ has joined #maemo15:20
*** ravelo has quit IRC15:22
*** mike727 has left #maemo15:30
*** FIQ has left #maemo15:48
*** Kabouik_ has joined #maemo16:03
*** Kabouik has quit IRC16:05
*** spiiroin has quit IRC16:08
*** xes has quit IRC16:17
*** xes has joined #maemo16:19
*** xy2_ has joined #maemo16:37
*** arcean has quit IRC16:38
*** ecloud has quit IRC16:52
*** ecloud has joined #maemo17:08
*** pagurus` has quit IRC17:08
*** shentey has joined #maemo17:19
*** florian has quit IRC17:19
*** geaaru has quit IRC17:29
*** geaaru has joined #maemo17:42
*** Kabouik_ has quit IRC17:51
*** dmth|intevation has quit IRC18:00
*** freemangordon has joined #maemo18:03
DocScrutinizer05http://thehackernews.com/2017/03/hacking-windows-dll-injection.html18:14
*** spiiroin has joined #maemo18:17
freemangordonDocScrutinizer05: hmm, this seems to require local administrator privileges18:25
DocScrutinizer05I don't know windows, so I can't give educated comment18:25
DocScrutinizer05but yeah, what I understood it needs a registry edit18:26
freemangordonit is uncommon for the user to have write access to the registry18:26
freemangordonfrom windows 7 on that is18:26
freemangordonfor xp it is another story, but any sane group policy would disable such rights18:27
*** sunshavi has quit IRC18:27
DocScrutinizer05yeah sorry, it's "a hoax" (which nevertheless tricked German CERT, and thus me) -  see https://www.heise.de/security/meldung/Cybellum-verkauft-Autostart-Funktion-als-Zero-Day-3662090.html18:29
freemangordonI am seeing it, but I can't read it :)18:29
*** Kabouik has joined #maemo18:32
DocScrutinizer05sorry. They simply bash Cybelum for incorrectly and prolly deceiving calling a perfectly working debug function as zeroday. It's an autostart feature that only can get used when malware already gained control, so MEH18:33
*** Pali has joined #maemo18:34
DocScrutinizer05you could call gdb a malware as well18:34
DocScrutinizer05;-)18:34
*** florian has joined #maemo18:34
freemangordonmhm18:35
freemangordonlooks like that18:35
KotCzarnyfmg: http://www.techamok.com/?pid=1843718:36
KotCzarnyif you want english version18:36
DocScrutinizer05sorry I had too much confidence in https://www.buerger-cert.de/ competence18:37
freemangordonfrom what I understand, you need filesystem write access and registry write access. If an attacker have that, I doubt there is anything that can stop him doing whatever she wants with that PC18:37
freemangordonKotCzarny: I already read the Cybelum explanation on that so-called 0-day18:37
DocScrutinizer05https://www.buerger-cert.de/archive?type=widtechnicalwarning&nr=TW-T17-003218:38
KotCzarnyand windoze is full of holes, sometimes to gain full control viree has to go through series of them18:39
freemangordonKotCzarny: it sounds the same like if you have debugger installed. What can stop you from attaching to a process and injecting code?18:39
bencohdepends on which process your debugger can attach to I guess18:40
KotCzarnytbh, i havent read the details of that particular hole, but i guess that normally system disallows such attaches18:40
KotCzarnyand in this case one could attach to antivirus18:40
*** florian has quit IRC18:41
freemangordonit is no different if they discover LD_PRELOAD and call it -day hole18:41
freemangordonbencoh: that "vulnerability" requires local admin rights18:41
KotCzarnyanyway, windoze is full of bugs, one has to stop worrying about that and just practice os/user hygiene18:41
LjLi've tried to convince someone to buy an N810 yesterday ;(18:41
freemangordonKotCzarny: that's irrelevant, those guys just make noise IIUC.18:43
*** jskarvad has quit IRC18:43
*** eMHa has joined #maemo18:43
KotCzarnyfmg, we can drop the topic then now ;)18:44
freemangordon:)18:44
KotCzarnyin unrelated news, oscp has just gained ncurses remote18:44
KotCzarnyoh, and if anyone uses arch linux and want to test my pkgbuild (with source) pm me18:45
*** xes has quit IRC18:47
*** dafox has quit IRC18:49
*** xes has joined #maemo18:54
*** drrz has joined #maemo19:14
*** xy2_ has quit IRC19:16
*** xy2_ has joined #maemo19:17
*** dafox has joined #maemo19:21
*** florian has joined #maemo19:25
*** mp107 has joined #maemo19:33
*** xy2_ has quit IRC19:36
*** sunshavi has joined #maemo19:37
bencohI just stumbled on https://github.com/jstasiak/asterisk-chan-dongle/19:39
bencoh(old old asterisk patch to connect it to huawei/3g dongles)19:40
KotCzarnyPlease use a recent Linux kernel, 2.6.33+ recommended.19:40
KotCzarnyhe he19:40
KotCzarny'recent'19:40
*** xy2_ has joined #maemo19:40
*** mp107 has quit IRC19:52
*** ssvb has joined #maemo19:54
*** ssvb has quit IRC19:59
Vajbwould it be possible to make "autocalibrate script" for n900 battery?20:02
Vajbis it even possible to disable usb charging via software?20:02
Vajband then enebale it when calibration is reached.20:03
KotCzarnybme can ignore connected cable somehow20:03
KotCzarnydont know if its controllable to that extent20:03
bencohI suppose you could disable charging with i2c commands to bq chip as well20:03
Vajbif someone can make it Im sure i wouldn't be only one wanting to test it ;)20:04
bencoh(err, I actually don't remember which charger is sitting on n900, but still)20:04
*** Enrico_Menotti has joined #maemo20:05
*** dafox has quit IRC20:06
Enrico_MenottiHello, does anybody know how to boot Maemo's kernel in verbose mode? To be clear: I'm trying to use the flasher to boot the kernel and pass some parameters, and I'd like to understand if anything is working.20:06
KotCzarnyyou need either fb console or uart console20:10
*** shentey has quit IRC20:10
Enrico_MenottiKotCzarny: I am trying to follow what I found here: https://wiki.debian.org/DebianOnN900. But before loading a custom kernel, I'd like to try booting Maemo by issuing commands from the flasher.20:11
KotCzarnyyou might check https://wiki.maemo.org/N900_Hardware_Hacking20:12
KotCzarnyand for fb you would need to compile it into the kernel20:13
Enrico_MenottiSorry I don't know this acronym.20:13
KotCzarnyframebuffer20:14
Enrico_MenottiIs it something that needs hardware connection like uart?20:14
KotCzarnyi have said you need one of those two20:14
KotCzarnyfo uart you need some additional hardware20:14
KotCzarnyfor fb you need to compile kernel with fb and fbconsole enabled20:15
*** N-Mi has quit IRC20:15
Enrico_MenottiSo it is not possible to boot Maemo's kernel as it is on the device and have a log of what happens?20:15
KotCzarnyi think fbcon conflicts with x server on maemo20:16
KotCzarnybut if you only need dmesg and can get to initial shell somehow, that's also the way20:17
KotCzarnyyou can see what rescueos kernel/scripts do on boot20:17
*** cyteen has quit IRC20:19
Enrico_MenottiOk, thank you, but let me try to state my question in a different way as well. If I connect the N900 to my computer in update mode and issue "flasher-3.5 -R", the system reboots, right? There is also the option "-l" for loading a kernel, and "-b" for booting it. Is it possible to use the "-b" option to boot Maemo? (Maybe with some parameters.)20:19
*** Enrico_Menotti has quit IRC20:37
*** dafox has joined #maemo20:43
*** Pali has quit IRC20:48
*** Enrico_Menotti has joined #maemo20:50
KotCzarnyEnrico_Menotti: it should be possible, just use the same kernel and params20:51
Enrico_MenottiKotCzarny: Sorry I lost the connection and don't know if you said something before. I just see your last saying.20:52
Enrico_MenottiMeanwhile I tried to load and boot Rescue OS. It seems to work, but the kernel hangs, probably due to a missing init parameter.20:52
Enrico_MenottiI think I have to load an initfs as well.20:52
KotCzarnydid you use their recommended command line?20:53
KotCzarnyits in the readme20:53
KotCzarnyhttps://n900.quitesimple.org/rescueOS/rescueOS-1.3/documentation.txt20:54
Enrico_MenottiTo be honest I just loaded the kernel and booted it, without parameters. I think the first to state is init, but I don't know how to load to memory the initfs and what to pass as init to the kernel.20:54
KotCzarnysee above link20:54
Enrico_MenottiKotCzarny: Ah yes, thank you!!! It's the -n option.20:55
KotCzarnyyou also can specify kernel cmdline too20:55
KotCzarny-b"something"20:55
KotCzarnyin case you want to pass init= or root= or something20:56
Enrico_MenottiYes, I know that. In fact I was trying to pass parameters to Maemo's kernel, but I think there is no way to load it to memory from the NAND.20:56
Enrico_MenottiProbably this only works if I upload a kernel by usb.20:56
freemangordonEnrico_Menotti: why do you need initrd?20:56
Enrico_MenottiSorry, not inird, rootfs.20:57
Enrico_MenottiI'm still making confusion.20:57
freemangordonalso, you can pass parameters to the kernel via flasher20:57
freemangordonEnrico_Menotti: "-b, --boot[=ARG]            Boot the kernel with optional cmdline"20:58
Enrico_Menottifreemangordon: Yes, as we were saying, by -b"parameters", right?20:58
freemangordonyes20:58
Enrico_MenottiYes, I just did not know the option to load the rootfs image.20:58
Enrico_MenottiOk, sorry, I had a look at the flasher help, what I have is not the rootfs, but the initfs.20:59
freemangordonwhat does "load rootfs image" is supposed to mean, please elaborate on what you're trying to achieve20:59
freemangordoninitfs == initrd20:59
freemangordoniirc20:59
Enrico_MenottiTo be honest, it is still not clear to me the difference between the two. I will read something.20:59
freemangordonrootfs I guess is kernel parameter root=$device20:59
freemangordoninitrd == Initial Ram Drive21:00
freemangordonit is used to load additional modules and such21:00
freemangordonor to boot the whole "os" in case of rescueOS21:00
Enrico_MenottiThank you. That's clearer now.21:01
freemangordonEnrico_Menotti: maybe, if you explain what you want to do, I can help more :)21:01
Enrico_Menotti:)21:01
Enrico_MenottiI am just trying to understand how to upload and boot a custom kernel, for the moment.21:02
freemangordonah21:02
freemangordonI'd recommend installing u-boot21:02
Enrico_MenottiThe goal is trying to get Android working, at least in a minimal configuration, on the device.21:02
freemangordonu-boot is the "right" way21:03
Enrico_MenottiI know there was NITDroid, but I have not been able to make it work, due to the lack of configuration.21:03
freemangordonbut for initial testing flasher should suffice21:03
Enrico_MenottiI already installed u-boot, but in the end bricked my device and had to reflash the whole thing.21:03
freemangordonI see21:03
Enrico_MenottiAnd yes, now I am doing just a preliminary test.21:03
Enrico_MenottiOk, I have been able to boot rescue OS from the flasher.21:07
Enrico_MenottiI still don't understand why I have to upload an initfs and the pass a root, and not an init, parameter. But that's my fault, and I will read over the Internet, and books, to understand.21:09
xy2_dumb thought, has anyone ran wayland on n900?21:10
*** shentey has joined #maemo21:11
KotCzarnyby default linux tries to run /sbin/init or /init, one hshould pass init= to avoid confusion, also, initramfs and initrd are both supported formats of ramdisks, rootfs is filesystem mounted at /21:16
KotCzarnyso, you pass init= param to run the first file, and root= to tell kernel where to find filesystem (if you pass ramdisk param, kernel assumes root=/dev/ram or internal fs in case of initramfs)21:21
*** ski7777 has joined #maemo21:21
Enrico_MenottiKotCzarny: Ok, thank you for the explanation. For now it is enough to have been able to run Rescue OS. Now I know that I may try some kernel tests this way.21:25
Enrico_MenottiNext step: trying to build Linux kernel as modded for the N900 (there are at least three options for that). What is still completely unclear to me is how to generate the initrd (or initfs) for a Linux distribution.21:26
KotCzarnysee rescueos github page for scripts and configs21:27
*** geaaru has quit IRC21:27
Enrico_MenottiKotCzarny: Ok thank you for the advice.21:27
Siceloby the way, why Android on N900?21:31
Enrico_MenottiSicelo: Oh, it started just with a need to install modern apps! Then evolved to this idea. A bit crazy, yes, but I decided to play with it.21:32
Siceloyou're linux user or?21:32
Enrico_MenottiSicelo: I'm trying to learn. I know better the macOS environment. I know it's a long way, but it's just a hobby.21:33
Sicelojust thought you'd have more fun installing Linux than Android ... (but not saying you should change) :-)21:34
*** ski7777 has left #maemo21:34
Siceloon the N900, that is ..21:34
Enrico_MenottiSicelo: I will start by trying a Linux distribution. But I don't know what I may do with a Linux distribution in terms of modern apps, like, e.g. Whatsapp. (It's just an example.)21:35
Sicelookay .. i was also just passing a thought21:36
Sicelothe other thing is .. at best you're likely going to have old Android on the N900 anyway, i think21:38
KotCzarnyforget about whatsapp21:52
KotCzarnythey are stupid, closed source and hostile to anything other than money21:52
Enrico_MenottiSicelo: Of course I'm thinking about a "small" Android distribution, probably an old one.21:57
Enrico_MenottiKotCzarny: I know. But everybody today uses certain apps. It's impossible to avoid that, I think.21:58
KotCzarnynot true with that attitude21:58
*** M4rtinK2 has joined #maemo21:58
Enrico_MenottiWhat do you mean?21:59
KotCzarnyit's about promoting interoperability and "use whatever os/program you want, just make the specs open"21:59
sixwheeledbeastExactly. Don't be a sheep. I don't use things just because someone else is using it.22:00
Enrico_MenottiYes, I agree. The problem is that fighting the "system" is quite difficult, I think...22:00
KotCzarnywho said to fight anything?22:00
KotCzarnystop worrying22:00
Enrico_MenottiI'm never been a sheep in the past. But I got my great problems in being a "free minded man".22:01
Enrico_MenottiIn these days as well - everytime I propose something which I consider interesting, but is out of common schemes, I get quite stopped by somebody.22:02
KotCzarnyi personally use n900 because it's a linux device with phone functionality22:02
KotCzarnywhich allowed me to write and use my own audio player22:02
Enrico_MenottiThat's indeed a good thing.22:03
KotCzarnydont do things because of people, do them for yourself22:03
KotCzarnyand share them for others, if they like it, they will use it too22:03
sixwheeledbeastLots of my friends use services I would never use, Facebook, Whatapp. etc. They use other things to contact me (like call/text me) it's a non-issue IMO22:04
Enrico_MenottiKotCzarny: Yes, it's what I usually do in my free time. I need to care about people at work.22:05
Enrico_Menottisixwheeledbeast: Not completely true, I think. With my friends I have myself other means to communicate - quite never by fb, and never had the need of wa for this purpose. But each time I find somebody new, or in the case of people located far from me, I am asked for these means of communication.22:07
KotCzarnywa went the full blown evil way by actively banning 3rd party clients22:08
sixwheeledbeastSimply say you don't agree with these services and you don't use them.22:09
Enrico_Menottisixwheeledbeast: It's not always possible. Sometimes that means the impossibility of a communication. What do you think about Skype?22:10
sixwheeledbeastI won't use it22:10
KotCzarnyimpossibility? there is always a way if there is a will22:11
KotCzarnysocial networks come and go22:11
Enrico_MenottiThere's a friend of mine living in California. I'm located in Italy. We use to talk by Skype. How would you do in another way?22:12
KotCzarnyirc is there since the beginning of the internet22:12
Enrico_MenottiKotCzarny: Yes, that's true.22:12
sixwheeledbeastSIP22:14
KotCzarnydoes sip do video too?22:15
sixwheeledbeastIn fact the best think about the N900 was SIP OOTB over jabber22:15
KotCzarnyLastly, if you're chatting on a regular ol' IM protocol—like Jabber or AIM—you can use one of Linux's many great IM clients to get the job done. Most of them support video chat, including Kopete, Pidgin, and Empathy, and you don't have to run any extra installations or start up other programs to get chatting.22:15
KotCzarnydoes pidgin on n900 support video?22:15
sixwheeledbeastThere's also browser options for video discord and appear.in etc22:18
sixwheeledbeastPidgin doesn't do video, I believe video in pidgin will be a different project "farsight"? Empathy does video I think22:22
*** WdeKer has joined #maemo22:41
WdeKerHi, Im looking for a 4.x (x>1) kernel version to build. I need working usb, charging would be nice,  (maybe even wifi) and not too many bugs.  any (working) recommendations?22:48
KotCzarnyelinux.org/N900 ?22:48
WdeKersays 4.6? is that working?22:49
KotCzarnyclick on branches22:50
WdeKeryes too many choices ;)22:51
KotCzarnyfunny that 4.9 is 181 commits behind 4.622:52
WdeKerwhere is 4.11?22:52
KotCzarnywhoawhoaa22:52
KotCzarnydont asking too much at once?22:53
WdeKeris newer better?22:53
KotCzarnyanything newer than 2.6.28 is better22:53
WdeKer2.6.28 has decent pm22:53
KotCzarnybut only 2.6.28 is fully supported22:53
KotCzarnyjust use 4.9 and see if its working good enough for you22:55
WdeKeryeah 4.9  would be a nice target if it works ..22:56
WdeKerhttps://bugzilla.kernel.org/show_bug.cgi?id=17837122:58
povbotBug 178371: was not found.22:58
*** shentey has quit IRC22:58
*** xy2_ has quit IRC23:00
*** how900 has quit IRC23:03
*** how900 has joined #maemo23:04
*** how900 has joined #maemo23:04
*** parazyd has quit IRC23:04
*** parazyd has joined #maemo23:04
*** parazyd has joined #maemo23:04
*** WdeKer has left #maemo23:09
*** Enrico_Menotti has quit IRC23:17
*** LauRoman has quit IRC23:23
*** L29Ah has quit IRC23:26
*** LauRoman has joined #maemo23:26
*** L29Ah has joined #maemo23:27
*** lfc22 has joined #maemo23:34
*** lfc22 has quit IRC23:36
*** pagurus has joined #maemo23:38
*** sunshavi has quit IRC23:45

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!