PhatHack

The Hacking Hoedown => PhatBox Hacking => Topic started by: Devil1978 on May 06, 2007, 10:07:10 am

Title: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 06, 2007, 10:07:10 am
Hello.
I have a EU-Phatbox with 20 GB.
Now i want to install a 160 GB in the DMS.
Can i install a 160 GB in the DMS?
Are 5400RPM ok for the DMS?
I must take a 2,5" HDD?
What connection must  i buy? PATA or SATA?
And where is a manual to make the new HDD DMS-ready?
Thank you very much for your help.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 06, 2007, 01:05:10 pm
Hello.
I have a EU-Phatbox with 20 GB.
Now i want to install a 160 GB in the DMS.
Can i install a 160 GB in the DMS?
Yes, but search the forum for help on a larger than 120 GB drive.

Quote
Are 5400RPM ok for the DMS?
Yes, though a 5400 rpm drive is more than you need. But I think you won't get a 160 GB drive with 4200 rpm.

Quote
I must take a 2,5" HDD?
Yes.

Quote
What connection must  i buy? PATA or SATA?
PATA

Quote
And where is a manual to make the new HDD DMS-ready?
http://wiki.phathack.com/Windows_Hack_Procedure
http://wiki.phathack.com/DMS_drive_swap

Quote
Thank you very much for your help.
You're welcome, but you could've found all that by yourself via search.  ;)
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: judb on May 06, 2007, 02:51:54 pm
I am seriously considering deleting the threads where it is obvious that people have not read the stickies or done any searching.  does anyone have any opinions on this?
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 06, 2007, 07:20:59 pm
Thank you.
I have used the search, but some times its not easy to understand it, because i'm from germany.
I can speak und understand english but i'm not a champion.


I think the 120 GB HDD ist big enough for me, then for the 160 GB HDD is must do a Kernelhack.
And if i use the 120 GB HDD, i dont must do the Kernelhack.
Is that right?

Sorry, but how i said im not a champion in english.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: VorTechS on May 06, 2007, 07:59:34 pm
I think the biggest problem with the stickies is that they are open, and you have to wade through a lot of stuff to determine if you really want to brave the process.

I think the hack would benefit from a new post, illustrating what to do and what to look out for - as well as answers to FAQ on the hack.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: judb on May 06, 2007, 08:03:47 pm
the kernel hack is pretty much just replacing the kernel file on your DMS, its really pretty straight forward.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 06, 2007, 09:45:34 pm
Now my last question.

With the hack i must disable the signature check, to use my new DMS.

If i sell my phatbox, kann i enable the signature check in the phatbox again?
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: sbingner on May 06, 2007, 09:47:05 pm
No, why would you want to?
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 06, 2007, 09:49:34 pm
If i sell the phatbox i would make it in the original mode.

I thought i must only download an original firmware from phatnoise and update the phatbox and then the signtaure check is enabled.

And if i use a 160 GB DMS i must flash the 48-LBA OS to the phatbox.
Can i flash this OS back to the original OS?

And are this hacks compatible with the EU-Version of the phatbox?

These are my last questions.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: judb on May 06, 2007, 10:33:16 pm
The sig checks just make it where you can use any drive, not just phatnoise drives only.

the hack doesn't modify the firmware, it modifies the flash based bootloader that reads the data off the hard drive.  the phatnoise firmware gets loaded onto another chip that handles communications with the head unit.  The rest of the firmware are files that sit on the DMS and get read by the bootloader.

The bootloader is modified so it doesn't care about the signature files on the software from phatnoise or the signature on the drive to prove its from phatnoise.

That said, there is no way to undo the hack changes to the bootloader but there is no reason to want to do that.  it shouldn't impact resale if you sell the original dms with it and let them know that the box is hacked for larger drives.

The hack works on all phatboxes (except the very first ones that didn't have these sig files anyhow) or the video based ones in GM vehicles in the USA.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: sbingner on May 07, 2007, 03:24:45 am
And if you don't tell them... they will never see any difference.  Not that I'm saying you shouldn't let them know.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 07, 2007, 05:06:56 am
Allright.
Thank you very much for your hints.
Then i will buy a 120 GB HDD for my DMS.
Because i have read that there are problems with the USB Cradle and the Phatnoise Music Manager with the 160 GB HDD.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: sbingner on May 07, 2007, 07:45:43 am
If you have a USB 2.0 cradle there's really no problems... if you have issues with a particular PMM, we should have something soon for windows from vortechs that can take it's place...

But a 120GB drive is safe all around too
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 07, 2007, 07:48:31 am
I don't know which USB-Cradle i have.

I buy now a 120 GB HDD.
Thats ok.


Title: Re: How to install a 160 GB HDD in the DMS?
Post by: VorTechS on May 07, 2007, 12:54:38 pm
Turn the cradle upside down, and the model will be printed on the sticker underneath.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 07, 2007, 08:42:19 pm
Ok.
I have done it with a 120 GB HDD.
But the problem is that my radio shows now: NO CDCHANGER.

Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 07, 2007, 09:19:26 pm
If you got the message with your new DMS (from the wiki):
"Place the fresh DMS into your PhatBox, turn on your stereo and select the PhatBox as your source. If it attempts to play music and does not give you an "Eject", "No CD" or other message indicating a boot failure, you should be good to go. A "Corrupt Track" message is a good sign.

If you get a boot failure message, load your DMS into the cradle and review the bootload.log file."


If you got the message with your old DMS:

Try corrupting your ramdisk.sig (save your ramdisk.sig as a backup; then overwrite the content with the Editor with random letters).
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 07, 2007, 09:22:38 pm
My new DMS shows NO CDCHANGER.
Here is the Log of my old DMS:

BOOT0-0: OK
BOOT0-1: OK
BOOT0: Successful
BOOT9: Successful
BOOTB: Successful
BOOTF: Successful
BOOT*: Successful
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 07, 2007, 09:25:05 pm
That's okay.

Post the 'bootload.log' from the new DMS and
the 'patch.log' and 'patchverify.log' (x:\phtsys\log) from the old DMS.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 07, 2007, 09:36:47 pm
At first i have tried now the old DMS.
It has no problems with the phatbox.

With NEWDMS i have created a new DMS on my 120 GB HDD.

Then i have copied all the files from the both partitions of the old DMS to the new DMS.
Was this wrong?

Now i have a new BOOTLOAD file from my old DMS:
BOOT0-0: OK
BOOT0-1: OK
BOOT0: Successful
BOOT9: Successful
BOOTB: Successful
BOOTF: Successful
BOOT*: Successful

You see it is ok again.

But i can't find a patch.log and a patchverify.log in x:\phtsys\log on the old DMS.
There are no existing files.

I used the DMSHACK and all was ok.
When i put the DMS in the phatbox i hear only my music.
I thought this is right:
At this point, your stereo should act as if your PhatBox is playing music, although you shouldn't hear any sound. This is normal. Leave the system on until you hear the "hack complete" announcement, or 5-10 minutes elapse without the announcement.
During the hack process, your PhatBox may reboot itself one or more times. If this occurs, and your headunit switches to a different source, please switch back to the PhatBox.

But i hear the music which is on the DMS.

What make i wrong?


Tomorrow i can say more about the new DMS.

I must go to bed.
Good night.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 07, 2007, 10:04:26 pm
But i can't find a patch.log and a patchverify.log in x:\phtsys\log on the old DMS.
There are no existing files.
When there is no 'patch.log' or 'patchverify.log' then your phatbox is not hacked.
Is there a folder 'log' on the old DMS?

Quote
I used the DMSHACK and all was ok.
When i put the DMS in the phatbox i hear only my music.
Directly after putting the hacked DMS into the phatbox and starting your stereo, you should not hear any music as far as I am concerned.

Tell us all the steps you went through from the beginning.

Have a good night.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 04:35:21 am
Ok here are my steps from the beginning:
On my old DMS are 19 albums of music.

At first i have loaded down the latest Windows PhatBox hack scripts Version 1.2.1

At the first step i run the BackupDMS.bat.
Because i have i german Windows XP Version i edited the files diskpart.dms and diskpart.nodms.
In the files i renamed it how in the exmaple:

  Disk ###  Status      Größe    Frei     Dyn  GPT
  --------  ----------  -------  -------  ---  ---
  Disk 0    Online        93 GB      0 B         
  Disk 1    Online         9 GB      0 B     


Then the backup began to run.

At the second step i ran the DMSHack.bat.
But when i put the old modifieded DMS in the phatbox an put on my radio i can hear the music which is on the DMS. But the phatbox do not find all of the 19 albums. He only find the first 2 albums ant not the other albums on the DMS. I can only choose the first 2 albums.

The result is: The phatbox is not hacked.
Thats my problem.
I tried it yesterday 4 times.
I don't know what i make wrong.

How i wrote yesterday i have the EU-Version of the phatbox.
And i have a VW-Phatbox for Golf IV.
I hope thats not the reason for my problem.

Title: Re: How to install a 160 GB HDD in the DMS?
Post by: VorTechS on May 08, 2007, 07:15:08 am
I can confirm that PatchWrite.log and PatchVerify.log appear NOT being written by the hack, although PatchVerify MIGHT be.

I say might be, because I'm sure my Wizard was wiping the log directory and I don't have PatchWrite.log.  I do have PatchVerify - although I think this may not have been deleted, nor the patch.log [which still contains references to Patch 0.4]

There appears to still be some issues with the patch, 'No such file or directory' warnings - not sure if this is something I am not copying over?

Code: [Select]
:
: No such file or directory
2048+0 records in
2048+0 records out

hdparm - get/set hard disk parameters - version v3.9

Usage:  hdparm  [options] [device] ..

Options:
 -a   get/set fs readahead
 -A   set drive read-lookahead flag (0/1)
 -c   get/set IDE 32-bit IO setting
 -C   check IDE power mode status
 -d   get/set using_dma flag
 -D   enable/disable drive defect-mgmt
 -E   set cd-rom drive speed
 -f   flush buffer cache for device on exit
 -g   display drive geometry
 -h   display terse usage information
 -i   display drive identification
 -I   read drive identification directly from drive
 -k   get/set keep_settings_over_reset flag (0/1)
 -K   set drive keep_features_over_reset flag (0/1)
 -L   set drive doorlock (0/1) (removable harddisks only)
 -m   get/set multiple sector count
 -n   get/set ignore-write-errors flag (0/1)
 -p   set PIO mode on IDE interface chipset (0,1,2,3,4,...)
 -P   set drive prefetch count
 -Q   print out the drive id only (60bytes\n)
 -q   change next setting quietly
 -r   get/set readonly flag (DANGEROUS to set)
 -R   register an IDE interface (DANGEROUS)
 -S   set standby (spindown) timeout
 -t   perform device read timings
 -T   perform cache read timings
 -u   get/set unmaskirq flag (0/1)
 -U   un-register an IDE interface (DANGEROUS)
 -v   default; same as -acdgkmnru (-gr for SCSI, -adgr for XT)
 -V   display program version and exit immediately
 -W   set drive write-caching flag (0/1) (DANGEROUS)
 -w   flush os cache and wakeup drive
 -X   set IDE xfer mode (DANGEROUS)
 -y   put IDE drive in standby mode
 -Y   put IDE drive to sleep
 -Z   disable Seagate auto-powersaving mode
PhatPatch v0.4 - original code by bushing, additional patches by sbingner
Verifying:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Patch 2 @ 0bec: make rc.sh signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Patch 3 @ 0c20: make phatd signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Patch 4 @ 0c54: make linux signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Patch 5 @ 0354: make ramdisk invalid signature return 0 instead of 0xFFFFFFFF: [movlne r0, 0xFFFFFFFF -> movlne r0, #0]
Expected: 0000 13a0    Actual: 0000 13a0
Verified!
Patch 6 @ 0c80: make ramdisk signature check verify 0 instead of 1: [cmp r0, #1 -> cmp r0, #0]
Expected: 0000 e350    Actual: 0000 e350
Verified!
Patch 7 @ 0358: make ramdisk valid signature return 0 instead of 1: [moveq r0, #1 -> moveq r0, #0]
Expected: 0000 03a0    Actual: 0000 03a0
Verified!
done
: No such file or directory
: No such file or directory
/dos/backup/patch.sh: kup/p: No such file or directory

However, the hack itself appears to have worked.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: VorTechS on May 08, 2007, 07:27:27 am
On my old DMS are 19 albums of music.

<snip>

But when i put the old modifieded DMS in the phatbox an put on my radio i can hear the music which is on the DMS. But the phatbox do not find all of the 19 albums. He only find the first 2 albums ant not the other albums on the DMS. I can only choose the first 2 albums.

Part of the hack process, copies a new Profiles.INI file onto your DMS.  This INI file tells the phatbox that you only have 2 playlists configured.  This indicates that all the files you need to run the hack are on the DMS.

When I first ran the latest hack [slightly modified version of the current one], what I found was that on startup my Head Unit looked like it was playing 'silence' continually ... although showing the 'current track it was playing'.  After 20 minutes I turned off the Head Unit [NOT THE IGNITION] and turned it back on again to then find that I was given the 'hack complete' message.  Then my box allowed me to play from the first two available albums.

Quote
But i can't find a patch.log and a patchverify.log in x:\phtsys\log on the old DMS.

You appear to be quoting an incorrect directory name.
Assuming drive X: is your PHTSYS partition, then you should find the logs in:

x:\log

Does the directory x:\log exist on your old DMS?

If not, there might be a small flaw in the scripts, or the directory failed to be created at some point.  It's still possible the hack actually ran.

Try creating the directory if it doesn't exist, re-insert the old DMS into the box, wait the specified time [up to 20 minutes to be safe] and then check the DMS log directory afterwards.  Perhaps, things might look a little different!
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 07:56:36 am
When i come home i can post the logfiles from the old DMS if existing.

the directory x:\log on the old DMS is existing but the directory is empty.

Yesterday i ran the DSMHack at the old DMS again.

At the morning today when i drove to work (35 minutes from my home) the phatbox played immediately the music on the DMS when i turn on my radio. How i wrote there were only 2 albums available. In the 35 minutes i not heared the "hack complete" message.

When i'm at home i post the logs of the result.

Title: Re: How to install a 160 GB HDD in the DMS?
Post by: VorTechS on May 08, 2007, 08:03:59 am
On the way home, insert the DMS into the PhatBox turn on your engine and switch your stereo to the Phatbox.

Turn off the stereo [NOT the engine].

Turn the stereo back on and on startup before your music plays you may   hear the hack complete message.

However the fact that no logs exist is a little concerning - but it is still possible the hack worked [it could be the logging that's at fault].

If all things fail, and a second attempt at the hack fails, if you are prepared to try it out I can give you access to my new replacement for the scripts.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 08:09:16 am
You appear to be quoting an incorrect directory name.
Assuming drive X: is your PHTSYS partition, then you should find the logs in:

x:\log

You're absolutely right, my bad.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 08:40:31 am
All right. I try it out.

Is that correct:
I have copied the files before the run of DMSHack from my old DMS 1:1 on my new DMS.
After run the NEWDMS programm on the new DMS. Phatbox Music Manager runs correctly with the new DMS.


@TheJohnny:
No problem. I know what you mean.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 09:16:34 am
I have copied the files before the run of DMSHack from my old DMS 1:1 on my new DMS.
After run the NEWDMS programm on the new DMS. Phatbox Music Manager runs correctly with the new DMS.

If you copy all the files from the old DMS to the new DMS and then run 'newdms.bat' on the new DMS, all the copied files will be lost because 'newdms.bat' partitions the new DMS. 'newdms.bat' then tries to unzip the files from 'phtsys.tar.gz' - or you can do that manually.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 09:36:15 am
Sorry.
I mean that i used first the NEWDMS program and then i copied the files 1:1 from the old to the new DMS.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 09:46:20 am
Quote
I mean that i used first the NEWDMS program and then i copied the files 1:1 from the old to the new DMS.

That should work.

But the more important question for you is, did the hack (finish its) work?

Perhaps judb or sbingner can help here.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 09:51:59 am
What's your firmware version? Do you have the latest firmware on your box?

Did you run patchclean.bat on your old DMS before inserting it into your phatbox before your ride to work?
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 09:56:20 am
I have always the latest firmware on my box.

No i havent run the patchclean.bat on my old DMS.
Because i have no information about the patchclean.bat found in the Windows_Hack_Procedure-Solution.

My steps were these from the Windows_Hack_Procedure.

In 1 hour a ride at home then i will see if the HACK-Complete Message comes out of the speakers.

And in ca. 5 hours i can post the logfiles.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: sbingner on May 08, 2007, 10:30:02 am
If you have no logs, it is possible it didn't run... you should verify that PHTSYS:\flacplay is a TEXT file that calls patch.sh -- if not you need to reapply the hack to the dms so it cal run it.

The version of PhatNoise firmware on your PhatBox does not matter, unless some strange version ignores the startup sound
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 03:28:44 pm
Now here is the result of my old DMS.

bootload:

BOOT0-1: OK
BOOT0: Successful
BOOT9: Successful
BOOTB: Successful
BOOTF: Successful
BOOT*-X: Failed


x:\log\patch.txt:


: No such file or directory
PhatPatch v0.8 - original code by bushing, additional patches by sbingner
Finding patch offsets:
Verified standard patch offsets
Verifying:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0033 1a00
Unverified!
Patch 2 @ 0bec: make rc.sh signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0026 1a00
Unverified!
Patch 3 @ 0c20: make phatd signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0019 1a00
Unverified!
Patch 4 @ 0c54: make linux signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 000c 1a00
Unverified!
Patch 5 @ 0354: make ramdisk invalid signature return 0 instead of 0xFFFFFFFF: [movlne r0, 0xFFFFFFFF -> movlne r0, #0]
Expected: 0000 13a0    Actual: 0000 13e0
Unverified!
Patch 6 @ 0c80: make ramdisk signature check verify 0 instead of 1: [cmp r0, #1 -> cmp r0, #0]
Expected: 0000 e350    Actual: 0001 e350
Unverified!
Patch 7 @ 0358: make ramdisk valid signature return 0 instead of 1: [moveq r0, #1 -> moveq r0, #0]
Expected: 0000 03a0    Actual: 0001 03a0
Unverified!
Patch 8 @ 0330: don't try to read ramdisk.sig (boot without any .sig files): [bl sector_read_suzy -> bl PC+1]
Expected: 0000 eb00    Actual: 02db eb00
Unverified!
Patch 9 @ 02c0: don't try to read linux.sig (boot without any .sig files): [bl sector_read_suzy -> bl PC+1]
Expected: 0000 eb00    Actual: 02f7 eb00
Unverified!
Error MMAP /dev/mem: Invalid argument
PhatPatch v0.8 - original code by bushing, additional patches by sbingner
Finding patch offsets:
Verified standard patch offsets
first 2 words of flash=c102 0025
testing offsets 0x555 and 0x2aa
writing auto-id command (AA, 55, 90)
Flash chip reports manufacturer id=0001, device id=22bf
offsets 0x555 and 0x2aa verified
Resetting flash.
Testing patch locations:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0033 1a00    Actual: 0033 1a00
Match! Programming...



Now my radio shows the message: NO MAGAZINE.

Whats now wrong?
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: VorTechS on May 08, 2007, 03:44:58 pm
The hack hasn't worked first time around.
Try again.

If it fails a second time, judb or sbingner should be able to sort you out.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 04:22:55 pm
Now the radio shows no cdchanger.
i don't know what to do next.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: sbingner on May 08, 2007, 05:49:01 pm
as usual, corrupt ramdisk.sig
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 06:51:23 pm
Yes i have corrupt the ramdisk.sig
But the radio shows: NO CHANGER again.

Now i have wiped the DMS with phatnoise music manager and downloaded the newest firmware for my phatbox.

When i install the DMS in the phatbox is no reaction.
The radio shows NO CHANGER again.
And the red LED on the phatbox is always on and the green LED is blinking.
This status was now for 45 minutes.

I think i have crashed the phatbox.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 09:31:08 pm
No, you didn't crash your Phatbox.

Your problem
Quote
The radio shows NO CHANGER again.
And the red LED on the phatbox is always on and the green LED is blinking.
seems to be the same I had a few days before.

How did you corrupt your ramdisk.sig? That should help.

Quote
Yes i have corrupt the ramdisk.sig
But the radio shows: NO CHANGER again.

Now i have wiped the DMS with phatnoise music manager and downloaded the newest firmware for my phatbox.
Did you corrupt your ramdisk.sig and THEN wiped the DMS with PMM? Corrupt your ramdisk.sig again.

Read this thread (http://forum.phathack.com/index.php/topic,1173.0.html) and follow the advices I got. It worked for me - my Phatbox is hacked now.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 09:58:06 pm
I read now all threads completely.

I corrupt the ramdisk.sig. I loaded the file in an editor and wrote some word into the first line.
The DMS Doctor shows me a MD5-Error in this file.
Then i wiped the DMS.
After i loaded 3 Albums to the DMS and the newest Firmware.
Then i have maked a patchclean.

The NO CHANGER message comes when i drived home from work.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 10:07:08 pm
I corrupt the ramdisk.sig. I loaded the file in an editor and wrote some word into the first line.

Yeah, that okay I think. Another way is to mark all and overwrite everything with a few characters.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 10:10:18 pm
But now the ramdisk.sig isn't corrupt.
Shall i corrupt it now an hope that my phatbox reactivate?

And shall i run the DMSHACK again now or when the phatbox is reactivated?

A forceupdate file with 0kb is in the system directory of the DMS.
Can i delete it?
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 10:16:17 pm
Yes, corrupt your ramdisk.sig now.

Then your Phatbox should work with your old DMS again.

From then on you can try hacking again: hackdms.bat and so on... It also didnt't work for me on the first try. ;)
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 10:17:57 pm
A forceupdate file with 0kb is in the system directory of the DMS.
Can i delete it?

Yes, delete the files forceupdate and forcesettings.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 08, 2007, 10:23:28 pm
Ok now i have deleted the force files.
Corrupt the ramdisk.sig. I have wrote a word at the beginning of the file.
And at least i have renamed the Plugin-Directory.

I hope its now ok.

I will try it tomorrrow.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 08, 2007, 10:29:58 pm
Okay, good luck then tomorrow!

Post your log-files: bootload.log and patch.log.

You won't find a patchverfiy.log or a patchwrite.log in the folder /log as sbingner told me. The current version of the hack does not write these files anymore.

Also you won't hear a hack-is-complete announcment since this was deactivated.

But the stereo will start to play your music when the hack is complete.

Before that your stereo will arguably display something like this:
"[...]Tr 1"
"Reading"
"NO MAGAZINE"
"[...]Tr 1"
"Reading"
"NO MAGAZINE"
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 09, 2007, 05:46:10 am
Good morning.
I put the DMS in the phatbox. After 5 Minutes i have turned on the radio.
At first the phatbox shows NO CHANGER again.
At the second try the phatbox played my music.
The music runs for 30 minutes.
I think thats enough time for programming.
But he found only the first 2 albums and not the 4 albums.
Thats ok.

But it was nothing with this:
"[...]Tr 1"
"Reading"
"NO MAGAZINE"
"[...]Tr 1"
"Reading"
"NO MAGAZINE"

At home i will post here the logs.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: sbingner on May 09, 2007, 09:17:57 am
By the time the music starts the patch has completed btw... it doesn't run in the background, if you want to be safe you'd be better off turning it on and off a few times, but like i said if you hear music you should be fine.   That is of course assuming your DMS was still configured to apply the patch :)
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 09, 2007, 02:24:09 pm
Hi!
Now the radio shows this:
"[...]Tr 1"
"Reading"
"NO MAGAZINE"
"[...]Tr 1"
"Reading"
"NO MAGAZINE"

Here are the logs:

BOOTLOAD:
BOOT0-0: OK
BOOT0-1: OK
BOOT0: Successful
BOOT9-X: Successful
BOOTB-X: Successful
BOOTF-X: Successful
BOOT*: Successful

PATCH:

: No such file or directory
PhatPatch v0.8 - original code by bushing, additional patches by sbingner
Finding patch offsets:
Verified standard patch offsets
Verifying:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Patch 2 @ 0bec: make rc.sh signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Patch 3 @ 0c20: make phatd signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Patch 4 @ 0c54: make linux signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0000 1a00    Actual: 0000 1a00
Verified!
Patch 5 @ 0354: make ramdisk invalid signature return 0 instead of 0xFFFFFFFF: [movlne r0, 0xFFFFFFFF -> movlne r0, #0]
Expected: 0000 13a0    Actual: 0000 13a0
Verified!
Patch 6 @ 0c80: make ramdisk signature check verify 0 instead of 1: [cmp r0, #1 -> cmp r0, #0]
Expected: 0000 e350    Actual: 0000 e350
Verified!
Patch 7 @ 0358: make ramdisk valid signature return 0 instead of 1: [moveq r0, #1 -> moveq r0, #0]
Expected: 0000 03a0    Actual: 0000 03a0
Verified!
Patch 8 @ 0330: don't try to read ramdisk.sig (boot without any .sig files): [bl sector_read_suzy -> bl PC+1]
Expected: 0000 eb00    Actual: 0000 eb00
Verified!
Patch 9 @ 02c0: don't try to read linux.sig (boot without any .sig files): [bl sector_read_suzy -> bl PC+1]
Expected: 0000 eb00    Actual: 0000 eb00
Verified!
PhatPatch v0.8 - original code by bushing, additional patches by sbingner
Finding patch offsets:
Verified standard patch offsets
first 2 words of flash=c102 0025
testing offsets 0x555 and 0x2aa
writing auto-id command (AA, 55, 90)
Flash chip reports manufacturer id=0001, device id=22bf
offsets 0x555 and 0x2aa verified
Resetting flash.
Testing patch locations:
Patch 1 @ 0bb8: make drive signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0033 1a00    Actual: 0000 1a00
Detected patch 1 already applied
Patch 2 @ 0bec: make rc.sh signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0026 1a00    Actual: 0000 1a00
Detected patch 2 already applied
Patch 3 @ 0c20: make phatd signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 0019 1a00    Actual: 0000 1a00
Detected patch 3 already applied
Patch 4 @ 0c54: make linux signature check always succeed: [bne verify_sig_failed -> bne PC+1]
Expected: 000c 1a00    Actual: 0000 1a00
Detected patch 4 already applied
Patch 5 @ 0354: make ramdisk invalid signature return 0 instead of 0xFFFFFFFF: [movlne r0, 0xFFFFFFFF -> movlne r0, #0]
Expected: 0000 13e0    Actual: 0000 13a0
Detected patch 5 already applied
Patch 6 @ 0c80: make ramdisk signature check verify 0 instead of 1: [cmp r0, #1 -> cmp r0, #0]
Expected: 0001 e350    Actual: 0000 e350
Detected patch 6 already applied
Patch 7 @ 0358: make ramdisk valid signature return 0 instead of 1: [moveq r0, #1 -> moveq r0, #0]
Expected: 0001 03a0    Actual: 0000 03a0
Detected patch 7 already applied
Patch 8 @ 0330: don't try to read ramdisk.sig (boot without any .sig files): [bl sector_read_suzy -> bl PC+1]
Expected: 02db eb00    Actual: 0000 eb00
Detected patch 8 already applied
Patch 9 @ 02c0: don't try to read linux.sig (boot without any .sig files): [bl sector_read_suzy -> bl PC+1]
Expected: 02f7 eb00    Actual: 0000 eb00
Detected patch 9 already applied




I think the phatbox is now hacked.
Is this right?
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: VorTechS on May 09, 2007, 02:27:57 pm
Sure is, all patched and ready to go!
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 09, 2007, 02:36:10 pm
 ;D YES after 3 days its now successfull.
Thank you all for your very good help.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 09, 2007, 03:06:30 pm
Yes, as VorTechS wrote, your box is hacked.

Now use patchclean.bat on your old DMS, insert it into your box and see if it can play all albums.
If so, then your old DMS is in ready to use state again (as a fall-back option).

Follow the instructions to swap your drives and create a new DMS with newdms.bat.
Copy the content of phtsys.tar.gz onto the phtsys partition of your new DMS or take the firmware zip-files from the phathack download section. Don't forget to copy your old config folder.
If there are forceupdate or forcesettings files on your new DMS, delete them.

Then got to your car, insert the DMS into your box and start your stereo.
If you get the message "NO MAGAZINE" on your stereo, everything is allright - your new DMS is able to boot your Phatbox.

Now you can copy music to your DMS and play it in your car.

Have fun!
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 09, 2007, 04:00:19 pm
Now there is a message on the radio: NO CHANGER with the new DMS.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: TheJohnny on May 09, 2007, 04:04:13 pm
Does your old DMS work properly in the Phatbox?

Go through the process of newdms.bat again.

I don't know if corrupting your ramdisk.sig helps you at this point. This is a question up to judb or sbingner or whoever knows.
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 09, 2007, 04:12:35 pm
Ok now i courrpt the ramdisk.sig on the new DMS.

Result: NO CHANGER.

I haven't tested the old DMS.

Now i ran NEWDMS again and then i downloaded the firmware files and installed the files on PHTSYS.
Then i deleted the FORCE-Files.

NO CHANGER.

There is no BOOTLOAD on the new DMS.

Title: Re: How to install a 160 GB HDD in the DMS?
Post by: sbingner on May 09, 2007, 06:17:20 pm
Lol, corrupting the ramdisk.sig isn't some magic fix-it-all ;)

The only time it helps is if the patch didn't complete, and hot stuck at/after "Patch 6" and before "Patch 7"

Quote
Patch 6 @ 0c80: make ramdisk signature check verify 0 instead of 1: [cmp r0, #1 -> cmp r0, #0]
Patch 7 @ 0358: make ramdisk valid signature return 0 instead of 1: [moveq r0, #1 -> moveq r0, #0]

If you're having problems with the new DMS, you might try formatting PHTSYS and extracting fresh firmware onto it... what size is it?  If it's a 160GB you need to replace the "linux" kernel on there with a modified version
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: Devil1978 on May 09, 2007, 06:54:34 pm
Its a 120 GB HDD.
I tried it with new.
NEWDMS, Firmwaredownload.
Not it's going without problems.

THANK YOU FOR YOUR REALLY GOOD HELP.  ;)
Title: Re: How to install a 160 GB HDD in the DMS?
Post by: sbingner on May 11, 2007, 11:42:28 pm
I think that these problems are usually a result of the phatbox bootloader being finicky about fragmentation or something... when I'm working on mine, I often have to re-format and copy my linux kernel on first...  even when the only thing I did was remove the old kernel and replace it with a new one.  Once we have a full replacement bootloader I think these problems will disappear.