Difference between revisions of "Script to run firmware patch"
Line 6: | Line 6: | ||
− | + | * From the PHATSYS root move flacplay and flacplay.sig into the PHATSYS\backup folder. |
|
− | + | * From the PHATSYS\backup folder copy flacplay-hacked and flacplay-hacked.sig into the PHATSYS root directory. |
|
− | + | * Renamed PHATSYS\flacplay-hacked and the .sig file you just copied to remove the -hacked from the filenames. |
|
− | + | * Explore the PHATDATA\profiles\default directory. You should see a lot of files in there starting with P and ending in .idx / .sig / .pbx ... find p0.idx / .sig / .pbx and rename them backup0.idx / .sig / .pbx |
|
− | + | * From PHATSYS\backup copy p0.* to PHATDATA\profiles\default ... This will make the first playlist that the phatbox plays execute the patch. |
|
You can instead of using p0 as steps 4 and 5 say, change the name of the p0 files in PHATSYS\Backup to PXXX where XXX equals any number of a playlist as long as its in consecutive order with the existing playlists and then navigate to it when you are ready to patch the box. |
You can instead of using p0 as steps 4 and 5 say, change the name of the p0 files in PHATSYS\Backup to PXXX where XXX equals any number of a playlist as long as its in consecutive order with the existing playlists and then navigate to it when you are ready to patch the box. |
||
− | + | * Eject the DMS from your PC |
|
− | + | * Insert the DMS into your Phatbox / Keg and navigate to your playlist and it will patch your flash. You should almost instantly see the playlist change after it starts.. thats normal, theres no audio to play. Let the box play for about 30 seconds to be sure everything is done and then shut it off, wait for the lights to turn off and then unplug the headunit cable from the back of the phatbox OR disconnect your car battery. |
|
This will kill power to the phatbox causing it to do a full restart from the new flash. Let the system boot up and once it starts playing music you can shut it off again. |
This will kill power to the phatbox causing it to do a full restart from the new flash. Let the system boot up and once it starts playing music you can shut it off again. |
||
− | + | * Remove your DMS and take it back to your PC. Plug it in and look for a file called bootload.log ... open it in notepad or your favorite text editor. |
|
If the drive has a valid signature, after you boot, your logfile will look like this: |
If the drive has a valid signature, after you boot, your logfile will look like this: |
||
Line 49: | Line 49: | ||
You can also review the logs in PHATSYS\log for more information. |
You can also review the logs in PHATSYS\log for more information. |
||
− | + | * The scripts will copy your original flacplay and flacplay.sig back into place so you don't have to. You will however have to remove the patch related playlist files (the .idx / .sig / .pbx ) we played with in PHATDATA\profiles\default so you don't get a CORRUPT TRACK message when it tries to play. |
|
− | + | * You can now make any drive a DMS drive. Partition it into two partitions, a PHATSYS of 64 megs to 256 megs and a PHATDATA of any size. At this time I have not tested the phatbox with a larger than 127 gig drive so it MAY not currently support drives of that size. We'll have to see.. but since laptop drives havent exceeded 120 gigs we should be fine for now. |
|
YAY!!!! |
YAY!!!! |
Revision as of 06:25, 24 July 2005
This is a quick howto on using scripts to patch the disk signature checking function of the phatbox...
Download phat-patch.zip and extract it to the PHATSYS drive when the DMS is connected to your pc.
- From the PHATSYS root move flacplay and flacplay.sig into the PHATSYS\backup folder.
- From the PHATSYS\backup folder copy flacplay-hacked and flacplay-hacked.sig into the PHATSYS root directory.
- Renamed PHATSYS\flacplay-hacked and the .sig file you just copied to remove the -hacked from the filenames.
- Explore the PHATDATA\profiles\default directory. You should see a lot of files in there starting with P and ending in .idx / .sig / .pbx ... find p0.idx / .sig / .pbx and rename them backup0.idx / .sig / .pbx
- From PHATSYS\backup copy p0.* to PHATDATA\profiles\default ... This will make the first playlist that the phatbox plays execute the patch.
You can instead of using p0 as steps 4 and 5 say, change the name of the p0 files in PHATSYS\Backup to PXXX where XXX equals any number of a playlist as long as its in consecutive order with the existing playlists and then navigate to it when you are ready to patch the box.
- Eject the DMS from your PC
- Insert the DMS into your Phatbox / Keg and navigate to your playlist and it will patch your flash. You should almost instantly see the playlist change after it starts.. thats normal, theres no audio to play. Let the box play for about 30 seconds to be sure everything is done and then shut it off, wait for the lights to turn off and then unplug the headunit cable from the back of the phatbox OR disconnect your car battery.
This will kill power to the phatbox causing it to do a full restart from the new flash. Let the system boot up and once it starts playing music you can shut it off again.
- Remove your DMS and take it back to your PC. Plug it in and look for a file called bootload.log ... open it in notepad or your favorite text editor.
If the drive has a valid signature, after you boot, your logfile will look like this:
BOOT0-0: OK BOOT0-1: OK BOOT0: Successful BOOT9: Successful BOOTB: Successful BOOTF: Successful BOOT*: Successful
Now, if you boot with a bad signature, or non phatnoise signed drive it will look like this:
BOOT0-0: OK BOOT0-1: OK BOOT0-2: Successful BOOT9: Successful BOOTB: Successful BOOTF: Successful BOOT*: Successful
You can also review the logs in PHATSYS\log for more information.
- The scripts will copy your original flacplay and flacplay.sig back into place so you don't have to. You will however have to remove the patch related playlist files (the .idx / .sig / .pbx ) we played with in PHATDATA\profiles\default so you don't get a CORRUPT TRACK message when it tries to play.
- You can now make any drive a DMS drive. Partition it into two partitions, a PHATSYS of 64 megs to 256 megs and a PHATDATA of any size. At this time I have not tested the phatbox with a larger than 127 gig drive so it MAY not currently support drives of that size. We'll have to see.. but since laptop drives havent exceeded 120 gigs we should be fine for now.
YAY!!!!