03-21-2007, 05:57 PM | #1 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Bricked My Iliad
So I did it....I managed to brick my iLiad with the shell script I wrote for managing MP3's. Now, it'll just stop at the last bar of the loading screen. It's odd, because it didn't touch the root file system, only the /mnt/card directory... I guess I'll have to call customer support and go through that ordeal. I don't know how I'm going to be without it for a few weeks (months?) |
03-21-2007, 06:10 PM | #2 | |
Uebermensch
Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
Quote:
This is a drama. What can we do? |
|
Advert | |
|
03-21-2007, 06:17 PM | #3 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Money isn't the problem, I can pay to have it reflashed (although, it sucks). My biggest concern is with iRex's turnaround time. Unless you can speed them up, I don't think there's anything you can do.
|
03-21-2007, 06:34 PM | #4 | |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Adam, I am sorry to hear ;(
Did you know that iRex has recently started to offer what they call "sample-quality" units? Perhaps they can send you one while yours is being reflashed? From Matthijs: Quote:
|
|
03-21-2007, 06:41 PM | #5 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
I did see that. I've made a post on the iRex forum about what happened. Maybe they will offer...
|
Advert | |
|
03-21-2007, 07:23 PM | #6 |
Enthusiast
Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
Adam,
Replied on the IRex forum - did your script produce anything on your mmc? Have you tried booting without any cards in the device? JayK |
03-21-2007, 07:30 PM | #7 |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Adam,
I don't see anything inherently dangerous in your script; but is it possible that mpc did something unexpected which could have led to you bricking your device? Specifically, what about these commands: /mnt/card/mpd/bin/mpc clear /mnt/card/mpd/bin/mpc update /mnt/card/mpd/bin/mpc listall | mpc add - /mnt/card/mpd/bin/mpc playlist > playlist.txt Code:
#!/bin/sh ##MPD Playlist Script for ContentLister killall mpd /mnt/card/mpd/bin/mpd mpd.conf cd /mnt/card/Music/Playlist/ rm -rf * /mnt/card/mpd/bin/mpc clear /mnt/card/mpd/bin/mpc update /mnt/card/mpd/bin/mpc listall | mpc add - /mnt/card/mpd/bin/mpc playlist > playlist.txt int=1 file=playlist.txt while read i do mkdir /mnt/card/Music/Playlist/$int cd /mnt/card/Music/Playlist/$int touch manifest.xml echo "<xml>\n<package>\n <metadata>\n <dc>\n <Title>$i</Title>\n <Description></Description>\n <Date>2006-11-16T08:28:46</Date>\n <Identifier>\n <Language>\n <Type>\n </dc>\n <y>\n <startpage>run.sh</startpage>\n <version>000</version>\n </y>\n </metadata>\n</package>\n" >> manifest.xml touch run.sh echo "/mnt/card/mpd/bin/mpc play $int" >> run.sh chmod a+x run.sh int=`expr $int + 1` done < "$file" |
03-21-2007, 07:40 PM | #8 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
It wasn't mpc. It was my script. The playlist directory wasn't there, so it stayed in the working directory and deleted everything.
|
03-21-2007, 11:26 PM | #9 |
Gizmologist
Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
Ouch, that massively stinks.
I guess you can't just replace the files in the working directory to fix it, then. |
03-22-2007, 04:00 AM | #10 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
The only thing I can think of is that something got written to /root and filled the root filesystem... Certainly, the reflash utility is severely needed :-/. Good luck with the Customer support. Hope you get your iliad back soon. |
|
03-22-2007, 04:23 AM | #11 | |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Quote:
|
|
03-22-2007, 04:52 AM | #12 |
Übernerd
Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
|
ow.
Btw, doesn't the shell used on the iLiad (it's busybox ash, right?) have something like a 'if ... else-if ... end-if' construct? I think you could check the return code of the 'cd' before doing any more 'rm -rf's. But I think you have already figured that out. And I know why I don't make any experiments with my iLiad atm. I'm happy it's running at the moment and I don't plan on sending it back to iRex more often than necessary. (one time was enough) |
03-22-2007, 06:45 AM | #13 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
I can't help it, it's in my nature to tinker, and try to get everything I can out of every device I have. Especially when it's currently lacking as many things as the iLiad... |
|
03-22-2007, 07:41 AM | #14 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
Argh! Hopefully iRex will rush a sample unit to you and also give you quick (and, I would hope, free) turnaround on the flash.
|
03-22-2007, 08:15 AM | #15 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
As I mentioned on the iRex forum, I don't expect them to eat the cost of the reflash. It was my mistake, and I take responsibility for it. And as nice as a sample quality unit would be, I think they're looking for more serious, business oriented developers to give those to... I'm just a geek with a toolchain.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bricked iLiad after flashing | e-milius | iRex | 4 | 01-28-2009 10:46 AM |
Bricked iLiad after badly done reflash ? | Pode | iRex | 6 | 05-19-2008 03:42 PM |
Almost just bricked my Iliad! | JimBob1971 | iRex | 0 | 03-11-2008 07:19 PM |
New member of "I bricked my iLiad"-Club: me | yokos | iRex | 40 | 09-21-2007 04:06 PM |
Bricked Iliad - what now | sigi | iRex | 21 | 11-01-2006 01:18 PM |