View Full Version : Record XM Radio Dtivo 6.2
elbajatrip
03-27-2006, 12:24 PM
i have dtivo with 6.2.. i telnet into bash and type the following (taken from the sonoshift.tcl thread (http://www.dealdatabase.com/forum/showpost.php?p=215884&postcount=38)post by alphawolf) but I cant record XM radio.. please help me!:
bash-2.02# echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665340
2+0 records in
2+0 records out
bash-2.02# echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek<00\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665404
4+0 records in
4+0 records out
bash-2.02# echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp bs=1 seek<00\x10\x21" | dd conv=notrunc of=tivoapp bs=1 seek=8282492
4+0 records in
4+0 records out
bash-2.02#
after this I reboot and try to record xm but it still tells me that recording of audio only channels is not supported. Please help!
Silver
tivo4mevo
03-27-2006, 12:35 PM
Were you trying to patch a running tivoapp? (if so, you can't patch a running tivoapp, instead, patch a copy of tivoapp, then swap the two, and reboot).
elbajatrip
03-28-2006, 07:52 PM
so, would something like this work?
cd /tvbin
mv tivoapp tivoapp.tmp
cp tivoapp.tmp tivoapp
chmod 755 tivoapp
echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665340
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665404
echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp bs=1 seek=8282492
restart
tivo4mevo
03-29-2006, 12:49 AM
You need to modify/patch a copy of tivoapp named something other than "tivoapp" (as I think that the copy of tivoapp in memory [or perhaps Linux] prevents modifications to that binary while it's executing).
So...
cd /tvbin
cp tivoapp tivoapp.new
chmod 755 tivoapp.new
echo -ne blah blah blah...
Now that you've patched a non-running tivoapp, you need to swap them for the next reboot (though keep the old version for the reboot in case something goes awry). So...
mv tivoapp tivoapp.orig
mv tivoapp.new tivoapp
And then reboot.
Hope this helps.
elbajatrip
03-29-2006, 02:16 PM
so in the echo -ne blah blah blah portion i need to replace tivoapp for tivoapp.new?
PS: Thank you again for your help
tivo4mevo
03-30-2006, 12:58 AM
so in the echo -ne blah blah blah portion i need to replace tivoapp for tivoapp.new?
PS: Thank you again for your help
You'll want to modify/patch the "tivoapp.new" using the "echo -ne ..." commands you listed.
Conceptually what you are doing is as follows:
1. copy tivoapp to tivoapp.new
2. modify tivoapp.new using either the "echo -ne ..." commands you list
3. swap the modified tivoapp.new with the existing tivoapp
4. reboot.
Finally, note that in step 2, instead of using the "echo -ne ..." commands you list, you could alternatively extract a copy of tivoapp.new (by ftping it from your tivo to your PC), modify the bytes of tivoapp using a hex editor, and then upload your modified copy to your tivo. You would still need to make sure that the permissions where correct (chmod) and swap the modified tivoapp for the old one before you reboot, but I found that to be a more comfortable way for my first attempt.
Hope this helps.
elbajatrip
03-30-2006, 12:12 PM
it sure does.. thanks again.. I'll post here if for whatever reason I can't get it to work.
Silver.
elbajatrip
03-30-2006, 09:08 PM
Success!! I followed your instructions and it worked perfectly.. now I can record XM. Thanks again.. here is what I did:
cd /tvbin
cp tivoapp tivoapp.new
chmod 755 tivoapp.new
echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4665340
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4665404
echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp.new bs=1 seek=8282492
mv tivoapp tivoapp.orig
mv tivoapp.new tivoapp
restart
Martin Tupper
04-24-2006, 01:37 PM
That definitely works!
On issue though. Whenever I timeshift XM channels, the screen displays a freeze frame of the other tuner. Is that "normal"?
Notluf
04-24-2006, 11:47 PM
Yes, the freeze frame from the other tuner is very normal, and very distracting, but it works :)
Martin Tupper
04-25-2006, 01:31 PM
Oh, well. Thanks for the reply.
wlblljb
05-11-2006, 12:59 AM
does anyone else have a problem with tytools crashing when you try to extract an audio channel recording???
if so how do you fix it???
tvtyme
05-11-2006, 11:47 PM
does anyone else have a problem with tytools crashing when you try to extract an audio channel recording???
if so how do you fix it???
What's your setup?
Tivo Model:
Tivo S/W version:
TyTools version:
TyTools method for extraction:
The more we know about your setup the better we (or at least I, anyways) can help you.
L8r
larbear
05-21-2006, 12:26 AM
My setup is Directv Series 2 "enhanced" with the Instant Cake and PTVnet tools as well as the patch mentioned above to record the XM stations. TivoTool on my Mac can not even extract the files while TyTool10r4 on the Windows machine can. However, when I try to process the ty file, tytool crashes. Hope that someone can provide the next steps to take.
tvtyme
05-21-2006, 01:56 AM
My setup is Directv Series 2 "enhanced" with the Instant Cake and PTVnet tools as well as the patch mentioned above to record the XM stations. TivoTool on my Mac can not even extract the files while TyTool10r4 on the Windows machine can. However, when I try to process the ty file, tytool crashes. Hope that someone can provide the next steps to take.
Since I know nothing about Macs I can't advise why the extraction fails. For the Win TyTools, I could extract. But I couldn't convert using TyProcess.
I used idoco's TYES instead. See http://dealdatabase.com/forum/showthread.php?t=45476&page=2
His info. and the source code is in Post #20. I put a Win binary in Post #42.
L8r
larbear
05-21-2006, 09:34 AM
I used idoco's TYES instead. See http://dealdatabase.com/forum/showthread.php?t=45476&page=2
His info. and the source code is in Post #20. I put a Win binary in Post #42.
Very nice! Thanks for the links. Anyone interested in a GUI for the tool?
satguymtl
05-27-2006, 04:15 PM
Anybody know the offsets for 3.5 on a lowly Series 1?
tvtyme
05-30-2006, 02:28 AM
Anybody know the offsets for 3.5 on a lowly Series 1?
I'd keep an eye out for updates to this thread (http://www.dealdatabase.com/forum/showthread.php?t=33946&highlight=tivoapp+patches). Someone may post some S1 3.5 patches.
L8r
kelsirose02
06-21-2006, 10:35 PM
I followed this exactly and now my tivo is stuck at the second splash screen
tvtyme
06-22-2006, 03:21 AM
I followed this exactly and now my tivo is stuck at the second splash screen
Which "this" did you follow? Hopefully you meant the steps elbajatrip's later posts for patching the copy of tivoapp, not the original.
L8r
kelsirose02
06-22-2006, 09:18 AM
correct the later one that was confirmed to work. How can I undo this?
cheer
06-22-2006, 10:54 AM
correct the later one that was confirmed to work. How can I undo this?
Restore your unpatched tivoapp. You did make a backup copy of tivoapp, right?
phil2cool
07-07-2006, 07:09 PM
Anyone know how to keep the song information on the screen for longer than the short time it stays up? Dish music info stays up all the time.
Phillip Chapman
07-09-2006, 09:46 PM
The instructions in post #8 also did not work for me (Phillips 7000)...
Restore your unpatched tivoapp. You did make a backup copy of tivoapp, right?
Yes, I did make a backup. I have my Tivo hooked up now with a serial cable. If someone can please provide the exact line-by-line instructions for restoring the Tivoapp, I would appreciate it. Since this is pretty critical, I'd just like a confirmation from someone else that I'm doing the right thing before proceeding.
Will this work?
cp tivoapp.orig tivoapp.origbackup
mv tivoapp.orig tivoapp
restart
Phillip Chapman
07-10-2006, 12:37 AM
I got this working. Thanks for the great hack.
Gojira69
10-29-2006, 09:52 PM
cd /tvbin
cp tivoapp tivoapp.new
chmod 755 tivoapp.new
echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4665340
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4665404
echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp.new bs=1 seek=8282492
mv tivoapp tivoapp.orig
mv tivoapp.new tivoapp
restart
Thank you elbajatrip for the code. Its great!
Gojira69
10-29-2006, 09:55 PM
DirectTV divides up the XM Radio time slots into 4 hour chunks. Unfortunately, this seems to mean you cannot specify a smaller chunk of time when adding a particular radio show to your "To Do" list.
Anyone know if there is a way to specify a smaller portion of time?
bnm81002
10-29-2006, 11:44 PM
I tried the code but my DTivo is frozen at the "welcome powering up" screen, what can I do to unfreeze it? thanks
AlphaWolf
10-30-2006, 12:51 AM
DirectTV divides up the XM Radio time slots into 4 hour chunks. Unfortunately, this seems to mean you cannot specify a smaller chunk of time when adding a particular radio show to your "To Do" list.
Anyone know if there is a way to specify a smaller portion of time?
Manual Recording > Record by time/channel.
Gojira69
11-03-2006, 12:32 AM
Manual Recording > Record by time/channel.
Great! So obvious I'm shamed I didn't think of it!
Gojira69
11-03-2006, 12:45 AM
I was able to record something. When I attempt (I've tried all the 3 modes, ty, vsplit or multiplex) to extract it using TyTools, the app closes with the following list of actions:
Name = 'c:\temp\Deep Tracks-'
fsIDs = '1925551/1925734'
Tivo Address = '192.168.1.137'
Connected...
Detected Tivo Type: DTivo
Detected Audio Stream Type: MPEG Layer II
Final standardAudioSize = 592
Final standardFrameLength = 0
Final standardAudioDiff = 6480 or 00:00:00.072
First Video PTS: 13:15:21.858
TyTools works fine for other programs. Any input is appreciated.
Gojira69
11-03-2006, 12:51 AM
I tried the code but my DTivo is frozen at the "welcome powering up" screen, what can I do to unfreeze it? thanks
My machine froze too at first and I had to power it off. All came back up fine though, and the recording option was on.
Gojira69
11-06-2006, 01:52 AM
I just downloaded and newer version of TyTools and attempted extracting a different MX Radio program I recorded. TyTools dies and reports:
Name = 'c:\temp\Deep Tracks-'
fsIDs = '1946126'
Tivo Address = '192.168.1.137'
Connected...
Detected Tivo Type: **Unknown**
Detected Audio Stream Type: MPEG Layer II
Final standardAudioSize = 592
Final standardFrameLength = 0
Final standardAudioDiff = 6480 or 00:00:00.072
First Video PTS: 13:15:21.858
.
Guys,
Your not going to be able to use TyTools to extract audio only streams. If you wish to extract the audio, you will need to use TYES or the patched version of hdemux which can be found on this thread:
http://www.dealdatabase.com/forum/showpost.php?p=257015&postcount=45
I personally like using hdemux and have never had an issue. After I make the conversion I use the open source utility Audacity to export the mp2 stream to mp3.
Smee
Gojira69
11-06-2006, 02:20 PM
Thank you Smee. I'll try it when I get home.
Guys,
Your not going to be able to use TyTools to extract audio only streams. If you wish to extract the audio, you will need to use TYES or the patched version of hdemux which can be found on this thread:
http://www.dealdatabase.com/forum/showpost.php?p=257015&postcount=45
I personally like using hdemux and have never had an issue. After I make the conversion I use the open source utility Audacity to export the mp2 stream to mp3.
Smee
marlboroman
11-17-2006, 10:32 AM
I'm also trying to extract the audio from xm channel recordings and this is what I've encountered:
I record the channel for a 1 hour block. Extract the stream with tytools. Demux the audio stream using tyes and pull it into audacity. I get occasional audio artifacts (screechs and blips). Try using the patched version of hdemux 0.13 and audio is great. However, I can only process a maximum of 65 chunks which is about 3.5-4 mins of audio. Is this normal or am I doing something wrong? I would rather not have to splice together files then edit to piece together individual songs.
OvitivO
11-20-2006, 01:04 AM
Anybody know the offsets for 3.5 on a lowly Series 1?
I can't help with the offset but wanted to make sure you know that manual recording of XM channels works with TWP.
fredfillis
12-08-2006, 04:18 PM
I've been an infrequent follower of this general topic and it seems like you guys have it licked ... good work!
As I understand the process now, we patch tivoapp as below.
Success!! I followed your instructions and it worked perfectly.. now I can record XM. Thanks again.. here is what I did:
cd /tvbin
cp tivoapp tivoapp.new
chmod 755 tivoapp.new
echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4665340
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4665404
echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp.new bs=1 seek=8282492
mv tivoapp tivoapp.orig
mv tivoapp.new tivoapp
restart
Then pull the recording off with TyTools and then "demux" with TYeS. Is that the bleeding edge?
marlboroman
12-08-2006, 05:14 PM
That sounds about right. I had better luck using hdemux as tyes gave random artifacts such as pops and screeches.
fredfillis
12-08-2006, 10:05 PM
Implemented patch per my previous post. After a couple of burps and reboots it works fine (can record an audio channel), FYI, this is the telnet session.
Fam_101-bash#
Fam_101-bash# cp tivoapp tivoapp.new
Fam_101-bash#
Fam_101-bash# chmod 755 tivoapp.new
Fam_101-bash#
Fam_101-bash# echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4665340
2+0 records in
2+0 records out
Fam_101-bash#
Fam_101-bash# echo -ne "x00\x00\x00\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4665404
6+0 records in
6+0 records out
Fam_101-bash#
Fam_101-bash# echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp.new bs=1 seek=8282492
4+0 records in
4+0 records out
Fam_101-bash#
Fam_101-bash# mv tivoapp tivoapp.orig
Fam_101-bash#
Fam_101-bash# mv tivoapp.new tivoapp
Fam_101-bash#
Fam_101-bash#
I let it record about 15 minutes (via manual) and then slurped that off with Tytools. First I tried tytompeg and got an error C:\Documents and Settings\Ray\Desktop\tytompg-0.12>tytompg -i music.ty -o music_
test.mpg
tytompg: Copyright (c) 2004-2006 B.C. <b24cc@yahoo.com>
Multiplexer version 0.12, Demuxer version 0.20
Source is music.ty
MPEG2 audio at 48kHz, 192 kbps, 576 bytes/sync frame
Assertion failed: shown_rate, file demux.c, line 1985
Then I tried TYES and that worked without error, loaded up with Audacity and then exported as MP3. I haven't listened to the audio yet but I'm confident that it's OK for my needs.
Good stuff !!! :D
you should have used hdemux instead. (the latest hdemux.exe is in the same folder as tytompg inside tytompg-0.12.rar.)
hdemux -i music.ty -a music.m2a
.m2a is playable in winamp,foobar,etc.. might need a codec/filter for wmp (get ffdshow here. (http://sourceforge.net/project/showfiles.php?group_id=173941&package_id=199416&release_id=439904))
fredfillis
12-09-2006, 01:15 AM
you should have used hdemux instead. (the latest hdemux.exe is in the same folder as tytompg inside tytompg-0.12.rar.)
Thanks for the tip. :) Tried that and it works too, no surprise I guess.
Don't understand the difference although some seem to report clicks and squeals etc with tyes. Since I haven't listened to the entire stream, I don't know the quality as yet.
fredfillis
12-11-2006, 12:53 AM
The downside of the approach above is that post patch, if I press the record button on my remote, the unit will reboot.
I've unpatched until I find a solution.
DavePurz
03-16-2007, 06:22 AM
Just wondering... has anyone identified the patch locations for DirecTiVo 6.2a yet?
jt1134
03-16-2007, 06:26 AM
http://www.dealdatabase.com/forum/showthread.php?p=276803#post276803
DavePurz
03-16-2007, 06:29 PM
http://www.dealdatabase.com/forum/showthread.php?p=276803#post276803
I forgot... I HAD read that post! Just slipped my mind.
Thank! I'm extremely appreciative!
--DP
dazedxxx
02-13-2008, 04:49 AM
Hi ... I was given these command lines for the xm sat fix on my 6.2a
echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665340
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665404
echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp bs=1 seek=8282492
But I am realizing there should have been more than that entered....Now I am stuck in a constant reboot....Is there hope for fixxing my tivoapp...or am i gonna have to start all over and loose all my recordings....
Geez...I feel stupid!
PlainBill
02-13-2008, 06:28 AM
Hi ... I was given these command lines for the xm sat fix on my 6.2a
echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665340
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665404
echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp bs=1 seek=8282492
But I am realizing there should have been more than that entered....Now I am stuck in a constant reboot....Is there hope for fixxing my tivoapp...or am i gonna have to start all over and loose all my recordings....
Geez...I feel stupid!
It depends. Did you make a backup copy of tivoapp? Had you run Superpatch previously? Either of those will have left a backup copy of tivoapp.
Or you may be able to find a virgin copy of tivoapp.
Heck, there is no reason you cannot do the rest of the patches while the drive is in a computer, booted from a linux tools cd.
PlainBill
labbie48
02-13-2008, 11:59 AM
If you need a copy of an original 6.2a tivoapp, you can find it here....
http://rapidshare.com/files/91509557/tivoapp.62a.orig.tar
crashHD
02-13-2008, 04:08 PM
I added a few lines to my copy of superpatch, to enable a few extra things, like the SPS9S clock, XM record, etc. When I get home tonight, I'll look them up and post them. If you know what tivoapp hacks you like, I've found it easier to just add them in to superpatch, and it will patch tivoapp just the way you like it, everytime.
dazedxxx
02-13-2008, 05:30 PM
Thanks Everyone...when i get home tonight I'll see if i have a backup (I probably do from a few years ago on the drive) ...also CrashHd that would be very cool of you to get me that file... Is hitting the record button still rebooting the tivo..as mentioned in earlier posts?
Thanks
crashHD
02-13-2008, 09:25 PM
If you add: 0x0087421C "50400009 10000009"
0x0087425C "10400199 00000000"
0x00BE797C "93a20018 00001021"
into the array for 6.2a in superpatch, that will add the RecordXM patch into it. Then when you apply superpatch, it will patch for RecordXM at the same time.
Keep in mind, superpatch will only run if it detects the original tivoapp. If you are not able to obtain an unmodified 6.2a tivoapp, PM me.
dazedxxx
02-14-2008, 09:33 PM
Well I Put that code at the top of the array in my superpatch and still cant record...any thoughts ?...i used metapad
dazedxxx
02-15-2008, 03:11 AM
...so I tried this next at the bash...
cd /tvbin
mv tivoapp tivoapp.tmp
cp tivoapp.tmp tivoapp
chmod 755 tivoapp
echo -ne "\x10\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665340
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=4665404
echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp bs=1 seek=8282492
restart
Notta...Though i did have to kill power then reboot...got that hang thing at dark screen.
I know this was before 6.2a but I'm Obiviosly missing something...
jt1134
02-15-2008, 03:19 AM
...so I tried this next at the bash...
...seek=4665340
...seek=4665404
...seek=8282492
...I know this was before 6.2a but I'm Obiviosly missing something...
tivoapp is quite different between 6.2 and 6.2a. You're using the patch locations for 6.2. See the post I linked to on the previous page of this thread.
jollyrogr
02-26-2008, 01:14 AM
tivoapp is quite different between 6.2 and 6.2a. You're using the patch locations for 6.2. See the post I linked to on the previous page of this thread.
What are the command lines to patch the tivoapp for XM recording on 6.2a? Mine has already been superpatched.
Guess I don't the correlation between this:
Offset Orig New
0x0047421c 50400009 10000009
0x0047425c 10400199 00000000
0x007e797c 93a20018 00001021
and the echo commands.
jt1134
02-26-2008, 02:05 AM
Guess I don't the correlation between this:
Offset Orig New
0x0047421c 50400009 10000009
0x0047425c 10400199 00000000
0x007e797c 93a20018 00001021
and the echo commands.
link (http://dealdatabase.com/forum/showpost.php?p=160569&postcount=13) 1 & link (http://www.dealdatabase.com/forum/showpost.php?p=193286&postcount=7) 2
jollyrogr
02-26-2008, 03:05 AM
so I would do:
echo -ne "\x10\x00\x00\x09" | dd conv=notrunc of=tivoapp.new bs=1 seek=4669980
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp.new bs=1 seek=4670044
echo -ne "\x00\x00\x10\x21" | dd conv=notrunc of=tivoapp.new bs=1 seek=8288636
That look about right? Also curious why the offsets in crashHD's post above are different? Which is correct for XM recording in 6.2a?
Thanks
crashHD
02-26-2008, 07:19 AM
I took the XM patch and built it into my copy of superpatch. I've done this with several patches, so that my copy of superpatch makes tivoapp just the way I like it, in one shot. The values I posted were in this format:
(Patch address, in VMA) (original value) (new value)
A manual patch using echo/dd uses a decimal address. Superpatch uses VMA addresses, which = (the same decimal address, in hex) + 400,000.
jollyrogr
02-26-2008, 11:13 AM
I took the XM patch and built it into my copy of superpatch. I've done this with several patches, so that my copy of superpatch makes tivoapp just the way I like it, in one shot. The values I posted were in this format:
(Patch address, in VMA) (original value) (new value)
A manual patch using echo/dd uses a decimal address. Superpatch uses VMA addresses, which = (the same decimal address, in hex) + 400,000.
That explains it. Thanks!
Rorschach
03-12-2008, 11:08 AM
I got the XM radio patch working and I can get the .ty file onto my local machine, but now I need a way to extract the .mp2 sound portion of the file. There is no video portion in the .ty file to demux so everything I've tried crashes. I'm thinking maybe ffmpeg might be able to do it but my best guesses at the correct command line have failed. I've just been recording manually 80 minute segments I want to burn to audio cds for my car (which can't play mp3 CDs).
I'm sure this is an easy one for you guys -- can you help me out with a good method to do this?
tivo4mevo
03-12-2008, 11:21 AM
There are two different methods listed and linked in earlier posts in this thread. You might want to start with those.
Rorschach
03-12-2008, 01:05 PM
There are two different methods listed and linked in earlier posts in this thread. You might want to start with those.
How embarrassing. Moderator, please delete my gaffe.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.