| Wizzup | amunizp: sorry, I saw your message too late and had already aproved them | 00:27 |
|---|---|---|
| freemangordon | dsc_: maybe filter buttons should be check buttons, otherwise it is not clear which filter is currently active | 07:45 |
| freemangordon | dsc_: if you add "New IM" / "New SMS" buttons, I'll implement abook contact selection | 07:49 |
| freemangordon | Wizzup: oh, you have implemented the animation :) | 09:33 |
| freemangordon | dsc_: Wizzup: an idea about conversations filtering - instead of using menu, could we do it like colendar | 09:40 |
| freemangordon | *calendar | 09:40 |
| freemangordon | again, in the menu, there is a stripe on top with 'Month', 'Week', etc | 09:40 |
| freemangordon | we can do the same with "All", "Irc", "jabber", etc | 09:41 |
| freemangordon | that way we'll have one step less | 09:41 |
| freemangordon | this https://doc.qt.io/qt-6/qmenubar.html | 09:43 |
| freemangordon | adressbook is using it too, to change the contacts order etc | 09:45 |
| freemangordon | Wizzup: what about https://pastebin.com/PwLqKL4m | 09:47 |
| freemangordon | oh, this is QActionGroup | 09:52 |
| uvos__ | Wizzup: its really really great | 10:00 |
| uvos__ | something like featherpad feals like a native application now | 10:00 |
| uvos__ | i guess a small nice to have would be for it to scroll when its too large for the screen | 10:01 |
| uvos__ | but otherwise its a big improvement for useablility | 10:01 |
| freemangordon | dsc_: this https://pastebin.com/gYSi343M | 11:04 |
| freemangordon | just POC, but you'll get the idea | 11:04 |
| freemangordon | dsc_: https://imgur.com/a/CM9Dl8C | 11:08 |
| freemangordon | unic0rn: that should fix your 3-taps inconvenience a bit ^^^ | 11:09 |
| uvos__ | what shall happen when there are lots of accounts? | 11:10 |
| freemangordon | lemme check :) | 11:11 |
| freemangordon | how many is many? | 11:11 |
| freemangordon | 10? | 11:11 |
| uvos__ | idealy it would somehow support any nummber | 11:11 |
| uvos__ | but 10 would cover most | 11:11 |
| freemangordon | https://imgur.com/a/CM9Dl8C | 11:14 |
| freemangordon | :D | 11:14 |
| freemangordon | but that can be fixed | 11:14 |
| freemangordon | I am sure we can extend the group vertically | 11:14 |
| uvos__ | yeah | 11:15 |
| uvos__ | ideally then the menu itself would start scrolling at some point | 11:15 |
| freemangordon | mhm | 11:15 |
| uvos__ | but yeah this is nice as is | 11:15 |
| uvos__ | or better at least | 11:15 |
| freemangordon | yeah, better | 11:15 |
| freemangordon | we shall extend QMaemo5ApplicationMenu::layoutForButton to support multiple rows of buttons, IIUC | 11:19 |
| freemangordon | or we can simply add another group for every 5 accounts | 11:21 |
| Wizzup | uvos__: hm we could add some scrollable area or something | 11:21 |
| Wizzup | freemangordon: no I didn't implement the animation | 11:21 |
| Wizzup | freemangordon: so I talked about this with dsc and if you get 10 different protocols it clutters the main menu too much | 11:22 |
| Wizzup | oh I see uvos asked my question already | 11:22 |
| * Wizzup starts drinking coffee | 11:22 | |
| freemangordon | Wizzup: we can add more that one group | 11:24 |
| freemangordon | or fix platform plugin to do multiple rows if one is not enough | 11:24 |
| freemangordon | so with 2 rows can easily have 10 protocols | 11:25 |
| Wizzup | I still think it's too much clutter | 11:26 |
| freemangordon | look at https://imgur.com/a/CM9Dl8C | 11:26 |
| Wizzup | in portrait mode right now, if you add the current filters, it will already exceed my screen size | 11:26 |
| freemangordon | that's on 848x490 | 11:26 |
| freemangordon | ok, but that's with a single line | 11:27 |
| freemangordon | won;t happen with multiple linies | 11:27 |
| Wizzup | I suppose this can work yeah, but imo still, with lots of protocols itn ca get a bit messy | 11:28 |
| Wizzup | the same is true ultimately for all three options we've had | 11:28 |
| freemangordon | ok, I think is better, but not going into fight for it :) | 11:28 |
| freemangordon | if you use menu, it is even worse | 11:29 |
| freemangordon | because there you use 1 line for 2 protocols | 11:29 |
| freemangordon | *accounts | 11:29 |
| freemangordon | while with group you may have 4 or 5 | 11:29 |
| Wizzup | yeah I agree the action group can be an option, but in portrait mode it might not be that great | 11:29 |
| freemangordon | rigth, but still be better than menu | 11:29 |
| Wizzup | (calendar does not seem to do portrait so I can't check there) | 11:29 |
| Wizzup | hmmm not really if it's all put in one row | 11:30 |
| freemangordon | because with menu you have a line per account | 11:30 |
| freemangordon | (12,24,28) freemangordon: Wizzup: we can add more that one group | 11:30 |
| freemangordon | (12,24,51) freemangordon: or fix platform plugin to do multiple rows if one is not enough | 11:30 |
| Wizzup | even month|weeks|agenda|tasks|notes is stretching it | 11:30 |
| Wizzup | well I'm fine either way I guess, for now the submenu for me was the easiest way to do this | 11:31 |
| freemangordon | see https://imgur.com/a/5bnCMFm | 11:31 |
| freemangordon | this is without changing the platform plugin | 11:32 |
| freemangordon | just adding second group | 11:32 |
| freemangordon | Wizzup: please have a loop at qpa patch I posted ^^^ | 11:32 |
| Wizzup | freemangordon: patch looks like, feel free to commit | 11:34 |
| Wizzup | also you can as far as I am concerned just push these to another branch instead of pastebinning ti, but whatever works | 11:34 |
| Wizzup | uvos__: let me try this featherpad | 11:34 |
| freemangordon | ok, but later on, have to run now | 11:34 |
| Wizzup | ttyl | 11:35 |
| freemangordon | well, new branch for such a patch looks like an overkill to me | 11:35 |
| freemangordon | ttyl | 11:35 |
| Wizzup | branches are cheap, they point to a commit :) | 11:35 |
| Wizzup | but sure | 11:35 |
| freemangordon | yeah, but I have to waste time to delet them later | 11:35 |
| freemangordon | anyway | 11:35 |
| Wizzup | freemangordon: uvos__: with the qmenu sub menus being supported, should we attempt to hide the qmenubar by default? | 11:36 |
| freemangordon | Ithink yes | 11:37 |
| uvos__ | Wizzup: yes deffinatly | 11:53 |
| uvos__ | i am hideing it with ctrl-m everywhere this is supported | 11:53 |
| uvos__ | pcmanfm-qt is also very nice with this menu | 11:53 |
| Wizzup | cool, I'll see if I can figure out if we can hide the menus somehow | 11:56 |
| amunizp | OK I now see the welcome to Leste page on the n900 I did not see that before. got excited and unplugged the phone. | 11:56 |
| Wizzup | amunizp: are you struggling with the lock code still? I saw your email, I am a bit surprised, I don't know what else would prefer the lock code, you're sure it's not the pinm dialog I guess? | 11:57 |
| Wizzup | uvos__: btw, so you agree that headset works for HiFi, just not for calls, right? | 11:57 |
| Wizzup | on mapphones | 11:57 |
| Wizzup | at least in pulseaudio I think I saw a headset mic show up and I think it responded to me tapping the headset mic, but I am not 100% sure | 11:57 |
| Wizzup | I understand there's kernel work to do, just trying to understand the scope | 12:05 |
| Wizzup | I try to regulary have calls when I'm riding my bicycle for an hour or two and it's really hard to do this on speaker or handset, so I have some motivation to fix it :D | 12:05 |
| amunizp | hi @Wizzup I am now logged into the n900 and I even ran the expandcard.sh | 12:08 |
| amunizp | the problem I guess is that I was able to boot leste by connecting to my ubuntu machine but the lock code will probably go on again if I reboot the n900 and try to log into it. | 12:10 |
| amunizp | can I get to the original partition from within leste? | 12:10 |
| amunizp | maybe /etc/X11/Xsession.d/04devlock-blocker might be there and not in the new leste installation? | 12:14 |
| uvos__ | Wizzup: i dont know if i ever tried that, but in theroy it should work for hifi, yes | 12:14 |
| uvos__ | we cant determine between headset and handset on plug | 12:15 |
| uvos__ | so you may have to change the mixers by hand | 12:15 |
| uvos__ | the hp type information is acessed by android through a cpcap-mcu macro that writes some values into a mailbox somewhere | 12:16 |
| uvos__ | the manline kernel dosent support any of that | 12:16 |
| Wizzup | freemangordon: uvos__: this works fwiw https://github.com/maemo-leste/qt-platform-maemo/commit/08d6513e022677912584c5331fc3245643e51af7 | 12:19 |
| Wizzup | uvos__: I understand, thank you, the cpcap-mcu info part was missing for me | 12:20 |
| amunizp | Ok tried finding the original maemo instalation in /mnt but nothing is there. | 12:20 |
| Wizzup | I should do a bit more checking but I think pavucontrol was able to (somehow?) differentiate | 12:20 |
| Wizzup | amunizp: so if you're in leste then you're mostly there | 12:21 |
| Wizzup | amunizp: just run the tools to crack the lock code that I linked earlier | 12:21 |
| uvos__ | Wizzup: it should work fine besides not autodetecting | 12:22 |
| Wizzup | ok | 12:22 |
| Wizzup | and for calls, do we just lack the alsamixer control to have the right regs set? | 12:22 |
| amunizp | ah OK if I did the expansion it is safe to connect to wifi? | 12:22 |
| Wizzup | (and the corresponding kernel/driver parts for the cotnrol) | 12:22 |
| uvos__ | Wizzup: probubly unless you also need to tell the modem about it (probubly not) | 12:22 |
| Wizzup | amunizp: sure, should be, why would it not be? | 12:22 |
| Wizzup | uvos__: ok, ty | 12:22 |
| amunizp | something about makin sure there is swap? | 12:27 |
| Wizzup | amunizp: I think there should be swap set up now, is there not? | 12:29 |
| Wizzup | amunizp: for this 'cal' where the lock code is stored is accessible directly from leste, you don't need to find the fremantle partitions AFAIK | 12:29 |
| amunizp | The welcome text is inviting me to install zram-tools but I guess I need wifi for that. | 12:29 |
| Wizzup | I think you can ignore this, this text is generic | 12:30 |
| Wizzup | swap should be set up already | 12:30 |
| amunizp | cool | 12:30 |
| Wizzup | just type 'free' in terminal | 12:30 |
| amunizp | yep 746428 total swap | 12:30 |
| amunizp | thanks! | 12:31 |
| Wizzup | cool | 12:31 |
| amunizp | not sure I understand this: for this 'cal' where the lock code is stored is accessible directly from leste, you don't need to find the fremantle partitions AFAIK | 12:31 |
| dsc_ | freemangordon: ah cool @ checkable | 12:32 |
| amunizp | /etc/X11/Xsession.d/04devlock-blocker this file is not there. | 12:32 |
| dsc_ | freemangordon: i like it | 12:34 |
| dsc_ | qscrollarea exists for scrolling stuff, maybe a good idea there | 12:37 |
| Wizzup | amunizp: so the lock code is stored on special part of flash or something | 12:37 |
| Wizzup | amunizp: and you can access it from userspace using some tools | 12:37 |
| Wizzup | and then you jus need to read the lock code hash with the tools and then use john (the ripper) to crack it to get your lock code back | 12:38 |
| Wizzup | I am not intimitaly familiar with the details but others might have more concrete info | 12:38 |
| amunizp | got it at moment the recoverlock package is not there. I will try the other one. | 12:39 |
| amunizp | I washoping to just get into the special part of the flash and just delete it. not really interested in recovering. | 12:39 |
| Wizzup | yeah the package I linked is part of the original maemo | 12:42 |
| Wizzup | I would just download the _all.deb, extract it, and look at the script | 12:42 |
| Wizzup | it might just work | 12:42 |
| amunizp | Ok i will try wget. had forgotten how patient I was 10 years ago typing this stuff out. | 12:43 |
| Wizzup | I think what do you for .deb kpkgs is | 12:45 |
| Wizzup | mkdir mypkg; | 12:45 |
| Wizzup | ar x /path/to/pkg | 12:45 |
| Wizzup | tar xf data.tar.gz | 12:45 |
| Wizzup | and then you should have the _all.deb pkg contents | 12:46 |
| sicelo | Wizzup: dpkg-deb -x your_deb.deb out_dir/ :-) | 12:53 |
| Wizzup | or that :D | 12:53 |
| amunizp | oh. I think I see what you mean I did sudo dpkg on the deb package and it asked for john. John now is asking for john-data... I will pull this thread and if it does not get anywhere I will try to extract | 12:53 |
| Wizzup | if sudo dpkg -i works that is fine too | 12:54 |
| Wizzup | then just run apt-get install -f | 12:54 |
| sicelo | or -R (instead of -x) if you need the control files, etc. | 12:54 |
| Wizzup | and it might just pull john and john-data | 12:54 |
| Wizzup | looks like it should | 12:54 |
| Wizzup | The following additional packages will be installed: john-data | 12:55 |
| Wizzup | The following NEW packages will be installed: john john-data | 12:55 |
| amunizp | apt-get install -f seems to be working fetching john and john-data thanks! | 12:55 |
| amunizp | recoverlock returned error exit status 127 | 12:56 |
| amunizp | hum ran it anyway. | 12:57 |
| amunizp | hahaha | 12:57 |
| amunizp | begining to crack (...) Done! Your lock code should be : awk: cannot open /tmp/lockcode.pot (no such file or directory) rm: cannot remove (...) | 12:59 |
| Wizzup | what was the error when trying to finish the install | 13:04 |
| amunizp | the post removal script subprocess trunred error exit status 127 @Wizzup | 13:06 |
| amunizp | update-sudoers:not found | 13:07 |
| Wizzup | dpkg -L recovercode and maby see if you need to run it as root | 13:10 |
| amunizp | it then trys to script from new package instead and hits the same problem: post removal script sub process returned error exist status 127 | 13:10 |
| Wizzup | yes, this is expected, this is just debian stuff | 13:10 |
| Wizzup | debian/postinst fails since we don't use update-sudoers anymore for a long time | 13:10 |
| Wizzup | but it might not be fatal, you just need to sniff around a bit | 13:11 |
| amunizp | using sudo dpkg -L says package recoverlock(...).deb is not installed and ofers me to look at conents | 13:12 |
| Wizzup | sorry, I would just extract the script and run it as sudo. | 13:13 |
| Wizzup | It'll take a lot more time to somehow try to fix this the 'proper' way | 13:13 |
| amunizp | haha OK let me do that then. | 13:13 |
| Wizzup | if someone is inclined they can take the _all.deb pkg and repackage it for leste | 13:14 |
| Wizzup | then we can fix the postinst while we're at it | 13:14 |
| sicelo | amunizp: you're running this under leste? or fremantle? | 13:15 |
| Wizzup | leste | 13:15 |
| amunizp | leste. I can't get into fremantle. @sicelo | 13:15 |
| Wizzup | amunizp: did you try to just run the recoverlock script as root | 13:16 |
| amunizp | yes sudo recoverlock give the same result. | 13:16 |
| amunizp | funny that it runs at all given that dpkg says it is not installed. | 13:17 |
| sicelo | no idea if leste is able to find/read the correct place in mtd. did you try rescueOS? | 13:17 |
| Wizzup | leste can read cal. | 13:18 |
| amunizp | I was going to but I lost the name of it after I had to restart computer and lost IRC convo. | 13:18 |
| Wizzup | we have irc logs, see the topic | 13:18 |
| Wizzup | sicelo: leste can ask for pin and verify it, so it can access cal | 13:18 |
| sicelo | ah, yes | 13:19 |
| amunizp | ohh. irc logs and topics I had really forgotten all about this. thanks. | 13:20 |
| amunizp | OK since I am here let me follow the depack path for a bit | 13:20 |
| amunizp | OK extracted and found recoverlock under user/bin | 13:24 |
| Wizzup | maybe just analyse the script and see what it does | 13:25 |
| Wizzup | then you cna maybe see what goes wrong | 13:25 |
| Wizzup | brb | 13:25 |
| sicelo | where's the deb? i'd like to have a look as well | 13:25 |
| amunizp | ran it in the folder $sudo ./recoverlock and I get the same error as before. | 13:26 |
| amunizp | http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_i386/recoverlock/0.7/ | 13:26 |
| amunizp | might as well inspect contents from my computer rather than the small little screen haha | 13:27 |
| amunizp | hum looks like I just need to find this *.pot file | 13:28 |
| amunizp | -format:DES -incremental:digits --nolog --pot=/tmp/lockcode.pot /tmp/lockcode > /dev/null 2>&1 | 13:29 |
| amunizp | echo -n 'Done! Your lock code should be: ' | 13:29 |
| amunizp | oh wait it says that it is not there. | 13:29 |
| amunizp | root:$(grep -A 13 lock_code /dev/mtd1|tail -n 1): > /tmp/lockcode | 13:30 |
| amunizp | so I need to check out /deb/mtd1 | 13:30 |
| amunizp | mtd1 is empty. | 13:31 |
| sicelo | /dev/mtd1 :-) | 13:33 |
| sicelo | add `set -x` at the beginning of the script so you can see where things fail | 13:34 |
| amunizp | yeah /dev/mtd0 and mtd0ro also empty. | 13:34 |
| amunizp | it does not create the file. the script is actually only 5 lines or so. | 13:35 |
| sicelo | mtd can't be empty | 13:35 |
| sicelo | you'd be having serious issues in that case | 13:35 |
| sicelo | you're running as root? | 13:35 |
| Wizzup | maybe reboot and see if it is empty | 13:36 |
| Wizzup | maybe something hosed the devtmpfs | 13:36 |
| Wizzup | sicelo: it might be that mtd is not loaded | 13:36 |
| Wizzup | wait | 13:36 |
| amunizp | cd into /dev folder | 13:36 |
| amunizp | then I do ls | 13:36 |
| Wizzup | https://leste.maemo.org/Nokia_N900#Accessing_MTD | 13:36 |
| amunizp | see all the mtd there. | 13:36 |
| Wizzup | can you check out the wiki? | 13:36 |
| Wizzup | (link above) | 13:37 |
| sicelo | you don't need to mount it actually | 13:37 |
| Wizzup | yes, of course | 13:37 |
| Wizzup | but at least check cat /proc/mtd | 13:37 |
| sicelo | what do you have in /tmp/lockcode (i.e. not .pot)? | 13:39 |
| amunizp | Ok thanks! bootloader, confit, log, kernel, initfs, roootfs | 13:39 |
| amunizp | but the apt install mtd-utils fails because recoverlock needs to be rreinstalled. | 13:40 |
| sicelo | you don't need mtd-utils | 13:40 |
| * sicelo suspects john's arguments work differently now ... | 13:41 | |
| sicelo | what do you have in /tmp/lockcode (i.e. not .pot)? | 13:41 |
| amunizp | there is'nt a file called lockcode in /tmp | 13:41 |
| sicelo | there should be, after you've run the script | 13:42 |
| amunizp | right? I am also puzzled. | 13:42 |
| sicelo | did you `set -x` ? | 13:42 |
| amunizp | I think I need to make sure those mtd are there. | 13:42 |
| sicelo | the mtd are there of course :-) | 13:43 |
| sicelo | 13:39 < amunizp> Ok thanks! bootloader, confit, log, kernel, initfs, roootfs <<< here they are | 13:43 |
| sicelo | cal (where pin is) is the "config" partition | 13:44 |
| sicelo | that's what you're after | 13:44 |
| amunizp | OK that should be mtd1. | 13:44 |
| Wizzup | I think he's saying that /dev/mtd1 being empty is the problem, no? | 13:45 |
| Wizzup | I don't know if ti's actually empty of course | 13:45 |
| amunizp | OK | 13:46 |
| amunizp | I was doing nano on mtd1 and it was looking empty. | 13:46 |
| sicelo | no, it's not a file in that sense :-) | 13:46 |
| amunizp | so I did $ sudo cat mtd1 and I got loads of ??? | 13:46 |
| sicelo | you can `cat /dev/mtd1` though | 13:47 |
| amunizp | so the script seems to take out the tail of that file. | 13:47 |
| sicelo | anyway, it just can't be empty ... for the same reason - your pin is there, so if device knows you have a pin, it means your mtd1 is in good shape (somewhat) | 13:47 |
| amunizp | OK lemme try runnig this directly: sudo (grep -A 13 lock_code /dev/mtd1|tail -n 1): > /tmp/lockcode | 13:48 |
| amunizp | ohh. how to I get | on the n900 keyboard? | 13:50 |
| Wizzup | I think blue arrow and then sym/ctrl button | 13:50 |
| amunizp | haha that did something wierd to the cursor. | 13:51 |
| Wizzup | are you sure? it should bring up the special keys keyboard | 13:51 |
| Wizzup | press the blue array on the left, and then button baove it | 13:51 |
| Wizzup | above it* | 13:51 |
| amunizp | where should I be seeing the special keys? I ssee ctrl, tab, ex , pgup pgdn | 13:54 |
| Wizzup | it will pop up when you press the key combination that I mentioned | 13:54 |
| * Wizzup boots his leste n900 to verify | 13:54 | |
| amunizp | really apreciate this hand holding. | 13:55 |
| amunizp | great. should have not installed recoverlock now because it is in a limbo I cannot sudo apt update. because it is asking for me to reinstall recoverlock. I even tried | 14:07 |
| amunizp | sudo dpkg –-remove –-force-remove-reinstreq recoverlock with the same result. | 14:07 |
| amunizp | "I can't find an archive for it" | 14:09 |
| amunizp | I can't seem to be able to remove it gonna try to just open /var/lib/dpkg/status file as root and remove the corresponding entry from it. https://askubuntu.com/a/1349608/36396 | 14:22 |
| Wizzup | wait.. | 14:23 |
| amunizp | ok | 14:23 |
| Wizzup | did you try 'apt-get remove recoverlock' | 14:23 |
| amunizp | yes. | 14:23 |
| Wizzup | sudo dpkg -r recoverlock ? | 14:23 |
| amunizp | and the -force option | 14:23 |
| Wizzup | sudo dpkg --force-all -r recoverlock ? | 14:23 |
| amunizp | and the force-all | 14:23 |
| Wizzup | with dpkg? | 14:23 |
| amunizp | yep. | 14:23 |
| Wizzup | and what does it say | 14:24 |
| amunizp | and sudo | 14:24 |
| Wizzup | well it always has to do be sudo. | 14:24 |
| amunizp | can't find an archive to it. that I need to reinstall it. | 14:24 |
| Wizzup | amunizp: I just tried the blue arrow + sym/ctrm and it works for me in terminal | 14:24 |
| amunizp | ok lemme transcrive. | 14:24 |
| Wizzup | you don't have ssh access yet? | 14:25 |
| amunizp | no not yet. | 14:25 |
| Wizzup | if you are connected to wifi it should be simple | 14:25 |
| amunizp | OK if it involves installing new packages I will not be able until I do the part of removing the package. | 14:26 |
| Wizzup | it does not | 14:26 |
| Wizzup | you just connect to wifi and then ssh to the device from your laptop/computer | 14:27 |
| amunizp | OK lemme look up how this is done. in a minute. I would like to know why blue arrow plus sym does not show me the keyboard. | 14:28 |
| Wizzup | you are pressing that in the x terminal yes? | 14:28 |
| amunizp | yep | 14:28 |
| Wizzup | maybe you're not pressing the right buttons? | 14:28 |
| Wizzup | sorry that's all I can think of :D | 14:29 |
| amunizp | haha only so many buttons to press. | 14:29 |
| amunizp | the one on the top left second and the one under that first. | 14:29 |
| amunizp | blue arrow so that I can use the blue caracters. I am able to type numbers 1, 2, 3, ... | 14:30 |
| amunizp | anc ctrl works when I quit out of nano ctrl + x | 14:30 |
| amunizp | but blue arrow plus Sym/ctrl does not bring anything new on the screen. | 14:31 |
| amunizp | OK so ssh might be what I need to do. | 14:32 |
| Wizzup | really strange | 14:33 |
| amunizp | hum what is the toor password. ? or did I understand it wrong? | 14:37 |
| amunizp | ant toor is the password for root. | 14:37 |
| amunizp | OK I am in as user. | 14:38 |
| amunizp | this will speed things up! haha | 14:38 |
| dsc_ | lol :) | 14:38 |
| amunizp | $ sudo grep -A 13 lock_code /dev/mtd1|tail -n 1 | 14:40 |
| amunizp | grep: /dev/mtd1: binary file matches | 14:40 |
| amunizp | 14:40 | |
| sicelo | maybe try something like `sudo cat /dev/mtd1 | grep -A 13 lock_code | tail -n 1` | 14:41 |
| Wizzup | ooh | 14:41 |
| Wizzup | no, wait | 14:41 |
| Wizzup | add -a to grep | 14:41 |
| Wizzup | grep -a -A 13 lock_code | 14:41 |
| Wizzup | -a is --text | 14:41 |
| Wizzup | this way it won't just say 'binary file matches' but it will just print the text | 14:42 |
| Wizzup | this cleverness probably just wasn't present in the busybox at the time | 14:42 |
| amunizp | it gave me loads of question marks | 14:43 |
| amunizp | ������������������������ConFlock_periodG��W�8<���� | 14:44 |
| amunizp | ����ConFlock_enableeg��n�H����� | 14:44 |
| Wizzup | ok, so just chagne the script and add -a there to the grep | 14:44 |
| amunizp | ~$ sudo grep -a -A 13 lock_code /dev/mtd1|tail -n 1 > /tmp/lockcode | 14:45 |
| amunizp | OK it wrote some binary stuff into lockcode. | 14:47 |
| amunizp | let's see john! | 14:47 |
| Wizzup | let's er rip | 14:47 |
| Wizzup | let er rip* | 14:47 |
| Wizzup | sicelo: wonder if it's valauble to repackage recoverlock for leste with this fix | 14:47 |
| amunizp | how many more people will be as stupid as me? | 14:48 |
| Wizzup | I wouldn't worry, we're still working on leste documentation so there's a lot of repeat questions that we end up answering | 14:48 |
| sicelo | it's valuable, yes | 14:48 |
| amunizp | OK lockcode is there but not lockcode.pot | 14:49 |
| amunizp | john -format:DES -incremental:digits --nolog --pot=/tmp/lockcode.pot /tmp/lockcode > /dev/null 2>&1 | 14:50 |
| Wizzup | remove >/dev/null 2>&1 | 14:50 |
| Wizzup | this way you will actually see what is going on | 14:50 |
| amunizp | haha john not found! | 14:50 |
| Wizzup | dpkg -L john | 14:51 |
| Wizzup | ? | 14:51 |
| sicelo | just apt install it :-) | 14:51 |
| amunizp | $ dpkg -L john | 14:51 |
| amunizp | /. | 14:51 |
| amunizp | /etc | 14:51 |
| amunizp | /etc/cron.d | 14:51 |
| amunizp | /etc/cron.d/john | 14:51 |
| Wizzup | heh | 14:52 |
| amunizp | sorry forgot about flooding | 14:52 |
| Wizzup | np | 14:52 |
| Wizzup | I am instlaling john as well | 14:52 |
| sicelo | ah, you said now you can't install stuff? | 14:52 |
| amunizp | I can't install anything | 14:52 |
| amunizp | yep. | 14:52 |
| Wizzup | /usr/sbin/john | 14:52 |
| Wizzup | try that | 14:52 |
| Wizzup | /usr/sbin is not in regular user path iirc | 14:52 |
| amunizp | yep. that is it. it found john. | 14:53 |
| Wizzup | ok, gogogo | 14:53 |
| Wizzup | I will be back in a bit | 14:53 |
| dsc_ | ill be back in a byte | 14:54 |
| amunizp | $ /usr/sbin/john -format:DES -incremental:digits --nolog --pot=/tmp/lockcode.pot /tmp/lockcode | 14:55 |
| amunizp | Unknown option: "--nolog" | 14:55 |
| amunizp | $ /usr/sbin/john -format:DES -incremental:digits --pot=/tmp/lockcode.pot /tmp/lockcode | 14:55 |
| amunizp | Unknown option: "--pot=/tmp/lockcode.pot" | 14:55 |
| amunizp | $ /usr/sbin/john -format:DES -incremental:digits /tmp/lockcode | 14:56 |
| amunizp | Unknown ciphertext format name requested | 14:56 |
| amunizp | --format=NAME force hash type NAME: descrypt/bsdicrypt/md5crypt/ | 14:59 |
| amunizp | bcrypt/LM/AFS/tripcode/dummy | 14:59 |
| amunizp | from the john man page. will try one by one. | 14:59 |
| sicelo | odd that it's complaining about ciphertext format. man page shows DES is supported | 14:59 |
| amunizp | oh . | 14:59 |
| amunizp | I did not see that? | 14:59 |
| sicelo | Allows you to override the ciphertext format detection. Currently, valid format names are DES, BSDI, MD5, BF, AFS, LM. | 14:59 |
| sicelo | ok i'm cheating ... this is `john` from debian sid | 14:59 |
| amunizp | $ /usr/sbin/john -format:descrypt -incremental:digits /tmp/lockcode | 15:00 |
| amunizp | No password hashes loaded (see FAQ) | 15:00 |
| dsc_ | i can take a look if you want (and if you promise you are not north korea) | 15:05 |
| dsc_ | cat /tmp/lockcode.pot | base64 -w0 | 15:05 |
| amunizp | I am not north korea. | 15:06 |
| amunizp | the problem I think I am getting is that lockcode.pot is not being created. | 15:07 |
| amunizp | Oh wait you mean lockcode where the hash is saved? | 15:07 |
| dsc_ | eh sorry I meant /tmp/lockcode probably | 15:08 |
| amunizp | I get a load of ///////////////////////// | 15:08 |
| amunizp | are you north korea? | 15:08 |
| dsc_ | 아니요 | 15:09 |
| dsc_ | oops, I mean no | 15:09 |
| amunizp | it starts with AAAA////// it ends in /////////////8k | 15:09 |
| amunizp | haha | 15:10 |
| dsc_ | cat /tmp/lockcode | base64 -w | 15:10 |
| dsc_ | cat /tmp/lockcode | base64 -w0 | 15:11 |
| amunizp | yeah the latter. | 15:11 |
| Wizzup | dsc_: this is a well treaded path, it just looks like these is some diff in grep and john | 15:13 |
| Wizzup | you can also test this on your own n900 I think | 15:13 |
| Wizzup | bbiab | 15:13 |
| dsc_ | i know, trying to lend a hand | 15:14 |
| freemangordon | dsc_: what is 'checkable' that you like? QActionGroup ? | 15:17 |
| amunizp | OK I think I am not typoing it correctly. --format=NAME force hash type NAME: descrypt/bsdicrypt/md5crypt/ | 15:17 |
| amunizp | bcrypt/LM/AFS/tripcode/dummy | 15:17 |
| amunizp | none work says No Password haches loaded (see FAQ) I will now look for that FAQ. | 15:17 |
| dsc_ | freemangordon: i like this top bar from your screenshot, didnt look too much into the code | 15:18 |
| freemangordon | ok | 15:19 |
| freemangordon | we only have to find a way to maki it working properly for lots of accounts | 15:19 |
| freemangordon | *make | 15:19 |
| amunizp | I find it so strange that I can't just factory reset the n900 phone somehow. | 15:20 |
| amunizp | Ok what if I do sudo ./0xFFFF -m test/u-boot-2013.04-2.bin -f ? | 15:41 |
| amunizp | there is nothing in the original instalation I want to keep. will it still have the pin block? | 15:41 |
| Wizzup | yes. | 15:43 |
| amunizp | Ok have to leave now. I don't know how to turn off the phone. | 15:45 |
| amunizp | ok hold down the button. douh! | 15:46 |
| amunizp | wait it is not off loads of text | 15:47 |
| amunizp | woops forgot to log out from ssh. | 15:48 |
| freemangordon | Wizzup: shall we keep qpa plugin changes in qsubmenu branch or merge it to -devel? | 16:20 |
| arno11 | Wizzup: hi, i'll have time today to look @emulators, so i need your help to have a look in jenkins for pcsx if possible :P | 16:35 |
| Wizzup | freemangordon: qsubmenu is already in devel | 16:36 |
| Wizzup | freemangordon: did you see my code to hide the menus? | 16:36 |
| freemangordon | didn't look as you said it works :) | 16:36 |
| freemangordon | hmm, can't merge | 16:37 |
| freemangordon | Wizzup: hiding code looks ok to me | 16:40 |
| freemangordon | shall I pull to -devel and make a new release? | 16:40 |
| Wizzup | freemangordon: what do you mean can't merge? | 16:47 |
| Wizzup | freemangordon: let me merge the menu hiding and then you can work on master | 16:47 |
| Wizzup | freemangordon: pushed to master | 16:48 |
| freemangordon | oh, ok, lemme see if I can fix it. as I pushed to -devel | 16:48 |
| freemangordon | Wizzup: will force-push -devel | 16:50 |
| Wizzup | freemangordon: no | 16:51 |
| Wizzup | why? | 16:52 |
| Wizzup | your -devel is just outdated | 16:52 |
| freemangordon | because you pushed to master | 16:52 |
| Wizzup | ?? | 16:52 |
| freemangordon | and I pushed to -devel | 16:52 |
| freemangordon | and now they have different commits | 16:52 |
| Wizzup | ok, then just rebase devel on master | 16:52 |
| Wizzup | and if you force push it won't affect me | 16:52 |
| freemangordon | right | 16:53 |
| freemangordon | please try to pull to see if it is ok | 16:53 |
| freemangordon | I will try to implement multi-row QActionGroup | 16:55 |
| Wizzup | freemangordon: no issues pulling | 17:04 |
| freemangordon | great | 17:04 |
| sicelo | amunizp: even flashing uboot to the rootfs won't get around the pin issue | 17:05 |
| sicelo | ... I find it so strange that I can't just factory reset the n900 phone somehow <<< this was the 2009's equivalent of icloud lock (and similar in android world) :-P | 17:06 |
| freemangordon | Wizzup: hmm, there is some issue with font size in the menu | 17:07 |
| freemangordon | font is bigger than those of gtk applications | 17:07 |
| dsc_ | is it 18? | 17:09 |
| dsc_ | pointSize | 17:09 |
| uvos__ | no android device i am aware of ever became unresetable or bricked because of service discontinuation | 17:09 |
| uvos__ | sure specific preinstalled apps/ featrues have | 17:10 |
| freemangordon | dsc_: it is not specific to conversations | 17:10 |
| dsc_ | yes in conversations I was getting 18 as the default pointSize and was wondering why | 17:10 |
| dsc_ | i suspect other Qt apps also get this 18 | 17:11 |
| freemangordon | mhm | 17:11 |
| freemangordon | no idea abut the exact value | 17:11 |
| Wizzup | freemangordon: not on d4 | 17:14 |
| freemangordon | hmm, ok | 17:15 |
| freemangordon | maybe something on the VM | 17:15 |
| sicelo | uvos__: replying to me? what service discontinuation? i was talking about device lock. Android has FRP (or at least used to) | 17:17 |
| amunizp | OK it just thought this. If I ssh into the phone when I boot it from my PC I then bring the mnt1 file back via the ssh tunnel and have a go with john on my pc? | 17:31 |
| amunizp | this is interesting ./0xFFFF -b does not run again after I do it the first time? | 17:36 |
| amunizp | 17:36 | |
| amunizp | $ ./0xFFFF -b | 17:48 |
| amunizp | (...) | 17:48 |
| amunizp | Detected USB device: RX-51 | 17:48 |
| amunizp | Found block device /dev/sdb with id 8:16 | 17:48 |
| amunizp | Error: Cannot open block device /dev/sdb: Permission denied | 17:48 |
| amunizp | Error: No device detected | 17:48 |
| gnarface | well, do you have permission? | 17:52 |
| amunizp | clearly not. | 18:00 |
| gnarface | just chmod it? | 18:01 |
| amunizp | ... not sure I understand. I was able to use the same command this morning @gnarface | 18:04 |
| gnarface | amunizp: well, any number of things may have changed the permissions, did you actually check to see if your user still had access was all i was asking... | 18:06 |
| gnarface | ls -l /dev/sdb | 18:06 |
| gnarface | for that matter usb devices can change order, they're notorious for it in fact, are you sure it's even still /dev/sdb? | 18:07 |
| gnarface | sorry if these are dumb questions, i didn't read the whole scrollback | 18:07 |
| amunizp | humm no such file of directory. | 18:07 |
| amunizp | with me they are not dumb don't you worry. | 18:07 |
| gnarface | interesting, the plot thickens | 18:07 |
| amunizp | technically I should be able to boot again from my pc if I did it once right? | 18:08 |
| gnarface | i assume so yea | 18:08 |
| gnarface | but i also assume stuff in /dev/ might change order on the fly with response to hotplug commands | 18:09 |
| gnarface | there's usually some notice at the tail of the output of dmesg that tells you when it happens thoguh | 18:09 |
| amunizp | do you think I need to do the whole reflashing as in step 3? https://leste.maemo.org/Nokia_N900#Quick because maybe the issue is that I did it when it was already done? and I broke it? | 18:09 |
| gnarface | uh, that i can't be sure | 18:10 |
| gnarface | i see that it says to use sudo | 18:11 |
| gnarface | so maybe you have to be the root user or use sudo | 18:11 |
| gnarface | maybe you need that for ./0xFFFF -b too? just a guess | 18:11 |
| gnarface | oh, hmm, in step 4 it doesn't say so but still... | 18:12 |
| Wizzup | run 0xffff as root | 18:12 |
| gnarface | i dunno, only other thing i can think of is maybe whatever was plugged in as /dev/sdb before got unplugged accidentally? if not physically removed then maybe by a weak contact? | 18:13 |
| amunizp | Found USB device: RX-51 (0x421:0x1c7) in RAW disk mode | 18:14 |
| amunizp | USB device product string: N900 (Storage Mode) | 18:14 |
| amunizp | USB device serial number string: 372041756775 | 18:14 |
| amunizp | Detected USB device: RX-51 | 18:14 |
| amunizp | Found block device /dev/sdb with id 8:16 | 18:14 |
| amunizp | Error: Cannot open block device /dev/sdb: Permission denied | 18:14 |
| amunizp | Error: No device detected | 18:14 |
| amunizp | it is clearly finding it. I moved it to another USB port. | 18:14 |
| gnarface | that was as root or...? | 18:14 |
| amunizp | not root. omg hope that's not it. it will be a big facepalm. | 18:14 |
| gnarface | yea, it's weird that ls -l didn't find it though if this says it did... maybe that's just some mistake in the output? | 18:15 |
| amunizp | Switching to NOLO mode... | 18:15 |
| amunizp | Unplug USB cable, turn device off, press ENTER and plug USB cable again | 18:15 |
| amunizp | interesting. seems to think it is on? | 18:16 |
| gnarface | maybe it's on? | 18:16 |
| gnarface | or maybe it's just another mistake in the output... | 18:16 |
| sicelo | the device should be turned off to use with 0xFFFF... not in Storage Mode | 19:06 |
| dsc_ | regarding scrollback messages, was anyone working on preventing duplicate insertions in the rtcom db? | 21:01 |
| freemangordon | dsc_: Wizzup: what about https://imgur.com/a/zXAhyGV | 21:38 |
| dsc_ | nice | 21:44 |
| amunizp | @sicelo how do I make sure it is not on storage mode. I turned it off and the screen seems off. n900 light is blink but just because it is charging. | 22:03 |
| freemangordon | dsc_: any objections if I push conversations changes that use the above? | 22:05 |
| dsc_ | freemangordon: go for it | 22:09 |
| dsc_ | are nested QMenu->QActions still supported in qt-maemo after this?" | 22:10 |
| dsc_ | what wizzup made | 22:10 |
| freemangordon | sure | 22:11 |
| dsc_ | ok | 22:12 |
| freemangordon | uvos: ttps://imgur.com/a/zXAhyGV | 22:18 |
| freemangordon | https://imgur.com/a/zXAhyGV | 22:18 |
| uvos | freemangordon: sweet, great work | 22:18 |
| uvos | is this implemented by conversations or dose the platform plugin now just split when there are to manny actions? | 22:19 |
| freemangordon | platform plugin | 22:19 |
| uvos | sweet | 22:19 |
| freemangordon | splits on 5 inm landscape and 3 in portrait | 22:19 |
| uvos | i need to try this in featherpad in portait | 22:19 |
| freemangordon | does that have actions? | 22:20 |
| freemangordon | in menu | 22:20 |
| uvos | yeah | 22:20 |
| freemangordon | ah | 22:20 |
| freemangordon | well, still not released | 22:20 |
| freemangordon | I can try here | 22:20 |
| freemangordon | umm... no | 22:20 |
| freemangordon | VM will refuse portrait | 22:20 |
| uvos | ok too bad | 22:21 |
| freemangordon | you should either build it locally or wait for Wizzup to review/merge | 22:21 |
| uvos | i can wait | 22:21 |
| freemangordon | ok | 22:21 |
| uvos | but theres a action group with lots of actions | 22:21 |
| uvos | that you could even check in landscape | 22:21 |
| freemangordon | ok, lemme try | 22:21 |
| uvos | options->encoding->east asian | 22:22 |
| dsc_ | https://plak.infrapuin.nl/selif/t1mhiuzf.png | 22:23 |
| dsc_ | this should be `isScrollback = true` | 22:23 |
| dsc_ | but its false | 22:23 |
| freemangordon | https://imgur.com/a/T3YgNSO | 22:24 |
| freemangordon | uvos: ^^^ | 22:24 |
| freemangordon | needs some more logic it seems | 22:24 |
| freemangordon | like, checking if text is very long | 22:25 |
| uvos | freemangordon: maybe | 22:25 |
| uvos | at least you can click those now | 22:25 |
| uvos | previously it was to small to hit even | 22:25 |
| freemangordon | mhm | 22:26 |
| dsc_ | that time is off too, you didnt type that today :P | 22:26 |
| freemangordon | dsc_: did you upgrade telepathy-gabble? | 22:27 |
| dsc_ | no sir | 22:27 |
| freemangordon | please do | 22:27 |
| freemangordon | and then you should get your scrollback correctly set | 22:28 |
| uvos | freemangordon: Wizzup: anyhow i have been using qt applications and the usablity improvement of your works is very considerable | 22:28 |
| uvos | even falkon is now a viable option for a webbrowser | 22:28 |
| freemangordon | yeah, this editor is very good for action testing, I will change the code to take into account string lengths | 22:31 |
| freemangordon | not now though | 22:31 |
| Wizzup | freemangordon: shall we build it? | 23:17 |
| Wizzup | or what do you need from me? | 23:18 |
| d4dsc | new conversations in devel | 23:49 |
| Wizzup | yay text size :D | 23:51 |
| Wizzup | uvos: glad to hear | 23:51 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!