*** sunshavi has quit IRC | 00:02 | |
*** dafox has joined #maemo | 00:17 | |
DocScrutinizer05 | search terms: replicant, alien dalvik, libhybris | 00:26 |
---|---|---|
*** xy2_ has joined #maemo | 00:28 | |
*** dafox has quit IRC | 00:35 | |
DocScrutinizer05 | and steer clear a 100 miles from multiboot! whatever you choose to install as second OS, uBoot will boot it fine | 00:40 |
*** LauRoman|Alt has quit IRC | 00:43 | |
DocScrutinizer05 | multiboot *will* brick your N900, sooner or later | 00:55 |
*** Enrico__ has quit IRC | 01:03 | |
sixwheeledbeast | ~multiboot | 01:04 |
infobot | somebody said multiboot was http://maemo.org/packages/view/multiboot/, or **DEPRECATED*, see ~maemo-multiboot | 01:04 |
*** robinak is now known as robink | 01:20 | |
*** florian has joined #maemo | 01:26 | |
*** xy2_ has quit IRC | 01:33 | |
*** Pali has quit IRC | 01:37 | |
*** sunshavi has joined #maemo | 02:04 | |
*** cyteen has quit IRC | 02:51 | |
*** florian has quit IRC | 02:53 | |
*** infobot has quit IRC | 03:19 | |
*** infobot has joined #maemo | 03:21 | |
*** drrz has quit IRC | 03:42 | |
Maxdamantus | "not bricked anymore" sounds like it wasn't bricked in the first place. | 04:19 |
*** LauRoman has joined #maemo | 05:32 | |
*** cyteen has joined #maemo | 05:37 | |
*** cyteen has quit IRC | 05:47 | |
*** cyteen has joined #maemo | 05:48 | |
*** Gizmokid2005 has quit IRC | 05:55 | |
*** cyteen has quit IRC | 05:55 | |
*** Gizmokid2005 has joined #maemo | 05:57 | |
*** florian__ has joined #maemo | 05:58 | |
*** lxp1 has joined #maemo | 06:01 | |
*** florian_kc has quit IRC | 06:01 | |
*** lxp has quit IRC | 06:04 | |
*** sunshavi has quit IRC | 07:00 | |
*** pagurus has quit IRC | 07:13 | |
*** DocScrutinizer05 has quit IRC | 07:14 | |
*** DocScrutinizer05 has joined #maemo | 07:14 | |
*** pagurus has joined #maemo | 07:20 | |
*** spiiroin has quit IRC | 07:48 | |
*** cyteen has joined #maemo | 08:02 | |
*** cyteen has quit IRC | 08:13 | |
*** spiiroin has joined #maemo | 08:47 | |
*** dafox has joined #maemo | 09:01 | |
*** chainsawbike has quit IRC | 09:24 | |
*** chainsawbike has joined #maemo | 09:25 | |
*** dafox has quit IRC | 09:30 | |
*** geaaru has joined #maemo | 09:55 | |
freemangordon | DocScrutinizer05: ping | 10:20 |
*** cyteen has joined #maemo | 10:21 | |
*** florian__ is now known as florian | 10:37 | |
freemangordon | anybody can help me with a regular expression? | 10:41 |
KotCzarny | i can try | 10:41 |
KotCzarny | but i dont know advanced usage | 10:42 |
freemangordon | KotCzarny: QRegExp re("[\"]signature[\"],([^\\(]+)"); | 10:42 |
KotCzarny | and your question? | 10:43 |
freemangordon | and "k=new Ev(f.url);f.sig?k.set("signature",f.sig):f.s&&k.set("signature",vc(f.s));" is (a part of) what I want to match | 10:43 |
freemangordon | I need "vc" extracted | 10:43 |
freemangordon | I modified it to "[\"]signature[\"],([\w+]+\()" | 10:43 |
freemangordon | but it matches "vc(" | 10:43 |
Maxdamantus | What are the []s around " for? | 10:44 |
freemangordon | this is youtube signature function extractor from cutetube :) | 10:44 |
KotCzarny | there are two "signature" strings | 10:44 |
Maxdamantus | Presumably you want to change \() to )\( | 10:44 |
freemangordon | KotCzarny: yes | 10:44 |
freemangordon | but what I need is the second one | 10:44 |
Maxdamantus | (at the end) | 10:45 |
freemangordon | the "vc(f.s)" call | 10:45 |
freemangordon | Maxdamantus: no, it closes the matching group | 10:45 |
KotCzarny | you want "\"signature\",(vc.*?)\); maybe? | 10:45 |
Maxdamantus | freemangordon: right, but you only want "vc", not "vc("? | 10:45 |
freemangordon | lemme try | 10:46 |
KotCzarny | "\"signature\",(vc.*?)\);" | 10:46 |
freemangordon | Maxdamantus: yes | 10:46 |
freemangordon | KotCzarny: ah, it is not that simple | 10:46 |
freemangordon | the function name changes ;) | 10:46 |
Maxdamantus | So you expect a literal ( to appear after the matched group. | 10:46 |
Maxdamantus | ie (..)\( | 10:46 |
KotCzarny | "\"signature\",([a-z+\(].*?)\);" | 10:46 |
freemangordon | Maxdamantus: in English please, I can't really grok the syntax and logic of regexp :) | 10:47 |
KotCzarny | erm, "\"signature\",([a-z+\(]+.*?)\);" | 10:47 |
Maxdamantus | I'm guessing the (non-escaped) brackets denote the matching group. | 10:47 |
freemangordon | Maxdamantus: yes | 10:47 |
Maxdamantus | while escapd brackets are just literal characters. | 10:47 |
freemangordon | yes | 10:47 |
KotCzarny | try the last one | 10:47 |
freemangordon | ok | 10:47 |
Maxdamantus | KotCzarny: your last bracket is the wrong way round. | 10:48 |
freemangordon | KotCzarny: hmm, that ";" at the end... | 10:48 |
Maxdamantus | Should be \( at the end, not \) | 10:48 |
KotCzarny | oh, so we want only function name | 10:48 |
freemangordon | KotCzarny: remember, this is obfuscated js, we may have "," and whatnot instead of ";" | 10:48 |
freemangordon | KotCzarny: yes | 10:48 |
freemangordon | ah, wait, so if I add another "\" at the end, it will be stripped from the result? | 10:49 |
freemangordon | "\)" | 10:49 |
Maxdamantus | I'd probably go with: "\"signature\",([^\)]+)\(" | 10:49 |
Maxdamantus | assuming I understand the regex syntax. | 10:50 |
* Maxdamantus prefers just using the syntax used in sed/grep. | 10:50 | |
Maxdamantus | BRE or whatever it is. | 10:50 |
freemangordon | that matches nothing | 10:50 |
Maxdamantus | er | 10:50 |
Maxdamantus | "\"signature\",([^\\)]+)\\(" | 10:51 |
Maxdamantus | since this is a string literal in some language. | 10:51 |
Maxdamantus | (should escape the backslashes so they're part of the regexp string) | 10:51 |
KotCzarny | \"signature\",([^(:]+)\( | 10:53 |
*** xy2_ has joined #maemo | 10:53 | |
KotCzarny | this one, otherwise it would catch too much | 10:53 |
Maxdamantus | KotCzarny: which backslashes are meant to appear in the regexp? | 10:53 |
KotCzarny | yeah, though php's re didnt complain about ( in [] | 10:54 |
freemangordon | KotCzarny: want me to try ^^^? | 10:54 |
Maxdamantus | I'm talking about "\(" == "(" | 10:54 |
Maxdamantus | dunno if that's true in PHP | 10:54 |
freemangordon | KotCzarny: cool, looks like working | 10:55 |
KotCzarny | ahm, additional quotes in qregexp might be needed | 10:55 |
freemangordon | yes, I know | 10:55 |
KotCzarny | fmg, but it's fragile, as always | 10:55 |
freemangordon | I am using https://regex101.com/ to test | 10:55 |
KotCzarny | since js/webscraping is quirky | 10:55 |
freemangordon | yes, I know it is fragile | 10:55 |
KotCzarny | there are pre matches in RE, but i have never really grasped them, yet | 10:56 |
freemangordon | KotCzarny: if you have a better idea on how to get the signature frunction from youtube base.js, I am all ears :) | 10:56 |
KotCzarny | (think of match withing a match) | 10:56 |
KotCzarny | *within | 10:57 |
KotCzarny | i'm using this snippet for testing: http://pastebin.com/raw/F92Kn0mP | 10:58 |
freemangordon | KotCzarny: hmm, your regexp counts on ":" being present, which is not guaranteed | 10:58 |
KotCzarny | fmg, then you should first try with : and if it returns empty do second re without : | 10:59 |
inz | no need to escape the ( inside [] btw (just sayin') | 10:59 |
KotCzarny | and function you have pasted looks like trigraph (a?b:c) | 10:59 |
KotCzarny | so unless you match multiple cases, it should work | 10:59 |
freemangordon | this is how it looks today, tomorrow google will change it to look some other way | 11:00 |
freemangordon | I want ti working tomorrow as well | 11:00 |
KotCzarny | see 'fragile' part | 11:00 |
inz | that's why you use youtube-dl -U | 11:01 |
KotCzarny | youtube-dl is fragile too, it's just that it's updated regularly ;) | 11:01 |
freemangordon | inz: it is qregexp, afaik it is a little bit different than php, those brackets were put there by the original author (marxian), I don;t want to mess with them | 11:01 |
freemangordon | inz: ever tried cutetube? | 11:02 |
KotCzarny | doesnt cutetube rely on youtube-dl ? | 11:02 |
freemangordon | no | 11:02 |
freemangordon | it has has nothing in common afaik | 11:03 |
inz | I think I once did, it didn't work at that time. | 11:03 |
KotCzarny | there is cutetube2 which is the one maintained | 11:03 |
freemangordon | well, yes, I meant cutetube2 | 11:03 |
KotCzarny | which is stupid imo and ct should be replaced with ct2, and whole ct2 just should point to ct | 11:04 |
KotCzarny | offtopic, i've just fixed oscp to pass -Wall -Wextra -Werror ;) | 11:04 |
KotCzarny | fmg, there is no guarantee how base.js will look tomorrow, so no matter the RE. you just can't rely on anything being stable in it | 11:06 |
Maxdamantus | imo a youtube program should just do things by executing `youtube-dl` | 11:07 |
Maxdamantus | that way the user can at least keep an up-to-date version of it in his/her PATH if everything else ends up unmaintained. | 11:07 |
KotCzarny | maxd: does youtube-dl support spewing data to stdout? | 11:07 |
Maxdamantus | KotCzarny: I imagine so, if not conveniently, it must do with some piping hacks. | 11:08 |
freemangordon | ok, I think I got it, I need to call re.cap(2) for the second capturing group result | 11:08 |
Maxdamantus | It also supports just printing out a URL to download. | 11:08 |
peetah | KotCzarny, Maxdamantus : it does | 11:08 |
KotCzarny | maxd: that's also nice, assuming googl doesnt rely on cookies | 11:09 |
Maxdamantus | but ime, Google has done things like requiring certain headers, so just passing that to curl/wget might not be reliable. | 11:09 |
freemangordon | ok, that's it - QRegExp re("[\"]signature[\"],((\\w+)\\s*\\()"); | 11:11 |
Maxdamantus | That outer group seems redundant. | 11:12 |
KotCzarny | yup | 11:12 |
freemangordon | hmm? | 11:13 |
Maxdamantus | as do the []s | 11:13 |
freemangordon | in English, please :) | 11:13 |
KotCzarny | he means: re("\"signature\",(\\w+)\\s*\\("); | 11:13 |
freemangordon | redundant or not, this is the first one that works correctly | 11:13 |
Maxdamantus | QRegExp re("\"signature\",(\\w+)\\s*\\("); | 11:13 |
Maxdamantus | jinx | 11:14 |
KotCzarny | 1st! | 11:14 |
Maxdamantus | I had to copy/paste/edit it in osso-xterm | 11:14 |
KotCzarny | also, does \w catch . ? | 11:14 |
freemangordon | ^^^ does not work | 11:14 |
inz | if allowing for spaces between func and paren, why not also between comma and func? | 11:14 |
freemangordon | inz: right | 11:15 |
Maxdamantus | freemangordon: are you looking at the same output? I'm guessing you'd need to look at a different one. | 11:15 |
inz | yah, capture group changes from 2 to 1 with the change | 11:15 |
Maxdamantus | freemangordon: eg, if you were looking at some `match[1]` before it might be `match[0]` after removing the unnecessary capture. | 11:15 |
Maxdamantus | or 2, 1, dunno what convention Qt uses. | 11:16 |
inz | IIRC 0 is the full match | 11:16 |
KotCzarny | yes | 11:16 |
Maxdamantus | Mk, that's at least consistent with JS. | 11:16 |
* Maxdamantus always found tha illogical though. | 11:17 | |
KotCzarny | btw. fmg, you need: http://www.regular-expressions.info/lookaround.html | 11:17 |
KotCzarny | but as i've said its advanced territory ;) | 11:17 |
freemangordon | s, what about [\"]signature[\"]\s*,\s*((\s*\w+)\s*\() | 11:17 |
freemangordon | *so | 11:17 |
freemangordon | I don;t really care if it is optimized or not | 11:17 |
KotCzarny | \s*([^\s]+)\s*\( ? | 11:18 |
freemangordon | as long as it works correctly | 11:18 |
KotCzarny | what would \w catch? | 11:18 |
freemangordon | KotCzarny: no, function name must be word | 11:18 |
freemangordon | it cannot contain dots, or columns etc | 11:18 |
freemangordon | *colons | 11:18 |
KotCzarny | \s*([a-z0-9]+)\s*\( ? | 11:19 |
freemangordon | the fuck, what was the word | 11:19 |
KotCzarny | :alpha: | 11:19 |
freemangordon | \w is equal to [a-zA-Z0-9_] | 11:19 |
KotCzarny | but since it's obfuscated and minimized js i bet \s* around the \w is redundant | 11:19 |
freemangordon | no, it is not | 11:20 |
freemangordon | they put spaces sometimes | 11:20 |
KotCzarny | probably obfuscator failing sometimes | 11:20 |
freemangordon | could be | 11:20 |
inz | KotCzarny, qt does not support lookbehind | 11:20 |
freemangordon | inz: so, what about [\"]signature[\"]\s*,\s*((\s*\w+)\s*\() ? do I miss something obvious? | 11:21 |
KotCzarny | fmg, bad \s inside | 11:21 |
KotCzarny | you dont want your inner match to containe space | 11:22 |
KotCzarny | since function name cant contain space | 11:22 |
inz | not that it would ever match, because * is greedy by default | 11:22 |
freemangordon | KotCzarny: it is ok, it doesn't match "v c" | 11:22 |
KotCzarny | that too, though i never know which direction RE starts being greedy | 11:23 |
freemangordon | guys, please, I don;t really want to learn regexps now :) | 11:23 |
KotCzarny | liar | 11:23 |
inz | yes you do | 11:23 |
KotCzarny | ;) | 11:23 |
freemangordon | no, I don;t and I never wanted to ;) | 11:23 |
inz | You need more problems! | 11:24 |
KotCzarny | regexps are handy | 11:24 |
freemangordon | I would prefer a loop every time over a regexp :P | 11:24 |
inz | Yes, they are an awesome tool. Usually the wrong one, but awesome nonetheless! | 11:24 |
KotCzarny | (now some oldtimer should chime with 'in the DOS days we had two wildcards and we were happy') | 11:24 |
KotCzarny | ;) | 11:24 |
freemangordon | yes, that's true | 11:24 |
KotCzarny | you can use fnmatch() then | 11:24 |
KotCzarny | :P | 11:25 |
KotCzarny | it's a nice alternative to regexps | 11:25 |
freemangordon | the original code uses regexp, and I don;t wan't to change it much, unless really needed | 11:25 |
freemangordon | anyway, do you see anything wrong with ^^^ regex besides being suboptimal? | 11:25 |
KotCzarny | yup, RE are better in webscraping, fnmatch is nice for simple things though | 11:25 |
KotCzarny | fmg, it works, its ok, but i would change \s*\w+ to \w+ | 11:26 |
KotCzarny | since it's not doing anything | 11:26 |
freemangordon | ok | 11:26 |
Maxdamantus | I'd probably rather do webscraping with DOM, but usually I'd just do it using command-line tools so it would be piped into sed which uses regexp. | 11:27 |
freemangordon | still works, after that change | 11:27 |
*** jonwil has quit IRC | 11:34 | |
KotCzarny | hmm, when does 'read battery bar' show in cssu? | 11:35 |
KotCzarny | i have 5/1282mAh in status, got 'battery low' message, but it's still green bar | 11:36 |
KotCzarny | 5% of 1282 is ~64, so imo it should start showing red there | 11:37 |
DocScrutinizer05 | freemangordon: what's the problem? | 11:37 |
DocScrutinizer05 | (regex) | 11:37 |
freemangordon | yeah | 11:37 |
freemangordon | but it seems we fixed it so far | 11:37 |
KotCzarny | fmg, i have latest cssu-thumb | 11:38 |
freemangordon | cool | 11:38 |
freemangordon | check if you didn;t "fix" something some 2-3 years ago first :) | 11:38 |
freemangordon | you shouldn't have green bar on low battery | 11:39 |
KotCzarny | fmg, it was ok before update | 11:39 |
KotCzarny | (2012) | 11:39 |
freemangordon | KotCzarny: https://github.com/community-ssu/status-area-applet-battery/blob/master/status-area-applet-battery.c | 11:40 |
freemangordon | battery_status_plugin_update_icon | 11:40 |
DocScrutinizer05 | lemme share the nice regex stuff I found | 11:41 |
DocScrutinizer05 | let's start with alias man=':(){ [ "sed" == "$1" ]||{ /usr/bin/man $1;return; }; less -f <(/usr/bin/man sed) <(wget http://sed.sourceforge.net/sed1line.txt -q -O -); };:' | 11:42 |
peetah | ~fiasco | 11:44 |
infobot | L4-compatible real-time microkernel capable of running Linux in usermode. URL: http://os.inf.tu-dresden.de/fiasco/ | 11:44 |
DocScrutinizer05 | http://stackoverflow.com/questions/22937618/reference-what-does-this-regex-mean/22944075#22944075 | 11:46 |
*** mp107 has joined #maemo | 11:47 | |
DocScrutinizer05 | ^^^ excellent! | 11:47 |
peetah | can someone confirm that using 0xffff is safe to flash both Vanilla_PR_EMMC_MR0 and PR_COMBINED_MR0 images ? | 11:48 |
DocScrutinizer05 | yes, is safe | 11:48 |
peetah | DocScrutinizer05: thanks | 11:48 |
DocScrutinizer05 | if it fails, pester pali ;-9 | 11:48 |
peetah | i will :) | 11:49 |
inz | If it breaks your device, you get to keep both pieces. | 11:50 |
*** mp107 has quit IRC | 11:50 | |
*** jskarvad has joined #maemo | 11:51 | |
DocScrutinizer05 | N900 is basicaly unbrickable, so safety of 0xFFFF is almost only a question of host system it runs on | 11:57 |
DocScrutinizer05 | in that regard I think 0xFFFF must be safer than my lazyflashing mess | 11:57 |
DocScrutinizer05 | ~lazyflashing | 11:58 |
infobot | well, lazyflashing is http://wiki.maemo.org/Updating_the_tablet_firmware#The_Lazy_Approach | 11:58 |
DocScrutinizer05 | at least I'm pretty sure 0xFFFF doesn't try LD_PRELOAD tricks ;-P | 11:59 |
KotCzarny | hehe, that statusbar only goes red when value is 0 | 12:00 |
KotCzarny | so with 0mAh reported ;) | 12:01 |
KotCzarny | should be named 'empty' not 'verylow' :P | 12:01 |
KotCzarny | that's with bme_replacement, without it it's set in 0..80 range | 12:02 |
KotCzarny | my bme is 0.8.55+0m5 though | 12:03 |
KotCzarny | weird | 12:03 |
DocScrutinizer05 | peetah: you nevertheless might want to give lazyflashing a try, and pester me if it doesn't help you | 12:05 |
peetah | ~lazyflashing | 12:07 |
infobot | well, lazyflashing is http://wiki.maemo.org/Updating_the_tablet_firmware#The_Lazy_Approach | 12:07 |
*** xy2_ has quit IRC | 12:07 | |
*** xy2_ has joined #maemo | 12:21 | |
*** jon_y has quit IRC | 12:45 | |
*** phlixi has joined #maemo | 12:49 | |
*** phlixi_ has quit IRC | 12:49 | |
*** clopez has quit IRC | 13:07 | |
*** spiiroin has quit IRC | 13:24 | |
*** eMHa_ has quit IRC | 13:35 | |
*** spiiroin has joined #maemo | 13:53 | |
*** sunshavi has joined #maemo | 14:06 | |
*** jon_y has joined #maemo | 14:24 | |
*** xy2_ has quit IRC | 14:25 | |
*** eMHa_ has joined #maemo | 14:30 | |
*** pcfe has quit IRC | 14:35 | |
*** jon_y has quit IRC | 14:36 | |
*** jon_y has joined #maemo | 14:42 | |
*** Enrico__ has joined #maemo | 14:43 | |
Enrico__ | Hello, I'm still trying to install NITDroid on my N900. Don't want to bother anybody, but if you may help... | 14:48 |
*** chainsawbike has quit IRC | 14:50 | |
*** jon_y has quit IRC | 14:50 | |
*** jon_y has joined #maemo | 14:50 | |
*** xkr47_ has quit IRC | 15:21 | |
*** xkr47 has joined #maemo | 15:25 | |
*** chainsawbike has joined #maemo | 15:53 | |
*** troulouliou_div2 has joined #maemo | 16:01 | |
*** NotKit has joined #maemo | 16:11 | |
*** TheKit has quit IRC | 16:14 | |
*** TheKit has joined #maemo | 16:20 | |
*** NotKit has quit IRC | 16:24 | |
*** eMHa_ has quit IRC | 16:32 | |
*** hurrian has joined #maemo | 16:46 | |
*** hurrian_ has quit IRC | 16:47 | |
*** troulouliou_div2 has quit IRC | 17:15 | |
*** guerby has quit IRC | 17:23 | |
*** guerby has joined #maemo | 17:25 | |
*** eMHa_ has joined #maemo | 17:34 | |
*** zGrr has joined #maemo | 17:40 | |
*** Enrico__ has quit IRC | 17:59 | |
*** clopez has joined #maemo | 18:01 | |
*** Pali has joined #maemo | 18:25 | |
*** Enrico__ has joined #maemo | 18:37 | |
*** sunshavi has quit IRC | 18:39 | |
Enrico__ | Hello, I am reading the following page: | 18:39 |
Enrico__ | https://wiki.maemo.org/Nitdroid_easy_install_on_EMMC | 18:39 |
Enrico__ | There's a simplified procedure for installing NITDroid on the N900. However links called by the installer are broken. | 18:40 |
Enrico__ | I have been able to find some packages here: | 18:40 |
Enrico__ | http://repository.maemo.org/extras/pool/fremantle/ | 18:40 |
Enrico__ | But when trying to install kernel-power-settings, two more packages are required, namely: | 18:41 |
Enrico__ | kernel-feature-overclock | 18:41 |
Enrico__ | kernel-feature-smartreflex | 18:41 |
Enrico__ | They are not in the mentioned repository. Does anybody know where to find them? | 18:42 |
*** florian has quit IRC | 18:43 | |
*** dafox has joined #maemo | 18:46 | |
freemangordon | Enrico__: those are provided by kernel-power package | 18:48 |
*** pcfe has joined #maemo | 18:48 | |
*** pcfe has quit IRC | 18:48 | |
*** pcfe has joined #maemo | 18:48 | |
freemangordon | or kernel-power-flasher, can't remember | 18:48 |
Enrico__ | I already installed kernel-power. So probably I need kernel-power-flasher. I will try soon. | 18:49 |
freemangordon | Enrico__: why not use HAM to install stuff? it will pull the required dependencies for you | 18:50 |
Enrico__ | You mean the package manager? | 18:51 |
Enrico__ | (Once started up Maemo, in the graphical environment?) | 18:51 |
freemangordon | yes | 18:51 |
Enrico__ | It does not work. Sits there and doesn't download anything. | 18:51 |
freemangordon | HAM == hildon-application-manager | 18:51 |
freemangordon | give it some time, like 10 minutes :) | 18:51 |
Enrico__ | Ah sorry. DIdn't know the acronymous. | 18:52 |
Enrico__ | 10 minutes??? | 18:52 |
freemangordon | if you want it to be fast, install CSSU | 18:52 |
freemangordon | ~speedyham | 18:52 |
infobot | SpeedyHAM is 30 times faster than HAM http://maemo.merlin1991.at/cssu/community-devel/pool/free/h/hildon-application-manager/hildon-application-manager_2.2.73-2_armel.deb. SpeedyHAM is included in CSSU now | 18:52 |
Enrico__ | Ok ok I can wait... I just thought it didn't find anything! | 18:52 |
Enrico__ | And what about multiboot-kernel-maemo and multiboot-kernel-power? Same way? | 18:53 |
freemangordon | also, stock HAM tries to use Nokia repos, which are dead for a long time | 18:53 |
freemangordon | multiboot is deprecated | 18:53 |
*** LjL has quit IRC | 18:53 | |
freemangordon | also, never used it so dunno | 18:53 |
Enrico__ | I tried with u-boot, but created many problems. | 18:54 |
freemangordon | u-boot is the way | 18:54 |
freemangordon | shouldn;t create any problems | 18:54 |
Enrico__ | Ok. The problems are: | 18:54 |
freemangordon | you just neet to install the required -bootimg (like kernel-power-bootimg) and it will created the needed entries for you | 18:54 |
freemangordon | *create | 18:55 |
Enrico__ | - first, the interface. I have been unable to access it by usb, so I have to manage by the small N900 keyboard and screen | 18:55 |
freemangordon | which interface? | 18:56 |
Enrico__ | - and the keyboard mapping is not standard | 18:56 |
Enrico__ | I mean the shell. | 18:56 |
Enrico__ | Sorry bad language. | 18:56 |
freemangordon | u-boot shell? why do you need it at first? | 18:56 |
freemangordon | *first place | 18:56 |
Enrico__ | I am trying to understand how it works. Just to be able to put files where I want. | 18:57 |
freemangordon | ah, I see | 18:57 |
freemangordon | ~uboot | 18:57 |
infobot | N900 uBoot is a siamese twin binary [uBoot+stockMaemoKernel] that resides in kernel NAND partition /dev/mtd3 aka "kernel". You can't uninstall it, rather you'll nuke it when you flash/install another kernel like stock maemo kernel or powerkernel. To start other than stock maemo kernel via uBoot, you have to provide the according kernel image files, or http://talk.maemo.org/showthread.php?t=81613 | 18:57 |
*** LjL has joined #maemo | 18:57 | |
freemangordon | Enrico__: look at ^^^ | 18:57 |
freemangordon | the thread at TMO I mean | 18:57 |
Enrico__ | I am reading. | 18:57 |
freemangordon | also, install kernel-power-bootimg, to give you an example on how to create u-boot entry | 18:58 |
freemangordon | you just copy it, edit to your needs, run u-boot-update-bootmenu and thats it | 18:58 |
Enrico__ | Ok I already understood something about u-boot in the last few days. I didn't find the name of the NAND partition, now I have it. Thanks for that. | 18:59 |
freemangordon | Enrico__: look in /etc/bootmenu.d | 18:59 |
freemangordon | NAND? | 18:59 |
freemangordon | are you sure? | 18:59 |
Enrico__ | What is written a bit up? Not "kernel NAND partition"? | 19:00 |
freemangordon | there are 5 OneNAND partiotion, and all of them are used by maemo | 19:00 |
freemangordon | Enrico__: read the thread, it is all there | 19:00 |
Enrico__ | A minute... | 19:00 |
freemangordon | Enrico__: /me gtg, ping Pali if you need help re u-bbot | 19:01 |
freemangordon | *u-boot | 19:01 |
Enrico__ | I already had many talks with Pali. Also via email. He helped me to unbrick my device. | 19:01 |
freemangordon | as expected :) | 19:02 |
Enrico__ | But he says he does not know about NITDroid. | 19:02 |
freemangordon | actually he is the u-boot maintainer | 19:02 |
freemangordon | me neither, sorry | 19:02 |
freemangordon | anyway, bye | 19:02 |
*** shentey has joined #maemo | 19:02 | |
Enrico__ | I know. But NITDroid has not any automatic procedure for installing on u-boot. | 19:02 |
Enrico__ | I need to understand how to access the NAND partition where the /root directory is (but that's not mandatory to be honest), and I don't know exactly what to pass to NITDroid through u-boot to obtain a correct startup. | 19:03 |
Enrico__ | I have been able to begin the boot, but NITDroid kernel doesnt' find many things (I think the root directory and the initial file system.) | 19:04 |
*** dafox has quit IRC | 19:19 | |
KotCzarny | xes, why does tmo direct link to post breaks formatting? looks like runaway <center> or something, can it be fixed? | 19:33 |
KotCzarny | in related new, oscp has now manual on tmo | 19:33 |
KotCzarny | *news | 19:33 |
*** Kabouik has joined #maemo | 19:39 | |
*** Venemo has joined #maemo | 19:51 | |
xes | KotCzarny: an example? | 19:53 |
KotCzarny | just any post, for example http://talk.maemo.org/showpost.php?p=1460158&postcount=3 | 19:53 |
xes | KotCzarny: have you tried another browser or a different user agent? | 19:55 |
KotCzarny | hmm, it might be that dark-classic them im using. hrm | 19:55 |
KotCzarny | can you click theme on the bottom? | 19:55 |
KotCzarny | http://i.imgur.com/0SXVxWi.png | 19:56 |
KotCzarny | that's how it looks for me | 19:56 |
xes | yep. It's an issue of the dark theme | 19:57 |
KotCzarny | eh. any chance of fixing that theme? | 19:57 |
*** sunshavi has joined #maemo | 19:57 | |
*** shentey has quit IRC | 19:58 | |
KotCzarny | <table class="tborder" id="post1460157" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> | 19:58 |
xes | i will try.. | 19:58 |
KotCzarny | this looks like a culprit | 19:58 |
KotCzarny | and while it might be genuinely used for centering post on the screen, that classic themes might miss uncentering the content after that | 19:59 |
KotCzarny | why not just scroll to post instead of displaying single-post? | 20:00 |
*** shentey has joined #maemo | 20:01 | |
KotCzarny | ie. those little links on thread would look better this way: http://talk.maemo.org/showthread.php?t=94590#postcount1460158 | 20:03 |
KotCzarny | and has a bonus of being able to read previous/next posts without changing page | 20:03 |
KotCzarny | btw. that last link already works | 20:04 |
*** shentey_ has joined #maemo | 20:10 | |
*** atk is now known as atk-pbot | 20:13 | |
*** dafox has joined #maemo | 20:14 | |
*** atk-pbot is now known as atk | 20:14 | |
DocScrutinizer05 | showpost is fubar, s/post/thread/ and you're fine | 20:19 |
DocScrutinizer05 | literally | 20:19 |
DocScrutinizer05 | actually showpost always been fubar | 20:20 |
*** Kabouik has quit IRC | 20:34 | |
*** zGrr has quit IRC | 20:52 | |
*** Kabouik has joined #maemo | 21:00 | |
*** jskarvad has quit IRC | 21:19 | |
*** Enrico__ is now known as Enrico_Menotti | 21:27 | |
*** shentey has quit IRC | 21:32 | |
*** Venemo has quit IRC | 21:41 | |
*** louisdk has joined #maemo | 22:44 | |
*** florian_ has joined #maemo | 22:45 | |
*** florian_ is now known as florian_kc | 22:46 | |
*** florian_kc has joined #maemo | 22:46 | |
*** florian_kc is now known as florian | 22:46 | |
*** Kabouik has quit IRC | 22:48 | |
*** jonwil has joined #maemo | 23:00 | |
Pali | FUCK OFF PULSEAUDIO!!! | 23:50 |
Pali | kernel: [14525.614165] pulseaudio[5521]: segfault at 18 ip 00007ff7a1cd16d9 sp 00007ffdad0eefb0 error 4 in libpulsecore-5.0.so[7ff7a1c6f000+8f000] | 23:50 |
Pali | it crashed | 23:50 |
*** Cor-Ai_ has joined #maemo | 23:51 | |
Pali | and now when I want to start it again it again it just show me error message: N: [pulseaudio] main.c: User-configured server at {b80eeeba890737b39f0c899a00000008}unix:/tmp/pulse-AcBAanBtuBoD/native, refusing to start/autospawn. | 23:51 |
Pali | and nothing is running | 23:51 |
Pali | so no sound | 23:51 |
Pali | great software... looks like if it do not do clean shutdown, then it is not possible to start it again | 23:52 |
*** Cor-Ai has quit IRC | 23:53 | |
*** Cor-Ai_ is now known as Cor-Ai | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!