The NEW Build Your Own Arcade Controls

Arcade Collecting => Merit/JVL Touchscreen => Topic started by: orizzle on September 20, 2016, 12:17:58 pm

Title: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: orizzle on September 20, 2016, 12:17:58 pm
Finally got my Retros that I bought in 1,000 pieces put back together and working.

Both of them were showing errors that a factory reset was required on every boot and that the I/O board battery was low.  Replacing the battery on the I/O board stopped this error from occurring, but a dead battery in the future and another mandatory factory reset would erase all my high scores.  Plus, it was a pain in the ass (at least for me) to desolder the old battery and solder the new one.  So, I set out to find a permanent fix.

Turns out it's the SRAM that's powered by the battery.  When the battery dies, the SRAM is wiped.  The solution is to have the machine write to the hard drive (CF card) but make it think it's writing to the SRAM to prevent any factory resets from being needed.

I have tested this on iTouch 10 because it's the only version that I have a security key for.  The steps below will clone your existing SRAM to the hard drive and make your machine read/write to the hard drive.  I'm assuming it will work for other versions also, but I can't be certain.

Worst case scenario, if you screw up these steps or it doesn't work for you, you may have to reinstall the software.  It won't totally brick your machine.  I've only tested this on my 2 machines, but it works for me.

Here are the steps I took:

1.  Power off the machine and hook up a keyboard to the USB port.  Optional: plug in a network cable to get it on the Internet - it will save you a lot of trouble later on.  Then power it back on.  You should get the Factory Reset screen if your battery is dead.  Proceed as normal and let the machine fully load into the game.
2.  Enter SETUP by pressing the setup button on your ioboard.  This isn't really necessary but will prevent the screen from updating so you can actually see what you're doing in the next steps.
3.  On your keyboard, press left CTRL + left ALT + F2 (while holding down CTRL and ALT, press F2, then release all 3 keys)
4.  You should see text that says Press Enter to activate console.  So press Enter!  You should see a hash # with a flashing cursor.  Now time for Linux commands ...
5.  Pick one of two ways:

Easy way: If your Retro is hooked up to the Internet, these commands will download the script and run it.
Code: [Select]
cd /tmp
wget -O run http://pastebin.com/raw/v8jQAQiB
sh run

Hard way: These are executed automatically if you use the above steps
Code: [Select]
dd if=/dev/jvl_sram of=/mnt/hd/sram.img
cat /mnt/real/rc.d/rcS | sed 's/ln -s \/dev\/sda \/dev\/jvl_sram/ln -s \/mnt\/hd\/sram.img \/dev\/jvl_sram\n#/' | sed 's/mknod \/dev\/jvl_sram b 245 1/ln -s \/mnt\/hd\/sram.img \/dev\/jvl_sram\n#/' > /tmp/rcS

mount -o remount,rw /mnt/real
cp /mnt/real/rc.d/rcS /mnt/real/rcS.bak
cp /tmp/rcS /mnt/real/rc.d/rcS
mount -o remount,ro /mnt/real

6. Power off the machine and turn it back on.  You should be all set.

If anyone tries this, please let me know if it's worked for you also.
Title: Re: JVL I/O Board Battery Low Error - Permanent Fix
Post by: lilshawn on September 20, 2016, 02:14:08 pm
interesting. How often (or when) is this information written to the drive?

I wish I knew linux.
Title: Re: JVL I/O Board Battery Low Error - Permanent Fix
Post by: orizzle on September 20, 2016, 04:23:59 pm
I believe it's the high scores and the operator settings that are stored there.
Title: Re: JVL I/O Board Battery Low Error - Permanent Fix
Post by: obcd on September 20, 2016, 05:40:42 pm
Normally remaining credits as well.
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: nmeun87007 on January 02, 2017, 03:46:10 pm
I am trying this on my retro and here is what i am getting for a response

256+0 records in
256+0 records out
:  not found  :
  in /proc/mountsd /mnt/real
cp: cannot create regular file `/mnt/real/rcS.bak\r' " Read-only file system
cp: cannot start `/tmp/rcS' : No such file or directoy

any ideas?
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: orizzle on January 02, 2017, 07:26:19 pm
which method did you try?
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: nmeun87007 on January 03, 2017, 10:17:34 am
i tried the first method. after that didn't work, then i tried the second method. Now i get a constant reboot from the machine.
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: orizzle on January 04, 2017, 06:45:43 am
which itouch version?
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: nmeun87007 on January 04, 2017, 08:31:29 pm
I'm not sure, how do I check?

Sent from my SM-G900R4 using Tapatalk

Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: orizzle on January 04, 2017, 08:38:07 pm
it's written on your security key, clipped into the ioboard. will say iTouch 7,8,9,10,11 etc
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: brtlkat on January 15, 2017, 05:24:29 pm
I am trying this on my retro and here is what i am getting for a response

256+0 records in
256+0 records out
:  not found  :
  in /proc/mountsd /mnt/real
cp: cannot create regular file `/mnt/real/rcS.bak\r' " Read-only file system
cp: cannot start `/tmp/rcS' : No such file or directoy

any ideas?


I got this too with Itouch 9 SW, But game did boot back up.
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: brtlkat on January 15, 2017, 06:42:09 pm
Just tried Itouch 10 with #1 option and get the same results as above.
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: orizzle on November 27, 2018, 04:32:59 pm
Revisiting this because I have more JVL's with dead i/o board batteries. The "\r" you are seeing as part of an error message is the carriage return character from Windows.  Linux text files only have the linefeed "\n".  I tried a similar method as above for iTouch 8 and have it working.
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: mahkeymike on November 28, 2018, 12:08:02 am
Or, just replace the damn 3.6v battery.
(https://i.ebayimg.com/images/g/wxoAAOSw5kBbRPoh/s-l1600.jpg)

https://www.ebay.com/itm/2x-OmniCel-ER14250-3-6V-1-2AA-Lithium-Battery-Axial-Pins-Utility-Telematics-/390655586017?hash=item5af4e32ee1 (https://www.ebay.com/itm/2x-OmniCel-ER14250-3-6V-1-2AA-Lithium-Battery-Axial-Pins-Utility-Telematics-/390655586017?hash=item5af4e32ee1)
Title: Re: JVL Retro I/O Board Battery Low Error - Permanent Fix
Post by: Chuck944 on February 02, 2024, 02:39:18 pm
I have tried the easy way and the hard way. Neither of them work. I have also re installed the software and it still doesn't work. The battery is new.