Author Topic: Problem: Patch is not applied on PB-boot  (Read 27734 times)

0 Members and 1 Guest are viewing this topic.

Offline judb

  • Administrator
  • Veteran.
  • *****
  • Posts: 1329
  • ph4t l3wtz
Re: Problem: Patch is not applied on PB-boot
« Reply #20 on: November 16, 2007, 11:12:11 pm »
so to make sure we have clarity here, this log file was created AFTER you wiped the DMS and extracted the firmware files as I suggested but it doesn't play music?

The log file appears to indicate the unit is functioning properly.

Keep in mind that the phatbox does not stamp time or date on any files so you can't rely on that to tell you if a file has been modified or not.

I don't mean to be obtuse but I'd like to make sure I understand the circumstances that led to the creation of the log file output and the problem you are having right now.

Offline VorTechS

  • Administrator
  • Veteran.
  • *****
  • Posts: 1678
  • PhatHack Media Manager & DMS Tools Wizard Author
Re: Problem: Patch is not applied on PB-boot
« Reply #21 on: November 17, 2007, 08:47:42 am »
jud: the story (as far s I understand) is;

PHTSYS wiped, original firmware manually extracted to it.  DMS tested in phatbox, confirmed to work okay.

New DMS Hack Tools run, DMS successfully prepared to run the hack (hack wizard applies rc level 10).

DMS inserted into the PhatBox, no sign of the hack ever starting (no patchverify.log)
Kenwood KDC-W7031 | Kenwood KHD-CX910 | 250GB DMS | PhatHack Media Manager v1.1.4 (Alpha) | VIOT

Catch me weekdays 8am-4pm GMT on IRC @ irc.freenode.net on channel #phathack (aka the chat link!!)

Offline Warstein

  • A few posts under my belt.
  • *
  • Posts: 18
Re: Problem: Patch is not applied on PB-boot
« Reply #22 on: November 17, 2007, 01:13:49 pm »
Yes, that's the story. The box plays music and works correctly, but it doesn't apply the patch.

The logfile that I posted yesterday was created AFTER phtsys was wiped. The logfile posted by VorTechS was created BEFORE wiping phtsys (after I first tried to apply the patch a few days ago).

One question: if I try to patch a PB that is already patched, what would happen? And another question: if I try to use a new DMS without having patched the PB, what would happen?
« Last Edit: November 17, 2007, 01:16:26 pm by Warstein »

Offline VorTechS

  • Administrator
  • Veteran.
  • *****
  • Posts: 1678
  • PhatHack Media Manager & DMS Tools Wizard Author
Re: Problem: Patch is not applied on PB-boot
« Reply #23 on: November 17, 2007, 01:23:14 pm »
Nothing would happen if your PhatBox is already patched, although a PatchVerify.log should have been written.  If you tried to use a custom disk in a DMS, on a PhatBox that isn't patched - the PhatBox would not work.

If you have a custom disk in your DMS, with playlists and the firmware on and everything is working - then you've got a hacked box.
Kenwood KDC-W7031 | Kenwood KHD-CX910 | 250GB DMS | PhatHack Media Manager v1.1.4 (Alpha) | VIOT

Catch me weekdays 8am-4pm GMT on IRC @ irc.freenode.net on channel #phathack (aka the chat link!!)

Offline Warstein

  • A few posts under my belt.
  • *
  • Posts: 18
Re: Problem: Patch is not applied on PB-boot
« Reply #24 on: November 17, 2007, 01:27:05 pm »
Ah ok, so it's not possible that my phatbox is already patched and I just didn't know. Anyway, I could try to use a custom disk in my PB and see if it works. The box does not lock itself up or something like that if I try it and it is not patched, does it?

Offline VorTechS

  • Administrator
  • Veteran.
  • *****
  • Posts: 1678
  • PhatHack Media Manager & DMS Tools Wizard Author
Re: Problem: Patch is not applied on PB-boot
« Reply #25 on: November 17, 2007, 01:36:31 pm »
No, use the Hack Tools to create your new DMS (DO NOT choose the option to reflash)... load up a playlist onto it and then try it in the box.  If it works, the box is patched.
Kenwood KDC-W7031 | Kenwood KHD-CX910 | 250GB DMS | PhatHack Media Manager v1.1.4 (Alpha) | VIOT

Catch me weekdays 8am-4pm GMT on IRC @ irc.freenode.net on channel #phathack (aka the chat link!!)

Offline sbingner

  • Administrator
  • Veteran.
  • *****
  • Posts: 1301
Re: Problem: Patch is not applied on PB-boot
« Reply #26 on: November 19, 2007, 07:22:47 pm »
If, when that logfile was created, the DMS was configured to apply the hack... the problem appears to be that it never tried to run the startup sound.   Vortechs experienced this problem once, so it is possible.   What you could do is add a file to your playlists (say Disc1 Track1) that is a file ending in ".hack" -- if you can't figure out how to do this, maybe we could talk vortechs into adding an option to do this to the hack tools... perhaps have it replace all the playlists on the DMS with a single hack playlist... then revert when done?

Offline Warstein

  • A few posts under my belt.
  • *
  • Posts: 18
Re: Problem: Patch is not applied on PB-boot
« Reply #27 on: November 19, 2007, 09:05:40 pm »
You may be right, because as I remember, my box never played a startup sound. So (as I read out of this) the hack is applied when the box runs the startup sound? Hm, actually I don't know how to do this, but I will try to figure it out. Any suggestions?

Offline sbingner

  • Administrator
  • Veteran.
  • *****
  • Posts: 1301
Re: Problem: Patch is not applied on PB-boot
« Reply #28 on: November 20, 2007, 01:39:08 am »
actually... the easiest way for you to be sure it'll run...

1. rename PHTSYS:\nmp3 to PHTSYS:\nmp3.real
2. rename PHTSYS:\nmp3.sig to PHTSYS:\nmp3sig.real
3. copy PHTSYS:\patcher to PHTSYS\nmp3
4. copy PHTSYS:\patcher.sig to PHTSYS\nmp3.sig

that will make it try to apply the patch whenever it tries to play an MP3... but it will never play the completed sound or the MP3 so you'll just have to check the logs after letting it run for a few moments.  When it's done just put the real version of nmp3 back.

Alternatively replace "nmp3" with "flacplay" above, and put a flac file in a playlist... that will make it try to execute when a flac file is played, and it will be able to play the completed sound.

Offline VorTechS

  • Administrator
  • Veteran.
  • *****
  • Posts: 1678
  • PhatHack Media Manager & DMS Tools Wizard Author
Re: Problem: Patch is not applied on PB-boot
« Reply #29 on: November 20, 2007, 08:33:11 am »
With everything else I've done recently on PhatHack Media Manager, I could actually go that one step further and insert a playlist as the first playlist specifically to run the hack.  I could go that route anyway, skip the startup sound create a nice TTS announcement to go with it.  So it would be kind of:

Box starts up, loads playlist 1
Play track 1 = MP3 voice announcement saying.... I'm about to run the hack, your box may re-boot several times
Play track 2 = run hack

I'll branch the source later this week and start on this approach soonish.
Kenwood KDC-W7031 | Kenwood KHD-CX910 | 250GB DMS | PhatHack Media Manager v1.1.4 (Alpha) | VIOT

Catch me weekdays 8am-4pm GMT on IRC @ irc.freenode.net on channel #phathack (aka the chat link!!)

Offline Warstein

  • A few posts under my belt.
  • *
  • Posts: 18
Re: Problem: Patch is not applied on PB-boot
« Reply #30 on: November 20, 2007, 09:17:53 am »
Sounds like a good idea! This way it should work. I will test this as soon as I have some time left... :-X For today, I have to focus on my PSoC microcontroller and how to implement medical sensors with it...  :-\

Offline VorTechS

  • Administrator
  • Veteran.
  • *****
  • Posts: 1678
  • PhatHack Media Manager & DMS Tools Wizard Author
Re: Problem: Patch is not applied on PB-boot
« Reply #31 on: November 20, 2007, 09:34:14 am »
Sounds like a good idea! This way it should work. I will test this as soon as I have some time left... :-X For today, I have to focus on my PSoC microcontroller and how to implement medical sensors with it...  :-\

Yes, sounds like you'll fit right-in here!
Kenwood KDC-W7031 | Kenwood KHD-CX910 | 250GB DMS | PhatHack Media Manager v1.1.4 (Alpha) | VIOT

Catch me weekdays 8am-4pm GMT on IRC @ irc.freenode.net on channel #phathack (aka the chat link!!)

Offline Warstein

  • A few posts under my belt.
  • *
  • Posts: 18
Re: Problem: Patch is not applied on PB-boot
« Reply #32 on: November 23, 2007, 12:00:42 pm »
Yes!! It finally worked! :-) Just at this moment I'm copying my complete music on my new DMS-drive...  8)

That's what I've done: I created a new playlist 1 with only a single flac-file in it on the DMS. Then I replaced flacplay by patcher and flagplay.sig by patcher.sig and booted the box. It re-booted about 5 times and then it changed to playlist 2 and started to play music. Back at my computer I verified that the patch was applied correctly and started to create a new DMS. And it works! Yeeehaaaw!  ;D

Thanks for all the help guys! And I hope this experience helps to improve the Hack Tools in future releases for other users with the same problem.  ;)

Offline VorTechS

  • Administrator
  • Veteran.
  • *****
  • Posts: 1678
  • PhatHack Media Manager & DMS Tools Wizard Author
Re: Problem: Patch is not applied on PB-boot
« Reply #33 on: November 23, 2007, 12:33:25 pm »
Thanks for the confirmation, as soon as I've caught up with work stuff etc I'll convert the entire process to use a playlist as we discussed.
Kenwood KDC-W7031 | Kenwood KHD-CX910 | 250GB DMS | PhatHack Media Manager v1.1.4 (Alpha) | VIOT

Catch me weekdays 8am-4pm GMT on IRC @ irc.freenode.net on channel #phathack (aka the chat link!!)

Offline Warstein

  • A few posts under my belt.
  • *
  • Posts: 18
Re: Problem: Patch is not applied on PB-boot
« Reply #34 on: November 23, 2007, 01:00:26 pm »
I know what you're talking about... I'm currently working on my master's thesis and that doesn't leave much time for the fun-things.  ;)

Offline cyberdude

  • Newbie
  • Posts: 14
Re: Problem: Patch is not applied on PB-boot
« Reply #35 on: November 23, 2007, 03:30:58 pm »
OK, I seem to be having the same problem. I have an original 20GB DMS and an Audi version Phatbox. I was having trouble with applying the hack and then found this thread.

I've followed the suggestions here but still cannot get the hack to take. I've run the Hack wizard, removed the forcesettings file, renamed flacplay and flacplay.sig files and copied the patch files to flacplay and flacplay.sig. I've placed one flac play list on the dms. I went to the car (Phatbox was disconnected from the power for 10mins), powered up the radio and phatbox, system boots and I get a "currupt player" message and the green light just flashes every second.  >:(



Offline Warstein

  • A few posts under my belt.
  • *
  • Posts: 18
Re: Problem: Patch is not applied on PB-boot
« Reply #36 on: November 23, 2007, 04:48:48 pm »
You could try the same procedure with nmp3. Be sure to use the right .sig file for the patcher, otherwise it won't work.

Maybe you should start from scratch be wiping the phtsys-partition and unpacking the system- and headunit-files onto it. Then run the wizard again and afterwards backup and overwrite nmp3 with patcher and nmp3.sig with patcher.sig.

Offline cyberdude

  • Newbie
  • Posts: 14
Re: Problem: Patch is not applied on PB-boot
« Reply #37 on: November 23, 2007, 06:08:53 pm »
What do you mean by the right .sig file for the patcher? I copied patcher to flacplay and patcher.sig to flacplay.sig.

I also seem to have a new problem now.

I started from scratch and wiped the root of phtsys. I then extracted the 4 zip files in that phtsys partition. I then run the DMS tools hack wizard but it goes from step 1 straight to step 6. Looking at the files on the phtsys partion I don't see any of the files that were supposed to be copied over.  ??? So I copied the files over mnually from the dms_utils folder.

How to you restore the backups?


Offline VorTechS

  • Administrator
  • Veteran.
  • *****
  • Posts: 1678
  • PhatHack Media Manager & DMS Tools Wizard Author
Re: Problem: Patch is not applied on PB-boot
« Reply #38 on: November 24, 2007, 10:28:39 am »
The backups aren't really something you need to worry about.

The hack wizard goes to step 6, because it's waiting for you to check out if the patch was applied.  There should be a reset button on one of these screens where it's ready to verify the hack has been applied.  Hit this, and the wizard will reset to wanting to apply the hack.

To reset youir firmware, try using the 'Update Firmware' process of the tools (Click on Create New DMS, select your DMS, Select the firmware, check the option 'Install non-hacked firmware' and then click on 'Update Firmware').

This'll save you having to mess around with the zip files.

Once you've gotten that far, re-run the hack wizard to apply the patch files and then rename flacplay and flacplay.sig by adding .old to each filename.  Then rename patcher, flacplay and patcher.sig flacplay.sig.  Add a FLAC file to a new playlist, make it the first playlist on the DMS (by changing the order) and then stick the DMS in your box.  Switch to the PhatBox, it'll start 'playing' the first playlist/track and then start applying the hack.  It'll reboot a few times, each time it reboots switch back to the phatbox.  Eventually you'll get your hack message.

Once done, rename flacplay, patcher and flacplay.sig, patcher.sig and also rename flacplay.old, flacplay and flacplay.sig.old to flacplay.sig.  Re-run the wizard to verify the patch worked and then your done.
Kenwood KDC-W7031 | Kenwood KHD-CX910 | 250GB DMS | PhatHack Media Manager v1.1.4 (Alpha) | VIOT

Catch me weekdays 8am-4pm GMT on IRC @ irc.freenode.net on channel #phathack (aka the chat link!!)

Offline cyberdude

  • Newbie
  • Posts: 14
Re: Problem: Patch is not applied on PB-boot
« Reply #39 on: November 25, 2007, 09:24:02 am »
Thanks I got it working finally. I'm not realy sure what I did to make it work as I just repeated everything I had already tried. I have now replaced my 20GB with a 60GB HDD which I pulled from an old laptop.

Question. Why is it so important to keep the old HDD that came out of the DMS? Isn't enough to keep the backups?

EDIT. PS How do I make a donation  ;D