Compare Products, Prices & Stores For:

COMPUTERS, COMPONENTS COMPUTER ACCESSORIES, COMPUTER MEMORY, HARDWARE, INPUT DEVICES, NETWORKING, PDAs & MOBILE ELECTRONICS, SOFTWARE, STORAGE & MEDIA, DIGITAL CAMERAS, HOME AUDIO, TV& VIDEO

Google
 
Web DealDatabase.com
What are you shopping for?


Go Back   DealDatabase Forum - Deals, Freebies, and TiVo & DirecTivo Hacking > Category: NEW TiVo, DTiVo, Extraction FORUMS! > General TiVo Development

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-11-2003, 12:22 AM
rc3105's Avatar
rc3105 rc3105 is offline
Riley
 
Join Date: Mar 2002
Posts: 1,339
Dtivo 2.5.2 mwstate error & fix

there's a method of prodding tivoapp aka myworld to dump it's current state to the file /tmp/mwstate which can be pretty handy

event send $TmkEvent::EVT_REMOTEEVENT [binary format II 32 0]

unfortunatly...

Quote:
Originally posted by embeem
2.5.x had a bug where two programs would attempt to write to /tmp/mwstate simultaneously thus corrupting the file.

There's no easy fix, you can backup your tivo, hexedit /tvbin/tivoapp and change the second occurance of "mwstate" to "mstat1" so the two programs write to different files.
here's how I did it

copied tivoapp out to the pc via tivoftpd
edited it with hextreme
renamed it to tivoapp.new
transferred it back to the tivo
made it executable with chmod +x

WITH THE TIVO RUNNING...
renamed tivoapp to tivoapp.bak
renamed tivoapp.new to tivoapp
rebooted the tivo

all was well


--
Riley
__________________
---
Give a man a fish and he will eat for a day. Teach a man to fish and he will sit in a boat all day and drink beer
Reply With Quote
  #2  
Old 01-09-2004, 02:06 PM
mrblack51's Avatar
mrblack51 mrblack51 is offline
Oh captain, my captain
 
Join Date: Jun 2001
Posts: 3,108
is 2.5.5 and 2.5.2 the only versions with this issue, or are newer versions affected as well?
__________________
Step one: search button!
Silly Wabbit, guides are for kids
Reply With Quote
  #3  
Old 03-16-2005, 07:00 PM
John1980 John1980 is offline
Senior Member
 
Join Date: May 2004
Location: New Zealand
Posts: 389
A simpler fix for UK v2.5.5 software

Note, the following patch will alter the second occurance of /tmp/mwstate to be /tmp/mwstat1... in fact this is the only difference between v2.5.5 and v2.5.5a of tivoapp. Assuming you have 'dd' available to you on the TiVo then the following can be applied directly (after you make the filesystem read-write and change to /tvbin).

WARNING: Do not do this unless your tivoapp is exactly 5646960 bytes in size (eg version 2.5.5).

Code:
cd /tvbin
mv tivoapp tivoapp-bak
cp tivoapp-bak tivoapp
echo -n '1' | dd conv=notrunc of=tivoapp bs=1 seek=5137975

Last edited by John1980; 03-18-2005 at 03:14 AM.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:27 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2000-2008 © dealdatabase.com.
TiVo® is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.