Rockbox mail archiveSubject: C200 corruption & made to work (not quite a mini-howto)
C200 corruption & made to work (not quite a mini-howto)
From: Tony Godshall <togo_at_of.net>
Date: Sun, 14 Dec 2008 00:51:40 -0800
cd ~/rockbox && mv build.rockbox.org build.rockbox.org.before$(date +%Y%m%d%H%M)
(cd ~/rockbox && wget --force-directories -c
This is my first post to this list.
I've been running rockbox on Sansa e200 and c200 for a while now, and
on Archos before that.
While the e200s are slicker, and better for video, I prefer the c200
for podcast listening: I can delete a podcast by touch (ie. while
driving). It is a complicated sequence (hold center two beats, hit
down 8, hit center, hit center) but it works.
I've been a little loathe to recommend rockbox to others given I've
had some time with corruption that's mysterious on installation but
then with some random-walk frustrating reinstallation etc tends to go
away and then the unit is reliable.
Anyhow, I recently bought a few C240s and C250s to give as gifts and
they were invariably corrupt on the first go, but then I was able to
make them work, and then I worked out the install procedure that
worked for me reliably. I'll produce it below, but I'll note what I
think is the primary issue first.
It seems that the factory format for partition 1, as well as the
device's own reformat is incompatible with linux. It appears to work
at first sometimes, but after the first write on sansa (e.g., choosing
a different font), the format becomes corrupt and all subsequent
writes either fail or produce files that do not read properly, lost
Formatting partition one as vfat32 in linux makes it work fine.
mkfs.vfat -c -F32 -n "Sansa C240 Rockbox" /dev/sdb1
OK, so here's my recipe (hope this helps others):
mkdir -p ~/rockbox
wget --force-directories -c
umount $sansadev (if ubuntu automounted it)
chmod ugo+x ~/rockbox/download.rockbox.org/bootloader/sandisk-sansa/sansapatcher/linux32x86/sansapatcher
mkfs.vfat -c -F32 -n "Sansa C240 Rockbox" $sansadev
(unplug, power off, plug in, wait for it to mount, ... damn, it powers
itself off, unplug, replug, powers off again, unplug,
hold-down-turn-off, turn on, plug in, ok, now /proc/partitions looks
mkdir -p $sansamnt && mount -t vfat $sansadev $sansamnt
rm -Rf $d ; mkdir -p $d; (cd $d && unzip
~/rockbox/build.rockbox.org/dist/build-sansac200/rockbox.zip && unzip
-o ~/rockbox/download.rockbox.org/daily/fonts/rockbox-fonts.zip &&
&& unzip ~/rockbox/download.rockbox.org/useful/rockdoom.zip && rsync
$d/. --progress )
rsync -auv $d/.rockbox $sansamnt/. && rsync -auv $d/. $sansamnt/.
(unplug, turn off, turn on, rockbox works, hooray! now to turn off
the stupid icons, change the font to something readable but not big,
make it red to save my night vision, etc., etc.)
By the way, fixing the (also apparently not up to normal convention)
partition table is *not* a route to success. I have one or two that I
have no idea how to recover.
-- Best Regards. Please keep in touch. This is unedited. P-) -- Best Regards. Please keep in touch. This is unedited. P-)Received on 2008-12-14