[00:00:18] yes [00:01:04] great, i can send you one [00:01:06] <[Saint]> Then we don't need to care about the update server at all. Huzzah. [00:01:19] btw: the video i was talking about, just got uploaded [00:01:21] http://www.youtube.com/watch?v=IEz0cCDBqnQ [00:01:27] <[Saint]> Nice. [00:01:48] nortunyu: you can see how fast the ipodscsi command should do its job [00:01:59] k [00:03:14] nortunyu: download the latest apple firmware for your ipod here: http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPod/SBML/osx/bundles/061-5740.20081111.ZaU7Y/iPod_33.2.0.1.ipsw [00:03:35] then upload it with itunes (using shift+restore) [00:07:13] firmware file not compatible, again... [00:11:04] <[Saint]> What the flying? [00:11:04] <[Saint]> This iPod appears to have forgotten its an iPod. [00:11:16] heh [00:13:01] [23:18:33] uhm well, sounds like damaged syscfg [00:13:33] meaning? [00:13:35] unfortunately, my guess was correct [00:13:49] your ipod has a block of data which holds the serial number, model and other stuff [00:14:09] this seems to have been wiped during installation of emcore for some reason [00:14:21] oy [00:14:35] so... I'm just screwed? [00:14:37] [Saint]: which generation is your ipod? [7] what about yours? [00:15:08] nortunyu: no, we can construct a new one, we just need a 7G ipod classic [00:15:17] ah [00:15:20] mine is 6.5G, so it won't work [00:15:35] and we are psotive that mine is 7G ? [00:15:47] yes, zadig shows 1247 [00:15:53] right, ok [00:16:23] this is getting intense, I leave on a 15 hour flight in a few days, hence the ipod purchase :) [00:17:06] well, these things happen very rarely [00:17:28] mine has been re-flashed a zillion times, and its syscfg is still fine [00:17:51] (except when i forcefully wiped it, just to see how itunes handles such situations :) ) [00:19:06] it's a matter of transferring a 1 MB file over usb, and we have a tool that does it [00:19:15] we just need the correct file for your ipod model [00:19:24] I understand [00:19:32] i can download mine and change the model (and serial number) [00:19:42] unless [7] has a better plan [00:20:17] I will try anything [00:21:14] [7]: we havent't tested mixing up different generations of ipod and SCfg, right? maybe i should flash a 1G one on my 2G, just to see if it works? [00:21:25] *** Quits: Duckbuster (~Duckbuste@178-117-38-182.access.telenet.be) (Quit: Leaving) [00:21:31] <[7]> I've never seen syscfg getting erased [00:21:38] <[7]> in fact we never write to that block on a classic [00:22:00] <[7]> user890104: can you actually confirm that the syscfg is damaged? [00:22:53] we should be able to download the NOR [00:23:35] with an umsboot bootstrap+emcore [00:24:08] can you please give nortunyu instructions how to do that, as i'm a bit busy at the moment? [00:24:28] I am all ears [00:30:50] * [7] is too busy as well [00:31:15] <[7]> but I think in case of a trashed syscfg our installer would refuse to install as well? [00:31:21] <[7]> (that should be verified) [00:31:30] <[7]> my take is that it might just be itunes being dumb [00:31:35] <[7]> try the ipodscsi route of restoring [00:32:46] we tried that [00:33:08] it took an abnormally long time, but claimed to be successful [00:33:25] then I got an error when I tried to reformat the drive [00:36:13] my guess is that apple's updater is responsible for screwing up this [00:36:33] (the small progress bar below the apple logo, that runs after completing ipodscsi's upload) [00:37:08] nortunyu: so you have itunes installed now, right? [00:37:21] yup [00:37:32] ok, close it, then open up Task manager [00:37:49] go to processes, and kill everything that has Apple and Ipod in it [00:38:11] IpodService, AppleMobileHelper, or whatever these are named [00:38:28] i don't remember the exact names [00:38:58] k [00:39:14] then connect your ipod to usb, and enter DFU mode [00:39:49] ituneshelper was all I killed [00:40:27] ok [00:41:11] if itunes does not launch automatically when the ipod enters DFU, then it should be fine [00:41:24] ok, dfu mode entered [00:41:26] no itunes [00:41:30] <[Saint]> user890104: all 6G "fat" models, sorry. [00:42:56] [Saint]: ah, i see [00:43:08] nortunyu: i'll send you a file to run, just a moment [00:43:53] check in device manager, if the dfu device uses apple's driver [00:45:34] it should be named Apple mobile device usb driver [00:45:41] the device manufacturer is Apple Inc. [00:46:01] but it is named USB DFU Device [00:46:52] <[Saint]> user890104: Its not that I dislike the other generations of Classic, I actually think the 7G is kinda cute, but I like the old "fat" Classic for two reasons: 1 - It /looks/ like an iPod, it maintained almost identical lines to the iPod 5/5.5G Video with the silver backing and almost identical dimensions. 2 - They have a massive stock battery, and room for an even larger aftermarket battery. [00:47:18] nortunyu: that's fine then [00:48:07] <[Saint]> Oh, I guess there's a 3: ease of disassembly. [00:48:18] nortunyu: https://mega.co.nz/#!8hJhhQyL!Yc5QHXwBXrcwgBXpOZRSQAJYficgVNkccYfO3D28ThE [00:48:36] [Saint]: 3. is a serious advantage :) [00:48:46] * [Saint] nods [00:49:27] got the file [00:49:33] shall I run it? [00:49:38] yes [00:50:04] <[Saint]> I have had a 2A battery and a 256GB mSATA disc in a "fat" Classic for a while now. It rocks. [00:50:21] "Could not open DFU device!" [00:50:36] <[Saint]> Though the battery is closer to 1.8A in real life. [00:50:50] <[Saint]> Gah! What the shit? [00:50:56] error 3: The system cannot find the path specified [00:51:18] nortunyu: sounds like a wrong driver, can you go to device manager, right click the device and select Update driver? [00:51:38] ok [00:51:41] then select Browse my computer... [00:51:48] <[7]> user890104: apple's updater should never, ever write the syscfg sector either [00:52:01] then Let me pick from a list... [00:52:04] <[7]> and if WTF actually booted up, then the syscfg can't be screwed up [00:52:10] <[7]> even more so if the OF boots [00:52:15] ok, what file do I give it? [00:52:21] then click Have disk [00:52:45] <[7]> if things are taking ages and USB access is troublesome, this smells more like HDD problems [00:53:04] look for iTunes in Program file, it should have its driver somewhere in its folder [00:53:11] k [00:54:29] i have the x64 driver files, so if your windows is 64 bit, i can make it easier for you by sending them [00:54:39] ok, now it's listed as Apple Mobile Device USB driver [00:54:57] great, rerun the bootstrapper app [00:55:33] UMSBoot has been launched! [00:55:49] and you see umsboot v0.2 on the screen? [00:56:40] but the console says error 31: a device attached is not functioning [00:57:11] in explorer, the H drive is now UMSBoot [00:57:11] that's fine, it's expected and harmless [00:57:20] download this: http://builds.freemyipod.org/emcore/target/ipodclassic/emcore-ipodclassic-r890.bin [00:57:34] rename it to emcore.ubi, and copy it to H: [00:57:50] then go one level up, right-click H: and select Eject [00:58:11] (i'm doing the same on my ipod at the moment) [00:59:12] ok [00:59:19] you should see a white screen with "emCORE v0.2.3 r890" text [00:59:26] my ipod says "Loading UBI file.. no ubi file found. Please retry" [00:59:37] uhm, you didn't rename it to .ubi [00:59:49] AH [00:59:52] you're right [00:59:53] sorry [01:02:30] now I get: [01:02:46] "no usable boot options. Waiting for usb command" after the emcore screen [01:02:55] <[7]> sounds good [01:04:06] <[Saint]> excellent. [01:05:12] I'm happy if you guys are :) [01:05:44] <[Saint]> Oh, right, that's what I was supposed to do - from a /long/ time ago. How do I go about updating emCORE to bleeding edge for testings sake, [7]? [01:07:37] https://mega.co.nz/#!QkYQXKbQ!GGWIPiiGEi1eLC93KgpQ60D6IVV61Jk-OUIJJhHQQXs [01:07:48] nortunyu: download this tools.zip, in case you don't have it already [01:07:53] <[Saint]> Just grab the latest non-failed Classic bin from the build server, rename to .ubi, and pray? [01:07:53] <[Saint]> user890104: ^? [01:09:27] [Saint]: or better, use the svn head .ubi that i have on my desktop [01:09:41] i built it in my ubuntu VM [01:09:52] and it seems to work fine so far [01:10:12] with a notable exception of file renaming, that crashes the kernel :) [01:10:25] <[Saint]> :) [01:11:05] so what did we conclude? syscfg is not damaged, or what? [01:11:32] no, we need to download the NOR flash contents [01:12:27] ok [01:12:46] that's why you need tools.zip [01:13:20] [7]: i need a quick reminder of the commandline that dumps nor to a file [01:25:54] <[7]> memalign 0x100000 0x10 [01:26:17] <[7]> readbootflash [01:26:32] addr_flash addr_mem size [01:26:43] <[7]> so that's 0 0x100000 [01:26:47] <[7]> downloadfile 0x100000 filename [01:26:54] thanks [01:26:54] <[7]> free [02:08:55] ack, and ready to proceed when you are [02:09:08] (back) [02:35:54] nortunyu: more likely tomorrow, it's 02:35 in the night here [02:35:56] good night [02:39:56] ok, good night [06:18:06] *** Quits: [7] (~quassel@rockbox/developer/TheSeven) (Disconnected by services) [06:18:19] *** Joins: TheSeven (~quassel@rockbox/developer/TheSeven) [09:03:49] *** Quits: [Saint] (~quassel@rockbox/user/saint) (Remote host closed the connection) [09:05:10] *** Joins: [Saint] (~quassel@rockbox/user/saint) [09:34:26] *** Quits: [Saint] (~quassel@rockbox/user/saint) (Remote host closed the connection) [09:36:28] *** Joins: [Saint] (~quassel@rockbox/user/saint) [10:56:16] *** Quits: [Saint] (~quassel@rockbox/user/saint) (Ping timeout: 246 seconds) [10:59:43] *** Joins: [Saint] (~quassel@rockbox/user/saint) [11:06:16] *** Quits: [Saint] (~quassel@rockbox/user/saint) (Ping timeout: 245 seconds) [11:07:24] *** Joins: [Saint] (~quassel@rockbox/user/saint) [15:22:03] hooray for another day of troubleshooting :) [15:36:33] *** Joins: liar (~liar@83.175.90.24) [15:40:24] *** Quits: liar (~liar@83.175.90.24) (Read error: Connection reset by peer) [15:41:17] *** Joins: liar (~liar@83.175.90.24) [17:49:23] user890104, please let me know when we you're ready to carry on [17:55:21] I will have a third computer available tonight that I can try this on, but I really don't think that would help much at this point... [20:25:14] nortunyu: maybe in about half an hour [20:27:39] okie dokie, i'll be around for about 2 more hours [20:27:47] I appreciate your help, a lot [21:02:09] nortunyu: i'm ready [21:02:18] me too! [21:02:25] ok, let's get this done [21:02:44] enter DFU, and use bootstrapper-ipodclassic.ubi (the most recent one) with ipoddfu [21:02:56] i'll send you a more recent emcore.bin file [21:02:57] yup, that's where I'm at now [21:03:04] ok [21:03:10] because we changed the usb debugging api at some point [21:03:23] so you can reuse that tools.zip file i sent you yesterday [21:04:12] I have the ...r890.ubi on the ipod now [21:04:18] that's not what we want? [21:04:45] you didn't restart it since yesterday? [21:05:04] I did, but then I did this again since I figured that's where we left off [21:05:12] ah, i see [21:05:16] the ipod is now "waiting for command via usb" [21:05:21] well, i'll make a brand new build just in case [21:05:38] k [21:05:41] so i'll have the debug files handy, in case something goes wrong again [21:08:41] actually, I'm not sure what you mean by "use bootstrapper-ipodclassic.ubi (the most recent one) with ipoddfu" [21:09:00] ah, did i write .ubi? [21:09:05] i meant .dfu [21:09:37] ok, but how do I "use" it? [21:09:45] just reboot the ipod in DFU mode, and don't upload anything yet [21:09:59] well, "python.exe ipoddfu.py bootstrap-ipodclassic.dfu" [21:10:05] ah ok [21:10:11] (assuming they are in the same folder) [21:10:24] but just leave it in DFU for now [21:10:34] until i send you some updated files [21:12:56] building everything should take no more than 10 minutes [21:28:43] well, it takes a little longer [21:29:44] hehe [21:40:57] nortunyu: download this [21:40:59] https://mega.co.nz/#!45Ih0abb!GGXDFSIQB2qZJClchUDoz26c5x8GEetU6Xv32cZLHG8 [21:41:05] k [21:41:33] then run the ipoddfu script with this bootstrapper, and upload emcore.ubi [21:42:08] the installer.ubi file is not needed now [21:42:22] tell me when you see "waiting for usb commands" on the screen [21:43:30] python.exe ipoddfu.py emcore.ubi ? [21:43:37] assuming all files in one folder? [21:45:32] no [21:45:38] didn't think so [21:45:50] python.exe ipoddfu.py bootstrap-ipodclassic.dfu [21:46:03] then upload emcore.ubi to the umsboot drive using explorer [21:47:38] oh, windows doesn't see my dfu device for some reason [21:47:46] and menu+select isn't doing anything [21:48:44] ok there we go [21:48:54] but windows still doesn't see it... [21:49:43] ok got it [21:50:32] waiting for usb command [21:51:43] python3\python.exe tools\emcore.py getinfo version [21:52:41] connected to emcore debugger v0.2.3 r899 running on ipod classic [21:53:40] ok, great [21:54:03] run the next commands using the same script [21:54:14] replacing "getinfo version" with the actual command [21:54:22] k [21:54:26] memalign 0x100000 0x10 [21:54:38] tell me what is the result of this command [21:54:52] it should include an address in the form of 0x0800xxxx [21:55:06] allocating 16 bytes of memory aligned to 0x100000 [21:55:20] allocated 16 bytes of memory at 0x8100000 [21:55:56] readbootflash 0 0x8100000 0x100000 [21:56:26] downloadfile 0x8100000 0x100000 norflash.bin [21:56:37] free 0x8100000 [21:56:54] then zip and send me norflash.bin that's in the same folder where you cmd window is currently at [21:58:56] free gave me an error [21:59:08] what error? [21:59:20] Error: there is a problem with the usb connection [21:59:35] what's the size of norflash.bin? [21:59:51] 1 mb [22:00:44] there's also an error msg on the ipod screen, but I'm not sure when it came up: [22:01:04] *Panic* Data abort at 220034E4! [22:01:19] FSR: 00000005 (domain 0, fault 5) [22:01:32] Address: 53724E79 [22:01:59] ouch [22:02:08] can you redo the whole process, starting with dfu [22:02:14] k [22:02:19] then watch the screen after every of the emcore.py commands [22:05:53] it comes up after the free command [22:07:41] ok, that's fine [22:07:51] send me the file please [22:08:19] through irc? [22:08:53] well, i doubt that would work [22:09:11] either use a file sharing site, or email it to user890104@freemyipod.org [22:10:09] https://mega.co.nz/#!yFZT2K7T!bjHYJ0AZLWi6E-mlvigBomCjzTQR_Ut-uxvsQanMsZE [22:11:09] ok, let's take a look at this... [22:13:45] syscfg looks fine [22:13:51] * user890104 pings TheSeven [22:13:56] ok... [22:14:47] there are some remains of emcore at 0x1000 [22:14:56] looks like the directory entries [22:15:34] and something with an emCOexec header at 0x2000 [22:16:59] also at 0x3000, something that looks like umsboot at 0x5000, and probably apple's bootloader at 0x8000 [22:17:32] so we need to clear away all this junk, or what? [22:18:04] well, itunes should overwrite that with its stuff [22:18:20] i don't see any reason why it doesn't want to restore the ipod [22:18:33] as TheSeven, we don't touch the area where syscfg is stored [22:18:51] but i just wanted to make sure it's ok [22:19:15] can you redo restoring with itunes? [22:19:22] ok I'll try [22:19:27] back into dfu mode? [22:19:37] uhm, we haven't tried that [22:19:50] get it to dfu, then update the driver with apple's [22:20:07] and use itunes to restore (shift+click) the ipsw file i sent you [22:20:16] k [22:20:50] so I want the device to be "Apple mobile Device USB driver" ? [22:21:16] yes [22:21:48] hmm itunes isn't asking me to restore [22:22:28] can I get to that screen manually? [22:22:50] if the ipod is in dfu with apple's driver, itunes should pop up and ask you to restore it [22:23:40] when I start itunes I get "The ipod software update server could not be contacted" and then just the itunes screen [22:23:47] this wasn't happening yesterday [22:27:32] switching the driver to ipod classic dfu gives the same behaviour [22:37:06] I will try this again tonight on another computer with a fresh install of itunes 9.2.5.1 [22:38:19] ok [22:38:50] if it doesn't work, redo it but leaving the ipod in non-dfu mode (the do not disconnect screen) [22:39:17] ok [22:39:48] if you have any other suggestions that come to mind just write them out here and I'll see it when I return tonight [22:39:59] well, i don't at the moment [22:40:21] btw, what is the correct way to get out of dfu mode? [22:40:39] uploading a valid image [22:40:56] it would run it, and exit dfu [22:41:07] but it should be perfectly safe to hard-reset the ipod [22:41:14] oh, because right now I just sort of press a bunch of buttons until it resets [22:41:46] hard reset is menu+select? [22:41:53] yes, for 5 seconds [22:42:57] hmmm itunes now wants to restore my ipod [22:43:06] with the do not disconnect screen [22:43:39] but I still get the same error using your ipsw file [22:43:52] "the firmware file is not compatible" [22:45:07] oh, hopefully I will have better luck later [22:46:18] and if I disconnect the ipod when it's connected in dfu mode, do I just leave it like that until I use it next? [22:47:54] anyways, gotta go [22:48:01] will report back in later [22:49:24] if you disconnect an ipod in dfu mode, it would be a better idea to reset it, then turn it off [22:50:12] doing this if you don't have any working firmware (neither emcore nor apple's), is a bit tricky, you basicly want to lock the hold switch, exactly when it reboots while holding menu+select [22:50:36] so if reboots with the hold switch locked, and doesn't boot any OS [23:17:00] [01:26:06] <[7]> memalign 0x100000 0x10 [23:17:05] gotcha! [23:17:20] memalign [23:27:14] *** Quits: nortunyu (~mm@69-196-129-24.dsl.teksavvy.com) (Quit: nortunyu)