libera/#maemo-leste/ Monday, 2024-06-03

Wizzupamunizp: sorry, I saw your message too late and had already aproved them00:27
freemangordondsc_: maybe filter buttons should be check buttons, otherwise it is not clear which filter is currently active07:45
freemangordondsc_: if you add "New IM" / "New SMS" buttons, I'll implement abook contact selection07:49
freemangordonWizzup: oh, you have implemented the animation :)09:33
freemangordondsc_: Wizzup: an idea about conversations filtering - instead of using menu, could we do it like colendar09:40
freemangordon*calendar09:40
freemangordonagain, in the menu, there is a stripe on top with 'Month', 'Week', etc09:40
freemangordonwe can do the same with "All", "Irc", "jabber", etc09:41
freemangordonthat way we'll have one step less09:41
freemangordonthis https://doc.qt.io/qt-6/qmenubar.html09:43
freemangordonadressbook is using it too, to change the contacts order etc09:45
freemangordonWizzup: what about https://pastebin.com/PwLqKL4m09:47
freemangordonoh, this is QActionGroup09:52
uvos__Wizzup: its really really great10:00
uvos__something like featherpad feals like a native application now10:00
uvos__i guess a small nice to have would be for it to scroll when its too large for the screen10:01
uvos__but otherwise its a big improvement for useablility10:01
freemangordondsc_: this https://pastebin.com/gYSi343M11:04
freemangordonjust POC, but you'll get the idea11:04
freemangordondsc_: https://imgur.com/a/CM9Dl8C11:08
freemangordonunic0rn: that should fix your 3-taps inconvenience a bit ^^^11:09
uvos__what shall happen when there are lots of accounts?11:10
freemangordonlemme check :)11:11
freemangordonhow many is many?11:11
freemangordon10?11:11
uvos__idealy it would somehow support any nummber11:11
uvos__but 10 would cover most11:11
freemangordonhttps://imgur.com/a/CM9Dl8C11:14
freemangordon:D11:14
freemangordonbut that can be fixed11:14
freemangordonI am sure we can extend the group vertically11:14
uvos__yeah11:15
uvos__ideally then the menu itself would start scrolling at some point11:15
freemangordonmhm11:15
uvos__but yeah this is nice as is11:15
uvos__or better at least11:15
freemangordonyeah, better11:15
freemangordonwe shall extend  QMaemo5ApplicationMenu::layoutForButton to support multiple rows of buttons, IIUC11:19
freemangordonor we can simply add another group for every 5 accounts11:21
Wizzupuvos__: hm we could add some scrollable area or something11:21
Wizzupfreemangordon: no I didn't implement the animation11:21
Wizzupfreemangordon: so I talked about this with dsc and if you get 10 different protocols it clutters the main menu too much11:22
Wizzupoh I see uvos asked my question already11:22
* Wizzup starts drinking coffee11:22
freemangordonWizzup: we can add more that one group11:24
freemangordonor fix platform plugin to do multiple rows if one is not enough11:24
freemangordonso with 2 rows can easily have 10 protocols11:25
WizzupI still think it's too much clutter11:26
freemangordonlook at https://imgur.com/a/CM9Dl8C11:26
Wizzupin portrait mode right now, if you add the current filters, it will already exceed my screen size11:26
freemangordonthat's on 848x49011:26
freemangordonok, but that's with a single line11:27
freemangordonwon;t happen with multiple linies11:27
WizzupI suppose this can work yeah, but imo still, with lots of protocols itn ca get a bit messy11:28
Wizzupthe same is true ultimately for all three options we've had11:28
freemangordonok, I think is better, but not going into fight for it :)11:28
freemangordonif you use menu, it is even worse11:29
freemangordonbecause there you use 1 line for 2 protocols11:29
freemangordon*accounts11:29
freemangordonwhile with group you may have 4 or 511:29
Wizzupyeah I agree the action group can be an option, but in portrait mode it might not be that great11:29
freemangordonrigth, but still be better than menu11:29
Wizzup(calendar does not seem to do portrait so I can't check there)11:29
Wizzuphmmm not really if it's all put in one row11:30
freemangordonbecause with menu you have a line per account11:30
freemangordon(12,24,28) freemangordon: Wizzup: we can add more that one group11:30
freemangordon(12,24,51) freemangordon: or fix platform plugin to do multiple rows if one is not enough11:30
Wizzupeven month|weeks|agenda|tasks|notes is stretching it11:30
Wizzupwell I'm fine either way I guess, for now the submenu for me was the easiest way to do this11:31
freemangordonsee https://imgur.com/a/5bnCMFm11:31
freemangordonthis is without changing the platform plugin11:32
freemangordonjust adding second group11:32
freemangordonWizzup: please have a loop at qpa patch I posted ^^^11:32
Wizzupfreemangordon: patch looks like, feel free to commit11:34
Wizzupalso you can as far as I am concerned just push these to another branch instead of pastebinning ti, but whatever works11:34
Wizzupuvos__: let me try this featherpad11:34
freemangordonok, but later on, have to run now11:34
Wizzupttyl11:35
freemangordonwell, new branch for such a patch looks like an overkill to me11:35
freemangordonttyl11:35
Wizzupbranches are cheap, they point to a commit :)11:35
Wizzupbut sure11:35
freemangordonyeah, but I have to waste time to delet them later11:35
freemangordonanyway11:35
Wizzupfreemangordon: uvos__: with the qmenu sub menus being supported, should we attempt to hide the qmenubar by default?11:36
freemangordonIthink yes11:37
uvos__Wizzup: yes deffinatly11:53
uvos__i am hideing it with ctrl-m everywhere this is supported11:53
uvos__pcmanfm-qt is also very nice with this menu11:53
Wizzupcool, I'll see if I can figure out if we can hide the menus somehow11:56
amunizpOK 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
Wizzupamunizp: 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
Wizzupuvos__: btw, so you agree that headset works for HiFi, just not for calls, right?11:57
Wizzupon mapphones11:57
Wizzupat 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% sure11:57
WizzupI understand there's kernel work to do, just trying to understand the scope12:05
WizzupI 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 :D12:05
amunizphi @Wizzup I am now logged into the n900 and I even ran the expandcard.sh12:08
amunizpthe 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
amunizpcan I get to the original partition from within leste?12:10
amunizpmaybe /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, yes12:14
uvos__we cant determine between headset and handset on plug12:15
uvos__so you may have to change the mixers by hand12:15
uvos__the hp type information is acessed by android through a cpcap-mcu macro that writes some values into a mailbox somewhere12:16
uvos__the manline kernel dosent support any of that12:16
Wizzupfreemangordon: uvos__: this works fwiw https://github.com/maemo-leste/qt-platform-maemo/commit/08d6513e022677912584c5331fc3245643e51af712:19
Wizzupuvos__: I understand, thank you, the cpcap-mcu info part was missing for me12:20
amunizpOk tried finding the original maemo instalation in /mnt but nothing is there.12:20
WizzupI should do a bit more checking but I think pavucontrol was able to (somehow?) differentiate12:20
Wizzupamunizp: so if you're in leste then you're mostly there12:21
Wizzupamunizp: just run the tools to crack the lock code that I linked earlier12:21
uvos__Wizzup: it should work fine besides not autodetecting12:22
Wizzupok12:22
Wizzupand for calls, do we just lack the alsamixer control to have the right regs set?12:22
amunizpah 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
Wizzupamunizp: sure, should be, why would it not be?12:22
Wizzupuvos__: ok, ty12:22
amunizpsomething about makin sure there is swap?12:27
Wizzupamunizp: I think there should be swap set up now, is there not?12:29
Wizzupamunizp: for this 'cal' where the lock code is stored is accessible directly from leste, you don't need to find the fremantle partitions AFAIK12:29
amunizpThe welcome text is inviting me to install zram-tools but I guess I need wifi for that.12:29
WizzupI think you can ignore this, this text is generic12:30
Wizzupswap should be set up already12:30
amunizpcool12:30
Wizzupjust type 'free' in terminal12:30
amunizpyep 746428 total swap12:30
amunizpthanks!12:31
Wizzupcool12:31
amunizpnot 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 AFAIK12:31
dsc_freemangordon: ah cool @ checkable12:32
amunizp/etc/X11/Xsession.d/04devlock-blocker  this file is not there.12:32
dsc_freemangordon: i like it12:34
dsc_qscrollarea exists for scrolling stuff, maybe a good idea there12:37
Wizzupamunizp: so the lock code is stored on special part of flash or something12:37
Wizzupamunizp: and you can access it from userspace using some tools12:37
Wizzupand 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 back12:38
WizzupI am not intimitaly familiar with the details but others might have more concrete info12:38
amunizpgot it at moment the recoverlock package is not there. I will try the other one.12:39
amunizpI washoping to just get into the special part of the flash and just delete it. not really interested in recovering.12:39
Wizzupyeah the package I linked is part of the original maemo12:42
WizzupI would just download the _all.deb, extract it, and look at the script12:42
Wizzupit might just work12:42
amunizpOk i will try wget. had forgotten how patient I was 10 years ago typing this stuff out.12:43
WizzupI think what do you for .deb kpkgs is12:45
Wizzupmkdir mypkg;12:45
Wizzupar x /path/to/pkg12:45
Wizzuptar xf data.tar.gz12:45
Wizzupand then you should have the _all.deb pkg contents12:46
siceloWizzup: dpkg-deb -x your_deb.deb out_dir/   :-)12:53
Wizzupor that :D12:53
amunizpoh. 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 extract12:53
Wizzupif sudo dpkg -i works that is fine too12:54
Wizzupthen just run apt-get install -f12:54
siceloor -R (instead of -x) if you need the control files, etc.12:54
Wizzupand it might just pull john and john-data12:54
Wizzuplooks like it should12:54
WizzupThe following additional packages will be installed: john-data12:55
WizzupThe following NEW packages will be installed: john john-data12:55
amunizpapt-get install -f seems to be working fetching john and john-data thanks!12:55
amunizprecoverlock returned error exit status 12712:56
amunizphum ran it anyway.12:57
amunizphahaha12:57
amunizpbegining to crack (...) Done! Your lock code should be : awk: cannot open /tmp/lockcode.pot (no such file or directory) rm: cannot remove (...)12:59
Wizzupwhat was the error when trying to finish the install13:04
amunizpthe post removal script subprocess trunred error exit status 127 @Wizzup13:06
amunizpupdate-sudoers:not found13:07
Wizzupdpkg -L recovercode and maby see if you need to run it as root13:10
amunizpit then trys to script from new package instead and hits the same problem: post removal script sub process returned error exist status 12713:10
Wizzupyes, this is expected, this is just debian stuff13:10
Wizzupdebian/postinst fails since we don't use update-sudoers anymore for a long time13:10
Wizzupbut it might not be fatal, you just need to sniff around a bit13:11
amunizpusing sudo dpkg -L says package recoverlock(...).deb is not installed  and ofers me to look at conents13:12
Wizzupsorry, I would just extract the script and run it as sudo.13:13
WizzupIt'll take a lot more time to somehow try to fix this the 'proper' way13:13
amunizphaha OK let me do that then.13:13
Wizzupif someone is inclined they can take the _all.deb pkg and repackage it for leste13:14
Wizzupthen we can fix the postinst while we're at it13:14
siceloamunizp: you're running this under leste? or fremantle?13:15
Wizzupleste13:15
amunizpleste. I can't get into fremantle. @sicelo13:15
Wizzupamunizp: did you try to just run the recoverlock script as root13:16
amunizpyes sudo recoverlock give the same result.13:16
amunizpfunny that it runs at all given that dpkg says it is not installed.13:17
sicelono idea if leste is able to find/read the correct place in mtd. did you try rescueOS?13:17
Wizzupleste can read cal.13:18
amunizpI was going to but I lost the name of it after I had to restart computer and lost IRC convo.13:18
Wizzupwe have irc logs, see the topic13:18
Wizzupsicelo: leste can ask for pin and verify it, so it can access cal13:18
siceloah, yes13:19
amunizpohh. irc logs and topics I had really forgotten all about this. thanks.13:20
amunizpOK since I am here let me follow the depack path for a bit13:20
amunizpOK extracted and found recoverlock under user/bin13:24
Wizzupmaybe just analyse the script and see what it does13:25
Wizzupthen you cna maybe see what goes wrong13:25
Wizzupbrb13:25
sicelowhere's the deb? i'd like to have a look as well13:25
amunizpran it in the folder $sudo ./recoverlock and I get the same error as before.13:26
amunizphttp://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_i386/recoverlock/0.7/13:26
amunizpmight as well inspect contents from my computer rather than the small little screen haha13:27
amunizphum looks like I just need to find this *.pot file13:28
amunizp-format:DES -incremental:digits --nolog --pot=/tmp/lockcode.pot /tmp/lockcode > /dev/null 2>&113:29
amunizpecho -n 'Done! Your lock code should be: '13:29
amunizpoh wait it says that it is not there.13:29
amunizproot:$(grep -A 13 lock_code /dev/mtd1|tail -n 1): > /tmp/lockcode13:30
amunizpso I need to check out /deb/mtd113:30
amunizpmtd1 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 fail13:34
amunizpyeah /dev/mtd0 and mtd0ro also empty.13:34
amunizpit does not create the file. the script is actually only 5 lines or so.13:35
sicelomtd can't be empty13:35
siceloyou'd be having serious issues in that case13:35
siceloyou're running as root?13:35
Wizzupmaybe reboot and see if it is empty13:36
Wizzupmaybe something hosed the devtmpfs13:36
Wizzupsicelo: it might be that mtd is not loaded13:36
Wizzupwait13:36
amunizpcd into /dev folder13:36
amunizpthen I do ls13:36
Wizzuphttps://leste.maemo.org/Nokia_N900#Accessing_MTD13:36
amunizpsee all the mtd there.13:36
Wizzupcan you check out the wiki?13:36
Wizzup(link above)13:37
siceloyou don't need to mount it actually13:37
Wizzupyes, of course13:37
Wizzupbut at least check cat /proc/mtd13:37
sicelowhat do you have in /tmp/lockcode (i.e. not .pot)?13:39
amunizpOk thanks! bootloader, confit, log, kernel, initfs, roootfs13:39
amunizpbut the apt install mtd-utils fails because recoverlock needs to be rreinstalled.13:40
siceloyou don't need mtd-utils13:40
* sicelo suspects john's arguments work differently now ...13:41
sicelowhat do you have in /tmp/lockcode (i.e. not .pot)?13:41
amunizpthere is'nt a file called lockcode in /tmp13:41
sicelothere should be, after you've run the script13:42
amunizpright? I am also puzzled.13:42
sicelodid you `set -x` ?13:42
amunizpI think I need to make sure those mtd are there.13:42
sicelothe mtd are there of course :-)13:43
sicelo13:39 < amunizp> Ok thanks! bootloader, confit, log, kernel, initfs, roootfs   <<< here they are13:43
sicelocal (where pin is) is the "config" partition13:44
sicelothat's what you're after13:44
amunizpOK that should be mtd1.13:44
WizzupI think he's saying that /dev/mtd1 being empty is the problem, no?13:45
WizzupI don't know if ti's actually empty of course13:45
amunizpOK13:46
amunizpI was doing nano on mtd1 and it was looking empty.13:46
sicelono, it's not a file in that sense :-)13:46
amunizpso I did $ sudo cat mtd1 and I got loads of ???13:46
siceloyou can `cat /dev/mtd1` though13:47
amunizpso the script seems to take out the tail of that file.13:47
siceloanyway, 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
amunizpOK lemme try runnig this directly: sudo (grep -A 13 lock_code /dev/mtd1|tail -n 1): > /tmp/lockcode13:48
amunizpohh. how to I get | on the n900 keyboard?13:50
WizzupI think blue arrow and then sym/ctrl button13:50
amunizphaha that did something wierd to the cursor.13:51
Wizzupare you sure? it should bring up the special keys keyboard13:51
Wizzuppress the blue array on the left, and then button baove it13:51
Wizzupabove it*13:51
amunizpwhere should I be seeing the special keys? I ssee ctrl, tab, ex , pgup pgdn13:54
Wizzupit will pop up when you press the key combination that I mentioned13:54
* Wizzup boots his leste n900 to verify13:54
amunizpreally apreciate this hand holding.13:55
amunizpgreat. 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 tried14:07
amunizpsudo dpkg –-remove –-force-remove-reinstreq recoverlock with the same result.14:07
amunizp"I can't find an archive for it"14:09
amunizpI 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/3639614:22
Wizzupwait..14:23
amunizpok14:23
Wizzupdid you try 'apt-get remove recoverlock'14:23
amunizpyes.14:23
Wizzupsudo dpkg -r recoverlock ?14:23
amunizpand the -force option14:23
Wizzupsudo dpkg --force-all -r recoverlock ?14:23
amunizpand the force-all14:23
Wizzupwith dpkg?14:23
amunizpyep.14:23
Wizzupand what does it say14:24
amunizpand sudo14:24
Wizzupwell it always has to do be sudo.14:24
amunizpcan't find an archive to it. that I need to reinstall it.14:24
Wizzupamunizp: I just tried the blue arrow + sym/ctrm and it works for me in terminal14:24
amunizpok lemme transcrive.14:24
Wizzupyou don't have ssh access yet?14:25
amunizpno not yet.14:25
Wizzupif you are connected to wifi it should be simple14:25
amunizpOK if it involves installing new packages I will not be able until I do the part of removing the package.14:26
Wizzupit does not14:26
Wizzupyou just connect to wifi and then ssh to the device from your laptop/computer14:27
amunizpOK 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
Wizzupyou are pressing that in the x terminal yes?14:28
amunizpyep14:28
Wizzupmaybe you're not pressing the right buttons?14:28
Wizzupsorry that's all I can think of :D14:29
amunizphaha only so many buttons to press.14:29
amunizpthe one on the top left second and the one under that first.14:29
amunizpblue arrow so that I can use the blue caracters. I am able to type numbers 1, 2, 3, ...14:30
amunizpanc ctrl works when I quit out of nano ctrl + x14:30
amunizpbut blue arrow plus Sym/ctrl does not bring anything new on the screen.14:31
amunizpOK so ssh might be what I need to do.14:32
Wizzupreally strange14:33
amunizphum what is the toor password. ? or did I understand it wrong?14:37
amunizpant toor is the password for root.14:37
amunizpOK I am in as user.14:38
amunizpthis will speed things up! haha14:38
dsc_lol :)14:38
amunizp$ sudo grep -A 13 lock_code /dev/mtd1|tail -n 114:40
amunizpgrep: /dev/mtd1: binary file matches14:40
amunizp14:40
sicelomaybe try something like `sudo cat /dev/mtd1 | grep -A 13 lock_code | tail -n 1`14:41
Wizzupooh14:41
Wizzupno, wait14:41
Wizzupadd -a to grep14:41
Wizzupgrep -a -A 13 lock_code14:41
Wizzup-a is --text14:41
Wizzupthis way it won't just say 'binary file matches' but it will just print the text14:42
Wizzupthis cleverness probably just wasn't present in the busybox at the time14:42
amunizpit gave me loads of question marks14:43
amunizp������������������������ConFlock_periodG��W�8<����14:44
amunizp����ConFlock_enableeg��n�H�����14:44
Wizzupok, so just chagne the script and add -a there to the grep14:44
amunizp~$ sudo grep -a -A  13 lock_code /dev/mtd1|tail -n 1  > /tmp/lockcode14:45
amunizpOK it wrote some binary stuff into lockcode.14:47
amunizplet's see john!14:47
Wizzuplet's er rip14:47
Wizzuplet er rip*14:47
Wizzupsicelo: wonder if it's valauble to repackage recoverlock for leste with this fix14:47
amunizphow many more people will be as stupid as me?14:48
WizzupI wouldn't worry, we're still working on leste documentation so there's a lot of repeat questions that we end up answering14:48
siceloit's valuable, yes14:48
amunizpOK lockcode is there but not lockcode.pot14:49
amunizpjohn -format:DES -incremental:digits --nolog --pot=/tmp/lockcode.pot /tmp/lockcode > /dev/null 2>&114:50
Wizzupremove >/dev/null 2>&114:50
Wizzupthis way you will actually see what is going on14:50
amunizphaha john not found!14:50
Wizzupdpkg -L john14:51
Wizzup?14:51
sicelojust apt install it :-)14:51
amunizp$ dpkg -L john14:51
amunizp/.14:51
amunizp/etc14:51
amunizp/etc/cron.d14:51
amunizp/etc/cron.d/john14:51
Wizzupheh14:52
amunizpsorry forgot about flooding14:52
Wizzupnp14:52
WizzupI am instlaling john as well14:52
siceloah, you said now you can't install stuff?14:52
amunizpI can't install anything14:52
amunizpyep.14:52
Wizzup/usr/sbin/john14:52
Wizzuptry that14:52
Wizzup/usr/sbin is not in regular user path iirc14:52
amunizpyep. that is it. it found john.14:53
Wizzupok, gogogo14:53
WizzupI will be back in a  bit14:53
dsc_ill be back in a byte14:54
amunizp$ /usr/sbin/john -format:DES -incremental:digits --nolog --pot=/tmp/lockcode.pot /tmp/lockcode14:55
amunizpUnknown option: "--nolog"14:55
amunizp$ /usr/sbin/john -format:DES -incremental:digits  --pot=/tmp/lockcode.pot /tmp/lockcode14:55
amunizpUnknown option: "--pot=/tmp/lockcode.pot"14:55
amunizp$ /usr/sbin/john -format:DES -incremental:digits   /tmp/lockcode14:56
amunizpUnknown ciphertext format name requested14:56
amunizp--format=NAME              force hash type NAME: descrypt/bsdicrypt/md5crypt/14:59
amunizp                           bcrypt/LM/AFS/tripcode/dummy14:59
amunizpfrom the john man page. will try one by one.14:59
siceloodd that it's complaining about ciphertext format. man page shows DES is supported14:59
amunizpoh .14:59
amunizpI 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
sicelook i'm cheating ... this is `john` from debian sid14:59
amunizp$ /usr/sbin/john -format:descrypt -incremental:digits   /tmp/lockcode15:00
amunizpNo 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 -w015:05
amunizpI am not north korea.15:06
amunizpthe problem I think I am getting is that lockcode.pot is not being created.15:07
amunizpOh wait you mean lockcode where the hash is saved?15:07
dsc_eh sorry I meant /tmp/lockcode probably15:08
amunizpI get a load of /////////////////////////15:08
amunizpare you north korea?15:08
dsc_아니요15:09
dsc_oops, I mean no15:09
amunizpit starts with AAAA//////   it ends in /////////////8k15:09
amunizphaha15:10
dsc_cat /tmp/lockcode | base64 -w15:10
dsc_cat /tmp/lockcode | base64 -w015:11
amunizpyeah the latter.15:11
Wizzupdsc_: this is a well treaded path, it just looks like these is some diff in grep and john15:13
Wizzupyou can also test this on your own n900 I think15:13
Wizzupbbiab15:13
dsc_i know, trying to lend a hand15:14
freemangordondsc_: what is 'checkable' that you like?    QActionGroup ?15:17
amunizpOK I think I am not typoing it correctly. --format=NAME              force hash type NAME: descrypt/bsdicrypt/md5crypt/15:17
amunizp                           bcrypt/LM/AFS/tripcode/dummy15: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 code15:18
freemangordonok15:19
freemangordonwe only have to find a way to maki it working properly for lots of accounts15:19
freemangordon*make15:19
amunizpI find it so strange that I can't just factory reset the n900 phone somehow.15:20
amunizpOk what if I do sudo ./0xFFFF -m test/u-boot-2013.04-2.bin -f ?15:41
amunizpthere is nothing in the original instalation I want to keep. will it still have the pin block?15:41
Wizzupyes.15:43
amunizpOk have to leave now. I don't know how to turn off the phone.15:45
amunizpok hold down the button. douh!15:46
amunizpwait it is not off loads of text15:47
amunizpwoops forgot to log out from ssh.15:48
freemangordonWizzup: shall we keep qpa plugin changes in qsubmenu branch or merge it to -devel?16:20
arno11Wizzup: hi, i'll have time today to look @emulators, so i need your help to have a look in jenkins for pcsx if possible :P16:35
Wizzupfreemangordon: qsubmenu is already in devel16:36
Wizzupfreemangordon: did you see my code to hide the menus?16:36
freemangordondidn't look as you said it works :)16:36
freemangordonhmm, can't merge16:37
freemangordonWizzup: hiding code looks ok to me16:40
freemangordonshall I pull to -devel and make a new release?16:40
Wizzupfreemangordon: what do you mean can't merge?16:47
Wizzupfreemangordon: let me merge the menu hiding and then you can work on master16:47
Wizzupfreemangordon: pushed to master16:48
freemangordonoh, ok, lemme see if I can fix it. as I pushed to -devel16:48
freemangordonWizzup: will force-push -devel16:50
Wizzupfreemangordon: no16:51
Wizzupwhy?16:52
Wizzupyour -devel is just outdated16:52
freemangordonbecause you pushed to master16:52
Wizzup??16:52
freemangordonand I pushed to -devel16:52
freemangordonand now they have different commits16:52
Wizzupok, then just rebase devel on master16:52
Wizzupand if you force push it won't affect me16:52
freemangordonright16:53
freemangordonplease try to pull to see if it is ok16:53
freemangordonI will try to implement multi-row  QActionGroup16:55
Wizzupfreemangordon: no issues pulling17:04
freemangordongreat17:04
siceloamunizp: even flashing uboot to the rootfs won't get around the pin issue17: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) :-P17:06
freemangordonWizzup: hmm, there is some issue with font size in the menu17:07
freemangordonfont is bigger than those of gtk applications17:07
dsc_is it 18?17:09
dsc_pointSize17:09
uvos__no android device i am aware of ever became unresetable or bricked because of service discontinuation17:09
uvos__sure specific preinstalled apps/ featrues have17:10
freemangordondsc_: it is not specific to conversations17:10
dsc_yes in conversations I was getting 18 as the default pointSize and was wondering why17:10
dsc_i suspect other Qt apps also get this 1817:11
freemangordonmhm17:11
freemangordonno idea abut the exact value17:11
Wizzupfreemangordon: not on d417:14
freemangordonhmm, ok17:15
freemangordonmaybe something on the VM17:15
sicelouvos__: replying to me? what service discontinuation? i was talking about device lock. Android has FRP (or at least used to)17:17
amunizpOK 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
amunizpthis is interesting ./0xFFFF -b does not run again after I do it the first time?17:36
amunizp17:36
amunizp$ ./0xFFFF -b17:48
amunizp(...)17:48
amunizpDetected USB device: RX-5117:48
amunizpFound block device /dev/sdb with id 8:1617:48
amunizpError: Cannot open block device /dev/sdb: Permission denied17:48
amunizpError: No device detected17:48
gnarfacewell, do you have permission?17:52
amunizpclearly not.18:00
gnarfacejust chmod it?18:01
amunizp... not sure I understand. I was able to use the same command this morning @gnarface18:04
gnarfaceamunizp: 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
gnarfacels -l /dev/sdb18:06
gnarfacefor 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
gnarfacesorry if these are dumb questions, i didn't read the whole scrollback18:07
amunizphumm no such file of directory.18:07
amunizpwith me they are not dumb don't you worry.18:07
gnarfaceinteresting, the plot thickens18:07
amunizptechnically I should be able to boot again from my pc if I did it once right?18:08
gnarfacei assume so yea18:08
gnarfacebut i also assume stuff in /dev/ might change order on the fly with response to hotplug commands18:09
gnarfacethere's usually some notice at the tail of the output of dmesg that tells you when it happens thoguh18:09
amunizpdo 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
gnarfaceuh, that i can't be sure18:10
gnarfacei see that it says to use sudo18:11
gnarfaceso maybe you have to be the root user or use sudo18:11
gnarfacemaybe you need that for ./0xFFFF -b too? just a guess18:11
gnarfaceoh, hmm, in step 4 it doesn't say so but still...18:12
Wizzuprun 0xffff as root18:12
gnarfacei 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
amunizpFound USB device: RX-51 (0x421:0x1c7) in RAW disk mode18:14
amunizpUSB device product string: N900 (Storage Mode)18:14
amunizpUSB device serial number string: 37204175677518:14
amunizpDetected USB device: RX-5118:14
amunizpFound block device /dev/sdb with id 8:1618:14
amunizpError: Cannot open block device /dev/sdb: Permission denied18:14
amunizpError: No device detected18:14
amunizpit is clearly finding it. I moved it to another USB port.18:14
gnarfacethat was as root or...?18:14
amunizpnot root. omg hope that's not it. it will be a big facepalm.18:14
gnarfaceyea, 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
amunizpSwitching to NOLO mode...18:15
amunizpUnplug USB cable, turn device off, press ENTER and plug USB cable again18:15
amunizpinteresting. seems to think it is on?18:16
gnarfacemaybe it's on?18:16
gnarfaceor maybe it's just another mistake in the output...18:16
sicelothe device should be turned off to use with 0xFFFF... not in Storage Mode19:06
dsc_regarding scrollback messages, was anyone working on preventing duplicate insertions in the rtcom db?21:01
freemangordondsc_: Wizzup: what about https://imgur.com/a/zXAhyGV21:38
dsc_nice21: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
freemangordondsc_: any objections if I push conversations changes that use the above?22:05
dsc_freemangordon: go for it22:09
dsc_are nested QMenu->QActions still supported in qt-maemo after this?"22:10
dsc_what wizzup made22:10
freemangordonsure22:11
dsc_ok22:12
freemangordonuvos: ttps://imgur.com/a/zXAhyGV22:18
freemangordonhttps://imgur.com/a/zXAhyGV22:18
uvosfreemangordon: sweet, great work22:18
uvosis this implemented by conversations or dose the platform plugin now just split when there are to manny actions?22:19
freemangordonplatform plugin22:19
uvossweet22:19
freemangordonsplits on 5 inm landscape and 3 in portrait22:19
uvosi need to try this in featherpad in portait22:19
freemangordondoes that have actions?22:20
freemangordonin menu22:20
uvosyeah22:20
freemangordonah22:20
freemangordonwell, still not released22:20
freemangordonI can try here22:20
freemangordonumm... no22:20
freemangordonVM will refuse portrait22:20
uvosok too bad22:21
freemangordonyou should either build it locally or wait for Wizzup to review/merge22:21
uvosi can wait22:21
freemangordonok22:21
uvosbut theres a action group with lots of actions22:21
uvosthat you could even check in landscape22:21
freemangordonok, lemme try22:21
uvosoptions->encoding->east asian22:22
dsc_https://plak.infrapuin.nl/selif/t1mhiuzf.png22:23
dsc_this should be `isScrollback = true`22:23
dsc_but its false22:23
freemangordonhttps://imgur.com/a/T3YgNSO22:24
freemangordonuvos: ^^^22:24
freemangordonneeds some more logic it seems22:24
freemangordonlike, checking if text is very long22:25
uvosfreemangordon: maybe22:25
uvosat least you can click those now22:25
uvospreviously it was to small to hit even22:25
freemangordonmhm22:26
dsc_that time is off too, you didnt type that today :P22:26
freemangordondsc_: did you upgrade telepathy-gabble?22:27
dsc_no sir22:27
freemangordonplease do22:27
freemangordonand then you should get your scrollback correctly set22:28
uvosfreemangordon: Wizzup: anyhow i have been using qt applications and the usablity improvement of your works is very considerable22:28
uvoseven falkon is now a viable option for a webbrowser22:28
freemangordonyeah, this editor is very good for action testing, I will change the code to take into account string lengths22:31
freemangordonnot now though22:31
Wizzupfreemangordon: shall we build it?23:17
Wizzupor what do you need from me?23:18
d4dscnew conversations in devel23:49
Wizzupyay text size :D23:51
Wizzupuvos: glad to hear23:51

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!