**** BEGIN LOGGING AT Fri Nov 10 03:00:00 2017 Nov 10 20:06:00 I have a used n900, what should I do with it first? Nov 10 20:06:29 probably update to latest official firmware Nov 10 20:06:39 and install community something something Nov 10 20:06:48 https://wiki.maemo.org/Community_SSU Nov 10 20:08:29 atk: and sand off the prongs on the charging cable you intend to use with it Nov 10 20:09:11 the two little spring loaded prongs are sometimes quite proud and you risk breaking the charging port of the board Nov 10 20:09:14 I actually have already been using a N900 for a year I just want to get a clean N900 so I can move my current N900 stuff onto it because my current N900 has a dead keyboard Nov 10 20:09:18 oh Nov 10 20:09:41 and I've already soldered down the charging port of my current one... that's something I need to do for the new one Nov 10 20:09:56 nice Nov 10 20:09:57 and remove the shitty RTC battery Nov 10 20:10:16 whoops - I think I just accidentally murdered a small spider Nov 10 20:10:33 I got some polar cell batteries, they're working quite well Nov 10 20:10:35 but yes, the thing I was specifically interested in is how do I flash these things back to "stock" Nov 10 20:10:50 yes, I have a polarcell in my current n900 and it was a great purchase Nov 10 20:11:09 I think I might get another one for when I forget to charge the phone for a few days and it dies. Nov 10 20:11:30 I bought two and an external charger Nov 10 20:11:40 yes, the external charger is a must Nov 10 20:11:44 ~lazyflash Nov 10 20:11:45 hey guise, unrelated question Nov 10 20:11:59 meh Nov 10 20:12:19 Vajb: joerg has already pointed me towards that one, I'm going to read it in a second Nov 10 20:12:21 NiMh battery leak produces base Ph, yes? Nov 10 20:12:28 Vajb: but he told me to ask here anyway Nov 10 20:12:33 and not acid Nov 10 20:14:01 CatButts: "NiMH cells have an alkaline (basic) electrolyte..." from wikipedia Nov 10 20:14:07 so probably yes Nov 10 20:14:22 ah, good Nov 10 20:14:36 I am cleaning gunk from unrelated device with vinegar Nov 10 20:16:23 atk: you probably know about: Nov 10 20:16:25 ~flashing Nov 10 20:16:26 rumour has it, maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh; or see ~flashing-cmdline, or see ~lazyflashing Nov 10 20:16:28 ~cssu Nov 10 20:16:28 well, cssu is http://wiki.maemo.org/Community_SSU, or (Community Seamless Software Update) Nov 10 20:18:52 atk: do NPT sand off anything on USB plugs! Nov 10 20:19:44 aah, you coverd that already Nov 10 20:21:10 I'll just solder the thing down Nov 10 20:21:19 lol Nov 10 20:21:31 I have enough solder to cover the surface of the earth probably... Nov 10 20:22:00 ~usbfix Nov 10 20:22:00 methinks usbfix is http://talk.maemo.org/showthread.php?t=75920 - and **NEVER** use epoxy (unless you want to seal your device for underwater), or https://www.youtube.com/watch?v=fYz5nIHH0iY#t=1866, you will basically need two irons: a small good one (or better hot-air reflow) and a 60+ Watt Nov 10 20:22:19 can solder and duct tape solve lovelife? Nov 10 20:23:26 So what's a quick list of things to do with a 'new' n900? I'll start Nov 10 20:23:45 1. be a creep and look through previous owner's stuff Nov 10 20:24:02 2. format and flash latest firmware Nov 10 20:24:05 3. CSSU Nov 10 20:24:15 4. sand them cables Nov 10 20:24:18 DocScrutinizer05: so basically, expose some copper on the ground plane next to the USB connector and then blob the fuck out of it Nov 10 20:24:20 got it :D Nov 10 20:24:21 5. ???????? Nov 10 20:24:54 5. Sturdy the fuck out of m-usb female Nov 10 20:25:00 6. ???????? Nov 10 20:26:46 the libgles1 and libgles2 in the repos - that's from the SGX SDK? Nov 10 20:27:32 Install u-boot, just in case you still lose the USB port Nov 10 20:28:29 I guess so, yes Nov 10 20:29:11 well, actually from Nokia, though I guess they also used that SDL to produce them Nov 10 20:29:12 spider update: the spider is alive Nov 10 20:29:22 \o/ :-D Nov 10 20:29:49 what's u-boot Nov 10 20:30:00 ~u-boot Nov 10 20:30:00 it has been said that u-boot is http://talk.maemo.org/showthread.php?t=81613 Nov 10 20:30:24 * DocScrutinizer05 wonders if "keep a jam jar in freezer, to catch spiders in it" would qualify for a patent Nov 10 20:31:08 descriptions of wheels have qualified for patents before Nov 10 20:31:09 so why not Nov 10 20:31:11 ~factinfo u-boot Nov 10 20:31:11 DocScrutinizer05: there's no such factoid as u-boot Nov 10 20:31:37 ~factinfo #maemo u-boot Nov 10 20:31:37 #maemo u-boot -- created by DocScrutinizer51 <~lagrange@openmoko/engineers/joerg> at Mon Oct 29 12:36:32 2012 (1838 days); it has been requested 5 times, last by Maxdamantus, 1m 37s ago. Nov 10 20:31:46 aaah that's why Nov 10 20:33:25 https://i.imgur.com/GVI2n.jpg Nov 10 20:33:30 speaking of patents Nov 10 20:33:58 atk: the -26 centigrade nicely slow down spiders when you catch them by placing the jar over them on the wall. No escaping when getting the jar off the wall, after 20s Nov 10 20:34:16 I just pick them up with my hands Nov 10 20:34:18 it's easier Nov 10 20:34:25 *shudder* Nov 10 20:36:52 * Maxdamantus usually just leaves them be. Nov 10 20:37:21 * Maxdamantus will occasionally get rid of webs though. Nov 10 20:39:59 DocScrutinizer05: the md5sums don't match with any of the files provided by the SDK so I presume either they're from an older SDK version or they're custom nokia ones Nov 10 20:42:49 the SDK aiui provides source code interface stubs for including a binary blob into them and provide that with an ABI - so the files in the SDL would never show up unmodified on the target Nov 10 20:43:17 SDK even Nov 10 20:44:46 the SDK also provides the GLES libs Nov 10 20:45:09 and yeah, quite possibly Nokia had better docs for the PowerVR so they could even patch the blobs Nov 10 20:45:24 hmm, indeed Nov 10 20:45:34 well, when I get this compiling against mainline I'll try all manner of combinations Nov 10 20:46:00 also note that the latest SDK says "hardfloat" or somesuch, while maemo is softfp Nov 10 20:46:48 hmm, interesting Nov 10 20:47:04 does the n900 cpu support hardfloat? Nov 10 20:47:04 I'm not sure how much it would matter when the PVR libs use hardfp Nov 10 20:47:17 err yes Nov 10 20:47:19 it would probably make them a bit faster Nov 10 20:47:27 marginally Nov 10 20:48:24 even softfp in the end uses hardware "float coprocessor", just the parameter passing is via stack and a lib instead of coproc registers and direct function calls Nov 10 20:49:16 oh I have been reminded Nov 10 20:49:16 the lib then calls the float coproc as well on all architectures that support it Nov 10 20:49:29 n900 CPU and float Nov 10 20:49:35 vs integer Nov 10 20:49:44 I don't think armel would accurately be described as softfp. Nov 10 20:49:54 on a nintendo DS, ou would go for integer Nov 10 20:50:18 softfp is something you can enable when compiling something, where the compiler will use software implementation of floating point operations. Nov 10 20:50:49 that's probably slow Nov 10 20:51:03 indeed using reals/floats for GFX is ... *MEH!*, 32 or even 64bit integers should be absolutely sufficient and way faster Nov 10 20:51:04 compared to programming straight up int Nov 10 20:51:07 Indeed, but it might be required for portability. Nov 10 20:51:47 so, n900's CPU cannot do float, yes? Nov 10 20:51:52 If you're targeting a system that doesn't have any floating point operations, it might be better to just implement suitable fixed-point arithmetic. Nov 10 20:51:53 it can Nov 10 20:52:01 Yes, N900 does both 32-bit and 64-bit floats. Nov 10 20:54:49 see http://www.ti.com/product/OMAP3530/description Nov 10 20:56:30 also see http://paste.opensuse.org/68509984 Nov 10 20:57:08 vfp and vfpv3 Nov 10 20:57:31 and neon on top Nov 10 20:57:36 >JazelleŽ RCT Execution Environment Architecture Nov 10 20:58:16 oh hey, it's the NDA proprietary ARM java doohickey thing Nov 10 20:58:36 typically used for accelerating J2ME Nov 10 20:58:38 total crap, I heard Nov 10 20:58:46 slower than CPU to run java Nov 10 20:59:11 I am familiar with it from Sony Erricsson phones Nov 10 20:59:47 I imagine the advantage would be potential power saving in not having to compile short-lived code. Nov 10 21:00:13 j2me apps run faster Nov 10 21:01:28 Faster specifically when running code in the interpreted mode? Nov 10 21:02:46 faster when running intensive code that does stuff like render realtime audio Nov 10 21:03:03 I'm not familiar with the ARM Java stuff, but I would imagine it would potentially be faster before the JIT actually compiles the code. Nov 10 21:03:04 there's no api for realtime audio, so it's a hack Nov 10 21:03:26 Right, if it's something intensive, the JIT should compile it into native code anyway. Nov 10 21:03:51 on a normal system, the threshold usually has to do with 10k iterations. Nov 10 21:04:10 so eg, once a method has been called 10k times, it will probably be compiled to native code. Nov 10 21:04:43 well, I guess it depends on the SoC, no? Nov 10 21:04:51 before that, it will just be interpreted .. so there'll be a while loop that looks something like: while(i = get_next_instruction()) run_instruction(i); Nov 10 21:05:32 If you could replace that while loop with something equivalent in the CPU, that seems like a potential advantage. Nov 10 21:05:51 I've been told that OMAP3530 is faster on genuine ARM CPU than on Jazelle with running java Nov 10 21:11:11 I imagine the better way to make things faster is to just put compiled code onto persistable storage. Nov 10 21:11:17 ie, use actual binaries with native code in them. Nov 10 21:11:44 which is what normally happens when your programs are written in C/C++/Rust/Go/whatever Nov 10 21:14:04 iirc JDK9 has some support for AOT compilation too. Nov 10 21:14:55 So you can compile a .so that you provide to the VM alongside your classes. Nov 10 21:55:49 DocScrutinizer05: I don't see the issue with modifying a microUSB male in such a way, they're dirt cheap Nov 10 21:56:23 if you leave them as is then you can run the risk of pulling at the USB port on the N900 too much Nov 10 21:56:49 which would you rather? Nov 10 21:57:21 a 2 bit cable, or bugger up a rare phone Nov 10 21:58:33 a) the plugs need a 100 mating cycles then they get softer b) sanding/filing causes nasty abrassive dust and surfaces that both can damage the receptacle when plugging that sanded plug c) pulling the plug never caused any hard, it's bending the plug while pulling it that does Nov 10 21:59:35 s/any hard/any harm/ Nov 10 21:59:35 DocScrutinizer05 meant: a) the plugs need a 100 mating cycles then they get softer b) sanding/filing causes nasty abrassive dust and surfaces that both can damage the receptacle when plugging that sanded plug c) pulling the plug never caused any harm, it's bending the plug whi... Nov 10 22:00:17 I think quite a few nonfunctioning USB ports on N900s disagree, to each their own Nov 10 22:01:08 and finally, razher than filing away the latches, you can simply push them inwards slightly with your fingernails, to make them a tad softer Nov 10 22:01:54 hmm, perhaps bending them if that's possible would be favorable Nov 10 22:02:04 if they can be made to remain less proud Nov 10 22:02:10 I used ~40 N900 and had no issues with ISB on a single one of them Nov 10 22:02:33 USB* Nov 10 22:03:17 I seen a dozen times how users abused their devices while unplugging USB Nov 10 22:04:06 as a general rule, never use both hands for unplugging, correct unplugging is done with two fingers of one hand basically Nov 10 22:04:20 I baby mine, so it's never parted company from the board, so perhaps I'll never find out personally how much force is required to do so Nov 10 22:06:09 maybe I've just been unlucky in having microUSB cables that've had overprominent prongs on them Nov 10 22:12:07 some are a bitch initially, yes. Pencil and a 10 minutes of prying out the plug with fingernail and then remating it fix this Nov 10 22:12:57 you can easily do 20 to 30 partial (1 - 2mm) unplug+replug cycles per minute Nov 10 22:13:59 use a soft pencil (HB, B...) to 'lubricate' the exterior of the plug a bit Nov 10 22:14:31 interesting technique, it's not like I use a wood rasp on it though Nov 10 22:14:51 ;} Nov 10 22:15:56 but the most important thing is to learn how to correctly unplug: grab the plug on *small* sides with your thumb and digit finger so close to the case that you can "roll" your fingertips against the case to pry out the plug Nov 10 22:16:42 indeed Nov 10 22:18:37 alternatively insert fingernail between plug and case and pry out plug with your nail Nov 10 22:19:07 again bysupporting the finger(nail) against the case Nov 10 22:20:08 NEVER hold case with one hand and _pull_ the plug with the other hand, creating all the force out of your elbows Nov 10 22:20:31 or shoulders rather Nov 10 22:21:45 you must be avle to unplug using one hand only, while the device sints on a pillow or other soft surface and doesn't get pushed into it Nov 10 22:22:03 you must be able to unplug using one hand only, while the device sits on a pillow or other soft surface and doesn't get pushed into it Nov 10 22:25:39 is this pillow made from silk, or Egyptian cotton? Nov 10 22:25:52 I jest... Nov 11 00:01:22 is it normal that when usb is plugged in, it kinda wobbles side to side? Nov 11 00:01:35 does that mean my usb port is gonna break? Nov 11 00:05:18 there'll be a very small amount of movement, but fractions of a millimeter Nov 11 00:05:55 but if it's mm of movement then I'd very careful Nov 11 00:06:10 I'd be careful either way Nov 11 00:07:50 if there was literally zero play at all; I'd be concerned **** ENDING LOGGING AT Sat Nov 11 03:00:02 2017