00:06:02 | | Quit edhelas (Ping timeout: 240 seconds) |
00:11:58 | | Join ujcroon [0] (~user@cpc19-lewi14-2-0-cust242.2-4.cable.virginm.net) |
00:15:09 | ujcroon | hi im trying to convert 2nd gen nano to fat32 without access to windows pc. |
00:15:55 | ujcroon | the partition tables for 2nd gen nanos are not vailable for download on the guide page http://www.rockbox.org/wiki/IpodConversionToFAT32 |
00:16:06 | ujcroon | is there any way to do this? |
00:19:33 | gevaerts | I assume you can do it with plain old fdisk, but I don't actually know |
00:19:59 | gevaerts | [Saint]: I'm guessing you can type out a nano2g mbr in hex by hand? :) |
00:23:13 | | Join robertd [0] (c9f2b970@gateway/web/freenode/ip.201.242.185.112) |
00:23:30 | [Saint] | Many moons ago, maybe. |
00:23:45 | [Saint] | ujcroon: you don't actually /need/ iTunes or a Windows PC for this. |
00:24:03 | | Quit bertrik (Quit: "This incident will be reported") |
00:24:51 | [Saint] | ujcroon: but if you're not overly confident with a *nix commandline system you're probably going to want to fire up a liveCD or virtual instance anyway. |
00:25:00 | [Saint] | You can use https://www.freemyipod.org/wiki/Restore_iPod_without_iTunes |
00:25:04 | [Saint] | However... |
00:25:43 | [Saint] | That guide is Windows-specific, but the method doesn't really change. |
00:26:58 | [Saint] | You just ignore the part about zadig (which is a piece of shit, but I digress) and drivers entirely, and use a linux ipodscsi binary. |
00:27:03 | [Saint] | ala https://dl.dropboxusercontent.com/u/26417574/ipodscsi_linux/main-v2.c |
00:27:11 | [Saint] | (you will need to compile this) |
00:27:57 | [Saint] | ipoddfu.py and libipoddfu.py are not operating system or architecture dependent. |
00:28:09 | [Saint] | but ipodscsi is. |
00:28:22 | ujcroon | ok so im using a live cd |
00:28:40 | [Saint] | Of linux, or windows? |
00:28:45 | ujcroon | linux |
00:28:57 | ujcroon | i dont know how to use windows |
00:29:26 | gevaerts | Well, it *is* one of the harder systems to use. Barely better than OSX! |
00:29:40 | [Saint] | Ok. That might be problematic. I an very unsure if a liveCD is going to allow enough freespace to be able to install build-essential and gcc. |
00:30:06 | [Saint] | If you don't know how to use Windows, what is your primary operating system? Why is it a liveCD? |
00:30:10 | gevaerts | It probably will, if this machine is in any way recent |
00:30:18 | * | [Saint] nods |
00:30:36 | gevaerts | It stores those in RAM, and I suspect build-essential only takes a few hundreds of megabytes |
00:30:58 | ujcroon | im not even sure i just started using live cds at some point |
00:31:27 | ujcroon | ok so i can load the compile environment into ram |
00:31:41 | [Saint] | That will be screwing your performance by an order of magnitude. |
00:31:53 | [Saint] | Once everything gets cached in to RAM it won't be /tooo/ bad - but, still. |
00:32:13 | [Saint] | If there's no reason to use a live environment there's no reason to suffer through doing so. |
00:32:16 | gevaerts | Sure, but installing for one-time use is still less efficient :) |
00:33:39 | [Saint] | But the crux of the whole thing is explained in detail on the wiki page I just handed you. |
00:33:39 | [Saint] | The only differences between the way it is handled on Windows and Linux is the device drivers (unnecessary in linux), and the ipodscsi binary. |
00:34:29 | [Saint] | If you ignore the device driver aspect entirely, and provide the correct ipodscsi binary through compilation on your host - you can otherwise follow thos einstructions verbatim. |
00:34:43 | ujcroon | so i need to compile ipodscsi? |
00:34:56 | | Join Hoshi_ [0] (~Hoshi@drc224.neoplus.adsl.tpnet.pl) |
00:35:54 | [Saint] | Yes. Source is provided above. |
00:35:58 | ujcroon | and install python for those two |
00:36:17 | [Saint] | Yes. |
00:37:17 | ujcroon | so i just @make && make install" it? |
00:37:50 | ujcroon | ./configure before? |
00:38:24 | | Quit Hoshi (Ping timeout: 258 seconds) |
00:38:33 | [Saint] | just make should be entirely sufficient. I don't offhand recall if it has a make install target or if there are any configure options at all. |
00:39:27 | [Saint] | you'll also need to keep in mind that the files listed on that page are for the iPod Classic only, and they you'll need to source the .ipsw files for the iPod Nano2G yourself. |
00:39:45 | ujcroon | just "make main-v2.c"? |
00:40:14 | ujcroon | what are the .ipsw files? |
00:40:46 | ujcroon | are they copyrighted i mean can i legally download them or are they on my ipod |
00:41:58 | [Saint] | Technically speaking they are on your iPod but extraction is more convoluted than restoration is. |
00:42:13 | [Saint] | And, no, they can not be acquired legally. |
00:42:25 | gevaerts | They're definitely *copyrighted*, but then so is this sentence |
00:42:45 | ujcroon | haha |
00:43:06 | ujcroon | ok so if they are on there i can download them as i already own them |
00:43:55 | gevaerts | Those files are what itunes would download and put on your ipod if you used that to restore |
00:45:39 | ujcroon | theres two files one is iPod_29.1.1.3.ipsw one is iPod_19.1.1.3.ipsw which one should i use? |
00:45:44 | ujcroon | does it matter? |
00:46:50 | * | gevaerts doesn't know, but based on it apparently not mattering for the PP502x ipods, he'd guess it doesn't matter |
00:50:40 | | Quit utrack (Ping timeout: 258 seconds) |
00:50:42 | [Saint] | one posits if he had a mac it would be infintely easier. |
00:50:58 | [Saint] | they have iPod restore magic baked in. |
00:51:43 | gevaerts | Yes, but not to FAT |
00:52:50 | [Saint] | Well, yes, that's true - but the first and second stage recovery could be handled largely automagically. |
00:53:02 | ujcroon | ia m assuming i need two .ipsw files the recovery .ipsw and the actual firmware .ipsw right? |
00:53:17 | [Saint] | Yes. As detailed. |
00:53:23 | | Join utrack [0] (~utrack@21422.s.t4vps.eu) |
00:53:45 | ujcroon | the recovery .iposw is not on my ipod either right? |
00:56:04 | [Saint] | it is, but as discussed dumping it is a very convoluted process. |
00:56:09 | | Nick Hoshi_ is now known as Hoshi (~Hoshi@drc224.neoplus.adsl.tpnet.pl) |
00:57:28 | ujcroon | because im not having much luck finding it |
00:57:55 | ujcroon | do you know the filename it would have? |
00:58:22 | [Saint] | This is detailed on the wiki page provided. |
00:58:58 | ujcroon | isnt that for ipod classic? |
00:59:22 | ujcroon | x12230000_Recovery.ipsw i mean |
01:00 |
01:00:58 | [Saint] | It is. You actually want the WTF binary /inside/ that, but you can wildcard the search terms and add nano2g as a search criteria. |
01:01:24 | | Quit ZincAlloy (Quit: Leaving.) |
01:04:32 | ujcroon | not sure how to do that |
01:04:47 | ujcroon | im not getting any hits |
01:07:15 | ujcroon | wtf.*.release.dfu nano2g |
01:07:23 | ujcroon | thats what i tried |
01:07:56 | [Saint] | SInce we're not recovering from a state where we have completely removed the original firmware anyway, which is the intended purpose and scope of that wiki page, it is likely that you can ignore first and second stage recovery entirely. |
01:10:21 | ujcroon | ok so i can just write the firmware directly using ipodscsi no prep needed at all? |
01:10:26 | [Saint] | Another option would be to just remove the original firmware entirely and use Rockbox because the original firmware is a giant piece of shit. |
01:10:59 | | Quit Hoshi (Read error: Connection reset by peer) |
01:11:18 | ujcroon | so rockbox is not buggy anymore? |
01:12:01 | ujcroon | i had read rockbox was buggy and it wasnt possible to transfer files to a 2nd gen or something |
01:12:26 | ujcroon | not sure exactly but there was some reason dual boot was needed |
01:13:45 | ujcroon | might be old info |
01:15:19 | [Saint] | very. |
01:16:12 | ujcroon | right so if i go for rockbox only i can still put apples ipl on there? |
01:16:27 | ujcroon | firmware i mean if i want to sell it |
01:18:20 | [Saint] | Yes. This process is entirely recoverable. |
01:19:17 | [Saint] | You will not be able to use our official bootloader as we always assume a WinPod and not a MAcPod. |
01:19:32 | [Saint] | You can however use FreemyIpod's emCORE loader. |
01:19:54 | [Saint] | note: this will completely remove the original firmware and dual-boot is not possible. |
01:20:47 | [Saint] | see: https://www.freemyipod.org/wiki/EmCORE_Installation/iPodNano2G |
01:21:07 | [Saint] | this is a guided install wiki page that will walk you through the process |
01:21:48 | [Saint] | note that you will lose the ability to duall boot, and that all the original content on the iPod will be lost, and it will be deassociated from any and all iTunes accounts it is associated with. |
01:23:11 | ujcroon | so if i did this using dualboot i would be able to keep the music that is on there in rockbox? |
01:26:17 | ujcroon | i follow these instructions https://theseven.freemyipod.org/iloader/installation.php after having only rockbox booting on my ipod right ? |
01:26:47 | [Saint] | No. As discussed Rockbox is not compatible with HFS formatted iPods. |
01:27:44 | ujcroon | oh right ok there is no way i am going to dual boot hfs this is just for putting apples stuff back |
01:28:12 | [Saint] | No. |
01:28:31 | [Saint] | This is about removing it entirely and forgetting it even exists. |
01:29:01 | [Saint] | iLoader is ancient and deprecated. |
01:30:02 | *** | Saving seen data "./dancer.seen" |
01:30:39 | ujcroon | on my ipod nano 1st gen sometimes rockbox crashed so hard i had to boot into apples os just to get it back to normal |
01:31:00 | ujcroon | but this was years ago, does this still happen? |
01:31:28 | [Saint] | There's never any reason to boot the original firmware. Crash or otherwise. |
01:31:46 | [Saint] | A hard reset would be perfectly sufficient. |
01:32:13 | ujcroon | i was just button mashing maybe it did a hard reset |
01:32:45 | [Saint] | You would've done a ahrd reset and then continued holding keys after the fact which forces boot to the original firmware. |
01:34:00 | | Join athidhep [0] (~afoakf@unaffiliated/athidhep) |
01:34:11 | [Saint] | and iPod Nano 1 and 2g have absolutely nothing in common except for the naming scheme and the form factor, so whatever a very historic build of Rockbox for iPod Nano 1G did or didn't do is largely inconsequential. |
01:34:36 | ujcroon | ok so to remove all traces of original firmware step 1: ./ipodpatcher -a ipodnano2g-installer*.ipodx |
01:34:51 | ujcroon | correct? |
01:35:55 | [Saint] | Yes. |
01:36:25 | [Saint] | Note that you will need to compile ipodpatcher. |
01:36:28 | ujcroon | then umount or eject? |
01:37:00 | [Saint] | Safely eject. As detailed. |
01:37:37 | [Saint] | ipodpatcher source is available from the Rockbox github repository. |
01:38:05 | ujcroon | im not familiar with safely eject on linux eject is used for optical media is umount not the same? |
01:38:16 | ujcroon | for usb drives i mean |
01:38:36 | ujcroon | so in this scenario i would not need ipodscsi |
01:38:42 | [Saint] | No. |
01:39:29 | [Saint] | and, kinda - unmount and eject are very different creatures and not specific to any type of storage medium. |
01:40:02 | [Saint] | you will need to compile ipodpatcher, though, so you're not entirely out of the woods in terms of not having to compile anything. |
01:40:14 | [Saint] | You will need the entire ipodpatcher tree from https://github.com/Rockbox/rockbox/tree/master/rbutil/ipodpatcher |
01:40:33 | [Saint] | fortunately it is self contained so you will not need anything outside of that tree. |
01:41:49 | ujcroon | so i just clone it |
01:41:56 | [Saint] | Yes. |
01:46:10 | ujcroon | doesnt seem to work |
01:48:31 | ujcroon | wont let me i tried −−branch that doesnt work either |
01:51:58 | [Saint] | that's because it isn't a branch. |
01:51:59 | ujcroon | just cloning the whole thing |
01:52:13 | [Saint] | you can either clone the whole thing or wget/curl the files manually. |
01:52:27 | ujcroon | −−separate-git-dir didnt work either |
01:53:32 | [Saint] | that doesn't do what you seem to think it does. |
01:53:59 | [Saint] | that just allows for cloning into a directory other than the root the checkout dictates. |
01:54:35 | ujcroon | yeah ive never used any other arguments than clone |
01:56:45 | [Saint] | if you just did a bare git clone the rockbox repo would clone into a parent folder names 'rockbox'. If you wanted that to be named my_awesome_repository_path you would do 'git clone $REPOSITORY −−separate-git-dir /path/to/my_awesome_repository_path |
01:58:44 | ujcroon | oh i see |
01:59:17 | ujcroon | so to just get that part i would need to use wget recursive? |
01:59:40 | [Saint] | Yes. |
02:00 |
02:00:37 | [Saint] | curl doesn't have a real recursive mode. |
02:00:50 | * | [Saint] glares at bagder |
02:00:57 | [Saint] | or...would, were he present. |
02:01:35 | ujcroon | is badger a curl guy? |
02:01:50 | [Saint] | He's _the_ cURL guy. |
02:02:15 | [Saint] | Also one of our 'founding fathers', in terms of Rockbox. |
02:02:24 | [Saint] | *themoreyouknow.gif* |
02:02:31 | ujcroon | oh |
02:03:06 | [Saint] | Now He's rollin' in those sweet, sweet Mozilla dollarydoos Scrooge McDuck style. |
02:03:51 | ujcroon | heh mozilla got plenty of money |
02:04:44 | [Saint] | You know you've done something very right in life when Mozilla headhunts you as a department head. |
02:05:09 | [Saint] | I don't think it could've happened to a more deserving or suitable person. |
02:05:26 | [Saint] | He's good people. |
02:06:23 | [Saint] | curl is one of those things that everyone uses and no one knows they use. |
02:06:41 | ujcroon | i ysed it to download videos once |
02:06:46 | [Saint] | a conservative estimate would very likely be in the area of hundreds of millions of deployments. |
02:07:02 | [Saint] | pretty much everything that touches the Internet uses curl or libcurl. |
02:07:49 | [Saint] | Every Android and iOS install depends on it, so this significantly increases the curface area of deployment. |
02:08:32 | | Quit pamaury (Ping timeout: 240 seconds) |
02:08:55 | [Saint] | If you were to look in the licensing details for almost any software that touches the Internet in some capacity I pretty much guarantee you'll find attribution to curl/libcurl binaries. |
02:09:24 | [Saint] | everyone uses it and virtually no one knows how dependant they are on it. |
02:09:28 | ujcroon | so he has changed the world |
02:09:34 | ujcroon | in a way |
02:09:44 | [Saint] | Absolutely. |
02:11:03 | [Saint] | I wish any of my hobby projects had even 0.1% of the surface area for deployment as curl/libcurl - lol |
02:11:14 | [Saint] | that would still be multiple hundreds of thousand of users. |
02:11:49 | [Saint] | But...I digress. |
02:12:59 | | Quit robertd (Quit: Page closed) |
02:13:04 | shadows | oh, that badger |
02:13:13 | ujcroon | i gotta go offline to compile thses things |
02:13:13 | shadows | makes sense now. |
02:13:24 | ujcroon | cant be going root while online |
02:13:55 | [Saint] | shadows: s/dg/gd/ |
02:14:10 | [Saint] | ujcroon: there's no reason to compile this as root. |
02:14:17 | [Saint] | also - ...errrr. |
02:14:19 | ujcroon | oh really? |
02:14:25 | shadows | "bag derrrrr" |
02:14:26 | [Saint] | really really. |
02:15:34 | [Saint] | even if you needed elevated permissions for some reason - there's absolutely no reason to ever run as root. |
02:15:37 | ujcroon | but i mean i still need to install |
02:15:52 | [Saint] | No. You do not. |
02:15:53 | ujcroon | the build environment |
02:15:57 | [Saint] | No. |
02:16:09 | [Saint] | Oh, the build environemt - yes. |
02:16:29 | [Saint] | But this is exactly why sudo exists. There's never any reason to be root. |
02:17:17 | [Saint] | (and yes - there's a rather large fundamental difference in many areas between elevating via sudo and actually running as root) |
02:17:30 | ujcroon | i need to set up my sudoers |
02:18:05 | [Saint] | default live-install for debian-esque systems allows passwordless sudo to the primary user. |
02:18:07 | shadows | um |
02:18:17 | shadows | I've never installed a build environment for rockbox compilation |
02:18:42 | ujcroon | i will continue this tomorrow in a devian cd |
02:18:48 | [Saint] | shadows: I assure you you have required build-essentials |
02:18:53 | ujcroon | devuan whatever its called |
02:19:02 | [Saint] | debian |
02:19:15 | [Saint] | what is the current liveCD instance distribution? |
02:19:24 | shadows | [Saint]: right. I'm meaning to say beyond what the package manager provides |
02:19:32 | ujcroon | antix |
02:19:40 | shadows | never had to 'sudo make install' some tools to get rockbox to compile |
02:20:06 | ujcroon | newer antix is debian based i think |
02:20:07 | [Saint] | well, he's not compiling Rockbox. |
02:20:16 | [Saint] | And it was a logical conclusion to come to. |
02:20:48 | [Saint] | That's the logical progression for many people who expect a compiled binary to be accessible from the system $PATH |
02:21:28 | [Saint] | in this instance it isn't, and isn't required to be, but someone with no foresight of this or our project doesn't know that. |
02:21:29 | ujcroon | ok i gotta go need to wake up tomorrow |
02:21:48 | [Saint] | Well, I, or someone else, will be here to assist you if required. |
02:21:48 | ujcroon | later |
02:21:51 | [Saint] | o/ |
02:21:59 | ujcroon | thanks for your help |
02:22:25 | | Part ujcroon |
02:22:38 | shadows | yep. I'm just as confused when people are receiving advice that leads them to think being root uid is correct for development work. |
02:22:39 | [Saint] | shadows: for context this user wants/needs the ipodpatcher binary - not Rockbox itself. |
02:22:52 | shadows | ohhh I was a tool that didn't read closely enough the backlog |
02:22:57 | shadows | right. |
02:23:19 | [Saint] | 'make install' as an elevated user is pretty logical for someone with very limited experience outside of large-ish projects. |
02:24:09 | [Saint] | many people many to use *nix systems while being gleefully ignorant of $PATH structures and permissions as well. |
02:24:41 | [Saint] | 'run it as root' is the default panic mode or pre-emptive cross your fingers and just hope shit works thought process. |
02:25:30 | [Saint] | not saying this is or isn't the case with this particular user but I have seen it enough times to understand how the thought process plays out. |
02:25:37 | shadows | ah okay |
02:25:49 | shadows | I've been there, I don't remember it well |
02:26:05 | shadows | just being lambasted and even G-lined for running Xchat as root uid |
02:26:33 | shadows | presumably I was starting from that similar mindset at some point in the 1990's |
02:26:54 | [Saint] | lots of shitty tutorials for projects that are written by people who don't understand the concept of 'principle of least operations' really doesn't help either. |
02:27:22 | [Saint] | "ah fuck it, run it as root" has almost become a default debugging step. |
02:29:03 | [Saint] | and, yes, it sucks. this context is relatively fresh in my mind from a protracted discussion I had about this with a few people around a week or so ago that more than mildly annoyed me. |
02:29:21 | [Saint] | the concept of principle of least operations appears to be a largely dying art. |
03:00 |
03:15:43 | | Join rela_ [0] (~x@p200300764D418400BC18F7FF479CF2F7.dip0.t-ipconnect.de) |
03:19:37 | | Quit rela (Ping timeout: 260 seconds) |
03:20:42 | fs-bluebot | Build Server message: New build round started. Revision 57a4485, 255 builds, 15 clients. |
03:24:09 | | Quit [Saint] (Quit: Going down for maintainence) |
03:25:19 | prof_wolfff | bluebrother pamaury: finally changed mk6gboot -> mks5lboot, it for any reason mks5l8702boot is preferable then it is a matter of 10 minutes to change it |
03:28:01 | prof_wolfff | AndyP: great! |
03:29:48 | fs-bluebot | Build Server message: Build round completed after 546 seconds. |
03:29:49 | fs-bluebot | Build Server message: Revision 57a4485 result: All green |
03:29:50 | fs-bluebot | Build Server message: New build round started. Revision 7083110, 255 builds, 15 clients. |
03:30:03 | *** | Saving seen data "./dancer.seen" |
03:32:26 | | Join __builtin [0] (~zulu@unaffiliated/franklin) |
03:39:39 | fs-bluebot | Build Server message: Build round completed after 590 seconds. |
03:39:40 | fs-bluebot | Build Server message: Revision 7083110 result: All green |
04:00 |
04:11:57 | | Join Strife89 [0] (~quassel@adsl-98-67-61-87.mcn.bellsouth.net) |
04:22:52 | | Quit __builtin (Quit: ZNC 1.7.x-git-unknown - http://znc.in) |
04:24:12 | | Join __builtin [0] (~zulu@unaffiliated/franklin) |
04:51:15 | | Nick ruhans is now known as addmeplsss (uid76353@gateway/web/irccloud.com/x-dgkfqtdasazggofw) |
04:51:20 | | Nick addmeplsss is now known as ruhans (uid76353@gateway/web/irccloud.com/x-dgkfqtdasazggofw) |
05:00 |
05:03:58 | | Join [Sinner] [0] (~quassel@rockbox/staff/saint) |
05:25:35 | | Nick [Sinner] is now known as [Saint] (~quassel@rockbox/staff/saint) |
05:30:04 | *** | Saving seen data "./dancer.seen" |
06:00 |
06:19:35 | | Quit athidhep (Quit: athidhep) |
07:00 |
07:12:46 | | Join ayypot [0] (~ayy@156.26.169.39) |
07:12:59 | ayypot | Hello. I think my player may be bricked. Can someone help me? |
07:13:32 | ayypot | It's a Sansa Clip+. Actually I have not bothered to mess with it since months ago but I'm pretty sure i loaded incorrect firmware onto it. |
07:14:07 | ayypot | I'm using Linux right now so that's the only way available to me currently to interface with it |
07:14:33 | ayypot | I've been able to force MSC mode on my clip by holding the center+home button |
07:15:59 | ayypot | I get a device file, /dev/sdb, that is 31344 blocks large |
07:30:07 | *** | Saving seen data "./dancer.seen" |
08:00 |
08:05:23 | | Join edhelas [0] (~edhelas@145.133.43.230) |
08:11:14 | | Quit amiconn (Remote host closed the connection) |
08:11:15 | | Quit pixelma (Remote host closed the connection) |
08:11:35 | | Join pixelma [0] (~pixelma@rockbox/staff/pixelma) |
08:11:36 | | Join amiconn [0] (~amiconn@rockbox/developer/amiconn) |
08:26:40 | [Saint] | ayypot: that's really not an encouraging sign. |
08:28:18 | ayypot | Yeah. I was reading the sansa page and it said i probably should talk to y'all before i attempt the hardware solutions |
08:32:23 | [Saint] | the only other available course of action for you is to attempt to wait it out and deep discharge the battery. |
08:32:32 | ayypot | I've done that many times. |
08:32:49 | ayypot | Like i picked up the clip out of my box today after several months for one |
08:33:01 | ayypot | It gets stuck on the flower when i turn it on |
08:33:18 | [Saint] | Right. Ok. Then, yeah, you have pretty much one hope for recovery. |
08:33:41 | [Saint] | assuming you've tried the obvious and ejected any sdcard that may be present. |
08:34:11 | ayypot | holding the power button down and doing a soft reset? Yeah I've done that. |
08:34:15 | ayypot | and yeah there's no sd card |
08:35:31 | [Saint] | Ok. Then you know what you have to do. |
08:35:43 | | Quit edhelas (Ping timeout: 258 seconds) |
08:35:47 | [Saint] | The reason we ask you to drop in here is to make sure you've exhausted other avenues. |
08:36:00 | [Saint] | ANd so there's a chance of live support during the recovery attempt. |
08:36:43 | | Join ayypot_ [0] (~nekn@ip72-205-227-99.ks.ks.cox.net) |
08:36:55 | [Saint] | please not that chances of recovery are exceptionally slim and we don't actually understand why this black magic does or doesn't work. |
08:37:04 | ayypot_ | Alrighty. |
08:38:18 | [Saint] | deviate from the instructions given in the wiki slightly and dd in a rockbox modified original firmware instead of a stock one. |
08:38:30 | ayypot_ | onto /dev/sdb ? |
08:38:55 | [Saint] | on to /dev/sd<whatever_the_volume_is> |
08:39:03 | [Saint] | don't assume it is sdb for love nor money. |
08:39:09 | [Saint] | dd is brutal and unforgiving. |
08:39:13 | ayypot_ | Oh yeah lol. In this case, it is /dev/sdb |
08:39:21 | [Saint] | right. |
08:39:39 | [Saint] | then yes. instead of a stock original firmware supply a rockbox bootloader patched one. |
08:40:24 | [Saint] | assuming you are indeed able to expose the ~900MB partition |
08:40:34 | | Join einhirn [0] (~Miranda@bsod.rz.tu-clausthal.de) |
08:40:40 | ayypot_ | i assume you mean this page http://www.rockbox.org/download/byhand.cgi |
08:40:42 | [Saint] | if you can't there's no point in proceeding. |
08:40:58 | [Saint] | No. |
08:41:13 | ayypot_ | Oh that's the actual rockbox firmware i just found |
08:41:36 | [Saint] | right. the wiki and the manual both covery manual installation and bootloader patching. |
08:41:53 | [Saint] | it is the bootloader patching of the original firmware that is interesting to you atthis stage. |
08:42:03 | [Saint] | we can worry about a rockbox binary if we're succesful |
08:42:11 | ayypot_ | of course. ok i'll try it |
08:45:19 | NathanV | @[Saint] do you remember the battery life you got on your yp-r0? |
08:45:32 | | Join athidhep [0] (~afoakf@unaffiliated/athidhep) |
08:45:46 | | Quit rela_ (Quit: Leaving) |
08:46:01 | | Join rela [0] (~x@pdpc/supporter/active/rela) |
08:47:04 | [Saint] | NathanV: I don't think I ever really tested it. |
08:47:16 | [Saint] | I only ever recall using it for maybe a few hours at a time. |
08:47:35 | NathanV | ah ok |
08:47:55 | NathanV | apparently samsung says 30hr, for their own firmware of course |
08:47:58 | [Saint] | I'm one of those people that charges whenever it is convenient as opposed to whenever it is necessary too. |
08:48:11 | NathanV | that sure kicks the gigabeat S's ass |
08:48:26 | ayypot | so just to clarify: use mkamsboot to create the modified firmware and just dd that onto my device? |
08:49:11 | [Saint] | an ipod classic 6g with the stock 850mAh battery solid state converted with iFlash and one or more microsd cards gets around 24~26h easy. |
08:49:32 | [Saint] | ayypot: yes. |
08:49:38 | ayypot | running it now :) |
08:49:44 | ayypot | the dd command of course |
08:50:16 | NathanV | i'm surprised by the lack of music discussion ever, on the rockbox forums or this irc |
08:50:32 | [Saint] | so you did actually expose the 900MB partition by bridging the hardware pins in the device, yes? |
08:50:37 | [Saint] | ayypot: ^? |
08:50:38 | NathanV | i'd expect many people to be fanatical about music but i guess they just don't address that topic here |
08:50:45 | ayypot_ | Ok the command ran successfully. 15728640 bytes (16 MB, 15 MiB) copied, 57.7415 s, 272 kB/s |
08:51:51 | | Quit ayypot_ (Quit: Lost terminal) |
08:52:00 | ayypot | Oh was that 900MB question to me? |
08:52:05 | [Saint] | Yes. |
08:52:07 | | Join edhelas [0] (~edhelas@145.133.43.230) |
08:52:16 | ayypot | I didn't do anything hardware related yet. I haven't even opened the back yet. |
08:52:36 | [Saint] | As I mentioned earlier there's absolutely no point in doing that. |
08:52:47 | | Join Hoshi [0] (~Hoshi@drc224.neoplus.adsl.tpnet.pl) |
08:53:20 | ayypot | Alright so i dd'd it. I wasn't able to mount /dev/sdb to a mountpoint. I suppose i'll try turning it on now. |
08:53:31 | [Saint] | If you can't expose the ~900 (i believe it is 960something) MB partition via bridging the pins described in the wiki during a USB connection there's no point in continuing. |
08:53:52 | [Saint] | dding anything to anywhere else doesn't matter. |
08:54:14 | ayypot | Oh ok. Yeah I'll do that now then. |
08:54:44 | ayypot | Opening the case is quite difficult because it's put together really tightly. Is there a way to make it easier? |
08:55:11 | [Saint] | guitar pick or credit/security card. |
08:55:23 | ayypot | ok i'll try that |
08:56:04 | [Saint] | there are little plastic clips placed at intervals around the edge of the case you need to make sure are released. |
08:56:32 | [Saint] | once you get a few off it gets significantly easier, but make sure not to force the two halves of the case apart. |
08:56:49 | [Saint] | there is a delicate ribon cable connection we need to release. |
08:57:06 | ayypot | understood |
08:57:58 | [Saint] | so, yeah, don't try and pull the two halves apart until you can actually get a good look in there and can see how much room you have to play with. |
09:00 |
09:01:34 | ayypot | Ok i got it apart. There are two halves of the player. there are three wires connected between both halves which seem to go to the battery |
09:03:25 | ayypot | Oh there are three tiny screws. I assume I need to remove those in order to proceed |
09:03:32 | ayypot | four screws my bad |
09:11:32 | | Quit edhelas (Ping timeout: 244 seconds) |
09:13:09 | | Join Saratoga [0] (32b117cb@gateway/web/freenode/ip.50.177.23.203) |
09:17:13 | | Quit athidhep (Read error: Connection reset by peer) |
09:18:31 | ayypot | [Saint], I'm afraid I can't continue right now. I cannot find a small enough screw driver to deal with this at the moment. If you don't mind, I'll ping you tomorrow when I have the needed equipment |
09:18:50 | [Saint] | sure. |
09:24:58 | ayypot | Oh hey [Saint] I did find a working screwdriver. Ok i'm removing the screws now |
09:25:01 | | Quit Saratoga (Ping timeout: 264 seconds) |
09:28:42 | ayypot | Wow those are really small recovery pins! I'm going to follow the wiki instructions now. |
09:30:08 | *** | Saving seen data "./dancer.seen" |
09:58:03 | ayypot | So strange. I'll keep repeating a bit longer but i still get it reported 30.6mb which is what i've been getting by forcing MSC |
09:58:55 | | Join Hoshi_ [0] (~Hoshi@abzp114.neoplus.adsl.tpnet.pl) |
09:59:50 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:75f1:7149:fded:ce7c) |
10:00 |
10:00:01 | | Quit elensil (Client Quit) |
10:00:41 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:75f1:7149:fded:ce7c) |
10:02:43 | | Quit Hoshi (Ping timeout: 260 seconds) |
10:07:30 | ayypot | [Saint], i think i got it! 8 16 3872256 sdb |
10:07:40 | ayypot | It's the 4gb model. |
10:07:56 | ayypot | I'm doing the dd now. |
10:10:16 | ayypot | dd finished, but it finished and did: dd: writing to '/dev/sdb': Input/output error |
10:11:51 | ayypot | http://pastebin.com/raw/vKJmKxAD |
10:35:30 | | Quit elensil (Quit: Leaving.) |
10:35:50 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:75f1:7149:fded:ce7c) |
10:35:52 | | Quit elensil (Client Quit) |
10:37:11 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:75f1:7149:fded:ce7c) |
10:48:58 | | Nick Hoshi_ is now known as Hoshi (~Hoshi@abzp114.neoplus.adsl.tpnet.pl) |
11:00 |
11:07:37 | | Quit NathanV (Ping timeout: 264 seconds) |
11:29:08 | | Quit Makinit (Ping timeout: 244 seconds) |
11:30:09 | *** | Saving seen data "./dancer.seen" |
11:30:49 | | Join NathanV [0] (68dc3297@gateway/web/freenode/ip.104.220.50.151) |
11:32:05 | | Join Makinit [0] (makinit@makinit.nl) |
11:48:05 | | Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:7183:bf77:908:d05f) |
12:00 |
12:43:22 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
13:00 |
13:30:11 | *** | No seen item changed, no save performed. |
13:30:11 | | Join robertd [0] (c9f2b970@gateway/web/freenode/ip.201.242.185.112) |
13:42:29 | | Quit utrack (Changing host) |
13:42:29 | | Join utrack [0] (~utrack@unaffiliated/utrack) |
14:00 |
14:00:43 | | Join krabador [0] (~krabador@unaffiliated/krabador) |
14:04:01 | | Quit NathanV (Ping timeout: 264 seconds) |
14:10:34 | | Join athidhep [0] (~afoakf@unaffiliated/athidhep) |
14:24:26 | | Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl) |
14:25:31 | wodz | how can I configure our dsp to resample PCM 16bit interleaved 16kHz stream into native freq (44 or 48 depending on setting). |
14:26:33 | wodz | Looking at dsp config struct I see two separate pointers for left and right channel. |
14:28:09 | pamaury | wodz: no idea, I would look at some the codecs code, see how they handle it |
14:29:28 | wodz | pamaury: I was looking at mpegplayer code (as pointed by jh in some old forum thread) but it takes two separate buffers for L and R as far as I understand |
14:30:03 | pamaury | that probably means you have to de-interleave them in temporary buffers then ? |
14:30:29 | wodz | I bet there is a way to avoid this |
14:30:37 | pamaury | or maybe L and R have a stride that would allow them to be the same buffer ? |
14:34:31 | pamaury | wodz: have you looked at the wav codec ? |
14:34:46 | pamaury | there is no decompressing involved, and PCM is interleaved |
14:35:11 | * | pamaury has never looked at a codec code.... |
14:39:17 | | Join paulk-collins [0] (~paulk@gagarine.paulk.fr) |
14:43:06 | wodz | will look |
14:55:17 | | Quit krabador (Quit: Leaving) |
15:00 |
15:10:06 | | Quit [Saint] (Remote host closed the connection) |
15:11:16 | pamaury | wodz: a quick look at lib/codecs/wav.c and libc/codecs/libpcm/linear_pcm.c suggest our dsp can do interleaved. For example, wav does that: |
15:11:16 | pamaury | ci->configure(DSP_SET_STEREO_MODE, STEREO_INTERLEAVED); |
15:13:23 | wodz | pamaury: yes I saw that. |
15:14:49 | pamaury | wodz: why do you want to do that by the way ? |
15:15:17 | wodz | pamaury: I am scratching my head how to activate resampling. Is rb->dsp_configure(dsp, DSP_SET_FREQUENCY, xxx) and rb->dsp_configure(dsp, DSP_SET_OUT_FREQENCY, yyy) enough to do this? |
15:15:30 | wodz | pamaury: I am porting picoTTS to rockbox |
15:16:22 | wodz | I have POC working but it synth 16bit interleaved 16kHz stream |
15:16:38 | pamaury | good question, I don't know |
15:21:36 | | Quit Bray90820 (Ping timeout: 258 seconds) |
15:30:12 | *** | Saving seen data "./dancer.seen" |
15:37:34 | | Join Bray90820 [0] (~bray90820@50-83-212-56.client.mchsi.com) |
15:55:15 | | Quit wodz (Ping timeout: 265 seconds) |
16:00 |
16:16:15 | | Quit athidhep (Quit: athidhep) |
17:00 |
17:18:17 | | Join The_Prospector|2 [0] (~The_Prosp@c-73-239-179-79.hsd1.wa.comcast.net) |
17:21:21 | | Quit The_Prospector (Ping timeout: 265 seconds) |
17:30:16 | *** | Saving seen data "./dancer.seen" |
17:30:43 | | Quit Hoshi (Ping timeout: 260 seconds) |
17:32:26 | | Quit krnlyng (Remote host closed the connection) |
17:32:41 | | Join krnlyng [0] (~liar@77.116.19.46.wireless.dyn.drei.com) |
17:38:50 | | Quit krnlyng (Ping timeout: 264 seconds) |
17:39:42 | | Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
17:50:44 | | Join krnlyng [0] (~liar@77.116.4.124.wireless.dyn.drei.com) |
18:00 |
18:00:45 | | Quit elensil (Quit: Leaving.) |
18:05:14 | | Join smoke_fumus [0] (~smoke_fum@188.35.176.90) |
18:09:38 | | Join krabador [0] (~krabador@unaffiliated/krabador) |
19:00 |
19:00:55 | | Quit idonob (Ping timeout: 265 seconds) |
19:01:29 | | Join edhelas [0] (~edhelas@145.133.43.230) |
19:12:04 | | Join idonob [0] (~Owner@184.65.178.159) |
19:14:40 | | Quit neersighted (Remote host closed the connection) |
19:15:02 | | Join neersighted [0] (~neer@firebrand.neer.io) |
19:19:58 | | Quit smoke_fumus (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) |
19:22:30 | | Quit idonob (Ping timeout: 240 seconds) |
19:23:51 | | Join idonob [0] (~Owner@184.65.178.159) |
19:25:40 | | Quit neersighted (Remote host closed the connection) |
19:25:53 | | Join neersighted [0] (~neer@firebrand.neer.io) |
19:28:06 | | Join saratoga [0] (123e11e0@gateway/web/freenode/ip.18.62.17.224) |
19:28:21 | saratoga | wodz: test_codec can apply DSP settings and then save to a .WAV file, perhaps that would be a good example? |
19:28:39 | saratoga | IIRC it just applies whatever settings are enabled in rockbox, but i believe it will do resampling |
19:30:18 | *** | Saving seen data "./dancer.seen" |
19:33:01 | | Join lebellium [0] (~chatzilla@89-93-176-213.hfc.dyn.abo.bbox.fr) |
19:35:10 | | Join GodEater` [0] (~whoknows@176.250.148.252) |
19:37:05 | | Quit GodEater (Ping timeout: 250 seconds) |
19:49:38 | | Quit idonob (Ping timeout: 264 seconds) |
19:50:55 | | Join idonob [0] (~Owner@184.65.178.159) |
19:59:44 | | Join AndyP_ [0] (bcdca0a4@gateway/web/freenode/ip.188.220.160.164) |
20:00 |
20:00:59 | | Quit krnlyng (Remote host closed the connection) |
20:02:35 | | Quit edhelas (Ping timeout: 258 seconds) |
20:04:21 | AndyP_ | [elensil] I'm still trying to get the Mini1G and the 4G color to use the Aux port. Slowly going through the diagcode of the 4G Color with IDA looking for clues without success. |
20:04:23 | | Join krnlyng [0] (~liar@77.116.4.124.wireless.dyn.drei.com) |
20:04:33 | | Quit AndyP_ (Client Quit) |
20:05:56 | | Quit idonob (Ping timeout: 276 seconds) |
20:12:28 | lebellium | pamaury: feedback http://www.anythingbutipod.com/forum/showpost.php?p=656607&postcount=1213 |
20:13:17 | pamaury | lebellium: thanks, so it seems to make a difference |
20:15:22 | lebellium | yeah |
20:15:26 | lebellium | somehow :D |
20:16:55 | pamaury | I'll try to do dumps registers before and after the patch, there must be something |
20:17:01 | | Join idonob [0] (~Owner@184.65.178.159) |
20:23:26 | | Quit idonob (Ping timeout: 250 seconds) |
20:29:52 | | Join idonob [0] (~Owner@184.65.178.159) |
20:32:13 | | Quit idonob (Client Quit) |
20:36:43 | | Quit lebellium (Quit: ChatZilla 0.9.92 [Firefox 48.0/20160726073904]) |
20:37:00 | | Join lebellium [0] (~chatzilla@89-93-176-213.hfc.dyn.abo.bbox.fr) |
21:00 |
21:07:15 | | Quit krabador (Quit: Leaving) |
21:14:16 | | Quit alexweissman (Remote host closed the connection) |
21:14:43 | | Join alexweissman [0] (~alexweiss@140-182-72-71.ssl-vpn.indiana.edu) |
21:30:20 | *** | Saving seen data "./dancer.seen" |
21:52:56 | | Join CrashBash-Kun [0] (~CrashBash@unaffiliated/crashbash-kun) |
21:58:35 | | Join alexweis_ [0] (~alexweiss@c-68-51-123-75.hsd1.in.comcast.net) |
21:58:36 | | Quit alexweissman (Read error: Connection reset by peer) |
22:00 |
22:05:31 | | Join edhelas [0] (~edhelas@145.133.43.230) |
22:19:44 | | Join NathanV [0] (68dc3297@gateway/web/freenode/ip.104.220.50.151) |
22:28:37 | NathanV | lebellium: you there? |
22:28:45 | lebellium | yep |
22:29:10 | pamaury | lebellium: I found out why :) |
22:29:11 | NathanV | what avg battery life do you get on your ypr0 / what should one expect for one in good condition? |
22:29:21 | NathanV | nobody's run and published tests for that one on rockbox website |
22:30:51 | | Join gbl08ma [0] (~gbl08ma@ec2-52-23-151-127.compute-1.amazonaws.com) |
22:31:36 | lebellium | not on Rockbox website but there should be some benchmarks on ABO |
22:31:38 | lebellium | ABI* |
22:31:46 | NathanV | oh really, cool |
22:31:56 | ayypot | Alright well I keep getting that 32megabyte thing recognized. thrice i was able to get some kind of 4gb device regcognized but i'd get an I/O output error everytime i wrote to it |
22:32:09 | ayypot | i did a dump of the 32mb device i saw and it's all 0s |
22:32:33 | ayypot | when y'all say "if you see 4mb you're dead" is the 4mb device zeroed? |
22:32:53 | ayypot | I got a 4mb BRIEFLY but then i got some 4gb devices recongized so i'm quite confused |
22:32:58 | ayypot | Sansa clip+ btw |
22:34:46 | lebellium | NathanV: I guess it should be around 25hrs with a brand new player/battery. If I run a benchmark now, I would probably rather get 10-15 hrs |
22:35:37 | NathanV | alright |
22:35:46 | NathanV | wanted to see what condition the one I got off ebay was |
22:36:23 | NathanV | i read through the r0 firmware list on abi and it has a downclocking tool for saving battery, does that save battery on the order of hours, or less than an hour? |
22:37:27 | lebellium | NathanV: http://gerrit.rockbox.org/r/#/c/707/ you can read the description of this merged patc |
22:37:29 | lebellium | h |
22:43:15 | lebellium | NathanV: downclocking tool was in modded fw 2.20 and 2.30 only. It had some negative impact on performance. It was later replaced by on-demand CPU management (200Mhz most of time, boost to 532Mhz when needed) |
22:43:31 | NathanV | ah i see |
22:43:37 | NathanV | is that absent from lightrom? |
22:43:44 | NathanV | i don't even know the difference between LR and dual boot |
22:43:56 | lebellium | then you should read more documentation |
22:44:08 | lebellium | you shouldn't install one or the other without knowing that |
22:45:32 | lebellium | these are not official rockbox bootloader |
22:45:46 | lebellium | so we shouldn't even discuss them here.. :) |
22:46:47 | NathanV | ah ok |
22:50:28 | lebellium | How to build and install the official bootloader is explained here : http://www.rockbox.org/wiki/SamsungYPR0 ("Installation Guide Using Rockbox Tools") However, nobody except kugel uses it :P All other people use either dualboot 2.51 or LR 4.6 unofficial bootloaders |
22:54:09 | | Quit CrashBash-Kun (Quit: Leaving) |
23:00 |
23:09:17 | pamaury | lebellium: did you have the opportunity to try the patch on AMSv1 to check against regression ? |
23:09:49 | lebellium | nope sorry. I'll try on Fuze v1 this weekend |
23:10:03 | pamaury | I have updated g#1369. The latest version only has comment changes. Now that I understand why is works, I am positive it needs to be pushed |
23:10:04 | fs-bluebot | Gerrit review #1369 at http://gerrit.rockbox.org/r/1369 : as3543: fix audio gap when switching from dac to line-in/recording by Amaury Pouly |
23:11:43 | | Join idonob [0] (~Owner@184.65.178.159) |
23:13:02 | lebellium | pamaury: not sure I really understand the comment, but if it sounds clearer and more logical to you know, that's good :) |
23:13:10 | lebellium | now* |
23:14:06 | pamaury | lebellium: well it's hard to summarize the bug without knowing how the chip works. But essentially, in could happen in some cases that when the radio is turned on, the audio is told to route audio like this: |
23:14:06 | pamaury | line-in (radio) -> main mixer -> headphone mixer -> headphone |
23:14:16 | pamaury | but at the same time, the main mixer was turned OFF (yes !) |
23:15:01 | pamaury | but incredibly, it still worked, but resulted in some strange volume gaps. Once I identified the problem, I changed on the Clip Zip: you can turn the main mixer on and off, and it works anyway, but volume when mixer is off is not correct |
23:15:35 | pamaury | *I tried on the Clip Zip |
23:18:39 | lebellium | I didn't know there was several mixers :) |
23:19:13 | lebellium | what do you want me to check on Fuze v1 exactly? Just volume in general and specific case switching from radio to dac and reverse? |
23:19:22 | | Quit idonob (Ping timeout: 250 seconds) |
23:20:02 | pamaury | lebellium: just check that radio and dac work |
23:20:27 | | Join idonob [0] (~Owner@184.65.178.159) |
23:20:58 | lebellium | ok |
23:21:11 | lebellium | I'll look for the Fuze USB cable tomorrow |
23:21:23 | | Quit idonob (Client Quit) |
23:21:52 | | Join idonob [0] (~Owner@184.65.178.159) |
23:26:28 | | Quit benedikt93 (Remote host closed the connection) |
23:29:44 | | Join benedikt93 [0] (~quassel@unaffiliated/benedikt93) |
23:30:24 | *** | Saving seen data "./dancer.seen" |
23:34:29 | ayypot | My fuze cable comes in tomorrow |
23:34:53 | ayypot | I recently got this fuze but it didnt come with a cable. i'll most likely put rockbox on it |
23:36:34 | | Quit amayer (Quit: Leaving) |
23:47:14 | | Quit benedikt93 (Remote host closed the connection) |
23:52:53 | | Quit edhelas (Ping timeout: 250 seconds) |
23:58:22 | | Join benedikt93 [0] (~quassel@unaffiliated/benedikt93) |